@pine-ds/core 3.5.2 → 3.7.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 (685) hide show
  1. package/components/index.d.ts +4 -0
  2. package/components/index.js +2 -0
  3. package/components/index.js.map +1 -1
  4. package/components/index2.js +3 -1
  5. package/components/index2.js.map +1 -1
  6. package/components/mock-pds-modal.js +9 -4
  7. package/components/mock-pds-modal.js.map +1 -1
  8. package/components/pds-avatar.js +1 -1
  9. package/components/pds-box2.js +132 -2
  10. package/components/pds-box2.js.map +1 -1
  11. package/components/pds-button2.js +58 -6
  12. package/components/pds-button2.js.map +1 -1
  13. package/components/pds-checkbox2.js +1 -1
  14. package/components/pds-combobox.js +349 -39
  15. package/components/pds-combobox.js.map +1 -1
  16. package/components/pds-copytext.js +1 -1
  17. package/components/pds-dropdown-menu-separator.js +1 -1
  18. package/components/pds-dropdown-menu-separator.js.map +1 -1
  19. package/components/pds-filter.d.ts +11 -0
  20. package/components/pds-filter.js +518 -0
  21. package/components/pds-filter.js.map +1 -0
  22. package/components/pds-filters.d.ts +11 -0
  23. package/components/pds-filters.js +38 -0
  24. package/components/pds-filters.js.map +1 -0
  25. package/components/pds-image.js +2 -2
  26. package/components/pds-input.js +2 -2
  27. package/components/pds-link2.js +2 -2
  28. package/components/pds-loader2.js +1 -1
  29. package/components/pds-modal-content.js +128 -11
  30. package/components/pds-modal-content.js.map +1 -1
  31. package/components/pds-modal-footer.js +1 -1
  32. package/components/pds-modal-header.js +1 -1
  33. package/components/pds-modal.js +13 -3
  34. package/components/pds-modal.js.map +1 -1
  35. package/components/pds-popover.js +1 -1
  36. package/components/pds-progress.js +1 -1
  37. package/components/pds-property.js +1 -1
  38. package/components/pds-radio.js +4 -4
  39. package/components/pds-row.js +1 -1
  40. package/components/pds-select.js +2 -2
  41. package/components/pds-sortable-item.js +1 -1
  42. package/components/pds-sortable.js +1 -1
  43. package/components/pds-switch.js +4 -4
  44. package/components/pds-tab.js +4 -4
  45. package/components/pds-tab.js.map +1 -1
  46. package/components/pds-table-body.js +1 -1
  47. package/components/pds-table-cell2.js +2 -2
  48. package/components/pds-table-head-cell2.js +2 -2
  49. package/components/pds-table-head.js +1 -1
  50. package/components/pds-table-row.js +1 -1
  51. package/components/pds-tabpanel.js +1 -1
  52. package/components/pds-tabs.js +1 -1
  53. package/components/pds-tabs.js.map +1 -1
  54. package/components/pds-text2.js +1 -1
  55. package/components/pds-textarea.js +112 -8
  56. package/components/pds-textarea.js.map +1 -1
  57. package/components/pds-toast.js +3 -3
  58. package/components/pds-tooltip.js +2 -2
  59. package/dist/cjs/{index-DVaLegMK.js → index-CTirFLR-.js} +6 -2
  60. package/dist/cjs/{index-DVaLegMK.js.map → index-CTirFLR-.js.map} +1 -1
  61. package/dist/cjs/{index-g-uSeICs.js → index-DDTyvZD7.js} +5 -2
  62. package/dist/cjs/index-DDTyvZD7.js.map +1 -0
  63. package/dist/cjs/index.cjs.js +1 -1
  64. package/dist/cjs/loader.cjs.js +2 -2
  65. package/dist/cjs/mock-pds-modal.cjs.entry.js +9 -5
  66. package/dist/cjs/mock-pds-modal.cjs.entry.js.map +1 -1
  67. package/dist/cjs/mock-pds-modal.entry.cjs.js.map +1 -1
  68. package/dist/cjs/pds-accordion.cjs.entry.js +2 -2
  69. package/dist/cjs/pds-alert.cjs.entry.js +1 -1
  70. package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
  71. package/dist/cjs/pds-box.cjs.entry.js +68 -3
  72. package/dist/cjs/pds-box.cjs.entry.js.map +1 -1
  73. package/dist/cjs/pds-box.entry.cjs.js.map +1 -1
  74. package/dist/cjs/pds-button.cjs.entry.js +58 -6
  75. package/dist/cjs/pds-button.cjs.entry.js.map +1 -1
  76. package/dist/cjs/pds-button.entry.cjs.js.map +1 -1
  77. package/dist/cjs/pds-checkbox.cjs.entry.js +2 -2
  78. package/dist/cjs/pds-chip.cjs.entry.js +2 -2
  79. package/dist/cjs/pds-combobox.cjs.entry.js +349 -39
  80. package/dist/cjs/pds-combobox.cjs.entry.js.map +1 -1
  81. package/dist/cjs/pds-combobox.entry.cjs.js.map +1 -1
  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 +2 -2
  86. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js.map +1 -1
  87. package/dist/cjs/pds-dropdown-menu-separator.entry.cjs.js.map +1 -1
  88. package/dist/cjs/pds-dropdown-menu.cjs.entry.js +1 -1
  89. package/dist/cjs/pds-filter.cjs.entry.js +488 -0
  90. package/dist/cjs/pds-filter.cjs.entry.js.map +1 -0
  91. package/dist/cjs/pds-filter.entry.cjs.js.map +1 -0
  92. package/dist/cjs/pds-filters.cjs.entry.js +20 -0
  93. package/dist/cjs/pds-filters.cjs.entry.js.map +1 -0
  94. package/dist/cjs/pds-filters.entry.cjs.js.map +1 -0
  95. package/dist/cjs/pds-icon.cjs.entry.js +1 -1
  96. package/dist/cjs/pds-image.cjs.entry.js +3 -3
  97. package/dist/cjs/pds-input.cjs.entry.js +3 -3
  98. package/dist/cjs/pds-link.cjs.entry.js +4 -4
  99. package/dist/cjs/pds-loader.cjs.entry.js +2 -2
  100. package/dist/cjs/pds-modal-content.cjs.entry.js +129 -12
  101. package/dist/cjs/pds-modal-content.cjs.entry.js.map +1 -1
  102. package/dist/cjs/pds-modal-content.entry.cjs.js.map +1 -1
  103. package/dist/cjs/pds-modal-footer.cjs.entry.js +2 -2
  104. package/dist/cjs/pds-modal-header.cjs.entry.js +2 -2
  105. package/dist/cjs/pds-modal.cjs.entry.js +13 -4
  106. package/dist/cjs/pds-modal.cjs.entry.js.map +1 -1
  107. package/dist/cjs/pds-modal.entry.cjs.js.map +1 -1
  108. package/dist/cjs/pds-popover.cjs.entry.js +2 -2
  109. package/dist/cjs/pds-progress.cjs.entry.js +2 -2
  110. package/dist/cjs/pds-property.cjs.entry.js +2 -2
  111. package/dist/cjs/pds-radio.cjs.entry.js +5 -5
  112. package/dist/cjs/pds-row.cjs.entry.js +2 -2
  113. package/dist/cjs/pds-select.cjs.entry.js +3 -3
  114. package/dist/cjs/pds-sortable-item.cjs.entry.js +3 -3
  115. package/dist/cjs/pds-sortable.cjs.entry.js +2 -2
  116. package/dist/cjs/pds-switch.cjs.entry.js +5 -5
  117. package/dist/cjs/pds-tab.cjs.entry.js +5 -5
  118. package/dist/cjs/pds-tab.cjs.entry.js.map +1 -1
  119. package/dist/cjs/pds-tab.entry.cjs.js.map +1 -1
  120. package/dist/cjs/pds-table-body.cjs.entry.js +2 -2
  121. package/dist/cjs/pds-table-cell.cjs.entry.js +3 -3
  122. package/dist/cjs/pds-table-head-cell.cjs.entry.js +4 -4
  123. package/dist/cjs/pds-table-head.cjs.entry.js +2 -2
  124. package/dist/cjs/pds-table-row.cjs.entry.js +2 -2
  125. package/dist/cjs/pds-table.cjs.entry.js +1 -1
  126. package/dist/cjs/pds-tabpanel.cjs.entry.js +2 -2
  127. package/dist/cjs/pds-tabs.cjs.entry.js +2 -2
  128. package/dist/cjs/pds-tabs.cjs.entry.js.map +1 -1
  129. package/dist/cjs/pds-tabs.entry.cjs.js.map +1 -1
  130. package/dist/cjs/pds-text.cjs.entry.js +2 -2
  131. package/dist/cjs/pds-textarea.cjs.entry.js +110 -8
  132. package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -1
  133. package/dist/cjs/pds-textarea.entry.cjs.js.map +1 -1
  134. package/dist/cjs/pds-toast.cjs.entry.js +4 -4
  135. package/dist/cjs/pds-tooltip.cjs.entry.js +3 -3
  136. package/dist/cjs/pine-core.cjs.js +2 -2
  137. package/dist/collection/collection-manifest.json +2 -0
  138. package/dist/collection/components/pds-box/pds-box.css +1325 -0
  139. package/dist/collection/components/pds-box/pds-box.js +1913 -148
  140. package/dist/collection/components/pds-box/pds-box.js.map +1 -1
  141. package/dist/collection/components/pds-button/pds-button.css +23 -0
  142. package/dist/collection/components/pds-button/pds-button.js +67 -6
  143. package/dist/collection/components/pds-button/pds-button.js.map +1 -1
  144. package/dist/collection/components/pds-button/stories/pds-button.stories.js +28 -1
  145. package/dist/collection/components/pds-combobox/pds-combobox.css +39 -1
  146. package/dist/collection/components/pds-combobox/pds-combobox.js +348 -38
  147. package/dist/collection/components/pds-combobox/pds-combobox.js.map +1 -1
  148. package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +103 -0
  149. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.css +4 -1
  150. package/dist/collection/components/pds-filters/pds-filter/filter-interface.js +2 -0
  151. package/dist/collection/components/pds-filters/pds-filter/filter-interface.js.map +1 -0
  152. package/dist/collection/components/pds-filters/pds-filter/pds-filter.css +193 -0
  153. package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +732 -0
  154. package/dist/collection/components/pds-filters/pds-filter/pds-filter.js.map +1 -0
  155. package/dist/collection/components/pds-filters/pds-filter/stories/pds-filter.stories.js +93 -0
  156. package/dist/collection/components/pds-filters/pds-filters.css +10 -0
  157. package/dist/collection/components/pds-filters/pds-filters.js +45 -0
  158. package/dist/collection/components/pds-filters/pds-filters.js.map +1 -0
  159. package/dist/collection/components/pds-filters/stories/pds-filters.stories.js +40 -0
  160. package/dist/collection/components/pds-image/pds-image.js +2 -2
  161. package/dist/collection/components/pds-input/pds-input.js +1 -1
  162. package/dist/collection/components/pds-link/pds-link.js +2 -2
  163. package/dist/collection/components/pds-loader/pds-loader.js +1 -1
  164. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.css +4 -6
  165. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +128 -11
  166. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js.map +1 -1
  167. package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +1 -1
  168. package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +1 -1
  169. package/dist/collection/components/pds-modal/pds-modal.css +42 -1
  170. package/dist/collection/components/pds-modal/pds-modal.js +34 -2
  171. package/dist/collection/components/pds-modal/pds-modal.js.map +1 -1
  172. package/dist/collection/components/pds-modal/stories/pds-modal.stories.js +245 -0
  173. package/dist/collection/components/pds-modal/test/mock-pds-modal.js +30 -3
  174. package/dist/collection/components/pds-modal/test/mock-pds-modal.js.map +1 -1
  175. package/dist/collection/components/pds-popover/pds-popover.js +1 -1
  176. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  177. package/dist/collection/components/pds-property/pds-property.js +1 -1
  178. package/dist/collection/components/pds-radio/pds-radio.js +3 -3
  179. package/dist/collection/components/pds-row/pds-row.js +1 -1
  180. package/dist/collection/components/pds-select/pds-select.js +1 -1
  181. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  182. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
  183. package/dist/collection/components/pds-switch/pds-switch.js +3 -3
  184. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  185. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  186. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  187. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  188. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  189. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.css +3 -0
  190. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
  191. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
  192. package/dist/collection/components/pds-tabs/pds-tabs.js +2 -1
  193. package/dist/collection/components/pds-tabs/pds-tabs.js.map +1 -1
  194. package/dist/collection/components/pds-text/pds-text.js +1 -1
  195. package/dist/collection/components/pds-textarea/pds-textarea.css +51 -11
  196. package/dist/collection/components/pds-textarea/pds-textarea.js +127 -4
  197. package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -1
  198. package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +13 -0
  199. package/dist/collection/components/pds-toast/pds-toast.js +3 -3
  200. package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
  201. package/dist/docs.json +4440 -415
  202. package/dist/esm/{index-BVCWKPy3.js → index-Bf1dou5H.js} +5 -2
  203. package/dist/esm/index-Bf1dou5H.js.map +1 -0
  204. package/dist/esm/{index-DrJ5r5Pu.js → index-D4MkIUXU.js} +5 -3
  205. package/dist/{esm-es5/index-DrJ5r5Pu.js.map → esm/index-D4MkIUXU.js.map} +1 -1
  206. package/dist/esm/index.js +1 -1
  207. package/dist/esm/loader.js +3 -3
  208. package/dist/esm/mock-pds-modal.entry.js +9 -5
  209. package/dist/esm/mock-pds-modal.entry.js.map +1 -1
  210. package/dist/esm/pds-accordion.entry.js +2 -2
  211. package/dist/esm/pds-alert.entry.js +1 -1
  212. package/dist/esm/pds-avatar.entry.js +2 -2
  213. package/dist/esm/pds-box.entry.js +68 -3
  214. package/dist/esm/pds-box.entry.js.map +1 -1
  215. package/dist/esm/pds-button.entry.js +58 -6
  216. package/dist/esm/pds-button.entry.js.map +1 -1
  217. package/dist/esm/pds-checkbox.entry.js +2 -2
  218. package/dist/esm/pds-chip.entry.js +2 -2
  219. package/dist/esm/pds-combobox.entry.js +349 -39
  220. package/dist/esm/pds-combobox.entry.js.map +1 -1
  221. package/dist/esm/pds-copytext.entry.js +2 -2
  222. package/dist/esm/pds-divider.entry.js +1 -1
  223. package/dist/esm/pds-dropdown-menu-item.entry.js +1 -1
  224. package/dist/esm/pds-dropdown-menu-separator.entry.js +2 -2
  225. package/dist/esm/pds-dropdown-menu-separator.entry.js.map +1 -1
  226. package/dist/esm/pds-dropdown-menu.entry.js +1 -1
  227. package/dist/esm/pds-filter.entry.js +486 -0
  228. package/dist/esm/pds-filter.entry.js.map +1 -0
  229. package/dist/esm/pds-filters.entry.js +18 -0
  230. package/dist/esm/pds-filters.entry.js.map +1 -0
  231. package/dist/esm/pds-icon.entry.js +1 -1
  232. package/dist/esm/pds-image.entry.js +3 -3
  233. package/dist/esm/pds-input.entry.js +3 -3
  234. package/dist/esm/pds-link.entry.js +4 -4
  235. package/dist/esm/pds-loader.entry.js +2 -2
  236. package/dist/esm/pds-modal-content.entry.js +129 -12
  237. package/dist/esm/pds-modal-content.entry.js.map +1 -1
  238. package/dist/esm/pds-modal-footer.entry.js +2 -2
  239. package/dist/esm/pds-modal-header.entry.js +2 -2
  240. package/dist/esm/pds-modal.entry.js +13 -4
  241. package/dist/esm/pds-modal.entry.js.map +1 -1
  242. package/dist/esm/pds-popover.entry.js +2 -2
  243. package/dist/esm/pds-progress.entry.js +2 -2
  244. package/dist/esm/pds-property.entry.js +2 -2
  245. package/dist/esm/pds-radio.entry.js +5 -5
  246. package/dist/esm/pds-row.entry.js +2 -2
  247. package/dist/esm/pds-select.entry.js +3 -3
  248. package/dist/esm/pds-sortable-item.entry.js +3 -3
  249. package/dist/esm/pds-sortable.entry.js +2 -2
  250. package/dist/esm/pds-switch.entry.js +5 -5
  251. package/dist/esm/pds-tab.entry.js +5 -5
  252. package/dist/esm/pds-tab.entry.js.map +1 -1
  253. package/dist/esm/pds-table-body.entry.js +2 -2
  254. package/dist/esm/pds-table-cell.entry.js +3 -3
  255. package/dist/esm/pds-table-head-cell.entry.js +4 -4
  256. package/dist/esm/pds-table-head.entry.js +2 -2
  257. package/dist/esm/pds-table-row.entry.js +2 -2
  258. package/dist/esm/pds-table.entry.js +1 -1
  259. package/dist/esm/pds-tabpanel.entry.js +2 -2
  260. package/dist/esm/pds-tabs.entry.js +2 -2
  261. package/dist/esm/pds-tabs.entry.js.map +1 -1
  262. package/dist/esm/pds-text.entry.js +2 -2
  263. package/dist/esm/pds-textarea.entry.js +110 -8
  264. package/dist/esm/pds-textarea.entry.js.map +1 -1
  265. package/dist/esm/pds-toast.entry.js +4 -4
  266. package/dist/esm/pds-tooltip.entry.js +3 -3
  267. package/dist/esm/pine-core.js +3 -3
  268. package/dist/esm-es5/{index-BVCWKPy3.js → index-Bf1dou5H.js} +2 -2
  269. package/dist/esm-es5/index-Bf1dou5H.js.map +1 -0
  270. package/dist/esm-es5/index-D4MkIUXU.js +2 -0
  271. package/dist/{esm/index-DrJ5r5Pu.js.map → esm-es5/index-D4MkIUXU.js.map} +1 -1
  272. package/dist/esm-es5/index.js +1 -1
  273. package/dist/esm-es5/loader.js +1 -1
  274. package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
  275. package/dist/esm-es5/mock-pds-modal.entry.js.map +1 -1
  276. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  277. package/dist/esm-es5/pds-alert.entry.js +1 -1
  278. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  279. package/dist/esm-es5/pds-box.entry.js +1 -1
  280. package/dist/esm-es5/pds-box.entry.js.map +1 -1
  281. package/dist/esm-es5/pds-button.entry.js +1 -1
  282. package/dist/esm-es5/pds-button.entry.js.map +1 -1
  283. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  284. package/dist/esm-es5/pds-chip.entry.js +1 -1
  285. package/dist/esm-es5/pds-combobox.entry.js +2 -2
  286. package/dist/esm-es5/pds-combobox.entry.js.map +1 -1
  287. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  288. package/dist/esm-es5/pds-divider.entry.js +1 -1
  289. package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
  290. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -1
  291. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js.map +1 -1
  292. package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
  293. package/dist/esm-es5/pds-filter.entry.js +2 -0
  294. package/dist/esm-es5/pds-filter.entry.js.map +1 -0
  295. package/dist/esm-es5/pds-filters.entry.js +2 -0
  296. package/dist/esm-es5/pds-filters.entry.js.map +1 -0
  297. package/dist/esm-es5/pds-icon.entry.js +1 -1
  298. package/dist/esm-es5/pds-image.entry.js +1 -1
  299. package/dist/esm-es5/pds-input.entry.js +1 -1
  300. package/dist/esm-es5/pds-link.entry.js +1 -1
  301. package/dist/esm-es5/pds-loader.entry.js +1 -1
  302. package/dist/esm-es5/pds-modal-content.entry.js +1 -1
  303. package/dist/esm-es5/pds-modal-content.entry.js.map +1 -1
  304. package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
  305. package/dist/esm-es5/pds-modal-header.entry.js +1 -1
  306. package/dist/esm-es5/pds-modal.entry.js +1 -1
  307. package/dist/esm-es5/pds-modal.entry.js.map +1 -1
  308. package/dist/esm-es5/pds-popover.entry.js +1 -1
  309. package/dist/esm-es5/pds-progress.entry.js +1 -1
  310. package/dist/esm-es5/pds-property.entry.js +1 -1
  311. package/dist/esm-es5/pds-radio.entry.js +1 -1
  312. package/dist/esm-es5/pds-row.entry.js +1 -1
  313. package/dist/esm-es5/pds-select.entry.js +1 -1
  314. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  315. package/dist/esm-es5/pds-sortable.entry.js +2 -2
  316. package/dist/esm-es5/pds-switch.entry.js +1 -1
  317. package/dist/esm-es5/pds-tab.entry.js +1 -1
  318. package/dist/esm-es5/pds-tab.entry.js.map +1 -1
  319. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  320. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  321. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  322. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  323. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  324. package/dist/esm-es5/pds-table.entry.js +1 -1
  325. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  326. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  327. package/dist/esm-es5/pds-tabs.entry.js.map +1 -1
  328. package/dist/esm-es5/pds-text.entry.js +1 -1
  329. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  330. package/dist/esm-es5/pds-textarea.entry.js.map +1 -1
  331. package/dist/esm-es5/pds-toast.entry.js +1 -1
  332. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  333. package/dist/esm-es5/pine-core.js +1 -1
  334. package/dist/pine-core/index.esm.js +1 -1
  335. package/dist/pine-core/mock-pds-modal.entry.esm.js.map +1 -1
  336. package/dist/pine-core/{p-fd091234.system.entry.js → p-0075bbbe.system.entry.js} +2 -2
  337. package/dist/pine-core/p-07e129db.entry.js +2 -0
  338. package/dist/pine-core/{p-8999b63d.system.entry.js → p-0975b749.system.entry.js} +2 -2
  339. package/dist/pine-core/{p-02326ac3.entry.js → p-0befa8f0.entry.js} +2 -2
  340. package/dist/pine-core/p-0d18171c.system.entry.js +2 -0
  341. package/dist/pine-core/p-0d18171c.system.entry.js.map +1 -0
  342. package/dist/pine-core/p-1009009c.entry.js +2 -0
  343. package/dist/pine-core/p-1009009c.entry.js.map +1 -0
  344. package/dist/pine-core/{p-8722865f.system.entry.js → p-1773aeac.system.entry.js} +2 -2
  345. package/dist/pine-core/{p-e2887e78.entry.js → p-1b9d4482.entry.js} +2 -2
  346. package/dist/pine-core/p-1c32ffb3.entry.js +2 -0
  347. package/dist/pine-core/p-1c32ffb3.entry.js.map +1 -0
  348. package/dist/pine-core/{p-7a95a90f.system.entry.js → p-2597bc59.system.entry.js} +2 -2
  349. package/dist/pine-core/{p-5a709348.entry.js → p-25cb810d.entry.js} +2 -2
  350. package/dist/pine-core/{p-a1b51557.system.entry.js → p-25cf2860.system.entry.js} +2 -2
  351. package/dist/pine-core/{p-6f4a6d0b.entry.js → p-265372d3.entry.js} +2 -2
  352. package/dist/pine-core/p-29b2af94.entry.js +2 -0
  353. package/dist/pine-core/{p-44087d1c.entry.js.map → p-29b2af94.entry.js.map} +1 -1
  354. package/dist/pine-core/p-2b102034.system.entry.js +2 -0
  355. package/dist/pine-core/p-2b102034.system.entry.js.map +1 -0
  356. package/dist/pine-core/p-2b12bc55.system.entry.js +2 -0
  357. package/dist/pine-core/{p-297afc49.system.entry.js → p-2b452883.system.entry.js} +2 -2
  358. package/dist/pine-core/p-2efc646c.system.entry.js +2 -0
  359. package/dist/pine-core/{p-ecb9edf8.entry.js → p-2fb6f9d5.entry.js} +2 -2
  360. package/dist/pine-core/p-2fd7f74e.entry.js +2 -0
  361. package/dist/pine-core/{p-39488f2c.system.entry.js → p-302849cf.system.entry.js} +2 -2
  362. package/dist/pine-core/{p-51d83489.system.entry.js → p-307f415a.system.entry.js} +2 -2
  363. package/dist/pine-core/{p-651861ff.entry.js → p-30e8c3ea.entry.js} +2 -2
  364. package/dist/pine-core/p-30e8c3ea.entry.js.map +1 -0
  365. package/dist/pine-core/p-31f6fcc1.entry.js +2 -0
  366. package/dist/pine-core/p-31f6fcc1.entry.js.map +1 -0
  367. package/dist/pine-core/p-378df5eb.system.entry.js +2 -0
  368. package/dist/pine-core/p-39648ce2.entry.js +2 -0
  369. package/dist/pine-core/p-39648ce2.entry.js.map +1 -0
  370. package/dist/pine-core/p-3b20aa93.system.entry.js +2 -0
  371. package/dist/pine-core/p-3b20aa93.system.entry.js.map +1 -0
  372. package/dist/pine-core/{p-50c9e865.entry.js → p-3e7933bf.entry.js} +2 -2
  373. package/dist/pine-core/{p-11d4036e.entry.js → p-41e2fe3a.entry.js} +2 -2
  374. package/dist/pine-core/p-449ebe39.system.entry.js +2 -0
  375. package/dist/pine-core/{p-023d8b71.system.entry.js → p-4534e8cc.system.entry.js} +2 -2
  376. package/dist/pine-core/{p-52d37cc1.entry.js → p-46820152.entry.js} +2 -2
  377. package/dist/pine-core/{p-ba187a35.entry.js → p-4b3a8cab.entry.js} +2 -2
  378. package/dist/pine-core/{p-da367b5e.system.entry.js → p-4c8bebd8.system.entry.js} +2 -2
  379. package/dist/pine-core/{p-503cab1f.entry.js → p-4dda1edf.entry.js} +2 -2
  380. package/dist/pine-core/p-4e55730d.entry.js +2 -0
  381. package/dist/pine-core/p-4e55730d.entry.js.map +1 -0
  382. package/dist/pine-core/{p-5e8badb9.entry.js → p-559b4ebc.entry.js} +2 -2
  383. package/dist/pine-core/{p-c13ef6a7.system.entry.js → p-55d06d0a.system.entry.js} +3 -3
  384. package/dist/pine-core/{p-25190921.entry.js → p-56f6f106.entry.js} +2 -2
  385. package/dist/pine-core/{p-075eecf9.entry.js → p-5ac7af9e.entry.js} +2 -2
  386. package/dist/pine-core/p-5cc0244d.system.entry.js +2 -0
  387. package/dist/pine-core/p-5cc0244d.system.entry.js.map +1 -0
  388. package/dist/pine-core/{p-dfc5ab34.system.entry.js → p-72d87dc6.system.entry.js} +2 -2
  389. package/dist/pine-core/{p-b2b1b7a9.system.entry.js → p-73a2e028.system.entry.js} +2 -2
  390. package/dist/pine-core/{p-4bbf3e31.entry.js → p-74f03e75.entry.js} +2 -2
  391. package/dist/pine-core/p-786967e8.entry.js +2 -0
  392. package/dist/pine-core/{p-0de9f8da.system.entry.js → p-7b0517e5.system.entry.js} +2 -2
  393. package/dist/pine-core/p-7b66bc50.entry.js +3 -0
  394. package/dist/pine-core/p-7b66bc50.entry.js.map +1 -0
  395. package/dist/pine-core/p-7eb22880.entry.js +2 -0
  396. package/dist/pine-core/p-7eb22880.entry.js.map +1 -0
  397. package/dist/pine-core/{p-464dd476.entry.js → p-8501429f.entry.js} +2 -2
  398. package/dist/pine-core/p-875d5d5a.system.entry.js +2 -0
  399. package/dist/pine-core/{p-4deb7b8c.entry.js → p-896e2f1b.entry.js} +2 -2
  400. package/dist/pine-core/{p-72b05928.system.entry.js → p-8ded79aa.system.entry.js} +2 -2
  401. package/dist/pine-core/{p-e89cb1f2.system.entry.js → p-8f69dd71.system.entry.js} +2 -2
  402. package/dist/pine-core/{p-2e19f167.system.entry.js → p-94fe15b0.system.entry.js} +2 -2
  403. package/dist/pine-core/p-95aee0b1.entry.js +2 -0
  404. package/dist/pine-core/p-95aee0b1.entry.js.map +1 -0
  405. package/dist/pine-core/p-96c27dba.entry.js +2 -0
  406. package/dist/pine-core/p-96c27dba.entry.js.map +1 -0
  407. package/dist/pine-core/p-B02VgXkx.system.js.map +1 -0
  408. package/dist/pine-core/{p-Kj_j7PHx.system.js.map → p-B57Bybw-.system.js.map} +1 -1
  409. package/dist/pine-core/{p-B1fiSdbt.system.js.map → p-BEgEi4w5.system.js.map} +1 -1
  410. package/dist/pine-core/{p-CJT--ZXC.system.js.map → p-BFiM1S8V.system.js.map} +1 -1
  411. package/dist/pine-core/{p-_E9ZEzfO.system.js.map → p-BIjeWHX_.system.js.map} +1 -1
  412. package/dist/pine-core/{p-BVKCNX0X.system.js.map → p-BJhtHwq5.system.js.map} +1 -1
  413. package/dist/pine-core/{p-EYhpJx2s.system.js.map → p-BJjdD3yf.system.js.map} +1 -1
  414. package/dist/pine-core/p-BPjnTOEL.system.js +2 -0
  415. package/dist/pine-core/{p-De9tROL-.system.js.map → p-BPjnTOEL.system.js.map} +1 -1
  416. package/dist/pine-core/{p-CCQUgOoR.system.js.map → p-BQFgzIQT.system.js.map} +1 -1
  417. package/dist/pine-core/p-BSkbMuB5.system.js +2 -0
  418. package/dist/pine-core/{p-BEn3hirk.system.js.map → p-BSkbMuB5.system.js.map} +1 -1
  419. package/dist/pine-core/{p-BVCWKPy3.js → p-Bf1dou5H.js} +2 -2
  420. package/dist/pine-core/p-Bf1dou5H.js.map +1 -0
  421. package/dist/pine-core/p-BigOVPun.system.js.map +1 -0
  422. package/dist/pine-core/{p-CcXaBX2A.system.js.map → p-BmFGXXkm.system.js.map} +1 -1
  423. package/dist/pine-core/p-ByzULH8m.system.js.map +1 -0
  424. package/dist/pine-core/{p-CE6b_LzB.system.js.map → p-C3iAHQC6.system.js.map} +1 -1
  425. package/dist/pine-core/{p-ACQU83St.system.js.map → p-CCQd5PVN.system.js.map} +1 -1
  426. package/dist/pine-core/{p-ChslVme6.system.js.map → p-CG2PKUWT.system.js.map} +1 -1
  427. package/dist/pine-core/{p-CQ8f8GnD.system.js.map → p-CHVzHNgU.system.js.map} +1 -1
  428. package/dist/pine-core/{p-Dh7jcLgJ.system.js.map → p-COwpA8ab.system.js.map} +1 -1
  429. package/dist/pine-core/p-CV0Lw9gs.system.js.map +1 -0
  430. package/dist/pine-core/p-CZqgW7e3.system.js.map +1 -0
  431. package/dist/pine-core/{p-pQqXEKPh.system.js.map → p-Cc1q-FuD.system.js.map} +1 -1
  432. package/dist/pine-core/{p-CWdEolqa.system.js.map → p-Cl47ROcT.system.js.map} +1 -1
  433. package/dist/pine-core/{p-0KTU2Jt-.system.js.map → p-CnPN6prI.system.js.map} +1 -1
  434. package/dist/pine-core/{p-B1FQkx7R.system.js.map → p-Ctdx1tCG.system.js.map} +1 -1
  435. package/dist/pine-core/p-CwNRZQss.system.js.map +1 -0
  436. package/dist/pine-core/{p-B_C-mRjx.system.js → p-Cxvdulqq.system.js} +2 -2
  437. package/dist/pine-core/p-Cxvdulqq.system.js.map +1 -0
  438. package/dist/pine-core/p-D3SrjYeb.system.js.map +1 -0
  439. package/dist/pine-core/p-D4MkIUXU.js +2 -0
  440. package/dist/pine-core/{p-DrJ5r5Pu.js.map → p-D4MkIUXU.js.map} +1 -1
  441. package/dist/pine-core/{p-MBv7PsKc.system.js.map → p-D52TGCLt.system.js.map} +1 -1
  442. package/dist/pine-core/p-D7B3vOdC.system.js.map +1 -0
  443. package/dist/pine-core/{p-0TIvNV5c.system.js.map → p-D9veIL-g.system.js.map} +1 -1
  444. package/dist/pine-core/{p-D9_z2w3q.system.js.map → p-DGFR-x7P.system.js.map} +1 -1
  445. package/dist/pine-core/p-DeR0sSWy.system.js.map +1 -0
  446. package/dist/pine-core/{p-BRygGju8.system.js.map → p-Df597YUK.system.js.map} +1 -1
  447. package/dist/pine-core/{p-Df_3qA_L.system.js.map → p-DgE9ds9o.system.js.map} +1 -1
  448. package/dist/pine-core/{p-CLoi4eKt.system.js.map → p-DmWU0f_O.system.js.map} +1 -1
  449. package/dist/pine-core/{p-DYb5Y47j.system.js.map → p-Dq7Wu9rr.system.js.map} +1 -1
  450. package/dist/pine-core/p-Dw7zXw_6.system.js.map +1 -0
  451. package/dist/pine-core/{p-CpdNWpfd.system.js.map → p-Ek6vvXfI.system.js.map} +1 -1
  452. package/dist/pine-core/{p-C5Y492i0.system.js.map → p-M-zMP2QX.system.js.map} +1 -1
  453. package/dist/pine-core/{p-IhWWc2L_.system.js.map → p-WO5h6NYA.system.js.map} +1 -1
  454. package/dist/pine-core/p-WWWd_vEd.system.js +2 -0
  455. package/dist/pine-core/p-WWWd_vEd.system.js.map +1 -0
  456. package/dist/pine-core/{p-D05FrqXr.system.js.map → p-X5M4eshC.system.js.map} +1 -1
  457. package/dist/pine-core/{p-m6UZWRsP.system.js.map → p-Z5rOSkoA.system.js.map} +1 -1
  458. package/dist/pine-core/{p-72053224.entry.js → p-a2cb65df.entry.js} +3 -3
  459. package/dist/pine-core/{p-c8122bea.entry.js → p-a54d6a53.entry.js} +2 -2
  460. package/dist/pine-core/{p-a04556e4.system.entry.js → p-a5cf0088.system.entry.js} +2 -2
  461. package/dist/pine-core/p-a645818a.entry.js +2 -0
  462. package/dist/pine-core/{p-f583e5d4.entry.js → p-a9cfaa1f.entry.js} +2 -2
  463. package/dist/pine-core/{p-14a52961.system.entry.js → p-aa2782b9.system.entry.js} +2 -2
  464. package/dist/pine-core/{p-f55b9f90.system.entry.js → p-ab4307c7.system.entry.js} +2 -2
  465. package/dist/pine-core/{p-349a8869.entry.js → p-af56cb57.entry.js} +2 -2
  466. package/dist/pine-core/{p-8d7abc83.entry.js → p-b32d34d0.entry.js} +2 -2
  467. package/dist/pine-core/{p-00616fc9.entry.js → p-b378ca03.entry.js} +2 -2
  468. package/dist/pine-core/p-b669e1d9.entry.js +2 -0
  469. package/dist/pine-core/p-b699a14f.system.entry.js +2 -0
  470. package/dist/pine-core/p-b699a14f.system.entry.js.map +1 -0
  471. package/dist/pine-core/p-bc2fecd4.system.entry.js +2 -0
  472. package/dist/pine-core/p-bc2fecd4.system.entry.js.map +1 -0
  473. package/dist/pine-core/{p-e3fb0bc2.system.entry.js → p-bc637bed.system.entry.js} +2 -2
  474. package/dist/pine-core/{p-b6ea3332.entry.js → p-be5ef841.entry.js} +2 -2
  475. package/dist/pine-core/{p-54183d70.system.entry.js → p-c0601420.system.entry.js} +2 -2
  476. package/dist/pine-core/p-c2d2fe64.system.entry.js +2 -0
  477. package/dist/pine-core/p-c3f84df8.system.entry.js +2 -0
  478. package/dist/pine-core/p-c3f84df8.system.entry.js.map +1 -0
  479. package/dist/pine-core/p-c44d3551.entry.js +2 -0
  480. package/dist/pine-core/{p-e8d76117.entry.js → p-c55fc47e.entry.js} +2 -2
  481. package/dist/pine-core/{p-5da82e8c.system.entry.js → p-c63e7909.system.entry.js} +2 -2
  482. package/dist/pine-core/p-d325287b.entry.js +2 -0
  483. package/dist/pine-core/p-d325287b.entry.js.map +1 -0
  484. package/dist/pine-core/p-d52d96b5.system.entry.js +4 -0
  485. package/dist/pine-core/p-d52d96b5.system.entry.js.map +1 -0
  486. package/dist/pine-core/{p-884b9ae6.system.entry.js → p-d5c63517.system.entry.js} +2 -2
  487. package/dist/pine-core/p-d65d252d.entry.js +2 -0
  488. package/dist/pine-core/p-d65d252d.entry.js.map +1 -0
  489. package/dist/pine-core/p-db12273e.system.entry.js +2 -0
  490. package/dist/pine-core/{p-92c52409.system.entry.js → p-dbe41087.system.entry.js} +2 -2
  491. package/dist/pine-core/{p-deb8a499.system.entry.js → p-e03b7f4a.system.entry.js} +2 -2
  492. package/dist/pine-core/{p-6db1e029.system.entry.js → p-ee583234.system.entry.js} +2 -2
  493. package/dist/pine-core/{p-0066d249.entry.js → p-f5d78141.entry.js} +2 -2
  494. package/dist/pine-core/p-f61ee383.system.entry.js +2 -0
  495. package/dist/pine-core/p-f61ee383.system.entry.js.map +1 -0
  496. package/dist/pine-core/{p-98fe56d9.entry.js → p-f6b269ac.entry.js} +2 -2
  497. package/dist/pine-core/p-f70aef6e.system.entry.js +2 -0
  498. package/dist/pine-core/p-f70aef6e.system.entry.js.map +1 -0
  499. package/dist/pine-core/{p-52af1890.system.entry.js → p-f911dde3.system.entry.js} +2 -2
  500. package/dist/pine-core/{p-7cb4f0de.entry.js → p-fd3d548f.entry.js} +2 -2
  501. package/dist/pine-core/{p-ac37cf0d.entry.js → p-fddf82f8.entry.js} +2 -2
  502. package/dist/pine-core/p-fdf22be1.system.entry.js +2 -0
  503. package/dist/pine-core/p-fdf22be1.system.entry.js.map +1 -0
  504. package/dist/pine-core/p-fe7ece91.system.entry.js +2 -0
  505. package/dist/pine-core/p-fe7ece91.system.entry.js.map +1 -0
  506. package/dist/pine-core/{p-DHmJZxQk.system.js.map → p-iM8w34Dq.system.js.map} +1 -1
  507. package/dist/pine-core/{p-2kXtbFXu.system.js.map → p-iazk4jjL.system.js.map} +1 -1
  508. package/dist/pine-core/{p-CqzGa2j0.system.js.map → p-k9JOparb.system.js.map} +1 -1
  509. package/dist/pine-core/{p-CgyVIfOY.system.js.map → p-kbAzjMDU.system.js.map} +1 -1
  510. package/dist/pine-core/{p-B7S-9dbT.system.js.map → p-kcOuXqWo.system.js.map} +1 -1
  511. package/dist/pine-core/{p-IG5YumI3.system.js.map → p-nawkAoxk.system.js.map} +1 -1
  512. package/dist/pine-core/p-oDk-2Jyq.system.js.map +1 -0
  513. package/dist/pine-core/p-wlxYjeBe.system.js.map +1 -0
  514. package/dist/pine-core/{p-CqK-uhv8.system.js.map → p-yaM1kuaC.system.js.map} +1 -1
  515. package/dist/pine-core/pds-box.entry.esm.js.map +1 -1
  516. package/dist/pine-core/pds-button.entry.esm.js.map +1 -1
  517. package/dist/pine-core/pds-combobox.entry.esm.js.map +1 -1
  518. package/dist/pine-core/pds-dropdown-menu-separator.entry.esm.js.map +1 -1
  519. package/dist/pine-core/pds-filter.entry.esm.js.map +1 -0
  520. package/dist/pine-core/pds-filters.entry.esm.js.map +1 -0
  521. package/dist/pine-core/pds-modal-content.entry.esm.js.map +1 -1
  522. package/dist/pine-core/pds-modal.entry.esm.js.map +1 -1
  523. package/dist/pine-core/pds-tab.entry.esm.js.map +1 -1
  524. package/dist/pine-core/pds-tabs.entry.esm.js.map +1 -1
  525. package/dist/pine-core/pds-textarea.entry.esm.js.map +1 -1
  526. package/dist/pine-core/pine-core.esm.js +1 -1
  527. package/dist/pine-core/pine-core.js +1 -1
  528. package/dist/types/components/pds-box/pds-box.d.ts +315 -0
  529. package/dist/types/components/pds-button/pds-button.d.ts +5 -1
  530. package/dist/types/components/pds-combobox/pds-combobox.d.ts +28 -3
  531. package/dist/types/components/pds-filters/pds-filter/filter-interface.d.ts +19 -0
  532. package/dist/types/components/pds-filters/pds-filter/pds-filter.d.ts +133 -0
  533. package/dist/types/components/pds-filters/pds-filters.d.ts +11 -0
  534. package/dist/types/components/pds-modal/pds-modal-content/pds-modal-content.d.ts +18 -1
  535. package/dist/types/components/pds-modal/pds-modal.d.ts +5 -0
  536. package/dist/types/components/pds-modal/test/mock-pds-modal.d.ts +5 -0
  537. package/dist/types/components/pds-tabs/pds-tabs.d.ts +1 -0
  538. package/dist/types/components/pds-textarea/pds-textarea.d.ts +20 -0
  539. package/dist/types/components.d.ts +793 -4
  540. package/hydrate/index.js +1381 -112
  541. package/hydrate/index.mjs +1381 -112
  542. package/package.json +2 -2
  543. package/dist/cjs/index-g-uSeICs.js.map +0 -1
  544. package/dist/esm/index-BVCWKPy3.js.map +0 -1
  545. package/dist/esm-es5/index-BVCWKPy3.js.map +0 -1
  546. package/dist/esm-es5/index-DrJ5r5Pu.js +0 -2
  547. package/dist/pine-core/p-007b61e9.system.entry.js +0 -2
  548. package/dist/pine-core/p-007b61e9.system.entry.js.map +0 -1
  549. package/dist/pine-core/p-0485aa93.system.entry.js +0 -2
  550. package/dist/pine-core/p-0485aa93.system.entry.js.map +0 -1
  551. package/dist/pine-core/p-051ff780.system.entry.js +0 -2
  552. package/dist/pine-core/p-051ff780.system.entry.js.map +0 -1
  553. package/dist/pine-core/p-2186e5d4.system.entry.js +0 -2
  554. package/dist/pine-core/p-2186e5d4.system.entry.js.map +0 -1
  555. package/dist/pine-core/p-232a2043.entry.js +0 -2
  556. package/dist/pine-core/p-44087d1c.entry.js +0 -2
  557. package/dist/pine-core/p-47670150.entry.js +0 -3
  558. package/dist/pine-core/p-47670150.entry.js.map +0 -1
  559. package/dist/pine-core/p-54061a33.entry.js +0 -2
  560. package/dist/pine-core/p-54061a33.entry.js.map +0 -1
  561. package/dist/pine-core/p-5708f95a.entry.js +0 -2
  562. package/dist/pine-core/p-651861ff.entry.js.map +0 -1
  563. package/dist/pine-core/p-66b10d29.entry.js +0 -2
  564. package/dist/pine-core/p-68b5665a.entry.js +0 -2
  565. package/dist/pine-core/p-68b5665a.entry.js.map +0 -1
  566. package/dist/pine-core/p-7004d1ea.system.entry.js +0 -2
  567. package/dist/pine-core/p-71169b66.system.entry.js +0 -2
  568. package/dist/pine-core/p-71169b66.system.entry.js.map +0 -1
  569. package/dist/pine-core/p-73158adf.system.entry.js +0 -2
  570. package/dist/pine-core/p-77336705.entry.js +0 -2
  571. package/dist/pine-core/p-77336705.entry.js.map +0 -1
  572. package/dist/pine-core/p-8ab7f0d7.system.entry.js +0 -4
  573. package/dist/pine-core/p-8ab7f0d7.system.entry.js.map +0 -1
  574. package/dist/pine-core/p-96a89cd5.system.entry.js +0 -2
  575. package/dist/pine-core/p-96a89cd5.system.entry.js.map +0 -1
  576. package/dist/pine-core/p-BEn3hirk.system.js +0 -2
  577. package/dist/pine-core/p-BGbUqsWH.system.js +0 -2
  578. package/dist/pine-core/p-BGbUqsWH.system.js.map +0 -1
  579. package/dist/pine-core/p-BKFboaI5.system.js.map +0 -1
  580. package/dist/pine-core/p-BVCWKPy3.js.map +0 -1
  581. package/dist/pine-core/p-B_C-mRjx.system.js.map +0 -1
  582. package/dist/pine-core/p-Bv5PJxD8.system.js.map +0 -1
  583. package/dist/pine-core/p-CD_nPb2F.system.js.map +0 -1
  584. package/dist/pine-core/p-Cmzqpibo.system.js.map +0 -1
  585. package/dist/pine-core/p-DJekRkSL.system.js.map +0 -1
  586. package/dist/pine-core/p-DNYl_6t_.system.js.map +0 -1
  587. package/dist/pine-core/p-DXuK7cEc.system.js.map +0 -1
  588. package/dist/pine-core/p-De9tROL-.system.js +0 -2
  589. package/dist/pine-core/p-DrJ5r5Pu.js +0 -2
  590. package/dist/pine-core/p-Dt10r3RZ.system.js.map +0 -1
  591. package/dist/pine-core/p-IIl2cTlj.system.js.map +0 -1
  592. package/dist/pine-core/p-UsEwlBJ0.system.js.map +0 -1
  593. package/dist/pine-core/p-a24c46e4.entry.js +0 -2
  594. package/dist/pine-core/p-a24c46e4.entry.js.map +0 -1
  595. package/dist/pine-core/p-a54f1d9e.entry.js +0 -2
  596. package/dist/pine-core/p-a54f1d9e.entry.js.map +0 -1
  597. package/dist/pine-core/p-aa645f28.system.entry.js +0 -2
  598. package/dist/pine-core/p-aa645f28.system.entry.js.map +0 -1
  599. package/dist/pine-core/p-bb8ef74a.system.entry.js +0 -2
  600. package/dist/pine-core/p-be939cb0.entry.js +0 -2
  601. package/dist/pine-core/p-c1099665.system.entry.js +0 -2
  602. package/dist/pine-core/p-c2ffb466.system.entry.js +0 -2
  603. package/dist/pine-core/p-c4d6fe50.system.entry.js +0 -2
  604. package/dist/pine-core/p-c4d6fe50.system.entry.js.map +0 -1
  605. package/dist/pine-core/p-c6badcf8.entry.js +0 -2
  606. package/dist/pine-core/p-c6badcf8.entry.js.map +0 -1
  607. package/dist/pine-core/p-cd785026.system.entry.js +0 -2
  608. package/dist/pine-core/p-d714f68f.system.entry.js +0 -2
  609. package/dist/pine-core/p-d714f68f.system.entry.js.map +0 -1
  610. package/dist/pine-core/p-e5ca5b8e.entry.js +0 -2
  611. package/dist/pine-core/p-e5ca5b8e.entry.js.map +0 -1
  612. package/dist/pine-core/p-e65a7d1c.system.entry.js +0 -2
  613. package/dist/pine-core/p-efa788ea.entry.js +0 -2
  614. package/dist/pine-core/p-f880adaa.entry.js +0 -2
  615. package/dist/pine-core/p-fb4058e6.entry.js +0 -2
  616. package/dist/pine-core/p-fb4058e6.entry.js.map +0 -1
  617. /package/dist/pine-core/{p-fd091234.system.entry.js.map → p-0075bbbe.system.entry.js.map} +0 -0
  618. /package/dist/pine-core/{p-66b10d29.entry.js.map → p-07e129db.entry.js.map} +0 -0
  619. /package/dist/pine-core/{p-8999b63d.system.entry.js.map → p-0975b749.system.entry.js.map} +0 -0
  620. /package/dist/pine-core/{p-02326ac3.entry.js.map → p-0befa8f0.entry.js.map} +0 -0
  621. /package/dist/pine-core/{p-8722865f.system.entry.js.map → p-1773aeac.system.entry.js.map} +0 -0
  622. /package/dist/pine-core/{p-e2887e78.entry.js.map → p-1b9d4482.entry.js.map} +0 -0
  623. /package/dist/pine-core/{p-7a95a90f.system.entry.js.map → p-2597bc59.system.entry.js.map} +0 -0
  624. /package/dist/pine-core/{p-5a709348.entry.js.map → p-25cb810d.entry.js.map} +0 -0
  625. /package/dist/pine-core/{p-a1b51557.system.entry.js.map → p-25cf2860.system.entry.js.map} +0 -0
  626. /package/dist/pine-core/{p-6f4a6d0b.entry.js.map → p-265372d3.entry.js.map} +0 -0
  627. /package/dist/pine-core/{p-c2ffb466.system.entry.js.map → p-2b12bc55.system.entry.js.map} +0 -0
  628. /package/dist/pine-core/{p-297afc49.system.entry.js.map → p-2b452883.system.entry.js.map} +0 -0
  629. /package/dist/pine-core/{p-cd785026.system.entry.js.map → p-2efc646c.system.entry.js.map} +0 -0
  630. /package/dist/pine-core/{p-ecb9edf8.entry.js.map → p-2fb6f9d5.entry.js.map} +0 -0
  631. /package/dist/pine-core/{p-efa788ea.entry.js.map → p-2fd7f74e.entry.js.map} +0 -0
  632. /package/dist/pine-core/{p-39488f2c.system.entry.js.map → p-302849cf.system.entry.js.map} +0 -0
  633. /package/dist/pine-core/{p-51d83489.system.entry.js.map → p-307f415a.system.entry.js.map} +0 -0
  634. /package/dist/pine-core/{p-bb8ef74a.system.entry.js.map → p-378df5eb.system.entry.js.map} +0 -0
  635. /package/dist/pine-core/{p-50c9e865.entry.js.map → p-3e7933bf.entry.js.map} +0 -0
  636. /package/dist/pine-core/{p-11d4036e.entry.js.map → p-41e2fe3a.entry.js.map} +0 -0
  637. /package/dist/pine-core/{p-7004d1ea.system.entry.js.map → p-449ebe39.system.entry.js.map} +0 -0
  638. /package/dist/pine-core/{p-023d8b71.system.entry.js.map → p-4534e8cc.system.entry.js.map} +0 -0
  639. /package/dist/pine-core/{p-52d37cc1.entry.js.map → p-46820152.entry.js.map} +0 -0
  640. /package/dist/pine-core/{p-ba187a35.entry.js.map → p-4b3a8cab.entry.js.map} +0 -0
  641. /package/dist/pine-core/{p-da367b5e.system.entry.js.map → p-4c8bebd8.system.entry.js.map} +0 -0
  642. /package/dist/pine-core/{p-503cab1f.entry.js.map → p-4dda1edf.entry.js.map} +0 -0
  643. /package/dist/pine-core/{p-5e8badb9.entry.js.map → p-559b4ebc.entry.js.map} +0 -0
  644. /package/dist/pine-core/{p-c13ef6a7.system.entry.js.map → p-55d06d0a.system.entry.js.map} +0 -0
  645. /package/dist/pine-core/{p-25190921.entry.js.map → p-56f6f106.entry.js.map} +0 -0
  646. /package/dist/pine-core/{p-075eecf9.entry.js.map → p-5ac7af9e.entry.js.map} +0 -0
  647. /package/dist/pine-core/{p-dfc5ab34.system.entry.js.map → p-72d87dc6.system.entry.js.map} +0 -0
  648. /package/dist/pine-core/{p-b2b1b7a9.system.entry.js.map → p-73a2e028.system.entry.js.map} +0 -0
  649. /package/dist/pine-core/{p-4bbf3e31.entry.js.map → p-74f03e75.entry.js.map} +0 -0
  650. /package/dist/pine-core/{p-be939cb0.entry.js.map → p-786967e8.entry.js.map} +0 -0
  651. /package/dist/pine-core/{p-0de9f8da.system.entry.js.map → p-7b0517e5.system.entry.js.map} +0 -0
  652. /package/dist/pine-core/{p-464dd476.entry.js.map → p-8501429f.entry.js.map} +0 -0
  653. /package/dist/pine-core/{p-e65a7d1c.system.entry.js.map → p-875d5d5a.system.entry.js.map} +0 -0
  654. /package/dist/pine-core/{p-4deb7b8c.entry.js.map → p-896e2f1b.entry.js.map} +0 -0
  655. /package/dist/pine-core/{p-72b05928.system.entry.js.map → p-8ded79aa.system.entry.js.map} +0 -0
  656. /package/dist/pine-core/{p-e89cb1f2.system.entry.js.map → p-8f69dd71.system.entry.js.map} +0 -0
  657. /package/dist/pine-core/{p-2e19f167.system.entry.js.map → p-94fe15b0.system.entry.js.map} +0 -0
  658. /package/dist/pine-core/{p-72053224.entry.js.map → p-a2cb65df.entry.js.map} +0 -0
  659. /package/dist/pine-core/{p-c8122bea.entry.js.map → p-a54d6a53.entry.js.map} +0 -0
  660. /package/dist/pine-core/{p-a04556e4.system.entry.js.map → p-a5cf0088.system.entry.js.map} +0 -0
  661. /package/dist/pine-core/{p-f880adaa.entry.js.map → p-a645818a.entry.js.map} +0 -0
  662. /package/dist/pine-core/{p-f583e5d4.entry.js.map → p-a9cfaa1f.entry.js.map} +0 -0
  663. /package/dist/pine-core/{p-14a52961.system.entry.js.map → p-aa2782b9.system.entry.js.map} +0 -0
  664. /package/dist/pine-core/{p-f55b9f90.system.entry.js.map → p-ab4307c7.system.entry.js.map} +0 -0
  665. /package/dist/pine-core/{p-349a8869.entry.js.map → p-af56cb57.entry.js.map} +0 -0
  666. /package/dist/pine-core/{p-8d7abc83.entry.js.map → p-b32d34d0.entry.js.map} +0 -0
  667. /package/dist/pine-core/{p-00616fc9.entry.js.map → p-b378ca03.entry.js.map} +0 -0
  668. /package/dist/pine-core/{p-5708f95a.entry.js.map → p-b669e1d9.entry.js.map} +0 -0
  669. /package/dist/pine-core/{p-e3fb0bc2.system.entry.js.map → p-bc637bed.system.entry.js.map} +0 -0
  670. /package/dist/pine-core/{p-b6ea3332.entry.js.map → p-be5ef841.entry.js.map} +0 -0
  671. /package/dist/pine-core/{p-54183d70.system.entry.js.map → p-c0601420.system.entry.js.map} +0 -0
  672. /package/dist/pine-core/{p-73158adf.system.entry.js.map → p-c2d2fe64.system.entry.js.map} +0 -0
  673. /package/dist/pine-core/{p-232a2043.entry.js.map → p-c44d3551.entry.js.map} +0 -0
  674. /package/dist/pine-core/{p-e8d76117.entry.js.map → p-c55fc47e.entry.js.map} +0 -0
  675. /package/dist/pine-core/{p-5da82e8c.system.entry.js.map → p-c63e7909.system.entry.js.map} +0 -0
  676. /package/dist/pine-core/{p-884b9ae6.system.entry.js.map → p-d5c63517.system.entry.js.map} +0 -0
  677. /package/dist/pine-core/{p-c1099665.system.entry.js.map → p-db12273e.system.entry.js.map} +0 -0
  678. /package/dist/pine-core/{p-92c52409.system.entry.js.map → p-dbe41087.system.entry.js.map} +0 -0
  679. /package/dist/pine-core/{p-deb8a499.system.entry.js.map → p-e03b7f4a.system.entry.js.map} +0 -0
  680. /package/dist/pine-core/{p-6db1e029.system.entry.js.map → p-ee583234.system.entry.js.map} +0 -0
  681. /package/dist/pine-core/{p-0066d249.entry.js.map → p-f5d78141.entry.js.map} +0 -0
  682. /package/dist/pine-core/{p-98fe56d9.entry.js.map → p-f6b269ac.entry.js.map} +0 -0
  683. /package/dist/pine-core/{p-52af1890.system.entry.js.map → p-f911dde3.system.entry.js.map} +0 -0
  684. /package/dist/pine-core/{p-7cb4f0de.entry.js.map → p-fd3d548f.entry.js.map} +0 -0
  685. /package/dist/pine-core/{p-ac37cf0d.entry.js.map → p-fddf82f8.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"pds-modal.js","mappings":";;AAAA,MAAM,WAAW,GAAG,smDAAsmD;;MCO7mDA,UAAQ,iBAAAC,kBAAA,CAAA,MAAA,QAAA,SAAA,WAAA,CAAA;AALrB,IAAA,WAAA,GAAA;;;;;AAQU,QAAA,IAAiB,CAAA,iBAAA,GAAkB,EAAE;AAI7C;;;AAGG;AACK,QAAA,IAAe,CAAA,eAAA,GAAG,IAAI;AAO9B;;;AAGG;AACsB,QAAA,IAAI,CAAA,IAAA,GAAG,KAAK;AAErC;;;AAGG;AACK,QAAA,IAAI,CAAA,IAAA,GAAsC,IAAI;AActD;;AAEG;AACM,QAAA,IAAsB,CAAA,sBAAA,GAAkB,EAAE;AAoJ3C,QAAA,IAAA,CAAA,mBAAmB,GAAG,CAAC,CAAa,KA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C,YAAY;AAAE,YAAA,OAAO,KAAK;;AAG/B,QAAA,MAAM,aAAa,GAAG,UAAU,CAAC,GAAG,CAAC,KAAK,IAAI,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;;QAG5E,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC;;QAG5C,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC;QAClD,OAAO,UAAU,KAAK,SAAS;;IAiDjC,MAAM,GAAA;QACJ,QACE,CACE,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE;AACL,gBAAA,qBAAqB,EAAE,IAAI;gBAC3B,MAAM,EAAE,IAAI,CAAC;aACd,EAAA,YAAA,EACU,MAAM,EAAA,iBAAA,EACA,CAAA,EAAG,IAAI,CAAC,WAAW,CAAA,QAAA,CAAU,EAC9C,OAAO,EAAE,IAAI,CAAC,mBAAmB,EAAA,EAEjC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE,CAAA,qBAAA,EAAwB,IAAI,CAAC,IAAI,CAAwB,sBAAA,CAAA,EAAA,EAEhE,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsModal","__stencil_proxyCustomElement"],"sources":["src/components/pds-modal/pds-modal.scss?tag=pds-modal","src/components/pds-modal/pds-modal.tsx"],"sourcesContent":[".pds-modal__backdrop {\n align-items: flex-start;\n background-color: rgba(0, 0, 0, 0.4);\n border: 0;\n display: flex;\n height: 100%;\n inset: 0;\n justify-content: center;\n margin: 0;\n max-height: 100%;\n max-width: 100%;\n opacity: 0;\n padding: 0;\n position: fixed;\n transition: opacity 0.2s ease, visibility 0.2s ease;\n visibility: hidden;\n width: 100%;\n z-index: 1000;\n\n @supports (backdrop-filter: blur(3px)) {\n backdrop-filter: blur(3px);\n }\n\n // Increase z-index for nested modals\n pds-modal & {\n z-index: 1001;\n }\n\n &::backdrop {\n background: transparent;\n }\n\n &.open {\n opacity: 1;\n visibility: visible;\n }\n}\n\n.pds-modal {\n background: var(--pine-color-background-container);\n border-radius: var(--pine-dimension-sm);\n box-shadow: var(--pine-box-shadow-400);\n display: flex;\n flex-direction: column;\n margin: var(--pine-dimension-md);\n max-height: calc(100vh - (calc(5vh + 96px)));\n width: 100%;\n\n @media (min-width: 992px) {\n margin-block-start: 6vh;\n }\n\n @media (min-width: 1200px) {\n margin-block-start: 8vh;\n }\n}\n\n.pds-modal--sm {\n max-width: 520px;\n}\n\n.pds-modal--md {\n max-width: 700px;\n}\n\n.pds-modal--lg {\n max-width: 900px;\n}\n\n.pds-modal--fullscreen {\n border-radius: 0;\n height: 100%;\n margin: 0;\n max-height: 100vh;\n max-width: 100%;\n}\n\n.pds-modal-content {\n .pds-modal--fullscreen & {\n flex: 1;\n }\n}\n\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\n\n@Component({\n tag: 'pds-modal',\n styleUrl: 'pds-modal.scss',\n shadow: false\n})\nexport class PdsModal {\n private modalRef: HTMLDialogElement;\n private previousActiveElement: HTMLElement;\n private focusableElements: HTMLElement[] = [];\n\n @Element() el: HTMLPdsModalElement;\n\n /**\n * Whether the modal can be dismissed by clicking the backdrop\n * @default true\n */\n @Prop() backdropDismiss = true;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Whether the modal is open\n * @default false\n */\n @Prop({ mutable: true }) open = false;\n\n /**\n * The size of the modal\n * @default 'md'\n */\n @Prop() size: 'sm' | 'md' | 'lg' | 'fullscreen' = 'md';\n\n // Modal content is always scrollable by default\n\n /**\n * Emitted when the modal is opened\n */\n @Event() pdsModalOpen: EventEmitter<void>;\n\n /**\n * Emitted when the modal is closed\n */\n @Event() pdsModalClose: EventEmitter<void>;\n\n /**\n * Stores the list of focusable elements in the modal\n */\n @State() focusableElementsArray: HTMLElement[] = [];\n\n componentDidLoad() {\n this.modalRef = this.el.querySelector('.pds-modal__backdrop') as HTMLDialogElement;\n // Add keyboard event listener\n document.addEventListener('keydown', this.handleKeyDown);\n }\n\n disconnectedCallback() {\n // Clean up event listener\n document.removeEventListener('keydown', this.handleKeyDown);\n }\n\n @Watch('open')\n handleOpenChange(newValue: boolean) {\n if (newValue) {\n this.showModal();\n } else {\n this.hideModal();\n }\n }\n\n /**\n * Updates the list of focusable elements in the modal\n */\n private updateFocusableElements() {\n if (!this.modalRef) return;\n\n // Get all focusable elements within the modal\n const selector = [\n 'a[href]',\n 'button:not([disabled])',\n 'input:not([disabled])',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n '[tabindex]:not([tabindex=\"-1\"])',\n 'pds-button:not([disabled])',\n 'pds-link:not([disabled])',\n 'pds-input:not([disabled])',\n 'pds-checkbox:not([disabled])',\n 'pds-radio:not([disabled])',\n 'pds-switch:not([disabled])',\n 'pds-select:not([disabled])',\n ].join(',');\n\n this.focusableElements = Array.from(\n this.modalRef.querySelectorAll(selector)\n ) as HTMLElement[];\n\n // Filter out elements with display: none or visibility: hidden\n this.focusableElements = this.focusableElements.filter(el => {\n const style = window.getComputedStyle(el);\n return style.display !== 'none' && style.visibility !== 'hidden';\n });\n }\n\n /**\n * Sets focus to the first focusable element in the modal\n */\n private setInitialFocus() {\n if (this.focusableElements.length === 0) return;\n\n // Focus the first focusable element\n const firstElement = this.focusableElements[0];\n\n // For web components, we need to ensure they're properly focused\n this.focusElement(firstElement);\n }\n\n /**\n * Helper method to focus an element, with special handling for web components\n */\n private focusElement(element: HTMLElement) {\n if (!element) return;\n\n try {\n // Try standard focus first\n element.focus();\n\n // Check if focus worked\n setTimeout(() => {\n if (document.activeElement !== element) {\n // For web components, try to find a focusable element inside\n if (element.shadowRoot) {\n const focusableInShadow = element.shadowRoot.querySelector(\n 'button, [tabindex], input, a[href]'\n ) as HTMLElement;\n\n if (focusableInShadow) {\n focusableInShadow.focus();\n }\n }\n }\n }, 0);\n } catch (error) {\n console.error('Error focusing element:', error);\n }\n }\n\n /**\n * Opens the modal\n */\n @Method()\n async showModal() {\n if (this.modalRef) {\n try {\n // Store the currently focused element to restore focus when modal closes\n this.previousActiveElement = document.activeElement as HTMLElement;\n\n // Use native dialog showModal method which makes the rest of the page inert\n this.modalRef.showModal();\n this.open = true;\n\n // Update focusable elements and set initial focus\n // Using a longer timeout to ensure all components are fully rendered\n setTimeout(() => {\n this.updateFocusableElements();\n this.setInitialFocus();\n this.pdsModalOpen.emit();\n }, 100);\n } catch (error) {\n console.error('Failed to show modal:', error);\n }\n }\n }\n\n /**\n * Closes the modal\n */\n @Method()\n async hideModal() {\n if (this.modalRef) {\n try {\n this.modalRef.close();\n this.open = false;\n\n // Restore focus to the element that was focused before the modal was opened\n if (this.previousActiveElement && typeof this.previousActiveElement.focus === 'function') {\n this.previousActiveElement.focus();\n }\n\n this.pdsModalClose.emit();\n } catch (error) {\n console.error('Failed to hide modal:', error);\n }\n }\n }\n\n private handleBackdropClick = (e: MouseEvent) => {\n if (!this.backdropDismiss || !this.open) return;\n\n if ((e.target as HTMLElement).classList.contains('pds-modal__backdrop')) {\n e.stopPropagation();\n\n // Only close if this is the innermost modal\n if (this.isInnermostModal()) {\n this.hideModal();\n }\n }\n };\n\n /**\n * Gets the z-index of a modal's backdrop element\n */\n private getBackdropZIndex(modal: Element): number {\n const backdrop = modal.querySelector('.pds-modal__backdrop');\n return backdrop ? parseInt(getComputedStyle(backdrop).zIndex, 10) : -1;\n }\n\n /**\n * Checks if this modal is the innermost (highest z-index) modal\n */\n private isInnermostModal(): boolean {\n // Find all open modals\n const openModals = Array.from(document.querySelectorAll('pds-modal')).filter(\n modal => modal.open\n );\n\n if (openModals.length === 0) return false;\n\n // Get this modal's backdrop element\n const thisBackdrop = this.el.querySelector('.pds-modal__backdrop');\n if (!thisBackdrop) return false;\n\n // Get computed z-index of all open modal backdrops\n const modalZIndexes = openModals.map(modal => this.getBackdropZIndex(modal));\n\n // Get the highest z-index\n const maxZIndex = Math.max(...modalZIndexes);\n\n // Check if this modal's backdrop has the highest z-index\n const thisZIndex = this.getBackdropZIndex(this.el);\n return thisZIndex === maxZIndex;\n }\n\n private handleKeyDown = (e: KeyboardEvent) => {\n // If the modal is not open, don't handle any keyboard events\n if (!this.open) return;\n\n // Handle Escape key to close the modal\n if (e.key === 'Escape') {\n // Only close if this is the innermost modal\n if (this.isInnermostModal()) {\n e.preventDefault();\n this.hideModal();\n }\n return;\n }\n\n // Handle Tab key for focus trapping\n if (e.key === 'Tab') {\n // If there are no focusable elements, do nothing\n if (this.focusableElements.length === 0) return;\n\n // Get the first and last focusable elements\n const firstFocusableElement = this.focusableElements[0];\n const lastFocusableElement = this.focusableElements[this.focusableElements.length - 1];\n\n // Get the current active element\n const activeElement = document.activeElement;\n\n // Check if we need to wrap focus\n const isFirstElement = activeElement === firstFocusableElement ||\n firstFocusableElement.contains(activeElement as Node);\n\n const isLastElement = activeElement === lastFocusableElement ||\n lastFocusableElement.contains(activeElement as Node);\n\n // If shift + tab is pressed and focus is on the first element, move to the last element\n if (e.shiftKey && isFirstElement) {\n e.preventDefault();\n this.focusElement(lastFocusableElement);\n }\n // If tab is pressed and focus is on the last element, move to the first element\n else if (!e.shiftKey && isLastElement) {\n e.preventDefault();\n this.focusElement(firstFocusableElement);\n }\n }\n };\n\n render() {\n return (\n <dialog\n class={{\n 'pds-modal__backdrop': true,\n 'open': this.open\n }}\n aria-modal=\"true\"\n aria-labelledby={`${this.componentId}-heading`}\n onClick={this.handleBackdropClick}\n >\n <div\n class={`pds-modal pds-modal--${this.size} pds-modal--scrollable`}\n >\n <slot></slot>\n </div>\n </dialog>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pds-modal.js","mappings":";;AAAA,MAAM,WAAW,GAAG,07EAA07E;;MCOj8EA,UAAQ,iBAAAC,kBAAA,CAAA,MAAA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GAAG,IAAI;gBACjC,uBAAuB,EAAE,IAAI,CAAC;AAC/B,aAAA,EAAA,EAED,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsModal","__stencil_proxyCustomElement"],"sources":["src/components/pds-modal/pds-modal.scss?tag=pds-modal","src/components/pds-modal/pds-modal.tsx"],"sourcesContent":[".pds-modal__backdrop {\n align-items: flex-start;\n background-color: rgba(0, 0, 0, 0.4);\n border: 0;\n display: flex;\n height: 100%;\n inset: 0;\n justify-content: center;\n margin: 0;\n max-height: 100%;\n max-width: 100%;\n opacity: 0;\n padding: 0;\n position: fixed;\n transition: opacity 0.2s ease, visibility 0.2s ease;\n visibility: hidden;\n width: 100%;\n z-index: 1000;\n\n @supports (backdrop-filter: blur(3px)) {\n backdrop-filter: blur(3px);\n }\n\n // Increase z-index for nested modals\n pds-modal & {\n z-index: 1001;\n }\n\n &::backdrop {\n background: transparent;\n }\n\n &.open {\n opacity: 1;\n visibility: visible;\n }\n}\n\n.pds-modal {\n background: var(--pine-color-background-container);\n border-radius: var(--pine-dimension-sm);\n box-shadow: var(--pine-box-shadow-400);\n display: flex;\n flex-direction: column;\n margin: var(--pine-dimension-md);\n max-height: none;\n width: 100%;\n\n &.pds-modal--scrollable {\n max-height: calc(100vh - (calc(5vh + 96px)));\n\n @supports (height: 100dvh) {\n max-height: calc(100dvh - (calc(5dvh + 96px)));\n }\n }\n\n @media (min-width: 992px) {\n margin-block-start: 6vh;\n\n @supports (height: 100dvh) {\n margin-block-start: 6dvh;\n }\n }\n\n @media (min-width: 1200px) {\n margin-block-start: 8vh;\n\n @supports (height: 100dvh) {\n margin-block-start: 8dvh;\n }\n }\n}\n\n.pds-modal--sm {\n max-width: 520px;\n}\n\n.pds-modal--md {\n max-width: 700px;\n}\n\n.pds-modal--lg {\n max-width: 900px;\n}\n\n.pds-modal--fullscreen {\n border-radius: 0;\n height: 100%;\n margin: 0;\n max-height: 100vh;\n max-width: 100%;\n\n @supports (height: 100dvh) {\n max-height: 100dvh;\n }\n\n &.pds-modal--scrollable {\n max-height: 100vh;\n\n @supports (height: 100dvh) {\n max-height: 100dvh;\n }\n }\n}\n\n.pds-modal-content {\n .pds-modal--fullscreen & {\n flex: 1;\n }\n}\n\n// Scrollable modal styles (default behavior)\n.pds-modal--scrollable {\n pds-modal-content {\n border-block-end: 1px solid transparent;\n border-block-start: 1px solid transparent;\n overflow-y: auto;\n }\n}\n\n// Non-scrollable modal styles\n.pds-modal:not(.pds-modal--scrollable) {\n pds-modal-content {\n overflow-y: visible;\n }\n}\n\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\n\n@Component({\n tag: 'pds-modal',\n styleUrl: 'pds-modal.scss',\n shadow: false\n})\nexport class PdsModal {\n private modalRef: HTMLDialogElement;\n private previousActiveElement: HTMLElement;\n private focusableElements: HTMLElement[] = [];\n\n @Element() el: HTMLPdsModalElement;\n\n /**\n * Whether the modal can be dismissed by clicking the backdrop\n * @default true\n */\n @Prop() backdropDismiss = true;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Whether the modal is open\n * @default false\n */\n @Prop({ mutable: true }) open = false;\n\n /**\n * The size of the modal\n * @default 'md'\n */\n @Prop() size: 'sm' | 'md' | 'lg' | 'fullscreen' = 'md';\n\n /**\n * Whether the modal content should be scrollable\n * @default true\n */\n @Prop() scrollable = true;\n\n /**\n * Emitted when the modal is opened\n */\n @Event() pdsModalOpen: EventEmitter<void>;\n\n /**\n * Emitted when the modal is closed\n */\n @Event() pdsModalClose: EventEmitter<void>;\n\n /**\n * Stores the list of focusable elements in the modal\n */\n @State() focusableElementsArray: HTMLElement[] = [];\n\n componentDidLoad() {\n this.modalRef = this.el.querySelector('.pds-modal__backdrop') as HTMLDialogElement;\n // Add keyboard event listener\n document.addEventListener('keydown', this.handleKeyDown);\n }\n\n disconnectedCallback() {\n // Clean up event listener\n document.removeEventListener('keydown', this.handleKeyDown);\n }\n\n @Watch('open')\n handleOpenChange(newValue: boolean) {\n if (newValue) {\n this.showModal();\n } else {\n this.hideModal();\n }\n }\n\n /**\n * Updates the list of focusable elements in the modal\n */\n private updateFocusableElements() {\n if (!this.modalRef) return;\n\n // Get all focusable elements within the modal\n const selector = [\n 'a[href]',\n 'button:not([disabled])',\n 'input:not([disabled])',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n '[tabindex]:not([tabindex=\"-1\"])',\n 'pds-button:not([disabled])',\n 'pds-link:not([disabled])',\n 'pds-input:not([disabled])',\n 'pds-checkbox:not([disabled])',\n 'pds-radio:not([disabled])',\n 'pds-switch:not([disabled])',\n 'pds-select:not([disabled])',\n ].join(',');\n\n this.focusableElements = Array.from(\n this.modalRef.querySelectorAll(selector)\n ) as HTMLElement[];\n\n // Filter out elements with display: none or visibility: hidden\n this.focusableElements = this.focusableElements.filter(el => {\n const style = window.getComputedStyle(el);\n return style.display !== 'none' && style.visibility !== 'hidden';\n });\n }\n\n /**\n * Sets focus to the first focusable element in the modal\n */\n private setInitialFocus() {\n if (this.focusableElements.length === 0) return;\n\n // Focus the first focusable element\n const firstElement = this.focusableElements[0];\n\n // For web components, we need to ensure they're properly focused\n this.focusElement(firstElement);\n }\n\n /**\n * Helper method to focus an element, with special handling for web components\n */\n private focusElement(element: HTMLElement) {\n if (!element) return;\n\n try {\n // Try standard focus first\n element.focus();\n\n // Check if focus worked\n setTimeout(() => {\n if (document.activeElement !== element) {\n // For web components, try to find a focusable element inside\n if (element.shadowRoot) {\n const focusableInShadow = element.shadowRoot.querySelector(\n 'button, [tabindex], input, a[href]'\n ) as HTMLElement;\n\n if (focusableInShadow) {\n focusableInShadow.focus();\n }\n }\n }\n }, 0);\n } catch (error) {\n console.error('Error focusing element:', error);\n }\n }\n\n /**\n * Opens the modal\n */\n @Method()\n async showModal() {\n if (this.modalRef) {\n try {\n // Store the currently focused element to restore focus when modal closes\n this.previousActiveElement = document.activeElement as HTMLElement;\n\n // Use native dialog showModal method which makes the rest of the page inert\n this.modalRef.showModal();\n this.open = true;\n\n // Update focusable elements and set initial focus\n // Using a longer timeout to ensure all components are fully rendered\n setTimeout(() => {\n this.updateFocusableElements();\n this.setInitialFocus();\n this.pdsModalOpen.emit();\n }, 100);\n } catch (error) {\n console.error('Failed to show modal:', error);\n }\n }\n }\n\n /**\n * Closes the modal\n */\n @Method()\n async hideModal() {\n if (this.modalRef) {\n try {\n this.modalRef.close();\n this.open = false;\n\n // Restore focus to the element that was focused before the modal was opened\n if (this.previousActiveElement && typeof this.previousActiveElement.focus === 'function') {\n this.previousActiveElement.focus();\n }\n\n this.pdsModalClose.emit();\n } catch (error) {\n console.error('Failed to hide modal:', error);\n }\n }\n }\n\n private handleBackdropClick = (e: MouseEvent) => {\n if (!this.backdropDismiss || !this.open) return;\n\n if ((e.target as HTMLElement).classList.contains('pds-modal__backdrop')) {\n e.stopPropagation();\n\n // Only close if this is the innermost modal\n if (this.isInnermostModal()) {\n this.hideModal();\n }\n }\n };\n\n /**\n * Gets the z-index of a modal's backdrop element\n */\n private getBackdropZIndex(modal: Element): number {\n const backdrop = modal.querySelector('.pds-modal__backdrop');\n return backdrop ? parseInt(getComputedStyle(backdrop).zIndex, 10) : -1;\n }\n\n /**\n * Checks if this modal is the innermost (highest z-index) modal\n */\n private isInnermostModal(): boolean {\n // Find all open modals\n const openModals = Array.from(document.querySelectorAll('pds-modal')).filter(\n modal => modal.open\n );\n\n if (openModals.length === 0) return false;\n\n // Get this modal's backdrop element\n const thisBackdrop = this.el.querySelector('.pds-modal__backdrop');\n if (!thisBackdrop) return false;\n\n // Get computed z-index of all open modal backdrops\n const modalZIndexes = openModals.map(modal => this.getBackdropZIndex(modal));\n\n // Get the highest z-index\n const maxZIndex = Math.max(...modalZIndexes);\n\n // Check if this modal's backdrop has the highest z-index\n const thisZIndex = this.getBackdropZIndex(this.el);\n return thisZIndex === maxZIndex;\n }\n\n private handleKeyDown = (e: KeyboardEvent) => {\n // If the modal is not open, don't handle any keyboard events\n if (!this.open) return;\n\n // Handle Escape key to close the modal\n if (e.key === 'Escape') {\n // Only close if this is the innermost modal\n if (this.isInnermostModal()) {\n e.preventDefault();\n this.hideModal();\n }\n return;\n }\n\n // Handle Tab key for focus trapping\n if (e.key === 'Tab') {\n // If there are no focusable elements, do nothing\n if (this.focusableElements.length === 0) return;\n\n // Get the first and last focusable elements\n const firstFocusableElement = this.focusableElements[0];\n const lastFocusableElement = this.focusableElements[this.focusableElements.length - 1];\n\n // Get the current active element\n const activeElement = document.activeElement;\n\n // Check if we need to wrap focus\n const isFirstElement = activeElement === firstFocusableElement ||\n firstFocusableElement.contains(activeElement as Node);\n\n const isLastElement = activeElement === lastFocusableElement ||\n lastFocusableElement.contains(activeElement as Node);\n\n // If shift + tab is pressed and focus is on the first element, move to the last element\n if (e.shiftKey && isFirstElement) {\n e.preventDefault();\n this.focusElement(lastFocusableElement);\n }\n // If tab is pressed and focus is on the last element, move to the first element\n else if (!e.shiftKey && isLastElement) {\n e.preventDefault();\n this.focusElement(firstFocusableElement);\n }\n }\n };\n\n render() {\n return (\n <dialog\n class={{\n 'pds-modal__backdrop': true,\n 'open': this.open\n }}\n aria-modal=\"true\"\n aria-labelledby={`${this.componentId}-heading`}\n onClick={this.handleBackdropClick}\n >\n <div\n class={{\n 'pds-modal': true,\n [`pds-modal--${this.size}`]: true,\n 'pds-modal--scrollable': this.scrollable\n }}\n >\n <slot></slot>\n </div>\n </dialog>\n );\n }\n}\n"],"version":3}
@@ -108,7 +108,7 @@ const PdsPopover$1 = /*@__PURE__*/ proxyCustomElement(class PdsPopover extends H
108
108
  popoverEl.style.left = `${left}px`;
109
109
  }
110
110
  render() {
111
- return (h(Host, { key: '2a46550245e4718ba7aa89ee518f8ac7b1ff9d94' }, h("button", { key: 'd5a93a38a8f3b6daa6c22afd2324f37a66e0d8c3', class: "pds-popover__trigger", popoverTarget: this.componentId, popoverTargetAction: this.popoverTargetAction, onClick: this.handleClick }, this.text), h("div", { key: '212800e683ed451561c4b0fb9d539f514072ef3a', class: `pds-popover ${this.active ? 'pds-popover--active' : ''}`, id: this.componentId, popover: this.popoverType, style: { maxWidth: `${this.maxWidth}px` } }, h("slot", { key: '46b2f86f847a3549452b413860e270f1a4e1de0d' }))));
111
+ return (h(Host, { key: 'f31ca22bbebb2df24412cfab4660e6953d35d65c' }, h("button", { key: '74e0c9b393df28138b7f4c11d15e7fc4c6b8de14', class: "pds-popover__trigger", popoverTarget: this.componentId, popoverTargetAction: this.popoverTargetAction, onClick: this.handleClick }, this.text), h("div", { key: '0f4d6e601cb4e9d2c890261a72ce92725fa62846', class: `pds-popover ${this.active ? 'pds-popover--active' : ''}`, id: this.componentId, popover: this.popoverType, style: { maxWidth: `${this.maxWidth}px` } }, h("slot", { key: '8ab8d2f7de3a175d73f3bfa7d42a84431a82bef1' }))));
112
112
  }
113
113
  get el() { return this; }
114
114
  static get style() { return pdsPopoverCss; }
@@ -24,7 +24,7 @@ const PdsProgress$1 = /*@__PURE__*/ proxyCustomElement(class PdsProgress extends
24
24
  this.showPercent = false;
25
25
  }
26
26
  render() {
27
- return (h(Host, { key: '17be876c948e7f0dc3d22889901d2073cfea3fbc', class: this.animated ? { 'is-animated': this.animated } : '' }, h("div", { key: '07a801720eb26ae76ba931b04294d7815f7caaa4', class: "pds-progress" }, h("label", { key: '39572b5ec58c1b47b59fd34be71f713e680b01c0', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: '89a07e62b943ded0bd24d99bc93d140d088f50d3', id: this.componentId, max: "100", style: this.fillColor ? { '--color-progress-fill': this.fillColor } : {}, value: this.percent })), this.showPercent && h("div", { key: 'a7682be6b110db79f95be6f53ce463ff1ffd0212', class: "pds-progress__percentage" }, this.percent, "%")));
27
+ return (h(Host, { key: '4b85286ee1fcc7ae77f733b915a996bb82aecb5b', class: this.animated ? { 'is-animated': this.animated } : '' }, h("div", { key: 'ea3dfbafae2d416aac9903ec50dfade77c315e05', class: "pds-progress" }, h("label", { key: '3ece69ae8b90e968d7f86b986faee633d7802a0b', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: '68beb43763d001495159e253562b0934521072d9', id: this.componentId, max: "100", style: this.fillColor ? { '--color-progress-fill': this.fillColor } : {}, value: this.percent })), this.showPercent && h("div", { key: '8480b66191aec536b0c2c588e71e5c568f5d0eeb', class: "pds-progress__percentage" }, this.percent, "%")));
28
28
  }
29
29
  static get style() { return pdsProgressCss; }
30
30
  }, [1, "pds-progress", {
@@ -15,7 +15,7 @@ const PdsProperty$1 = /*@__PURE__*/ proxyCustomElement(class PdsProperty extends
15
15
  this.icon = 'star';
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'd02756e0996d0544bafd8a0e5160151344e8dd5f', id: this.componentId }, h("pds-box", { key: 'f2f53ba33e75bc1dbea374ba57fac2fd7e11a43c', "align-items": "center", gap: "xs" }, h("pds-icon", { key: '62e87401c8ab443583c33a07266377484bfdc72a', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), h("slot", { key: 'e8461312f8135f07218b604ce9ff6efcf48bfc1b' }))));
18
+ return (h(Host, { key: '4ff2ed5a1b7e551b6c4d86fb43fa64bc83b4e785', id: this.componentId }, h("pds-box", { key: '0420487b64550d42621b9548e67c3a79e14b4c91', "align-items": "center", gap: "xs" }, h("pds-icon", { key: 'dc8e675839b1f7a6fbce5c7fc10ece743f4a1905', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), h("slot", { key: '9b01e2e02d26f8e7629612c617405b9ce7e5397b' }))));
19
19
  }
20
20
  static get style() { return pdsPropertyCss; }
21
21
  }, [1, "pds-property", {
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { a as assignDescription, m as messageId } from './form.js';
3
- import { f as danger } from './index2.js';
3
+ import { i as danger } from './index2.js';
4
4
  import { d as defineCustomElement$2 } from './pds-icon2.js';
5
5
 
6
6
  const labelCss = ".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)}";
@@ -52,9 +52,9 @@ const PdsRadio$1 = /*@__PURE__*/ proxyCustomElement(class PdsRadio extends HTMLE
52
52
  return classNames.join(' ');
53
53
  }
54
54
  render() {
55
- return (h(Host, { key: '07bc6e41d1f10d256b3b0ed1512374ad94d2d395', class: this.classNames() }, h("label", { key: 'b3c40d9894a449f6471b4b05373cb2b08811dbd2', htmlFor: this.componentId }, h("input", { key: 'c4222e2fa2fa88f32c365bdd09f7cbf9fe6e8dcf', "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 }), h("span", { key: 'da54747a57ef58df02ef3eaa6c5fa64306c308dd', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
56
- h("div", { key: 'd569355b7ddf0dcb9ca37341cb301c911ec20357', class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
57
- h("div", { key: '7ab12a87da2935f64b99eef4c3e31f4745d182bf', class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '088239c13a84b6a948f211a2cab75e6e0a850662', icon: danger, size: "small" }), this.errorMessage)));
55
+ return (h(Host, { key: 'd898e84535e8280a1bec120b0e0b85e6aed57b26', class: this.classNames() }, h("label", { key: 'c5731c63d8a177258d6e68b63904e348ee063590', htmlFor: this.componentId }, h("input", { key: '30bc1cbdaba793c5e2dc85e662c21cb3cf1eded1', "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 }), h("span", { key: 'c349c5b2397acdf1e2d3cf665570c986e0ca0377', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
56
+ h("div", { key: '3348ae72477cc9ea7f202b458bbcc6e2cc6b2854', class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
57
+ h("div", { key: '1b698ac0ee37a89f4ced06f9fd5da4a40dbff5a2', class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '2b28cedb3277d98bc458b8fe7ac5e49efd28cf1e', icon: danger, size: "small" }), this.errorMessage)));
58
58
  }
59
59
  static get style() { return labelCss + pdsRadioCss; }
60
60
  }, [2, "pds-radio", {
@@ -42,7 +42,7 @@ const PdsRow$1 = /*@__PURE__*/ proxyCustomElement(class PdsRow extends HTMLEleme
42
42
  })), (this.minHeight && {
43
43
  'min-height': this.minHeight,
44
44
  }));
45
- return h(Host, { key: '5cfdc14486ad24d42751624d37ff6ef38f611b12', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
45
+ return h(Host, { key: 'd9fd2087c959b16ca168ee2b011a3d4bd466c113', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
46
46
  }
47
47
  static get style() { return pdsRowCss; }
48
48
  }, [0, "pds-row", {
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { m as messageId } from './form.js';
3
- import { f as danger, g as enlarge } from './index2.js';
3
+ import { i as danger, g as enlarge } from './index2.js';
4
4
  import { d as defineCustomElement$2 } from './pds-icon2.js';
5
5
 
6
6
  const pdsSelectTokensCss = ":host{--pine-select-color-background-danger:var(--pine-color-red-050)}";
@@ -206,7 +206,7 @@ const PdsSelect$1 = /*@__PURE__*/ proxyCustomElement(class PdsSelect extends HTM
206
206
  }
207
207
  render() {
208
208
  const hasAction = this.el.querySelector('[slot="action"]') !== null;
209
- return (h(Host, { key: '1433acf644d6ee97fd10d317416addea8e411b23', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, h("div", { key: '63af968e3d7c2d0ceea1bcbaee045979ef546188', class: "pds-select" }, !this.hideLabel && (h("div", { key: 'a209ceef42be283287fd3dfc93cc89e5af142ab5', class: "pds-select__label-wrapper" }, h("label", { key: 'e9504a280358f717dac11a8b87e313368c458d48', htmlFor: this.componentId }, h("span", { key: '420f9159d8d1b001f9fe3dfbd6663d77d47eade0', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: '413ad9963bad818f06cbf2775fabf582b6d69104', "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) }), h("div", { key: '92be560d834e33f5ef009f091c3bf74ff7e5db32', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '7dc0bde05b59acb0a87c75331805dfe7f0638d9e', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: 'e6b0edd05a3e76f3a0ca35fb663a68964e2b4c1b', class: "pds-select__select-icon", icon: enlarge }))));
209
+ return (h(Host, { key: '7d2f9b013ba40e8feb4282099eaf2db32b94497b', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, h("div", { key: 'fad19d788ff8f3b3b6ec9ef198c753ef4b4dc4c4', class: "pds-select" }, !this.hideLabel && (h("div", { key: '870c405e80fbeb3890116a53cd986056af7e4795', class: "pds-select__label-wrapper" }, h("label", { key: '6c7232f371f0bd95a94584fe8403eefc25862f5b', htmlFor: this.componentId }, h("span", { key: '7a6816bd7d51b05cd935f3e13e27f540cf09e1e1', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: 'a2bbae963ed55ed73eb614725258745ad20d9acb', "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) }), h("div", { key: 'cd9ef83c08806ab2efc1c4b6851bc634168ede69', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: 'ae605bfc434bedf4b37e0e96a9124ea7b59d1ede', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: '360b635e7b4aed8522f0176be553c9e3804dbb3a', class: "pds-select__select-icon", icon: enlarge }))));
210
210
  }
211
211
  static get formAssociated() { return true; }
212
212
  get el() { return this; }
@@ -28,7 +28,7 @@ const PdsSortableItem$1 = /*@__PURE__*/ proxyCustomElement(class PdsSortableItem
28
28
  }
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: '3b69897da59edd424d2347520a3418e83b1754a0', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: 'd6859054ac60dfd4845ff7418c2f9cb17f3148bb', class: "pds-sortable-item__handle" }, h("pds-icon", { key: '754ba1c9436e0575f1909a3b7f0d746c2b2327ea', icon: handle }))), h("slot", { key: 'dd1b2e051acdea9118ee2780e033d18b3df917e9' }), this.enableActions && (h("div", { key: '7b25ff2d40635d06fb4cd4a4ac3b197939ea0902', class: "pds-sortable-item__actions" }, h("slot", { key: '791ae216a5ca20521d5f40b84b8ef9617e23b236', name: "sortable-item-actions" })))));
31
+ return (h(Host, { key: '5c5ada49c505d935bfe505997ab69e7eafc2f642', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: '3041977b792e192192fa9c101f113eb42e87ceea', class: "pds-sortable-item__handle" }, h("pds-icon", { key: '082a98c200abcc8023dc126ed83091167c59290e', icon: handle }))), h("slot", { key: '1e2b2154acee0c3ce09ec77b9949c761ff37181d' }), this.enableActions && (h("div", { key: '5b318f04eb9c74f660900163e17ba51e2c354538', class: "pds-sortable-item__actions" }, h("slot", { key: '2c6631a860af0da48b3a007daeff69b59cfaff59', name: "sortable-item-actions" })))));
32
32
  }
33
33
  get el() { return this; }
34
34
  static get style() { return pdsSortableItemCss; }
@@ -2712,7 +2712,7 @@ const PdsSortable$1 = /*@__PURE__*/ proxyCustomElement(class PdsSortable extends
2712
2712
  Sortable.create(this.el, sortableOptions);
2713
2713
  }
2714
2714
  render() {
2715
- return (h(Host, { key: '6fe93e4ebf74bfd5f6d4a9fcb361857fd990c9c6', class: this.classNames(), id: this.componentId }, h("slot", { key: 'edf4b8b4b4f2072fcd6c58f1048413fa51723e8f' })));
2715
+ return (h(Host, { key: '925de28efdf7d2f1b6f6f5b94da4dbb383c0421a', class: this.classNames(), id: this.componentId }, h("slot", { key: '3525abab4ff66a63c90f4db99e5bb090308afc9d' })));
2716
2716
  }
2717
2717
  get el() { return this; }
2718
2718
  static get style() { return pdsSortableCss; }
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { a as assignDescription, m as messageId } from './form.js';
3
- import { f as danger } from './index2.js';
3
+ import { i as danger } from './index2.js';
4
4
  import { i as inheritAriaAttributes } from './attributes.js';
5
5
  import { d as defineCustomElement$2 } from './pds-icon2.js';
6
6
 
@@ -90,9 +90,9 @@ const PdsSwitch$1 = /*@__PURE__*/ proxyCustomElement(class PdsSwitch extends HTM
90
90
  this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
91
91
  }
92
92
  render() {
93
- return (h(Host, { key: '7dcd1e149838ecaa4ee4e7ad82754c1e62020a70', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("label", { key: 'e8bcd4de716796b9efa9974366b1ce6b06361ada', htmlFor: this.componentId }, h("input", Object.assign({ key: '03e1003a52c140ed72265c3bfac07ae3be74c661', "aria-describedby": assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, checked: this.checked, class: "pds-switch__input", disabled: this.disabled, id: this.componentId, name: this.name ? this.name : this.componentId, onChange: this.onSwitchUpdate, required: this.required, type: "checkbox", value: this.value }, this.inheritedAttributes)), h("span", { key: '7670c00cf4325e9abad801e4278c1a32a7e8964e', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
94
- h("div", { key: 'd8353db698013aca13b820b41e52f04ec0b3754c', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
95
- h("div", { key: 'db8c1b7fc494d90f7a8a7046d1d88896bfc7654a', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '1bc5bdedae1f878a64957fc5e910df46c4a2d11b', icon: danger, size: "small" }), this.errorMessage)));
93
+ return (h(Host, { key: '9dc66ed3d7fa512dec9ab58a451a8c5533000f3b', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("label", { key: '2f4f9284be0dafe15a78def82f4e2da71b632c11', htmlFor: this.componentId }, h("input", Object.assign({ key: '3c183f75fb5ca94ffe50a1f75d233d454374fb98', "aria-describedby": assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, checked: this.checked, class: "pds-switch__input", disabled: this.disabled, id: this.componentId, name: this.name ? this.name : this.componentId, onChange: this.onSwitchUpdate, required: this.required, type: "checkbox", value: this.value }, this.inheritedAttributes)), h("span", { key: 'b6cf2e5d68d540413fbebb65e5f942af9dddd718', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
94
+ h("div", { key: 'bb1c48c72dbce12e0ebf134d084648ed86125653', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
95
+ h("div", { key: '771e1f08e84f8d37f647443e1835d9db3ea82a2f', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'd54e078c0ea22deedec1ff6b0d1c4881ed0befc1', icon: danger, size: "small" }), this.errorMessage)));
96
96
  }
97
97
  static get formAssociated() { return true; }
98
98
  get el() { return this; }
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const pdsTabCss = "pds-tab{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;position:relative}.pds-tabs--pill pds-tab{-ms-flex:1;flex:1}.pds-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:var(--pine-border-width-none);-webkit-box-shadow:none;box-shadow:none;color:inherit;cursor:pointer;font-family:inherit;padding:var(--pine-dimension-none);-ms-flex-align:center;align-items:center;color:var(--pine-color-text-secondary);display:-ms-inline-flexbox;display:inline-flex;position:relative;text-decoration:none;white-space:nowrap}.pds-tab.is-active,.pds-tab[aria-selected=true]{color:var(--pine-color-text)}.pds-tab.is-active .pds-tab__content::after,.pds-tab[aria-selected=true] .pds-tab__content::after{opacity:1}.pds-tab:hover{color:var(--pine-color-text)}.pds-tab:focus-visible{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-tab .pds-tab__content{font-family:var(--pine-font-family-body);font-size:var(--pine-font-size);font-weight:var(--pine-font-weight-medium);letter-spacing:var(--pine-letter-spacing);line-height:var(--pine-line-height-body);-webkit-padding-after:11px;padding-block-end:11px;position:relative}.pds-tab .pds-tab__content::after{background-color:var(--pine-color-brand);content:\"\";height:3px;inset-block-end:var(--pine-dimension-none);inset-inline-end:var(--pine-dimension-none);inset-inline-start:var(--pine-dimension-none);opacity:0;position:absolute}.pds-tab .pds-tab-edge{display:none}.pds-tabs--availability{--color-background-tab:transparent}.pds-tabs--availability .pds-tab{background-color:var(--color-background-tab);border-radius:calc(var(--pine-dimension-xs) * 1.25) calc(var(--pine-dimension-xs) * 1.25) var(--pine-dimension-none) var(--pine-dimension-none);padding:8px 16px 13px}.pds-tabs--availability .pds-tab.is-active,.pds-tabs--availability .pds-tab[aria-selected=true]{--color-background-tab:var(--pine-color-secondary)}.pds-tabs--availability .pds-tab.is-active .pds-tab__content::after,.pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab__content::after{opacity:1}.pds-tabs--availability .pds-tab.is-active .pds-tab-edge,.pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab-edge{z-index:1}.pds-tabs--availability .pds-tab:hover:not(.is-active,[aria-selected=true]){--color-background-tab:var(--pine-color-secondary-hover)}.pds-tabs--availability .pds-tab:focus-visible{color:var(--pine-color-text-secondary)}.pds-tabs--availability .pds-tab__content{-webkit-padding-after:7px;padding-block-end:7px}.pds-tabs--availability .pds-tab-edge{bottom:0;display:block;height:8px;inset-inline-end:100%;overflow:hidden;position:absolute;width:8px}.pds-tabs--availability .pds-tab-edge::before{border-radius:50%;bottom:0;-webkit-box-shadow:4px 4px 0 0 var(--color-background-tab);box-shadow:4px 4px 0 0 var(--color-background-tab);content:\"\";display:block;height:200%;inset-inline-end:0;position:absolute;width:200%}.pds-tabs--availability .pds-tab-edge--end{inset-inline-end:unset;inset-inline-start:100%}.pds-tabs--availability .pds-tab-edge--end::before{-webkit-box-shadow:-4px 4px 0 0 var(--color-background-tab);box-shadow:-4px 4px 0 0 var(--color-background-tab);inset-inline-end:unset;inset-inline-start:0}.pds-tabs--filter .pds-tab{background-color:var(--pine-color-background-container-disabled);border-radius:50px;color:var(--pine-color-text);padding:6px 15px}.pds-tabs--filter .pds-tab.is-active,.pds-tabs--filter .pds-tab[aria-selected=true]{background-color:var(--pine-color-primary);color:var(--pine-color-text-primary)}.pds-tabs--filter .pds-tab.is-active:hover,.pds-tabs--filter .pds-tab[aria-selected=true]:hover{background-color:var(--pine-color-primary-hover)}.pds-tabs--filter .pds-tab:hover:not(.is-active,[aria-selected=true]){background-color:var(--pine-color-border-disabled)}.pds-tabs--filter .pds-tab__content{-webkit-padding-after:var(--pine-dimension-none);padding-block-end:var(--pine-dimension-none)}.pds-tabs--filter .pds-tab__content::after{content:unset}.pds-tabs--pill{--color-background-tab:transparent}.pds-tabs--pill .pds-tab{background-color:var(--color-background-tab);border:var(--pine-border-width-thin) solid transparent;border-radius:var(--pine-dimension-xs);color:var(--pine-color-text-readonly);-ms-flex:1;flex:1;height:34px;-ms-flex-pack:center;justify-content:center}.pds-tabs--pill .pds-tab .pds-tab__content{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-webkit-padding-after:0;padding-block-end:0}.pds-tabs--pill .pds-tab.is-active,.pds-tabs--pill .pds-tab[aria-selected=true]{--color-background-tab:var(--pine-color-white);border-color:var(--pine-color-border);-webkit-box-shadow:var(--pine-box-shadow-100);box-shadow:var(--pine-box-shadow-100);color:var(--pine-color-text-active);z-index:1;}.pds-tabs--pill .pds-tab.is-active:focus-visible,.pds-tabs--pill .pds-tab[aria-selected=true]:focus-visible{border-color:var(--color-border-focus);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-tabs--pill .pds-tab.is-active .pds-tab__content::after,.pds-tabs--pill .pds-tab[aria-selected=true] .pds-tab__content::after{opacity:0}";
3
+ const pdsTabCss = "pds-tab{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;position:relative}.pds-tabs--pill pds-tab{-ms-flex:1;flex:1}.pds-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:var(--pine-border-width-none);-webkit-box-shadow:none;box-shadow:none;color:inherit;cursor:pointer;font-family:inherit;padding:var(--pine-dimension-none);-ms-flex-align:center;align-items:center;color:var(--pine-color-text-secondary);display:-ms-inline-flexbox;display:inline-flex;position:relative;text-decoration:none;white-space:nowrap}.pds-tab.is-active,.pds-tab[aria-selected=true]{color:var(--pine-color-text)}.pds-tab.is-active .pds-tab__content::after,.pds-tab[aria-selected=true] .pds-tab__content::after{opacity:1}.pds-tab:hover{color:var(--pine-color-text)}.pds-tab:focus{outline:none}.pds-tab:focus-visible{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-tab .pds-tab__content{font-family:var(--pine-font-family-body);font-size:var(--pine-font-size);font-weight:var(--pine-font-weight-medium);letter-spacing:var(--pine-letter-spacing);line-height:var(--pine-line-height-body);-webkit-padding-after:11px;padding-block-end:11px;position:relative}.pds-tab .pds-tab__content::after{background-color:var(--pine-color-brand);content:\"\";height:3px;inset-block-end:var(--pine-dimension-none);inset-inline-end:var(--pine-dimension-none);inset-inline-start:var(--pine-dimension-none);opacity:0;position:absolute}.pds-tab .pds-tab-edge{display:none}.pds-tabs--availability{--color-background-tab:transparent}.pds-tabs--availability .pds-tab{background-color:var(--color-background-tab);border-radius:calc(var(--pine-dimension-xs) * 1.25) calc(var(--pine-dimension-xs) * 1.25) var(--pine-dimension-none) var(--pine-dimension-none);padding:8px 16px 13px}.pds-tabs--availability .pds-tab.is-active,.pds-tabs--availability .pds-tab[aria-selected=true]{--color-background-tab:var(--pine-color-secondary)}.pds-tabs--availability .pds-tab.is-active .pds-tab__content::after,.pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab__content::after{opacity:1}.pds-tabs--availability .pds-tab.is-active .pds-tab-edge,.pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab-edge{z-index:1}.pds-tabs--availability .pds-tab:hover:not(.is-active,[aria-selected=true]){--color-background-tab:var(--pine-color-secondary-hover)}.pds-tabs--availability .pds-tab:focus-visible{color:var(--pine-color-text-secondary)}.pds-tabs--availability .pds-tab__content{-webkit-padding-after:7px;padding-block-end:7px}.pds-tabs--availability .pds-tab-edge{bottom:0;display:block;height:8px;inset-inline-end:100%;overflow:hidden;position:absolute;width:8px}.pds-tabs--availability .pds-tab-edge::before{border-radius:50%;bottom:0;-webkit-box-shadow:4px 4px 0 0 var(--color-background-tab);box-shadow:4px 4px 0 0 var(--color-background-tab);content:\"\";display:block;height:200%;inset-inline-end:0;position:absolute;width:200%}.pds-tabs--availability .pds-tab-edge--end{inset-inline-end:unset;inset-inline-start:100%}.pds-tabs--availability .pds-tab-edge--end::before{-webkit-box-shadow:-4px 4px 0 0 var(--color-background-tab);box-shadow:-4px 4px 0 0 var(--color-background-tab);inset-inline-end:unset;inset-inline-start:0}.pds-tabs--filter .pds-tab{background-color:var(--pine-color-background-container-disabled);border-radius:50px;color:var(--pine-color-text);padding:6px 15px}.pds-tabs--filter .pds-tab.is-active,.pds-tabs--filter .pds-tab[aria-selected=true]{background-color:var(--pine-color-primary);color:var(--pine-color-text-primary)}.pds-tabs--filter .pds-tab.is-active:hover,.pds-tabs--filter .pds-tab[aria-selected=true]:hover{background-color:var(--pine-color-primary-hover)}.pds-tabs--filter .pds-tab:hover:not(.is-active,[aria-selected=true]){background-color:var(--pine-color-border-disabled)}.pds-tabs--filter .pds-tab__content{-webkit-padding-after:var(--pine-dimension-none);padding-block-end:var(--pine-dimension-none)}.pds-tabs--filter .pds-tab__content::after{content:unset}.pds-tabs--pill{--color-background-tab:transparent}.pds-tabs--pill .pds-tab{background-color:var(--color-background-tab);border:var(--pine-border-width-thin) solid transparent;border-radius:var(--pine-dimension-xs);color:var(--pine-color-text-readonly);-ms-flex:1;flex:1;height:34px;-ms-flex-pack:center;justify-content:center}.pds-tabs--pill .pds-tab .pds-tab__content{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-webkit-padding-after:0;padding-block-end:0}.pds-tabs--pill .pds-tab.is-active,.pds-tabs--pill .pds-tab[aria-selected=true]{--color-background-tab:var(--pine-color-white);border-color:var(--pine-color-border);-webkit-box-shadow:var(--pine-box-shadow-100);box-shadow:var(--pine-box-shadow-100);color:var(--pine-color-text-active);z-index:1;}.pds-tabs--pill .pds-tab.is-active:focus-visible,.pds-tabs--pill .pds-tab[aria-selected=true]:focus-visible{border-color:var(--color-border-focus);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-tabs--pill .pds-tab.is-active .pds-tab__content::after,.pds-tabs--pill .pds-tab[aria-selected=true] .pds-tab__content::after{opacity:0}";
4
4
 
5
5
  const PdsTab$1 = /*@__PURE__*/ proxyCustomElement(class PdsTab extends HTMLElement {
6
6
  constructor() {
@@ -17,9 +17,9 @@ const PdsTab$1 = /*@__PURE__*/ proxyCustomElement(class PdsTab extends HTMLEleme
17
17
  this.pdsTabClick.emit([index, parentComponentId]);
18
18
  }
19
19
  render() {
20
- const availabilityTabEdgeInlineStart = (h("span", { key: 'f83448bc898dd4e94a7777d23c9565830dff0346', class: "pds-tab-edge", role: "presentation" }));
21
- const availabilityTabEdgeInlineEnd = (h("span", { key: '5ff8d05f4cf140771706e7740c48e658208749dd', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
22
- return (h(Host, { key: '874111fb5eedda9d021c8df0dc048aa771141a7c', variant: this.variant, slot: "tabs", index: this.index }, h("button", { key: 'a72dc4a32de38ae26bdba67cd91028dc955d4349', 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, h("div", { key: '8e629e15312b7bd93c84d026b8b40f51a87479ca', class: "pds-tab__content" }, h("slot", { key: '2296b81a3abdd25cc9eb73d8fed5089466e21fc6' })))));
20
+ const availabilityTabEdgeInlineStart = (h("span", { key: '837cf57372db654f6ca411054446ebf0bc27b539', class: "pds-tab-edge", role: "presentation" }));
21
+ const availabilityTabEdgeInlineEnd = (h("span", { key: 'e15055442d56b50e6ac21bfb76fc0f599406a4fb', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
22
+ return (h(Host, { key: '1c02a1c8e5e562449ab954061a10acc3d54c3efc', variant: this.variant, slot: "tabs", index: this.index }, h("button", { key: '31b0e173dd738fa272dcaf4fc48a0581978f43b2', 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, h("div", { key: '95b4f8d4c226e3b3a174d439816ec4d28cef0686', class: "pds-tab__content" }, h("slot", { key: '452a208775d54a290c0fcc6a69f6e546fde29afe' })))));
23
23
  }
24
24
  get el() { return this; }
25
25
  static get style() { return pdsTabCss; }
@@ -1 +1 @@
1
- {"file":"pds-tab.js","mappings":";;AAAA,MAAM,SAAS,GAAG,onKAAonK;;MCOznKA,QAAM,iBAAAC,kBAAA,CAAA,MAAA,MAAA,SAAA,WAAA,CAAA;AALnB,IAAA,WAAA,GAAA;;;;AA+BE;;AAEG;;AAEK,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAsCzB;IA/BS,UAAU,CAAC,KAAK,EAAE,iBAAiB,EAAA;QACzC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC;;IAGnD,MAAM,GAAA;QACJ,MAAM,8BAA8B,IAClC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,cAAc,EAAC,IAAI,EAAC,cAAc,EAAA,CAAQ,CACvD;QAED,MAAM,4BAA4B,IAChC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,gCAAgC,EAAC,IAAI,EAAC,cAAc,EAAA,CAAQ,CACzE;AAED,QAAA,QACE,CAAC,CAAA,IAAI,qDAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAA,EACxD,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,IAAI,EAAC,KAAK,EACV,EAAE,EAAE,IAAI,CAAC,iBAAiB,GAAG,IAAI,GAAG,IAAI,CAAC,IAAI,EAC9B,eAAA,EAAA,IAAI,CAAC,iBAAiB,GAAG,IAAI,GAAG,IAAI,CAAC,IAAI,GAAG,QAAQ,EACnE,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,GAAG,GAAG,IAAI,EAAA,eAAA,EACrB,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,OAAO,EAC/C,KAAK,EAAE,IAAI,CAAC,QAAQ,GAAG,mBAAmB,GAAG,SAAS,EACtD,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,iBAAiB,CAAC,EAAA,EAEtE,IAAI,CAAC,OAAO,KAAK,cAAc,IAAI,8BAA8B,EACjE,IAAI,CAAC,OAAO,KAAK,cAAc,IAAI,4BAA4B,EAChE,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAAC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAO,CAAM,CACpC,CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsTab","__stencil_proxyCustomElement"],"sources":["src/components/pds-tabs/pds-tab/pds-tab.scss?tag=pds-tab","src/components/pds-tabs/pds-tab/pds-tab.tsx"],"sourcesContent":["pds-tab {\n align-items: center;\n display: inline-flex;\n position: relative;\n\n .pds-tabs--pill & {\n flex: 1;\n }\n}\n\n///\n/// Resets base button styles\n///\n@mixin pds-button-style-reset {\n appearance: none;\n background-color: transparent;\n border: var(--pine-border-width-none);\n box-shadow: none;\n color: inherit;\n cursor: pointer;\n font-family: inherit;\n padding: var(--pine-dimension-none);\n}\n\n.pds-tab {\n @include pds-button-style-reset();\n\n align-items: center;\n color: var(--pine-color-text-secondary);\n display: inline-flex;\n position: relative;\n text-decoration: none;\n white-space: nowrap;\n\n &.is-active,\n &[aria-selected='true'] {\n color: var(--pine-color-text);\n\n .pds-tab__content::after {\n opacity: 1;\n }\n }\n\n &:hover {\n color: var(--pine-color-text);\n }\n\n &:focus-visible {\n outline: var(--pine-outline-focus);\n outline-offset: var(--pine-border-width);\n }\n\n .pds-tab__content {\n font-family: var(--pine-font-family-body);\n font-size: var(--pine-font-size);\n font-weight: var(--pine-font-weight-medium);\n letter-spacing: var(--pine-letter-spacing);\n line-height: var(--pine-line-height-body);\n padding-block-end: 11px;\n position: relative;\n\n &::after {\n background-color: var(--pine-color-brand);\n content: '';\n height: 3px;\n inset-block-end: var(--pine-dimension-none);\n inset-inline-end: var(--pine-dimension-none);\n inset-inline-start: var(--pine-dimension-none);\n opacity: 0;\n position: absolute;\n }\n }\n\n .pds-tab-edge {\n display: none;\n }\n}\n\n.pds-tabs--availability {\n --color-background-tab: transparent;\n\n .pds-tab {\n background-color: var(--color-background-tab);\n border-radius: calc(var(--pine-dimension-xs) * 1.25) calc(var(--pine-dimension-xs) * 1.25) var(--pine-dimension-none) var(--pine-dimension-none);\n padding: 8px 16px 13px;\n\n &.is-active,\n &[aria-selected='true'] {\n --color-background-tab: var(--pine-color-secondary);\n\n .pds-tab__content::after {\n opacity: 1;\n }\n\n .pds-tab-edge {\n z-index: 1;\n }\n }\n\n &:hover:not(.is-active, [aria-selected='true']) {\n --color-background-tab: var(--pine-color-secondary-hover);\n }\n\n &:focus-visible {\n color: var(--pine-color-text-secondary);\n }\n }\n\n .pds-tab__content {\n padding-block-end: 7px;\n }\n\n .pds-tab-edge {\n bottom: 0;\n display: block;\n height: 8px;\n inset-inline-end: 100%;\n overflow: hidden;\n position: absolute;\n width: 8px;\n\n &::before {\n border-radius: 50%;\n bottom: 0;\n box-shadow: 4px 4px 0 0 var(--color-background-tab);\n content: '';\n display: block;\n height: 200%;\n inset-inline-end: 0;\n position: absolute;\n width: 200%;\n }\n }\n\n .pds-tab-edge--end {\n inset-inline-end: unset;\n inset-inline-start: 100%;\n\n &::before {\n box-shadow: -4px 4px 0 0 var(--color-background-tab);\n inset-inline-end: unset;\n inset-inline-start: 0;\n }\n }\n}\n\n.pds-tabs--filter {\n .pds-tab {\n background-color: var(--pine-color-background-container-disabled);\n border-radius: 50px;\n color: var(--pine-color-text);\n padding: 6px 15px;\n\n &.is-active,\n &[aria-selected='true'] {\n background-color: var(--pine-color-primary);\n color: var(--pine-color-text-primary);\n }\n\n &.is-active:hover,\n &[aria-selected='true']:hover {\n background-color: var(--pine-color-primary-hover);\n }\n\n &:hover:not(.is-active, [aria-selected='true']) {\n background-color: var(--pine-color-border-disabled);\n }\n }\n\n .pds-tab__content {\n padding-block-end: var(--pine-dimension-none);\n\n &::after {\n content: unset;\n }\n }\n}\n\n.pds-tabs--pill {\n --color-background-tab: transparent;\n\n .pds-tab {\n background-color: var(--color-background-tab);\n border: var(--pine-border-width-thin) solid transparent;\n border-radius: var(--pine-dimension-xs);\n color: var(--pine-color-text-readonly);\n flex: 1;\n height: 34px;\n justify-content: center;\n\n .pds-tab__content {\n align-items: center;\n display: flex;\n justify-content: center;\n padding-block-end: 0;\n }\n\n &.is-active,\n &[aria-selected='true'] {\n --color-background-tab: var(--pine-color-white);\n border-color: var(--pine-color-border);\n box-shadow: var(--pine-box-shadow-100);\n color: var(--pine-color-text-active);\n z-index: 1;\n\n &:focus-visible {\n border-color: var(--color-border-focus);\n outline: var(--pine-outline-focus);\n outline-offset: var(--pine-border-width);\n }\n\n /* stylelint-disable max-nesting-depth */\n .pds-tab__content {\n &::after {\n opacity: 0;\n }\n }\n /* stylelint-enable max-nesting-depth */\n }\n }\n}\n","import { Component, Element, Host, h, Prop, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'pds-tab',\n styleUrl: 'pds-tab.scss',\n shadow: false,\n})\nexport class PdsTab {\n @Element() el: HTMLPdsTabElement;\n\n /**\n * Sets the related tab name, this name must match a `pds-tabpanel`'s tab name property\n */\n @Prop() name!: string;\n\n /**\n * Keeps track of the parentComponentId unique id, this property is passed by parent component\n */\n /** @internal */\n @Prop() parentComponentId: string;\n\n /**\n * Keeps track of if the expected tab variant, this property is passed by parent component\n */\n /** @internal */\n @Prop() variant: string;\n\n /**\n * Keeps track of if the tab index number, this property is passed by parent component\n */\n /** @internal */\n @Prop() index: number;\n\n /**\n * Keeps track of the tabpanel selected state, this property is passed by parent component\n */\n /** @internal */\n @Prop() selected = false;\n\n /**\n * Emits an event upon tab click for `pds-tab` and `pds-tabpanel` to listen for\n */\n /** @internal */\n @Event() pdsTabClick: EventEmitter<object>;\n private onTabClick(index, parentComponentId) {\n this.pdsTabClick.emit([index, parentComponentId]);\n }\n\n render() {\n const availabilityTabEdgeInlineStart = (\n <span class=\"pds-tab-edge\" role=\"presentation\"></span>\n )\n\n const availabilityTabEdgeInlineEnd = (\n <span class=\"pds-tab-edge pds-tab-edge--end\" role=\"presentation\"></span>\n )\n\n return (\n <Host variant={this.variant} slot=\"tabs\" index={this.index}>\n <button\n role=\"tab\"\n id={this.parentComponentId + \"__\" + this.name}\n aria-controls={this.parentComponentId + \"__\" + this.name + \"-panel\"}\n tabindex={this.selected ? \"0\" : \"-1\"}\n aria-selected={this.selected ? \"true\" : \"false\"}\n class={this.selected ? \"pds-tab is-active\" : \"pds-tab\"}\n onClick={this.onTabClick.bind(this, this.index, this.parentComponentId)}\n >\n {this.variant === \"availability\" && availabilityTabEdgeInlineStart}\n {this.variant === \"availability\" && availabilityTabEdgeInlineEnd}\n <div class=\"pds-tab__content\"><slot/></div>\n </button>\n </Host>\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AmB,GAAG,SAAS,EACtD,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,iBAAiB,CAAC,EAAA,EAEtE,IAAI,CAAC,OAAO,KAAK,cAAc,IAAI,8BAA8B,EACjE,IAAI,CAAC,OAAO,KAAK,cAAc,IAAI,4BAA4B,EAChE,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAAC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAO,CAAM,CACpC,CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsTab","__stencil_proxyCustomElement"],"sources":["src/components/pds-tabs/pds-tab/pds-tab.scss?tag=pds-tab","src/components/pds-tabs/pds-tab/pds-tab.tsx"],"sourcesContent":["pds-tab {\n align-items: center;\n display: inline-flex;\n position: relative;\n\n .pds-tabs--pill & {\n flex: 1;\n }\n}\n\n///\n/// Resets base button styles\n///\n@mixin pds-button-style-reset {\n appearance: none;\n background-color: transparent;\n border: var(--pine-border-width-none);\n box-shadow: none;\n color: inherit;\n cursor: pointer;\n font-family: inherit;\n padding: var(--pine-dimension-none);\n}\n\n.pds-tab {\n @include pds-button-style-reset();\n\n align-items: center;\n color: var(--pine-color-text-secondary);\n display: inline-flex;\n position: relative;\n text-decoration: none;\n white-space: nowrap;\n\n &.is-active,\n &[aria-selected='true'] {\n color: var(--pine-color-text);\n\n .pds-tab__content::after {\n opacity: 1;\n }\n }\n\n &:hover {\n color: var(--pine-color-text);\n }\n\n &:focus {\n outline: none;\n }\n\n &:focus-visible {\n outline: var(--pine-outline-focus);\n outline-offset: var(--pine-border-width);\n }\n\n .pds-tab__content {\n font-family: var(--pine-font-family-body);\n font-size: var(--pine-font-size);\n font-weight: var(--pine-font-weight-medium);\n letter-spacing: var(--pine-letter-spacing);\n line-height: var(--pine-line-height-body);\n padding-block-end: 11px;\n position: relative;\n\n &::after {\n background-color: var(--pine-color-brand);\n content: '';\n height: 3px;\n inset-block-end: var(--pine-dimension-none);\n inset-inline-end: var(--pine-dimension-none);\n inset-inline-start: var(--pine-dimension-none);\n opacity: 0;\n position: absolute;\n }\n }\n\n .pds-tab-edge {\n display: none;\n }\n}\n\n.pds-tabs--availability {\n --color-background-tab: transparent;\n\n .pds-tab {\n background-color: var(--color-background-tab);\n border-radius: calc(var(--pine-dimension-xs) * 1.25) calc(var(--pine-dimension-xs) * 1.25) var(--pine-dimension-none) var(--pine-dimension-none);\n padding: 8px 16px 13px;\n\n &.is-active,\n &[aria-selected='true'] {\n --color-background-tab: var(--pine-color-secondary);\n\n .pds-tab__content::after {\n opacity: 1;\n }\n\n .pds-tab-edge {\n z-index: 1;\n }\n }\n\n &:hover:not(.is-active, [aria-selected='true']) {\n --color-background-tab: var(--pine-color-secondary-hover);\n }\n\n &:focus-visible {\n color: var(--pine-color-text-secondary);\n }\n }\n\n .pds-tab__content {\n padding-block-end: 7px;\n }\n\n .pds-tab-edge {\n bottom: 0;\n display: block;\n height: 8px;\n inset-inline-end: 100%;\n overflow: hidden;\n position: absolute;\n width: 8px;\n\n &::before {\n border-radius: 50%;\n bottom: 0;\n box-shadow: 4px 4px 0 0 var(--color-background-tab);\n content: '';\n display: block;\n height: 200%;\n inset-inline-end: 0;\n position: absolute;\n width: 200%;\n }\n }\n\n .pds-tab-edge--end {\n inset-inline-end: unset;\n inset-inline-start: 100%;\n\n &::before {\n box-shadow: -4px 4px 0 0 var(--color-background-tab);\n inset-inline-end: unset;\n inset-inline-start: 0;\n }\n }\n}\n\n.pds-tabs--filter {\n .pds-tab {\n background-color: var(--pine-color-background-container-disabled);\n border-radius: 50px;\n color: var(--pine-color-text);\n padding: 6px 15px;\n\n &.is-active,\n &[aria-selected='true'] {\n background-color: var(--pine-color-primary);\n color: var(--pine-color-text-primary);\n }\n\n &.is-active:hover,\n &[aria-selected='true']:hover {\n background-color: var(--pine-color-primary-hover);\n }\n\n &:hover:not(.is-active, [aria-selected='true']) {\n background-color: var(--pine-color-border-disabled);\n }\n }\n\n .pds-tab__content {\n padding-block-end: var(--pine-dimension-none);\n\n &::after {\n content: unset;\n }\n }\n}\n\n.pds-tabs--pill {\n --color-background-tab: transparent;\n\n .pds-tab {\n background-color: var(--color-background-tab);\n border: var(--pine-border-width-thin) solid transparent;\n border-radius: var(--pine-dimension-xs);\n color: var(--pine-color-text-readonly);\n flex: 1;\n height: 34px;\n justify-content: center;\n\n .pds-tab__content {\n align-items: center;\n display: flex;\n justify-content: center;\n padding-block-end: 0;\n }\n\n &.is-active,\n &[aria-selected='true'] {\n --color-background-tab: var(--pine-color-white);\n border-color: var(--pine-color-border);\n box-shadow: var(--pine-box-shadow-100);\n color: var(--pine-color-text-active);\n z-index: 1;\n\n &:focus-visible {\n border-color: var(--color-border-focus);\n outline: var(--pine-outline-focus);\n outline-offset: var(--pine-border-width);\n }\n\n /* stylelint-disable max-nesting-depth */\n .pds-tab__content {\n &::after {\n opacity: 0;\n }\n }\n /* stylelint-enable max-nesting-depth */\n }\n }\n}\n","import { Component, Element, Host, h, Prop, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'pds-tab',\n styleUrl: 'pds-tab.scss',\n shadow: false,\n})\nexport class PdsTab {\n @Element() el: HTMLPdsTabElement;\n\n /**\n * Sets the related tab name, this name must match a `pds-tabpanel`'s tab name property\n */\n @Prop() name!: string;\n\n /**\n * Keeps track of the parentComponentId unique id, this property is passed by parent component\n */\n /** @internal */\n @Prop() parentComponentId: string;\n\n /**\n * Keeps track of if the expected tab variant, this property is passed by parent component\n */\n /** @internal */\n @Prop() variant: string;\n\n /**\n * Keeps track of if the tab index number, this property is passed by parent component\n */\n /** @internal */\n @Prop() index: number;\n\n /**\n * Keeps track of the tabpanel selected state, this property is passed by parent component\n */\n /** @internal */\n @Prop() selected = false;\n\n /**\n * Emits an event upon tab click for `pds-tab` and `pds-tabpanel` to listen for\n */\n /** @internal */\n @Event() pdsTabClick: EventEmitter<object>;\n private onTabClick(index, parentComponentId) {\n this.pdsTabClick.emit([index, parentComponentId]);\n }\n\n render() {\n const availabilityTabEdgeInlineStart = (\n <span class=\"pds-tab-edge\" role=\"presentation\"></span>\n )\n\n const availabilityTabEdgeInlineEnd = (\n <span class=\"pds-tab-edge pds-tab-edge--end\" role=\"presentation\"></span>\n )\n\n return (\n <Host variant={this.variant} slot=\"tabs\" index={this.index}>\n <button\n role=\"tab\"\n id={this.parentComponentId + \"__\" + this.name}\n aria-controls={this.parentComponentId + \"__\" + this.name + \"-panel\"}\n tabindex={this.selected ? \"0\" : \"-1\"}\n aria-selected={this.selected ? \"true\" : \"false\"}\n class={this.selected ? \"pds-tab is-active\" : \"pds-tab\"}\n onClick={this.onTabClick.bind(this, this.index, this.parentComponentId)}\n >\n {this.variant === \"availability\" && availabilityTabEdgeInlineStart}\n {this.variant === \"availability\" && availabilityTabEdgeInlineEnd}\n <div class=\"pds-tab__content\"><slot/></div>\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -9,7 +9,7 @@ const PdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class PdsTableBody exten
9
9
  this.__attachShadow();
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '7aa581f9cd4c798a5699664ca9639ec7e412a891', role: "rowgroup", part: "body" }, h("slot", { key: 'c06f2431044e64d934ee302e5c6fffbdaf0051c7' })));
12
+ return (h(Host, { key: '7c9b15bea47bcede62a93ef11ee9dba093450ab9', role: "rowgroup", part: "body" }, h("slot", { key: 'fab0b2ca27185373cdb7b29d9cb1807b4097aea9' })));
13
13
  }
14
14
  static get style() { return pdsTableBodyCss; }
15
15
  }, [1, "pds-table-body"]);
@@ -100,11 +100,11 @@ const PdsTableCell = /*@__PURE__*/ proxyCustomElement(class PdsTableCell extends
100
100
  return classNames.join(' ');
101
101
  }
102
102
  render() {
103
- return (h(Host, { key: 'eb6a58e7e294593a35b77f00d787fee3b2b03661', class: this.classNames(), role: "gridcell", part: "cell", style: this.tableRef &&
103
+ return (h(Host, { key: 'b1c76cfb3fa26b7e59586cfd693380701c9146ff', class: this.classNames(), role: "gridcell", part: "cell", style: this.tableRef &&
104
104
  this.tableRef.fixedColumn &&
105
105
  this.tableRef.selectable
106
106
  ? { '--fixed-cell-position': '40px' }
107
- : {} }, h("slot", { key: 'c83fc4dda70196bf1032544353af058bc1a0decf' })));
107
+ : {} }, h("slot", { key: '1a04730905bf7ad930141c1914f37dd7717570d8' })));
108
108
  }
109
109
  get hostElement() { return this; }
110
110
  static get style() { return pdsTableCellCss; }
@@ -126,11 +126,11 @@ const PdsTableHeadCell = /*@__PURE__*/ proxyCustomElement(class PdsTableHeadCell
126
126
  return classNames.join(' ');
127
127
  }
128
128
  render() {
129
- return (h(Host, { key: 'f3b04da28997f6f471f6945e0cfac098dc1a6428', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, part: "head-cell", style: this.tableRef &&
129
+ return (h(Host, { key: '3d950a2997ef4c095d08f9c4e67b9a963fea093d', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, part: "head-cell", style: this.tableRef &&
130
130
  this.tableRef.fixedColumn &&
131
131
  this.tableRef.selectable
132
132
  ? { '--fixed-cell-position': '40px' }
133
- : {} }, h("slot", { key: '832373d831d5f250f7427bf0a1f2756e0ce56ea9' }), this.sortable && (h("pds-icon", { key: '1886880fa50da3415b80a0abd8d571ca7350ca23', icon: this.sortingDirection === 'asc' ? upSmall : downSmall, part: "sort-icon" }))));
133
+ : {} }, h("slot", { key: '8ca7d4d169612e5ba237691d9a5ec9ed35610230' }), this.sortable && (h("pds-icon", { key: 'e2e214b39a1706d887bb34a0d4fc3f632e752306', icon: this.sortingDirection === 'asc' ? upSmall : downSmall, part: "sort-icon" }))));
134
134
  }
135
135
  get hostElement() { return this; }
136
136
  static get style() { return pdsTableHeadCellCss; }
@@ -42,7 +42,7 @@ const PdsTableHead$1 = /*@__PURE__*/ proxyCustomElement(class PdsTableHead exten
42
42
  }
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'dda71d591ccce76bdb055820c1c97358e545b522', role: "row", part: "head" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: '79bf1bd06b8e1ef05c9354c178787b4cff139e07', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, h("pds-checkbox", { key: '1ce038a3f3b9e038441fdf4b1d1fe4689f575604', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", hideLabel: true, checked: this.isSelected, part: "select-all-checkbox" }))), h("slot", { key: 'f81d3922f892faa65abee99fd5af0d3232a25e9a' })));
45
+ return (h(Host, { key: '933e69ad28aaf0b899a8ee504088bc5b6396889d', role: "row", part: "head" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: 'a006c965a4e9bacb4b8e07b34799bab6a0bd482a', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, h("pds-checkbox", { key: 'd7f94ac83be970b2c2ed334296971bc6762602e2', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", hideLabel: true, checked: this.isSelected, part: "select-all-checkbox" }))), h("slot", { key: '22edaaa12d31b2be1fd2835d6d4c2801386405af' })));
46
46
  }
47
47
  get hostElement() { return this; }
48
48
  static get style() { return pdsTableHeadCss; }
@@ -53,7 +53,7 @@ const PdsTableRow$1 = /*@__PURE__*/ proxyCustomElement(class PdsTableRow extends
53
53
  }
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '45de7019e5fe44cd27a02450205cf96429072db3', class: this.classNames(), role: "row", part: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-cell", { key: '770cf9bcfff13b8de986d42f6ad6c249b4259191', part: this.tableRef.fixedColumn ? 'checkbox-cell' : 'checkbox-cell', class: this.tableRef.selectable ? 'has-checkbox' : '' }, h("pds-checkbox", { key: '5a1e28f23dda779862a310d83308396e14a839d6', componentId: this.generateUniqueId(), onClick: this.handleClick, indeterminate: this.indeterminate, label: "Select Row", hideLabel: true, checked: this.isSelected, part: "row-checkbox" }))), h("slot", { key: '7dd5716693ad855d1f072f0af9013ca4383bab5e' })));
56
+ return (h(Host, { key: 'cffeb199c48f2a06af70a2e5a5b41a21649c24c7', class: this.classNames(), role: "row", part: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-cell", { key: '02a80cd54efe360550e636f7bc0f11e3de59af1c', part: this.tableRef.fixedColumn ? 'checkbox-cell' : 'checkbox-cell', class: this.tableRef.selectable ? 'has-checkbox' : '' }, h("pds-checkbox", { key: 'a8cd6c303ec35f71e0a97f130c5d53a2e81a3e4a', componentId: this.generateUniqueId(), onClick: this.handleClick, indeterminate: this.indeterminate, label: "Select Row", hideLabel: true, checked: this.isSelected, part: "row-checkbox" }))), h("slot", { key: '820a502627ffc329f650f7f0110e34ae3f096357' })));
57
57
  }
58
58
  get hostElement() { return this; }
59
59
  static get style() { return pdsTableRowCss; }
@@ -13,7 +13,7 @@ const PdsTabpanel$1 = /*@__PURE__*/ proxyCustomElement(class PdsTabpanel extends
13
13
  this.selected = false; // eslint-disable-line @stencil-community/strict-mutable
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '452260718e63155f0ce100b6d502b208fe0b8210', slot: "tabpanels" }, h("div", { key: 'dbf06166503b2890d827ac58f3481330f60edb5c', 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" }, h("slot", { key: '4785fa2a3781569b51e1947db5dd860b36e09ab5' }))));
16
+ return (h(Host, { key: '84aa81506200fd7f06a94a4c7570b2702b36d9e8', slot: "tabpanels" }, h("div", { key: '0e890243eb41ebda64183cc4fd559abf38f5dfdc', 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" }, h("slot", { key: 'aaabfd72a45f6cd52c9c279bf0c014315a659959' }))));
17
17
  }
18
18
  get el() { return this; }
19
19
  static get style() { return pdsTabpanelCss; }
@@ -80,7 +80,7 @@ const PdsTabs$1 = /*@__PURE__*/ proxyCustomElement(class PdsTabs extends HTMLEle
80
80
  this.passPropsToChildren();
81
81
  }
82
82
  render() {
83
- return (h(Host, { key: 'e5b0d44fbe0df70a9260b5ce1ecabad9e5ce52da', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, h("div", { key: '4e987262ef8355b0a94f94ded397d72ccbb678f8', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, h("slot", { key: 'f615e1d116f4c0f9ee28d172f64a05e755386ead', name: "tabs" })), h("slot", { key: 'f74280a78775d19fb1e94d522c28531d79ba73e3', name: "tabpanels" })));
83
+ return (h(Host, { key: '46ae07c28f9fb645e0e4a8165b5c3d2b0b9bdc4a', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, h("div", { key: 'ab3ea42f6998356ea4a089e07bbe49c6f8e45d54', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel, part: "tab-list" }, h("slot", { key: 'e63be406b7d26ba2eff737d31fbc0d3bf959c99f', name: "tabs" })), h("slot", { key: 'cacce277c237acfff91b879ea90ba134cf7e2b80', name: "tabpanels" })));
84
84
  }
85
85
  get el() { return this; }
86
86
  static get style() { return pdsTabsCss; }
@@ -1 +1 @@
1
- {"file":"pds-tabs.js","mappings":";;AAAA,MAAM,UAAU,GAAG,0rBAA0rB;;MCWhsBA,SAAO,iBAAAC,kBAAA,CAAA,MAAA,OAAA,SAAA,WAAA,CAAA;;;;;;AAmClB,IAAA,eAAe,CAAC,KAAuB,EAAA;QACrC,IAAI,IAAI,CAAC,WAAW,KAAK,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;YACxC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AACrC,YAA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AA;QACjB,IAAI,CAAC,mBAAmB,EAAE;;IAG5B,MAAM,GAAA;AACJ,QAAA,QACE,CAAC,CAAA,IAAI,wEAAkB,IAAI,CAAC,aAAa,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,WAAW,EAAA,EACvF,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,mBAAmB,EAAC,IAAI,EAAC,SAAS,EAAA,YAAA,EAAa,IAAI,CAAC,YAAY,EAAA,EACzE,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,EAAA,CAAG,CAChB,EACN,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,WAAW,EAAG,CAAA,CACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsTabs","__stencil_proxyCustomElement"],"sources":["src/components/pds-tabs/pds-tabs.scss?tag=pds-tabs&encapsulation=shadow","src/components/pds-tabs/pds-tabs.tsx"],"sourcesContent":[":host {\n /**\n * @prop --tabs-dimension-panel-margin-top: Optional margin-top for panels\n */\n --tabs-dimension-panel-margin-top: var(--pine-dimension-none);\n /**\n * @prop --tabs-dimension-panel-padding: Optional padding for panels\n */\n --tabs-dimension-panel-padding: 0;\n\n display: block;\n}\n\n.pds-tabs__tablist {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pine-dimension-md);\n}\n\n:host(.pds-tabs--availability) .pds-tabs__tablist {\n gap: var(--pine-dimension-xs);\n}\n\n:host(.pds-tabs--filter) .pds-tabs__tablist {\n gap: var(--pine-dimension-sm);\n}\n\n:host(.pds-tabs--pill) .pds-tabs__tablist {\n background-color: var(--pine-color-grey-100);\n border: var(--pine-border-width-thin) solid var(--pine-color-grey-200);\n border-radius: var(--pine-dimension-100);\n display: inline-flex;\n display: flex;\n gap: 0;\n height: var(--pine-dimension-450);\n}\n","import { Component, Element, Host, h, Prop, Listen } from '@stencil/core';\n\n /**\n * @slot tabs - Content is placed within the `div[role=\"tablist\"]` element as children\n * @slot tabpanels - Content is placed directly after the `div[role=\"tablist\"]` element as siblings\n */\n@Component({\n tag: 'pds-tabs',\n styleUrls: ['pds-tabs.scss'],\n shadow: true,\n})\nexport class PdsTabs {\n private tabs;\n private tabPanels;\n\n @Element() el: HTMLPdsTabsElement;\n\n /**\n * Sets the aria-label attached to the tablist element\n */\n @Prop() tablistLabel!: string;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Sets tabs variant styles as outlined in Figma documentation\n */\n @Prop() variant!: 'primary' | 'availability' | 'filter' | 'pill';\n\n /**\n * Sets the starting active tab name and maintains the name as the component re-renders\n */\n @Prop({mutable: true}) activeTabName!: string;\n\n /**\n * Sets the starting active tab index number and maintains the index number as the component re-renders\n */\n /** @internal */\n @Prop({mutable: true}) activeTabIndex: number;\n\n @Listen('pdsTabClick', {\n target: 'body',\n })\n tabClickHandler(event: CustomEvent<any>) {\n if (this.componentId === event.detail[1]) {\n this.activeTabIndex = event.detail[0];\n this.activeTabName = this.tabs[this.activeTabIndex].name;\n }\n }\n\n @Listen('keydown', {})\n handleKeyDown(ev: KeyboardEvent) {\n const keySet = [\"ArrowLeft\", \"ArrowRight\", \"Home\", \"End\"];\n\n if (keySet.includes(ev.key)) {\n ev.preventDefault();\n this.moveActiveTab(ev.key);\n }\n }\n\n private moveActiveTab(key: string) {\n const firstTabNumber = 0;\n const lastTabNumber = this.tabs.length - 1;\n\n let moveFocusTo = null;\n\n switch (key) {\n case 'ArrowLeft':\n moveFocusTo = (this.activeTabIndex === firstTabNumber) ? lastTabNumber : (this.activeTabIndex + (-1));\n break;\n case 'ArrowRight':\n moveFocusTo = (this.activeTabIndex === lastTabNumber) ? firstTabNumber : (this.activeTabIndex + 1);\n break;\n case 'Home':\n moveFocusTo = firstTabNumber;\n break;\n case 'End':\n moveFocusTo = lastTabNumber;\n break;\n }\n\n // Move focus to the button element within `pds-tab`\n this.tabs[moveFocusTo].children[0].focus();\n this.activeTabName = this.tabs[moveFocusTo].name;\n this.activeTabIndex = moveFocusTo;\n }\n\n private findAllChildren() {\n this.tabs = this.el.querySelectorAll('pds-tab');\n this.tabPanels = this.el.querySelectorAll('pds-tabpanel');\n }\n\n private propGeneration(child, index = 0) {\n child.parentComponentId = this.componentId.toString();\n child.variant = this.variant.toString();\n child.selected = (this.activeTabName === child.name) ? true : false;\n child['index'] = index;\n }\n\n private passPropsToChildren() {\n this.tabs.forEach((child, index) => {\n if (this.activeTabName === child.name) this.activeTabIndex = index;\n this.propGeneration(child, index);\n });\n\n this.tabPanels.forEach((child) => {\n this.propGeneration(child);\n });\n }\n\n private classNames() {\n let className = `pds-tabs`;\n if (this.variant && this.variant != 'primary') {\n const variantClassName = `pds-tabs--${this.variant}`;\n className += ' ' + variantClassName;\n }\n\n return className;\n };\n\n componentWillLoad() {\n this.findAllChildren();\n }\n\n componentWillRender() {\n this.passPropsToChildren();\n }\n\n render() {\n return (\n <Host active-tab-name={this.activeTabName} class={this.classNames()} id={this.componentId}>\n <div class=\"pds-tabs__tablist\" role=\"tablist\" aria-label={this.tablistLabel}>\n <slot name=\"tabs\" />\n </div>\n <slot name=\"tabpanels\" />\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pds-tabs.js","mappings":";;AAAA,MAAM,UAAU,GAAG,0rBAA0rB;;MCYhsBA,SAAO,iBAAAC,kBAAA,CAAA,MAAA,OAAA,SAAA,WAAA,CAAA;;;;;;AAmClB,IAAA,eAAe,CAAC,KAAuB,EAAA;QACrC,IAAI,IAAI,CAAC,WAAW,KAAK,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;YACxC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AACrC,YAAA,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,IAA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A;AACJ,QAAA,QACE,CAAC,CAAA,IAAI,wEAAkB,IAAI,CAAC,aAAa,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,WAAW,EAAA,EACvF,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,mBAAmB,EAAC,IAAI,EAAC,SAAS,EAAa,YAAA,EAAA,IAAI,CAAC,YAAY,EAAE,IAAI,EAAC,UAAU,EAAA,EAC1F,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,EAAA,CAAG,CAChB,EACN,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,WAAW,EAAG,CAAA,CACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsTabs","__stencil_proxyCustomElement"],"sources":["src/components/pds-tabs/pds-tabs.scss?tag=pds-tabs&encapsulation=shadow","src/components/pds-tabs/pds-tabs.tsx"],"sourcesContent":[":host {\n /**\n * @prop --tabs-dimension-panel-margin-top: Optional margin-top for panels\n */\n --tabs-dimension-panel-margin-top: var(--pine-dimension-none);\n /**\n * @prop --tabs-dimension-panel-padding: Optional padding for panels\n */\n --tabs-dimension-panel-padding: 0;\n\n display: block;\n}\n\n.pds-tabs__tablist {\n display: flex;\n flex-wrap: wrap;\n gap: var(--pine-dimension-md);\n}\n\n:host(.pds-tabs--availability) .pds-tabs__tablist {\n gap: var(--pine-dimension-xs);\n}\n\n:host(.pds-tabs--filter) .pds-tabs__tablist {\n gap: var(--pine-dimension-sm);\n}\n\n:host(.pds-tabs--pill) .pds-tabs__tablist {\n background-color: var(--pine-color-grey-100);\n border: var(--pine-border-width-thin) solid var(--pine-color-grey-200);\n border-radius: var(--pine-dimension-100);\n display: inline-flex;\n display: flex;\n gap: 0;\n height: var(--pine-dimension-450);\n}\n","import { Component, Element, Host, h, Prop, Listen } from '@stencil/core';\n\n /**\n * @slot tabs - Content is placed within the `div[role=\"tablist\"]` element as children\n * @slot tabpanels - Content is placed directly after the `div[role=\"tablist\"]` element as siblings\n * @part tab-list - Exposes the container element that holds all the tab buttons for styling.\n */\n@Component({\n tag: 'pds-tabs',\n styleUrls: ['pds-tabs.scss'],\n shadow: true,\n})\nexport class PdsTabs {\n private tabs;\n private tabPanels;\n\n @Element() el: HTMLPdsTabsElement;\n\n /**\n * Sets the aria-label attached to the tablist element\n */\n @Prop() tablistLabel!: string;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Sets tabs variant styles as outlined in Figma documentation\n */\n @Prop() variant!: 'primary' | 'availability' | 'filter' | 'pill';\n\n /**\n * Sets the starting active tab name and maintains the name as the component re-renders\n */\n @Prop({mutable: true}) activeTabName!: string;\n\n /**\n * Sets the starting active tab index number and maintains the index number as the component re-renders\n */\n /** @internal */\n @Prop({mutable: true}) activeTabIndex: number;\n\n @Listen('pdsTabClick', {\n target: 'body',\n })\n tabClickHandler(event: CustomEvent<any>) {\n if (this.componentId === event.detail[1]) {\n this.activeTabIndex = event.detail[0];\n this.activeTabName = this.tabs[this.activeTabIndex].name;\n }\n }\n\n @Listen('keydown', {})\n handleKeyDown(ev: KeyboardEvent) {\n const keySet = [\"ArrowLeft\", \"ArrowRight\", \"Home\", \"End\"];\n\n if (keySet.includes(ev.key)) {\n ev.preventDefault();\n this.moveActiveTab(ev.key);\n }\n }\n\n private moveActiveTab(key: string) {\n const firstTabNumber = 0;\n const lastTabNumber = this.tabs.length - 1;\n\n let moveFocusTo = null;\n\n switch (key) {\n case 'ArrowLeft':\n moveFocusTo = (this.activeTabIndex === firstTabNumber) ? lastTabNumber : (this.activeTabIndex + (-1));\n break;\n case 'ArrowRight':\n moveFocusTo = (this.activeTabIndex === lastTabNumber) ? firstTabNumber : (this.activeTabIndex + 1);\n break;\n case 'Home':\n moveFocusTo = firstTabNumber;\n break;\n case 'End':\n moveFocusTo = lastTabNumber;\n break;\n }\n\n // Move focus to the button element within `pds-tab`\n this.tabs[moveFocusTo].children[0].focus();\n this.activeTabName = this.tabs[moveFocusTo].name;\n this.activeTabIndex = moveFocusTo;\n }\n\n private findAllChildren() {\n this.tabs = this.el.querySelectorAll('pds-tab');\n this.tabPanels = this.el.querySelectorAll('pds-tabpanel');\n }\n\n private propGeneration(child, index = 0) {\n child.parentComponentId = this.componentId.toString();\n child.variant = this.variant.toString();\n child.selected = (this.activeTabName === child.name) ? true : false;\n child['index'] = index;\n }\n\n private passPropsToChildren() {\n this.tabs.forEach((child, index) => {\n if (this.activeTabName === child.name) this.activeTabIndex = index;\n this.propGeneration(child, index);\n });\n\n this.tabPanels.forEach((child) => {\n this.propGeneration(child);\n });\n }\n\n private classNames() {\n let className = `pds-tabs`;\n if (this.variant && this.variant != 'primary') {\n const variantClassName = `pds-tabs--${this.variant}`;\n className += ' ' + variantClassName;\n }\n\n return className;\n };\n\n componentWillLoad() {\n this.findAllChildren();\n }\n\n componentWillRender() {\n this.passPropsToChildren();\n }\n\n render() {\n return (\n <Host active-tab-name={this.activeTabName} class={this.classNames()} id={this.componentId}>\n <div class=\"pds-tabs__tablist\" role=\"tablist\" aria-label={this.tablistLabel} part=\"tab-list\">\n <slot name=\"tabs\" />\n </div>\n <slot name=\"tabpanels\" />\n </Host>\n );\n }\n}\n"],"version":3}
@@ -23,7 +23,7 @@ const PdsText = /*@__PURE__*/ proxyCustomElement(class PdsText extends HTMLEleme
23
23
  ${this.weight !== undefined && this.weight.trim() !== '' ? `pds-text--weight-${this.weight}` : ''}
24
24
  ${this.decoration !== undefined && this.decoration.trim() !== '' ? `pds-text--decoration-${this.decoration}` : ''}
25
25
  `;
26
- return (h(Tag, { key: '290b394545a5769f9d020922b31e14991148ebc7', style: this.color && setColor(this.color), class: typeClasses, part: "content" }, h("slot", { key: '0e64e2e05db073a5d0568f282acce4b9f06238cf' })));
26
+ return (h(Tag, { key: '101a42ae93ac81968a177c7e0d569417f376909c', style: this.color && setColor(this.color), class: typeClasses, part: "content" }, h("slot", { key: '903b04a19b948e04d577c8585a76647033b9c36e' })));
27
27
  }
28
28
  get el() { return this; }
29
29
  static get style() { return pdsTextCss; }