@pine-ds/core 0.0.4 → 0.1.1

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 (324) hide show
  1. package/components/pds-accordion.d.ts +11 -0
  2. package/components/pds-accordion.js +67 -0
  3. package/components/pds-accordion.js.map +1 -0
  4. package/components/pds-avatar.js +1 -1
  5. package/components/pds-box.js +1 -1
  6. package/components/pds-button2.js +1 -1
  7. package/components/pds-checkbox2.js +1 -1
  8. package/components/pds-chip.js +1 -1
  9. package/components/pds-copytext.js +1 -1
  10. package/components/pds-divider.js +1 -1
  11. package/components/pds-image.js +2 -2
  12. package/components/pds-input.js +1 -1
  13. package/components/pds-link.js +1 -1
  14. package/components/pds-link.js.map +1 -1
  15. package/components/pds-progress.js +1 -1
  16. package/components/pds-radio.js +1 -1
  17. package/components/pds-row.js +1 -1
  18. package/components/pds-sortable-item.js +1 -1
  19. package/components/pds-sortable.js +1 -1
  20. package/components/pds-switch.js +1 -1
  21. package/components/pds-tab.js +3 -3
  22. package/components/pds-table-body.js +1 -1
  23. package/components/pds-table-cell2.js +2 -2
  24. package/components/pds-table-head-cell2.js +2 -2
  25. package/components/pds-table-head.js +1 -1
  26. package/components/pds-table-row.js +1 -1
  27. package/components/pds-table.js +1 -1
  28. package/components/pds-tabpanel.js +1 -1
  29. package/components/pds-tabs.js +1 -1
  30. package/components/pds-textarea.js +2 -2
  31. package/components/pds-tooltip.js +2 -2
  32. package/dist/cjs/{index-c18b5a7b.js → index-af2145ac.js} +287 -4
  33. package/dist/cjs/index-af2145ac.js.map +1 -0
  34. package/dist/cjs/loader.cjs.js +2 -2
  35. package/dist/cjs/pds-accordion.cjs.entry.js +42 -0
  36. package/dist/cjs/pds-accordion.cjs.entry.js.map +1 -0
  37. package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
  38. package/dist/cjs/pds-box.cjs.entry.js +2 -2
  39. package/dist/cjs/pds-button.cjs.entry.js +2 -2
  40. package/dist/cjs/pds-checkbox_2.cjs.entry.js +5 -5
  41. package/dist/cjs/pds-chip.cjs.entry.js +2 -2
  42. package/dist/cjs/pds-copytext.cjs.entry.js +2 -2
  43. package/dist/cjs/pds-divider.cjs.entry.js +2 -2
  44. package/dist/cjs/pds-icon.cjs.entry.js +1 -1
  45. package/dist/cjs/pds-image.cjs.entry.js +3 -3
  46. package/dist/cjs/pds-input.cjs.entry.js +3 -3
  47. package/dist/cjs/{pds-label-a3b0188d.js → pds-label-81c1073a.js} +2 -2
  48. package/dist/cjs/{pds-label-a3b0188d.js.map → pds-label-81c1073a.js.map} +1 -1
  49. package/dist/cjs/pds-link.cjs.entry.js +2 -2
  50. package/dist/cjs/pds-link.cjs.entry.js.map +1 -1
  51. package/dist/cjs/pds-progress.cjs.entry.js +2 -2
  52. package/dist/cjs/pds-radio.cjs.entry.js +3 -3
  53. package/dist/cjs/pds-row.cjs.entry.js +2 -2
  54. package/dist/cjs/pds-sortable-item.cjs.entry.js +2 -2
  55. package/dist/cjs/pds-sortable.cjs.entry.js +2 -2
  56. package/dist/cjs/pds-switch.cjs.entry.js +3 -3
  57. package/dist/cjs/pds-tab.cjs.entry.js +4 -4
  58. package/dist/cjs/pds-table-body.cjs.entry.js +2 -2
  59. package/dist/cjs/pds-table-head-cell.cjs.entry.js +3 -3
  60. package/dist/cjs/pds-table-head.cjs.entry.js +2 -2
  61. package/dist/cjs/pds-table-row.cjs.entry.js +2 -2
  62. package/dist/cjs/pds-table.cjs.entry.js +2 -2
  63. package/dist/cjs/pds-tabpanel.cjs.entry.js +2 -2
  64. package/dist/cjs/pds-tabs.cjs.entry.js +2 -2
  65. package/dist/cjs/pds-textarea.cjs.entry.js +4 -4
  66. package/dist/cjs/pds-tooltip.cjs.entry.js +3 -3
  67. package/dist/cjs/pine-core.cjs.js +2 -2
  68. package/dist/collection/collection-manifest.json +1 -0
  69. package/dist/collection/components/pds-accordion/pds-accordion.css +56 -0
  70. package/dist/collection/components/pds-accordion/pds-accordion.js +93 -0
  71. package/dist/collection/components/pds-accordion/pds-accordion.js.map +1 -0
  72. package/dist/collection/components/pds-accordion/stories/pds-accordion.stories.js +34 -0
  73. package/dist/collection/components/pds-avatar/pds-avatar.js +1 -1
  74. package/dist/collection/components/pds-box/pds-box.js +1 -1
  75. package/dist/collection/components/pds-button/pds-button.js +1 -1
  76. package/dist/collection/components/pds-checkbox/pds-checkbox.js +1 -1
  77. package/dist/collection/components/pds-chip/pds-chip.js +1 -1
  78. package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
  79. package/dist/collection/components/pds-divider/pds-divider.js +1 -1
  80. package/dist/collection/components/pds-image/pds-image.js +2 -2
  81. package/dist/collection/components/pds-input/pds-input.js +1 -1
  82. package/dist/collection/components/pds-link/pds-link.js +3 -2
  83. package/dist/collection/components/pds-link/pds-link.js.map +1 -1
  84. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  85. package/dist/collection/components/pds-radio/pds-radio.js +1 -1
  86. package/dist/collection/components/pds-row/pds-row.js +1 -1
  87. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  88. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
  89. package/dist/collection/components/pds-switch/pds-switch.js +1 -1
  90. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  91. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  92. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  93. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  94. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  95. package/dist/collection/components/pds-table/pds-table.js +1 -1
  96. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
  97. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
  98. package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
  99. package/dist/collection/components/pds-textarea/pds-textarea.js +2 -2
  100. package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
  101. package/dist/docs.json +110 -4
  102. package/dist/esm/{index-4a3a9179.js → index-9312507f.js} +287 -4
  103. package/dist/esm/index-9312507f.js.map +1 -0
  104. package/dist/esm/loader.js +3 -3
  105. package/dist/esm/pds-accordion.entry.js +38 -0
  106. package/dist/esm/pds-accordion.entry.js.map +1 -0
  107. package/dist/esm/pds-avatar.entry.js +2 -2
  108. package/dist/esm/pds-box.entry.js +2 -2
  109. package/dist/esm/pds-button.entry.js +2 -2
  110. package/dist/esm/pds-checkbox_2.entry.js +5 -5
  111. package/dist/esm/pds-chip.entry.js +2 -2
  112. package/dist/esm/pds-copytext.entry.js +2 -2
  113. package/dist/esm/pds-divider.entry.js +2 -2
  114. package/dist/esm/pds-icon.entry.js +1 -1
  115. package/dist/esm/pds-image.entry.js +3 -3
  116. package/dist/esm/pds-input.entry.js +3 -3
  117. package/dist/esm/{pds-label-5a20380b.js → pds-label-d33eab3b.js} +2 -2
  118. package/dist/esm/{pds-label-5a20380b.js.map → pds-label-d33eab3b.js.map} +1 -1
  119. package/dist/esm/pds-link.entry.js +2 -2
  120. package/dist/esm/pds-link.entry.js.map +1 -1
  121. package/dist/esm/pds-progress.entry.js +2 -2
  122. package/dist/esm/pds-radio.entry.js +3 -3
  123. package/dist/esm/pds-row.entry.js +2 -2
  124. package/dist/esm/pds-sortable-item.entry.js +2 -2
  125. package/dist/esm/pds-sortable.entry.js +2 -2
  126. package/dist/esm/pds-switch.entry.js +3 -3
  127. package/dist/esm/pds-tab.entry.js +4 -4
  128. package/dist/esm/pds-table-body.entry.js +2 -2
  129. package/dist/esm/pds-table-head-cell.entry.js +3 -3
  130. package/dist/esm/pds-table-head.entry.js +2 -2
  131. package/dist/esm/pds-table-row.entry.js +2 -2
  132. package/dist/esm/pds-table.entry.js +2 -2
  133. package/dist/esm/pds-tabpanel.entry.js +2 -2
  134. package/dist/esm/pds-tabs.entry.js +2 -2
  135. package/dist/esm/pds-textarea.entry.js +4 -4
  136. package/dist/esm/pds-tooltip.entry.js +3 -3
  137. package/dist/esm/pine-core.js +3 -3
  138. package/dist/esm-es5/index-9312507f.js +3 -0
  139. package/dist/esm-es5/index-9312507f.js.map +1 -0
  140. package/dist/esm-es5/loader.js +1 -1
  141. package/dist/esm-es5/loader.js.map +1 -1
  142. package/dist/esm-es5/pds-accordion.entry.js +2 -0
  143. package/dist/esm-es5/pds-accordion.entry.js.map +1 -0
  144. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  145. package/dist/esm-es5/pds-box.entry.js +1 -1
  146. package/dist/esm-es5/pds-button.entry.js +1 -1
  147. package/dist/esm-es5/pds-checkbox_2.entry.js +1 -1
  148. package/dist/esm-es5/pds-chip.entry.js +1 -1
  149. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  150. package/dist/esm-es5/pds-divider.entry.js +1 -1
  151. package/dist/esm-es5/pds-icon.entry.js +1 -1
  152. package/dist/esm-es5/pds-image.entry.js +1 -1
  153. package/dist/esm-es5/pds-input.entry.js +1 -1
  154. package/dist/esm-es5/{pds-label-5a20380b.js → pds-label-d33eab3b.js} +2 -2
  155. package/dist/esm-es5/pds-link.entry.js +1 -1
  156. package/dist/esm-es5/pds-link.entry.js.map +1 -1
  157. package/dist/esm-es5/pds-progress.entry.js +1 -1
  158. package/dist/esm-es5/pds-radio.entry.js +1 -1
  159. package/dist/esm-es5/pds-row.entry.js +1 -1
  160. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  161. package/dist/esm-es5/pds-sortable.entry.js +2 -2
  162. package/dist/esm-es5/pds-switch.entry.js +1 -1
  163. package/dist/esm-es5/pds-tab.entry.js +1 -1
  164. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  165. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  166. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  167. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  168. package/dist/esm-es5/pds-table.entry.js +1 -1
  169. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  170. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  171. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  172. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  173. package/dist/esm-es5/pine-core.js +1 -1
  174. package/dist/esm-es5/pine-core.js.map +1 -1
  175. package/dist/pine-core/{p-c5641077.entry.js → p-07e0e33d.entry.js} +2 -2
  176. package/dist/pine-core/{p-4abda138.system.entry.js → p-0c443b29.system.entry.js} +2 -2
  177. package/dist/pine-core/{p-3f82f07a.system.js → p-0cdd6574.system.js} +2 -2
  178. package/dist/pine-core/{p-25f4a2c1.entry.js → p-0f0c672b.entry.js} +2 -2
  179. package/dist/pine-core/{p-54d324c2.system.entry.js → p-18d461ea.system.entry.js} +2 -2
  180. package/dist/pine-core/p-1a70ea52.entry.js +2 -0
  181. package/dist/pine-core/p-1a70ea52.entry.js.map +1 -0
  182. package/dist/pine-core/{p-59db2abd.system.entry.js → p-207a1db7.system.entry.js} +2 -2
  183. package/dist/pine-core/{p-588cb0d6.system.entry.js → p-2306d119.system.entry.js} +2 -2
  184. package/dist/pine-core/{p-20266cb6.entry.js → p-24329e5f.entry.js} +2 -2
  185. package/dist/pine-core/{p-ad186d12.system.entry.js → p-282475be.system.entry.js} +2 -2
  186. package/dist/pine-core/{p-763e2f83.entry.js → p-32f5eae9.entry.js} +2 -2
  187. package/dist/pine-core/{p-c76ace76.system.entry.js → p-363392ea.system.entry.js} +2 -2
  188. package/dist/pine-core/p-3891188c.entry.js +2 -0
  189. package/dist/pine-core/{p-3fc7e481.system.entry.js → p-3aafe83d.system.entry.js} +2 -2
  190. package/dist/pine-core/p-3bf307ef.system.js +2 -0
  191. package/dist/pine-core/p-3bf307ef.system.js.map +1 -0
  192. package/dist/pine-core/{p-748df843.entry.js → p-422bdfa6.entry.js} +2 -2
  193. package/dist/pine-core/{p-57da3e93.system.entry.js → p-46a4a8f0.system.entry.js} +2 -2
  194. package/dist/pine-core/{p-d94dd844.system.entry.js → p-50e04f66.system.entry.js} +2 -2
  195. package/dist/pine-core/p-539ecb64.system.entry.js +2 -0
  196. package/dist/pine-core/p-539ecb64.system.entry.js.map +1 -0
  197. package/dist/pine-core/{p-b5b59894.system.entry.js → p-5812cf50.system.entry.js} +2 -2
  198. package/dist/pine-core/{p-f17edd95.entry.js → p-5e3cf93b.entry.js} +2 -2
  199. package/dist/pine-core/{p-be00178d.entry.js → p-60bb9395.entry.js} +2 -2
  200. package/dist/pine-core/{p-a246e1d1.system.entry.js → p-6569a81a.system.entry.js} +3 -3
  201. package/dist/pine-core/{p-462f2b14.entry.js → p-68d79b69.entry.js} +2 -2
  202. package/dist/pine-core/{p-f2c6b33e.system.entry.js → p-6d1f5eb6.system.entry.js} +2 -2
  203. package/dist/pine-core/{p-0305f8c8.entry.js → p-7751adcf.entry.js} +2 -2
  204. package/dist/pine-core/{p-0dacd1cd.entry.js → p-79bf6399.entry.js} +2 -2
  205. package/dist/pine-core/{p-f329268a.entry.js → p-818d3c3a.entry.js} +2 -2
  206. package/dist/pine-core/p-8248c25e.system.js +3 -0
  207. package/dist/pine-core/p-8248c25e.system.js.map +1 -0
  208. package/dist/pine-core/{p-25ffc9e2.entry.js → p-8a213ad9.entry.js} +2 -2
  209. package/dist/pine-core/{p-9fe27345.system.entry.js → p-8bba9f6b.system.entry.js} +2 -2
  210. package/dist/pine-core/{p-36862fec.system.entry.js → p-8d320cf0.system.entry.js} +2 -2
  211. package/dist/pine-core/p-8d320cf0.system.entry.js.map +1 -0
  212. package/dist/pine-core/{p-a090344d.entry.js → p-9287c72f.entry.js} +2 -2
  213. package/dist/pine-core/{p-a923b153.entry.js → p-96503b18.entry.js} +2 -2
  214. package/dist/pine-core/{p-dbe98ba2.system.entry.js → p-98740980.system.entry.js} +2 -2
  215. package/dist/pine-core/{p-85a97505.system.entry.js → p-98cc1e47.system.entry.js} +2 -2
  216. package/dist/pine-core/{p-5af9b6e2.entry.js → p-9be99490.entry.js} +2 -2
  217. package/dist/pine-core/{p-5fd196d6.entry.js → p-9d8d9443.entry.js} +2 -2
  218. package/dist/pine-core/{p-d3d4661e.entry.js → p-a3310afa.entry.js} +2 -2
  219. package/dist/pine-core/{p-413d41ad.js → p-a4d4fbbb.js} +2 -2
  220. package/dist/pine-core/p-a954bb71.js +3 -0
  221. package/dist/pine-core/p-a954bb71.js.map +1 -0
  222. package/dist/pine-core/p-aa9f7889.system.entry.js +2 -0
  223. package/dist/pine-core/{p-1d55b43e.entry.js → p-ab9e0ab4.entry.js} +2 -2
  224. package/dist/pine-core/{p-bdebf156.system.entry.js → p-b3abea50.system.entry.js} +2 -2
  225. package/dist/pine-core/{p-0c37f840.system.entry.js → p-bd051dc8.system.entry.js} +2 -2
  226. package/dist/pine-core/{p-590b8bc3.system.entry.js → p-bf49c9da.system.entry.js} +2 -2
  227. package/dist/pine-core/{p-9b5cd6ab.entry.js → p-c107a273.entry.js} +3 -3
  228. package/dist/pine-core/p-c39a7480.system.entry.js +2 -0
  229. package/dist/pine-core/{p-269121f3.system.entry.js → p-c7553aef.system.entry.js} +2 -2
  230. package/dist/pine-core/{p-72065c3a.system.entry.js → p-cd1bb310.system.entry.js} +2 -2
  231. package/dist/pine-core/{p-1e1f6bc4.system.entry.js → p-ceb83df8.system.entry.js} +2 -2
  232. package/dist/pine-core/{p-6c3a05cf.entry.js → p-d02db70d.entry.js} +2 -2
  233. package/dist/pine-core/p-d02db70d.entry.js.map +1 -0
  234. package/dist/pine-core/{p-7a7416d5.system.entry.js → p-d5ec4117.system.entry.js} +2 -2
  235. package/dist/pine-core/{p-f198ef17.entry.js → p-db09b014.entry.js} +2 -2
  236. package/dist/pine-core/{p-68e7924e.system.entry.js → p-df4a1834.system.entry.js} +2 -2
  237. package/dist/pine-core/p-e07e6487.entry.js +2 -0
  238. package/dist/pine-core/{p-c36795fd.entry.js → p-e394916b.entry.js} +2 -2
  239. package/dist/pine-core/{p-8fe57bfa.entry.js → p-e6cae1e7.entry.js} +2 -2
  240. package/dist/pine-core/p-e6d28371.entry.js +2 -0
  241. package/dist/pine-core/{p-c743e545.entry.js.map → p-e6d28371.entry.js.map} +1 -1
  242. package/dist/pine-core/{p-d833e66e.entry.js → p-e732c325.entry.js} +2 -2
  243. package/dist/pine-core/{p-84c19af2.system.entry.js → p-fe9b0b4b.system.entry.js} +2 -2
  244. package/dist/pine-core/pine-core.esm.js +1 -1
  245. package/dist/pine-core/pine-core.esm.js.map +1 -1
  246. package/dist/pine-core/pine-core.js +1 -1
  247. package/dist/types/components/pds-accordion/pds-accordion.d.ts +22 -0
  248. package/dist/types/components/pds-link/pds-link.d.ts +2 -1
  249. package/dist/types/components.d.ts +33 -0
  250. package/hydrate/index.d.ts +218 -0
  251. package/hydrate/index.js +12934 -0
  252. package/hydrate/package.json +6 -0
  253. package/package.json +6 -5
  254. package/dist/cjs/index-c18b5a7b.js.map +0 -1
  255. package/dist/esm/index-4a3a9179.js.map +0 -1
  256. package/dist/esm-es5/index-4a3a9179.js +0 -3
  257. package/dist/esm-es5/index-4a3a9179.js.map +0 -1
  258. package/dist/pine-core/p-36862fec.system.entry.js.map +0 -1
  259. package/dist/pine-core/p-4c2fa718.entry.js +0 -2
  260. package/dist/pine-core/p-5eaff61a.system.entry.js +0 -2
  261. package/dist/pine-core/p-627d088d.entry.js +0 -2
  262. package/dist/pine-core/p-6c3a05cf.entry.js.map +0 -1
  263. package/dist/pine-core/p-7a5d5d62.system.js +0 -3
  264. package/dist/pine-core/p-7a5d5d62.system.js.map +0 -1
  265. package/dist/pine-core/p-a3ad3496.system.entry.js +0 -2
  266. package/dist/pine-core/p-b6a4d813.system.js +0 -2
  267. package/dist/pine-core/p-b6a4d813.system.js.map +0 -1
  268. package/dist/pine-core/p-c743e545.entry.js +0 -2
  269. package/dist/pine-core/p-db677b4c.js +0 -3
  270. package/dist/pine-core/p-db677b4c.js.map +0 -1
  271. /package/dist/esm-es5/{pds-label-5a20380b.js.map → pds-label-d33eab3b.js.map} +0 -0
  272. /package/dist/pine-core/{p-c5641077.entry.js.map → p-07e0e33d.entry.js.map} +0 -0
  273. /package/dist/pine-core/{p-4abda138.system.entry.js.map → p-0c443b29.system.entry.js.map} +0 -0
  274. /package/dist/pine-core/{p-3f82f07a.system.js.map → p-0cdd6574.system.js.map} +0 -0
  275. /package/dist/pine-core/{p-25f4a2c1.entry.js.map → p-0f0c672b.entry.js.map} +0 -0
  276. /package/dist/pine-core/{p-54d324c2.system.entry.js.map → p-18d461ea.system.entry.js.map} +0 -0
  277. /package/dist/pine-core/{p-59db2abd.system.entry.js.map → p-207a1db7.system.entry.js.map} +0 -0
  278. /package/dist/pine-core/{p-588cb0d6.system.entry.js.map → p-2306d119.system.entry.js.map} +0 -0
  279. /package/dist/pine-core/{p-20266cb6.entry.js.map → p-24329e5f.entry.js.map} +0 -0
  280. /package/dist/pine-core/{p-ad186d12.system.entry.js.map → p-282475be.system.entry.js.map} +0 -0
  281. /package/dist/pine-core/{p-763e2f83.entry.js.map → p-32f5eae9.entry.js.map} +0 -0
  282. /package/dist/pine-core/{p-c76ace76.system.entry.js.map → p-363392ea.system.entry.js.map} +0 -0
  283. /package/dist/pine-core/{p-627d088d.entry.js.map → p-3891188c.entry.js.map} +0 -0
  284. /package/dist/pine-core/{p-3fc7e481.system.entry.js.map → p-3aafe83d.system.entry.js.map} +0 -0
  285. /package/dist/pine-core/{p-748df843.entry.js.map → p-422bdfa6.entry.js.map} +0 -0
  286. /package/dist/pine-core/{p-57da3e93.system.entry.js.map → p-46a4a8f0.system.entry.js.map} +0 -0
  287. /package/dist/pine-core/{p-d94dd844.system.entry.js.map → p-50e04f66.system.entry.js.map} +0 -0
  288. /package/dist/pine-core/{p-b5b59894.system.entry.js.map → p-5812cf50.system.entry.js.map} +0 -0
  289. /package/dist/pine-core/{p-f17edd95.entry.js.map → p-5e3cf93b.entry.js.map} +0 -0
  290. /package/dist/pine-core/{p-be00178d.entry.js.map → p-60bb9395.entry.js.map} +0 -0
  291. /package/dist/pine-core/{p-a246e1d1.system.entry.js.map → p-6569a81a.system.entry.js.map} +0 -0
  292. /package/dist/pine-core/{p-462f2b14.entry.js.map → p-68d79b69.entry.js.map} +0 -0
  293. /package/dist/pine-core/{p-f2c6b33e.system.entry.js.map → p-6d1f5eb6.system.entry.js.map} +0 -0
  294. /package/dist/pine-core/{p-0305f8c8.entry.js.map → p-7751adcf.entry.js.map} +0 -0
  295. /package/dist/pine-core/{p-0dacd1cd.entry.js.map → p-79bf6399.entry.js.map} +0 -0
  296. /package/dist/pine-core/{p-f329268a.entry.js.map → p-818d3c3a.entry.js.map} +0 -0
  297. /package/dist/pine-core/{p-25ffc9e2.entry.js.map → p-8a213ad9.entry.js.map} +0 -0
  298. /package/dist/pine-core/{p-9fe27345.system.entry.js.map → p-8bba9f6b.system.entry.js.map} +0 -0
  299. /package/dist/pine-core/{p-a090344d.entry.js.map → p-9287c72f.entry.js.map} +0 -0
  300. /package/dist/pine-core/{p-a923b153.entry.js.map → p-96503b18.entry.js.map} +0 -0
  301. /package/dist/pine-core/{p-dbe98ba2.system.entry.js.map → p-98740980.system.entry.js.map} +0 -0
  302. /package/dist/pine-core/{p-85a97505.system.entry.js.map → p-98cc1e47.system.entry.js.map} +0 -0
  303. /package/dist/pine-core/{p-5af9b6e2.entry.js.map → p-9be99490.entry.js.map} +0 -0
  304. /package/dist/pine-core/{p-5fd196d6.entry.js.map → p-9d8d9443.entry.js.map} +0 -0
  305. /package/dist/pine-core/{p-d3d4661e.entry.js.map → p-a3310afa.entry.js.map} +0 -0
  306. /package/dist/pine-core/{p-413d41ad.js.map → p-a4d4fbbb.js.map} +0 -0
  307. /package/dist/pine-core/{p-5eaff61a.system.entry.js.map → p-aa9f7889.system.entry.js.map} +0 -0
  308. /package/dist/pine-core/{p-1d55b43e.entry.js.map → p-ab9e0ab4.entry.js.map} +0 -0
  309. /package/dist/pine-core/{p-bdebf156.system.entry.js.map → p-b3abea50.system.entry.js.map} +0 -0
  310. /package/dist/pine-core/{p-0c37f840.system.entry.js.map → p-bd051dc8.system.entry.js.map} +0 -0
  311. /package/dist/pine-core/{p-590b8bc3.system.entry.js.map → p-bf49c9da.system.entry.js.map} +0 -0
  312. /package/dist/pine-core/{p-9b5cd6ab.entry.js.map → p-c107a273.entry.js.map} +0 -0
  313. /package/dist/pine-core/{p-a3ad3496.system.entry.js.map → p-c39a7480.system.entry.js.map} +0 -0
  314. /package/dist/pine-core/{p-269121f3.system.entry.js.map → p-c7553aef.system.entry.js.map} +0 -0
  315. /package/dist/pine-core/{p-72065c3a.system.entry.js.map → p-cd1bb310.system.entry.js.map} +0 -0
  316. /package/dist/pine-core/{p-1e1f6bc4.system.entry.js.map → p-ceb83df8.system.entry.js.map} +0 -0
  317. /package/dist/pine-core/{p-7a7416d5.system.entry.js.map → p-d5ec4117.system.entry.js.map} +0 -0
  318. /package/dist/pine-core/{p-f198ef17.entry.js.map → p-db09b014.entry.js.map} +0 -0
  319. /package/dist/pine-core/{p-68e7924e.system.entry.js.map → p-df4a1834.system.entry.js.map} +0 -0
  320. /package/dist/pine-core/{p-4c2fa718.entry.js.map → p-e07e6487.entry.js.map} +0 -0
  321. /package/dist/pine-core/{p-c36795fd.entry.js.map → p-e394916b.entry.js.map} +0 -0
  322. /package/dist/pine-core/{p-8fe57bfa.entry.js.map → p-e6cae1e7.entry.js.map} +0 -0
  323. /package/dist/pine-core/{p-d833e66e.entry.js.map → p-e732c325.entry.js.map} +0 -0
  324. /package/dist/pine-core/{p-84c19af2.system.entry.js.map → p-fe9b0b4b.system.entry.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pds-accordion.js","sourceRoot":"","sources":["../../../src/components/pds-accordion/pds-accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEhE;;;GAGG;AAMH,MAAM,OAAO,YAAY;;QAwBf,iBAAY,GAAG,GAAG,EAAE;YAC1B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;QACpC,CAAC,CAAA;QAEO,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,IAAI,CAAC,MAAM,KAAK,KAAK,EAAE,CAAC;gBAC1B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;YACxB,CAAC;YACD,OAAO,EAAE,CAAC;QACZ,CAAC,CAAA;;sBAhBoB,KAAK;;IAG1B,eAAe,CAAC,QAAiB;QAC/B,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;IACzB,CAAC;IAaD,gBAAgB;QACd,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IAC/D,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAC,eAAe,EAAC,EAAE,EAAE,IAAI,CAAC,WAAW;YAC9C,gFAAa,IAAI,CAAC,gBAAgB,EAAE,IAAE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,GAAG,EAAwB;gBAC1F;oBACE,6DAAM,IAAI,EAAC,OAAO,cAAe;oBACjC,iEAAU,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,GAAI,CACnD;gBACV,4DAAK,KAAK,EAAC,qBAAqB;oBAC9B,8DAAQ,CACJ,CACE,CACL,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host, Prop, Watch } from '@stencil/core';\n\n/**\n * @slot (default) - Accordion body content.\n * @slot label - Accordion trigger button content.\n */\n@Component({\n tag: 'pds-accordion',\n styleUrl: 'pds-accordion.scss',\n shadow: true,\n})\nexport class PdsAccordion {\n private detailsEl: HTMLDetailsElement;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n * @defaultValue null\n */\n @Prop() componentId: string;\n\n /**\n * Can be used to manually set the open state of the accordion.\n * @defaultValue false\n */\n @Prop({ \n attribute: 'open',\n mutable: true,\n reflect: true \n }) isOpen: boolean = false;\n\n @Watch('isOpen')\n handleOpenState(newValue: boolean) {\n this.isOpen = newValue;\n }\n\n private handleToggle = () => {\n this.isOpen = this.detailsEl.open;\n }\n\n private getOpenAttribute = () => {\n if (this.isOpen !== false) {\n return { open: true };\n }\n return '';\n }\n\n componentDidLoad() {\n this.detailsEl.addEventListener('toggle', this.handleToggle);\n }\n\n render() {\n return (\n <Host class=\"pds-accordion\" id={this.componentId}>\n <details {...this.getOpenAttribute()} ref={(el) => this.detailsEl = el as HTMLDetailsElement}>\n <summary>\n <slot name=\"label\">Details</slot>\n <pds-icon name={this.isOpen ? 'up-small' : 'down-small'} />\n </summary>\n <div class=\"pds-accordion__body\">\n <slot />\n </div>\n </details>\n </Host>\n );\n }\n}\n"]}
@@ -0,0 +1,34 @@
1
+ import { html } from 'lit';
2
+ import { extractArgTypes } from '@pxtrn/storybook-addon-docs-stencil';
3
+
4
+ export default {
5
+ args: {
6
+ componentId: '',
7
+ isOpen: false,
8
+ },
9
+ argTypes: extractArgTypes('pds-accordion'),
10
+ component: 'pds-accordion',
11
+ title: 'components/Accordion',
12
+ }
13
+
14
+ const BaseTemplate = (args) => html`
15
+ <pds-accordion component-id="${args.componentId}" open="${args.isOpen}">
16
+ <pds-row align-items="center" slot="label">
17
+ <pds-box align-items="center">
18
+ <pds-icon name="products-outline"></pds-icon>
19
+ <span style="display: inline-block; margin-left: 8px;">Products</span>
20
+ </pds-box>
21
+ </pds-row>
22
+ <pds-row>
23
+ <pds-box direction="column" gap="xs" padding="xs">
24
+ <pds-link variant="plain" href="#">All products</pds-link>
25
+ <pds-link variant="plain" href="#">Courses</pds-link>
26
+ <pds-link variant="plain" href="#">Coaching</pds-link>
27
+ <pds-link variant="plain" href="#">Community</pds-link>
28
+ <pds-link variant="plain" href="#">Podcasts</pds-link>
29
+ </pds-box>
30
+ </pds-row>
31
+ </pds-accordion>
32
+ `;
33
+
34
+ export const Default = BaseTemplate.bind({});
@@ -52,7 +52,7 @@ export class PdsAvatar {
52
52
  }
53
53
  }
54
54
  render() {
55
- return (h(Host, { key: '595815274032d146a4bb480940d152ba2507c2b4', id: this.componentId, class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
55
+ return (h(Host, { key: '179b1d53b2250e1fab6807a324c474c2d02c8d43', id: this.componentId, class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
56
56
  }
57
57
  static get is() { return "pds-avatar"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -63,7 +63,7 @@ export class PdsBox {
63
63
  this.sizeXl == undefined ? 'pds-box' : ''}
64
64
  `;
65
65
  const boxInlineStyles = Object.assign(Object.assign(Object.assign(Object.assign({}, (this.backgroundColor && { '--box-background-color': this.backgroundColor })), (this.borderColor && { '--box-border-color': this.borderColor })), (this.minHeight && { '--box-min-height': this.minHeight })), (this.minWidth && { '--box-min-width': this.minWidth }));
66
- return (h(Host, { key: '39cf80d5cbcc14aeca43345e4532b7a77dc6f880', class: boxClasses, style: boxInlineStyles }));
66
+ return (h(Host, { key: 'c04696c04b987f82aa03e23d41078ffa32ed6e78', class: boxClasses, style: boxInlineStyles }));
67
67
  }
68
68
  static get is() { return "pds-box"; }
69
69
  static get originalStyleUrls() {
@@ -40,7 +40,7 @@ export class PdsButton {
40
40
  return classNames.join(' ');
41
41
  }
42
42
  render() {
43
- return (h(Host, { key: '6ee21dab19b15ab02142d892e7a2f42d6f93a919', "aria-disabled": this.disabled ? 'true' : null, id: this.componentId, onClick: this.handleClick, variant: this.variant }, h("button", { key: 'aa804a22ca56bff055e939e1bd72d4fd55c8bcd8', class: this.classNames(), disabled: this.disabled, name: this.name, part: "button", type: this.type, value: this.value }, this.icon && this.variant !== 'disclosure' && h("pds-icon", { name: this.icon, part: "icon" }), h("slot", { key: '049cdc31676637dbe106ec153d66c4964f1f5ee9' }), this.variant === 'disclosure' && h("pds-icon", { name: "caret-down", part: "caret" }))));
43
+ return (h(Host, { key: '0f8f16b8e8d941481d66f1833a4a7e5402aab2bc', "aria-disabled": this.disabled ? 'true' : null, id: this.componentId, onClick: this.handleClick, variant: this.variant }, h("button", { key: 'c8b0a1f8b0f6c984477e2bb6cdb77226f8250ac3', class: this.classNames(), disabled: this.disabled, name: this.name, part: "button", type: this.type, value: this.value }, this.icon && this.variant !== 'disclosure' && h("pds-icon", { name: this.icon, part: "icon" }), h("slot", { key: '76310f327aad59ecd150261a186e256c52cf6251' }), this.variant === 'disclosure' && h("pds-icon", { name: "caret-down", part: "caret" }))));
44
44
  }
45
45
  static get is() { return "pds-button"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -41,7 +41,7 @@ export class PdsCheckbox {
41
41
  return classNames.join(' ');
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: '44451f5e8df2550217af485162015a0810b2735e', class: this.classNames() }, h("input", { key: 'c4bac864eb6c990b389b1892f26211af7a6b5be8', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "checkbox", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleCheckboxChange }), h(PdsLabel, { key: 'eea4ae7c7795854e34a228d79f7e3228d695ff7e', htmlFor: this.componentId, text: this.label, classNames: this.labelHidden ? 'visually-hidden' : '' }), this.helperMessage &&
44
+ return (h(Host, { key: 'df4d541eb43253bac6d9f0396d5af5c0a0181db0', class: this.classNames() }, h("input", { key: '59f4ff764cdf4fac9ff38a734b91cf31219f2a59', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "checkbox", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleCheckboxChange }), h(PdsLabel, { key: '99da91ab0d67c72f29092a623164b0822ff56a66', htmlFor: this.componentId, text: this.label, classNames: this.labelHidden ? 'visually-hidden' : '' }), this.helperMessage &&
45
45
  h("div", { class: 'pds-checkbox__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
46
46
  h("div", { class: `pds-checkbox__message pds-checkbox__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage)));
47
47
  }
@@ -30,7 +30,7 @@ export class PdsChip {
30
30
  return chipContent;
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '12c200206fc66bf350447029cd5f9b328206dd68', class: this.classNames(), id: this.componentId }, this.setChipContent(), this.variant === 'tag' && (h("button", { class: "pds-chip__close", type: "button", onClick: this.handleCloseClick, "aria-label": "Remove" }, h("pds-icon", { name: "remove", size: "12px" })))));
33
+ return (h(Host, { key: '224fcbae613eb1a7a8ab5661582e06612aa3c491', class: this.classNames(), id: this.componentId }, this.setChipContent(), this.variant === 'tag' && (h("button", { class: "pds-chip__close", type: "button", onClick: this.handleCloseClick, "aria-label": "Remove" }, h("pds-icon", { name: "remove", size: "12px" })))));
34
34
  }
35
35
  static get is() { return "pds-chip"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -49,7 +49,7 @@ export class PdsCopytext {
49
49
  return classNames.join(' ');
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: '4acd4381ec825bb968a28882592e94e63f03b455', class: this.classNames(), id: this.componentId }, h("pds-button", { key: '0827df991bc213211d021daac15adbea51c04b2d', type: "button", variant: "unstyled", onClick: this.handleClick }, h("span", { key: '9ccdf4d2087ce38db135ac2147b2376eb3bb114e' }, this.value), h("pds-icon", { key: '6e68ea1f67195d6ace3a4c1499d47ad1fe8e9dea', name: "copy", size: "16px" }))));
52
+ return (h(Host, { key: '650ef9a2f68e604211c98721ef61e68a44a619b2', class: this.classNames(), id: this.componentId }, h("pds-button", { key: '3c4e3d7779e794c65115431ea93e6c321c5e8f83', type: "button", variant: "unstyled", onClick: this.handleClick }, h("span", { key: 'e755703bd191e440d1b10250027c1dfcf1340cbe' }, this.value), h("pds-icon", { key: '6fc35fd7fef1a98b9f248054a2927a1b006561d0', name: "copy", size: "16px" }))));
53
53
  }
54
54
  static get is() { return "pds-copytext"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -17,7 +17,7 @@ export class PdsDivider {
17
17
  return classNames.join(' ');
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '2fd0d24d893d6936915480731948caa8de5007fa', id: this.componentId }, h("hr", { key: 'dacc620d9f1cb7b2a05f0e0205e2df3d3bfbfcd7', class: this.classNames() })));
20
+ return (h(Host, { key: 'd5d42d70c2417e0fc801f87f8460557bb1756443', id: this.componentId }, h("hr", { key: '49554a46b6949d09adc4794b22441a1f76eb1d13', class: this.classNames() })));
21
21
  }
22
22
  static get is() { return "pds-divider"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -11,9 +11,9 @@ export class PdsImage {
11
11
  this.width = undefined;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '215feafdc0e94d6ae120bf3a96f64bdc63390a62', class: {
14
+ return (h(Host, { key: '835f04e58f7a7f831575512bb4582fc22a563652', class: {
15
15
  'pds-image': true,
16
- }, id: this.componentId }, h("img", { key: '300604bb22b5811af2b0fda6dec0b53bfb2b6419', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
16
+ }, id: this.componentId }, h("img", { key: 'd002c0ae968a6a4a8d965c9bbae905da31629d7f', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
17
17
  }
18
18
  static get is() { return "pds-image"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -24,7 +24,7 @@ export class PdsInput {
24
24
  this.value = undefined;
25
25
  }
26
26
  render() {
27
- return (h(Host, { key: '4e60728fb056594ae2994af77f7e7bae2b886794', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: '29f77b38b5927e32cb7c0e5a1ecf1f2c5524a69f', class: "pds-input" }, h(PdsLabel, { key: 'fd7e9df19532f34ce2e168f41baab2686df6d9cd', htmlFor: this.componentId, text: this.label }), h("input", { key: '6859b44f35cdccc16f5f0d68de2e039e2d5f3c51', class: "pds-input__field", "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, type: this.type, value: this.value, onInput: this.onInputEvent }), this.helperMessage &&
27
+ return (h(Host, { key: 'bb6e9f4cb7515c3b8fbbc583ba1c9ade05d8ae90', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: '960462be7a176c6b62412ce4b44af79f9b137a0c', class: "pds-input" }, h(PdsLabel, { key: 'beb8f1c8e8a1b4b692d2838abc99e427cc13c392', htmlFor: this.componentId, text: this.label }), h("input", { key: 'c69ceb5d687fb37b843e71e8aa9bad8b9f7bcaa8', class: "pds-input__field", "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, type: this.type, value: this.value, onInput: this.onInputEvent }), this.helperMessage &&
28
28
  h("p", { class: "pds-input__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
29
29
  h("p", { class: "pds-input__error-message", id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage))));
30
30
  }
@@ -1,7 +1,8 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { launch } from "@pine-ds/icons/icons";
3
3
  /**
4
- * @slot - Content is placed between the opening closing tags
4
+ * @part link - The main link element that represents the link component.
5
+ * @slot - Content is placed between the opening closing tags.
5
6
  */
6
7
  export class PdsLink {
7
8
  constructor() {
@@ -22,7 +23,7 @@ export class PdsLink {
22
23
  return classNames.join(' ');
23
24
  }
24
25
  render() {
25
- return (h("a", { key: '23e4b62674283edaadf6b4b31ec610d4c5c8b911', class: this.classNames(), href: this.href, id: this.componentId, target: this.external ? '_blank' : undefined }, h("slot", { key: 'd066d3add7be1faeee5a52ef4c1a9826d0c4b251' }, this.href), this.external &&
26
+ return (h("a", { key: '72e9712a881a175bab71e2d9beb2d0307582bde3', class: this.classNames(), href: this.href, id: this.componentId, target: this.external ? '_blank' : undefined, part: "link" }, h("slot", { key: '13f8e29adcfc55e7aeb62bd5e67105ce4d21eca7' }, this.href), this.external &&
26
27
  h("pds-icon", { icon: launch, size: this.fontSize })));
27
28
  }
28
29
  static get is() { return "pds-link"; }
@@ -1 +1 @@
1
- {"version":3,"file":"pds-link.js","sourceRoot":"","sources":["../../../src/components/pds-link/pds-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C;;GAEG;AAMH,MAAM,OAAO,OAAO;;;wBAUC,KAAK;uBAMc,QAAQ;wBAUP,IAAI;;;IAOnC,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,UAAU,CAAC,CAAC;QAEhC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;QAChD,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM;QAEJ,OAAO,CACL,0DACE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EACxB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;YAE5C,+DAAO,IAAI,CAAC,IAAI,CAAQ;YACvB,IAAI,CAAC,QAAQ;gBACZ,gBAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAa,CAExD,CACL,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\nimport { launch } from '@pine-ds/icons/icons';\n\n/**\n * @slot - Content is placed between the opening closing tags\n */\n@Component({\n tag: 'pds-link',\n styleUrl: 'pds-link.scss',\n shadow: true,\n})\nexport class PdsLink {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * When enabled, opens link in a new tab.\n * @defaultValue false\n */\n @Prop() external = false;\n\n /**\n *\n * Modifies the look of the link\n */\n @Prop() variant: 'inline' | 'plain' = 'inline';\n\n /**\n *\n * The Font size follows t-shirt model\n * sm: 12px\n * md: 14px\n * lg: 16px\n * @defaultValue lg\n */\n @Prop() fontSize: 'sm' | 'md' | 'lg' = 'lg';\n\n /**\n * The URL that the hyperlink points to.\n */\n @Prop() href!: string;\n\n private classNames() {\n const classNames = ['pds-link'];\n\n if (this.fontSize) {\n classNames.push('pds-link--' + this.fontSize);\n }\n\n if (this.variant) {\n classNames.push('pds-link--' + this.variant);\n }\n\n return classNames.join(' ');\n }\n\n render() {\n\n return (\n <a\n class={this.classNames()}\n href={this.href}\n id={this.componentId}\n target={this.external ? '_blank' : undefined}\n >\n <slot>{this.href}</slot>\n {this.external &&\n <pds-icon icon={launch} size={this.fontSize}></pds-icon>\n }\n </a>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-link.js","sourceRoot":"","sources":["../../../src/components/pds-link/pds-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C;;;GAGG;AAMH,MAAM,OAAO,OAAO;;;wBAUC,KAAK;uBAMc,QAAQ;wBAUP,IAAI;;;IAOnC,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,UAAU,CAAC,CAAC;QAEhC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;QAChD,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM;QAEJ,OAAO,CACL,0DACE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EACxB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAC5C,IAAI,EAAC,MAAM;YAEX,+DAAO,IAAI,CAAC,IAAI,CAAQ;YACvB,IAAI,CAAC,QAAQ;gBACZ,gBAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAa,CAExD,CACL,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\nimport { launch } from '@pine-ds/icons/icons';\n\n/**\n * @part link - The main link element that represents the link component.\n * @slot - Content is placed between the opening closing tags.\n */\n@Component({\n tag: 'pds-link',\n styleUrl: 'pds-link.scss',\n shadow: true,\n})\nexport class PdsLink {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * When enabled, opens link in a new tab.\n * @defaultValue false\n */\n @Prop() external = false;\n\n /**\n *\n * Modifies the look of the link\n */\n @Prop() variant: 'inline' | 'plain' = 'inline';\n\n /**\n *\n * The Font size follows t-shirt model\n * sm: 12px\n * md: 14px\n * lg: 16px\n * @defaultValue lg\n */\n @Prop() fontSize: 'sm' | 'md' | 'lg' = 'lg';\n\n /**\n * The URL that the hyperlink points to.\n */\n @Prop() href!: string;\n\n private classNames() {\n const classNames = ['pds-link'];\n\n if (this.fontSize) {\n classNames.push('pds-link--' + this.fontSize);\n }\n\n if (this.variant) {\n classNames.push('pds-link--' + this.variant);\n }\n\n return classNames.join(' ');\n }\n\n render() {\n\n return (\n <a\n class={this.classNames()}\n href={this.href}\n id={this.componentId}\n target={this.external ? '_blank' : undefined}\n part=\"link\"\n >\n <slot>{this.href}</slot>\n {this.external &&\n <pds-icon icon={launch} size={this.fontSize}></pds-icon>\n }\n </a>\n );\n }\n}\n"]}
@@ -9,7 +9,7 @@ export class PdsProgress {
9
9
  this.showPercent = false;
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: 'a20a576a6addcfe01e32b825142aaa18039ccfbb', class: this.animated ? { 'is-animated': this.animated } : '' }, h("div", { key: '2d0bb87d5567a4d8d9f8a689ff86fc97f3d94d4f', class: "pds-progress" }, h("label", { key: '0d98454dccb11aa0063a70491acb24e7fd72720d', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: '9f3b3c07fe1c5fcdf28a5e104e2c90a4e7d102b2', id: this.componentId, max: "100", style: this.fillColor ? { '--progress-fill-color': this.fillColor } : {}, value: this.percent })), this.showPercent && h("div", { class: "pds-progress__percentage" }, this.percent, "%")));
12
+ return (h(Host, { key: '68d38c1c9c0b21d20df22d9c9e21102f78143df7', class: this.animated ? { 'is-animated': this.animated } : '' }, h("div", { key: '2342ec7043319f3c9d6ee40b3d516523c40f8881', class: "pds-progress" }, h("label", { key: '56740d2f23e1cf0039751eac229b6c81234c45a8', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: 'b11e4117dae38cc8828623fbd1e25d666a5ec63c', id: this.componentId, max: "100", style: this.fillColor ? { '--progress-fill-color': this.fillColor } : {}, value: this.percent })), this.showPercent && h("div", { class: "pds-progress__percentage" }, this.percent, "%")));
13
13
  }
14
14
  static get is() { return "pds-progress"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -33,7 +33,7 @@ export class PdsRadio {
33
33
  return classNames.join(' ');
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: '7aa805bfda81bb1a04093b9733473cddc935ea65', class: this.classNames() }, h("input", { key: '907fba6999a8a781133f91c139829f417ffd3f80', "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(PdsLabel, { key: '72a62cc41ed4d9a4313442fe457901a6d0a194d3', htmlFor: this.componentId, text: this.label }), this.helperMessage &&
36
+ return (h(Host, { key: '1427cdb78f9e67d64f1d41fbbcd69f142568be54', class: this.classNames() }, h("input", { key: 'e657db2c4d043871913ba314adb0b1666001dc8e', "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(PdsLabel, { key: 'c7a15d4d55f7a82f21754d5a5c711ae2b60b5cdc', htmlFor: this.componentId, text: this.label }), this.helperMessage &&
37
37
  h("div", { class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
38
38
  h("div", { class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage)));
39
39
  }
@@ -32,7 +32,7 @@ export class PdsRow {
32
32
  })), (this.minHeight && {
33
33
  'min-height': this.minHeight,
34
34
  }));
35
- return (h(Host, { key: 'c466af5e55db772255cca9211f8d7e14760996ee', class: `pds-row ${rowClasses}`, style: rowInlineStyles }));
35
+ return (h(Host, { key: 'a0661e2e13c93d93f8fd8a2f692adce3eac2b9f7', class: `pds-row ${rowClasses}`, style: rowInlineStyles }));
36
36
  }
37
37
  static get is() { return "pds-row"; }
38
38
  static get originalStyleUrls() {
@@ -9,7 +9,7 @@ export class PdsSortableItem {
9
9
  this.handle = false;
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: 'dc0b82dca578e2e25dcb590f7baeb8b7207c00cc', class: "pds-sortable-item", id: this.componentId }, this.handle && (h("div", { class: "pds-sortable-item__handle" }, h("pds-icon", { name: "handle" }))), h("slot", { key: 'c9d4b404d14dafbc0aa23e89db2b961c9ab51d3b' }), this.enableActions && (h("div", { class: "pds-sortable-item__actions" }, h("slot", { name: "sortable-item-actions" })))));
12
+ return (h(Host, { key: '0af9e3cba44c18a8ded0ed71337076ebf761a437', class: "pds-sortable-item", id: this.componentId }, this.handle && (h("div", { class: "pds-sortable-item__handle" }, h("pds-icon", { name: "handle" }))), h("slot", { key: '44365ade9216eacdf72723d4bbf18bac5e6ba734' }), this.enableActions && (h("div", { class: "pds-sortable-item__actions" }, h("slot", { name: "sortable-item-actions" })))));
13
13
  }
14
14
  static get is() { return "pds-sortable-item"; }
15
15
  static get encapsulation() { return "scoped"; }
@@ -35,7 +35,7 @@ export class PdsSortable {
35
35
  Sortable.create(this.el, sortableOptions);
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: 'ab1c3a948cf1468a5fe941046f91a6d72f2c3117', class: this.classNames(), id: this.componentId }, h("slot", { key: 'abff220a9bd15b82f06dc6db1341b387e90d74c2' })));
38
+ return (h(Host, { key: 'ec0e4e8ab9f84b3163160f23cfe15796b1c8ca79', class: this.classNames(), id: this.componentId }, h("slot", { key: '9c3f9cbc3b0cdd50bc57d0f4f2a6231d1f2f9d2e' })));
39
39
  }
40
40
  static get is() { return "pds-sortable"; }
41
41
  static get encapsulation() { return "scoped"; }
@@ -34,7 +34,7 @@ export class PdsSwitch {
34
34
  this.value = undefined;
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '6235c2f551bedc84b014c5c1d62d1890453f7a5c', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("input", { key: 'f64395640bc974b7109da695343c50c5ab6d24be', "aria-describedby": assignDescription(this.componentId, this.invalid, 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: this.type, value: this.value }), h(PdsLabel, { key: 'd70d0965a079e0e86e6f261a4d01241fc6f3646f', classNames: "pds-switch__label", htmlFor: this.componentId, text: this.label }), this.helperMessage &&
37
+ return (h(Host, { key: 'cdb6f34b8eb4a40fa9477b820461276ea07b9346', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("input", { key: 'cdb0f78abe53f7c84da5aa75e878d40180821e44', "aria-describedby": assignDescription(this.componentId, this.invalid, 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: this.type, value: this.value }), h(PdsLabel, { key: '37d5f8106e84f5820f0e27b1a2d656a6090293a3', classNames: "pds-switch__label", htmlFor: this.componentId, text: this.label }), this.helperMessage &&
38
38
  h("div", { class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
39
39
  h("div", { class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage)));
40
40
  }
@@ -1,7 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  export class PdsTableBody {
3
3
  render() {
4
- return (h(Host, { key: 'd6768c5745e7b93b9b7109db8dd474b70688f5dc', role: "rowgroup" }, h("slot", { key: '972871a55a1efca31363b2ea93da900ac28030eb' })));
4
+ return (h(Host, { key: '8d71f826ae509e6ca5ab06016c3343036840af88', role: "rowgroup" }, h("slot", { key: 'b34bf96e2dc5232585dc3a28bbd81f5eafa42748' })));
5
5
  }
6
6
  static get is() { return "pds-table-body"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -34,11 +34,11 @@ export class PdsTableCell {
34
34
  return classNames.join(' ');
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: 'a4dc8a8339277b782f4a2ee0a675fe1cfba9882f', class: this.classNames(), role: "gridcell", style: this.tableRef &&
37
+ return (h(Host, { key: '71ff527047eaafcf9b9c57a6aa96634e4a887f0b', class: this.classNames(), role: "gridcell", style: this.tableRef &&
38
38
  this.tableRef.fixedColumn &&
39
39
  this.tableRef.selectable
40
40
  ? { '--fixed-cell-position': '40px' }
41
- : {} }, h("slot", { key: '1f00d0fe4e83ada31b33d760a34e2dfcb914be23' })));
41
+ : {} }, h("slot", { key: 'b62c595da7fbf8795e90c67c3d50b9f5e7449067' })));
42
42
  }
43
43
  static get is() { return "pds-table-cell"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class PdsTableHead {
8
8
  }
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '63d7450f27eaec26afc0724f7498cd3197ccc6f3', role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { part: this.tableRef.fixedColumn ? 'checkbox-cell' : '' })), h("slot", { key: '29ccb7483aea5efc5aa6f24e9dded5bb812748e2' })));
11
+ return (h(Host, { key: '3fc715433db735a23fa49fd37553a8f430af78bc', role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { part: this.tableRef.fixedColumn ? 'checkbox-cell' : '' })), h("slot", { key: 'f24a1ebc93b6718aaefbf9006d7fd89e43eb557c' })));
12
12
  }
13
13
  static get is() { return "pds-table-head"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -49,11 +49,11 @@ export class PdsTableHeadCell {
49
49
  return classNames.join(' ');
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: '855185382f83a8434abb9b1ccf222c8ef47e399a', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
52
+ return (h(Host, { key: 'de6a3a9f17d49206d61755cf49902ca414982ad3', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
53
53
  this.tableRef.fixedColumn &&
54
54
  this.tableRef.selectable
55
55
  ? { '--fixed-cell-position': '40px' }
56
- : {} }, h("slot", { key: '78f3f9551be753e3be9953dfa57a9924d2dd4950' }), this.sortable && (h("pds-icon", { name: this.sortingDirection === 'asc' ? 'up-small' : 'down-small' }))));
56
+ : {} }, h("slot", { key: 'c46427a01cd95972cb97fd244e4caf348bdefe03' }), this.sortable && (h("pds-icon", { name: this.sortingDirection === 'asc' ? 'up-small' : 'down-small' }))));
57
57
  }
58
58
  static get is() { return "pds-table-head-cell"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class PdsTableRow {
29
29
  }
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: 'b809dac3a76a195446be9cec359887f701213c83', class: this.classNames(), role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-cell", { part: this.tableRef.fixedColumn ? 'checkbox-cell' : '', class: this.tableRef.selectable ? 'has-checkbox' : '' }, h("pds-checkbox", { componentId: this.generateUniqueId(), onClick: this.handleCheckboxClick, label: "Select Row", labelHidden: true, checked: this.isSelected }))), h("slot", { key: '30e8125faa0238ff4c9d2e2ce4dc927173ab35ef' })));
32
+ return (h(Host, { key: '6eb4558d3c5970174833e11c74b8243f549e3c9a', class: this.classNames(), role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-cell", { part: this.tableRef.fixedColumn ? 'checkbox-cell' : '', class: this.tableRef.selectable ? 'has-checkbox' : '' }, h("pds-checkbox", { componentId: this.generateUniqueId(), onClick: this.handleCheckboxClick, label: "Select Row", labelHidden: true, checked: this.isSelected }))), h("slot", { key: 'd2ee3546bfe11f36278887b6261a0c5bca91202f' })));
33
33
  }
34
34
  static get is() { return "pds-table-row"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -58,7 +58,7 @@ export class PdsTable {
58
58
  this.sortingDirection = direction;
59
59
  }
60
60
  render() {
61
- return (h(Host, { key: 'a2c7913248cd3d9f73503bde080e8c88aa1a5a71', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable }, h("slot", { key: '94e51585d1c5c868896452a79b972c8ee8e27483' })));
61
+ return (h(Host, { key: '61e4788551b8e01ce7e5d0e96869b742157a9f2b', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable }, h("slot", { key: 'bab0e40123fe8bc257221bbd1a2b2f6076a6c691' })));
62
62
  }
63
63
  static get is() { return "pds-table"; }
64
64
  static get encapsulation() { return "shadow"; }
@@ -11,9 +11,9 @@ export class PdsTab {
11
11
  this.pdsTabClick.emit([index, parentComponentId]);
12
12
  }
13
13
  render() {
14
- const availabilityTabEdgeInlineStart = (h("span", { key: '4754a01d440847da41b9e47e32d1452fff1f4c2e', class: "pds-tab-edge", role: "presentation" }));
15
- const availabilityTabEdgeInlineEnd = (h("span", { key: '7ecd6e4047b9f359ccac8648251a4ea595a484f8', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
16
- return (h(Host, { key: 'dac9e9c4f234f32e69ecbe9ffb7638eed73c582c', variant: this.variant, slot: "tabs", index: this.index }, h("button", { key: '2988c7167823c3baf37b85d3a550b2b564ef22af', 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: '1bd3abbf587a43a0f59f4e0c2971fc1756694b3a', class: "pds-tab__content" }, h("slot", { key: '86a63ec956f4cb059cb8dbdbe9d5c923145f4680' })))));
14
+ const availabilityTabEdgeInlineStart = (h("span", { key: '08277d7cbe950dd18f41bd95c90f7c7389833311', class: "pds-tab-edge", role: "presentation" }));
15
+ const availabilityTabEdgeInlineEnd = (h("span", { key: '02d2d1acbc122a56bd01c53af8ff0f42b46cb3db', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
16
+ return (h(Host, { key: 'ae62d16ff39d937d3d635892a904870c436d1747', variant: this.variant, slot: "tabs", index: this.index }, h("button", { key: '45221be5eb829f64c5a1f19de600d68da9c27ed2', 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: '3e529a0253e4ecbfad3ab47760fa6d58771a58b8', class: "pds-tab__content" }, h("slot", { key: '4491e7c5442c386623e389ac247c5a8a6a6db254' })))));
17
17
  }
18
18
  static get is() { return "pds-tab"; }
19
19
  static get originalStyleUrls() {
@@ -7,7 +7,7 @@ export class PdsTabpanel {
7
7
  this.selected = false;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'b15595eb65b1f306ab6f321abad5f36d473f72f0', slot: "tabpanels" }, h("div", { key: 'cfef7ac9cf9894b3c0962dcdc9e70b728b94bd38', 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: 'b666cb82217d8d970794896668b070a3cd0719b3' }))));
10
+ return (h(Host, { key: 'e38cf8aa09d76ce8e971d4e64f635fd2ac237aad', slot: "tabpanels" }, h("div", { key: '316151ef0e305ecba207d2ea6d171fcb0c28b539', 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: '4214b2d070c6964f7d3ae41b1ed3d6713aaddf11' }))));
11
11
  }
12
12
  static get is() { return "pds-tabpanel"; }
13
13
  static get originalStyleUrls() {
@@ -83,7 +83,7 @@ export class PdsTabs {
83
83
  this.passPropsToChildren();
84
84
  }
85
85
  render() {
86
- return (h(Host, { key: '230c4abd9bf8632802f34df2a517ca2c1cc029bd', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, h("div", { key: 'ad7935e2494c8fa731abaf17979f61ffa70d8ac3', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, h("slot", { key: '3e3b604d8aa3391b23539914cd91bd6cafcfc4c9', name: "tabs" })), h("slot", { key: '7d8a5ee7b1b147816bedf6be0b24f8a57b422fe7', name: "tabpanels" })));
86
+ return (h(Host, { key: 'e6d5ba53ccd3f58d0e63ddee1a3f395c6f15c841', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, h("div", { key: 'b66c6f29bd3612c94130de2e44ca33e46facf401', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, h("slot", { key: 'eeaa4bacc8ae08964a106fed26af7c3927b83df7', name: "tabs" })), h("slot", { key: 'f6d0b358f7387a850e1f3db93eaf32cc7723b7a2', name: "tabpanels" })));
87
87
  }
88
88
  static get is() { return "pds-tabs"; }
89
89
  static get encapsulation() { return "shadow"; }
@@ -32,8 +32,8 @@ export class PdsTextarea {
32
32
  return classNames.join(' ');
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '1f722be202c2daa9c8ac782716f7be2ef2da2edc', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: '5eb779ac1fbbb24420b1362ec103ef6112319aaf', class: "pds-textarea" }, this.label &&
36
- h(PdsLabel, { htmlFor: this.componentId, text: this.label }), h("textarea", { key: '8e2a2de3ea1aa172022b7dea79a34ddcfa8a501b', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, class: this.textareaClassNames(), disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, onChange: this.onTextareaChange }, this.value), this.helperMessage &&
35
+ return (h(Host, { key: '741dcb258f9992f943e898b4f8ac569046f40a73', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: 'cb678d3e24cec028b7220b4d087e82ce24e26205', class: "pds-textarea" }, this.label &&
36
+ h(PdsLabel, { htmlFor: this.componentId, text: this.label }), h("textarea", { key: '667cec0eb152e45a01f87ca64865c816afe5b67b', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, class: this.textareaClassNames(), disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, onChange: this.onTextareaChange }, this.value), this.helperMessage &&
37
37
  h("p", { class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
38
38
  h("p", { "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, this.errorMessage))));
39
39
  }
@@ -58,13 +58,13 @@ export class PdsTooltip {
58
58
  this.opened = false;
59
59
  }
60
60
  render() {
61
- return (h(Host, { key: '55301f414d765eb7508c1c9cadf21d0ce64459b3', onMouseEnter: this.handleShow, onMouseLeave: this.handleHide, onFocusin: this.handleShow, onFocusout: this.handleHide }, h("div", { key: 'e2c600c9461499b8069d0163fd05318ea209fcaa', class: `
61
+ return (h(Host, { key: 'b4b6ca5fbf3a5b99b4fe74d4b874c81f51d46e8d', onMouseEnter: this.handleShow, onMouseLeave: this.handleHide, onFocusin: this.handleShow, onFocusout: this.handleHide }, h("div", { key: '234af23d5c082cbaf02c3f4026d094e19514520e', class: `
62
62
  pds-tooltip
63
63
  pds-tooltip--${this.placement}
64
64
  ${this.htmlContent ? 'pds-tooltip--has-html-content' : ''}
65
65
  ${this.opened ? 'pds-tooltip--is-open' : ''}
66
66
  ${this.hasArrow ? '' : 'pds-tooltip--no-arrow'}
67
- ` }, h("span", { key: '29080a266b672409e5dc51c80378b0fda4486ab6', "aria-describedby": this.componentId, class: "pds-tooltip__trigger" }, h("slot", { key: '45203a3ed1f30e140439298deb8a7c9f44212d10' })), h("div", { key: '85fe22686930b4060302b315eda0fcd0689a5a02', class: "pds-tooltip__content", "aria-hidden": this.opened ? 'false' : 'true', "aria-live": this.opened ? 'polite' : 'off', id: this.componentId, ref: (el) => (this.contentEl = el), role: "tooltip" }, h("slot", { key: '1926a065c45a2450fc97f6c1c9ba496d6e5fa8b5', name: "content" }), this.content))));
67
+ ` }, h("span", { key: '8636e6ec54ca42b7a96683b2a97f26ee4994ce75', "aria-describedby": this.componentId, class: "pds-tooltip__trigger" }, h("slot", { key: '915856a37e16dd9a5d19afec7111d90f3a1e1d0d' })), h("div", { key: '0e50c1c3559cfc529da2fc67a8b248e63ad8f75b', class: "pds-tooltip__content", "aria-hidden": this.opened ? 'false' : 'true', "aria-live": this.opened ? 'polite' : 'off', id: this.componentId, ref: (el) => (this.contentEl = el), role: "tooltip" }, h("slot", { key: 'dafafd2a343b10ed140eb5bd325d3b17a3dc062a', name: "content" }), this.content))));
68
68
  }
69
69
  static get is() { return "pds-tooltip"; }
70
70
  static get encapsulation() { return "shadow"; }
package/dist/docs.json CHANGED
@@ -1,11 +1,108 @@
1
1
  {
2
- "timestamp": "2024-02-23T00:09:43",
2
+ "timestamp": "2024-03-08T19:33:40",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.12.0",
6
6
  "typescriptVersion": "5.3.3"
7
7
  },
8
8
  "components": [
9
+ {
10
+ "filePath": "src/components/pds-accordion/pds-accordion.tsx",
11
+ "encapsulation": "shadow",
12
+ "tag": "pds-accordion",
13
+ "readme": "# pds-accordion\n\n\n",
14
+ "docs": "",
15
+ "docsTags": [
16
+ {
17
+ "name": "slot",
18
+ "text": "(default) - Accordion body content."
19
+ },
20
+ {
21
+ "name": "slot",
22
+ "text": "label - Accordion trigger button content."
23
+ }
24
+ ],
25
+ "usage": {},
26
+ "props": [
27
+ {
28
+ "name": "componentId",
29
+ "type": "string",
30
+ "complexType": {
31
+ "original": "string",
32
+ "resolved": "string",
33
+ "references": {}
34
+ },
35
+ "mutable": false,
36
+ "attr": "component-id",
37
+ "reflectToAttr": false,
38
+ "docs": "A unique identifier used for the underlying component `id` attribute.",
39
+ "docsTags": [
40
+ {
41
+ "name": "defaultValue",
42
+ "text": "null"
43
+ }
44
+ ],
45
+ "values": [
46
+ {
47
+ "type": "string"
48
+ }
49
+ ],
50
+ "optional": false,
51
+ "required": false
52
+ },
53
+ {
54
+ "name": "isOpen",
55
+ "type": "boolean",
56
+ "complexType": {
57
+ "original": "boolean",
58
+ "resolved": "boolean",
59
+ "references": {}
60
+ },
61
+ "mutable": true,
62
+ "attr": "open",
63
+ "reflectToAttr": true,
64
+ "docs": "Can be used to manually set the open state of the accordion.",
65
+ "docsTags": [
66
+ {
67
+ "name": "defaultValue",
68
+ "text": "false"
69
+ }
70
+ ],
71
+ "default": "false",
72
+ "values": [
73
+ {
74
+ "type": "boolean"
75
+ }
76
+ ],
77
+ "optional": false,
78
+ "required": false
79
+ }
80
+ ],
81
+ "methods": [],
82
+ "events": [],
83
+ "listeners": [],
84
+ "styles": [],
85
+ "slots": [
86
+ {
87
+ "name": "(default)",
88
+ "docs": "Accordion body content."
89
+ },
90
+ {
91
+ "name": "label",
92
+ "docs": "Accordion trigger button content."
93
+ }
94
+ ],
95
+ "parts": [],
96
+ "dependents": [],
97
+ "dependencies": [
98
+ "pds-icon"
99
+ ],
100
+ "dependencyGraph": {
101
+ "pds-accordion": [
102
+ "pds-icon"
103
+ ]
104
+ }
105
+ },
9
106
  {
10
107
  "filePath": "src/components/pds-avatar/pds-avatar.tsx",
11
108
  "encapsulation": "shadow",
@@ -3278,9 +3375,13 @@
3278
3375
  "readme": "# pds-link\n\nLink is mainly used as navigational element and usually appear within or directly following a paragraph or sentence. The \"plain link\" is used for interactive user generated text like product, post, and offer titles.\n",
3279
3376
  "docs": "Link is mainly used as navigational element and usually appear within or directly following a paragraph or sentence. The \"plain link\" is used for interactive user generated text like product, post, and offer titles.",
3280
3377
  "docsTags": [
3378
+ {
3379
+ "name": "part",
3380
+ "text": "link - The main link element that represents the link component."
3381
+ },
3281
3382
  {
3282
3383
  "name": "slot",
3283
- "text": "- Content is placed between the opening closing tags"
3384
+ "text": "- Content is placed between the opening closing tags."
3284
3385
  }
3285
3386
  ],
3286
3387
  "usage": {},
@@ -3425,10 +3526,15 @@
3425
3526
  "slots": [
3426
3527
  {
3427
3528
  "name": "",
3428
- "docs": "Content is placed between the opening closing tags"
3529
+ "docs": "Content is placed between the opening closing tags."
3530
+ }
3531
+ ],
3532
+ "parts": [
3533
+ {
3534
+ "name": "link",
3535
+ "docs": "The main link element that represents the link component."
3429
3536
  }
3430
3537
  ],
3431
- "parts": [],
3432
3538
  "dependents": [],
3433
3539
  "dependencies": [
3434
3540
  "pds-icon"