@pine-ds/core 1.2.0 → 1.3.0-dev.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 (907) hide show
  1. package/components/custom-elements.d.ts +2 -0
  2. package/components/index.d.ts +94 -0
  3. package/components/package.json +9 -0
  4. package/components/pds-accordion.d.ts +11 -0
  5. package/components/pds-avatar.d.ts +11 -0
  6. package/components/pds-box.d.ts +11 -0
  7. package/components/pds-button.d.ts +11 -0
  8. package/components/pds-checkbox.d.ts +11 -0
  9. package/components/pds-chip.d.ts +11 -0
  10. package/components/pds-copytext.d.ts +11 -0
  11. package/components/pds-divider.d.ts +11 -0
  12. package/components/pds-image.d.ts +11 -0
  13. package/components/pds-input.d.ts +11 -0
  14. package/components/pds-link.d.ts +11 -0
  15. package/components/pds-loader.d.ts +11 -0
  16. package/components/pds-progress.d.ts +11 -0
  17. package/components/pds-radio.d.ts +11 -0
  18. package/components/pds-row.d.ts +11 -0
  19. package/components/pds-sortable-item.d.ts +11 -0
  20. package/components/pds-sortable.d.ts +11 -0
  21. package/components/pds-switch.d.ts +11 -0
  22. package/components/pds-tab.d.ts +11 -0
  23. package/components/pds-table-body.d.ts +11 -0
  24. package/components/pds-table-cell.d.ts +11 -0
  25. package/components/pds-table-head-cell.d.ts +11 -0
  26. package/components/pds-table-head.d.ts +11 -0
  27. package/components/pds-table-row.d.ts +11 -0
  28. package/components/pds-table.d.ts +11 -0
  29. package/components/pds-tabpanel.d.ts +11 -0
  30. package/components/pds-tabs.d.ts +11 -0
  31. package/components/pds-textarea.d.ts +11 -0
  32. package/components/pds-tooltip.d.ts +11 -0
  33. package/dist/docs.json +15 -63
  34. package/dist/pine-core/index-00e73f84.js +329 -0
  35. package/dist/pine-core/index-00e73f84.js.map +1 -0
  36. package/dist/{cjs/index-ed42e2ee.js → pine-core/index-cccc19b7.js} +1551 -219
  37. package/dist/pine-core/index-cccc19b7.js.map +1 -0
  38. package/dist/pine-core/index.esm.js +1 -0
  39. package/dist/pine-core/index.esm.js.map +1 -1
  40. package/dist/{esm → pine-core}/pds-accordion.entry.js +4 -5
  41. package/dist/pine-core/pds-accordion.entry.js.map +1 -0
  42. package/dist/{esm → pine-core}/pds-avatar.entry.js +4 -5
  43. package/dist/pine-core/pds-avatar.entry.js.map +1 -0
  44. package/dist/pine-core/pds-box.entry.js +77 -0
  45. package/dist/pine-core/pds-box.entry.js.map +1 -0
  46. package/dist/{esm → pine-core}/pds-button.entry.js +7 -5
  47. package/dist/pine-core/pds-button.entry.js.map +1 -0
  48. package/dist/{esm → pine-core}/pds-checkbox.entry.js +4 -5
  49. package/dist/pine-core/pds-checkbox.entry.js.map +1 -0
  50. package/dist/pine-core/pds-chip.entry.js +46 -0
  51. package/dist/pine-core/pds-chip.entry.js.map +1 -0
  52. package/dist/{esm → pine-core}/pds-copytext.entry.js +4 -5
  53. package/dist/pine-core/pds-copytext.entry.js.map +1 -0
  54. package/dist/pine-core/pds-divider.entry.js +31 -0
  55. package/dist/pine-core/pds-divider.entry.js.map +1 -0
  56. package/dist/{esm → pine-core}/pds-image.entry.js +2 -3
  57. package/dist/pine-core/pds-image.entry.js.map +1 -0
  58. package/dist/{esm → pine-core}/pds-input.entry.js +4 -5
  59. package/dist/pine-core/pds-input.entry.js.map +1 -0
  60. package/dist/{esm/pds-label-bea9ee54.js → pine-core/pds-label-7201663d.js} +2 -2
  61. package/dist/{esm/pds-label-bea9ee54.js.map → pine-core/pds-label-7201663d.js.map} +1 -1
  62. package/dist/{esm → pine-core}/pds-link.entry.js +4 -5
  63. package/dist/pine-core/pds-link.entry.js.map +1 -0
  64. package/dist/pine-core/pds-loader.entry.js +44 -0
  65. package/dist/pine-core/pds-loader.entry.js.map +1 -0
  66. package/dist/pine-core/pds-progress.entry.js +23 -0
  67. package/dist/pine-core/pds-progress.entry.js.map +1 -0
  68. package/dist/{esm → pine-core}/pds-radio.entry.js +4 -5
  69. package/dist/pine-core/pds-radio.entry.js.map +1 -0
  70. package/dist/pine-core/pds-row.entry.js +46 -0
  71. package/dist/pine-core/pds-row.entry.js.map +1 -0
  72. package/dist/pine-core/pds-sortable-item.entry.js +30 -0
  73. package/dist/pine-core/pds-sortable-item.entry.js.map +1 -0
  74. package/dist/{esm → pine-core}/pds-sortable.entry.js +704 -4
  75. package/dist/pine-core/pds-sortable.entry.js.map +1 -0
  76. package/dist/{esm → pine-core}/pds-switch.entry.js +4 -5
  77. package/dist/pine-core/pds-switch.entry.js.map +1 -0
  78. package/dist/pine-core/pds-tab.entry.js +29 -0
  79. package/dist/pine-core/pds-tab.entry.js.map +1 -0
  80. package/dist/{esm → pine-core}/pds-table-body.entry.js +2 -3
  81. package/dist/pine-core/pds-table-body.entry.js.map +1 -0
  82. package/dist/{esm → pine-core}/pds-table-cell.entry.js +3 -4
  83. package/dist/pine-core/pds-table-cell.entry.js.map +1 -0
  84. package/dist/{esm → pine-core}/pds-table-head-cell.entry.js +4 -5
  85. package/dist/pine-core/pds-table-head-cell.entry.js.map +1 -0
  86. package/dist/{esm → pine-core}/pds-table-head.entry.js +3 -4
  87. package/dist/pine-core/pds-table-head.entry.js.map +1 -0
  88. package/dist/{esm → pine-core}/pds-table-row.entry.js +3 -4
  89. package/dist/pine-core/pds-table-row.entry.js.map +1 -0
  90. package/dist/{esm → pine-core}/pds-table.entry.js +3 -4
  91. package/dist/{esm-es5 → pine-core}/pds-table.entry.js.map +1 -1
  92. package/dist/{esm → pine-core}/pds-tabpanel.entry.js +2 -3
  93. package/dist/pine-core/pds-tabpanel.entry.js.map +1 -0
  94. package/dist/{esm → pine-core}/pds-tabs.entry.js +3 -4
  95. package/dist/pine-core/pds-tabs.entry.js.map +1 -0
  96. package/dist/{esm → pine-core}/pds-textarea.entry.js +4 -5
  97. package/dist/pine-core/pds-textarea.entry.js.map +1 -0
  98. package/dist/{esm → pine-core}/pds-tooltip.entry.js +3 -4
  99. package/dist/pine-core/pds-tooltip.entry.js.map +1 -0
  100. package/dist/pine-core/pine-core.css +180 -1
  101. package/dist/pine-core/pine-core.esm.js +52 -1
  102. package/dist/pine-core/pine-core.esm.js.map +1 -1
  103. package/dist/pine-core/shadow-css-2e0fed52.js +478 -0
  104. package/dist/pine-core/shadow-css-2e0fed52.js.map +1 -0
  105. package/hydrate/index.d.ts +218 -0
  106. package/hydrate/index.js +13107 -0
  107. package/hydrate/package.json +6 -0
  108. package/package.json +2 -2
  109. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  110. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  111. package/dist/cjs/closest-b45138d3.js +0 -13
  112. package/dist/cjs/closest-b45138d3.js.map +0 -1
  113. package/dist/cjs/index-34f3258f.js +0 -24
  114. package/dist/cjs/index-34f3258f.js.map +0 -1
  115. package/dist/cjs/index-ed42e2ee.js.map +0 -1
  116. package/dist/cjs/index.cjs.js +0 -4
  117. package/dist/cjs/index.cjs.js.map +0 -1
  118. package/dist/cjs/loader.cjs.js +0 -17
  119. package/dist/cjs/loader.cjs.js.map +0 -1
  120. package/dist/cjs/pds-accordion.cjs.entry.js +0 -43
  121. package/dist/cjs/pds-accordion.cjs.entry.js.map +0 -1
  122. package/dist/cjs/pds-avatar.cjs.entry.js +0 -75
  123. package/dist/cjs/pds-avatar.cjs.entry.js.map +0 -1
  124. package/dist/cjs/pds-box.cjs.entry.js +0 -82
  125. package/dist/cjs/pds-box.cjs.entry.js.map +0 -1
  126. package/dist/cjs/pds-button.cjs.entry.js +0 -59
  127. package/dist/cjs/pds-button.cjs.entry.js.map +0 -1
  128. package/dist/cjs/pds-checkbox.cjs.entry.js +0 -75
  129. package/dist/cjs/pds-checkbox.cjs.entry.js.map +0 -1
  130. package/dist/cjs/pds-chip.cjs.entry.js +0 -51
  131. package/dist/cjs/pds-chip.cjs.entry.js.map +0 -1
  132. package/dist/cjs/pds-copytext.cjs.entry.js +0 -56
  133. package/dist/cjs/pds-copytext.cjs.entry.js.map +0 -1
  134. package/dist/cjs/pds-divider.cjs.entry.js +0 -36
  135. package/dist/cjs/pds-divider.cjs.entry.js.map +0 -1
  136. package/dist/cjs/pds-icon.cjs.entry.js +0 -335
  137. package/dist/cjs/pds-icon.cjs.entry.js.map +0 -1
  138. package/dist/cjs/pds-image.cjs.entry.js +0 -32
  139. package/dist/cjs/pds-image.cjs.entry.js.map +0 -1
  140. package/dist/cjs/pds-input.cjs.entry.js +0 -45
  141. package/dist/cjs/pds-input.cjs.entry.js.map +0 -1
  142. package/dist/cjs/pds-label-15dd83ef.js +0 -44
  143. package/dist/cjs/pds-label-15dd83ef.js.map +0 -1
  144. package/dist/cjs/pds-link.cjs.entry.js +0 -39
  145. package/dist/cjs/pds-link.cjs.entry.js.map +0 -1
  146. package/dist/cjs/pds-loader.cjs.entry.js +0 -49
  147. package/dist/cjs/pds-loader.cjs.entry.js.map +0 -1
  148. package/dist/cjs/pds-progress.cjs.entry.js +0 -28
  149. package/dist/cjs/pds-progress.cjs.entry.js.map +0 -1
  150. package/dist/cjs/pds-radio.cjs.entry.js +0 -54
  151. package/dist/cjs/pds-radio.cjs.entry.js.map +0 -1
  152. package/dist/cjs/pds-row.cjs.entry.js +0 -51
  153. package/dist/cjs/pds-row.cjs.entry.js.map +0 -1
  154. package/dist/cjs/pds-sortable-item.cjs.entry.js +0 -35
  155. package/dist/cjs/pds-sortable-item.cjs.entry.js.map +0 -1
  156. package/dist/cjs/pds-sortable.cjs.entry.js +0 -2704
  157. package/dist/cjs/pds-sortable.cjs.entry.js.map +0 -1
  158. package/dist/cjs/pds-switch.cjs.entry.js +0 -56
  159. package/dist/cjs/pds-switch.cjs.entry.js.map +0 -1
  160. package/dist/cjs/pds-tab.cjs.entry.js +0 -34
  161. package/dist/cjs/pds-tab.cjs.entry.js.map +0 -1
  162. package/dist/cjs/pds-table-body.cjs.entry.js +0 -22
  163. package/dist/cjs/pds-table-body.cjs.entry.js.map +0 -1
  164. package/dist/cjs/pds-table-cell.cjs.entry.js +0 -58
  165. package/dist/cjs/pds-table-cell.cjs.entry.js.map +0 -1
  166. package/dist/cjs/pds-table-head-cell.cjs.entry.js +0 -76
  167. package/dist/cjs/pds-table-head-cell.cjs.entry.js.map +0 -1
  168. package/dist/cjs/pds-table-head.cjs.entry.js +0 -55
  169. package/dist/cjs/pds-table-head.cjs.entry.js.map +0 -1
  170. package/dist/cjs/pds-table-row.cjs.entry.js +0 -66
  171. package/dist/cjs/pds-table-row.cjs.entry.js.map +0 -1
  172. package/dist/cjs/pds-table.cjs.entry.js +0 -102
  173. package/dist/cjs/pds-table.cjs.entry.js.map +0 -1
  174. package/dist/cjs/pds-tabpanel.cjs.entry.js +0 -27
  175. package/dist/cjs/pds-tabpanel.cjs.entry.js.map +0 -1
  176. package/dist/cjs/pds-tabs.cjs.entry.js +0 -99
  177. package/dist/cjs/pds-tabs.cjs.entry.js.map +0 -1
  178. package/dist/cjs/pds-textarea.cjs.entry.js +0 -55
  179. package/dist/cjs/pds-textarea.cjs.entry.js.map +0 -1
  180. package/dist/cjs/pds-tooltip.cjs.entry.js +0 -152
  181. package/dist/cjs/pds-tooltip.cjs.entry.js.map +0 -1
  182. package/dist/cjs/pine-core.cjs.js +0 -27
  183. package/dist/cjs/pine-core.cjs.js.map +0 -1
  184. package/dist/collection/collection-manifest.json +0 -47
  185. package/dist/collection/components/_internal/pds-label/pds-label.js +0 -7
  186. package/dist/collection/components/_internal/pds-label/pds-label.js.map +0 -1
  187. package/dist/collection/components/pds-accordion/pds-accordion.css +0 -65
  188. package/dist/collection/components/pds-accordion/pds-accordion.js +0 -94
  189. package/dist/collection/components/pds-accordion/pds-accordion.js.map +0 -1
  190. package/dist/collection/components/pds-accordion/stories/pds-accordion.stories.js +0 -34
  191. package/dist/collection/components/pds-avatar/pds-avatar.css +0 -65
  192. package/dist/collection/components/pds-avatar/pds-avatar.js +0 -224
  193. package/dist/collection/components/pds-avatar/pds-avatar.js.map +0 -1
  194. package/dist/collection/components/pds-avatar/stories/pds-avatar.stories.js +0 -65
  195. package/dist/collection/components/pds-box/pds-box.css +0 -1234
  196. package/dist/collection/components/pds-box/pds-box.js +0 -678
  197. package/dist/collection/components/pds-box/pds-box.js.map +0 -1
  198. package/dist/collection/components/pds-box/stories/pds-box.stories.js +0 -50
  199. package/dist/collection/components/pds-button/pds-button.css +0 -131
  200. package/dist/collection/components/pds-button/pds-button.js +0 -193
  201. package/dist/collection/components/pds-button/pds-button.js.map +0 -1
  202. package/dist/collection/components/pds-button/stories/pds-button.stories.js +0 -66
  203. package/dist/collection/components/pds-checkbox/checkbox-interface.js +0 -2
  204. package/dist/collection/components/pds-checkbox/checkbox-interface.js.map +0 -1
  205. package/dist/collection/components/pds-checkbox/pds-checkbox.css +0 -135
  206. package/dist/collection/components/pds-checkbox/pds-checkbox.js +0 -330
  207. package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +0 -1
  208. package/dist/collection/components/pds-checkbox/stories/pds-checkbox.stories.js +0 -82
  209. package/dist/collection/components/pds-chip/pds-chip.css +0 -239
  210. package/dist/collection/components/pds-chip/pds-chip.js +0 -189
  211. package/dist/collection/components/pds-chip/pds-chip.js.map +0 -1
  212. package/dist/collection/components/pds-chip/stories/pds-chip.stories.js +0 -79
  213. package/dist/collection/components/pds-copytext/pds-copytext.css +0 -87
  214. package/dist/collection/components/pds-copytext/pds-copytext.js +0 -173
  215. package/dist/collection/components/pds-copytext/pds-copytext.js.map +0 -1
  216. package/dist/collection/components/pds-copytext/stories/pds-copytext.stories.js +0 -57
  217. package/dist/collection/components/pds-divider/pds-divider.css +0 -92
  218. package/dist/collection/components/pds-divider/pds-divider.js +0 -94
  219. package/dist/collection/components/pds-divider/pds-divider.js.map +0 -1
  220. package/dist/collection/components/pds-divider/stories/pds-divider.stories.js +0 -25
  221. package/dist/collection/components/pds-icon/stories/pds-icon.stories.js +0 -16
  222. package/dist/collection/components/pds-image/pds-image.css +0 -13
  223. package/dist/collection/components/pds-image/pds-image.js +0 -173
  224. package/dist/collection/components/pds-image/pds-image.js.map +0 -1
  225. package/dist/collection/components/pds-image/stories/pds-image.stories.js +0 -35
  226. package/dist/collection/components/pds-input/pds-input.css +0 -92
  227. package/dist/collection/components/pds-input/pds-input.js +0 -279
  228. package/dist/collection/components/pds-input/pds-input.js.map +0 -1
  229. package/dist/collection/components/pds-input/stories/pds-input.stories.js +0 -110
  230. package/dist/collection/components/pds-link/pds-link.css +0 -68
  231. package/dist/collection/components/pds-link/pds-link.js +0 -140
  232. package/dist/collection/components/pds-link/pds-link.js.map +0 -1
  233. package/dist/collection/components/pds-link/stories/pds-link.stories.js +0 -49
  234. package/dist/collection/components/pds-loader/pds-loader.css +0 -93
  235. package/dist/collection/components/pds-loader/pds-loader.js +0 -127
  236. package/dist/collection/components/pds-loader/pds-loader.js.map +0 -1
  237. package/dist/collection/components/pds-loader/stories/pds-loader.stories.js +0 -36
  238. package/dist/collection/components/pds-progress/pds-progress.css +0 -79
  239. package/dist/collection/components/pds-progress/pds-progress.js +0 -148
  240. package/dist/collection/components/pds-progress/pds-progress.js.map +0 -1
  241. package/dist/collection/components/pds-progress/stories/pds-progress.stories.js +0 -65
  242. package/dist/collection/components/pds-radio/pds-radio.css +0 -104
  243. package/dist/collection/components/pds-radio/pds-radio.js +0 -261
  244. package/dist/collection/components/pds-radio/pds-radio.js.map +0 -1
  245. package/dist/collection/components/pds-radio/stories/pds-radio.stories.js +0 -71
  246. package/dist/collection/components/pds-row/pds-row.css +0 -78
  247. package/dist/collection/components/pds-row/pds-row.js +0 -186
  248. package/dist/collection/components/pds-row/pds-row.js.map +0 -1
  249. package/dist/collection/components/pds-row/stories/pds-row.stories.js +0 -75
  250. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.css +0 -63
  251. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +0 -100
  252. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js.map +0 -1
  253. package/dist/collection/components/pds-sortable/pds-sortable-item/stories/pds-sortable-item.stories.js +0 -24
  254. package/dist/collection/components/pds-sortable/pds-sortable.css +0 -10
  255. package/dist/collection/components/pds-sortable/pds-sortable.js +0 -150
  256. package/dist/collection/components/pds-sortable/pds-sortable.js.map +0 -1
  257. package/dist/collection/components/pds-sortable/sortable-interface.js +0 -2
  258. package/dist/collection/components/pds-sortable/sortable-interface.js.map +0 -1
  259. package/dist/collection/components/pds-sortable/stories/pds-sortable.stories.js +0 -130
  260. package/dist/collection/components/pds-switch/pds-switch.css +0 -136
  261. package/dist/collection/components/pds-switch/pds-switch.js +0 -277
  262. package/dist/collection/components/pds-switch/pds-switch.js.map +0 -1
  263. package/dist/collection/components/pds-switch/stories/pds-switch.stories.js +0 -102
  264. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.css +0 -5
  265. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +0 -19
  266. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js.map +0 -1
  267. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.css +0 -45
  268. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +0 -83
  269. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js.map +0 -1
  270. package/dist/collection/components/pds-table/pds-table-cell/stories/pds-table-cell.stories.js +0 -26
  271. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.css +0 -18
  272. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +0 -109
  273. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js.map +0 -1
  274. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.css +0 -54
  275. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +0 -120
  276. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js.map +0 -1
  277. package/dist/collection/components/pds-table/pds-table-head-cell/stories/pds-table-head-cell.stories.js +0 -24
  278. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.css +0 -22
  279. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +0 -120
  280. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js.map +0 -1
  281. package/dist/collection/components/pds-table/pds-table-row/stories/pds-table-row.stories.js +0 -26
  282. package/dist/collection/components/pds-table/pds-table.css +0 -27
  283. package/dist/collection/components/pds-table/pds-table.js +0 -248
  284. package/dist/collection/components/pds-table/pds-table.js.map +0 -1
  285. package/dist/collection/components/pds-table/stories/pds-table.stories.js +0 -227
  286. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.css +0 -160
  287. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +0 -154
  288. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js.map +0 -1
  289. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.css +0 -12
  290. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +0 -107
  291. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js.map +0 -1
  292. package/dist/collection/components/pds-tabs/pds-tabs.css +0 -29
  293. package/dist/collection/components/pds-tabs/pds-tabs.js +0 -209
  294. package/dist/collection/components/pds-tabs/pds-tabs.js.map +0 -1
  295. package/dist/collection/components/pds-tabs/stories/pds-tabs.stories.js +0 -63
  296. package/dist/collection/components/pds-textarea/pds-textarea.css +0 -88
  297. package/dist/collection/components/pds-textarea/pds-textarea.js +0 -303
  298. package/dist/collection/components/pds-textarea/pds-textarea.js.map +0 -1
  299. package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +0 -111
  300. package/dist/collection/components/pds-textarea/textarea-interface.js +0 -2
  301. package/dist/collection/components/pds-textarea/textarea-interface.js.map +0 -1
  302. package/dist/collection/components/pds-tooltip/pds-tooltip.css +0 -147
  303. package/dist/collection/components/pds-tooltip/pds-tooltip.js +0 -287
  304. package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +0 -1
  305. package/dist/collection/components/pds-tooltip/stories/pds-tooltip.stories.js +0 -103
  306. package/dist/collection/global/pine-ui-global.js +0 -2
  307. package/dist/collection/global/pine-ui-global.js.map +0 -1
  308. package/dist/collection/index.js +0 -2
  309. package/dist/collection/index.js.map +0 -1
  310. package/dist/collection/stories/_helpers/index.js +0 -15
  311. package/dist/collection/stories/_helpers/index.js.map +0 -1
  312. package/dist/collection/utils/closest.js +0 -8
  313. package/dist/collection/utils/closest.js.map +0 -1
  314. package/dist/collection/utils/form.js +0 -28
  315. package/dist/collection/utils/form.js.map +0 -1
  316. package/dist/collection/utils/overlay.js +0 -68
  317. package/dist/collection/utils/overlay.js.map +0 -1
  318. package/dist/collection/utils/types.js +0 -2
  319. package/dist/collection/utils/types.js.map +0 -1
  320. package/dist/collection/utils/utils.js +0 -7
  321. package/dist/collection/utils/utils.js.map +0 -1
  322. package/dist/esm/index-852fd6bc.js +0 -14
  323. package/dist/esm/index-852fd6bc.js.map +0 -1
  324. package/dist/esm/index-ca411ad2.js +0 -2822
  325. package/dist/esm/index-ca411ad2.js.map +0 -1
  326. package/dist/esm/index.js +0 -3
  327. package/dist/esm/index.js.map +0 -1
  328. package/dist/esm/loader.js +0 -13
  329. package/dist/esm/loader.js.map +0 -1
  330. package/dist/esm/pds-accordion.entry.js.map +0 -1
  331. package/dist/esm/pds-avatar.entry.js.map +0 -1
  332. package/dist/esm/pds-box.entry.js +0 -78
  333. package/dist/esm/pds-box.entry.js.map +0 -1
  334. package/dist/esm/pds-button.entry.js.map +0 -1
  335. package/dist/esm/pds-checkbox.entry.js.map +0 -1
  336. package/dist/esm/pds-chip.entry.js +0 -47
  337. package/dist/esm/pds-chip.entry.js.map +0 -1
  338. package/dist/esm/pds-copytext.entry.js.map +0 -1
  339. package/dist/esm/pds-divider.entry.js +0 -32
  340. package/dist/esm/pds-divider.entry.js.map +0 -1
  341. package/dist/esm/pds-icon.entry.js +0 -331
  342. package/dist/esm/pds-icon.entry.js.map +0 -1
  343. package/dist/esm/pds-image.entry.js.map +0 -1
  344. package/dist/esm/pds-input.entry.js.map +0 -1
  345. package/dist/esm/pds-link.entry.js.map +0 -1
  346. package/dist/esm/pds-loader.entry.js +0 -45
  347. package/dist/esm/pds-loader.entry.js.map +0 -1
  348. package/dist/esm/pds-progress.entry.js +0 -24
  349. package/dist/esm/pds-progress.entry.js.map +0 -1
  350. package/dist/esm/pds-radio.entry.js.map +0 -1
  351. package/dist/esm/pds-row.entry.js +0 -47
  352. package/dist/esm/pds-row.entry.js.map +0 -1
  353. package/dist/esm/pds-sortable-item.entry.js +0 -31
  354. package/dist/esm/pds-sortable-item.entry.js.map +0 -1
  355. package/dist/esm/pds-sortable.entry.js.map +0 -1
  356. package/dist/esm/pds-switch.entry.js.map +0 -1
  357. package/dist/esm/pds-tab.entry.js +0 -30
  358. package/dist/esm/pds-tab.entry.js.map +0 -1
  359. package/dist/esm/pds-table-body.entry.js.map +0 -1
  360. package/dist/esm/pds-table-cell.entry.js.map +0 -1
  361. package/dist/esm/pds-table-head-cell.entry.js.map +0 -1
  362. package/dist/esm/pds-table-head.entry.js.map +0 -1
  363. package/dist/esm/pds-table-row.entry.js.map +0 -1
  364. package/dist/esm/pds-table.entry.js.map +0 -1
  365. package/dist/esm/pds-tabpanel.entry.js.map +0 -1
  366. package/dist/esm/pds-tabs.entry.js.map +0 -1
  367. package/dist/esm/pds-textarea.entry.js.map +0 -1
  368. package/dist/esm/pds-tooltip.entry.js.map +0 -1
  369. package/dist/esm/pine-core.js +0 -22
  370. package/dist/esm/pine-core.js.map +0 -1
  371. package/dist/esm/polyfills/core-js.js +0 -11
  372. package/dist/esm/polyfills/dom.js +0 -79
  373. package/dist/esm/polyfills/es5-html-element.js +0 -1
  374. package/dist/esm/polyfills/index.js +0 -34
  375. package/dist/esm/polyfills/system.js +0 -6
  376. package/dist/esm-es5/app-globals-0f993ce5.js +0 -2
  377. package/dist/esm-es5/app-globals-0f993ce5.js.map +0 -1
  378. package/dist/esm-es5/closest-d2d192be.js +0 -2
  379. package/dist/esm-es5/closest-d2d192be.js.map +0 -1
  380. package/dist/esm-es5/index-852fd6bc.js +0 -2
  381. package/dist/esm-es5/index-852fd6bc.js.map +0 -1
  382. package/dist/esm-es5/index-ca411ad2.js +0 -3
  383. package/dist/esm-es5/index-ca411ad2.js.map +0 -1
  384. package/dist/esm-es5/index.js +0 -2
  385. package/dist/esm-es5/index.js.map +0 -1
  386. package/dist/esm-es5/loader.js +0 -2
  387. package/dist/esm-es5/loader.js.map +0 -1
  388. package/dist/esm-es5/pds-accordion.entry.js +0 -2
  389. package/dist/esm-es5/pds-accordion.entry.js.map +0 -1
  390. package/dist/esm-es5/pds-avatar.entry.js +0 -2
  391. package/dist/esm-es5/pds-avatar.entry.js.map +0 -1
  392. package/dist/esm-es5/pds-box.entry.js +0 -2
  393. package/dist/esm-es5/pds-box.entry.js.map +0 -1
  394. package/dist/esm-es5/pds-button.entry.js +0 -2
  395. package/dist/esm-es5/pds-button.entry.js.map +0 -1
  396. package/dist/esm-es5/pds-checkbox.entry.js +0 -2
  397. package/dist/esm-es5/pds-checkbox.entry.js.map +0 -1
  398. package/dist/esm-es5/pds-chip.entry.js +0 -2
  399. package/dist/esm-es5/pds-chip.entry.js.map +0 -1
  400. package/dist/esm-es5/pds-copytext.entry.js +0 -2
  401. package/dist/esm-es5/pds-copytext.entry.js.map +0 -1
  402. package/dist/esm-es5/pds-divider.entry.js +0 -2
  403. package/dist/esm-es5/pds-divider.entry.js.map +0 -1
  404. package/dist/esm-es5/pds-icon.entry.js +0 -2
  405. package/dist/esm-es5/pds-icon.entry.js.map +0 -1
  406. package/dist/esm-es5/pds-image.entry.js +0 -2
  407. package/dist/esm-es5/pds-image.entry.js.map +0 -1
  408. package/dist/esm-es5/pds-input.entry.js +0 -2
  409. package/dist/esm-es5/pds-input.entry.js.map +0 -1
  410. package/dist/esm-es5/pds-label-bea9ee54.js +0 -2
  411. package/dist/esm-es5/pds-label-bea9ee54.js.map +0 -1
  412. package/dist/esm-es5/pds-link.entry.js +0 -2
  413. package/dist/esm-es5/pds-link.entry.js.map +0 -1
  414. package/dist/esm-es5/pds-loader.entry.js +0 -2
  415. package/dist/esm-es5/pds-loader.entry.js.map +0 -1
  416. package/dist/esm-es5/pds-progress.entry.js +0 -2
  417. package/dist/esm-es5/pds-progress.entry.js.map +0 -1
  418. package/dist/esm-es5/pds-radio.entry.js +0 -2
  419. package/dist/esm-es5/pds-radio.entry.js.map +0 -1
  420. package/dist/esm-es5/pds-row.entry.js +0 -2
  421. package/dist/esm-es5/pds-row.entry.js.map +0 -1
  422. package/dist/esm-es5/pds-sortable-item.entry.js +0 -2
  423. package/dist/esm-es5/pds-sortable-item.entry.js.map +0 -1
  424. package/dist/esm-es5/pds-sortable.entry.js +0 -8
  425. package/dist/esm-es5/pds-sortable.entry.js.map +0 -1
  426. package/dist/esm-es5/pds-switch.entry.js +0 -2
  427. package/dist/esm-es5/pds-switch.entry.js.map +0 -1
  428. package/dist/esm-es5/pds-tab.entry.js +0 -2
  429. package/dist/esm-es5/pds-tab.entry.js.map +0 -1
  430. package/dist/esm-es5/pds-table-body.entry.js +0 -2
  431. package/dist/esm-es5/pds-table-body.entry.js.map +0 -1
  432. package/dist/esm-es5/pds-table-cell.entry.js +0 -2
  433. package/dist/esm-es5/pds-table-cell.entry.js.map +0 -1
  434. package/dist/esm-es5/pds-table-head-cell.entry.js +0 -2
  435. package/dist/esm-es5/pds-table-head-cell.entry.js.map +0 -1
  436. package/dist/esm-es5/pds-table-head.entry.js +0 -2
  437. package/dist/esm-es5/pds-table-head.entry.js.map +0 -1
  438. package/dist/esm-es5/pds-table-row.entry.js +0 -2
  439. package/dist/esm-es5/pds-table-row.entry.js.map +0 -1
  440. package/dist/esm-es5/pds-table.entry.js +0 -2
  441. package/dist/esm-es5/pds-tabpanel.entry.js +0 -2
  442. package/dist/esm-es5/pds-tabpanel.entry.js.map +0 -1
  443. package/dist/esm-es5/pds-tabs.entry.js +0 -2
  444. package/dist/esm-es5/pds-tabs.entry.js.map +0 -1
  445. package/dist/esm-es5/pds-textarea.entry.js +0 -2
  446. package/dist/esm-es5/pds-textarea.entry.js.map +0 -1
  447. package/dist/esm-es5/pds-tooltip.entry.js +0 -2
  448. package/dist/esm-es5/pds-tooltip.entry.js.map +0 -1
  449. package/dist/esm-es5/pine-core.js +0 -2
  450. package/dist/esm-es5/pine-core.js.map +0 -1
  451. package/dist/index.cjs.js +0 -1
  452. package/dist/index.js +0 -1
  453. package/dist/pine-core/p-038065cf.system.entry.js +0 -2
  454. package/dist/pine-core/p-038065cf.system.entry.js.map +0 -1
  455. package/dist/pine-core/p-05ee992c.js +0 -3
  456. package/dist/pine-core/p-05ee992c.js.map +0 -1
  457. package/dist/pine-core/p-0b77685e.js +0 -2
  458. package/dist/pine-core/p-0b77685e.js.map +0 -1
  459. package/dist/pine-core/p-0f3ceb6c.system.entry.js +0 -2
  460. package/dist/pine-core/p-0f3ceb6c.system.entry.js.map +0 -1
  461. package/dist/pine-core/p-10fe7be7.entry.js +0 -2
  462. package/dist/pine-core/p-10fe7be7.entry.js.map +0 -1
  463. package/dist/pine-core/p-1618833a.entry.js +0 -2
  464. package/dist/pine-core/p-1618833a.entry.js.map +0 -1
  465. package/dist/pine-core/p-1775b56f.entry.js +0 -2
  466. package/dist/pine-core/p-1775b56f.entry.js.map +0 -1
  467. package/dist/pine-core/p-19b44f85.entry.js +0 -2
  468. package/dist/pine-core/p-19b44f85.entry.js.map +0 -1
  469. package/dist/pine-core/p-1a03a25f.system.entry.js +0 -2
  470. package/dist/pine-core/p-1a03a25f.system.entry.js.map +0 -1
  471. package/dist/pine-core/p-224a435b.system.js +0 -2
  472. package/dist/pine-core/p-224a435b.system.js.map +0 -1
  473. package/dist/pine-core/p-23d24773.entry.js +0 -2
  474. package/dist/pine-core/p-23d24773.entry.js.map +0 -1
  475. package/dist/pine-core/p-24441d11.system.entry.js +0 -2
  476. package/dist/pine-core/p-24441d11.system.entry.js.map +0 -1
  477. package/dist/pine-core/p-26626013.system.js +0 -3
  478. package/dist/pine-core/p-26626013.system.js.map +0 -1
  479. package/dist/pine-core/p-286189e0.system.entry.js +0 -2
  480. package/dist/pine-core/p-286189e0.system.entry.js.map +0 -1
  481. package/dist/pine-core/p-30dfdfdd.entry.js +0 -2
  482. package/dist/pine-core/p-30dfdfdd.entry.js.map +0 -1
  483. package/dist/pine-core/p-319ced45.system.entry.js +0 -2
  484. package/dist/pine-core/p-319ced45.system.entry.js.map +0 -1
  485. package/dist/pine-core/p-34a4c5ff.system.entry.js +0 -2
  486. package/dist/pine-core/p-34a4c5ff.system.entry.js.map +0 -1
  487. package/dist/pine-core/p-3648779f.entry.js +0 -2
  488. package/dist/pine-core/p-3648779f.entry.js.map +0 -1
  489. package/dist/pine-core/p-3dfbaa2a.entry.js +0 -2
  490. package/dist/pine-core/p-3dfbaa2a.entry.js.map +0 -1
  491. package/dist/pine-core/p-3f1ca23f.entry.js +0 -2
  492. package/dist/pine-core/p-3f1ca23f.entry.js.map +0 -1
  493. package/dist/pine-core/p-3f78956d.system.entry.js +0 -2
  494. package/dist/pine-core/p-3f78956d.system.entry.js.map +0 -1
  495. package/dist/pine-core/p-4283f600.system.entry.js +0 -2
  496. package/dist/pine-core/p-4283f600.system.entry.js.map +0 -1
  497. package/dist/pine-core/p-42cccfec.entry.js +0 -2
  498. package/dist/pine-core/p-42cccfec.entry.js.map +0 -1
  499. package/dist/pine-core/p-473037f0.system.entry.js +0 -2
  500. package/dist/pine-core/p-473037f0.system.entry.js.map +0 -1
  501. package/dist/pine-core/p-4a7afca5.entry.js +0 -2
  502. package/dist/pine-core/p-4a7afca5.entry.js.map +0 -1
  503. package/dist/pine-core/p-4da18aac.system.entry.js +0 -2
  504. package/dist/pine-core/p-4da18aac.system.entry.js.map +0 -1
  505. package/dist/pine-core/p-4dec2648.js +0 -2
  506. package/dist/pine-core/p-4dec2648.js.map +0 -1
  507. package/dist/pine-core/p-50ea2036.system.js +0 -2
  508. package/dist/pine-core/p-50ea2036.system.js.map +0 -1
  509. package/dist/pine-core/p-56ba5cbf.system.js +0 -2
  510. package/dist/pine-core/p-56ba5cbf.system.js.map +0 -1
  511. package/dist/pine-core/p-56c60cf8.system.entry.js +0 -2
  512. package/dist/pine-core/p-56c60cf8.system.entry.js.map +0 -1
  513. package/dist/pine-core/p-59f634bc.entry.js +0 -2
  514. package/dist/pine-core/p-59f634bc.entry.js.map +0 -1
  515. package/dist/pine-core/p-5b032eb0.system.entry.js +0 -2
  516. package/dist/pine-core/p-5b032eb0.system.entry.js.map +0 -1
  517. package/dist/pine-core/p-5bcbdba7.entry.js +0 -2
  518. package/dist/pine-core/p-5bcbdba7.entry.js.map +0 -1
  519. package/dist/pine-core/p-5ec5e6cc.entry.js +0 -2
  520. package/dist/pine-core/p-5ec5e6cc.entry.js.map +0 -1
  521. package/dist/pine-core/p-60953292.system.entry.js +0 -9
  522. package/dist/pine-core/p-60953292.system.entry.js.map +0 -1
  523. package/dist/pine-core/p-6663628f.entry.js +0 -2
  524. package/dist/pine-core/p-6663628f.entry.js.map +0 -1
  525. package/dist/pine-core/p-689137e6.system.entry.js +0 -2
  526. package/dist/pine-core/p-689137e6.system.entry.js.map +0 -1
  527. package/dist/pine-core/p-6faa8c75.js +0 -2
  528. package/dist/pine-core/p-6faa8c75.js.map +0 -1
  529. package/dist/pine-core/p-77b96720.system.js +0 -2
  530. package/dist/pine-core/p-77b96720.system.js.map +0 -1
  531. package/dist/pine-core/p-7bf40997.entry.js +0 -2
  532. package/dist/pine-core/p-7bf40997.entry.js.map +0 -1
  533. package/dist/pine-core/p-7ef962b2.system.entry.js +0 -2
  534. package/dist/pine-core/p-7ef962b2.system.entry.js.map +0 -1
  535. package/dist/pine-core/p-80024a08.system.entry.js +0 -2
  536. package/dist/pine-core/p-80024a08.system.entry.js.map +0 -1
  537. package/dist/pine-core/p-8dd63189.entry.js +0 -8
  538. package/dist/pine-core/p-8dd63189.entry.js.map +0 -1
  539. package/dist/pine-core/p-9028ed17.system.entry.js +0 -2
  540. package/dist/pine-core/p-9028ed17.system.entry.js.map +0 -1
  541. package/dist/pine-core/p-9087b22e.entry.js +0 -2
  542. package/dist/pine-core/p-9087b22e.entry.js.map +0 -1
  543. package/dist/pine-core/p-927733f2.system.js +0 -2
  544. package/dist/pine-core/p-927733f2.system.js.map +0 -1
  545. package/dist/pine-core/p-97e67ec3.system.entry.js +0 -2
  546. package/dist/pine-core/p-97e67ec3.system.entry.js.map +0 -1
  547. package/dist/pine-core/p-999c240c.entry.js +0 -2
  548. package/dist/pine-core/p-999c240c.entry.js.map +0 -1
  549. package/dist/pine-core/p-a010a9e8.system.entry.js +0 -2
  550. package/dist/pine-core/p-a010a9e8.system.entry.js.map +0 -1
  551. package/dist/pine-core/p-a1cf1db5.entry.js +0 -2
  552. package/dist/pine-core/p-a1cf1db5.entry.js.map +0 -1
  553. package/dist/pine-core/p-a4150f66.system.entry.js +0 -2
  554. package/dist/pine-core/p-a4150f66.system.entry.js.map +0 -1
  555. package/dist/pine-core/p-a5a0ced9.system.entry.js +0 -2
  556. package/dist/pine-core/p-a5a0ced9.system.entry.js.map +0 -1
  557. package/dist/pine-core/p-a617a31d.system.entry.js +0 -2
  558. package/dist/pine-core/p-a617a31d.system.entry.js.map +0 -1
  559. package/dist/pine-core/p-a6a2fd34.entry.js +0 -2
  560. package/dist/pine-core/p-a6a2fd34.entry.js.map +0 -1
  561. package/dist/pine-core/p-a6eb294d.entry.js +0 -2
  562. package/dist/pine-core/p-a6eb294d.entry.js.map +0 -1
  563. package/dist/pine-core/p-b2b8070b.entry.js +0 -2
  564. package/dist/pine-core/p-b2b8070b.entry.js.map +0 -1
  565. package/dist/pine-core/p-b5ad8600.entry.js +0 -2
  566. package/dist/pine-core/p-b5ad8600.entry.js.map +0 -1
  567. package/dist/pine-core/p-b8e27935.system.entry.js +0 -2
  568. package/dist/pine-core/p-b8e27935.system.entry.js.map +0 -1
  569. package/dist/pine-core/p-b924a6f7.entry.js +0 -2
  570. package/dist/pine-core/p-b924a6f7.entry.js.map +0 -1
  571. package/dist/pine-core/p-bb55fb8d.system.entry.js +0 -2
  572. package/dist/pine-core/p-bb55fb8d.system.entry.js.map +0 -1
  573. package/dist/pine-core/p-c25d94c0.system.entry.js +0 -2
  574. package/dist/pine-core/p-c25d94c0.system.entry.js.map +0 -1
  575. package/dist/pine-core/p-c8f50955.system.entry.js +0 -2
  576. package/dist/pine-core/p-c8f50955.system.entry.js.map +0 -1
  577. package/dist/pine-core/p-ccbff59d.entry.js +0 -2
  578. package/dist/pine-core/p-ccbff59d.entry.js.map +0 -1
  579. package/dist/pine-core/p-cd001902.system.entry.js +0 -2
  580. package/dist/pine-core/p-cd001902.system.entry.js.map +0 -1
  581. package/dist/pine-core/p-d1038811.entry.js +0 -2
  582. package/dist/pine-core/p-d1038811.entry.js.map +0 -1
  583. package/dist/pine-core/p-d1972e4b.entry.js +0 -2
  584. package/dist/pine-core/p-d1972e4b.entry.js.map +0 -1
  585. package/dist/pine-core/p-da9c79a4.entry.js +0 -2
  586. package/dist/pine-core/p-da9c79a4.entry.js.map +0 -1
  587. package/dist/pine-core/p-db38d613.entry.js +0 -2
  588. package/dist/pine-core/p-db38d613.entry.js.map +0 -1
  589. package/dist/pine-core/p-e1255160.js +0 -2
  590. package/dist/pine-core/p-e1255160.js.map +0 -1
  591. package/dist/pine-core/p-e55f6789.system.js +0 -2
  592. package/dist/pine-core/p-e55f6789.system.js.map +0 -1
  593. package/dist/pine-core/p-f1086b10.system.entry.js +0 -2
  594. package/dist/pine-core/p-f1086b10.system.entry.js.map +0 -1
  595. package/dist/pine-core/p-f3f00b4b.system.entry.js +0 -2
  596. package/dist/pine-core/p-f3f00b4b.system.entry.js.map +0 -1
  597. package/dist/pine-core/pine-core.js +0 -127
  598. package/dist/pine-core/svg/access-key.svg +0 -1
  599. package/dist/pine-core/svg/add-circle.svg +0 -1
  600. package/dist/pine-core/svg/add-image.svg +0 -1
  601. package/dist/pine-core/svg/add-small.svg +0 -1
  602. package/dist/pine-core/svg/add-square.svg +0 -1
  603. package/dist/pine-core/svg/add.svg +0 -1
  604. package/dist/pine-core/svg/advanced.svg +0 -1
  605. package/dist/pine-core/svg/ai-sparkle.svg +0 -1
  606. package/dist/pine-core/svg/ai-writer-filled.svg +0 -1
  607. package/dist/pine-core/svg/ai-writer.svg +0 -1
  608. package/dist/pine-core/svg/align-center.svg +0 -1
  609. package/dist/pine-core/svg/align-justify.svg +0 -1
  610. package/dist/pine-core/svg/align-left.svg +0 -1
  611. package/dist/pine-core/svg/align-right.svg +0 -1
  612. package/dist/pine-core/svg/app-store.svg +0 -1
  613. package/dist/pine-core/svg/archive.svg +0 -1
  614. package/dist/pine-core/svg/arrow-corner.svg +0 -1
  615. package/dist/pine-core/svg/arrow-down.svg +0 -1
  616. package/dist/pine-core/svg/arrow-left.svg +0 -1
  617. package/dist/pine-core/svg/arrow-right.svg +0 -1
  618. package/dist/pine-core/svg/arrow-up.svg +0 -1
  619. package/dist/pine-core/svg/assessment.svg +0 -1
  620. package/dist/pine-core/svg/at-sign.svg +0 -1
  621. package/dist/pine-core/svg/attach.svg +0 -1
  622. package/dist/pine-core/svg/automations.svg +0 -1
  623. package/dist/pine-core/svg/ban.svg +0 -1
  624. package/dist/pine-core/svg/bank.svg +0 -1
  625. package/dist/pine-core/svg/bell.svg +0 -1
  626. package/dist/pine-core/svg/block.svg +0 -1
  627. package/dist/pine-core/svg/blog-filled.svg +0 -1
  628. package/dist/pine-core/svg/blog.svg +0 -1
  629. package/dist/pine-core/svg/bold.svg +0 -1
  630. package/dist/pine-core/svg/broadcast.svg +0 -1
  631. package/dist/pine-core/svg/bulb.svg +0 -1
  632. package/dist/pine-core/svg/button.svg +0 -1
  633. package/dist/pine-core/svg/calendar-date.svg +0 -1
  634. package/dist/pine-core/svg/calendar-schedule.svg +0 -1
  635. package/dist/pine-core/svg/calendar-simple.svg +0 -1
  636. package/dist/pine-core/svg/card-amex.svg +0 -1
  637. package/dist/pine-core/svg/card-android.svg +0 -1
  638. package/dist/pine-core/svg/card-apple.svg +0 -1
  639. package/dist/pine-core/svg/card-diners-club.svg +0 -1
  640. package/dist/pine-core/svg/card-discover.svg +0 -1
  641. package/dist/pine-core/svg/card-generic.svg +0 -1
  642. package/dist/pine-core/svg/card-gpay.svg +0 -1
  643. package/dist/pine-core/svg/card-mastercard.svg +0 -1
  644. package/dist/pine-core/svg/card-paypal.svg +0 -1
  645. package/dist/pine-core/svg/card-stripe.svg +0 -1
  646. package/dist/pine-core/svg/card-update.svg +0 -1
  647. package/dist/pine-core/svg/card-visa.svg +0 -1
  648. package/dist/pine-core/svg/caret-down.svg +0 -1
  649. package/dist/pine-core/svg/caret-left.svg +0 -1
  650. package/dist/pine-core/svg/caret-right.svg +0 -1
  651. package/dist/pine-core/svg/caret-up.svg +0 -1
  652. package/dist/pine-core/svg/cart-add.svg +0 -1
  653. package/dist/pine-core/svg/cart.svg +0 -1
  654. package/dist/pine-core/svg/certificate.svg +0 -1
  655. package/dist/pine-core/svg/chart-filled.svg +0 -1
  656. package/dist/pine-core/svg/chart.svg +0 -1
  657. package/dist/pine-core/svg/check-circle-filled.svg +0 -1
  658. package/dist/pine-core/svg/check-circle.svg +0 -1
  659. package/dist/pine-core/svg/check.svg +0 -1
  660. package/dist/pine-core/svg/circle-1.svg +0 -1
  661. package/dist/pine-core/svg/circle-2.svg +0 -1
  662. package/dist/pine-core/svg/circle-3.svg +0 -1
  663. package/dist/pine-core/svg/circle-4.svg +0 -1
  664. package/dist/pine-core/svg/circle-5.svg +0 -1
  665. package/dist/pine-core/svg/circle-6.svg +0 -1
  666. package/dist/pine-core/svg/circle-7.svg +0 -1
  667. package/dist/pine-core/svg/circle-8.svg +0 -1
  668. package/dist/pine-core/svg/circle-9.svg +0 -1
  669. package/dist/pine-core/svg/circle-a.svg +0 -1
  670. package/dist/pine-core/svg/circle-b.svg +0 -1
  671. package/dist/pine-core/svg/circle-dashed.svg +0 -1
  672. package/dist/pine-core/svg/clock.svg +0 -1
  673. package/dist/pine-core/svg/closed-captions.svg +0 -1
  674. package/dist/pine-core/svg/cloud-upload.svg +0 -1
  675. package/dist/pine-core/svg/code-block.svg +0 -1
  676. package/dist/pine-core/svg/code.svg +0 -1
  677. package/dist/pine-core/svg/color.svg +0 -1
  678. package/dist/pine-core/svg/columns.svg +0 -1
  679. package/dist/pine-core/svg/comment-no.svg +0 -1
  680. package/dist/pine-core/svg/comment.svg +0 -1
  681. package/dist/pine-core/svg/connect.svg +0 -1
  682. package/dist/pine-core/svg/contact.svg +0 -1
  683. package/dist/pine-core/svg/conversation.svg +0 -1
  684. package/dist/pine-core/svg/copy.svg +0 -1
  685. package/dist/pine-core/svg/coupon.svg +0 -1
  686. package/dist/pine-core/svg/course-filled.svg +0 -1
  687. package/dist/pine-core/svg/course.svg +0 -1
  688. package/dist/pine-core/svg/creator-studio-filled.svg +0 -1
  689. package/dist/pine-core/svg/creator-studio.svg +0 -1
  690. package/dist/pine-core/svg/cursor-pointer.svg +0 -1
  691. package/dist/pine-core/svg/cursor.svg +0 -1
  692. package/dist/pine-core/svg/custom-field.svg +0 -1
  693. package/dist/pine-core/svg/customize.svg +0 -1
  694. package/dist/pine-core/svg/danger-filled.svg +0 -1
  695. package/dist/pine-core/svg/danger.svg +0 -1
  696. package/dist/pine-core/svg/delete-circle.svg +0 -1
  697. package/dist/pine-core/svg/delete-key.svg +0 -1
  698. package/dist/pine-core/svg/delete-x.svg +0 -1
  699. package/dist/pine-core/svg/dollar.svg +0 -1
  700. package/dist/pine-core/svg/dot-menu-horizontal.svg +0 -1
  701. package/dist/pine-core/svg/down-small.svg +0 -1
  702. package/dist/pine-core/svg/download.svg +0 -1
  703. package/dist/pine-core/svg/downsell.svg +0 -1
  704. package/dist/pine-core/svg/draft.svg +0 -1
  705. package/dist/pine-core/svg/drawer-collapse.svg +0 -1
  706. package/dist/pine-core/svg/drawer-expand.svg +0 -1
  707. package/dist/pine-core/svg/drop.svg +0 -1
  708. package/dist/pine-core/svg/duplicate.svg +0 -1
  709. package/dist/pine-core/svg/editor-filled.svg +0 -1
  710. package/dist/pine-core/svg/editor.svg +0 -1
  711. package/dist/pine-core/svg/email-activity.svg +0 -1
  712. package/dist/pine-core/svg/emoji.svg +0 -1
  713. package/dist/pine-core/svg/enlarge-vertical.svg +0 -1
  714. package/dist/pine-core/svg/enlarge.svg +0 -1
  715. package/dist/pine-core/svg/expand.svg +0 -1
  716. package/dist/pine-core/svg/favorite.svg +0 -1
  717. package/dist/pine-core/svg/feedback.svg +0 -1
  718. package/dist/pine-core/svg/file-money.svg +0 -1
  719. package/dist/pine-core/svg/file.svg +0 -1
  720. package/dist/pine-core/svg/filter.svg +0 -1
  721. package/dist/pine-core/svg/flag.svg +0 -1
  722. package/dist/pine-core/svg/flash-filled.svg +0 -1
  723. package/dist/pine-core/svg/flash.svg +0 -1
  724. package/dist/pine-core/svg/floppy-disk.svg +0 -1
  725. package/dist/pine-core/svg/folder-group.svg +0 -1
  726. package/dist/pine-core/svg/folder.svg +0 -1
  727. package/dist/pine-core/svg/form-field.svg +0 -1
  728. package/dist/pine-core/svg/form-filled.svg +0 -1
  729. package/dist/pine-core/svg/form.svg +0 -1
  730. package/dist/pine-core/svg/fullscreen.svg +0 -1
  731. package/dist/pine-core/svg/funnel.svg +0 -1
  732. package/dist/pine-core/svg/gear-filled.svg +0 -1
  733. package/dist/pine-core/svg/gear.svg +0 -1
  734. package/dist/pine-core/svg/grant-offer.svg +0 -1
  735. package/dist/pine-core/svg/handle-2-vertical.svg +0 -1
  736. package/dist/pine-core/svg/handle-2.svg +0 -1
  737. package/dist/pine-core/svg/handle.svg +0 -1
  738. package/dist/pine-core/svg/hashtag.svg +0 -1
  739. package/dist/pine-core/svg/hd-video.svg +0 -1
  740. package/dist/pine-core/svg/heading-1.svg +0 -1
  741. package/dist/pine-core/svg/heading-2.svg +0 -1
  742. package/dist/pine-core/svg/heading-3.svg +0 -1
  743. package/dist/pine-core/svg/heading-4.svg +0 -1
  744. package/dist/pine-core/svg/heading-5.svg +0 -1
  745. package/dist/pine-core/svg/heading-6.svg +0 -1
  746. package/dist/pine-core/svg/heading-large.svg +0 -1
  747. package/dist/pine-core/svg/heading-small.svg +0 -1
  748. package/dist/pine-core/svg/headset.svg +0 -1
  749. package/dist/pine-core/svg/help-filled.svg +0 -1
  750. package/dist/pine-core/svg/help.svg +0 -1
  751. package/dist/pine-core/svg/home-alt.svg +0 -1
  752. package/dist/pine-core/svg/home-filled.svg +0 -1
  753. package/dist/pine-core/svg/home.svg +0 -1
  754. package/dist/pine-core/svg/horizontal-line.svg +0 -1
  755. package/dist/pine-core/svg/image.svg +0 -1
  756. package/dist/pine-core/svg/info-circle-filled.svg +0 -1
  757. package/dist/pine-core/svg/info-circle.svg +0 -1
  758. package/dist/pine-core/svg/ios-battery.svg +0 -1
  759. package/dist/pine-core/svg/ios-data.svg +0 -1
  760. package/dist/pine-core/svg/ios-wifi.svg +0 -1
  761. package/dist/pine-core/svg/italic.svg +0 -1
  762. package/dist/pine-core/svg/kajabi-filled.svg +0 -1
  763. package/dist/pine-core/svg/kajabi.svg +0 -1
  764. package/dist/pine-core/svg/klarna.svg +0 -1
  765. package/dist/pine-core/svg/lab.svg +0 -1
  766. package/dist/pine-core/svg/launch.svg +0 -1
  767. package/dist/pine-core/svg/layout-grid.svg +0 -1
  768. package/dist/pine-core/svg/layout-list.svg +0 -1
  769. package/dist/pine-core/svg/left-small.svg +0 -1
  770. package/dist/pine-core/svg/list-bullet.svg +0 -1
  771. package/dist/pine-core/svg/list-details.svg +0 -1
  772. package/dist/pine-core/svg/list-numbers.svg +0 -1
  773. package/dist/pine-core/svg/location.svg +0 -1
  774. package/dist/pine-core/svg/lock-alt.svg +0 -1
  775. package/dist/pine-core/svg/lock.svg +0 -1
  776. package/dist/pine-core/svg/logo-afterpay.svg +0 -1
  777. package/dist/pine-core/svg/logo-facebook-round.svg +0 -1
  778. package/dist/pine-core/svg/logo-facebook.svg +0 -1
  779. package/dist/pine-core/svg/logo-instagram.svg +0 -1
  780. package/dist/pine-core/svg/logo-linkedin.svg +0 -1
  781. package/dist/pine-core/svg/logo-tiktok.svg +0 -1
  782. package/dist/pine-core/svg/logo-twitter-x.svg +0 -1
  783. package/dist/pine-core/svg/logo-twitter.svg +0 -1
  784. package/dist/pine-core/svg/logo-youtube.svg +0 -1
  785. package/dist/pine-core/svg/loop.svg +0 -1
  786. package/dist/pine-core/svg/mail-filled.svg +0 -1
  787. package/dist/pine-core/svg/mail-open.svg +0 -1
  788. package/dist/pine-core/svg/mail.svg +0 -1
  789. package/dist/pine-core/svg/map.svg +0 -1
  790. package/dist/pine-core/svg/mapped.svg +0 -1
  791. package/dist/pine-core/svg/margin-left.svg +0 -1
  792. package/dist/pine-core/svg/margin-right.svg +0 -1
  793. package/dist/pine-core/svg/marker-filled.svg +0 -1
  794. package/dist/pine-core/svg/marker.svg +0 -1
  795. package/dist/pine-core/svg/megaphone-filled.svg +0 -1
  796. package/dist/pine-core/svg/megaphone.svg +0 -1
  797. package/dist/pine-core/svg/menu-alt.svg +0 -1
  798. package/dist/pine-core/svg/menu-bordered.svg +0 -1
  799. package/dist/pine-core/svg/menu.svg +0 -1
  800. package/dist/pine-core/svg/merge.svg +0 -1
  801. package/dist/pine-core/svg/microphone-off.svg +0 -1
  802. package/dist/pine-core/svg/microphone.svg +0 -1
  803. package/dist/pine-core/svg/monitor-filled.svg +0 -1
  804. package/dist/pine-core/svg/monitor.svg +0 -1
  805. package/dist/pine-core/svg/more-menu-filled.svg +0 -1
  806. package/dist/pine-core/svg/more-menu.svg +0 -1
  807. package/dist/pine-core/svg/move-left.svg +0 -1
  808. package/dist/pine-core/svg/move-right.svg +0 -1
  809. package/dist/pine-core/svg/multi-pay.svg +0 -1
  810. package/dist/pine-core/svg/newsletter-2.svg +0 -1
  811. package/dist/pine-core/svg/newsletter.svg +0 -1
  812. package/dist/pine-core/svg/one-off-session.svg +0 -1
  813. package/dist/pine-core/svg/one-time.svg +0 -1
  814. package/dist/pine-core/svg/packages.svg +0 -1
  815. package/dist/pine-core/svg/pause-circle.svg +0 -1
  816. package/dist/pine-core/svg/pause.svg +0 -1
  817. package/dist/pine-core/svg/payout.svg +0 -1
  818. package/dist/pine-core/svg/pen.svg +0 -1
  819. package/dist/pine-core/svg/phone-portrait.svg +0 -1
  820. package/dist/pine-core/svg/phone-toolbar-filled.svg +0 -1
  821. package/dist/pine-core/svg/phone-toolbar.svg +0 -1
  822. package/dist/pine-core/svg/play-circle.svg +0 -1
  823. package/dist/pine-core/svg/play-outline.svg +0 -1
  824. package/dist/pine-core/svg/play-store.svg +0 -1
  825. package/dist/pine-core/svg/play.svg +0 -1
  826. package/dist/pine-core/svg/plug.svg +0 -1
  827. package/dist/pine-core/svg/premium.svg +0 -1
  828. package/dist/pine-core/svg/present.svg +0 -1
  829. package/dist/pine-core/svg/preview-off.svg +0 -1
  830. package/dist/pine-core/svg/preview-on.svg +0 -1
  831. package/dist/pine-core/svg/product-filled.svg +0 -1
  832. package/dist/pine-core/svg/product.svg +0 -1
  833. package/dist/pine-core/svg/question-circle.svg +0 -1
  834. package/dist/pine-core/svg/quote.svg +0 -1
  835. package/dist/pine-core/svg/redo.svg +0 -1
  836. package/dist/pine-core/svg/refresh.svg +0 -1
  837. package/dist/pine-core/svg/remove-circle.svg +0 -1
  838. package/dist/pine-core/svg/remove.svg +0 -1
  839. package/dist/pine-core/svg/rename.svg +0 -1
  840. package/dist/pine-core/svg/reset-password.svg +0 -1
  841. package/dist/pine-core/svg/restore.svg +0 -1
  842. package/dist/pine-core/svg/right-small.svg +0 -1
  843. package/dist/pine-core/svg/rocket-filled.svg +0 -1
  844. package/dist/pine-core/svg/rocket.svg +0 -1
  845. package/dist/pine-core/svg/round-dollar.svg +0 -1
  846. package/dist/pine-core/svg/rows.svg +0 -1
  847. package/dist/pine-core/svg/scissor.svg +0 -1
  848. package/dist/pine-core/svg/screen-share-off.svg +0 -1
  849. package/dist/pine-core/svg/screen-share-on.svg +0 -1
  850. package/dist/pine-core/svg/search-small.svg +0 -1
  851. package/dist/pine-core/svg/search.svg +0 -1
  852. package/dist/pine-core/svg/send-message.svg +0 -1
  853. package/dist/pine-core/svg/sequences.svg +0 -1
  854. package/dist/pine-core/svg/share.svg +0 -1
  855. package/dist/pine-core/svg/skipped.svg +0 -1
  856. package/dist/pine-core/svg/slash-divider.svg +0 -1
  857. package/dist/pine-core/svg/speaker.svg +0 -1
  858. package/dist/pine-core/svg/stack.svg +0 -1
  859. package/dist/pine-core/svg/star.svg +0 -1
  860. package/dist/pine-core/svg/stop.svg +0 -1
  861. package/dist/pine-core/svg/stopwatch.svg +0 -1
  862. package/dist/pine-core/svg/strikethrough.svg +0 -1
  863. package/dist/pine-core/svg/subscript.svg +0 -1
  864. package/dist/pine-core/svg/subscriptions.svg +0 -1
  865. package/dist/pine-core/svg/super-admin.svg +0 -1
  866. package/dist/pine-core/svg/superscript.svg +0 -1
  867. package/dist/pine-core/svg/sync.svg +0 -1
  868. package/dist/pine-core/svg/tablet-landscape.svg +0 -1
  869. package/dist/pine-core/svg/tablet-portrait.svg +0 -1
  870. package/dist/pine-core/svg/tag-filled.svg +0 -1
  871. package/dist/pine-core/svg/tag.svg +0 -1
  872. package/dist/pine-core/svg/text-styles.svg +0 -1
  873. package/dist/pine-core/svg/theme-store-filled.svg +0 -1
  874. package/dist/pine-core/svg/theme-store.svg +0 -1
  875. package/dist/pine-core/svg/thumb-down-filled.svg +0 -1
  876. package/dist/pine-core/svg/thumb-down.svg +0 -1
  877. package/dist/pine-core/svg/thumb-up-filled.svg +0 -1
  878. package/dist/pine-core/svg/thumb-up.svg +0 -1
  879. package/dist/pine-core/svg/trash.svg +0 -1
  880. package/dist/pine-core/svg/trophy.svg +0 -1
  881. package/dist/pine-core/svg/underline.svg +0 -1
  882. package/dist/pine-core/svg/undo.svg +0 -1
  883. package/dist/pine-core/svg/unlock.svg +0 -1
  884. package/dist/pine-core/svg/unmapped.svg +0 -1
  885. package/dist/pine-core/svg/up-small.svg +0 -1
  886. package/dist/pine-core/svg/upload.svg +0 -1
  887. package/dist/pine-core/svg/url.svg +0 -1
  888. package/dist/pine-core/svg/user-circle-filled.svg +0 -1
  889. package/dist/pine-core/svg/user-circle.svg +0 -1
  890. package/dist/pine-core/svg/user-filled.svg +0 -1
  891. package/dist/pine-core/svg/user-star-filled.svg +0 -1
  892. package/dist/pine-core/svg/user-star.svg +0 -1
  893. package/dist/pine-core/svg/user.svg +0 -1
  894. package/dist/pine-core/svg/users-alt.svg +0 -1
  895. package/dist/pine-core/svg/users-filled.svg +0 -1
  896. package/dist/pine-core/svg/users.svg +0 -1
  897. package/dist/pine-core/svg/video-off.svg +0 -1
  898. package/dist/pine-core/svg/video-on.svg +0 -1
  899. package/dist/pine-core/svg/warning-filled.svg +0 -1
  900. package/dist/pine-core/svg/warning.svg +0 -1
  901. package/dist/pine-core/svg/window-paragraph.svg +0 -1
  902. package/dist/pine-core/svg/world.svg +0 -1
  903. package/dist/pine-core/svg/wrench.svg +0 -1
  904. /package/dist/{esm → pine-core}/app-globals-0f993ce5.js +0 -0
  905. /package/dist/{esm → pine-core}/app-globals-0f993ce5.js.map +0 -0
  906. /package/dist/{esm → pine-core}/closest-d2d192be.js +0 -0
  907. /package/dist/{esm → pine-core}/closest-d2d192be.js.map +0 -0
@@ -1,248 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- export class PdsTable {
3
- constructor() {
4
- this.compact = undefined;
5
- this.componentId = undefined;
6
- this.responsive = undefined;
7
- this.fixedColumn = undefined;
8
- this.selectable = undefined;
9
- this.sortingColumn = null;
10
- this.sortingDirection = 'asc';
11
- }
12
- componentWillLoad() {
13
- this.sortingColumn = null;
14
- }
15
- classNames() {
16
- const classNames = ['pds-table'];
17
- if (this.compact) {
18
- classNames.push('is-compact');
19
- }
20
- if (this.responsive) {
21
- classNames.push('is-responsive');
22
- }
23
- return classNames.join(' ');
24
- }
25
- sortTable(column, direction) {
26
- const tableBody = this.el.querySelector('pds-table-body');
27
- // Get the rows in the table body
28
- const tableRows = Array.from(tableBody.querySelectorAll('pds-table-row'));
29
- // Find the column index based on the column name
30
- const columnHeaderCells = Array.from(this.el.querySelectorAll('pds-table-head-cell[sortable]'));
31
- const columnHeaderCell = columnHeaderCells.find((cell) => cell.innerText.trim() === column);
32
- if (!columnHeaderCell) {
33
- console.warn(`Column "${column}" not found.`);
34
- return;
35
- }
36
- const columnIndex = columnHeaderCells.indexOf(columnHeaderCell);
37
- // Sort the rows based on the content of the specified column
38
- tableRows.sort((a, b) => {
39
- const valueA = a.querySelector(`pds-table-cell:nth-child(${columnIndex + 1})`).textContent.trim();
40
- const valueB = b.querySelector(`pds-table-cell:nth-child(${columnIndex + 1})`).textContent.trim();
41
- if (direction === 'asc') {
42
- return valueA.localeCompare(valueB);
43
- }
44
- else {
45
- return valueB.localeCompare(valueA);
46
- }
47
- });
48
- // Clear and append the sorted rows back to the table body
49
- tableBody.innerHTML = '';
50
- tableRows.forEach((row) => {
51
- tableBody.appendChild(row);
52
- });
53
- }
54
- handleTableSort(event) {
55
- const { direction } = event.detail;
56
- this.sortTable(event.detail.column, direction);
57
- this.sortingColumn = event.detail.column;
58
- this.sortingDirection = direction;
59
- }
60
- handleTableSelectAll(event) {
61
- if (event.defaultPrevented)
62
- return;
63
- const pdsTableBody = this.el.querySelector('pds-table-body');
64
- const tableRows = Array.from(pdsTableBody.querySelectorAll('pds-table-row'));
65
- tableRows.forEach((row) => {
66
- row.isSelected = event.detail.isSelected;
67
- });
68
- }
69
- async handleTableSelect(event) {
70
- if (event.defaultPrevented)
71
- return;
72
- const allTableRows = this.el.querySelectorAll('pds-table-row');
73
- const allSelectedRows = Array.from(allTableRows).every((row) => row.isSelected);
74
- const noneSelectedRows = Array.from(allTableRows).every((row) => !row.isSelected);
75
- const pdsTableHead = this.el.querySelector('pds-table-head');
76
- if (!pdsTableHead)
77
- return;
78
- const headerCheckbox = pdsTableHead.shadowRoot.querySelector('pds-checkbox');
79
- headerCheckbox.checked = allSelectedRows;
80
- headerCheckbox.indeterminate = !allSelectedRows && !noneSelectedRows;
81
- }
82
- render() {
83
- return (h(Host, { key: '95cc4db296681faa0fc046c9b1d6807d640b7730', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable, tabindex: "0" }, h("slot", { key: 'ecc9bc0761409d5a2819a05d72290c294e27454f' })));
84
- }
85
- static get is() { return "pds-table"; }
86
- static get encapsulation() { return "shadow"; }
87
- static get originalStyleUrls() {
88
- return {
89
- "$": ["pds-table.scss"]
90
- };
91
- }
92
- static get styleUrls() {
93
- return {
94
- "$": ["pds-table.css"]
95
- };
96
- }
97
- static get properties() {
98
- return {
99
- "compact": {
100
- "type": "boolean",
101
- "mutable": false,
102
- "complexType": {
103
- "original": "boolean",
104
- "resolved": "boolean",
105
- "references": {}
106
- },
107
- "required": false,
108
- "optional": false,
109
- "docs": {
110
- "tags": [],
111
- "text": "Determines if table displays compact which reduces the spacing of table cells."
112
- },
113
- "attribute": "compact",
114
- "reflect": false
115
- },
116
- "componentId": {
117
- "type": "string",
118
- "mutable": false,
119
- "complexType": {
120
- "original": "string",
121
- "resolved": "string",
122
- "references": {}
123
- },
124
- "required": true,
125
- "optional": false,
126
- "docs": {
127
- "tags": [],
128
- "text": "A unique identifier used for the table `id` attribute."
129
- },
130
- "attribute": "component-id",
131
- "reflect": false
132
- },
133
- "responsive": {
134
- "type": "boolean",
135
- "mutable": false,
136
- "complexType": {
137
- "original": "boolean",
138
- "resolved": "boolean",
139
- "references": {}
140
- },
141
- "required": false,
142
- "optional": false,
143
- "docs": {
144
- "tags": [],
145
- "text": "Enables the table to be responsive by horizontally scrolling on smaller screens."
146
- },
147
- "attribute": "responsive",
148
- "reflect": false
149
- },
150
- "fixedColumn": {
151
- "type": "boolean",
152
- "mutable": false,
153
- "complexType": {
154
- "original": "boolean",
155
- "resolved": "boolean",
156
- "references": {}
157
- },
158
- "required": false,
159
- "optional": false,
160
- "docs": {
161
- "tags": [],
162
- "text": "Determines if table displays fixed column which fixes the first column of the table."
163
- },
164
- "attribute": "fixed-column",
165
- "reflect": false
166
- },
167
- "selectable": {
168
- "type": "boolean",
169
- "mutable": false,
170
- "complexType": {
171
- "original": "boolean",
172
- "resolved": "boolean",
173
- "references": {}
174
- },
175
- "required": false,
176
- "optional": false,
177
- "docs": {
178
- "tags": [],
179
- "text": "Determines if table displays checkboxes for selectable rows."
180
- },
181
- "attribute": "selectable",
182
- "reflect": false
183
- }
184
- };
185
- }
186
- static get states() {
187
- return {
188
- "sortingColumn": {},
189
- "sortingDirection": {}
190
- };
191
- }
192
- static get events() {
193
- return [{
194
- "method": "pdsTableSelect",
195
- "name": "pdsTableSelect",
196
- "bubbles": true,
197
- "cancelable": true,
198
- "composed": true,
199
- "docs": {
200
- "tags": [],
201
- "text": "Event that is emitted when the checkbox is clicked, carrying the rowIndex and selected value."
202
- },
203
- "complexType": {
204
- "original": "{ rowIndex: number; isSelected: boolean }",
205
- "resolved": "{ rowIndex: number; isSelected: boolean; }",
206
- "references": {}
207
- }
208
- }, {
209
- "method": "pdsTableSelectAll",
210
- "name": "pdsTableSelectAll",
211
- "bubbles": true,
212
- "cancelable": true,
213
- "composed": true,
214
- "docs": {
215
- "tags": [],
216
- "text": "Event that is emitted when the select all checkbox is clicked, carrying the selected value."
217
- },
218
- "complexType": {
219
- "original": "{ isSelected: boolean }",
220
- "resolved": "{ isSelected: boolean; }",
221
- "references": {}
222
- }
223
- }];
224
- }
225
- static get elementRef() { return "el"; }
226
- static get listeners() {
227
- return [{
228
- "name": "pdsTableSort",
229
- "method": "handleTableSort",
230
- "target": undefined,
231
- "capture": false,
232
- "passive": false
233
- }, {
234
- "name": "pdsTableSelectAll",
235
- "method": "handleTableSelectAll",
236
- "target": undefined,
237
- "capture": false,
238
- "passive": false
239
- }, {
240
- "name": "pdsTableRowSelected",
241
- "method": "handleTableSelect",
242
- "target": undefined,
243
- "capture": false,
244
- "passive": false
245
- }];
246
- }
247
- }
248
- //# sourceMappingURL=pds-table.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pds-table.js","sourceRoot":"","sources":["../../../src/components/pds-table/pds-table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAOtG,MAAM,OAAO,QAAQ;;;;;;;6BA4BqB,IAAI;gCACA,KAAK;;IAajD,iBAAiB;QACf,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;IAC5B,CAAC;IAEO,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,WAAW,CAAC,CAAC;QAEjC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAChC,CAAC;QAED,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACnC,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAEO,SAAS,CAAC,MAAc,EAAE,SAAyB;QACzD,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAE1D,iCAAiC;QACjC,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAC,CAAC;QAE1E,iDAAiD;QACjD,MAAM,iBAAiB,GAAkB,KAAK,CAAC,IAAI,CACjD,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,+BAA+B,CAAC,CAC1D,CAAC;QAEF,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,IAAI,CAC7C,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,MAAM,CAC3C,CAAC;QAEF,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACtB,OAAO,CAAC,IAAI,CAAC,WAAW,MAAM,cAAc,CAAC,CAAC;YAC9C,OAAO;QACT,CAAC;QAED,MAAM,WAAW,GAAG,iBAAiB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;QAEhE,6DAA6D;QAC7D,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;YACtB,MAAM,MAAM,GAAG,CAAC,CAAC,aAAa,CAAC,4BAA4B,WAAW,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;YAClG,MAAM,MAAM,GAAG,CAAC,CAAC,aAAa,CAAC,4BAA4B,WAAW,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;YAElG,IAAI,SAAS,KAAK,KAAK,EAAE,CAAC;gBACxB,OAAO,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;YACtC,CAAC;iBAAM,CAAC;gBACN,OAAO,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;YACtC,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,0DAA0D;QAC1D,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC;QACzB,SAAS,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YACxB,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC,CAAC,CAAC;IACL,CAAC;IAGD,eAAe,CAAC,KAAiE;QAC/E,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;QACnC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QAC/C,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QACzC,IAAI,CAAC,gBAAgB,GAAG,SAAS,CAAC;IACpC,CAAC;IAGD,oBAAoB,CAAC,KAA2C;QAC9D,IAAI,KAAK,CAAC,gBAAgB;YAAE,OAAO;QAEnC,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAC7D,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAC,CAAC;QAE7E,SAAS,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YACxB,GAAG,CAAC,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;QAC3C,CAAC,CAAC,CAAC;IACL,CAAC;IAGD,KAAK,CAAC,iBAAiB,CAAC,KAA6D;QACnF,IAAI,KAAK,CAAC,gBAAgB;YAAE,OAAO;QAEnC,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAC;QAC/D,MAAM,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QAChF,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QAClF,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAC7D,IAAI,CAAC,YAAY;YAAE,OAAO;QAE1B,MAAM,cAAc,GAAG,YAAY,CAAC,UAAU,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;QAC7E,cAAc,CAAC,OAAO,GAAG,eAAe,CAAC;QACzC,cAAc,CAAC,aAAa,GAAG,CAAC,eAAe,IAAI,CAAC,gBAAgB,CAAC;IACvE,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EACxB,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,IAAI,EAAC,MAAM,EACX,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,QAAQ,EAAC,GAAG;YAEZ,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Host, h, Prop, State, Listen } from '@stencil/core';\n\n@Component({\n tag: 'pds-table',\n styleUrl: 'pds-table.scss',\n shadow: true,\n})\nexport class PdsTable {\n @Element() el: HTMLPdsTableElement;\n\n /**\n * Determines if table displays compact which reduces the spacing of table cells.\n */\n @Prop() compact: boolean;\n\n /**\n * A unique identifier used for the table `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Enables the table to be responsive by horizontally scrolling on smaller screens.\n */\n @Prop() responsive: boolean;\n\n /**\n * Determines if table displays fixed column which fixes the first column of the table.\n */\n @Prop() fixedColumn: boolean;\n\n /**\n * Determines if table displays checkboxes for selectable rows.\n */\n @Prop() selectable: boolean;\n\n @State() sortingColumn: string | null = null;\n @State() sortingDirection: 'asc' | 'desc' = 'asc';\n\n\n /**\n * Event that is emitted when the checkbox is clicked, carrying the rowIndex and selected value.\n */\n @Event() pdsTableSelect: EventEmitter<{ rowIndex: number; isSelected: boolean }>;\n\n /**\n * Event that is emitted when the select all checkbox is clicked, carrying the selected value.\n */\n @Event() pdsTableSelectAll: EventEmitter<{ isSelected: boolean }>;\n\n componentWillLoad() {\n this.sortingColumn = null;\n }\n\n private classNames() {\n const classNames = ['pds-table'];\n\n if (this.compact) {\n classNames.push('is-compact');\n }\n\n if (this.responsive) {\n classNames.push('is-responsive');\n }\n\n return classNames.join(' ');\n }\n\n private sortTable(column: string, direction: 'asc' | 'desc') {\n const tableBody = this.el.querySelector('pds-table-body');\n\n // Get the rows in the table body\n const tableRows = Array.from(tableBody.querySelectorAll('pds-table-row'));\n\n // Find the column index based on the column name\n const columnHeaderCells: HTMLElement[] = Array.from(\n this.el.querySelectorAll('pds-table-head-cell[sortable]')\n );\n\n const columnHeaderCell = columnHeaderCells.find(\n (cell) => cell.innerText.trim() === column\n );\n\n if (!columnHeaderCell) {\n console.warn(`Column \"${column}\" not found.`);\n return;\n }\n\n const columnIndex = columnHeaderCells.indexOf(columnHeaderCell);\n\n // Sort the rows based on the content of the specified column\n tableRows.sort((a, b) => {\n const valueA = a.querySelector(`pds-table-cell:nth-child(${columnIndex + 1})`).textContent.trim();\n const valueB = b.querySelector(`pds-table-cell:nth-child(${columnIndex + 1})`).textContent.trim();\n\n if (direction === 'asc') {\n return valueA.localeCompare(valueB);\n } else {\n return valueB.localeCompare(valueA);\n }\n });\n\n // Clear and append the sorted rows back to the table body\n tableBody.innerHTML = '';\n tableRows.forEach((row) => {\n tableBody.appendChild(row);\n });\n }\n\n @Listen('pdsTableSort')\n handleTableSort(event: CustomEvent<{ column: string; direction: 'asc' | 'desc' }>) {\n const { direction } = event.detail;\n this.sortTable(event.detail.column, direction);\n this.sortingColumn = event.detail.column;\n this.sortingDirection = direction;\n }\n\n @Listen('pdsTableSelectAll')\n handleTableSelectAll(event: CustomEvent<{ isSelected: boolean }>) {\n if (event.defaultPrevented) return;\n\n const pdsTableBody = this.el.querySelector('pds-table-body');\n const tableRows = Array.from(pdsTableBody.querySelectorAll('pds-table-row'));\n\n tableRows.forEach((row) => {\n row.isSelected = event.detail.isSelected;\n });\n }\n\n @Listen('pdsTableRowSelected')\n async handleTableSelect(event: CustomEvent<{ rowIndex: number; isSelected: boolean }>) {\n if (event.defaultPrevented) return;\n\n const allTableRows = this.el.querySelectorAll('pds-table-row');\n const allSelectedRows = Array.from(allTableRows).every((row) => row.isSelected);\n const noneSelectedRows = Array.from(allTableRows).every((row) => !row.isSelected);\n const pdsTableHead = this.el.querySelector('pds-table-head');\n if (!pdsTableHead) return;\n\n const headerCheckbox = pdsTableHead.shadowRoot.querySelector('pds-checkbox');\n headerCheckbox.checked = allSelectedRows;\n headerCheckbox.indeterminate = !allSelectedRows && !noneSelectedRows;\n }\n\n render() {\n return (\n <Host\n class={this.classNames()}\n id={this.componentId}\n role=\"grid\"\n selectable={this.selectable}\n tabindex=\"0\"\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -1,227 +0,0 @@
1
- import { html } from 'lit-html';
2
- import { extractArgTypes } from '@pxtrn/storybook-addon-docs-stencil';
3
- import { withActions } from '@storybook/addon-actions/decorator';
4
-
5
- export default {
6
- argTypes: extractArgTypes('pds-table'),
7
- component: 'pds-table',
8
- decorators: [withActions],
9
- parameters: {
10
- actions: {
11
- handles: ['onclick', 'pdsTableRowSelected', 'onclick', 'pdsTableSelectAll'],
12
- },
13
- },
14
- title: 'components/Table',
15
- };
16
-
17
- const BaseTemplate = (args) => html`
18
- <pds-table
19
- compact="${args.compact}"
20
- component-id="${args.componentId}"
21
- fixed-column="${args.fixedColumn}"
22
- responsive="${args.responsive}"
23
- selectable="${args.selectable}"
24
- >
25
- <pds-table-head>
26
- <pds-table-head-cell>Column Title</pds-table-head-cell>
27
- <pds-table-head-cell>Column Title</pds-table-head-cell>
28
- <pds-table-head-cell>Column Title</pds-table-head-cell>
29
- </pds-table-head>
30
- <pds-table-body>
31
- <pds-table-row value="row1">
32
- <pds-table-cell>Row Item Alpha</pds-table-cell>
33
- <pds-table-cell>Row Item Alpha</pds-table-cell>
34
- <pds-table-cell>Row Item Alpha</pds-table-cell>
35
- </pds-table-row>
36
- <pds-table-row value="row2">
37
- <pds-table-cell>Row Item Bravo</pds-table-cell>
38
- <pds-table-cell>Row Item Bravo</pds-table-cell>
39
- <pds-table-cell>Row Item Bravo</pds-table-cell>
40
- </pds-table-row>
41
- <pds-table-row value="row3">
42
- <pds-table-cell>Row Item Charlie</pds-table-cell>
43
- <pds-table-cell>Row Item Charlie</pds-table-cell>
44
- <pds-table-cell>Row Item Charlie</pds-table-cell>
45
- </pds-table-row>
46
- </pds-table-body>
47
- </pds-table>`;
48
-
49
- const ResponsiveTemplate = (args) => html`
50
- <pds-table
51
- compact="${args.compact}"
52
- component-id="${args.componentId}"
53
- fixed-column="${args.fixedColumn}"
54
- responsive="${args.responsive}"
55
- selectable="${args.selectable}"
56
- >
57
- <pds-table-head>
58
- <pds-table-head-cell>Column Title</pds-table-head-cell>
59
- <pds-table-head-cell>Column Title</pds-table-head-cell>
60
- <pds-table-head-cell>Column Title</pds-table-head-cell>
61
- <pds-table-head-cell>Column Title</pds-table-head-cell>
62
- <pds-table-head-cell>Column Title</pds-table-head-cell>
63
- <pds-table-head-cell>Column Title</pds-table-head-cell>
64
- <pds-table-head-cell>Column Title</pds-table-head-cell>
65
- <pds-table-head-cell>Column Title</pds-table-head-cell>
66
- <pds-table-head-cell>Column Title</pds-table-head-cell>
67
- <pds-table-head-cell>Column Title</pds-table-head-cell>
68
- <pds-table-head-cell>Column Title</pds-table-head-cell>
69
- <pds-table-head-cell>Column Title</pds-table-head-cell>
70
- </pds-table-head>
71
- <pds-table-body>
72
- <pds-table-row value="responsive1">
73
- <pds-table-cell>Row Item Alpha</pds-table-cell>
74
- <pds-table-cell>Row Item Beta</pds-table-cell>
75
- <pds-table-cell>Row Item Charlie</pds-table-cell>
76
- <pds-table-cell>Row Item Delta</pds-table-cell>
77
- <pds-table-cell>Row Item Echo</pds-table-cell>
78
- <pds-table-cell>Row Item Foxtrot</pds-table-cell>
79
- <pds-table-cell>Row Item Golf</pds-table-cell>
80
- <pds-table-cell>Row Item Hotel</pds-table-cell>
81
- <pds-table-cell>Row Item Juliett</pds-table-cell>
82
- <pds-table-cell>Row Item Kilo</pds-table-cell>
83
- <pds-table-cell>Row Item Lima</pds-table-cell>
84
- <pds-table-cell>Row Item Mike</pds-table-cell>
85
- </pds-table-row>
86
- <pds-table-row value="responsive2">
87
- <pds-table-cell>Row Item Alpha</pds-table-cell>
88
- <pds-table-cell>Row Item Beta</pds-table-cell>
89
- <pds-table-cell>Row Item Charlie</pds-table-cell>
90
- <pds-table-cell>Row Item Delta</pds-table-cell>
91
- <pds-table-cell>Row Item Echo</pds-table-cell>
92
- <pds-table-cell>Row Item Foxtrot</pds-table-cell>
93
- <pds-table-cell>Row Item Golf</pds-table-cell>
94
- <pds-table-cell>Row Item Hotel</pds-table-cell>
95
- <pds-table-cell>Row Item Juliett</pds-table-cell>
96
- <pds-table-cell>Row Item Kilo</pds-table-cell>
97
- <pds-table-cell>Row Item Lima</pds-table-cell>
98
- <pds-table-cell>Row Item Mike</pds-table-cell>
99
- </pds-table-row>
100
- <pds-table-row value="responsive3">
101
- <pds-table-cell>Row Item Alpha</pds-table-cell>
102
- <pds-table-cell>Row Item Beta</pds-table-cell>
103
- <pds-table-cell>Row Item Charlie</pds-table-cell>
104
- <pds-table-cell>Row Item Delta</pds-table-cell>
105
- <pds-table-cell>Row Item Echo</pds-table-cell>
106
- <pds-table-cell>Row Item Foxtrot</pds-table-cell>
107
- <pds-table-cell>Row Item Golf</pds-table-cell>
108
- <pds-table-cell>Row Item Hotel</pds-table-cell>
109
- <pds-table-cell>Row Item Juliett</pds-table-cell>
110
- <pds-table-cell>Row Item Kilo</pds-table-cell>
111
- <pds-table-cell>Row Item Lima</pds-table-cell>
112
- <pds-table-cell>Row Item Mike</pds-table-cell>
113
- </pds-table-row>
114
- </pds-table-body>
115
- </pds-table>`;
116
-
117
- const SortableTemplate = (args) => html`
118
- <pds-table
119
- compact="${args.compact}"
120
- component-id="${args.componentId}"
121
- fixed-column="${args.fixedColumn}"
122
- responsive="${args.responsive}"
123
- selectable="${args.selectable}"
124
- >
125
- <pds-table-head>
126
- <pds-table-head-cell sortable=${args.sortable}>Name</pds-table-head-cell>
127
- <pds-table-head-cell sortable=${args.sortable}>Email</pds-table-head-cell>
128
- <pds-table-head-cell sortable=${args.sortable}>Email Marketing</pds-table-head-cell>
129
- </pds-table-head>
130
- <pds-table-body>
131
- <pds-table-row>
132
- <pds-table-cell>John Doe</pds-table-cell>
133
- <pds-table-cell>john.doe@example.com</pds-table-cell>
134
- <pds-table-cell>Subscribed</pds-table-cell>
135
- </pds-table-row>
136
- <pds-table-row>
137
- <pds-table-cell>Jane Smith</pds-table-cell>
138
- <pds-table-cell>jane.smith@example.com</pds-table-cell>
139
- <pds-table-cell>Not Subscribed</pds-table-cell>
140
- </pds-table-row>
141
- <pds-table-row>
142
- <pds-table-cell>Michael Johnson</pds-table-cell>
143
- <pds-table-cell>michael.johnson@example.com</pds-table-cell>
144
- <pds-table-cell>Subscribed</pds-table-cell>
145
- </pds-table-row>
146
- <pds-table-row>
147
- <pds-table-cell>Susan Brown</pds-table-cell>
148
- <pds-table-cell>susan.brown@example.com</pds-table-cell>
149
- <pds-table-cell>Not Subscribed</pds-table-cell>
150
- </pds-table-row>
151
- <pds-table-row>
152
- <pds-table-cell>William Davis</pds-table-cell>
153
- <pds-table-cell>william.davis@example.com</pds-table-cell>
154
- <pds-table-cell>Subscribed</pds-table-cell>
155
- </pds-table-row>
156
- <pds-table-row>
157
- <pds-table-cell>Mary Wilson</pds-table-cell>
158
- <pds-table-cell>mary.wilson@example.com</pds-table-cell>
159
- <pds-table-cell>Not Subscribed</pds-table-cell>
160
- </pds-table-row>
161
- <pds-table-row>
162
- <pds-table-cell>James Lee</pds-table-cell>
163
- <pds-table-cell>james.lee@example.com</pds-table-cell>
164
- <pds-table-cell>Subscribed</pds-table-cell>
165
- </pds-table-row>
166
- <pds-table-row>
167
- <pds-table-cell>Linda Hall</pds-table-cell>
168
- <pds-table-cell>linda.hall@example.com</pds-table-cell>
169
- <pds-table-cell>Not Subscribed</pds-table-cell>
170
- </pds-table-row>
171
- </pds-table-body>
172
- </pds-table>`;
173
-
174
- export const Default = BaseTemplate.bind();
175
- Default.args = {
176
- compact: false,
177
- componentId: 'default',
178
- fixedColumn: false,
179
- responsive: false,
180
- selectable: false,
181
- };
182
-
183
- export const Compact = BaseTemplate.bind();
184
- Compact.args = {
185
- compact: true,
186
- componentId: 'compact',
187
- fixedColumn: false,
188
- responsive: false,
189
- selectable: false,
190
- };
191
-
192
- export const Selectable = BaseTemplate.bind();
193
- Selectable.args = {
194
- compact: false,
195
- componentId: 'selectable',
196
- fixedColumn: false,
197
- responsive: false,
198
- selectable: true,
199
- };
200
-
201
- export const Responsive = ResponsiveTemplate.bind();
202
- Responsive.args = {
203
- compact: false,
204
- componentId: 'responsive',
205
- fixedColumn: false,
206
- responsive: true,
207
- selectable: false,
208
- };
209
-
210
- export const fixedColumn = ResponsiveTemplate.bind();
211
- fixedColumn.args = {
212
- compact: false,
213
- componentId: 'responsive',
214
- fixedColumn: true,
215
- responsive: true,
216
- selectable: false,
217
- };
218
-
219
- export const Sortable = SortableTemplate.bind();
220
- Sortable.args = {
221
- compact: false,
222
- componentId: 'sortable',
223
- fixedColumn: false,
224
- responsive: false,
225
- selectable: false,
226
- sortable: true,
227
- };
@@ -1,160 +0,0 @@
1
- pds-tab {
2
- --border-none: var(--pine-border-width-none);
3
- --border-radius-availability: var(--pine-border-radius-100);
4
- --border-radius-default: var(--pine-border-radius-125);
5
- --border-radius-none: var(--pine-border-radius-0);
6
- --box-shadow-focus: 0 0 0 2px var(--pine-color-blue-200);
7
- --color-background-active: var(--pine-color-charcoal-400);
8
- --color-background-availability: var(--pine-color-white);
9
- --color-background-default: var(--pine-color-grey-300);
10
- --color-background-hover: var(--pine-color-grey-400);
11
- --color-text-active: var(--pine-color-charcoal-400);
12
- --color-text-active-inverse: var(--pine-color-white);
13
- --color-text-default: var(--pine-color-charcoal-200);
14
- --color-text-focus: var(--pine-color-charcoal-300);
15
- --font-size-availability-content: var(--pine-font-size-075);
16
- --font-size-default: var(--pine-font-size-100);
17
- --font-size-filter-content: var(--pine-font-size-087);
18
- --font-weight-default: var(--pine-font-weight-medium);
19
- --line-height-availability-content: var(--pine-line-height-100);
20
- --line-height-default: var(--pine-line-height-150);
21
- --line-height-filter-content: var(--pine-line-height-125);
22
- --outline: 4px solid var(--pine-color-blue-200);
23
- --spacing-padding-none: var(--pine-spacing-0);
24
- display: inline-block;
25
- position: relative;
26
- }
27
-
28
- .pds-tab {
29
- appearance: none;
30
- background-color: transparent;
31
- border: var(--border-none);
32
- box-shadow: none;
33
- color: inherit;
34
- cursor: pointer;
35
- font-family: inherit;
36
- padding: var(--spacing-padding-none);
37
- align-items: center;
38
- color: var(--color-text-default);
39
- display: inline-flex;
40
- position: relative;
41
- text-decoration: none;
42
- white-space: nowrap;
43
- }
44
- .pds-tab.is-active, .pds-tab[aria-selected=true] {
45
- color: var(--color-text-active);
46
- }
47
- .pds-tab.is-active .pds-tab__content::after, .pds-tab[aria-selected=true] .pds-tab__content::after {
48
- opacity: 1;
49
- }
50
- .pds-tab:hover {
51
- color: var(--color-text-active);
52
- }
53
- .pds-tab:focus-visible {
54
- box-shadow: var(--box-shadow-focus);
55
- outline: none;
56
- }
57
- .pds-tab .pds-tab__content {
58
- font-family: inherit;
59
- font-size: var(--font-size-default);
60
- font-weight: var(--font-weight-default);
61
- line-height: var(--line-height-default);
62
- padding-block-end: 11px;
63
- position: relative;
64
- }
65
- .pds-tab .pds-tab__content::after {
66
- background-color: currentColor;
67
- bottom: 0;
68
- content: "";
69
- height: 3px;
70
- left: 0;
71
- opacity: 0;
72
- position: absolute;
73
- right: 0;
74
- }
75
- .pds-tab .pds-tab-edge {
76
- display: none;
77
- }
78
-
79
- .pds-tabs--availability {
80
- --color-background-tab: transparent;
81
- }
82
- .pds-tabs--availability .pds-tab {
83
- background-color: var(--color-background-tab);
84
- border-radius: var(--border-radius-availability) var(--border-radius-availability) var(--border-radius-none) var(--border-radius-none);
85
- padding: 8px 16px 13px;
86
- }
87
- .pds-tabs--availability .pds-tab.is-active, .pds-tabs--availability .pds-tab[aria-selected=true] {
88
- --color-background-tab: var(--color-background-availability);
89
- }
90
- .pds-tabs--availability .pds-tab.is-active .pds-tab__content::after, .pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab__content::after {
91
- opacity: 1;
92
- }
93
- .pds-tabs--availability .pds-tab.is-active .pds-tab-edge, .pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab-edge {
94
- z-index: 1;
95
- }
96
- .pds-tabs--availability .pds-tab:hover:not(.is-active, [aria-selected=true]) {
97
- --color-background-tab: var(--color-background-default);
98
- }
99
- .pds-tabs--availability .pds-tab:focus-visible {
100
- color: var(--color-text-default);
101
- }
102
- .pds-tabs--availability .pds-tab__content {
103
- font-size: var(--font-size-availability-content);
104
- line-height: var(--line-height-availability-content);
105
- padding-bottom: 7px;
106
- }
107
- .pds-tabs--availability .pds-tab-edge {
108
- bottom: 0;
109
- display: block;
110
- height: 8px;
111
- inset-inline-end: 100%;
112
- overflow: hidden;
113
- position: absolute;
114
- width: 8px;
115
- }
116
- .pds-tabs--availability .pds-tab-edge::before {
117
- border-radius: 50%;
118
- bottom: 0;
119
- box-shadow: 4px 4px 0 0 var(--color-background-tab);
120
- content: "";
121
- display: block;
122
- height: 200%;
123
- inset-inline-end: 0;
124
- position: absolute;
125
- width: 200%;
126
- }
127
- .pds-tabs--availability .pds-tab-edge--end {
128
- inset-inline-end: unset;
129
- inset-inline-start: 100%;
130
- }
131
- .pds-tabs--availability .pds-tab-edge--end::before {
132
- box-shadow: -4px 4px 0 0 var(--color-background-tab);
133
- inset-inline-end: unset;
134
- inset-inline-start: 0;
135
- }
136
-
137
- .pds-tabs--filter {
138
- --color-background-tab: var(--color-background-active);
139
- }
140
- .pds-tabs--filter .pds-tab {
141
- background-color: var(--color-background-tab);
142
- border-radius: 50px;
143
- color: var(--color-text-active);
144
- padding: 6px 15px;
145
- }
146
- .pds-tabs--filter .pds-tab.is-active, .pds-tabs--filter .pds-tab[aria-selected=true] {
147
- --color-background-tab: var(--color-background-active);
148
- color: var(--color-text-active-inverse);
149
- }
150
- .pds-tabs--filter .pds-tab:hover:not(.is-active, [aria-selected=true]) {
151
- --color-background-tab: var(--color-background-hover);
152
- }
153
- .pds-tabs--filter .pds-tab__content {
154
- font-size: var(--font-size-filter-content);
155
- line-height: var(--line-height-filter-content);
156
- padding-block-end: 0;
157
- }
158
- .pds-tabs--filter .pds-tab__content::after {
159
- content: unset;
160
- }