@pine-ds/core 0.0.4 → 0.1.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 (273) 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-progress.js +1 -1
  15. package/components/pds-radio.js +1 -1
  16. package/components/pds-row.js +1 -1
  17. package/components/pds-sortable-item.js +1 -1
  18. package/components/pds-sortable.js +1 -1
  19. package/components/pds-switch.js +1 -1
  20. package/components/pds-tab.js +3 -3
  21. package/components/pds-table-body.js +1 -1
  22. package/components/pds-table-cell2.js +2 -2
  23. package/components/pds-table-head-cell2.js +2 -2
  24. package/components/pds-table-head.js +1 -1
  25. package/components/pds-table-row.js +1 -1
  26. package/components/pds-table.js +1 -1
  27. package/components/pds-tabpanel.js +1 -1
  28. package/components/pds-tabs.js +1 -1
  29. package/components/pds-textarea.js +2 -2
  30. package/components/pds-tooltip.js +2 -2
  31. package/dist/cjs/loader.cjs.js +1 -1
  32. package/dist/cjs/pds-accordion.cjs.entry.js +42 -0
  33. package/dist/cjs/pds-accordion.cjs.entry.js.map +1 -0
  34. package/dist/cjs/pds-avatar.cjs.entry.js +1 -1
  35. package/dist/cjs/pds-box.cjs.entry.js +1 -1
  36. package/dist/cjs/pds-button.cjs.entry.js +1 -1
  37. package/dist/cjs/pds-checkbox_2.cjs.entry.js +3 -3
  38. package/dist/cjs/pds-chip.cjs.entry.js +1 -1
  39. package/dist/cjs/pds-copytext.cjs.entry.js +1 -1
  40. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  41. package/dist/cjs/pds-image.cjs.entry.js +2 -2
  42. package/dist/cjs/pds-input.cjs.entry.js +1 -1
  43. package/dist/cjs/pds-link.cjs.entry.js +1 -1
  44. package/dist/cjs/pds-progress.cjs.entry.js +1 -1
  45. package/dist/cjs/pds-radio.cjs.entry.js +1 -1
  46. package/dist/cjs/pds-row.cjs.entry.js +1 -1
  47. package/dist/cjs/pds-sortable-item.cjs.entry.js +1 -1
  48. package/dist/cjs/pds-sortable.cjs.entry.js +1 -1
  49. package/dist/cjs/pds-switch.cjs.entry.js +1 -1
  50. package/dist/cjs/pds-tab.cjs.entry.js +3 -3
  51. package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
  52. package/dist/cjs/pds-table-head-cell.cjs.entry.js +2 -2
  53. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  54. package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
  55. package/dist/cjs/pds-table.cjs.entry.js +1 -1
  56. package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
  57. package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
  58. package/dist/cjs/pds-textarea.cjs.entry.js +2 -2
  59. package/dist/cjs/pds-tooltip.cjs.entry.js +2 -2
  60. package/dist/cjs/pine-core.cjs.js +1 -1
  61. package/dist/collection/collection-manifest.json +1 -0
  62. package/dist/collection/components/pds-accordion/pds-accordion.css +55 -0
  63. package/dist/collection/components/pds-accordion/pds-accordion.js +93 -0
  64. package/dist/collection/components/pds-accordion/pds-accordion.js.map +1 -0
  65. package/dist/collection/components/pds-accordion/stories/pds-accordion.stories.js +34 -0
  66. package/dist/collection/components/pds-avatar/pds-avatar.js +1 -1
  67. package/dist/collection/components/pds-box/pds-box.js +1 -1
  68. package/dist/collection/components/pds-button/pds-button.js +1 -1
  69. package/dist/collection/components/pds-checkbox/pds-checkbox.js +1 -1
  70. package/dist/collection/components/pds-chip/pds-chip.js +1 -1
  71. package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
  72. package/dist/collection/components/pds-divider/pds-divider.js +1 -1
  73. package/dist/collection/components/pds-image/pds-image.js +2 -2
  74. package/dist/collection/components/pds-input/pds-input.js +1 -1
  75. package/dist/collection/components/pds-link/pds-link.js +1 -1
  76. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  77. package/dist/collection/components/pds-radio/pds-radio.js +1 -1
  78. package/dist/collection/components/pds-row/pds-row.js +1 -1
  79. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  80. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
  81. package/dist/collection/components/pds-switch/pds-switch.js +1 -1
  82. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  83. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  84. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  85. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  86. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  87. package/dist/collection/components/pds-table/pds-table.js +1 -1
  88. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
  89. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
  90. package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
  91. package/dist/collection/components/pds-textarea/pds-textarea.js +2 -2
  92. package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
  93. package/dist/docs.json +98 -1
  94. package/dist/esm/loader.js +1 -1
  95. package/dist/esm/pds-accordion.entry.js +38 -0
  96. package/dist/esm/pds-accordion.entry.js.map +1 -0
  97. package/dist/esm/pds-avatar.entry.js +1 -1
  98. package/dist/esm/pds-box.entry.js +1 -1
  99. package/dist/esm/pds-button.entry.js +1 -1
  100. package/dist/esm/pds-checkbox_2.entry.js +3 -3
  101. package/dist/esm/pds-chip.entry.js +1 -1
  102. package/dist/esm/pds-copytext.entry.js +1 -1
  103. package/dist/esm/pds-divider.entry.js +1 -1
  104. package/dist/esm/pds-image.entry.js +2 -2
  105. package/dist/esm/pds-input.entry.js +1 -1
  106. package/dist/esm/pds-link.entry.js +1 -1
  107. package/dist/esm/pds-progress.entry.js +1 -1
  108. package/dist/esm/pds-radio.entry.js +1 -1
  109. package/dist/esm/pds-row.entry.js +1 -1
  110. package/dist/esm/pds-sortable-item.entry.js +1 -1
  111. package/dist/esm/pds-sortable.entry.js +1 -1
  112. package/dist/esm/pds-switch.entry.js +1 -1
  113. package/dist/esm/pds-tab.entry.js +3 -3
  114. package/dist/esm/pds-table-body.entry.js +1 -1
  115. package/dist/esm/pds-table-head-cell.entry.js +2 -2
  116. package/dist/esm/pds-table-head.entry.js +1 -1
  117. package/dist/esm/pds-table-row.entry.js +1 -1
  118. package/dist/esm/pds-table.entry.js +1 -1
  119. package/dist/esm/pds-tabpanel.entry.js +1 -1
  120. package/dist/esm/pds-tabs.entry.js +1 -1
  121. package/dist/esm/pds-textarea.entry.js +2 -2
  122. package/dist/esm/pds-tooltip.entry.js +2 -2
  123. package/dist/esm/pine-core.js +1 -1
  124. package/dist/esm-es5/loader.js +1 -1
  125. package/dist/esm-es5/loader.js.map +1 -1
  126. package/dist/esm-es5/pds-accordion.entry.js +2 -0
  127. package/dist/esm-es5/pds-accordion.entry.js.map +1 -0
  128. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  129. package/dist/esm-es5/pds-box.entry.js +1 -1
  130. package/dist/esm-es5/pds-button.entry.js +1 -1
  131. package/dist/esm-es5/pds-checkbox_2.entry.js +1 -1
  132. package/dist/esm-es5/pds-chip.entry.js +1 -1
  133. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  134. package/dist/esm-es5/pds-divider.entry.js +1 -1
  135. package/dist/esm-es5/pds-image.entry.js +1 -1
  136. package/dist/esm-es5/pds-input.entry.js +1 -1
  137. package/dist/esm-es5/pds-link.entry.js +1 -1
  138. package/dist/esm-es5/pds-progress.entry.js +1 -1
  139. package/dist/esm-es5/pds-radio.entry.js +1 -1
  140. package/dist/esm-es5/pds-row.entry.js +1 -1
  141. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  142. package/dist/esm-es5/pds-sortable.entry.js +1 -1
  143. package/dist/esm-es5/pds-switch.entry.js +1 -1
  144. package/dist/esm-es5/pds-tab.entry.js +1 -1
  145. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  146. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  147. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  148. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  149. package/dist/esm-es5/pds-table.entry.js +1 -1
  150. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  151. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  152. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  153. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  154. package/dist/esm-es5/pine-core.js +1 -1
  155. package/dist/esm-es5/pine-core.js.map +1 -1
  156. package/dist/pine-core/{p-c36795fd.entry.js → p-01866f1a.entry.js} +2 -2
  157. package/dist/pine-core/p-0223de0a.entry.js +2 -0
  158. package/dist/pine-core/p-0e6e1833.entry.js +2 -0
  159. package/dist/pine-core/{p-c743e545.entry.js.map → p-0e6e1833.entry.js.map} +1 -1
  160. package/dist/pine-core/{p-590b8bc3.system.entry.js → p-135ee6e2.system.entry.js} +2 -2
  161. package/dist/pine-core/{p-be00178d.entry.js → p-18ba9e23.entry.js} +2 -2
  162. package/dist/pine-core/{p-54d324c2.system.entry.js → p-1977bfef.system.entry.js} +2 -2
  163. package/dist/pine-core/{p-9b5cd6ab.entry.js → p-22017122.entry.js} +2 -2
  164. package/dist/pine-core/{p-9fe27345.system.entry.js → p-35817ea5.system.entry.js} +2 -2
  165. package/dist/pine-core/{p-dbe98ba2.system.entry.js → p-360d4f79.system.entry.js} +2 -2
  166. package/dist/pine-core/{p-5eaff61a.system.entry.js → p-3813ace7.system.entry.js} +2 -2
  167. package/dist/pine-core/{p-0305f8c8.entry.js → p-416b7bd0.entry.js} +2 -2
  168. package/dist/pine-core/{p-763e2f83.entry.js → p-42ac8791.entry.js} +2 -2
  169. package/dist/pine-core/{p-d94dd844.system.entry.js → p-49ab971c.system.entry.js} +2 -2
  170. package/dist/pine-core/{p-627d088d.entry.js → p-4e4221e7.entry.js} +2 -2
  171. package/dist/pine-core/{p-25ffc9e2.entry.js → p-53eef5cf.entry.js} +2 -2
  172. package/dist/pine-core/{p-f17edd95.entry.js → p-54f515b7.entry.js} +2 -2
  173. package/dist/pine-core/{p-7a7416d5.system.entry.js → p-58245cbe.system.entry.js} +2 -2
  174. package/dist/pine-core/{p-ad186d12.system.entry.js → p-6044a5e6.system.entry.js} +2 -2
  175. package/dist/pine-core/{p-462f2b14.entry.js → p-608b7117.entry.js} +2 -2
  176. package/dist/pine-core/{p-5af9b6e2.entry.js → p-6457ee90.entry.js} +2 -2
  177. package/dist/pine-core/{p-bdebf156.system.entry.js → p-66bdd195.system.entry.js} +2 -2
  178. package/dist/pine-core/{p-f2c6b33e.system.entry.js → p-67980c37.system.entry.js} +2 -2
  179. package/dist/pine-core/{p-8fe57bfa.entry.js → p-694b1551.entry.js} +2 -2
  180. package/dist/pine-core/{p-c5641077.entry.js → p-6cf3a95f.entry.js} +2 -2
  181. package/dist/pine-core/p-7080c3d8.system.entry.js +2 -0
  182. package/dist/pine-core/{p-b5b59894.system.entry.js → p-70aafb29.system.entry.js} +2 -2
  183. package/dist/pine-core/{p-25f4a2c1.entry.js → p-713203a1.entry.js} +2 -2
  184. package/dist/pine-core/{p-84c19af2.system.entry.js → p-7bb9c112.system.entry.js} +2 -2
  185. package/dist/pine-core/{p-57da3e93.system.entry.js → p-7dbf72d0.system.entry.js} +2 -2
  186. package/dist/pine-core/{p-a246e1d1.system.entry.js → p-7e77ef60.system.entry.js} +2 -2
  187. package/dist/pine-core/{p-0c37f840.system.entry.js → p-81c5ccc0.system.entry.js} +2 -2
  188. package/dist/pine-core/{p-72065c3a.system.entry.js → p-8e6e3903.system.entry.js} +2 -2
  189. package/dist/pine-core/p-90dc441e.entry.js +2 -0
  190. package/dist/pine-core/p-90dc441e.entry.js.map +1 -0
  191. package/dist/pine-core/{p-f198ef17.entry.js → p-925cd323.entry.js} +2 -2
  192. package/dist/pine-core/p-988c3c8e.system.entry.js +2 -0
  193. package/dist/pine-core/p-988c3c8e.system.entry.js.map +1 -0
  194. package/dist/pine-core/{p-36862fec.system.entry.js → p-99778b1f.system.entry.js} +2 -2
  195. package/dist/pine-core/{p-c76ace76.system.entry.js → p-9e986a25.system.entry.js} +2 -2
  196. package/dist/pine-core/{p-6c3a05cf.entry.js → p-a1fab6ca.entry.js} +2 -2
  197. package/dist/pine-core/{p-4abda138.system.entry.js → p-aa5d045c.system.entry.js} +2 -2
  198. package/dist/pine-core/{p-68e7924e.system.entry.js → p-b4fcd4c2.system.entry.js} +2 -2
  199. package/dist/pine-core/p-b6a4d813.system.js +1 -1
  200. package/dist/pine-core/p-b6a4d813.system.js.map +1 -1
  201. package/dist/pine-core/{p-a923b153.entry.js → p-b854a2b6.entry.js} +2 -2
  202. package/dist/pine-core/{p-59db2abd.system.entry.js → p-bde59444.system.entry.js} +2 -2
  203. package/dist/pine-core/{p-748df843.entry.js → p-c0773da6.entry.js} +2 -2
  204. package/dist/pine-core/{p-d833e66e.entry.js → p-c584ec61.entry.js} +2 -2
  205. package/dist/pine-core/{p-20266cb6.entry.js → p-cc79e06a.entry.js} +2 -2
  206. package/dist/pine-core/{p-1d55b43e.entry.js → p-d4e439f5.entry.js} +2 -2
  207. package/dist/pine-core/{p-5fd196d6.entry.js → p-d9dcf4b5.entry.js} +2 -2
  208. package/dist/pine-core/{p-85a97505.system.entry.js → p-de162d6f.system.entry.js} +2 -2
  209. package/dist/pine-core/{p-a090344d.entry.js → p-ee6381bd.entry.js} +2 -2
  210. package/dist/pine-core/{p-1e1f6bc4.system.entry.js → p-f56a956a.system.entry.js} +2 -2
  211. package/dist/pine-core/{p-f329268a.entry.js → p-f953fd02.entry.js} +2 -2
  212. package/dist/pine-core/{p-0dacd1cd.entry.js → p-fb80556c.entry.js} +2 -2
  213. package/dist/pine-core/{p-588cb0d6.system.entry.js → p-fd1136bd.system.entry.js} +2 -2
  214. package/dist/pine-core/{p-3fc7e481.system.entry.js → p-fd9e7deb.system.entry.js} +2 -2
  215. package/dist/pine-core/pine-core.esm.js +1 -1
  216. package/dist/pine-core/pine-core.esm.js.map +1 -1
  217. package/dist/types/components/pds-accordion/pds-accordion.d.ts +22 -0
  218. package/dist/types/components.d.ts +33 -0
  219. package/package.json +3 -3
  220. package/dist/pine-core/p-4c2fa718.entry.js +0 -2
  221. package/dist/pine-core/p-a3ad3496.system.entry.js +0 -2
  222. package/dist/pine-core/p-c743e545.entry.js +0 -2
  223. /package/dist/pine-core/{p-c36795fd.entry.js.map → p-01866f1a.entry.js.map} +0 -0
  224. /package/dist/pine-core/{p-4c2fa718.entry.js.map → p-0223de0a.entry.js.map} +0 -0
  225. /package/dist/pine-core/{p-590b8bc3.system.entry.js.map → p-135ee6e2.system.entry.js.map} +0 -0
  226. /package/dist/pine-core/{p-be00178d.entry.js.map → p-18ba9e23.entry.js.map} +0 -0
  227. /package/dist/pine-core/{p-54d324c2.system.entry.js.map → p-1977bfef.system.entry.js.map} +0 -0
  228. /package/dist/pine-core/{p-9b5cd6ab.entry.js.map → p-22017122.entry.js.map} +0 -0
  229. /package/dist/pine-core/{p-9fe27345.system.entry.js.map → p-35817ea5.system.entry.js.map} +0 -0
  230. /package/dist/pine-core/{p-dbe98ba2.system.entry.js.map → p-360d4f79.system.entry.js.map} +0 -0
  231. /package/dist/pine-core/{p-5eaff61a.system.entry.js.map → p-3813ace7.system.entry.js.map} +0 -0
  232. /package/dist/pine-core/{p-0305f8c8.entry.js.map → p-416b7bd0.entry.js.map} +0 -0
  233. /package/dist/pine-core/{p-763e2f83.entry.js.map → p-42ac8791.entry.js.map} +0 -0
  234. /package/dist/pine-core/{p-d94dd844.system.entry.js.map → p-49ab971c.system.entry.js.map} +0 -0
  235. /package/dist/pine-core/{p-627d088d.entry.js.map → p-4e4221e7.entry.js.map} +0 -0
  236. /package/dist/pine-core/{p-25ffc9e2.entry.js.map → p-53eef5cf.entry.js.map} +0 -0
  237. /package/dist/pine-core/{p-f17edd95.entry.js.map → p-54f515b7.entry.js.map} +0 -0
  238. /package/dist/pine-core/{p-7a7416d5.system.entry.js.map → p-58245cbe.system.entry.js.map} +0 -0
  239. /package/dist/pine-core/{p-ad186d12.system.entry.js.map → p-6044a5e6.system.entry.js.map} +0 -0
  240. /package/dist/pine-core/{p-462f2b14.entry.js.map → p-608b7117.entry.js.map} +0 -0
  241. /package/dist/pine-core/{p-5af9b6e2.entry.js.map → p-6457ee90.entry.js.map} +0 -0
  242. /package/dist/pine-core/{p-bdebf156.system.entry.js.map → p-66bdd195.system.entry.js.map} +0 -0
  243. /package/dist/pine-core/{p-f2c6b33e.system.entry.js.map → p-67980c37.system.entry.js.map} +0 -0
  244. /package/dist/pine-core/{p-8fe57bfa.entry.js.map → p-694b1551.entry.js.map} +0 -0
  245. /package/dist/pine-core/{p-c5641077.entry.js.map → p-6cf3a95f.entry.js.map} +0 -0
  246. /package/dist/pine-core/{p-a3ad3496.system.entry.js.map → p-7080c3d8.system.entry.js.map} +0 -0
  247. /package/dist/pine-core/{p-b5b59894.system.entry.js.map → p-70aafb29.system.entry.js.map} +0 -0
  248. /package/dist/pine-core/{p-25f4a2c1.entry.js.map → p-713203a1.entry.js.map} +0 -0
  249. /package/dist/pine-core/{p-84c19af2.system.entry.js.map → p-7bb9c112.system.entry.js.map} +0 -0
  250. /package/dist/pine-core/{p-57da3e93.system.entry.js.map → p-7dbf72d0.system.entry.js.map} +0 -0
  251. /package/dist/pine-core/{p-a246e1d1.system.entry.js.map → p-7e77ef60.system.entry.js.map} +0 -0
  252. /package/dist/pine-core/{p-0c37f840.system.entry.js.map → p-81c5ccc0.system.entry.js.map} +0 -0
  253. /package/dist/pine-core/{p-72065c3a.system.entry.js.map → p-8e6e3903.system.entry.js.map} +0 -0
  254. /package/dist/pine-core/{p-f198ef17.entry.js.map → p-925cd323.entry.js.map} +0 -0
  255. /package/dist/pine-core/{p-36862fec.system.entry.js.map → p-99778b1f.system.entry.js.map} +0 -0
  256. /package/dist/pine-core/{p-c76ace76.system.entry.js.map → p-9e986a25.system.entry.js.map} +0 -0
  257. /package/dist/pine-core/{p-6c3a05cf.entry.js.map → p-a1fab6ca.entry.js.map} +0 -0
  258. /package/dist/pine-core/{p-4abda138.system.entry.js.map → p-aa5d045c.system.entry.js.map} +0 -0
  259. /package/dist/pine-core/{p-68e7924e.system.entry.js.map → p-b4fcd4c2.system.entry.js.map} +0 -0
  260. /package/dist/pine-core/{p-a923b153.entry.js.map → p-b854a2b6.entry.js.map} +0 -0
  261. /package/dist/pine-core/{p-59db2abd.system.entry.js.map → p-bde59444.system.entry.js.map} +0 -0
  262. /package/dist/pine-core/{p-748df843.entry.js.map → p-c0773da6.entry.js.map} +0 -0
  263. /package/dist/pine-core/{p-d833e66e.entry.js.map → p-c584ec61.entry.js.map} +0 -0
  264. /package/dist/pine-core/{p-20266cb6.entry.js.map → p-cc79e06a.entry.js.map} +0 -0
  265. /package/dist/pine-core/{p-1d55b43e.entry.js.map → p-d4e439f5.entry.js.map} +0 -0
  266. /package/dist/pine-core/{p-5fd196d6.entry.js.map → p-d9dcf4b5.entry.js.map} +0 -0
  267. /package/dist/pine-core/{p-85a97505.system.entry.js.map → p-de162d6f.system.entry.js.map} +0 -0
  268. /package/dist/pine-core/{p-a090344d.entry.js.map → p-ee6381bd.entry.js.map} +0 -0
  269. /package/dist/pine-core/{p-1e1f6bc4.system.entry.js.map → p-f56a956a.system.entry.js.map} +0 -0
  270. /package/dist/pine-core/{p-f329268a.entry.js.map → p-f953fd02.entry.js.map} +0 -0
  271. /package/dist/pine-core/{p-0dacd1cd.entry.js.map → p-fb80556c.entry.js.map} +0 -0
  272. /package/dist/pine-core/{p-588cb0d6.system.entry.js.map → p-fd1136bd.system.entry.js.map} +0 -0
  273. /package/dist/pine-core/{p-3fc7e481.system.entry.js.map → p-fd9e7deb.system.entry.js.map} +0 -0
@@ -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
  }
@@ -22,7 +22,7 @@ export class PdsLink {
22
22
  return classNames.join(' ');
23
23
  }
24
24
  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 &&
25
+ return (h("a", { key: 'cf71f4d333aa1adc5e23ad3d605e04951e10dca4', class: this.classNames(), href: this.href, id: this.componentId, target: this.external ? '_blank' : undefined }, h("slot", { key: '0ecbd6a838cb2f61fb34457c94b02b098e6bbd41' }, this.href), this.external &&
26
26
  h("pds-icon", { icon: launch, size: this.fontSize })));
27
27
  }
28
28
  static get is() { return "pds-link"; }
@@ -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-08T14:59:49",
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",
@@ -3,7 +3,7 @@ export { s as setNonce } from './index-4a3a9179.js';
3
3
 
4
4
  const defineCustomElements = (win, options) => {
5
5
  if (typeof window === 'undefined') return undefined;
6
- return bootstrapLazy([["pds-copytext",[[1,"pds-copytext",{"border":[516],"componentId":[1,"component-id"],"fullWidth":[4,"full-width"],"truncate":[4],"value":[1]}]]],["pds-table-head",[[1,"pds-table-head"]]],["pds-table-row",[[1,"pds-table-row",{"isSelected":[32]}]]],["pds-avatar",[[1,"pds-avatar",{"alt":[1],"badge":[4],"componentId":[1,"component-id"],"dropdown":[4],"image":[1],"size":[513],"variant":[513]}]]],["pds-chip",[[1,"pds-chip",{"componentId":[1,"component-id"],"sentiment":[1],"dot":[4],"label":[1],"large":[4],"variant":[1]}]]],["pds-link",[[1,"pds-link",{"componentId":[1,"component-id"],"external":[4],"variant":[1],"fontSize":[1,"font-size"],"href":[1]}]]],["pds-sortable-item",[[6,"pds-sortable-item",{"enableActions":[4,"enable-actions"],"componentId":[1,"component-id"],"handle":[4]}]]],["pds-box",[[0,"pds-box",{"alignItems":[1,"align-items"],"auto":[4],"backgroundColor":[1,"background-color"],"border":[4],"borderColor":[1,"border-color"],"borderRadius":[1,"border-radius"],"direction":[1],"display":[1],"fit":[4],"gap":[1],"flex":[1],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"minWidth":[1,"min-width"],"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"padding":[1],"shadow":[1],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["pds-divider",[[1,"pds-divider",{"componentId":[1,"component-id"],"offset":[1],"vertical":[4]}]]],["pds-image",[[1,"pds-image",{"alt":[1],"componentId":[1,"component-id"],"height":[2],"loading":[1],"sizes":[1],"src":[1],"srcset":[1],"width":[2]}]]],["pds-input",[[1,"pds-input",{"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"type":[1],"value":[1025]}]]],["pds-progress",[[1,"pds-progress",{"animated":[4],"componentId":[1,"component-id"],"fillColor":[1,"fill-color"],"label":[1],"percent":[2],"showPercent":[4,"show-percent"]}]]],["pds-radio",[[2,"pds-radio",{"checked":[4],"disabled":[4],"errorMessage":[1,"error-message"],"invalid":[4],"componentId":[1,"component-id"],"label":[1],"helperMessage":[1,"helper-message"],"name":[1],"required":[4],"value":[1]}]]],["pds-row",[[0,"pds-row",{"alignItems":[1,"align-items"],"border":[4],"colGap":[1,"col-gap"],"componentId":[1,"component-id"],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"noWrap":[4,"no-wrap"]}]]],["pds-sortable",[[6,"pds-sortable",{"border":[516],"componentId":[1,"component-id"],"dividers":[516],"handleType":[1,"handle-type"]}]]],["pds-switch",[[1,"pds-switch",{"componentId":[1,"component-id"],"checked":[4],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"required":[4],"type":[1],"value":[1]}]]],["pds-tab",[[4,"pds-tab",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"index":[2],"selected":[4]}]]],["pds-table",[[1,"pds-table",{"compact":[4],"componentId":[1,"component-id"],"responsive":[4],"fixedColumn":[4,"fixed-column"],"selectable":[4],"sortingColumn":[32],"sortingDirection":[32]},[[0,"pdsTableSort","handleTableSort"]]]]],["pds-table-body",[[1,"pds-table-body"]]],["pds-tabpanel",[[4,"pds-tabpanel",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"selected":[1028]}]]],["pds-tabs",[[1,"pds-tabs",{"tablistLabel":[1,"tablist-label"],"componentId":[1,"component-id"],"variant":[1],"activeTabName":[1025,"active-tab-name"],"activeTabIndex":[1026,"active-tab-index"]},[[16,"pdsTabClick","tabClickHandler"],[0,"keydown","handleKeyDown"]]]]],["pds-textarea",[[1,"pds-textarea",{"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[1028],"label":[1],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1025]}]]],["pds-tooltip",[[1,"pds-tooltip",{"content":[1],"componentId":[1,"component-id"],"hasArrow":[4,"has-arrow"],"htmlContent":[4,"html-content"],"placement":[513],"opened":[1540],"isOpen":[32],"showTooltip":[64],"hideTooltip":[64]},null,{"opened":["handleOpenToggle"]}]]],["pds-icon",[[1,"pds-icon",{"color":[1],"icon":[8],"name":[513],"size":[513],"src":[1],"ariaLabel":[32],"isVisible":[32],"svgContent":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"]}]]],["pds-button",[[1,"pds-button",{"componentId":[1,"component-id"],"disabled":[4],"icon":[1],"name":[1],"value":[1],"type":[1],"variant":[1]}]]],["pds-table-head-cell",[[1,"pds-table-head-cell",{"sortable":[4],"sortingDirection":[32],"tableScrolling":[32]}]]],["pds-checkbox_2",[[1,"pds-checkbox",{"checked":[4],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"indeterminate":[4],"invalid":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1]}],[1,"pds-table-cell",{"truncate":[4],"tableScrolling":[32]}]]]], options);
6
+ return bootstrapLazy([["pds-copytext",[[1,"pds-copytext",{"border":[516],"componentId":[1,"component-id"],"fullWidth":[4,"full-width"],"truncate":[4],"value":[1]}]]],["pds-table-head",[[1,"pds-table-head"]]],["pds-table-row",[[1,"pds-table-row",{"isSelected":[32]}]]],["pds-accordion",[[1,"pds-accordion",{"componentId":[1,"component-id"],"isOpen":[1540,"open"]},null,{"isOpen":["handleOpenState"]}]]],["pds-avatar",[[1,"pds-avatar",{"alt":[1],"badge":[4],"componentId":[1,"component-id"],"dropdown":[4],"image":[1],"size":[513],"variant":[513]}]]],["pds-chip",[[1,"pds-chip",{"componentId":[1,"component-id"],"sentiment":[1],"dot":[4],"label":[1],"large":[4],"variant":[1]}]]],["pds-link",[[1,"pds-link",{"componentId":[1,"component-id"],"external":[4],"variant":[1],"fontSize":[1,"font-size"],"href":[1]}]]],["pds-sortable-item",[[6,"pds-sortable-item",{"enableActions":[4,"enable-actions"],"componentId":[1,"component-id"],"handle":[4]}]]],["pds-box",[[0,"pds-box",{"alignItems":[1,"align-items"],"auto":[4],"backgroundColor":[1,"background-color"],"border":[4],"borderColor":[1,"border-color"],"borderRadius":[1,"border-radius"],"direction":[1],"display":[1],"fit":[4],"gap":[1],"flex":[1],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"minWidth":[1,"min-width"],"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"padding":[1],"shadow":[1],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["pds-divider",[[1,"pds-divider",{"componentId":[1,"component-id"],"offset":[1],"vertical":[4]}]]],["pds-image",[[1,"pds-image",{"alt":[1],"componentId":[1,"component-id"],"height":[2],"loading":[1],"sizes":[1],"src":[1],"srcset":[1],"width":[2]}]]],["pds-input",[[1,"pds-input",{"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"type":[1],"value":[1025]}]]],["pds-progress",[[1,"pds-progress",{"animated":[4],"componentId":[1,"component-id"],"fillColor":[1,"fill-color"],"label":[1],"percent":[2],"showPercent":[4,"show-percent"]}]]],["pds-radio",[[2,"pds-radio",{"checked":[4],"disabled":[4],"errorMessage":[1,"error-message"],"invalid":[4],"componentId":[1,"component-id"],"label":[1],"helperMessage":[1,"helper-message"],"name":[1],"required":[4],"value":[1]}]]],["pds-row",[[0,"pds-row",{"alignItems":[1,"align-items"],"border":[4],"colGap":[1,"col-gap"],"componentId":[1,"component-id"],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"noWrap":[4,"no-wrap"]}]]],["pds-sortable",[[6,"pds-sortable",{"border":[516],"componentId":[1,"component-id"],"dividers":[516],"handleType":[1,"handle-type"]}]]],["pds-switch",[[1,"pds-switch",{"componentId":[1,"component-id"],"checked":[4],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"required":[4],"type":[1],"value":[1]}]]],["pds-tab",[[4,"pds-tab",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"index":[2],"selected":[4]}]]],["pds-table",[[1,"pds-table",{"compact":[4],"componentId":[1,"component-id"],"responsive":[4],"fixedColumn":[4,"fixed-column"],"selectable":[4],"sortingColumn":[32],"sortingDirection":[32]},[[0,"pdsTableSort","handleTableSort"]]]]],["pds-table-body",[[1,"pds-table-body"]]],["pds-tabpanel",[[4,"pds-tabpanel",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"selected":[1028]}]]],["pds-tabs",[[1,"pds-tabs",{"tablistLabel":[1,"tablist-label"],"componentId":[1,"component-id"],"variant":[1],"activeTabName":[1025,"active-tab-name"],"activeTabIndex":[1026,"active-tab-index"]},[[16,"pdsTabClick","tabClickHandler"],[0,"keydown","handleKeyDown"]]]]],["pds-textarea",[[1,"pds-textarea",{"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[1028],"label":[1],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1025]}]]],["pds-tooltip",[[1,"pds-tooltip",{"content":[1],"componentId":[1,"component-id"],"hasArrow":[4,"has-arrow"],"htmlContent":[4,"html-content"],"placement":[513],"opened":[1540],"isOpen":[32],"showTooltip":[64],"hideTooltip":[64]},null,{"opened":["handleOpenToggle"]}]]],["pds-icon",[[1,"pds-icon",{"color":[1],"icon":[8],"name":[513],"size":[513],"src":[1],"ariaLabel":[32],"isVisible":[32],"svgContent":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"]}]]],["pds-button",[[1,"pds-button",{"componentId":[1,"component-id"],"disabled":[4],"icon":[1],"name":[1],"value":[1],"type":[1],"variant":[1]}]]],["pds-table-head-cell",[[1,"pds-table-head-cell",{"sortable":[4],"sortingDirection":[32],"tableScrolling":[32]}]]],["pds-checkbox_2",[[1,"pds-checkbox",{"checked":[4],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"indeterminate":[4],"invalid":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1]}],[1,"pds-table-cell",{"truncate":[4],"tableScrolling":[32]}]]]], options);
7
7
  };
8
8
 
9
9
  export { defineCustomElements };
@@ -0,0 +1,38 @@
1
+ import { r as registerInstance, h, H as Host } from './index-4a3a9179.js';
2
+
3
+ const pdsAccordionCss = ":host{display:block}details{--border-radius:var(--pine-spacing-xs);--box-shadow-focus:0 0 0 4px var(--pine-color-primary-200);--color-content-background:var(--pine-base-color-white);--color-background-hover:var(--pine-color-neutral-grey-300);--color-font:var(--pine-color-neutral-charcoal-200);--color-font-active:var(--pine-color-neutral-charcoal-400);--color-font-hover:var(--pine-color-neutral-charcoal-300);--font-weight:var(--pine-font-weight-medium);--spacing-details-padding-inline:12px;--spacing-summary-padding-block:var(--pine-spacing-xxs);--spacing-summary-padding-inline-start:var(--pine-spacing-xs);--spacing-summary-padding-inline-end:var(--pine-spacing-xxs);border-radius:var(--border-radius);padding-inline:var(--spacing-details-padding-inline)}details[open]{background-color:var(--color-content-background)}details[open] summary{color:var(--color-font-active)}summary{border-radius:var(--border-radius);color:var(--color-font);font-weight:var(--font-weight);padding-block:var(--spacing-summary-padding-block);-webkit-padding-end:var(--spacing-summary-padding-inline-end);padding-inline-end:var(--spacing-summary-padding-inline-end);-webkit-padding-start:var(--spacing-summary-padding-inline-start);padding-inline-start:var(--spacing-summary-padding-inline-start);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}summary::-webkit-details-marker{display:none}summary:hover{background:var(--color-background-hover);color:var(--color-font-hover);cursor:pointer}summary:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}summary pds-icon{-webkit-margin-start:auto;margin-inline-start:auto}";
4
+ const PdsAccordionStyle0 = pdsAccordionCss;
5
+
6
+ const PdsAccordion = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.handleToggle = () => {
10
+ this.isOpen = this.detailsEl.open;
11
+ };
12
+ this.getOpenAttribute = () => {
13
+ if (this.isOpen !== false) {
14
+ return { open: true };
15
+ }
16
+ return '';
17
+ };
18
+ this.componentId = undefined;
19
+ this.isOpen = false;
20
+ }
21
+ handleOpenState(newValue) {
22
+ this.isOpen = newValue;
23
+ }
24
+ componentDidLoad() {
25
+ this.detailsEl.addEventListener('toggle', this.handleToggle);
26
+ }
27
+ render() {
28
+ return (h(Host, { key: 'e2e795c93ddd812acd5f9ac26546953d7172ba39', class: "pds-accordion", id: this.componentId }, h("details", Object.assign({ key: '772f09a0f28f03a0feffa7a6ea1fd0cbf0947c56' }, this.getOpenAttribute(), { ref: (el) => this.detailsEl = el }), h("summary", { key: 'f8987032a8e8468f9e8728ed673c26210fd0c2a2' }, h("slot", { key: '5dfcd343dfdc7b5eb6f75e75dff494aab0fbea36', name: "label" }, "Details"), h("pds-icon", { key: '2e6cd67ca003428c48b0c0545287b629918f243a', name: this.isOpen ? 'up-small' : 'down-small' })), h("div", { key: '508b2e5d33c4a83e6f569ba30ef042e5ffc01318', class: "pds-accordion__body" }, h("slot", { key: '13bc1ae447df49043efbbf631844add1245fbabe' })))));
29
+ }
30
+ static get watchers() { return {
31
+ "isOpen": ["handleOpenState"]
32
+ }; }
33
+ };
34
+ PdsAccordion.style = PdsAccordionStyle0;
35
+
36
+ export { PdsAccordion as pds_accordion };
37
+
38
+ //# sourceMappingURL=pds-accordion.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"pds-accordion.entry.js","mappings":";;AAAA,MAAM,eAAe,GAAG,kpDAAkpD,CAAC;AAC3qD,2BAAe,eAAe;;MCUjB,YAAY;;;QAwBf,iBAAY,GAAG;YACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;SACnC,CAAA;QAEO,qBAAgB,GAAG;YACzB,IAAI,IAAI,CAAC,MAAM,KAAK,KAAK,EAAE;gBACzB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;aACvB;YACD,OAAO,EAAE,CAAC;SACX,CAAA;;sBAhBoB,KAAK;;IAG1B,eAAe,CAAC,QAAiB;QAC/B,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;KACxB;IAaD,gBAAgB;QACd,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;KAC9D;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,KAAK,EAAC,eAAe,EAAC,EAAE,EAAE,IAAI,CAAC,WAAW,IAC9C,gFAAa,IAAI,CAAC,gBAAgB,EAAE,IAAE,GAAG,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC,SAAS,GAAG,EAAwB,KAC1F,kEACE,6DAAM,IAAI,EAAC,OAAO,cAAe,EACjC,iEAAU,IAAI,EAAE,IAAI,CAAC,MAAM,GAAG,UAAU,GAAG,YAAY,GAAI,CACnD,EACV,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,8DAAQ,CACJ,CACE,CACL,EACP;KACH;;;;;;;;;","names":[],"sources":["src/components/pds-accordion/pds-accordion.scss?tag=pds-accordion&encapsulation=shadow","src/components/pds-accordion/pds-accordion.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\ndetails {\n --border-radius: var(--pine-spacing-xs);\n --box-shadow-focus: 0 0 0 4px var(--pine-color-primary-200);\n --color-content-background: var(--pine-base-color-white);\n --color-background-hover: var(--pine-color-neutral-grey-300);\n --color-font: var(--pine-color-neutral-charcoal-200);\n --color-font-active: var(--pine-color-neutral-charcoal-400);\n --color-font-hover: var(--pine-color-neutral-charcoal-300);\n --font-weight: var(--pine-font-weight-medium);\n --spacing-details-padding-inline: 12px;\n --spacing-summary-padding-block: var(--pine-spacing-xxs);\n --spacing-summary-padding-inline-start: var(--pine-spacing-xs);\n --spacing-summary-padding-inline-end: var(--pine-spacing-xxs);\n\n border-radius: var(--border-radius);\n padding-inline: var(--spacing-details-padding-inline)\n}\n\n/* stylelint-disable-next-line */\ndetails[open] {\n background-color: var(--color-content-background);\n\n summary {\n color: var(--color-font-active);\n }\n}\n\nsummary {\n border-radius: var(--border-radius);\n color: var(--color-font);\n font-weight: var(--font-weight);\n padding-block: var(--spacing-summary-padding-block);\n padding-inline-end: var(--spacing-summary-padding-inline-end);\n padding-inline-start: var(--spacing-summary-padding-inline-start);\n\n // Removes marker on Firefox/Chrome\n /* stylelint-disable-next-line */\n align-items: center;\n display: flex;\n\n // Removes marker on Safari\n &::-webkit-details-marker {\n display: none;\n }\n\n &:hover {\n background: var(--color-background-hover);\n color: var(--color-font-hover);\n cursor: pointer;\n }\n\n &:focus-visible {\n // outline: var(--pine-border-focus); Border radius for outline does not work in Safari\n box-shadow: var(--box-shadow-focus); // Remove when outline radius is supported in Safari\n outline: none;\n }\n\n pds-icon {\n margin-inline-start: auto;\n }\n}\n","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"],"version":3}
@@ -57,7 +57,7 @@ const PdsAvatar = class {
57
57
  }
58
58
  }
59
59
  render() {
60
- return (h(Host, { key: '595815274032d146a4bb480940d152ba2507c2b4', id: this.componentId, class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
60
+ return (h(Host, { key: '179b1d53b2250e1fab6807a324c474c2d02c8d43', id: this.componentId, class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
61
61
  }
62
62
  };
63
63
  PdsAvatar.style = PdsAvatarStyle0;
@@ -68,7 +68,7 @@ const PdsBox = class {
68
68
  this.sizeXl == undefined ? 'pds-box' : ''}
69
69
  `;
70
70
  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 }));
71
- return (h(Host, { key: '39cf80d5cbcc14aeca43345e4532b7a77dc6f880', class: boxClasses, style: boxInlineStyles }));
71
+ return (h(Host, { key: 'c04696c04b987f82aa03e23d41078ffa32ed6e78', class: boxClasses, style: boxInlineStyles }));
72
72
  }
73
73
  };
74
74
  PdsBox.style = PdsBoxStyle0;
@@ -43,7 +43,7 @@ const PdsButton = class {
43
43
  return classNames.join(' ');
44
44
  }
45
45
  render() {
46
- 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" }))));
46
+ 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" }))));
47
47
  }
48
48
  get el() { return getElement(this); }
49
49
  };
@@ -46,7 +46,7 @@ const PdsCheckbox = class {
46
46
  return classNames.join(' ');
47
47
  }
48
48
  render() {
49
- 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 &&
49
+ 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 &&
50
50
  h("div", { class: 'pds-checkbox__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
51
51
  h("div", { class: `pds-checkbox__message pds-checkbox__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage)));
52
52
  }
@@ -92,11 +92,11 @@ const PdsTableCell = class {
92
92
  return classNames.join(' ');
93
93
  }
94
94
  render() {
95
- return (h(Host, { key: 'a4dc8a8339277b782f4a2ee0a675fe1cfba9882f', class: this.classNames(), role: "gridcell", style: this.tableRef &&
95
+ return (h(Host, { key: '71ff527047eaafcf9b9c57a6aa96634e4a887f0b', class: this.classNames(), role: "gridcell", style: this.tableRef &&
96
96
  this.tableRef.fixedColumn &&
97
97
  this.tableRef.selectable
98
98
  ? { '--fixed-cell-position': '40px' }
99
- : {} }, h("slot", { key: '1f00d0fe4e83ada31b33d760a34e2dfcb914be23' })));
99
+ : {} }, h("slot", { key: 'b62c595da7fbf8795e90c67c3d50b9f5e7449067' })));
100
100
  }
101
101
  get hostElement() { return getElement(this); }
102
102
  };
@@ -36,7 +36,7 @@ const PdsChip = class {
36
36
  return chipContent;
37
37
  }
38
38
  render() {
39
- 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" })))));
39
+ 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" })))));
40
40
  }
41
41
  };
42
42
  PdsChip.style = PdsChipStyle0;
@@ -55,7 +55,7 @@ const PdsCopytext = class {
55
55
  return classNames.join(' ');
56
56
  }
57
57
  render() {
58
- 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" }))));
58
+ 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" }))));
59
59
  }
60
60
  };
61
61
  PdsCopytext.style = PdsCopytextStyle0;
@@ -22,7 +22,7 @@ const PdsDivider = class {
22
22
  return classNames.join(' ');
23
23
  }
24
24
  render() {
25
- return (h(Host, { key: '2fd0d24d893d6936915480731948caa8de5007fa', id: this.componentId }, h("hr", { key: 'dacc620d9f1cb7b2a05f0e0205e2df3d3bfbfcd7', class: this.classNames() })));
25
+ return (h(Host, { key: 'd5d42d70c2417e0fc801f87f8460557bb1756443', id: this.componentId }, h("hr", { key: '49554a46b6949d09adc4794b22441a1f76eb1d13', class: this.classNames() })));
26
26
  }
27
27
  };
28
28
  PdsDivider.style = PdsDividerStyle0;