@pine-ds/core 3.1.0 → 3.2.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 (623) hide show
  1. package/components/index.d.ts +20 -0
  2. package/components/index.js +10 -0
  3. package/components/index.js.map +1 -1
  4. package/components/mock-pds-modal.d.ts +11 -0
  5. package/components/mock-pds-modal.js +108 -0
  6. package/components/mock-pds-modal.js.map +1 -0
  7. package/components/pds-alert.d.ts +11 -0
  8. package/components/pds-alert.js +107 -0
  9. package/components/pds-alert.js.map +1 -0
  10. package/components/pds-avatar.js +1 -1
  11. package/components/pds-box.js +1 -110
  12. package/components/pds-box.js.map +1 -1
  13. package/components/pds-box2.js +115 -0
  14. package/components/pds-box2.js.map +1 -0
  15. package/components/pds-checkbox2.js +3 -3
  16. package/components/pds-chip.js +1 -1
  17. package/components/pds-copytext.js +1 -1
  18. package/components/pds-divider.js +1 -1
  19. package/components/pds-dropdown-menu-item.d.ts +11 -0
  20. package/components/pds-dropdown-menu-item.js +117 -0
  21. package/components/pds-dropdown-menu-item.js.map +1 -0
  22. package/components/pds-dropdown-menu-separator.d.ts +11 -0
  23. package/components/pds-dropdown-menu-separator.js +44 -0
  24. package/components/pds-dropdown-menu-separator.js.map +1 -0
  25. package/components/pds-dropdown-menu.d.ts +11 -0
  26. package/components/pds-dropdown-menu.js +1600 -0
  27. package/components/pds-dropdown-menu.js.map +1 -0
  28. package/components/pds-image.js +2 -2
  29. package/components/pds-input.js +4 -4
  30. package/components/pds-link.js +1 -67
  31. package/components/pds-link.js.map +1 -1
  32. package/components/pds-link2.js +85 -0
  33. package/components/pds-link2.js.map +1 -0
  34. package/components/pds-loader2.js +1 -1
  35. package/components/pds-modal-content.d.ts +11 -0
  36. package/components/pds-modal-content.js +111 -0
  37. package/components/pds-modal-content.js.map +1 -0
  38. package/components/pds-modal-footer.d.ts +11 -0
  39. package/components/pds-modal-footer.js +35 -0
  40. package/components/pds-modal-footer.js.map +1 -0
  41. package/components/pds-modal-header.d.ts +11 -0
  42. package/components/pds-modal-header.js +35 -0
  43. package/components/pds-modal-header.js.map +1 -0
  44. package/components/pds-modal.d.ts +11 -0
  45. package/components/pds-modal.js +278 -0
  46. package/components/pds-modal.js.map +1 -0
  47. package/components/pds-popover.js +33 -1
  48. package/components/pds-popover.js.map +1 -1
  49. package/components/pds-progress.js +1 -1
  50. package/components/pds-radio.js +3 -3
  51. package/components/pds-row.js +1 -1
  52. package/components/pds-select.js +2 -2
  53. package/components/pds-sortable-item.js +1 -1
  54. package/components/pds-sortable.js +1 -1
  55. package/components/pds-switch.js +3 -3
  56. package/components/pds-tab.js +3 -3
  57. package/components/pds-table-body.js +1 -1
  58. package/components/pds-table-cell2.js +2 -2
  59. package/components/pds-table-head-cell2.js +2 -2
  60. package/components/pds-table-head.js +1 -1
  61. package/components/pds-table-row.js +1 -1
  62. package/components/pds-table.js +1 -1
  63. package/components/pds-tabpanel.js +1 -1
  64. package/components/pds-tabs.js +1 -1
  65. package/components/pds-text.js +1 -53
  66. package/components/pds-text.js.map +1 -1
  67. package/components/pds-text2.js +58 -0
  68. package/components/pds-text2.js.map +1 -0
  69. package/components/pds-textarea.js +4 -4
  70. package/components/pds-toast.d.ts +11 -0
  71. package/components/pds-toast.js +137 -0
  72. package/components/pds-toast.js.map +1 -0
  73. package/components/pds-tooltip.js +283 -81
  74. package/components/pds-tooltip.js.map +1 -1
  75. package/components/utils.js +3 -2
  76. package/components/utils.js.map +1 -1
  77. package/dist/cjs/loader.cjs.js +1 -1
  78. package/dist/cjs/mock-pds-modal.cjs.entry.js +86 -0
  79. package/dist/cjs/mock-pds-modal.cjs.entry.js.map +1 -0
  80. package/dist/cjs/mock-pds-modal.entry.cjs.js.map +1 -0
  81. package/dist/cjs/pds-alert.cjs.entry.js +66 -0
  82. package/dist/cjs/pds-alert.cjs.entry.js.map +1 -0
  83. package/dist/cjs/pds-alert.entry.cjs.js.map +1 -0
  84. package/dist/cjs/pds-avatar.cjs.entry.js +1 -1
  85. package/dist/cjs/pds-box.cjs.entry.js +2 -2
  86. package/dist/cjs/pds-box.cjs.entry.js.map +1 -1
  87. package/dist/cjs/pds-box.entry.cjs.js.map +1 -1
  88. package/dist/cjs/pds-button.cjs.entry.js +1 -1
  89. package/dist/cjs/pds-checkbox.cjs.entry.js +3 -3
  90. package/dist/cjs/pds-chip.cjs.entry.js +1 -1
  91. package/dist/cjs/pds-copytext.cjs.entry.js +1 -1
  92. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  93. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +82 -0
  94. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js.map +1 -0
  95. package/dist/cjs/pds-dropdown-menu-item.entry.cjs.js.map +1 -0
  96. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +25 -0
  97. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js.map +1 -0
  98. package/dist/cjs/pds-dropdown-menu-separator.entry.cjs.js.map +1 -0
  99. package/dist/cjs/pds-dropdown-menu.cjs.entry.js +1574 -0
  100. package/dist/cjs/pds-dropdown-menu.cjs.entry.js.map +1 -0
  101. package/dist/cjs/pds-dropdown-menu.entry.cjs.js.map +1 -0
  102. package/dist/cjs/pds-image.cjs.entry.js +2 -2
  103. package/dist/cjs/pds-input.cjs.entry.js +5 -5
  104. package/dist/cjs/pds-link.cjs.entry.js +15 -3
  105. package/dist/cjs/pds-link.cjs.entry.js.map +1 -1
  106. package/dist/cjs/pds-link.entry.cjs.js.map +1 -1
  107. package/dist/cjs/pds-loader.cjs.entry.js +1 -1
  108. package/dist/cjs/pds-modal-content.cjs.entry.js +93 -0
  109. package/dist/cjs/pds-modal-content.cjs.entry.js.map +1 -0
  110. package/dist/cjs/pds-modal-content.entry.cjs.js.map +1 -0
  111. package/dist/cjs/pds-modal-footer.cjs.entry.js +20 -0
  112. package/dist/cjs/pds-modal-footer.cjs.entry.js.map +1 -0
  113. package/dist/cjs/pds-modal-footer.entry.cjs.js.map +1 -0
  114. package/dist/cjs/pds-modal-header.cjs.entry.js +20 -0
  115. package/dist/cjs/pds-modal-header.cjs.entry.js.map +1 -0
  116. package/dist/cjs/pds-modal-header.entry.cjs.js.map +1 -0
  117. package/dist/cjs/pds-modal.cjs.entry.js +253 -0
  118. package/dist/cjs/pds-modal.cjs.entry.js.map +1 -0
  119. package/dist/cjs/pds-modal.entry.cjs.js.map +1 -0
  120. package/dist/cjs/pds-popover.cjs.entry.js +33 -1
  121. package/dist/cjs/pds-popover.cjs.entry.js.map +1 -1
  122. package/dist/cjs/pds-popover.entry.cjs.js.map +1 -1
  123. package/dist/cjs/pds-progress.cjs.entry.js +1 -1
  124. package/dist/cjs/pds-radio.cjs.entry.js +3 -3
  125. package/dist/cjs/pds-row.cjs.entry.js +1 -1
  126. package/dist/cjs/pds-select.cjs.entry.js +2 -2
  127. package/dist/cjs/pds-sortable-item.cjs.entry.js +1 -1
  128. package/dist/cjs/pds-sortable.cjs.entry.js +1 -1
  129. package/dist/cjs/pds-switch.cjs.entry.js +3 -3
  130. package/dist/cjs/pds-tab.cjs.entry.js +3 -3
  131. package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
  132. package/dist/cjs/pds-table-cell.cjs.entry.js +2 -2
  133. package/dist/cjs/pds-table-head-cell.cjs.entry.js +2 -2
  134. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  135. package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
  136. package/dist/cjs/pds-table.cjs.entry.js +1 -1
  137. package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
  138. package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
  139. package/dist/cjs/pds-text.cjs.entry.js +2 -2
  140. package/dist/cjs/pds-text.cjs.entry.js.map +1 -1
  141. package/dist/cjs/pds-text.entry.cjs.js.map +1 -1
  142. package/dist/cjs/pds-textarea.cjs.entry.js +5 -5
  143. package/dist/cjs/pds-toast.cjs.entry.js +104 -0
  144. package/dist/cjs/pds-toast.cjs.entry.js.map +1 -0
  145. package/dist/cjs/pds-toast.entry.cjs.js.map +1 -0
  146. package/dist/cjs/pds-tooltip.cjs.entry.js +281 -79
  147. package/dist/cjs/pds-tooltip.cjs.entry.js.map +1 -1
  148. package/dist/cjs/pds-tooltip.entry.cjs.js.map +1 -1
  149. package/dist/cjs/pine-core.cjs.js +1 -1
  150. package/dist/cjs/{utils-CQKIgzWg.js → utils-jWx-Mf12.js} +5 -4
  151. package/dist/cjs/utils-jWx-Mf12.js.map +1 -0
  152. package/dist/collection/collection-manifest.json +10 -0
  153. package/dist/collection/components/pds-alert/pds-alert.css +108 -0
  154. package/dist/collection/components/pds-alert/pds-alert.js +198 -0
  155. package/dist/collection/components/pds-alert/pds-alert.js.map +1 -0
  156. package/dist/collection/components/pds-alert/pds-alert.tokens.css +32 -0
  157. package/dist/collection/components/pds-alert/stories/pds-alert.stories.js +97 -0
  158. package/dist/collection/components/pds-avatar/pds-avatar.js +1 -1
  159. package/dist/collection/components/pds-box/pds-box.js +8 -8
  160. package/dist/collection/components/pds-box/pds-box.js.map +1 -1
  161. package/dist/collection/components/pds-checkbox/pds-checkbox.js +3 -3
  162. package/dist/collection/components/pds-chip/pds-chip.js +1 -1
  163. package/dist/collection/components/pds-chip/stories/pds-chip.stories.js +1 -1
  164. package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
  165. package/dist/collection/components/pds-divider/pds-divider.js +1 -1
  166. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.css +68 -0
  167. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +219 -0
  168. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js.map +1 -0
  169. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.css +4 -0
  170. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +72 -0
  171. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js.map +1 -0
  172. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.css +16 -0
  173. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +328 -0
  174. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js.map +1 -0
  175. package/dist/collection/components/pds-dropdown-menu/stories/pds-dropdown-menu.stories.js +44 -0
  176. package/dist/collection/components/pds-image/pds-image.js +2 -2
  177. package/dist/collection/components/pds-input/pds-input.js +4 -4
  178. package/dist/collection/components/pds-link/pds-link.css +20 -1
  179. package/dist/collection/components/pds-link/pds-link.js +33 -2
  180. package/dist/collection/components/pds-link/pds-link.js.map +1 -1
  181. package/dist/collection/components/pds-link/stories/pds-link.stories.js +15 -2
  182. package/dist/collection/components/pds-loader/pds-loader.js +1 -1
  183. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.css +27 -0
  184. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +125 -0
  185. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js.map +1 -0
  186. package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.css +8 -0
  187. package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +18 -0
  188. package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js.map +1 -0
  189. package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.css +8 -0
  190. package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +18 -0
  191. package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js.map +1 -0
  192. package/dist/collection/components/pds-modal/pds-modal.css +79 -0
  193. package/dist/collection/components/pds-modal/pds-modal.js +426 -0
  194. package/dist/collection/components/pds-modal/pds-modal.js.map +1 -0
  195. package/dist/collection/components/pds-modal/stories/pds-modal.stories.js +415 -0
  196. package/dist/collection/components/pds-modal/test/mock-pds-modal.js +256 -0
  197. package/dist/collection/components/pds-modal/test/mock-pds-modal.js.map +1 -0
  198. package/dist/collection/components/pds-popover/pds-popover.js +33 -1
  199. package/dist/collection/components/pds-popover/pds-popover.js.map +1 -1
  200. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  201. package/dist/collection/components/pds-radio/pds-radio.js +3 -3
  202. package/dist/collection/components/pds-row/pds-row.js +1 -1
  203. package/dist/collection/components/pds-select/pds-select.js +2 -2
  204. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  205. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
  206. package/dist/collection/components/pds-switch/pds-switch.js +3 -3
  207. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  208. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  209. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  210. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  211. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  212. package/dist/collection/components/pds-table/pds-table.js +1 -1
  213. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
  214. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
  215. package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
  216. package/dist/collection/components/pds-text/pds-text.js +2 -2
  217. package/dist/collection/components/pds-text/pds-text.js.map +1 -1
  218. package/dist/collection/components/pds-textarea/pds-textarea.js +4 -4
  219. package/dist/collection/components/pds-toast/pds-toast.css +153 -0
  220. package/dist/collection/components/pds-toast/pds-toast.js +263 -0
  221. package/dist/collection/components/pds-toast/pds-toast.js.map +1 -0
  222. package/dist/collection/components/pds-toast/stories/pds-toast.stories.js +103 -0
  223. package/dist/collection/components/pds-tooltip/pds-tooltip.css +2 -12
  224. package/dist/collection/components/pds-tooltip/pds-tooltip.js +211 -26
  225. package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +1 -1
  226. package/dist/collection/components/pds-tooltip/stories/pds-tooltip.stories.js +7 -3
  227. package/dist/collection/utils/interfaces.js +2 -0
  228. package/dist/collection/utils/interfaces.js.map +1 -0
  229. package/dist/collection/utils/overlay.js +66 -49
  230. package/dist/collection/utils/overlay.js.map +1 -1
  231. package/dist/collection/utils/utils.js +3 -2
  232. package/dist/collection/utils/utils.js.map +1 -1
  233. package/dist/docs.json +1638 -266
  234. package/dist/esm/loader.js +1 -1
  235. package/dist/esm/mock-pds-modal.entry.js +84 -0
  236. package/dist/esm/mock-pds-modal.entry.js.map +1 -0
  237. package/dist/esm/pds-alert.entry.js +64 -0
  238. package/dist/esm/pds-alert.entry.js.map +1 -0
  239. package/dist/esm/pds-avatar.entry.js +1 -1
  240. package/dist/esm/pds-box.entry.js +2 -2
  241. package/dist/esm/pds-box.entry.js.map +1 -1
  242. package/dist/esm/pds-button.entry.js +1 -1
  243. package/dist/esm/pds-checkbox.entry.js +3 -3
  244. package/dist/esm/pds-chip.entry.js +1 -1
  245. package/dist/esm/pds-copytext.entry.js +1 -1
  246. package/dist/esm/pds-divider.entry.js +1 -1
  247. package/dist/esm/pds-dropdown-menu-item.entry.js +80 -0
  248. package/dist/esm/pds-dropdown-menu-item.entry.js.map +1 -0
  249. package/dist/esm/pds-dropdown-menu-separator.entry.js +23 -0
  250. package/dist/esm/pds-dropdown-menu-separator.entry.js.map +1 -0
  251. package/dist/esm/pds-dropdown-menu.entry.js +1572 -0
  252. package/dist/esm/pds-dropdown-menu.entry.js.map +1 -0
  253. package/dist/esm/pds-image.entry.js +2 -2
  254. package/dist/esm/pds-input.entry.js +5 -5
  255. package/dist/esm/pds-link.entry.js +15 -3
  256. package/dist/esm/pds-link.entry.js.map +1 -1
  257. package/dist/esm/pds-loader.entry.js +1 -1
  258. package/dist/esm/pds-modal-content.entry.js +91 -0
  259. package/dist/esm/pds-modal-content.entry.js.map +1 -0
  260. package/dist/esm/pds-modal-footer.entry.js +18 -0
  261. package/dist/esm/pds-modal-footer.entry.js.map +1 -0
  262. package/dist/esm/pds-modal-header.entry.js +18 -0
  263. package/dist/esm/pds-modal-header.entry.js.map +1 -0
  264. package/dist/esm/pds-modal.entry.js +251 -0
  265. package/dist/esm/pds-modal.entry.js.map +1 -0
  266. package/dist/esm/pds-popover.entry.js +33 -1
  267. package/dist/esm/pds-popover.entry.js.map +1 -1
  268. package/dist/esm/pds-progress.entry.js +1 -1
  269. package/dist/esm/pds-radio.entry.js +3 -3
  270. package/dist/esm/pds-row.entry.js +1 -1
  271. package/dist/esm/pds-select.entry.js +2 -2
  272. package/dist/esm/pds-sortable-item.entry.js +1 -1
  273. package/dist/esm/pds-sortable.entry.js +1 -1
  274. package/dist/esm/pds-switch.entry.js +3 -3
  275. package/dist/esm/pds-tab.entry.js +3 -3
  276. package/dist/esm/pds-table-body.entry.js +1 -1
  277. package/dist/esm/pds-table-cell.entry.js +2 -2
  278. package/dist/esm/pds-table-head-cell.entry.js +2 -2
  279. package/dist/esm/pds-table-head.entry.js +1 -1
  280. package/dist/esm/pds-table-row.entry.js +1 -1
  281. package/dist/esm/pds-table.entry.js +1 -1
  282. package/dist/esm/pds-tabpanel.entry.js +1 -1
  283. package/dist/esm/pds-tabs.entry.js +1 -1
  284. package/dist/esm/pds-text.entry.js +2 -2
  285. package/dist/esm/pds-text.entry.js.map +1 -1
  286. package/dist/esm/pds-textarea.entry.js +5 -5
  287. package/dist/esm/pds-toast.entry.js +102 -0
  288. package/dist/esm/pds-toast.entry.js.map +1 -0
  289. package/dist/esm/pds-tooltip.entry.js +281 -79
  290. package/dist/esm/pds-tooltip.entry.js.map +1 -1
  291. package/dist/esm/pine-core.js +1 -1
  292. package/dist/esm/{utils-Dw9B1JDC.js → utils-DkabwBZT.js} +5 -4
  293. package/dist/esm/utils-DkabwBZT.js.map +1 -0
  294. package/dist/esm-es5/loader.js +1 -1
  295. package/dist/esm-es5/mock-pds-modal.entry.js +2 -0
  296. package/dist/esm-es5/mock-pds-modal.entry.js.map +1 -0
  297. package/dist/esm-es5/pds-alert.entry.js +2 -0
  298. package/dist/esm-es5/pds-alert.entry.js.map +1 -0
  299. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  300. package/dist/esm-es5/pds-box.entry.js +1 -1
  301. package/dist/esm-es5/pds-box.entry.js.map +1 -1
  302. package/dist/esm-es5/pds-button.entry.js +1 -1
  303. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  304. package/dist/esm-es5/pds-chip.entry.js +1 -1
  305. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  306. package/dist/esm-es5/pds-divider.entry.js +1 -1
  307. package/dist/esm-es5/pds-dropdown-menu-item.entry.js +2 -0
  308. package/dist/esm-es5/pds-dropdown-menu-item.entry.js.map +1 -0
  309. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +2 -0
  310. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js.map +1 -0
  311. package/dist/esm-es5/pds-dropdown-menu.entry.js +2 -0
  312. package/dist/esm-es5/pds-dropdown-menu.entry.js.map +1 -0
  313. package/dist/esm-es5/pds-image.entry.js +1 -1
  314. package/dist/esm-es5/pds-input.entry.js +1 -1
  315. package/dist/esm-es5/pds-link.entry.js +1 -1
  316. package/dist/esm-es5/pds-link.entry.js.map +1 -1
  317. package/dist/esm-es5/pds-loader.entry.js +1 -1
  318. package/dist/esm-es5/pds-modal-content.entry.js +2 -0
  319. package/dist/esm-es5/pds-modal-content.entry.js.map +1 -0
  320. package/dist/esm-es5/pds-modal-footer.entry.js +2 -0
  321. package/dist/esm-es5/pds-modal-footer.entry.js.map +1 -0
  322. package/dist/esm-es5/pds-modal-header.entry.js +2 -0
  323. package/dist/esm-es5/pds-modal-header.entry.js.map +1 -0
  324. package/dist/esm-es5/pds-modal.entry.js +2 -0
  325. package/dist/esm-es5/pds-modal.entry.js.map +1 -0
  326. package/dist/esm-es5/pds-popover.entry.js +1 -1
  327. package/dist/esm-es5/pds-popover.entry.js.map +1 -1
  328. package/dist/esm-es5/pds-progress.entry.js +1 -1
  329. package/dist/esm-es5/pds-radio.entry.js +1 -1
  330. package/dist/esm-es5/pds-row.entry.js +1 -1
  331. package/dist/esm-es5/pds-select.entry.js +1 -1
  332. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  333. package/dist/esm-es5/pds-sortable.entry.js +1 -1
  334. package/dist/esm-es5/pds-switch.entry.js +1 -1
  335. package/dist/esm-es5/pds-tab.entry.js +1 -1
  336. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  337. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  338. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  339. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  340. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  341. package/dist/esm-es5/pds-table.entry.js +1 -1
  342. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  343. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  344. package/dist/esm-es5/pds-text.entry.js +1 -1
  345. package/dist/esm-es5/pds-text.entry.js.map +1 -1
  346. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  347. package/dist/esm-es5/pds-toast.entry.js +2 -0
  348. package/dist/esm-es5/pds-toast.entry.js.map +1 -0
  349. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  350. package/dist/esm-es5/pds-tooltip.entry.js.map +1 -1
  351. package/dist/esm-es5/pine-core.js +1 -1
  352. package/dist/esm-es5/utils-DkabwBZT.js +2 -0
  353. package/dist/esm-es5/utils-DkabwBZT.js.map +1 -0
  354. package/dist/pine-core/mock-pds-modal.entry.esm.js.map +1 -0
  355. package/dist/pine-core/{p-38d2498e.system.entry.js → p-0069abf8.system.entry.js} +2 -2
  356. package/dist/pine-core/{p-a14c8ab4.system.entry.js → p-03d8cb4c.system.entry.js} +2 -2
  357. package/dist/pine-core/{p-a952d40c.system.entry.js → p-04df41d7.system.entry.js} +2 -2
  358. package/dist/pine-core/{p-0486ad57.entry.js → p-0572825b.entry.js} +2 -2
  359. package/dist/pine-core/{p-d2110923.system.entry.js → p-111e7da2.system.entry.js} +2 -2
  360. package/dist/pine-core/{p-103b62a1.system.entry.js → p-121e03ad.system.entry.js} +2 -2
  361. package/dist/pine-core/p-1224c874.entry.js +2 -0
  362. package/dist/pine-core/{p-82e05dcf.entry.js → p-146fcd44.entry.js} +2 -2
  363. package/dist/pine-core/{p-e88d58f4.entry.js → p-17d3fa8b.entry.js} +2 -2
  364. package/dist/pine-core/p-1b109c01.entry.js +2 -0
  365. package/dist/pine-core/p-1b109c01.entry.js.map +1 -0
  366. package/dist/pine-core/p-1bd715ee.system.entry.js +2 -0
  367. package/dist/pine-core/p-1bd715ee.system.entry.js.map +1 -0
  368. package/dist/pine-core/{p-d8e02aa9.system.entry.js → p-1eec6bea.system.entry.js} +2 -2
  369. package/dist/pine-core/p-21c3aaeb.entry.js +2 -0
  370. package/dist/pine-core/{p-f439922f.entry.js → p-2296c34f.entry.js} +2 -2
  371. package/dist/pine-core/{p-f439922f.entry.js.map → p-2296c34f.entry.js.map} +1 -1
  372. package/dist/pine-core/{p-5c396e75.entry.js → p-24607f93.entry.js} +2 -2
  373. package/dist/pine-core/p-28e28f42.system.entry.js +2 -0
  374. package/dist/pine-core/p-28e28f42.system.entry.js.map +1 -0
  375. package/dist/pine-core/{p-38246e2f.entry.js → p-29ad0b86.entry.js} +2 -2
  376. package/dist/pine-core/{p-c0f0b368.system.entry.js → p-30142a25.system.entry.js} +2 -2
  377. package/dist/pine-core/p-32bd3e33.entry.js +2 -0
  378. package/dist/pine-core/p-32bd3e33.entry.js.map +1 -0
  379. package/dist/pine-core/{p-8305cd4d.entry.js → p-367e188f.entry.js} +2 -2
  380. package/dist/pine-core/{p-6147b1ea.system.entry.js → p-3798a631.system.entry.js} +2 -2
  381. package/dist/pine-core/p-3D0orTx_.system.js.map +1 -0
  382. package/dist/pine-core/{p-c838b6ef.system.entry.js → p-3f82ac77.system.entry.js} +2 -2
  383. package/dist/pine-core/p-4288c861.entry.js +2 -0
  384. package/dist/pine-core/p-4288c861.entry.js.map +1 -0
  385. package/dist/pine-core/p-47a7a65b.entry.js +2 -0
  386. package/dist/pine-core/p-47a7a65b.entry.js.map +1 -0
  387. package/dist/pine-core/{p-ca09f86a.system.entry.js → p-48e76945.system.entry.js} +2 -2
  388. package/dist/pine-core/p-49265849.system.entry.js +2 -0
  389. package/dist/pine-core/p-49265849.system.entry.js.map +1 -0
  390. package/dist/pine-core/p-513c16c7.entry.js +2 -0
  391. package/dist/pine-core/p-513c16c7.entry.js.map +1 -0
  392. package/dist/pine-core/p-5c4aceb7.entry.js +2 -0
  393. package/dist/pine-core/p-5c4aceb7.entry.js.map +1 -0
  394. package/dist/pine-core/{p-598ade79.entry.js → p-5e1e7762.entry.js} +2 -2
  395. package/dist/pine-core/p-624db3d6.system.entry.js +2 -0
  396. package/dist/pine-core/p-624db3d6.system.entry.js.map +1 -0
  397. package/dist/pine-core/{p-c7d4f436.system.entry.js → p-6a2296e6.system.entry.js} +2 -2
  398. package/dist/pine-core/{p-b68cb43d.system.entry.js → p-71265b2a.system.entry.js} +2 -2
  399. package/dist/pine-core/p-71f01676.system.entry.js +2 -0
  400. package/dist/pine-core/p-71f01676.system.entry.js.map +1 -0
  401. package/dist/pine-core/{p-6ad460a7.entry.js → p-722012ac.entry.js} +2 -2
  402. package/dist/pine-core/{p-98181fa8.system.entry.js → p-730221a8.system.entry.js} +2 -2
  403. package/dist/pine-core/{p-a97952fc.system.entry.js → p-73412ca9.system.entry.js} +2 -2
  404. package/dist/pine-core/{p-a97952fc.system.entry.js.map → p-73412ca9.system.entry.js.map} +1 -1
  405. package/dist/pine-core/{p-8337c77c.entry.js → p-742d4490.entry.js} +2 -2
  406. package/dist/pine-core/{p-3ce8eb9f.entry.js → p-761946a0.entry.js} +2 -2
  407. package/dist/pine-core/{p-950427b2.entry.js → p-77c3a10d.entry.js} +2 -2
  408. package/dist/pine-core/{p-fed4c0c0.system.entry.js → p-78cb1c40.system.entry.js} +2 -2
  409. package/dist/pine-core/{p-1d92261f.system.entry.js → p-78fb945e.system.entry.js} +2 -2
  410. package/dist/pine-core/p-7b38e384.system.entry.js +2 -0
  411. package/dist/pine-core/{p-9d0c1b2e.system.entry.js.map → p-7b38e384.system.entry.js.map} +1 -1
  412. package/dist/pine-core/{p-d78bec50.system.entry.js → p-7e92ec48.system.entry.js} +2 -2
  413. package/dist/pine-core/{p-13b9ed06.system.entry.js → p-7ff213bb.system.entry.js} +2 -2
  414. package/dist/pine-core/{p-4ccd2d5e.entry.js → p-8023086c.entry.js} +2 -2
  415. package/dist/pine-core/p-83252078.system.entry.js +2 -0
  416. package/dist/pine-core/{p-f94703c9.entry.js → p-833f08f3.entry.js} +2 -2
  417. package/dist/pine-core/p-83c632f6.system.entry.js +2 -0
  418. package/dist/pine-core/p-83c632f6.system.entry.js.map +1 -0
  419. package/dist/pine-core/p-83ffc1cc.entry.js +2 -0
  420. package/dist/pine-core/p-83ffc1cc.entry.js.map +1 -0
  421. package/dist/pine-core/p-85ff1482.entry.js +2 -0
  422. package/dist/pine-core/{p-d5838288.entry.js.map → p-85ff1482.entry.js.map} +1 -1
  423. package/dist/pine-core/{p-12bee2e5.entry.js → p-86d388a2.entry.js} +2 -2
  424. package/dist/pine-core/p-929bb7ab.system.entry.js +2 -0
  425. package/dist/pine-core/p-929bb7ab.system.entry.js.map +1 -0
  426. package/dist/pine-core/p-942fa145.system.entry.js +2 -0
  427. package/dist/pine-core/p-942fa145.system.entry.js.map +1 -0
  428. package/dist/pine-core/{p-e045e337.system.entry.js → p-984578f8.system.entry.js} +2 -2
  429. package/dist/pine-core/{p-e281ac09.entry.js → p-99b5e1a5.entry.js} +2 -2
  430. package/dist/pine-core/{p-BFPxUBwH.system.js.map → p-B-pTdYoP.system.js.map} +1 -1
  431. package/dist/pine-core/p-B2gfQpwn.system.js.map +1 -0
  432. package/dist/pine-core/{p-CDhmuxC9.system.js.map → p-B5JFBYFw.system.js.map} +1 -1
  433. package/dist/pine-core/p-B5LBNcOw.system.js.map +1 -0
  434. package/dist/pine-core/{p-B46WXJMn.system.js.map → p-BHZ6CSg4.system.js.map} +1 -1
  435. package/dist/pine-core/{p-Cz3zRtiB.system.js.map → p-BO1OsmVU.system.js.map} +1 -1
  436. package/dist/pine-core/{p-Cj21y714.system.js.map → p-BOJnNd1p.system.js.map} +1 -1
  437. package/dist/pine-core/p-BVUeEWjl.system.js.map +1 -0
  438. package/dist/pine-core/{p-C94EgDFz.system.js → p-BhPuKJbQ.system.js} +2 -2
  439. package/dist/pine-core/p-BhPuKJbQ.system.js.map +1 -0
  440. package/dist/pine-core/p-Bo6FQRlR.system.js.map +1 -0
  441. package/dist/pine-core/{p-kMnJefdU.system.js.map → p-Bs9Nyvj2.system.js.map} +1 -1
  442. package/dist/pine-core/p-BsL2GDnH.system.js +1 -1
  443. package/dist/pine-core/{p-BJyPFOn0.system.js.map → p-C-oNYS10.system.js.map} +1 -1
  444. package/dist/pine-core/{p-Cg0JSYH5.system.js.map → p-CDIHBBTC.system.js.map} +1 -1
  445. package/dist/pine-core/{p-IK9NvSRG.system.js.map → p-CLNi-hRD.system.js.map} +1 -1
  446. package/dist/pine-core/{p-BjCOR1Nn.system.js.map → p-CV405yTU.system.js.map} +1 -1
  447. package/dist/pine-core/p-CWtKi9tV.system.js.map +1 -0
  448. package/dist/pine-core/{p-BoNavS-S.system.js.map → p-CcsZC7UR.system.js.map} +1 -1
  449. package/dist/pine-core/{p-DkJgkLjR.system.js.map → p-CiDIFl28.system.js.map} +1 -1
  450. package/dist/pine-core/{p-Dz6toWDZ.system.js.map → p-Cj2r1nL6.system.js.map} +1 -1
  451. package/dist/pine-core/{p-w3zTyPF1.system.js.map → p-CnPERKGo.system.js.map} +1 -1
  452. package/dist/pine-core/p-CsM74dxm.system.js.map +1 -0
  453. package/dist/pine-core/{p-DFmUOrRG.system.js.map → p-CtAVdPaE.system.js.map} +1 -1
  454. package/dist/pine-core/{p-9niWVsdd.system.js.map → p-CzKqvFNN.system.js.map} +1 -1
  455. package/dist/pine-core/{p-CmTz2SvK.system.js.map → p-D-4Xbxlj.system.js.map} +1 -1
  456. package/dist/pine-core/{p-BVNW4NmT.system.js.map → p-D5vuiRx2.system.js.map} +1 -1
  457. package/dist/pine-core/p-D8DRYw9w.system.js.map +1 -0
  458. package/dist/pine-core/{p-DVVPJPOu.system.js.map → p-D9LPgNmN.system.js.map} +1 -1
  459. package/dist/pine-core/p-DKSZziVY.system.js.map +1 -0
  460. package/dist/pine-core/{p-YuC61pNM.system.js.map → p-DN9puCWI.system.js.map} +1 -1
  461. package/dist/pine-core/{p-C0cdB2AV.system.js.map → p-DS7q5AvX.system.js.map} +1 -1
  462. package/dist/pine-core/{p-BSINexOf.system.js.map → p-DV_GadHU.system.js.map} +1 -1
  463. package/dist/pine-core/{p-BgcVBzVE.system.js.map → p-DbVkYdnF.system.js.map} +1 -1
  464. package/dist/pine-core/{p-eKz-xVcI.system.js.map → p-Derxa-nn.system.js.map} +1 -1
  465. package/dist/pine-core/{p-BW-n3jjz.system.js.map → p-DgOMN0Ur.system.js.map} +1 -1
  466. package/dist/pine-core/p-DiJV28pi.system.js.map +1 -0
  467. package/dist/pine-core/p-DkabwBZT.js +2 -0
  468. package/dist/pine-core/p-DkabwBZT.js.map +1 -0
  469. package/dist/pine-core/{p-Dv_jWtcr.system.js.map → p-DyQ_s5MV.system.js.map} +1 -1
  470. package/dist/pine-core/p-HBgo7i_E.system.js.map +1 -0
  471. package/dist/pine-core/{p-D8WAvG2e.system.js.map → p-M2Hhmwex.system.js.map} +1 -1
  472. package/dist/pine-core/p-PkSWq78_.system.js.map +1 -0
  473. package/dist/pine-core/{p-ceb48b05.system.entry.js → p-a2572675.system.entry.js} +2 -2
  474. package/dist/pine-core/{p-85073252.system.entry.js → p-a394645a.system.entry.js} +2 -2
  475. package/dist/pine-core/p-a52b1413.entry.js +2 -0
  476. package/dist/pine-core/p-a52b1413.entry.js.map +1 -0
  477. package/dist/pine-core/{p-4e7ca704.entry.js → p-abec6606.entry.js} +2 -2
  478. package/dist/pine-core/p-b2796d3c.system.entry.js +2 -0
  479. package/dist/pine-core/p-b2796d3c.system.entry.js.map +1 -0
  480. package/dist/pine-core/{p-1b81a8ec.entry.js → p-b3d05184.entry.js} +2 -2
  481. package/dist/pine-core/{p-b902f535.entry.js → p-b7ba6316.entry.js} +2 -2
  482. package/dist/pine-core/p-b9c13f99.entry.js +2 -0
  483. package/dist/pine-core/p-b9c13f99.entry.js.map +1 -0
  484. package/dist/pine-core/{p-6a716bff.entry.js → p-bcc4edaa.entry.js} +2 -2
  485. package/dist/pine-core/{p-1178485a.system.entry.js → p-bd04212c.system.entry.js} +2 -2
  486. package/dist/pine-core/{p-1178485a.system.entry.js.map → p-bd04212c.system.entry.js.map} +1 -1
  487. package/dist/pine-core/{p-9cdd57de.entry.js → p-c0f74199.entry.js} +2 -2
  488. package/dist/pine-core/{p-ed8c3064.system.entry.js → p-c1b0f921.system.entry.js} +2 -2
  489. package/dist/pine-core/{p-68de979e.entry.js → p-c4294be2.entry.js} +2 -2
  490. package/dist/pine-core/p-cd2cd116.entry.js +2 -0
  491. package/dist/pine-core/p-cd2cd116.entry.js.map +1 -0
  492. package/dist/pine-core/p-d1b222f5.entry.js +2 -0
  493. package/dist/pine-core/{p-b390c427.entry.js.map → p-d1b222f5.entry.js.map} +1 -1
  494. package/dist/pine-core/{p-7b6b354a.system.entry.js → p-d2ccda59.system.entry.js} +2 -2
  495. package/dist/pine-core/p-d6ac2862.system.entry.js +2 -0
  496. package/dist/pine-core/p-d6ac2862.system.entry.js.map +1 -0
  497. package/dist/pine-core/{p-6260135d.system.entry.js → p-e09a3682.system.entry.js} +2 -2
  498. package/dist/pine-core/{p-792355e6.entry.js → p-e2dc81c0.entry.js} +2 -2
  499. package/dist/pine-core/p-e6d6e103.entry.js +2 -0
  500. package/dist/pine-core/p-e6d6e103.entry.js.map +1 -0
  501. package/dist/pine-core/{p-fd9aa739.system.entry.js → p-e9d972db.system.entry.js} +2 -2
  502. package/dist/pine-core/p-ef9ed75a.system.entry.js +2 -0
  503. package/dist/pine-core/p-ef9ed75a.system.entry.js.map +1 -0
  504. package/dist/pine-core/{p-4b59cae8.entry.js → p-f256dd8a.entry.js} +2 -2
  505. package/dist/pine-core/{p-4b59cae8.entry.js.map → p-f256dd8a.entry.js.map} +1 -1
  506. package/dist/pine-core/p-f2c807ac.entry.js +2 -0
  507. package/dist/pine-core/p-f2c807ac.entry.js.map +1 -0
  508. package/dist/pine-core/{p-eda0dc79.entry.js → p-f47133fd.entry.js} +2 -2
  509. package/dist/pine-core/p-f4fff209.system.entry.js +2 -0
  510. package/dist/pine-core/p-f4fff209.system.entry.js.map +1 -0
  511. package/dist/pine-core/{p-5763df39.system.entry.js → p-f9e01886.system.entry.js} +2 -2
  512. package/dist/pine-core/{p-Bu94kuQa.system.js.map → p-xgOOHGQo.system.js.map} +1 -1
  513. package/dist/pine-core/p-yku4NLl6.system.js.map +1 -0
  514. package/dist/pine-core/pds-alert.entry.esm.js.map +1 -0
  515. package/dist/pine-core/pds-box.entry.esm.js.map +1 -1
  516. package/dist/pine-core/pds-dropdown-menu-item.entry.esm.js.map +1 -0
  517. package/dist/pine-core/pds-dropdown-menu-separator.entry.esm.js.map +1 -0
  518. package/dist/pine-core/pds-dropdown-menu.entry.esm.js.map +1 -0
  519. package/dist/pine-core/pds-link.entry.esm.js.map +1 -1
  520. package/dist/pine-core/pds-modal-content.entry.esm.js.map +1 -0
  521. package/dist/pine-core/pds-modal-footer.entry.esm.js.map +1 -0
  522. package/dist/pine-core/pds-modal-header.entry.esm.js.map +1 -0
  523. package/dist/pine-core/pds-modal.entry.esm.js.map +1 -0
  524. package/dist/pine-core/pds-popover.entry.esm.js.map +1 -1
  525. package/dist/pine-core/pds-text.entry.esm.js.map +1 -1
  526. package/dist/pine-core/pds-toast.entry.esm.js.map +1 -0
  527. package/dist/pine-core/pds-tooltip.entry.esm.js.map +1 -1
  528. package/dist/pine-core/pine-core.esm.js +1 -1
  529. package/dist/types/components/pds-alert/pds-alert.d.ts +39 -0
  530. package/dist/types/components/pds-box/pds-box.d.ts +6 -6
  531. package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.d.ts +43 -0
  532. package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.d.ts +13 -0
  533. package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu.d.ts +33 -0
  534. package/dist/types/components/pds-link/pds-link.d.ts +5 -0
  535. package/dist/types/components/pds-modal/pds-modal-content/pds-modal-content.d.ts +25 -0
  536. package/dist/types/components/pds-modal/pds-modal-footer/pds-modal-footer.d.ts +3 -0
  537. package/dist/types/components/pds-modal/pds-modal-header/pds-modal-header.d.ts +3 -0
  538. package/dist/types/components/pds-modal/pds-modal.d.ts +72 -0
  539. package/dist/types/components/pds-modal/test/mock-pds-modal.d.ts +63 -0
  540. package/dist/types/components/pds-toast/pds-toast.d.ts +57 -0
  541. package/dist/types/components/pds-tooltip/pds-tooltip.d.ts +28 -3
  542. package/dist/types/components.d.ts +539 -14
  543. package/dist/types/utils/interfaces.d.ts +6 -0
  544. package/dist/types/utils/overlay.d.ts +3 -3
  545. package/dist/types/utils/utils.d.ts +1 -1
  546. package/hydrate/index.js +2897 -261
  547. package/hydrate/index.mjs +2897 -261
  548. package/package.json +6 -2
  549. package/dist/cjs/utils-CQKIgzWg.js.map +0 -1
  550. package/dist/esm/utils-Dw9B1JDC.js.map +0 -1
  551. package/dist/esm-es5/utils-Dw9B1JDC.js +0 -2
  552. package/dist/esm-es5/utils-Dw9B1JDC.js.map +0 -1
  553. package/dist/pine-core/p-1d690915.entry.js +0 -2
  554. package/dist/pine-core/p-294f9b1f.entry.js +0 -2
  555. package/dist/pine-core/p-433c6687.system.entry.js +0 -2
  556. package/dist/pine-core/p-433c6687.system.entry.js.map +0 -1
  557. package/dist/pine-core/p-82151ac5.entry.js +0 -2
  558. package/dist/pine-core/p-82151ac5.entry.js.map +0 -1
  559. package/dist/pine-core/p-953f619f.system.entry.js +0 -2
  560. package/dist/pine-core/p-9d0c1b2e.system.entry.js +0 -2
  561. package/dist/pine-core/p-C94EgDFz.system.js.map +0 -1
  562. package/dist/pine-core/p-CdkqpuKd.system.js.map +0 -1
  563. package/dist/pine-core/p-CnoLHUtr.system.js.map +0 -1
  564. package/dist/pine-core/p-DhwO1z4v.system.js.map +0 -1
  565. package/dist/pine-core/p-Dw9B1JDC.js +0 -2
  566. package/dist/pine-core/p-Dw9B1JDC.js.map +0 -1
  567. package/dist/pine-core/p-b390c427.entry.js +0 -2
  568. package/dist/pine-core/p-d3ab594c.system.entry.js +0 -2
  569. package/dist/pine-core/p-d3ab594c.system.entry.js.map +0 -1
  570. package/dist/pine-core/p-d5838288.entry.js +0 -2
  571. package/dist/pine-core/p-f4898d4f.entry.js +0 -2
  572. package/dist/pine-core/p-f4898d4f.entry.js.map +0 -1
  573. /package/dist/pine-core/{p-38d2498e.system.entry.js.map → p-0069abf8.system.entry.js.map} +0 -0
  574. /package/dist/pine-core/{p-a14c8ab4.system.entry.js.map → p-03d8cb4c.system.entry.js.map} +0 -0
  575. /package/dist/pine-core/{p-a952d40c.system.entry.js.map → p-04df41d7.system.entry.js.map} +0 -0
  576. /package/dist/pine-core/{p-0486ad57.entry.js.map → p-0572825b.entry.js.map} +0 -0
  577. /package/dist/pine-core/{p-d2110923.system.entry.js.map → p-111e7da2.system.entry.js.map} +0 -0
  578. /package/dist/pine-core/{p-103b62a1.system.entry.js.map → p-121e03ad.system.entry.js.map} +0 -0
  579. /package/dist/pine-core/{p-1d690915.entry.js.map → p-1224c874.entry.js.map} +0 -0
  580. /package/dist/pine-core/{p-82e05dcf.entry.js.map → p-146fcd44.entry.js.map} +0 -0
  581. /package/dist/pine-core/{p-e88d58f4.entry.js.map → p-17d3fa8b.entry.js.map} +0 -0
  582. /package/dist/pine-core/{p-d8e02aa9.system.entry.js.map → p-1eec6bea.system.entry.js.map} +0 -0
  583. /package/dist/pine-core/{p-294f9b1f.entry.js.map → p-21c3aaeb.entry.js.map} +0 -0
  584. /package/dist/pine-core/{p-5c396e75.entry.js.map → p-24607f93.entry.js.map} +0 -0
  585. /package/dist/pine-core/{p-38246e2f.entry.js.map → p-29ad0b86.entry.js.map} +0 -0
  586. /package/dist/pine-core/{p-c0f0b368.system.entry.js.map → p-30142a25.system.entry.js.map} +0 -0
  587. /package/dist/pine-core/{p-8305cd4d.entry.js.map → p-367e188f.entry.js.map} +0 -0
  588. /package/dist/pine-core/{p-6147b1ea.system.entry.js.map → p-3798a631.system.entry.js.map} +0 -0
  589. /package/dist/pine-core/{p-c838b6ef.system.entry.js.map → p-3f82ac77.system.entry.js.map} +0 -0
  590. /package/dist/pine-core/{p-ca09f86a.system.entry.js.map → p-48e76945.system.entry.js.map} +0 -0
  591. /package/dist/pine-core/{p-598ade79.entry.js.map → p-5e1e7762.entry.js.map} +0 -0
  592. /package/dist/pine-core/{p-c7d4f436.system.entry.js.map → p-6a2296e6.system.entry.js.map} +0 -0
  593. /package/dist/pine-core/{p-b68cb43d.system.entry.js.map → p-71265b2a.system.entry.js.map} +0 -0
  594. /package/dist/pine-core/{p-6ad460a7.entry.js.map → p-722012ac.entry.js.map} +0 -0
  595. /package/dist/pine-core/{p-98181fa8.system.entry.js.map → p-730221a8.system.entry.js.map} +0 -0
  596. /package/dist/pine-core/{p-8337c77c.entry.js.map → p-742d4490.entry.js.map} +0 -0
  597. /package/dist/pine-core/{p-3ce8eb9f.entry.js.map → p-761946a0.entry.js.map} +0 -0
  598. /package/dist/pine-core/{p-950427b2.entry.js.map → p-77c3a10d.entry.js.map} +0 -0
  599. /package/dist/pine-core/{p-fed4c0c0.system.entry.js.map → p-78cb1c40.system.entry.js.map} +0 -0
  600. /package/dist/pine-core/{p-1d92261f.system.entry.js.map → p-78fb945e.system.entry.js.map} +0 -0
  601. /package/dist/pine-core/{p-d78bec50.system.entry.js.map → p-7e92ec48.system.entry.js.map} +0 -0
  602. /package/dist/pine-core/{p-13b9ed06.system.entry.js.map → p-7ff213bb.system.entry.js.map} +0 -0
  603. /package/dist/pine-core/{p-4ccd2d5e.entry.js.map → p-8023086c.entry.js.map} +0 -0
  604. /package/dist/pine-core/{p-953f619f.system.entry.js.map → p-83252078.system.entry.js.map} +0 -0
  605. /package/dist/pine-core/{p-f94703c9.entry.js.map → p-833f08f3.entry.js.map} +0 -0
  606. /package/dist/pine-core/{p-12bee2e5.entry.js.map → p-86d388a2.entry.js.map} +0 -0
  607. /package/dist/pine-core/{p-e045e337.system.entry.js.map → p-984578f8.system.entry.js.map} +0 -0
  608. /package/dist/pine-core/{p-e281ac09.entry.js.map → p-99b5e1a5.entry.js.map} +0 -0
  609. /package/dist/pine-core/{p-ceb48b05.system.entry.js.map → p-a2572675.system.entry.js.map} +0 -0
  610. /package/dist/pine-core/{p-85073252.system.entry.js.map → p-a394645a.system.entry.js.map} +0 -0
  611. /package/dist/pine-core/{p-4e7ca704.entry.js.map → p-abec6606.entry.js.map} +0 -0
  612. /package/dist/pine-core/{p-1b81a8ec.entry.js.map → p-b3d05184.entry.js.map} +0 -0
  613. /package/dist/pine-core/{p-b902f535.entry.js.map → p-b7ba6316.entry.js.map} +0 -0
  614. /package/dist/pine-core/{p-6a716bff.entry.js.map → p-bcc4edaa.entry.js.map} +0 -0
  615. /package/dist/pine-core/{p-9cdd57de.entry.js.map → p-c0f74199.entry.js.map} +0 -0
  616. /package/dist/pine-core/{p-ed8c3064.system.entry.js.map → p-c1b0f921.system.entry.js.map} +0 -0
  617. /package/dist/pine-core/{p-68de979e.entry.js.map → p-c4294be2.entry.js.map} +0 -0
  618. /package/dist/pine-core/{p-7b6b354a.system.entry.js.map → p-d2ccda59.system.entry.js.map} +0 -0
  619. /package/dist/pine-core/{p-6260135d.system.entry.js.map → p-e09a3682.system.entry.js.map} +0 -0
  620. /package/dist/pine-core/{p-792355e6.entry.js.map → p-e2dc81c0.entry.js.map} +0 -0
  621. /package/dist/pine-core/{p-fd9aa739.system.entry.js.map → p-e9d972db.system.entry.js.map} +0 -0
  622. /package/dist/pine-core/{p-eda0dc79.entry.js.map → p-f47133fd.entry.js.map} +0 -0
  623. /package/dist/pine-core/{p-5763df39.system.entry.js.map → p-f9e01886.system.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"pds-popover.js","mappings":"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","names":["PdsPopover","__stencil_proxyCustomElement"],"sources":["src/components/pds-popover/pds-popover.scss?tag=pds-popover&encapsulation=shadow","src/components/pds-popover/pds-popover.tsx"],"sourcesContent":[":host {\n --sizing-max-width-default: 352px;\n\n display: inline-block;\n\n [popover] {\n background-color: var(--pine-color-background-container);\n border: var(--pine-border);\n border-radius: var(--pine-dimension-125);\n box-shadow: var(--pine-box-shadow-200);\n margin: var(--pine-dimension-none);\n max-width: var(--sizing-max-width-default);\n padding: var(--pine-dimension-md);\n position: fixed;\n }\n\n button {\n align-items: center;\n background-color: var(--pine-color-secondary);\n border: var(--pine-border);\n border-radius: var(--pine-border-radius-full);\n color: var(--pine-color-text-secondary);\n display: flex;\n font: var(--pine-typography-body-medium);\n font-family: var(--pine-font-family-heading);\n letter-spacing: var(--pine-letter-spacing);\n min-height: 40px;\n padding: var(--pine-dimension-xs) var(--pine-dimension-sm);\n\n &:focus-visible {\n outline: var(--pine-outline-focus);\n outline-offset: var(--pine-border-width);\n }\n\n &:hover {\n background-color: var(--pine-color-secondary-hover);\n }\n }\n}\n","import { Component, Element, Host, Listen, h, Prop, State } from '@stencil/core';\nimport { PlacementType } from '@utils/types';\n\n@Component({\n tag: 'pds-popover',\n styleUrl: 'pds-popover.scss',\n shadow: true,\n})\nexport class PdsPopover {\n /**\n * Reference to the Host element\n */\n @Element() el: HTMLPdsPopoverElement;\n\n /**\n * Determines when the popover is active\n * @defaultValue false\n */\n @State() active = false;\n\n /**\n * Determines the action that triggers the popover. For manual popovers, the consumer is responsible for toggling this value.\n * @defaultValue \"show\"\n */\n @Prop() popoverTargetAction: 'show' | 'toggle' | 'hide' = 'show';\n\n /**\n * Determines the type of popover. Auto popovers can be \"light dismissed\" by clicking outside of the popover.\n * Manual popovers require the consumer to handle the visibility of the popover.\n */\n @Prop() popoverType: 'auto' | 'manual' = 'auto';\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Text that appears on the trigger element\n */\n @Prop() text: string;\n\n /**\n * Sets the maximum width of the popover content\n * @defaultValue 352\n */\n @Prop() maxWidth?: number = 352;\n\n /**\n * Determines the preferred position of the popover\n * @defaultValue \"right\"\n */\n @Prop({ reflect: true }) placement: PlacementType = 'right';\n\n componentWillRender() {\n this.handlePopoverPositioning();\n }\n\n @Listen('click', {\n capture: true\n })\n handleClick() {\n this.active = !this.active;\n }\n\n @Listen('scroll', {\n target: 'window',\n capture: true\n })\n handleScroll() {\n if (this.active) {\n this.handlePopoverPositioning();\n }\n }\n\n private handlePopoverPositioning() {\n const triggerEl = this.el.shadowRoot.querySelector('.pds-popover__trigger') as HTMLElement;\n const popoverEl = this.el.shadowRoot.querySelector('div[popover]') as HTMLElement;\n\n if (!triggerEl || !popoverEl) return;\n\n const triggerRect = triggerEl.getBoundingClientRect();\n const popoverRect = popoverEl.getBoundingClientRect();\n\n let top = 0;\n let left = 0;\n const offset = 8\n\n switch (this.placement) {\n case 'top':\n top = triggerRect.top - popoverRect.height - offset;\n left = triggerRect.left;\n break;\n case 'right':\n top = triggerRect.top;\n left = triggerRect.right + offset;\n break;\n case 'bottom':\n top = triggerRect.bottom + offset;\n left = triggerRect.left;\n break;\n case 'left':\n top = triggerRect.top;\n left = triggerRect.left - popoverRect.width - offset;\n break;\n }\n\n popoverEl.style.top = `${top}px`;\n popoverEl.style.left = `${left}px`;\n }\n\n render() {\n return (\n <Host>\n <button\n class=\"pds-popover__trigger\"\n popoverTarget={this.componentId}\n popoverTargetAction={this.popoverTargetAction}\n onClick={this.handleClick}\n >\n {this.text}\n </button>\n <div\n class={`pds-popover ${this.active ? 'pds-popover--active' : ''}`}\n id={this.componentId}\n popover={this.popoverType}\n style={{ maxWidth: `${this.maxWidth}px` }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pds-popover.js","mappings":";;AAAA,MAAM,aAAa,GAAG,6/BAA6/B;;MCQtgCA,YAAU,iBAAAC,kBAAA,CAAA,MAAA,UAAA,SAAA,WAAA,CAAA;AALvB,IAAA,WAAA,GAAA;;;;AAWE;;;AAGG;AACM,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;AAEvB;;;AAGG;AACK,QAAA,IAAmB,CAAA,mBAAA,GAA+B,MAAM;AAEhE;;;AAGG;AACK,QAAA,IAAW,CAAA,WAAA,GAAsB,MAAM;AAY/C;;;AAGG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAY,GAAG;AAE/B;;;AAGG;AACsB,QAAA,IAAS,CAAA,SAAA,GAAkB,OAAO;AAiH5D;IA/GC,mBAAmB,GAAA;QACjB,IAAI,CAAC,wBAAwB,EAAE;;IAMjC,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM;;IAO5B,YAAY,GAAA;AACV,QAAA,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,wBAAwB,EAAE;;;IAI3B,wBAAwB,GAAA;AAC9B,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,uBAAuB,CAAgB;AAC1F,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,cAAc,CAAgB;AAEjF,QAAA,IAAI,CAAC,SAAS,IAAI,CAAC,SAAS;YAAE;AAE9B,QAAA,MAAM,WAAW,GAAG,SAAS,CAAC,qBAAqB,EAAE;AACrD,QAAA,MAAM,WAAW,GAAG,SAAS,CAAC,qBAAqB,EAAE;QAErD,IAAI,GAAG,GAAG,CAAC;QACX,IAAI,IAAI,GAAG,CAAC;QACZ,MAAM,MAAM,GAAG,CAAC;AAEhB,QAAA,QAAQ,IAAI,CAAC,SAAS;AACpB,YAAA,KAAK,KAAK;gBACR,GAAG,GAAG,WAAW,CAAC,GAAG,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM;AACnD,gBAAA,IAAI,GAAG,WAAW,CAAC,IAAI,GAAG,CAAC,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,IAAI,CAAC;gBACrE;AACF,YAAA,KAAK,WAAW;gBACd,GAAG,GAAG,WAAW,CAAC,GAAG,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM;AACnD,gBAAA,IAAI,GAAG,WAAW,CAAC,IAAI;gBACvB;AACF,YAAA,KAAK,SAAS;gBACZ,GAAG,GAAG,WAAW,CAAC,GAAG,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM;gBACnD,IAAI,GAAG,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK;gBAC5C;AACF,YAAA,KAAK,OAAO;AACV,gBAAA,GAAG,GAAG,WAAW,CAAC,GAAG,GAAG,CAAC,WAAW,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,IAAI,CAAC;AACrE,gBAAA,IAAI,GAAG,WAAW,CAAC,KAAK,GAAG,MAAM;gBACjC;AACF,YAAA,KAAK,aAAa;AAChB,gBAAA,GAAG,GAAG,WAAW,CAAC,GAAG;AACrB,gBAAA,IAAI,GAAG,WAAW,CAAC,KAAK,GAAG,MAAM;gBACjC;AACF,YAAA,KAAK,WAAW;gBACd,GAAG,GAAG,WAAW,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM;AAC7C,gBAAA,IAAI,GAAG,WAAW,CAAC,KAAK,GAAG,MAAM;gBACjC;AACF,YAAA,KAAK,QAAQ;AACX,gBAAA,GAAG,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM;AACjC,gBAAA,IAAI,GAAG,WAAW,CAAC,IAAI,GAAG,CAAC,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,IAAI,CAAC;gBACrE;AACF,YAAA,KAAK,cAAc;AACjB,gBAAA,GAAG,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM;AACjC,gBAAA,IAAI,GAAG,WAAW,CAAC,IAAI;gBACvB;AACF,YAAA,KAAK,YAAY;AACf,gBAAA,GAAG,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM;gBACjC,IAAI,GAAG,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK;gBAC5C;AACF,YAAA,KAAK,MAAM;AACT,gBAAA,GAAG,GAAG,WAAW,CAAC,GAAG,GAAG,CAAC,WAAW,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,IAAI,CAAC;gBACrE,IAAI,GAAG,WAAW,CAAC,IAAI,GAAG,WAAW,CAAC,KAAK,GAAG,MAAM;gBACpD;AACF,YAAA,KAAK,YAAY;AACf,gBAAA,GAAG,GAAG,WAAW,CAAC,GAAG;gBACrB,IAAI,GAAG,WAAW,CAAC,IAAI,GAAG,WAAW,CAAC,KAAK,GAAG,MAAM;gBACpD;AACF,YAAA,KAAK,UAAU;gBACb,GAAG,GAAG,WAAW,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM;gBAC7C,IAAI,GAAG,WAAW,CAAC,IAAI,GAAG,WAAW,CAAC,KAAK,GAAG,MAAM;gBACpD;;QAGJ,SAAS,CAAC,KAAK,CAAC,GAAG,GAAG,CAAG,EAAA,GAAG,IAAI;QAChC,SAAS,CAAC,KAAK,CAAC,IAAI,GAAG,CAAG,EAAA,IAAI,IAAI;;IAGpC,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CACE,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,sBAAsB,EAC5B,aAAa,EAAE,IAAI,CAAC,WAAW,EAC/B,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,EAC7C,OAAO,EAAE,IAAI,CAAC,WAAW,EAExB,EAAA,IAAI,CAAC,IAAI,CACH,EACT,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE,CAAA,YAAA,EAAe,IAAI,CAAC,MAAM,GAAG,qBAAqB,GAAG,EAAE,CAAA,CAAE,EAChE,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,KAAK,EAAE,EAAE,QAAQ,EAAE,CAAA,EAAG,IAAI,CAAC,QAAQ,CAAI,EAAA,CAAA,EAAE,EAAA,EAEzC,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsPopover","__stencil_proxyCustomElement"],"sources":["src/components/pds-popover/pds-popover.scss?tag=pds-popover&encapsulation=shadow","src/components/pds-popover/pds-popover.tsx"],"sourcesContent":[":host {\n --sizing-max-width-default: 352px;\n\n display: inline-block;\n\n [popover] {\n background-color: var(--pine-color-background-container);\n border: var(--pine-border);\n border-radius: var(--pine-dimension-125);\n box-shadow: var(--pine-box-shadow-200);\n margin: var(--pine-dimension-none);\n max-width: var(--sizing-max-width-default);\n padding: var(--pine-dimension-md);\n position: fixed;\n }\n\n button {\n align-items: center;\n background-color: var(--pine-color-secondary);\n border: var(--pine-border);\n border-radius: var(--pine-border-radius-full);\n color: var(--pine-color-text-secondary);\n display: flex;\n font: var(--pine-typography-body-medium);\n font-family: var(--pine-font-family-heading);\n letter-spacing: var(--pine-letter-spacing);\n min-height: 40px;\n padding: var(--pine-dimension-xs) var(--pine-dimension-sm);\n\n &:focus-visible {\n outline: var(--pine-outline-focus);\n outline-offset: var(--pine-border-width);\n }\n\n &:hover {\n background-color: var(--pine-color-secondary-hover);\n }\n }\n}\n","import { Component, Element, Host, Listen, h, Prop, State } from '@stencil/core';\nimport { PlacementType } from '@utils/types';\n\n@Component({\n tag: 'pds-popover',\n styleUrl: 'pds-popover.scss',\n shadow: true,\n})\nexport class PdsPopover {\n /**\n * Reference to the Host element\n */\n @Element() el: HTMLPdsPopoverElement;\n\n /**\n * Determines when the popover is active\n * @defaultValue false\n */\n @State() active = false;\n\n /**\n * Determines the action that triggers the popover. For manual popovers, the consumer is responsible for toggling this value.\n * @defaultValue \"show\"\n */\n @Prop() popoverTargetAction: 'show' | 'toggle' | 'hide' = 'show';\n\n /**\n * Determines the type of popover. Auto popovers can be \"light dismissed\" by clicking outside of the popover.\n * Manual popovers require the consumer to handle the visibility of the popover.\n */\n @Prop() popoverType: 'auto' | 'manual' = 'auto';\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Text that appears on the trigger element\n */\n @Prop() text: string;\n\n /**\n * Sets the maximum width of the popover content\n * @defaultValue 352\n */\n @Prop() maxWidth?: number = 352;\n\n /**\n * Determines the preferred position of the popover\n * @defaultValue \"right\"\n */\n @Prop({ reflect: true }) placement: PlacementType = 'right';\n\n componentWillRender() {\n this.handlePopoverPositioning();\n }\n\n @Listen('click', {\n capture: true\n })\n handleClick() {\n this.active = !this.active;\n }\n\n @Listen('scroll', {\n target: 'window',\n capture: true\n })\n handleScroll() {\n if (this.active) {\n this.handlePopoverPositioning();\n }\n }\n\n private handlePopoverPositioning() {\n const triggerEl = this.el.shadowRoot.querySelector('.pds-popover__trigger') as HTMLElement;\n const popoverEl = this.el.shadowRoot.querySelector('div[popover]') as HTMLElement;\n\n if (!triggerEl || !popoverEl) return;\n\n const triggerRect = triggerEl.getBoundingClientRect();\n const popoverRect = popoverEl.getBoundingClientRect();\n\n let top = 0;\n let left = 0;\n const offset = 8\n\n switch (this.placement) {\n case 'top':\n top = triggerRect.top - popoverRect.height - offset;\n left = triggerRect.left + (triggerRect.width - popoverRect.width) / 2;\n break;\n case 'top-start':\n top = triggerRect.top - popoverRect.height - offset;\n left = triggerRect.left;\n break;\n case 'top-end':\n top = triggerRect.top - popoverRect.height - offset;\n left = triggerRect.right - popoverRect.width;\n break;\n case 'right':\n top = triggerRect.top + (triggerRect.height - popoverRect.height) / 2;\n left = triggerRect.right + offset;\n break;\n case 'right-start':\n top = triggerRect.top;\n left = triggerRect.right + offset;\n break;\n case 'right-end':\n top = triggerRect.bottom - popoverRect.height;\n left = triggerRect.right + offset;\n break;\n case 'bottom':\n top = triggerRect.bottom + offset;\n left = triggerRect.left + (triggerRect.width - popoverRect.width) / 2;\n break;\n case 'bottom-start':\n top = triggerRect.bottom + offset;\n left = triggerRect.left;\n break;\n case 'bottom-end':\n top = triggerRect.bottom + offset;\n left = triggerRect.right - popoverRect.width;\n break;\n case 'left':\n top = triggerRect.top + (triggerRect.height - popoverRect.height) / 2;\n left = triggerRect.left - popoverRect.width - offset;\n break;\n case 'left-start':\n top = triggerRect.top;\n left = triggerRect.left - popoverRect.width - offset;\n break;\n case 'left-end':\n top = triggerRect.bottom - popoverRect.height;\n left = triggerRect.left - popoverRect.width - offset;\n break;\n }\n\n popoverEl.style.top = `${top}px`;\n popoverEl.style.left = `${left}px`;\n }\n\n render() {\n return (\n <Host>\n <button\n class=\"pds-popover__trigger\"\n popoverTarget={this.componentId}\n popoverTargetAction={this.popoverTargetAction}\n onClick={this.handleClick}\n >\n {this.text}\n </button>\n <div\n class={`pds-popover ${this.active ? 'pds-popover--active' : ''}`}\n id={this.componentId}\n popover={this.popoverType}\n style={{ maxWidth: `${this.maxWidth}px` }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -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: 'a0a7cde165c1acc884366dfe7a368db5d7c4150e', class: this.animated ? { 'is-animated': this.animated } : '' }, h("div", { key: 'c2a8f262e0a6393448a0bc8a05dc49f30c451754', class: "pds-progress" }, h("label", { key: '422c51d5b06ef6d99e23cb2721b861ba9611b1df', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: '57081cc95c8bb44d6fa26cd7d1f7933108982165', id: this.componentId, max: "100", style: this.fillColor ? { '--color-progress-fill': this.fillColor } : {}, value: this.percent })), this.showPercent && h("div", { key: '37b88967a8584b43407314b0ba70faf4e43a9e5a', class: "pds-progress__percentage" }, this.percent, "%")));
27
+ return (h(Host, { key: '71ce602dccee62ee76ef51c3994af86829399452', class: this.animated ? { 'is-animated': this.animated } : '' }, h("div", { key: 'c26188786bcfd4d6f039050032cd48982327355e', class: "pds-progress" }, h("label", { key: 'e18f75dae8fcf3fde684156638cc47f9d5e253dd', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: '37a5bb5609e25912c006a89dd0bbc244cfa5896b', id: this.componentId, max: "100", style: this.fillColor ? { '--color-progress-fill': this.fillColor } : {}, value: this.percent })), this.showPercent && h("div", { key: '68e859cafbcf74c74fc3b72a5347fb03eda83556', class: "pds-progress__percentage" }, this.percent, "%")));
28
28
  }
29
29
  static get style() { return pdsProgressCss; }
30
30
  }, [1, "pds-progress", {
@@ -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: '7366c979970c03d9c6b26d355ba2f14c2e040907', class: this.classNames() }, h("label", { key: 'c48405dc725f4d7b0a027e66c3b0b04e72843445', htmlFor: this.componentId }, h("input", { key: 'cd38a200a73572d2f07ada9bc1ec08cae0863044', "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: 'a21fb68b4326afb2bf25b08cf6022cd26f3c83ba', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
56
- h("div", { key: 'b4c201465e085096ac5fac05e43b01cee045310e', class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
57
- h("div", { key: '2c0475efbe1ebedd762de9d432864f5dab8f0448', class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '40ece3a429d9475c17f262d772cdb7332a7089b2', icon: danger, size: "small" }), this.errorMessage)));
55
+ return (h(Host, { key: 'a31d9cd94150a104a83595043dc003fa5d9779a2', class: this.classNames() }, h("label", { key: '1d71e515a00c25bbaac7d0420f4a4ee6a5189836', htmlFor: this.componentId }, h("input", { key: '800b2bbf703e68fbf60f62d6c28228759d976436', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "radio", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleRadioChange }), h("span", { key: '33c241168498b07a25dfc5ac6f9244eb3ce93547', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
56
+ h("div", { key: 'f159de72b68a0f1bf07abb52d50a0d6d89b4f766', class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
57
+ h("div", { key: 'fb5877c78e519db27964308c1607ab58fc2fcb08', class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '1385571ed511a800778d64edf48e2853a1c4793e', icon: danger, size: "small" }), this.errorMessage)));
58
58
  }
59
59
  static get style() { return labelCss + pdsRadioCss; }
60
60
  }, [2, "pds-radio", {
@@ -38,7 +38,7 @@ const PdsRow$1 = /*@__PURE__*/ proxyCustomElement(class PdsRow extends HTMLEleme
38
38
  })), (this.minHeight && {
39
39
  'min-height': this.minHeight,
40
40
  }));
41
- return h(Host, { key: 'e898a1a24bbb1177b024d2c87d9388b136c8bde9', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
41
+ return h(Host, { key: '2e962d6f8edd5023b3d8d7c8192e4f4ea2b2d2be', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
42
42
  }
43
43
  static get style() { return pdsRowCss; }
44
44
  }, [0, "pds-row", {
@@ -125,8 +125,8 @@ const PdsSelect$1 = /*@__PURE__*/ proxyCustomElement(class PdsSelect extends HTM
125
125
  return classNames.join(' ');
126
126
  }
127
127
  render() {
128
- return (h(Host, { key: '6eea9a5492e4b7e415922bce0aa8f2295792a9e4', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames() }, h("div", { key: '3180e1eff494f846f395d9db6730926d86d1e54a', class: "pds-select" }, this.label &&
129
- h("label", { key: '90dc521ef10b81a9f58a0f0a2cfa4bc685312119', htmlFor: this.componentId }, this.label), h("select", { key: 'd6576d25601de6c41893568927b64e530bf9f266', autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onChange: this.onSelectUpdate, required: this.required, ref: (el) => (this.selectEl = el) }), h("div", { key: '87c53bb7bf315e170f60e5b58afcbf623d1aa65c', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '8cafbc8cc8e23de0ab69b9d6b7d23c896df530b6', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: '48758d321edbd38ff6bd31ddd1902627202e196e', class: "pds-select__select-icon", icon: enlarge }))));
128
+ return (h(Host, { key: '2d39b1eac389e27eea511728ef668d4d548d0c09', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames() }, h("div", { key: 'c0c4e64a19b7b11e0d64d94cbc529be7e455b12a', class: "pds-select" }, this.label &&
129
+ h("label", { key: '9eadfcc4e6fd6d42f718eb0ad1542f7c03b67052', htmlFor: this.componentId }, this.label), h("select", { key: 'eb1d368ed4f765dead79f6101265e922bd06ca94', autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onChange: this.onSelectUpdate, required: this.required, ref: (el) => (this.selectEl = el) }), h("div", { key: '1dcbfe5d51e55af333e80bb99995cef1693f36c1', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '4d0c76c632e9588dc178c859be5ef1fd474fa191', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: '954d31034ed522ba128c9048998e92553592d12f', class: "pds-select__select-icon", icon: enlarge }))));
130
130
  }
131
131
  static get watchers() { return {
132
132
  "value": ["valueChanged"]
@@ -28,7 +28,7 @@ const PdsSortableItem$1 = /*@__PURE__*/ proxyCustomElement(class PdsSortableItem
28
28
  }
29
29
  }
30
30
  render() {
31
- return (h(Host, { key: '1a5e7d46d027bf6aa95b9d688e390ab42a40cc8d', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: 'a6653d963a7a8f39937507dd94042943b4627686', class: "pds-sortable-item__handle" }, h("pds-icon", { key: 'a5c340eaf2f3f4d3fb4a0cc66371444d8844b078', icon: handle }))), h("slot", { key: '647f24778a2450c040596c6bea279236b0148e0f' }), this.enableActions && (h("div", { key: '7b8c76b0519c21fe0bd29cb5ef3f213296f30ef4', class: "pds-sortable-item__actions" }, h("slot", { key: '636480cd939b04ed739a2e6a7dbc489680a18a57', name: "sortable-item-actions" })))));
31
+ return (h(Host, { key: 'b54ef05cc6a8f2dd3c6f7f971b32bd4566738600', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: 'fa402ec9c8ad9a75a73a23c28d2a5101bcf3d170', class: "pds-sortable-item__handle" }, h("pds-icon", { key: 'def73620ade698eccc0fb8abb4dfeb5b7de46c95', icon: handle }))), h("slot", { key: 'd9dfcc135b7bd8bf893360798baa30297d4fb4ea' }), this.enableActions && (h("div", { key: 'd0852370b35b213238739cea2aa1c3dcd91cbd9d', class: "pds-sortable-item__actions" }, h("slot", { key: 'cbf966a4c56be43ced57e200b91d64e68f5077d9', 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: 'd120089730b34d5e787a34439f5d308e0c476c7a', class: this.classNames(), id: this.componentId }, h("slot", { key: 'b796c6aca1acde55085163049ecb869952cf8fb6' })));
2715
+ return (h(Host, { key: 'cbbd28ad002093f627befee44c5ae911f86b0221', class: this.classNames(), id: this.componentId }, h("slot", { key: 'f4ef09a82d8e47b471a2463912fd37ac3b9b383f' })));
2716
2716
  }
2717
2717
  get el() { return this; }
2718
2718
  static get style() { return pdsSortableCss; }
@@ -53,9 +53,9 @@ const PdsSwitch$1 = /*@__PURE__*/ proxyCustomElement(class PdsSwitch extends HTM
53
53
  this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '1ccbfafc2087558aae2fe82c9a97c640a9c3ab66', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("label", { key: '9cd218cace5c432f57f03514c91c27ba32eeb97f', htmlFor: this.componentId }, h("input", Object.assign({ key: 'ce995e0706a576dd36a4f1b31ca862ae614f7e2d', "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: 'ea20d65944a429e24b8bd0ae58dafd7ece29e9a7', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
57
- h("div", { key: '45656b263c5169d0c6b60dd19e8537e0f12df342', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
58
- h("div", { key: '53ca563b419ce20ff4f4c81c90eee8f687e355b8', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'b8e38204aea3e9e1c542d5c945f57d389d800b66', icon: danger, size: "small" }), this.errorMessage)));
56
+ return (h(Host, { key: '04755f80f89f4eff8d44f8c8e76e6020f6be65fb', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("label", { key: 'cdf1c4d58c640954ada9d50b4832fa26094b3476', htmlFor: this.componentId }, h("input", Object.assign({ key: 'f141885523b649f8dca4e9fe11494ebf640510bc', "aria-describedby": assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, checked: this.checked, class: "pds-switch__input", disabled: this.disabled, id: this.componentId, name: this.name ? this.name : this.componentId, onChange: this.onSwitchUpdate, required: this.required, type: "checkbox", value: this.value }, this.inheritedAttributes)), h("span", { key: 'f80b28bd0904dfae3a4e7b46bfecc46c82843764', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
57
+ h("div", { key: '7b60b9c273f4773f9d0e90fd8132dc979c088183', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
58
+ h("div", { key: '9d068c8da41e985ff63851a909f985a80bdabf89', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '14a69e6ce04e3434f440f19d6ea0e9b347a9b352', icon: danger, size: "small" }), this.errorMessage)));
59
59
  }
60
60
  get el() { return this; }
61
61
  static get style() { return labelCss + pdsSwitchCss; }
@@ -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: 'f03f2a822bc603cf61483202ae9a249b8586ed02', class: "pds-tab-edge", role: "presentation" }));
21
- const availabilityTabEdgeInlineEnd = (h("span", { key: 'ccf11be9b997f174b555021cd50e07a4128c7182', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
22
- return (h(Host, { key: '8643374d23c0e3329f4f39f4ee5c025f95a06b30', variant: this.variant, slot: "tabs", index: this.index }, h("button", { key: '469df7696312659dd0af97561fb92aad22f054c0', 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: 'e759f2c4d52db51f0b92bf4424bcc42d6b266e37', class: "pds-tab__content" }, h("slot", { key: '88226acf10ef132470aeefad0459dd377609b325' })))));
20
+ const availabilityTabEdgeInlineStart = (h("span", { key: '5256039455be2b9e0dbfd18caf5a7a4f6ca2f047', class: "pds-tab-edge", role: "presentation" }));
21
+ const availabilityTabEdgeInlineEnd = (h("span", { key: 'c65bc9ccb5a43ee1c1f634fa19c4ac6d66259747', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
22
+ return (h(Host, { key: '0f379e0d4cce1590dc917196dd520b26bb5e89d9', variant: this.variant, slot: "tabs", index: this.index }, h("button", { key: '70b033b21ff9093b2393565c026ff4954d74dbf3', role: "tab", id: this.parentComponentId + "__" + this.name, "aria-controls": this.parentComponentId + "__" + this.name + "-panel", tabindex: this.selected ? "0" : "-1", "aria-selected": this.selected ? "true" : "false", class: this.selected ? "pds-tab is-active" : "pds-tab", onClick: this.onTabClick.bind(this, this.index, this.parentComponentId) }, this.variant === "availability" && availabilityTabEdgeInlineStart, this.variant === "availability" && availabilityTabEdgeInlineEnd, h("div", { key: 'b01547140256199ec4e829a83e11ea27d059e0ea', class: "pds-tab__content" }, h("slot", { key: '7dce311009731af53a4b6fff4af6e90f91a060a7' })))));
23
23
  }
24
24
  get el() { return this; }
25
25
  static get style() { return pdsTabCss; }
@@ -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: 'c01028ed3108a0404ef3da77f1cf7a3b97a40b52', role: "rowgroup" }, h("slot", { key: 'f8491f02e732d28b01bc9cf2436c6edca3cbfc0e' })));
12
+ return (h(Host, { key: 'ec68d794fd59876a83f40077d29e97af4366f19a', role: "rowgroup" }, h("slot", { key: '9d052cdf3c0ea8afa86a6900d492c9de5c9adaf1' })));
13
13
  }
14
14
  static get style() { return pdsTableBodyCss; }
15
15
  }, [1, "pds-table-body"]);
@@ -43,11 +43,11 @@ const PdsTableCell = /*@__PURE__*/ proxyCustomElement(class PdsTableCell extends
43
43
  return classNames.join(' ');
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: '4d7c288150875806711b91436c2673fb3cb55ee6', class: this.classNames(), role: "gridcell", style: this.tableRef &&
46
+ return (h(Host, { key: 'f86b2ae5eaee0f3bcb1cd55951a0e83bce4ccfca', class: this.classNames(), role: "gridcell", style: this.tableRef &&
47
47
  this.tableRef.fixedColumn &&
48
48
  this.tableRef.selectable
49
49
  ? { '--fixed-cell-position': '40px' }
50
- : {} }, h("slot", { key: '817efadaba22b60410fffc5a41bcacc2d9656939' })));
50
+ : {} }, h("slot", { key: '347d6487bc869bf9903c5e1fb8b05ca29d6e6d50' })));
51
51
  }
52
52
  get hostElement() { return this; }
53
53
  static get style() { return pdsTableCellCss; }
@@ -69,11 +69,11 @@ const PdsTableHeadCell = /*@__PURE__*/ proxyCustomElement(class PdsTableHeadCell
69
69
  return classNames.join(' ');
70
70
  }
71
71
  render() {
72
- return (h(Host, { key: '8b7b8472a8e7f05e8f5b3c7cc3de2cd45c7f3f57', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
72
+ return (h(Host, { key: '9f9138f88914add530416fbf776d5a68685a3fab', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
73
73
  this.tableRef.fixedColumn &&
74
74
  this.tableRef.selectable
75
75
  ? { '--fixed-cell-position': '40px' }
76
- : {} }, h("slot", { key: '86266623f850b38494eb9f2cbca9baf54e082d7e' }), this.sortable && (h("pds-icon", { key: 'e1e7f058ecab154e50ae3200b75de55244b31428', icon: this.sortingDirection === 'asc' ? upSmall : downSmall }))));
76
+ : {} }, h("slot", { key: '84d3c20fc656b468d6c46cc9f5a8c49071af7d04' }), this.sortable && (h("pds-icon", { key: '4ad357565f9542604c16ade571bc5e55b4fa1077', icon: this.sortingDirection === 'asc' ? upSmall : downSmall }))));
77
77
  }
78
78
  get hostElement() { return this; }
79
79
  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: '13fc9ae7847a0fcb938b335b8b3c3aa6d243e387', role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: '960af222613758a88bd140a1d0aaec51114834df', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, h("pds-checkbox", { key: '1b3bead263f15861010c2229b50dc8bcf9a08524', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", hideLabel: true, checked: this.isSelected }))), h("slot", { key: '922d1b7aa67a44c91bbc70cc4d0e07abcada73aa' })));
45
+ return (h(Host, { key: 'f74bfa35afc2f26957ffff431c5438fbb159e15b', role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: '13bcfb69c1e8ab696ba702d39209944fa97f34ea', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, h("pds-checkbox", { key: '898170f579ad89627621bb693908b1b04ca25f83', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", hideLabel: true, checked: this.isSelected }))), h("slot", { key: 'd7dc459310c32ee112e05df947b8c9da57180035' })));
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: '8dfdc0200b16d9db1988eb655540eeae40baaffc', class: this.classNames(), role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-cell", { key: '120ea20f06308f95ea77e5c2f0664b673b367f3b', part: this.tableRef.fixedColumn ? 'checkbox-cell' : '', class: this.tableRef.selectable ? 'has-checkbox' : '' }, h("pds-checkbox", { key: 'eaf6e41d00b5f5664d7ed99a993202c871822d0a', componentId: this.generateUniqueId(), onClick: this.handleClick, indeterminate: this.indeterminate, label: "Select Row", hideLabel: true, checked: this.isSelected }))), h("slot", { key: 'e87e93a24e87b2a8faffd47fd4e4c1f22e63916c' })));
56
+ return (h(Host, { key: 'd3ebaeea3a8007634ea821da5a458189a36837a7', class: this.classNames(), role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-cell", { key: '62705fadc9cdb18de2eebd4c608c0dffa119cfba', part: this.tableRef.fixedColumn ? 'checkbox-cell' : '', class: this.tableRef.selectable ? 'has-checkbox' : '' }, h("pds-checkbox", { key: '19e01d4eef0657f7e34a5a9061e568a18eb9b7c6', componentId: this.generateUniqueId(), onClick: this.handleClick, indeterminate: this.indeterminate, label: "Select Row", hideLabel: true, checked: this.isSelected }))), h("slot", { key: '59b3c28a61f36f9ea6e891876bf007590a7cce51' })));
57
57
  }
58
58
  get hostElement() { return this; }
59
59
  static get style() { return pdsTableRowCss; }
@@ -91,7 +91,7 @@ const PdsTable$1 = /*@__PURE__*/ proxyCustomElement(class PdsTable extends HTMLE
91
91
  headerCheckbox.indeterminate = !allSelectedRows && !noneSelectedRows;
92
92
  }
93
93
  render() {
94
- return (h(Host, { key: '7208900f692fa61b763567f14cc505a9c0a8fd88', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable, tabindex: "0" }, h("slot", { key: '03f938219c8e0efd224b69e41db95f9f1b8b91c5' })));
94
+ return (h(Host, { key: 'b874cdb2b0f0dcc313befdd557d5ce4203a183ac', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable, tabindex: "0" }, h("slot", { key: '52bcce99761712662828ba5a708155410de6e15d' })));
95
95
  }
96
96
  get el() { return this; }
97
97
  static get style() { return pdsTableCss; }
@@ -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: 'aef4969e26b1f6e98eebdba3bcfe7bebe2d75e52', slot: "tabpanels" }, h("div", { key: 'e90ebc7253b40a7c9d5e120584e8887855d3730c', 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: '79d03b545cf3fc73c54d660eb46661d5d1adbe64' }))));
16
+ return (h(Host, { key: 'fe7548d8da3149d13d23b41d6860beb1f351b3c6', slot: "tabpanels" }, h("div", { key: 'bf50bfc20be721ba467ff22ba24f0410153223f5', role: "tabpanel", id: this.parentComponentId + "__" + this.name + '-panel', tabindex: "0", "aria-labelledby": this.parentComponentId + "__" + this.name, class: this.selected ? "pds-tabpanel is-active" : "pds-tabpanel" }, h("slot", { key: '3de1657e963e7e9fca81fac07f78edc064cd86e7' }))));
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: '33e22ebb5d4ae476cef5c4c95cb455b1c54fd083', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, h("div", { key: '7219b9019640a50cfae5442b36ece10aff6a5e51', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, h("slot", { key: '32e2c4f0a1feec88f3693c720019b548932687ff', name: "tabs" })), h("slot", { key: '6235cfb2ef48346a96239c4a619c3ae900f6101e', name: "tabpanels" })));
83
+ return (h(Host, { key: '571b33280e4473d1a8bef6e90103c4d42a29ed03', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, h("div", { key: 'c50a6cd3b8a06e13ff14626258769b7918f57ed0', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, h("slot", { key: '1fcbefc41181ce48f2a109ee0703d03f9975784f', name: "tabs" })), h("slot", { key: '9762d5533cbbea5672f2a4235b90b3a766066179', name: "tabpanels" })));
84
84
  }
85
85
  get el() { return this; }
86
86
  static get style() { return pdsTabsCss; }
@@ -1,56 +1,4 @@
1
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { s as setColor } from './utils.js';
3
-
4
- const pdsTextCss = ":host{display:inline}:host([decoration=underline-dotted])>*{-webkit-text-decoration-color:var(--pine-color-grey-600);text-decoration-color:var(--pine-color-grey-600);-webkit-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-style:dotted;text-decoration-style:dotted;text-decoration-thickness:12%;text-underline-offset:0.3rem;text-underline-position:under}:host([decoration=strikethrough])>*{text-decoration:line-through}h1{font:var(--pine-typography-heading-1);letter-spacing:var(--pine-letter-spacing-heading-1)}h2{font:var(--pine-typography-heading-2);letter-spacing:var(--pine-letter-spacing-heading-2)}h3{font:var(--pine-typography-heading-3);letter-spacing:var(--pine-letter-spacing-heading-3)}h4{font:var(--pine-typography-heading-4);letter-spacing:var(--pine-letter-spacing-heading-4)}h5{font:var(--pine-typography-heading-5);letter-spacing:var(--pine-letter-spacing-heading-5)}h6{font:var(--pine-typography-heading-6);letter-spacing:var(--pine-letter-spacing-heading-6)}code,em,p,pre,strong{font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing)}code,pre{font-family:monospace;letter-spacing:0;line-height:1}em{font-style:normal}strong{font-weight:bolder}:host([truncate])>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([italic])>*{font-style:italic}.pds-text{color:var(--color, var(--pine-color-text));margin:var(--pine-dimension-none)}.pds-text--size-2xl{font-size:var(--pine-font-size-body-2xl)}.pds-text--size-xl{font-size:var(--pine-font-size-body-xl)}.pds-text--size-lg{font-size:var(--pine-font-size-body-lg)}.pds-text--size-md{font-size:var(--pine-font-size-body-md)}.pds-text--size-sm{font-size:var(--pine-font-size-body-sm)}.pds-text--size-xs{font-size:var(--pine-font-size-body-xs)}.pds-text--size-2xs{font-size:var(--pine-font-size-body-2xs)}.pds-text--size-h1{font-size:var(--pine-font-size-heading-1)}.pds-text--size-h2{font-size:var(--pine-font-size-heading-2)}.pds-text--size-h3{font-size:var(--pine-font-size-heading-3)}.pds-text--size-h4{font-size:var(--pine-font-size-heading-4)}.pds-text--size-h5{font-size:var(--pine-font-size-heading-5)}.pds-text--size-h6{font-size:var(--pine-font-size-heading-6)}.pds-text--weight-extra-light{font-weight:var(--pine-font-weight-extra-light)}.pds-text--weight-light{font-weight:var(--pine-font-weight-light)}.pds-text--weight-regular{font-weight:var(--pine-font-weight-regular)}.pds-text--weight-medium{font-weight:var(--pine-font-weight-medium)}.pds-text--weight-semibold{font-weight:var(--pine-font-weight-semi-bold)}.pds-text--weight-bold{font-weight:var(--pine-font-weight-bold)}.pds-text--gutter-2xl{-webkit-margin-after:var(--pine-dimension-2xl);margin-block-end:var(--pine-dimension-2xl)}.pds-text--gutter-xl{-webkit-margin-after:var(--pine-dimension-xl);margin-block-end:var(--pine-dimension-xl)}.pds-text--gutter-lg{-webkit-margin-after:var(--pine-dimension-lg);margin-block-end:var(--pine-dimension-lg)}.pds-text--gutter-md{-webkit-margin-after:var(--pine-dimension-md);margin-block-end:var(--pine-dimension-md)}.pds-text--gutter-sm{-webkit-margin-after:var(--pine-dimension-sm);margin-block-end:var(--pine-dimension-sm)}.pds-text--gutter-xs{-webkit-margin-after:var(--pine-dimension-xs);margin-block-end:var(--pine-dimension-xs)}.pds-text--gutter-2xs{-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-text--align-start{text-align:start}.pds-text--align-center{text-align:center}.pds-text--align-end{text-align:end}.pds-text--align-justify{text-align:justify}";
5
-
6
- const PdsText$1 = /*@__PURE__*/ proxyCustomElement(class PdsText extends HTMLElement {
7
- constructor() {
8
- super();
9
- this.__registerHost();
10
- this.__attachShadow();
11
- /**
12
- * Determines what semantic text tag to render.
13
- */
14
- this.tag = "p";
15
- }
16
- render() {
17
- const Tag = this.tag;
18
- const typeClasses = `
19
- pds-text
20
- ${this.align !== undefined && this.align.trim() !== '' ? `pds-text--align-${this.align}` : ''}
21
- ${this.gutter !== undefined && this.gutter.trim() !== '' ? `pds-text--gutter-${this.gutter}` : ''}
22
- ${this.size !== undefined && this.size.trim() !== '' ? `pds-text--size-${this.size}` : ''}
23
- ${this.weight !== undefined && this.weight.trim() !== '' ? `pds-text--weight-${this.weight}` : ''}
24
- ${this.decoration !== undefined && this.decoration.trim() !== '' ? `pds-text--decoration-${this.decoration}` : ''}
25
- `;
26
- return (h(Tag, { key: '1c2ed722c094e0c6181fac5ea3ba2a2ef6751b33', style: this.color && setColor(this.color), class: typeClasses }, h("slot", { key: 'd1ba6f29df4f8b809a2a900c23c6c77480d3e3ca' })));
27
- }
28
- get el() { return this; }
29
- static get style() { return pdsTextCss; }
30
- }, [1, "pds-text", {
31
- "align": [1],
32
- "color": [1],
33
- "decoration": [1],
34
- "gutter": [1],
35
- "italic": [4],
36
- "size": [1],
37
- "weight": [1],
38
- "tag": [1],
39
- "truncate": [4]
40
- }]);
41
- function defineCustomElement$1() {
42
- if (typeof customElements === "undefined") {
43
- return;
44
- }
45
- const components = ["pds-text"];
46
- components.forEach(tagName => { switch (tagName) {
47
- case "pds-text":
48
- if (!customElements.get(tagName)) {
49
- customElements.define(tagName, PdsText$1);
50
- }
51
- break;
52
- } });
53
- }
1
+ import { P as PdsText$1, d as defineCustomElement$1 } from './pds-text2.js';
54
2
 
55
3
  const PdsText = PdsText$1;
56
4
  const defineCustomElement = defineCustomElement$1;
@@ -1 +1 @@
1
- {"file":"pds-text.js","mappings":";;;AAAA,MAAM,UAAU,GAAG,m+GAAm+G;;MCQz+GA,SAAO,iBAAAC,kBAAA,CAAA,MAAA,OAAA,SAAA,WAAA,CAAA;AALpB,IAAA,WAAA,GAAA;;;;AAsEE;;AAEG;AACK,QAAA,IAAG,CAAA,GAAA,GAWF,GAAG;AAyBb;IAlBC,MAAM,GAAA;AACJ,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG;AAEpB,QAAA,MAAM,WAAW,GAAG;;QAEhB,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAA,gBAAA,EAAmB,IAAI,CAAC,KAAK,CAAE,CAAA,GAAG,EAAE;QAC3F,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAA,iBAAA,EAAoB,IAAI,CAAC,MAAM,CAAE,CAAA,GAAG,EAAE;QAC/F,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAA,eAAA,EAAkB,IAAI,CAAC,IAAI,CAAE,CAAA,GAAG,EAAE;QACvF,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAA,iBAAA,EAAoB,IAAI,CAAC,MAAM,CAAE,CAAA,GAAG,EAAE;QAC/F,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAA,qBAAA,EAAwB,IAAI,CAAC,UAAU,CAAE,CAAA,GAAG,EAAE;KAClH;AAED,QAAA,QACE,CAAC,CAAA,GAAG,qDAAC,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,WAAW,EAAA,EAChE,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsText","__stencil_proxyCustomElement"],"sources":["src/components/pds-text/pds-text.scss?tag=pds-text&encapsulation=shadow","src/components/pds-text/pds-text.tsx"],"sourcesContent":[":host {\n display: inline;\n}\n\n:host([decoration=\"underline-dotted\"]) > * {\n text-decoration-color: var(--pine-color-grey-600);\n text-decoration-line: underline;\n text-decoration-style: dotted;\n text-decoration-thickness: 12%;\n text-underline-offset: 0.3rem;\n text-underline-position: under;\n}\n\n:host([decoration=\"strikethrough\"])>* {\n text-decoration: line-through;\n}\n\n/* stylelint-disable */\nh1 {\n font: var(--pine-typography-heading-1);\n letter-spacing: var(--pine-letter-spacing-heading-1);\n}\n\nh2 {\n font: var(--pine-typography-heading-2);\n letter-spacing: var(--pine-letter-spacing-heading-2);\n}\n\nh3 {\n font: var(--pine-typography-heading-3);\n letter-spacing: var(--pine-letter-spacing-heading-3);\n}\n\nh4 {\n font: var(--pine-typography-heading-4);\n letter-spacing: var(--pine-letter-spacing-heading-4);\n}\n\nh5 {\n font: var(--pine-typography-heading-5);\n letter-spacing: var(--pine-letter-spacing-heading-5);\n}\n\nh6 {\n font: var(--pine-typography-heading-6);\n letter-spacing: var(--pine-letter-spacing-heading-6);\n}\n\ncode, em, p, pre, strong {\n font: var(--pine-typography-body);\n letter-spacing: var(--pine-letter-spacing);\n}\n/* stylelint-enable */\n\ncode, pre {\n font-family: monospace;\n letter-spacing: 0;\n line-height: 1;\n}\n\nem {\n font-style: normal;\n}\n\nstrong {\n font-weight: bolder;\n}\n\n:host([truncate]) > * {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n:host([italic]) > * {\n font-style: italic;\n}\n\n// Colors/Variants/Sentiment\n\n// Variable is set in TSX\n// If color prop value isn't valid, will default to body text color\n.pds-text {\n color: var(--color, var(--pine-color-text));\n margin: var(--pine-dimension-none);\n}\n\n// Font Sizes\n$type-sizes: (\n 2xl: var(--pine-font-size-body-2xl),\n xl: var(--pine-font-size-body-xl),\n lg: var(--pine-font-size-body-lg),\n md: var(--pine-font-size-body-md),\n sm: var(--pine-font-size-body-sm),\n xs: var(--pine-font-size-body-xs),\n 2xs: var(--pine-font-size-body-2xs),\n h1: var(--pine-font-size-heading-1),\n h2: var(--pine-font-size-heading-2),\n h3: var(--pine-font-size-heading-3),\n h4: var(--pine-font-size-heading-4),\n h5: var(--pine-font-size-heading-5),\n h6: var(--pine-font-size-heading-6),\n);\n\n@mixin generate-type-sizes($type-sizes) {\n @each $key, $value in $type-sizes {\n .pds-text--size-#{$key} {\n font-size: $value;\n }\n }\n}\n\n@include generate-type-sizes($type-sizes);\n\n// Font Weights\n$type-weights: (\n extra-light: var(--pine-font-weight-extra-light),\n light: var(--pine-font-weight-light),\n regular: var(--pine-font-weight-regular),\n medium: var(--pine-font-weight-medium),\n semibold: var(--pine-font-weight-semi-bold),\n bold: var(--pine-font-weight-bold),\n);\n\n@mixin generate-type-weights($type-weights) {\n @each $key, $value in $type-weights {\n .pds-text--weight-#{$key} {\n font-weight: $value;\n }\n }\n}\n\n@include generate-type-weights($type-weights);\n\n// Gutter Sizes\n$type-gutters: (\n 2xl: var(--pine-dimension-2xl),\n xl: var(--pine-dimension-xl),\n lg: var(--pine-dimension-lg),\n md: var(--pine-dimension-md),\n sm: var(--pine-dimension-sm),\n xs: var(--pine-dimension-xs),\n 2xs: var(--pine-dimension-2xs),\n);\n\n@mixin generate-type-gutters($type-gutters) {\n @each $key, $value in $type-gutters {\n .pds-text--gutter-#{$key} {\n margin-block-end: $value;\n }\n }\n}\n\n@include generate-type-gutters($type-gutters);\n\n// Text Alignment\n$type-alignments: (\n start: start,\n center: center,\n end: end,\n justify: justify,\n);\n\n@mixin generate-type-alignments($type-alignments) {\n @each $key, $value in $type-alignments {\n .pds-text--align-#{$key} {\n text-align: $value;\n }\n }\n}\n\n@include generate-type-alignments($type-alignments);\n","import { Component, h, Prop, Element } from '@stencil/core';\nimport { setColor } from '../../utils/utils';\n\n@Component({\n tag: 'pds-text',\n styleUrl: 'pds-text.scss',\n shadow: true,\n})\nexport class PdsText {\n @Element() el: HTMLPdsTextElement;\n /**\n * Sets the text alignment.\n */\n @Prop() align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Sets the text color.\n */\n @Prop() color?: string;\n\n /**\n * Sets the text decoration.\n */\n @Prop() decoration?:\n | 'strikethrough'\n | 'underline-dotted';\n\n /**\n * Set the bottom margin for the text.\n */\n @Prop() gutter?:\n | '2xl'\n | 'xl'\n | 'lg'\n | 'md'\n | 'sm'\n | 'xs'\n | '2xs';\n\n /**\n * If set or `true`, the text will be italic.\n */\n @Prop() italic?: boolean;\n\n /**\n * Sets the font size.\n */\n @Prop() size?:\n | '2xl'\n | 'xl'\n | 'lg'\n | 'md'\n | 'sm'\n | 'xs'\n | '2xs'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6';\n\n /**\n * Sets the font weight.\n */\n @Prop() weight?:\n | 'extra-light'\n | 'light'\n | 'regular'\n | 'medium'\n | 'semibold'\n | 'bold';\n\n /**\n * Determines what semantic text tag to render.\n */\n @Prop() tag:\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'p'\n | 'code'\n | 'pre'\n | 'strong'\n | 'em' = \"p\";\n\n /**\n * If set or `true`, the text will be truncated. Must add a `width` to the element.\n */\n @Prop() truncate?: boolean;\n\n render() {\n const Tag = this.tag;\n\n const typeClasses = `\n pds-text\n ${this.align !== undefined && this.align.trim() !== '' ? `pds-text--align-${this.align}` : ''}\n ${this.gutter !== undefined && this.gutter.trim() !== '' ? `pds-text--gutter-${this.gutter}` : ''}\n ${this.size !== undefined && this.size.trim() !== '' ? `pds-text--size-${this.size}` : ''}\n ${this.weight !== undefined && this.weight.trim() !== '' ? `pds-text--weight-${this.weight}` : ''}\n ${this.decoration !== undefined && this.decoration.trim() !== '' ? `pds-text--decoration-${this.decoration}` : ''}\n `;\n\n return (\n <Tag style={this.color && setColor(this.color)} class={typeClasses}>\n <slot />\n </Tag>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pds-text.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -0,0 +1,58 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { s as setColor } from './utils.js';
3
+
4
+ const pdsTextCss = ":host{display:inline}:host([decoration=underline-dotted])>*{-webkit-text-decoration-color:var(--pine-color-grey-600);text-decoration-color:var(--pine-color-grey-600);-webkit-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-style:dotted;text-decoration-style:dotted;text-decoration-thickness:12%;text-underline-offset:0.3rem;text-underline-position:under}:host([decoration=strikethrough])>*{text-decoration:line-through}h1{font:var(--pine-typography-heading-1);letter-spacing:var(--pine-letter-spacing-heading-1)}h2{font:var(--pine-typography-heading-2);letter-spacing:var(--pine-letter-spacing-heading-2)}h3{font:var(--pine-typography-heading-3);letter-spacing:var(--pine-letter-spacing-heading-3)}h4{font:var(--pine-typography-heading-4);letter-spacing:var(--pine-letter-spacing-heading-4)}h5{font:var(--pine-typography-heading-5);letter-spacing:var(--pine-letter-spacing-heading-5)}h6{font:var(--pine-typography-heading-6);letter-spacing:var(--pine-letter-spacing-heading-6)}code,em,p,pre,strong{font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing)}code,pre{font-family:monospace;letter-spacing:0;line-height:1}em{font-style:normal}strong{font-weight:bolder}:host([truncate])>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([italic])>*{font-style:italic}.pds-text{color:var(--color, var(--pine-color-text));margin:var(--pine-dimension-none)}.pds-text--size-2xl{font-size:var(--pine-font-size-body-2xl)}.pds-text--size-xl{font-size:var(--pine-font-size-body-xl)}.pds-text--size-lg{font-size:var(--pine-font-size-body-lg)}.pds-text--size-md{font-size:var(--pine-font-size-body-md)}.pds-text--size-sm{font-size:var(--pine-font-size-body-sm)}.pds-text--size-xs{font-size:var(--pine-font-size-body-xs)}.pds-text--size-2xs{font-size:var(--pine-font-size-body-2xs)}.pds-text--size-h1{font-size:var(--pine-font-size-heading-1)}.pds-text--size-h2{font-size:var(--pine-font-size-heading-2)}.pds-text--size-h3{font-size:var(--pine-font-size-heading-3)}.pds-text--size-h4{font-size:var(--pine-font-size-heading-4)}.pds-text--size-h5{font-size:var(--pine-font-size-heading-5)}.pds-text--size-h6{font-size:var(--pine-font-size-heading-6)}.pds-text--weight-extra-light{font-weight:var(--pine-font-weight-extra-light)}.pds-text--weight-light{font-weight:var(--pine-font-weight-light)}.pds-text--weight-regular{font-weight:var(--pine-font-weight-regular)}.pds-text--weight-medium{font-weight:var(--pine-font-weight-medium)}.pds-text--weight-semibold{font-weight:var(--pine-font-weight-semi-bold)}.pds-text--weight-bold{font-weight:var(--pine-font-weight-bold)}.pds-text--gutter-2xl{-webkit-margin-after:var(--pine-dimension-2xl);margin-block-end:var(--pine-dimension-2xl)}.pds-text--gutter-xl{-webkit-margin-after:var(--pine-dimension-xl);margin-block-end:var(--pine-dimension-xl)}.pds-text--gutter-lg{-webkit-margin-after:var(--pine-dimension-lg);margin-block-end:var(--pine-dimension-lg)}.pds-text--gutter-md{-webkit-margin-after:var(--pine-dimension-md);margin-block-end:var(--pine-dimension-md)}.pds-text--gutter-sm{-webkit-margin-after:var(--pine-dimension-sm);margin-block-end:var(--pine-dimension-sm)}.pds-text--gutter-xs{-webkit-margin-after:var(--pine-dimension-xs);margin-block-end:var(--pine-dimension-xs)}.pds-text--gutter-2xs{-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-text--align-start{text-align:start}.pds-text--align-center{text-align:center}.pds-text--align-end{text-align:end}.pds-text--align-justify{text-align:justify}";
5
+
6
+ const PdsText = /*@__PURE__*/ proxyCustomElement(class PdsText extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ /**
12
+ * Determines what semantic text tag to render.
13
+ */
14
+ this.tag = "p";
15
+ }
16
+ render() {
17
+ const Tag = this.tag;
18
+ const typeClasses = `
19
+ pds-text
20
+ ${this.align !== undefined && this.align.trim() !== '' ? `pds-text--align-${this.align}` : ''}
21
+ ${this.gutter !== undefined && this.gutter.trim() !== '' ? `pds-text--gutter-${this.gutter}` : ''}
22
+ ${this.size !== undefined && this.size.trim() !== '' ? `pds-text--size-${this.size}` : ''}
23
+ ${this.weight !== undefined && this.weight.trim() !== '' ? `pds-text--weight-${this.weight}` : ''}
24
+ ${this.decoration !== undefined && this.decoration.trim() !== '' ? `pds-text--decoration-${this.decoration}` : ''}
25
+ `;
26
+ return (h(Tag, { key: 'dbb51692cc782fcef771390934ca6efc7a2728b9', style: this.color && setColor(this.color), class: typeClasses }, h("slot", { key: '9e7351a9de468132a213f3e26c20c8ca894881a8' })));
27
+ }
28
+ get el() { return this; }
29
+ static get style() { return pdsTextCss; }
30
+ }, [1, "pds-text", {
31
+ "align": [1],
32
+ "color": [1],
33
+ "decoration": [1],
34
+ "gutter": [1],
35
+ "italic": [4],
36
+ "size": [1],
37
+ "weight": [1],
38
+ "tag": [1],
39
+ "truncate": [516]
40
+ }]);
41
+ function defineCustomElement() {
42
+ if (typeof customElements === "undefined") {
43
+ return;
44
+ }
45
+ const components = ["pds-text"];
46
+ components.forEach(tagName => { switch (tagName) {
47
+ case "pds-text":
48
+ if (!customElements.get(tagName)) {
49
+ customElements.define(tagName, PdsText);
50
+ }
51
+ break;
52
+ } });
53
+ }
54
+
55
+ export { PdsText as P, defineCustomElement as d };
56
+ //# sourceMappingURL=pds-text2.js.map
57
+
58
+ //# sourceMappingURL=pds-text2.js.map
@@ -0,0 +1 @@
1
+ {"file":"pds-text2.js","mappings":";;;AAAA,MAAM,UAAU,GAAG,m+GAAm+G;;MCQz+G,OAAO,iBAAAA,kBAAA,CAAA,MAAA,OAAA,SAAA,WAAA,CAAA;AALpB,IAAA,WAAA,GAAA;;;;AAsEE;;AAEG;AACK,QAAA,IAAG,CAAA,GAAA,GAWF,GAAG;AAyBb;IAlBC,MAAM,GAAA;AACJ,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG;AAEpB,QAAA,MAAM,WAAW,GAAG;;QAEhB,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAA,gBAAA,EAAmB,IAAI,CAAC,KAAK,CAAE,CAAA,GAAG,EAAE;QAC3F,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAA,iBAAA,EAAoB,IAAI,CAAC,MAAM,CAAE,CAAA,GAAG,EAAE;QAC/F,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAA,eAAA,EAAkB,IAAI,CAAC,IAAI,CAAE,CAAA,GAAG,EAAE;QACvF,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAA,iBAAA,EAAoB,IAAI,CAAC,MAAM,CAAE,CAAA,GAAG,EAAE;QAC/F,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAA,qBAAA,EAAwB,IAAI,CAAC,UAAU,CAAE,CAAA,GAAG,EAAE;KAClH;AAED,QAAA,QACE,CAAC,CAAA,GAAG,qDAAC,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,WAAW,EAAA,EAChE,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement"],"sources":["src/components/pds-text/pds-text.scss?tag=pds-text&encapsulation=shadow","src/components/pds-text/pds-text.tsx"],"sourcesContent":[":host {\n display: inline;\n}\n\n:host([decoration=\"underline-dotted\"]) > * {\n text-decoration-color: var(--pine-color-grey-600);\n text-decoration-line: underline;\n text-decoration-style: dotted;\n text-decoration-thickness: 12%;\n text-underline-offset: 0.3rem;\n text-underline-position: under;\n}\n\n:host([decoration=\"strikethrough\"])>* {\n text-decoration: line-through;\n}\n\n/* stylelint-disable */\nh1 {\n font: var(--pine-typography-heading-1);\n letter-spacing: var(--pine-letter-spacing-heading-1);\n}\n\nh2 {\n font: var(--pine-typography-heading-2);\n letter-spacing: var(--pine-letter-spacing-heading-2);\n}\n\nh3 {\n font: var(--pine-typography-heading-3);\n letter-spacing: var(--pine-letter-spacing-heading-3);\n}\n\nh4 {\n font: var(--pine-typography-heading-4);\n letter-spacing: var(--pine-letter-spacing-heading-4);\n}\n\nh5 {\n font: var(--pine-typography-heading-5);\n letter-spacing: var(--pine-letter-spacing-heading-5);\n}\n\nh6 {\n font: var(--pine-typography-heading-6);\n letter-spacing: var(--pine-letter-spacing-heading-6);\n}\n\ncode, em, p, pre, strong {\n font: var(--pine-typography-body);\n letter-spacing: var(--pine-letter-spacing);\n}\n/* stylelint-enable */\n\ncode, pre {\n font-family: monospace;\n letter-spacing: 0;\n line-height: 1;\n}\n\nem {\n font-style: normal;\n}\n\nstrong {\n font-weight: bolder;\n}\n\n:host([truncate]) > * {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n:host([italic]) > * {\n font-style: italic;\n}\n\n// Colors/Variants/Sentiment\n\n// Variable is set in TSX\n// If color prop value isn't valid, will default to body text color\n.pds-text {\n color: var(--color, var(--pine-color-text));\n margin: var(--pine-dimension-none);\n}\n\n// Font Sizes\n$type-sizes: (\n 2xl: var(--pine-font-size-body-2xl),\n xl: var(--pine-font-size-body-xl),\n lg: var(--pine-font-size-body-lg),\n md: var(--pine-font-size-body-md),\n sm: var(--pine-font-size-body-sm),\n xs: var(--pine-font-size-body-xs),\n 2xs: var(--pine-font-size-body-2xs),\n h1: var(--pine-font-size-heading-1),\n h2: var(--pine-font-size-heading-2),\n h3: var(--pine-font-size-heading-3),\n h4: var(--pine-font-size-heading-4),\n h5: var(--pine-font-size-heading-5),\n h6: var(--pine-font-size-heading-6),\n);\n\n@mixin generate-type-sizes($type-sizes) {\n @each $key, $value in $type-sizes {\n .pds-text--size-#{$key} {\n font-size: $value;\n }\n }\n}\n\n@include generate-type-sizes($type-sizes);\n\n// Font Weights\n$type-weights: (\n extra-light: var(--pine-font-weight-extra-light),\n light: var(--pine-font-weight-light),\n regular: var(--pine-font-weight-regular),\n medium: var(--pine-font-weight-medium),\n semibold: var(--pine-font-weight-semi-bold),\n bold: var(--pine-font-weight-bold),\n);\n\n@mixin generate-type-weights($type-weights) {\n @each $key, $value in $type-weights {\n .pds-text--weight-#{$key} {\n font-weight: $value;\n }\n }\n}\n\n@include generate-type-weights($type-weights);\n\n// Gutter Sizes\n$type-gutters: (\n 2xl: var(--pine-dimension-2xl),\n xl: var(--pine-dimension-xl),\n lg: var(--pine-dimension-lg),\n md: var(--pine-dimension-md),\n sm: var(--pine-dimension-sm),\n xs: var(--pine-dimension-xs),\n 2xs: var(--pine-dimension-2xs),\n);\n\n@mixin generate-type-gutters($type-gutters) {\n @each $key, $value in $type-gutters {\n .pds-text--gutter-#{$key} {\n margin-block-end: $value;\n }\n }\n}\n\n@include generate-type-gutters($type-gutters);\n\n// Text Alignment\n$type-alignments: (\n start: start,\n center: center,\n end: end,\n justify: justify,\n);\n\n@mixin generate-type-alignments($type-alignments) {\n @each $key, $value in $type-alignments {\n .pds-text--align-#{$key} {\n text-align: $value;\n }\n }\n}\n\n@include generate-type-alignments($type-alignments);\n","import { Component, h, Prop, Element } from '@stencil/core';\nimport { setColor } from '../../utils/utils';\n\n@Component({\n tag: 'pds-text',\n styleUrl: 'pds-text.scss',\n shadow: true,\n})\nexport class PdsText {\n @Element() el: HTMLPdsTextElement;\n /**\n * Sets the text alignment.\n */\n @Prop() align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Sets the text color.\n */\n @Prop() color?: string;\n\n /**\n * Sets the text decoration.\n */\n @Prop() decoration?:\n | 'strikethrough'\n | 'underline-dotted';\n\n /**\n * Set the bottom margin for the text.\n */\n @Prop() gutter?:\n | '2xl'\n | 'xl'\n | 'lg'\n | 'md'\n | 'sm'\n | 'xs'\n | '2xs';\n\n /**\n * If set or `true`, the text will be italic.\n */\n @Prop() italic?: boolean;\n\n /**\n * Sets the font size.\n */\n @Prop() size?:\n | '2xl'\n | 'xl'\n | 'lg'\n | 'md'\n | 'sm'\n | 'xs'\n | '2xs'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6';\n\n /**\n * Sets the font weight.\n */\n @Prop() weight?:\n | 'extra-light'\n | 'light'\n | 'regular'\n | 'medium'\n | 'semibold'\n | 'bold';\n\n /**\n * Determines what semantic text tag to render.\n */\n @Prop() tag:\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'p'\n | 'code'\n | 'pre'\n | 'strong'\n | 'em' = \"p\";\n\n /**\n * If set or `true`, the text will be truncated. Must add a `width` to the element.\n */\n @Prop({ reflect: true }) truncate?: boolean;\n\n render() {\n const Tag = this.tag;\n\n const typeClasses = `\n pds-text\n ${this.align !== undefined && this.align.trim() !== '' ? `pds-text--align-${this.align}` : ''}\n ${this.gutter !== undefined && this.gutter.trim() !== '' ? `pds-text--gutter-${this.gutter}` : ''}\n ${this.size !== undefined && this.size.trim() !== '' ? `pds-text--size-${this.size}` : ''}\n ${this.weight !== undefined && this.weight.trim() !== '' ? `pds-text--weight-${this.weight}` : ''}\n ${this.decoration !== undefined && this.decoration.trim() !== '' ? `pds-text--decoration-${this.decoration}` : ''}\n `;\n\n return (\n <Tag style={this.color && setColor(this.color)} class={typeClasses}>\n <slot />\n </Tag>\n );\n }\n}\n"],"version":3}
@@ -136,10 +136,10 @@ const PdsTextarea$1 = /*@__PURE__*/ proxyCustomElement(class PdsTextarea extends
136
136
  }
137
137
  render() {
138
138
  const value = this.getValue();
139
- return (h(Host, { key: '6c5edcf968b607f1fccc9992d1c4974e5be38e94', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null }, h("div", { key: 'f8d9eb6ec8ce7ed1a44c7802972a9bcb31d734a4', class: "pds-textarea" }, this.label &&
140
- h("label", { key: 'a7d3c200c40f61773b1139efe7ef86333975753e', htmlFor: this.componentId }, this.label), h("textarea", Object.assign({ key: '178f1393bce68322ce0597dd072bc5a60062f855', ref: (el) => this.nativeTextarea = el, "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, class: this.textareaClassNames(), disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, onBlur: this.onBlur, onChange: this.onTextareaChange, onFocus: this.onFocus, onInput: this.onInput }, this.inheritedAttributes), value), this.helperMessage &&
141
- h("p", { key: 'a9d026ad670ae391a87d1ba6d183241ca2e52456', class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
142
- h("p", { key: '0b794b20c024f40ee850183a797a8c3bcc0b600c', "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, h("pds-icon", { key: '889e8d84f53be8f963fd250f60fb54b35f46c7b5', icon: danger, size: "small" }), this.errorMessage))));
139
+ return (h(Host, { key: 'a7db5e94c424af94616faae520aa8f39ee23cedd', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null }, h("div", { key: '26c4a0b5e464e648f627c6de6d948a159e1b4603', class: "pds-textarea" }, this.label &&
140
+ h("label", { key: 'b32a15274079ba8fdb4d911dfc4915da9437a57a', htmlFor: this.componentId }, this.label), h("textarea", Object.assign({ key: '6348ed57813a044849a8de53a172f9f724d7b00e', ref: (el) => this.nativeTextarea = el, "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, class: this.textareaClassNames(), disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, onBlur: this.onBlur, onChange: this.onTextareaChange, onFocus: this.onFocus, onInput: this.onInput }, this.inheritedAttributes), value), this.helperMessage &&
141
+ h("p", { key: '0f9a7606295b5d020e4762f2dc66bc920a60f8da', class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
142
+ h("p", { key: 'badc7d45069955709993c594ed9792c7cdc8727b', "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, h("pds-icon", { key: '460955036713315d8dd7b125a50b09d0cb1a282d', icon: danger, size: "small" }), this.errorMessage))));
143
143
  }
144
144
  get el() { return this; }
145
145
  static get watchers() { return {
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface PdsToast extends Components.PdsToast, HTMLElement {}
4
+ export const PdsToast: {
5
+ prototype: PdsToast;
6
+ new (): PdsToast;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;