@pine-ds/core 0.1.0 → 0.1.2

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 (263) hide show
  1. package/components/index.d.ts +59 -0
  2. package/components/index.js +29 -0
  3. package/components/index.js.map +1 -1
  4. package/components/pds-accordion.js +1 -1
  5. package/components/pds-accordion.js.map +1 -1
  6. package/components/pds-link.js +1 -1
  7. package/components/pds-link.js.map +1 -1
  8. package/dist/cjs/{index-c18b5a7b.js → index-af2145ac.js} +287 -4
  9. package/dist/cjs/index-af2145ac.js.map +1 -0
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/pds-accordion.cjs.entry.js +2 -2
  12. package/dist/cjs/pds-accordion.cjs.entry.js.map +1 -1
  13. package/dist/cjs/pds-avatar.cjs.entry.js +1 -1
  14. package/dist/cjs/pds-box.cjs.entry.js +1 -1
  15. package/dist/cjs/pds-button.cjs.entry.js +1 -1
  16. package/dist/cjs/pds-checkbox_2.cjs.entry.js +2 -2
  17. package/dist/cjs/pds-chip.cjs.entry.js +1 -1
  18. package/dist/cjs/pds-copytext.cjs.entry.js +1 -1
  19. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  20. package/dist/cjs/pds-icon.cjs.entry.js +1 -1
  21. package/dist/cjs/pds-image.cjs.entry.js +1 -1
  22. package/dist/cjs/pds-input.cjs.entry.js +2 -2
  23. package/dist/cjs/{pds-label-a3b0188d.js → pds-label-81c1073a.js} +2 -2
  24. package/dist/cjs/{pds-label-a3b0188d.js.map → pds-label-81c1073a.js.map} +1 -1
  25. package/dist/cjs/pds-link.cjs.entry.js +2 -2
  26. package/dist/cjs/pds-link.cjs.entry.js.map +1 -1
  27. package/dist/cjs/pds-progress.cjs.entry.js +1 -1
  28. package/dist/cjs/pds-radio.cjs.entry.js +2 -2
  29. package/dist/cjs/pds-row.cjs.entry.js +1 -1
  30. package/dist/cjs/pds-sortable-item.cjs.entry.js +1 -1
  31. package/dist/cjs/pds-sortable.cjs.entry.js +1 -1
  32. package/dist/cjs/pds-switch.cjs.entry.js +2 -2
  33. package/dist/cjs/pds-tab.cjs.entry.js +1 -1
  34. package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
  35. package/dist/cjs/pds-table-head-cell.cjs.entry.js +1 -1
  36. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  37. package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
  38. package/dist/cjs/pds-table.cjs.entry.js +1 -1
  39. package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
  40. package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
  41. package/dist/cjs/pds-textarea.cjs.entry.js +2 -2
  42. package/dist/cjs/pds-tooltip.cjs.entry.js +1 -1
  43. package/dist/cjs/pine-core.cjs.js +1 -1
  44. package/dist/collection/components/pds-accordion/pds-accordion.css +3 -2
  45. package/dist/collection/components/pds-link/pds-link.js +3 -2
  46. package/dist/collection/components/pds-link/pds-link.js.map +1 -1
  47. package/dist/docs.json +13 -4
  48. package/dist/esm/{index-4a3a9179.js → index-9312507f.js} +287 -4
  49. package/dist/esm/index-9312507f.js.map +1 -0
  50. package/dist/esm/loader.js +2 -2
  51. package/dist/esm/pds-accordion.entry.js +2 -2
  52. package/dist/esm/pds-accordion.entry.js.map +1 -1
  53. package/dist/esm/pds-avatar.entry.js +1 -1
  54. package/dist/esm/pds-box.entry.js +1 -1
  55. package/dist/esm/pds-button.entry.js +1 -1
  56. package/dist/esm/pds-checkbox_2.entry.js +2 -2
  57. package/dist/esm/pds-chip.entry.js +1 -1
  58. package/dist/esm/pds-copytext.entry.js +1 -1
  59. package/dist/esm/pds-divider.entry.js +1 -1
  60. package/dist/esm/pds-icon.entry.js +1 -1
  61. package/dist/esm/pds-image.entry.js +1 -1
  62. package/dist/esm/pds-input.entry.js +2 -2
  63. package/dist/esm/{pds-label-5a20380b.js → pds-label-d33eab3b.js} +2 -2
  64. package/dist/esm/{pds-label-5a20380b.js.map → pds-label-d33eab3b.js.map} +1 -1
  65. package/dist/esm/pds-link.entry.js +2 -2
  66. package/dist/esm/pds-link.entry.js.map +1 -1
  67. package/dist/esm/pds-progress.entry.js +1 -1
  68. package/dist/esm/pds-radio.entry.js +2 -2
  69. package/dist/esm/pds-row.entry.js +1 -1
  70. package/dist/esm/pds-sortable-item.entry.js +1 -1
  71. package/dist/esm/pds-sortable.entry.js +1 -1
  72. package/dist/esm/pds-switch.entry.js +2 -2
  73. package/dist/esm/pds-tab.entry.js +1 -1
  74. package/dist/esm/pds-table-body.entry.js +1 -1
  75. package/dist/esm/pds-table-head-cell.entry.js +1 -1
  76. package/dist/esm/pds-table-head.entry.js +1 -1
  77. package/dist/esm/pds-table-row.entry.js +1 -1
  78. package/dist/esm/pds-table.entry.js +1 -1
  79. package/dist/esm/pds-tabpanel.entry.js +1 -1
  80. package/dist/esm/pds-tabs.entry.js +1 -1
  81. package/dist/esm/pds-textarea.entry.js +2 -2
  82. package/dist/esm/pds-tooltip.entry.js +1 -1
  83. package/dist/esm/pine-core.js +2 -2
  84. package/dist/esm-es5/index-9312507f.js +3 -0
  85. package/dist/esm-es5/index-9312507f.js.map +1 -0
  86. package/dist/esm-es5/loader.js +1 -1
  87. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  88. package/dist/esm-es5/pds-accordion.entry.js.map +1 -1
  89. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  90. package/dist/esm-es5/pds-box.entry.js +1 -1
  91. package/dist/esm-es5/pds-button.entry.js +1 -1
  92. package/dist/esm-es5/pds-checkbox_2.entry.js +1 -1
  93. package/dist/esm-es5/pds-chip.entry.js +1 -1
  94. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  95. package/dist/esm-es5/pds-divider.entry.js +1 -1
  96. package/dist/esm-es5/pds-icon.entry.js +1 -1
  97. package/dist/esm-es5/pds-image.entry.js +1 -1
  98. package/dist/esm-es5/pds-input.entry.js +1 -1
  99. package/dist/esm-es5/{pds-label-5a20380b.js → pds-label-d33eab3b.js} +2 -2
  100. package/dist/esm-es5/pds-link.entry.js +1 -1
  101. package/dist/esm-es5/pds-link.entry.js.map +1 -1
  102. package/dist/esm-es5/pds-progress.entry.js +1 -1
  103. package/dist/esm-es5/pds-radio.entry.js +1 -1
  104. package/dist/esm-es5/pds-row.entry.js +1 -1
  105. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  106. package/dist/esm-es5/pds-sortable.entry.js +1 -1
  107. package/dist/esm-es5/pds-switch.entry.js +1 -1
  108. package/dist/esm-es5/pds-tab.entry.js +1 -1
  109. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  110. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  111. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  112. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  113. package/dist/esm-es5/pds-table.entry.js +1 -1
  114. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  115. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  116. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  117. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  118. package/dist/esm-es5/pine-core.js +1 -1
  119. package/dist/pine-core/{p-6cf3a95f.entry.js → p-07e0e33d.entry.js} +2 -2
  120. package/dist/pine-core/{p-aa5d045c.system.entry.js → p-0c443b29.system.entry.js} +2 -2
  121. package/dist/pine-core/{p-3f82f07a.system.js → p-0cdd6574.system.js} +2 -2
  122. package/dist/pine-core/{p-713203a1.entry.js → p-0f0c672b.entry.js} +2 -2
  123. package/dist/pine-core/{p-1977bfef.system.entry.js → p-18d461ea.system.entry.js} +2 -2
  124. package/dist/pine-core/p-1a70ea52.entry.js +2 -0
  125. package/dist/pine-core/{p-988c3c8e.system.entry.js.map → p-1a70ea52.entry.js.map} +1 -1
  126. package/dist/pine-core/{p-bde59444.system.entry.js → p-207a1db7.system.entry.js} +2 -2
  127. package/dist/pine-core/{p-fd1136bd.system.entry.js → p-2306d119.system.entry.js} +2 -2
  128. package/dist/pine-core/{p-cc79e06a.entry.js → p-24329e5f.entry.js} +2 -2
  129. package/dist/pine-core/{p-6044a5e6.system.entry.js → p-282475be.system.entry.js} +2 -2
  130. package/dist/pine-core/{p-42ac8791.entry.js → p-32f5eae9.entry.js} +2 -2
  131. package/dist/pine-core/{p-9e986a25.system.entry.js → p-363392ea.system.entry.js} +2 -2
  132. package/dist/pine-core/p-3891188c.entry.js +2 -0
  133. package/dist/pine-core/{p-fd9e7deb.system.entry.js → p-3aafe83d.system.entry.js} +2 -2
  134. package/dist/pine-core/{p-b6a4d813.system.js → p-3bf307ef.system.js} +2 -2
  135. package/dist/pine-core/{p-c0773da6.entry.js → p-422bdfa6.entry.js} +2 -2
  136. package/dist/pine-core/{p-7dbf72d0.system.entry.js → p-46a4a8f0.system.entry.js} +2 -2
  137. package/dist/pine-core/{p-49ab971c.system.entry.js → p-50e04f66.system.entry.js} +2 -2
  138. package/dist/pine-core/p-539ecb64.system.entry.js +2 -0
  139. package/dist/pine-core/p-539ecb64.system.entry.js.map +1 -0
  140. package/dist/pine-core/{p-70aafb29.system.entry.js → p-5812cf50.system.entry.js} +2 -2
  141. package/dist/pine-core/{p-54f515b7.entry.js → p-5e3cf93b.entry.js} +2 -2
  142. package/dist/pine-core/{p-18ba9e23.entry.js → p-60bb9395.entry.js} +2 -2
  143. package/dist/pine-core/{p-7e77ef60.system.entry.js → p-6569a81a.system.entry.js} +2 -2
  144. package/dist/pine-core/{p-608b7117.entry.js → p-68d79b69.entry.js} +2 -2
  145. package/dist/pine-core/{p-67980c37.system.entry.js → p-6d1f5eb6.system.entry.js} +2 -2
  146. package/dist/pine-core/{p-416b7bd0.entry.js → p-7751adcf.entry.js} +2 -2
  147. package/dist/pine-core/{p-fb80556c.entry.js → p-79bf6399.entry.js} +2 -2
  148. package/dist/pine-core/{p-f953fd02.entry.js → p-818d3c3a.entry.js} +2 -2
  149. package/dist/pine-core/p-8248c25e.system.js +3 -0
  150. package/dist/pine-core/p-8248c25e.system.js.map +1 -0
  151. package/dist/pine-core/{p-53eef5cf.entry.js → p-8a213ad9.entry.js} +2 -2
  152. package/dist/pine-core/{p-35817ea5.system.entry.js → p-8bba9f6b.system.entry.js} +2 -2
  153. package/dist/pine-core/{p-99778b1f.system.entry.js → p-8d320cf0.system.entry.js} +2 -2
  154. package/dist/pine-core/p-8d320cf0.system.entry.js.map +1 -0
  155. package/dist/pine-core/{p-ee6381bd.entry.js → p-9287c72f.entry.js} +2 -2
  156. package/dist/pine-core/{p-b854a2b6.entry.js → p-96503b18.entry.js} +2 -2
  157. package/dist/pine-core/{p-360d4f79.system.entry.js → p-98740980.system.entry.js} +2 -2
  158. package/dist/pine-core/{p-de162d6f.system.entry.js → p-98cc1e47.system.entry.js} +2 -2
  159. package/dist/pine-core/{p-6457ee90.entry.js → p-9be99490.entry.js} +2 -2
  160. package/dist/pine-core/{p-d9dcf4b5.entry.js → p-9d8d9443.entry.js} +2 -2
  161. package/dist/pine-core/{p-d3d4661e.entry.js → p-a3310afa.entry.js} +2 -2
  162. package/dist/pine-core/{p-413d41ad.js → p-a4d4fbbb.js} +2 -2
  163. package/dist/pine-core/p-a954bb71.js +3 -0
  164. package/dist/pine-core/p-a954bb71.js.map +1 -0
  165. package/dist/pine-core/{p-3813ace7.system.entry.js → p-aa9f7889.system.entry.js} +2 -2
  166. package/dist/pine-core/{p-d4e439f5.entry.js → p-ab9e0ab4.entry.js} +2 -2
  167. package/dist/pine-core/{p-66bdd195.system.entry.js → p-b3abea50.system.entry.js} +2 -2
  168. package/dist/pine-core/{p-81c5ccc0.system.entry.js → p-bd051dc8.system.entry.js} +2 -2
  169. package/dist/pine-core/{p-135ee6e2.system.entry.js → p-bf49c9da.system.entry.js} +2 -2
  170. package/dist/pine-core/{p-22017122.entry.js → p-c107a273.entry.js} +2 -2
  171. package/dist/pine-core/p-c39a7480.system.entry.js +2 -0
  172. package/dist/pine-core/{p-269121f3.system.entry.js → p-c7553aef.system.entry.js} +2 -2
  173. package/dist/pine-core/{p-8e6e3903.system.entry.js → p-cd1bb310.system.entry.js} +2 -2
  174. package/dist/pine-core/{p-f56a956a.system.entry.js → p-ceb83df8.system.entry.js} +2 -2
  175. package/dist/pine-core/{p-a1fab6ca.entry.js → p-d02db70d.entry.js} +2 -2
  176. package/dist/pine-core/p-d02db70d.entry.js.map +1 -0
  177. package/dist/pine-core/{p-58245cbe.system.entry.js → p-d5ec4117.system.entry.js} +2 -2
  178. package/dist/pine-core/{p-925cd323.entry.js → p-db09b014.entry.js} +2 -2
  179. package/dist/pine-core/{p-b4fcd4c2.system.entry.js → p-df4a1834.system.entry.js} +2 -2
  180. package/dist/pine-core/{p-0223de0a.entry.js → p-e07e6487.entry.js} +2 -2
  181. package/dist/pine-core/{p-01866f1a.entry.js → p-e394916b.entry.js} +2 -2
  182. package/dist/pine-core/{p-694b1551.entry.js → p-e6cae1e7.entry.js} +2 -2
  183. package/dist/pine-core/{p-0e6e1833.entry.js → p-e6d28371.entry.js} +2 -2
  184. package/dist/pine-core/{p-c584ec61.entry.js → p-e732c325.entry.js} +2 -2
  185. package/dist/pine-core/{p-7bb9c112.system.entry.js → p-fe9b0b4b.system.entry.js} +2 -2
  186. package/dist/pine-core/pine-core.esm.js +1 -1
  187. package/dist/pine-core/pine-core.js +1 -1
  188. package/dist/types/components/pds-link/pds-link.d.ts +2 -1
  189. package/hydrate/index.d.ts +218 -0
  190. package/hydrate/index.js +12934 -0
  191. package/hydrate/package.json +6 -0
  192. package/package.json +5 -4
  193. package/dist/cjs/index-c18b5a7b.js.map +0 -1
  194. package/dist/esm/index-4a3a9179.js.map +0 -1
  195. package/dist/esm-es5/index-4a3a9179.js +0 -3
  196. package/dist/esm-es5/index-4a3a9179.js.map +0 -1
  197. package/dist/pine-core/p-4e4221e7.entry.js +0 -2
  198. package/dist/pine-core/p-7080c3d8.system.entry.js +0 -2
  199. package/dist/pine-core/p-7a5d5d62.system.js +0 -3
  200. package/dist/pine-core/p-7a5d5d62.system.js.map +0 -1
  201. package/dist/pine-core/p-90dc441e.entry.js +0 -2
  202. package/dist/pine-core/p-90dc441e.entry.js.map +0 -1
  203. package/dist/pine-core/p-988c3c8e.system.entry.js +0 -2
  204. package/dist/pine-core/p-99778b1f.system.entry.js.map +0 -1
  205. package/dist/pine-core/p-a1fab6ca.entry.js.map +0 -1
  206. package/dist/pine-core/p-db677b4c.js +0 -3
  207. package/dist/pine-core/p-db677b4c.js.map +0 -1
  208. /package/dist/esm-es5/{pds-label-5a20380b.js.map → pds-label-d33eab3b.js.map} +0 -0
  209. /package/dist/pine-core/{p-6cf3a95f.entry.js.map → p-07e0e33d.entry.js.map} +0 -0
  210. /package/dist/pine-core/{p-aa5d045c.system.entry.js.map → p-0c443b29.system.entry.js.map} +0 -0
  211. /package/dist/pine-core/{p-3f82f07a.system.js.map → p-0cdd6574.system.js.map} +0 -0
  212. /package/dist/pine-core/{p-713203a1.entry.js.map → p-0f0c672b.entry.js.map} +0 -0
  213. /package/dist/pine-core/{p-1977bfef.system.entry.js.map → p-18d461ea.system.entry.js.map} +0 -0
  214. /package/dist/pine-core/{p-bde59444.system.entry.js.map → p-207a1db7.system.entry.js.map} +0 -0
  215. /package/dist/pine-core/{p-fd1136bd.system.entry.js.map → p-2306d119.system.entry.js.map} +0 -0
  216. /package/dist/pine-core/{p-cc79e06a.entry.js.map → p-24329e5f.entry.js.map} +0 -0
  217. /package/dist/pine-core/{p-6044a5e6.system.entry.js.map → p-282475be.system.entry.js.map} +0 -0
  218. /package/dist/pine-core/{p-42ac8791.entry.js.map → p-32f5eae9.entry.js.map} +0 -0
  219. /package/dist/pine-core/{p-9e986a25.system.entry.js.map → p-363392ea.system.entry.js.map} +0 -0
  220. /package/dist/pine-core/{p-4e4221e7.entry.js.map → p-3891188c.entry.js.map} +0 -0
  221. /package/dist/pine-core/{p-fd9e7deb.system.entry.js.map → p-3aafe83d.system.entry.js.map} +0 -0
  222. /package/dist/pine-core/{p-b6a4d813.system.js.map → p-3bf307ef.system.js.map} +0 -0
  223. /package/dist/pine-core/{p-c0773da6.entry.js.map → p-422bdfa6.entry.js.map} +0 -0
  224. /package/dist/pine-core/{p-7dbf72d0.system.entry.js.map → p-46a4a8f0.system.entry.js.map} +0 -0
  225. /package/dist/pine-core/{p-49ab971c.system.entry.js.map → p-50e04f66.system.entry.js.map} +0 -0
  226. /package/dist/pine-core/{p-70aafb29.system.entry.js.map → p-5812cf50.system.entry.js.map} +0 -0
  227. /package/dist/pine-core/{p-54f515b7.entry.js.map → p-5e3cf93b.entry.js.map} +0 -0
  228. /package/dist/pine-core/{p-18ba9e23.entry.js.map → p-60bb9395.entry.js.map} +0 -0
  229. /package/dist/pine-core/{p-7e77ef60.system.entry.js.map → p-6569a81a.system.entry.js.map} +0 -0
  230. /package/dist/pine-core/{p-608b7117.entry.js.map → p-68d79b69.entry.js.map} +0 -0
  231. /package/dist/pine-core/{p-67980c37.system.entry.js.map → p-6d1f5eb6.system.entry.js.map} +0 -0
  232. /package/dist/pine-core/{p-416b7bd0.entry.js.map → p-7751adcf.entry.js.map} +0 -0
  233. /package/dist/pine-core/{p-fb80556c.entry.js.map → p-79bf6399.entry.js.map} +0 -0
  234. /package/dist/pine-core/{p-f953fd02.entry.js.map → p-818d3c3a.entry.js.map} +0 -0
  235. /package/dist/pine-core/{p-53eef5cf.entry.js.map → p-8a213ad9.entry.js.map} +0 -0
  236. /package/dist/pine-core/{p-35817ea5.system.entry.js.map → p-8bba9f6b.system.entry.js.map} +0 -0
  237. /package/dist/pine-core/{p-ee6381bd.entry.js.map → p-9287c72f.entry.js.map} +0 -0
  238. /package/dist/pine-core/{p-b854a2b6.entry.js.map → p-96503b18.entry.js.map} +0 -0
  239. /package/dist/pine-core/{p-360d4f79.system.entry.js.map → p-98740980.system.entry.js.map} +0 -0
  240. /package/dist/pine-core/{p-de162d6f.system.entry.js.map → p-98cc1e47.system.entry.js.map} +0 -0
  241. /package/dist/pine-core/{p-6457ee90.entry.js.map → p-9be99490.entry.js.map} +0 -0
  242. /package/dist/pine-core/{p-d9dcf4b5.entry.js.map → p-9d8d9443.entry.js.map} +0 -0
  243. /package/dist/pine-core/{p-d3d4661e.entry.js.map → p-a3310afa.entry.js.map} +0 -0
  244. /package/dist/pine-core/{p-413d41ad.js.map → p-a4d4fbbb.js.map} +0 -0
  245. /package/dist/pine-core/{p-3813ace7.system.entry.js.map → p-aa9f7889.system.entry.js.map} +0 -0
  246. /package/dist/pine-core/{p-d4e439f5.entry.js.map → p-ab9e0ab4.entry.js.map} +0 -0
  247. /package/dist/pine-core/{p-66bdd195.system.entry.js.map → p-b3abea50.system.entry.js.map} +0 -0
  248. /package/dist/pine-core/{p-81c5ccc0.system.entry.js.map → p-bd051dc8.system.entry.js.map} +0 -0
  249. /package/dist/pine-core/{p-135ee6e2.system.entry.js.map → p-bf49c9da.system.entry.js.map} +0 -0
  250. /package/dist/pine-core/{p-22017122.entry.js.map → p-c107a273.entry.js.map} +0 -0
  251. /package/dist/pine-core/{p-7080c3d8.system.entry.js.map → p-c39a7480.system.entry.js.map} +0 -0
  252. /package/dist/pine-core/{p-269121f3.system.entry.js.map → p-c7553aef.system.entry.js.map} +0 -0
  253. /package/dist/pine-core/{p-8e6e3903.system.entry.js.map → p-cd1bb310.system.entry.js.map} +0 -0
  254. /package/dist/pine-core/{p-f56a956a.system.entry.js.map → p-ceb83df8.system.entry.js.map} +0 -0
  255. /package/dist/pine-core/{p-58245cbe.system.entry.js.map → p-d5ec4117.system.entry.js.map} +0 -0
  256. /package/dist/pine-core/{p-925cd323.entry.js.map → p-db09b014.entry.js.map} +0 -0
  257. /package/dist/pine-core/{p-b4fcd4c2.system.entry.js.map → p-df4a1834.system.entry.js.map} +0 -0
  258. /package/dist/pine-core/{p-0223de0a.entry.js.map → p-e07e6487.entry.js.map} +0 -0
  259. /package/dist/pine-core/{p-01866f1a.entry.js.map → p-e394916b.entry.js.map} +0 -0
  260. /package/dist/pine-core/{p-694b1551.entry.js.map → p-e6cae1e7.entry.js.map} +0 -0
  261. /package/dist/pine-core/{p-0e6e1833.entry.js.map → p-e6d28371.entry.js.map} +0 -0
  262. /package/dist/pine-core/{p-c584ec61.entry.js.map → p-e732c325.entry.js.map} +0 -0
  263. /package/dist/pine-core/{p-7bb9c112.system.entry.js.map → p-fe9b0b4b.system.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  const NAMESPACE = 'pine-core';
2
- const BUILD = /* pine-core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
2
+ const BUILD = /* pine-core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
3
3
 
4
4
  /**
5
5
  * Virtual DOM patching algorithm based on Snabbdom by
@@ -35,6 +35,13 @@ const uniqueTime = (key, measureText) => {
35
35
  };
36
36
  }
37
37
  };
38
+ const CONTENT_REF_ID = 'r';
39
+ const ORG_LOCATION_ID = 'o';
40
+ const SLOT_NODE_ID = 's';
41
+ const TEXT_NODE_ID = 't';
42
+ const HYDRATE_ID = 's-id';
43
+ const HYDRATED_STYLE_ID = 'sty-id';
44
+ const HYDRATE_CHILD_ID = 'c-id';
38
45
  const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
39
46
  /**
40
47
  * Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
@@ -242,6 +249,247 @@ const convertToPrivate = (node) => {
242
249
  vnode.$name$ = node.vname;
243
250
  return vnode;
244
251
  };
252
+ /**
253
+ * Entrypoint of the client-side hydration process. Facilitates calls to hydrate the
254
+ * document and all its nodes.
255
+ *
256
+ * This process will also reconstruct the shadow root and slot DOM nodes for components using shadow DOM.
257
+ *
258
+ * @param hostElm The element to hydrate.
259
+ * @param tagName The element's tag name.
260
+ * @param hostId The host ID assigned to the element by the server.
261
+ * @param hostRef The host reference for the element.
262
+ */
263
+ const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
264
+ const endHydrate = createTime('hydrateClient', tagName);
265
+ const shadowRoot = hostElm.shadowRoot;
266
+ const childRenderNodes = [];
267
+ const slotNodes = [];
268
+ const shadowRootNodes = shadowRoot ? [] : null;
269
+ const vnode = (hostRef.$vnode$ = newVNode(tagName, null));
270
+ if (!plt.$orgLocNodes$) {
271
+ initializeDocumentHydrate(doc.body, (plt.$orgLocNodes$ = new Map()));
272
+ }
273
+ hostElm[HYDRATE_ID] = hostId;
274
+ hostElm.removeAttribute(HYDRATE_ID);
275
+ clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
276
+ childRenderNodes.map((c) => {
277
+ const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;
278
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
279
+ const node = c.$elm$;
280
+ // Put the node back in its original location since the native Shadow DOM
281
+ // can handle rendering it its correct location now
282
+ if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {
283
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
284
+ }
285
+ if (!shadowRoot) {
286
+ node['s-hn'] = tagName;
287
+ if (orgLocationNode) {
288
+ node['s-ol'] = orgLocationNode;
289
+ node['s-ol']['s-nr'] = node;
290
+ }
291
+ }
292
+ plt.$orgLocNodes$.delete(orgLocationId);
293
+ });
294
+ if (shadowRoot) {
295
+ shadowRootNodes.map((shadowRootNode) => {
296
+ if (shadowRootNode) {
297
+ shadowRoot.appendChild(shadowRootNode);
298
+ }
299
+ });
300
+ }
301
+ endHydrate();
302
+ };
303
+ /**
304
+ * Recursively constructs the virtual node tree for a host element and its children.
305
+ * The tree is constructed by parsing the annotations set on the nodes by the server.
306
+ *
307
+ * In addition to constructing the vNode tree, we also track information about the node's
308
+ * descendants like which are slots, which should exist in the shadow root, and which
309
+ * are nodes that should be rendered as children of the parent node.
310
+ *
311
+ * @param parentVNode The vNode representing the parent node.
312
+ * @param childRenderNodes An array of all child nodes in the parent's node tree.
313
+ * @param slotNodes An array of all slot nodes in the parent's node tree.
314
+ * @param shadowRootNodes An array all nodes that should be rendered in the shadow root in the parent's node tree.
315
+ * @param hostElm The parent element.
316
+ * @param node The node to construct the vNode tree for.
317
+ * @param hostId The host ID assigned to the element by the server.
318
+ */
319
+ const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
320
+ let childNodeType;
321
+ let childIdSplt;
322
+ let childVNode;
323
+ let i;
324
+ if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
325
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
326
+ if (childNodeType) {
327
+ // got the node data from the element's attribute
328
+ // `${hostId}.${nodeId}.${depth}.${index}`
329
+ childIdSplt = childNodeType.split('.');
330
+ if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {
331
+ childVNode = {
332
+ $flags$: 0,
333
+ $hostId$: childIdSplt[0],
334
+ $nodeId$: childIdSplt[1],
335
+ $depth$: childIdSplt[2],
336
+ $index$: childIdSplt[3],
337
+ $tag$: node.tagName.toLowerCase(),
338
+ $elm$: node,
339
+ $attrs$: null,
340
+ $children$: null,
341
+ $key$: null,
342
+ $name$: null,
343
+ $text$: null,
344
+ };
345
+ childRenderNodes.push(childVNode);
346
+ node.removeAttribute(HYDRATE_CHILD_ID);
347
+ // this is a new child vnode
348
+ // so ensure its parent vnode has the vchildren array
349
+ if (!parentVNode.$children$) {
350
+ parentVNode.$children$ = [];
351
+ }
352
+ // add our child vnode to a specific index of the vnode's children
353
+ parentVNode.$children$[childVNode.$index$] = childVNode;
354
+ // this is now the new parent vnode for all the next child checks
355
+ parentVNode = childVNode;
356
+ if (shadowRootNodes && childVNode.$depth$ === '0') {
357
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
358
+ }
359
+ }
360
+ }
361
+ // recursively drill down, end to start so we can remove nodes
362
+ for (i = node.childNodes.length - 1; i >= 0; i--) {
363
+ clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);
364
+ }
365
+ if (node.shadowRoot) {
366
+ // keep drilling down through the shadow root nodes
367
+ for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {
368
+ clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);
369
+ }
370
+ }
371
+ }
372
+ else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
373
+ // `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`
374
+ childIdSplt = node.nodeValue.split('.');
375
+ if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {
376
+ // comment node for either the host id or a 0 host id
377
+ childNodeType = childIdSplt[0];
378
+ childVNode = {
379
+ $flags$: 0,
380
+ $hostId$: childIdSplt[1],
381
+ $nodeId$: childIdSplt[2],
382
+ $depth$: childIdSplt[3],
383
+ $index$: childIdSplt[4],
384
+ $elm$: node,
385
+ $attrs$: null,
386
+ $children$: null,
387
+ $key$: null,
388
+ $name$: null,
389
+ $tag$: null,
390
+ $text$: null,
391
+ };
392
+ if (childNodeType === TEXT_NODE_ID) {
393
+ childVNode.$elm$ = node.nextSibling;
394
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* NODE_TYPE.TextNode */) {
395
+ childVNode.$text$ = childVNode.$elm$.textContent;
396
+ childRenderNodes.push(childVNode);
397
+ // remove the text comment since it's no longer needed
398
+ node.remove();
399
+ if (!parentVNode.$children$) {
400
+ parentVNode.$children$ = [];
401
+ }
402
+ parentVNode.$children$[childVNode.$index$] = childVNode;
403
+ if (shadowRootNodes && childVNode.$depth$ === '0') {
404
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
405
+ }
406
+ }
407
+ }
408
+ else if (childVNode.$hostId$ === hostId) {
409
+ // this comment node is specifically for this host id
410
+ if (childNodeType === SLOT_NODE_ID) {
411
+ // `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
412
+ childVNode.$tag$ = 'slot';
413
+ if (childIdSplt[5]) {
414
+ node['s-sn'] = childVNode.$name$ = childIdSplt[5];
415
+ }
416
+ else {
417
+ node['s-sn'] = '';
418
+ }
419
+ node['s-sr'] = true;
420
+ if (shadowRootNodes) {
421
+ // browser support shadowRoot and this is a shadow dom component
422
+ // create an actual slot element
423
+ childVNode.$elm$ = doc.createElement(childVNode.$tag$);
424
+ if (childVNode.$name$) {
425
+ // add the slot name attribute
426
+ childVNode.$elm$.setAttribute('name', childVNode.$name$);
427
+ }
428
+ // insert the new slot element before the slot comment
429
+ node.parentNode.insertBefore(childVNode.$elm$, node);
430
+ // remove the slot comment since it's not needed for shadow
431
+ node.remove();
432
+ if (childVNode.$depth$ === '0') {
433
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
434
+ }
435
+ }
436
+ slotNodes.push(childVNode);
437
+ if (!parentVNode.$children$) {
438
+ parentVNode.$children$ = [];
439
+ }
440
+ parentVNode.$children$[childVNode.$index$] = childVNode;
441
+ }
442
+ else if (childNodeType === CONTENT_REF_ID) {
443
+ // `${CONTENT_REF_ID}.${hostId}`;
444
+ if (shadowRootNodes) {
445
+ // remove the content ref comment since it's not needed for shadow
446
+ node.remove();
447
+ }
448
+ else {
449
+ hostElm['s-cr'] = node;
450
+ node['s-cn'] = true;
451
+ }
452
+ }
453
+ }
454
+ }
455
+ }
456
+ else if (parentVNode && parentVNode.$tag$ === 'style') {
457
+ const vnode = newVNode(null, node.textContent);
458
+ vnode.$elm$ = node;
459
+ vnode.$index$ = '0';
460
+ parentVNode.$children$ = [vnode];
461
+ }
462
+ };
463
+ /**
464
+ * Recursively locate any comments representing an original location for a node in a node's
465
+ * children or shadowRoot children.
466
+ *
467
+ * @param node The node to search.
468
+ * @param orgLocNodes A map of the original location annotation and the current node being searched.
469
+ */
470
+ const initializeDocumentHydrate = (node, orgLocNodes) => {
471
+ if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
472
+ let i = 0;
473
+ for (; i < node.childNodes.length; i++) {
474
+ initializeDocumentHydrate(node.childNodes[i], orgLocNodes);
475
+ }
476
+ if (node.shadowRoot) {
477
+ for (i = 0; i < node.shadowRoot.childNodes.length; i++) {
478
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);
479
+ }
480
+ }
481
+ }
482
+ else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
483
+ const childIdSplt = node.nodeValue.split('.');
484
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
485
+ orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);
486
+ node.nodeValue = '';
487
+ // useful to know if the original location is
488
+ // the root light-dom of a shadow dom component
489
+ node['s-en'] = childIdSplt[3];
490
+ }
491
+ }
492
+ };
245
493
  /**
246
494
  * Parse a new property value for a given property type.
247
495
  *
@@ -348,7 +596,12 @@ const addStyle = (styleContainerNode, cmpMeta, mode) => {
348
596
  rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
349
597
  }
350
598
  if (!appliedStyles.has(scopeId)) {
351
- {
599
+ if (styleContainerNode.host &&
600
+ (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId}"]`))) {
601
+ // This is only happening on native shadow-dom, do not needs CSS var shim
602
+ styleElm.innerHTML = style;
603
+ }
604
+ else {
352
605
  styleElm = doc.createElement('style');
353
606
  styleElm.innerHTML = style;
354
607
  // Apply CSP nonce to the style tag if it exists
@@ -396,6 +649,7 @@ const attachStyles = (hostRef) => {
396
649
  endAttachStyles();
397
650
  };
398
651
  const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
652
+ const convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, '$1{');
399
653
  /**
400
654
  * Production setAccessor() function based on Preact by
401
655
  * Jason Miller (@developit)
@@ -2045,7 +2299,18 @@ const connectedCallback = (elm) => {
2045
2299
  if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
2046
2300
  // first time this component has connected
2047
2301
  hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
2302
+ let hostId;
2048
2303
  {
2304
+ hostId = elm.getAttribute(HYDRATE_ID);
2305
+ if (hostId) {
2306
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
2307
+ const scopeId = addStyle(elm.shadowRoot, cmpMeta);
2308
+ elm.classList.remove(scopeId + '-h', scopeId + '-s');
2309
+ }
2310
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
2311
+ }
2312
+ }
2313
+ if (!hostId) {
2049
2314
  // initUpdate
2050
2315
  // if the slot polyfill is required we'll need to put some nodes
2051
2316
  // in here to act as original content anchors as we move nodes around
@@ -2062,7 +2327,10 @@ const connectedCallback = (elm) => {
2062
2327
  while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
2063
2328
  // climb up the ancestors looking for the first
2064
2329
  // component that hasn't finished its lifecycle update yet
2065
- if (ancestorComponent['s-p']) {
2330
+ if ((ancestorComponent.nodeType === 1 /* NODE_TYPE.ElementNode */ &&
2331
+ ancestorComponent.hasAttribute('s-id') &&
2332
+ ancestorComponent['s-p']) ||
2333
+ ancestorComponent['s-p']) {
2066
2334
  // we found this components first ancestor component
2067
2335
  // keep a reference to this component's ancestor component
2068
2336
  attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
@@ -2144,10 +2412,22 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
2144
2412
  const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
2145
2413
  const dataStyles = /*@__PURE__*/ doc.createElement('style');
2146
2414
  const deferredConnectedCallbacks = [];
2415
+ const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
2147
2416
  let appLoadFallback;
2148
2417
  let isBootstrapping = true;
2418
+ let i = 0;
2149
2419
  Object.assign(plt, options);
2150
2420
  plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
2421
+ {
2422
+ // If the app is already hydrated there is not point to disable the
2423
+ // async queue. This will improve the first input delay
2424
+ plt.$flags$ |= 2 /* PLATFORM_FLAGS.appLoaded */;
2425
+ }
2426
+ {
2427
+ for (; i < styles.length; i++) {
2428
+ registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);
2429
+ }
2430
+ }
2151
2431
  let hasSlotRelocation = false;
2152
2432
  lazyBundles.map((lazyBundle) => {
2153
2433
  lazyBundle[1].map((compactMeta) => {
@@ -2396,6 +2676,9 @@ const plt = {
2396
2676
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2397
2677
  ce: (eventName, opts) => new CustomEvent(eventName, opts),
2398
2678
  };
2679
+ const supportsShadow =
2680
+ // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
2681
+ true;
2399
2682
  const supportsListenerOptions = /*@__PURE__*/ (() => {
2400
2683
  let supportsListenerOptions = false;
2401
2684
  try {
@@ -2463,4 +2746,4 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
2463
2746
 
2464
2747
  export { Host as H, getAssetPath as a, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2465
2748
 
2466
- //# sourceMappingURL=index-4a3a9179.js.map
2749
+ //# sourceMappingURL=index-9312507f.js.map