@pine-ds/core 0.2.4 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (531) hide show
  1. package/dist/cjs/{index-49f8049e.js → index-f034f06e.js} +3 -1
  2. package/dist/cjs/index-f034f06e.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/pds-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/pds-accordion.cjs.entry.js.map +1 -1
  6. package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
  7. package/dist/cjs/pds-avatar.cjs.entry.js.map +1 -1
  8. package/dist/cjs/pds-box.cjs.entry.js +3 -3
  9. package/dist/cjs/pds-box.cjs.entry.js.map +1 -1
  10. package/dist/cjs/pds-button.cjs.entry.js +2 -2
  11. package/dist/cjs/pds-button.cjs.entry.js.map +1 -1
  12. package/dist/cjs/pds-checkbox_2.cjs.entry.js +2 -2
  13. package/dist/cjs/pds-checkbox_2.cjs.entry.js.map +1 -1
  14. package/dist/cjs/pds-chip.cjs.entry.js +2 -2
  15. package/dist/cjs/pds-chip.cjs.entry.js.map +1 -1
  16. package/dist/cjs/pds-copytext.cjs.entry.js +4 -18
  17. package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -1
  18. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  19. package/dist/cjs/pds-divider.cjs.entry.js.map +1 -1
  20. package/dist/cjs/pds-image.cjs.entry.js +1 -1
  21. package/dist/cjs/pds-image.cjs.entry.js.map +1 -1
  22. package/dist/cjs/pds-input.cjs.entry.js +1 -1
  23. package/dist/cjs/pds-input.cjs.entry.js.map +1 -1
  24. package/dist/cjs/pds-link.cjs.entry.js +2 -2
  25. package/dist/cjs/pds-link.cjs.entry.js.map +1 -1
  26. package/dist/cjs/pds-progress.cjs.entry.js +2 -2
  27. package/dist/cjs/pds-progress.cjs.entry.js.map +1 -1
  28. package/dist/cjs/pds-radio.cjs.entry.js +1 -1
  29. package/dist/cjs/pds-radio.cjs.entry.js.map +1 -1
  30. package/dist/cjs/pds-sortable-item.cjs.entry.js +13 -3
  31. package/dist/cjs/pds-sortable-item.cjs.entry.js.map +1 -1
  32. package/dist/cjs/pds-sortable.cjs.entry.js +3 -3
  33. package/dist/cjs/pds-sortable.cjs.entry.js.map +1 -1
  34. package/dist/cjs/pds-switch.cjs.entry.js +1 -1
  35. package/dist/cjs/pds-switch.cjs.entry.js.map +1 -1
  36. package/dist/cjs/pds-tab.cjs.entry.js +1 -1
  37. package/dist/cjs/pds-tab.cjs.entry.js.map +1 -1
  38. package/dist/cjs/pds-table-head-cell.cjs.entry.js +2 -2
  39. package/dist/cjs/pds-table-head-cell.cjs.entry.js.map +1 -1
  40. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  41. package/dist/cjs/pds-table-head.cjs.entry.js.map +1 -1
  42. package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
  43. package/dist/cjs/pds-table-row.cjs.entry.js.map +1 -1
  44. package/dist/cjs/pds-table.cjs.entry.js +1 -1
  45. package/dist/cjs/pds-table.cjs.entry.js.map +1 -1
  46. package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
  47. package/dist/cjs/pds-tabpanel.cjs.entry.js.map +1 -1
  48. package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
  49. package/dist/cjs/pds-tabs.cjs.entry.js.map +1 -1
  50. package/dist/cjs/pds-textarea.cjs.entry.js +1 -1
  51. package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -1
  52. package/dist/cjs/pds-tooltip.cjs.entry.js +1 -1
  53. package/dist/cjs/pds-tooltip.cjs.entry.js.map +1 -1
  54. package/dist/cjs/pine-core.cjs.js +1 -1
  55. package/dist/collection/components/pds-accordion/pds-accordion.css +25 -39
  56. package/dist/collection/components/pds-avatar/pds-avatar.css +22 -19
  57. package/dist/collection/components/pds-box/pds-box.css +30 -30
  58. package/dist/collection/components/pds-box/pds-box.js +2 -2
  59. package/dist/collection/components/pds-box/pds-box.js.map +1 -1
  60. package/dist/collection/components/pds-button/pds-button.css +88 -81
  61. package/dist/collection/components/pds-button/stories/pds-button.stories.js +1 -0
  62. package/dist/collection/components/pds-checkbox/pds-checkbox.css +26 -28
  63. package/dist/collection/components/pds-chip/pds-chip.css +88 -94
  64. package/dist/collection/components/pds-copytext/pds-copytext.css +38 -33
  65. package/dist/collection/components/pds-copytext/pds-copytext.js +2 -16
  66. package/dist/collection/components/pds-copytext/pds-copytext.js.map +1 -1
  67. package/dist/collection/components/pds-divider/pds-divider.css +36 -36
  68. package/dist/collection/components/pds-image/pds-image.css +2 -2
  69. package/dist/collection/components/pds-input/pds-input.css +45 -46
  70. package/dist/collection/components/pds-link/pds-link.css +19 -19
  71. package/dist/collection/components/pds-progress/pds-progress.css +20 -18
  72. package/dist/collection/components/pds-progress/pds-progress.js +2 -2
  73. package/dist/collection/components/pds-progress/pds-progress.js.map +1 -1
  74. package/dist/collection/components/pds-radio/pds-radio.css +28 -27
  75. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.css +17 -17
  76. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +15 -5
  77. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js.map +1 -1
  78. package/dist/collection/components/pds-sortable/pds-sortable-item/stories/pds-sortable-item.stories.js +2 -2
  79. package/dist/collection/components/pds-sortable/pds-sortable.css +3 -3
  80. package/dist/collection/components/pds-sortable/pds-sortable.js +2 -2
  81. package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -1
  82. package/dist/collection/components/pds-sortable/sortable-interface.js +2 -0
  83. package/dist/collection/components/pds-sortable/sortable-interface.js.map +1 -0
  84. package/dist/collection/components/pds-sortable/stories/pds-sortable.stories.js +6 -6
  85. package/dist/collection/components/pds-switch/pds-switch.css +48 -48
  86. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.css +19 -19
  87. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.css +4 -4
  88. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.css +25 -25
  89. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.css +4 -4
  90. package/dist/collection/components/pds-table/pds-table.css +3 -3
  91. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.css +48 -43
  92. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.css +2 -2
  93. package/dist/collection/components/pds-tabs/pds-tabs.css +11 -11
  94. package/dist/collection/components/pds-textarea/pds-textarea.css +46 -47
  95. package/dist/collection/components/pds-tooltip/pds-tooltip.css +67 -67
  96. package/dist/docs.json +7 -7
  97. package/{components/index2.js → dist/esm/index-c6934caf.js} +3 -2
  98. package/dist/esm/index-c6934caf.js.map +1 -0
  99. package/dist/esm/loader.js +1 -1
  100. package/dist/esm/pds-accordion.entry.js +2 -2
  101. package/dist/esm/pds-accordion.entry.js.map +1 -1
  102. package/dist/esm/pds-avatar.entry.js +2 -2
  103. package/dist/esm/pds-avatar.entry.js.map +1 -1
  104. package/dist/esm/pds-box.entry.js +3 -3
  105. package/dist/esm/pds-box.entry.js.map +1 -1
  106. package/dist/esm/pds-button.entry.js +2 -2
  107. package/dist/esm/pds-button.entry.js.map +1 -1
  108. package/dist/esm/pds-checkbox_2.entry.js +2 -2
  109. package/dist/esm/pds-checkbox_2.entry.js.map +1 -1
  110. package/dist/esm/pds-chip.entry.js +2 -2
  111. package/dist/esm/pds-chip.entry.js.map +1 -1
  112. package/dist/esm/pds-copytext.entry.js +4 -18
  113. package/dist/esm/pds-copytext.entry.js.map +1 -1
  114. package/dist/esm/pds-divider.entry.js +1 -1
  115. package/dist/esm/pds-divider.entry.js.map +1 -1
  116. package/dist/esm/pds-image.entry.js +1 -1
  117. package/dist/esm/pds-image.entry.js.map +1 -1
  118. package/dist/esm/pds-input.entry.js +1 -1
  119. package/dist/esm/pds-input.entry.js.map +1 -1
  120. package/dist/esm/pds-link.entry.js +2 -2
  121. package/dist/esm/pds-link.entry.js.map +1 -1
  122. package/dist/esm/pds-progress.entry.js +2 -2
  123. package/dist/esm/pds-progress.entry.js.map +1 -1
  124. package/dist/esm/pds-radio.entry.js +1 -1
  125. package/dist/esm/pds-radio.entry.js.map +1 -1
  126. package/dist/esm/pds-sortable-item.entry.js +14 -4
  127. package/dist/esm/pds-sortable-item.entry.js.map +1 -1
  128. package/dist/esm/pds-sortable.entry.js +3 -3
  129. package/dist/esm/pds-sortable.entry.js.map +1 -1
  130. package/dist/esm/pds-switch.entry.js +1 -1
  131. package/dist/esm/pds-switch.entry.js.map +1 -1
  132. package/dist/esm/pds-tab.entry.js +1 -1
  133. package/dist/esm/pds-tab.entry.js.map +1 -1
  134. package/dist/esm/pds-table-head-cell.entry.js +2 -2
  135. package/dist/esm/pds-table-head-cell.entry.js.map +1 -1
  136. package/dist/esm/pds-table-head.entry.js +1 -1
  137. package/dist/esm/pds-table-head.entry.js.map +1 -1
  138. package/dist/esm/pds-table-row.entry.js +1 -1
  139. package/dist/esm/pds-table-row.entry.js.map +1 -1
  140. package/dist/esm/pds-table.entry.js +1 -1
  141. package/dist/esm/pds-table.entry.js.map +1 -1
  142. package/dist/esm/pds-tabpanel.entry.js +1 -1
  143. package/dist/esm/pds-tabpanel.entry.js.map +1 -1
  144. package/dist/esm/pds-tabs.entry.js +1 -1
  145. package/dist/esm/pds-tabs.entry.js.map +1 -1
  146. package/dist/esm/pds-textarea.entry.js +1 -1
  147. package/dist/esm/pds-textarea.entry.js.map +1 -1
  148. package/dist/esm/pds-tooltip.entry.js +1 -1
  149. package/dist/esm/pds-tooltip.entry.js.map +1 -1
  150. package/dist/esm/pine-core.js +1 -1
  151. package/dist/esm-es5/index-c6934caf.js +2 -0
  152. package/dist/esm-es5/index-c6934caf.js.map +1 -0
  153. package/dist/esm-es5/loader.js +1 -1
  154. package/dist/esm-es5/loader.js.map +1 -1
  155. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  156. package/dist/esm-es5/pds-accordion.entry.js.map +1 -1
  157. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  158. package/dist/esm-es5/pds-avatar.entry.js.map +1 -1
  159. package/dist/esm-es5/pds-box.entry.js +1 -1
  160. package/dist/esm-es5/pds-box.entry.js.map +1 -1
  161. package/dist/esm-es5/pds-button.entry.js +1 -1
  162. package/dist/esm-es5/pds-button.entry.js.map +1 -1
  163. package/dist/esm-es5/pds-checkbox_2.entry.js +1 -1
  164. package/dist/esm-es5/pds-checkbox_2.entry.js.map +1 -1
  165. package/dist/esm-es5/pds-chip.entry.js +1 -1
  166. package/dist/esm-es5/pds-chip.entry.js.map +1 -1
  167. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  168. package/dist/esm-es5/pds-copytext.entry.js.map +1 -1
  169. package/dist/esm-es5/pds-divider.entry.js +1 -1
  170. package/dist/esm-es5/pds-divider.entry.js.map +1 -1
  171. package/dist/esm-es5/pds-image.entry.js +1 -1
  172. package/dist/esm-es5/pds-image.entry.js.map +1 -1
  173. package/dist/esm-es5/pds-input.entry.js +1 -1
  174. package/dist/esm-es5/pds-input.entry.js.map +1 -1
  175. package/dist/esm-es5/pds-link.entry.js +1 -1
  176. package/dist/esm-es5/pds-link.entry.js.map +1 -1
  177. package/dist/esm-es5/pds-progress.entry.js +1 -1
  178. package/dist/esm-es5/pds-progress.entry.js.map +1 -1
  179. package/dist/esm-es5/pds-radio.entry.js +1 -1
  180. package/dist/esm-es5/pds-radio.entry.js.map +1 -1
  181. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  182. package/dist/esm-es5/pds-sortable-item.entry.js.map +1 -1
  183. package/dist/esm-es5/pds-sortable.entry.js +1 -1
  184. package/dist/esm-es5/pds-sortable.entry.js.map +1 -1
  185. package/dist/esm-es5/pds-switch.entry.js +1 -1
  186. package/dist/esm-es5/pds-switch.entry.js.map +1 -1
  187. package/dist/esm-es5/pds-tab.entry.js +1 -1
  188. package/dist/esm-es5/pds-tab.entry.js.map +1 -1
  189. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  190. package/dist/esm-es5/pds-table-head-cell.entry.js.map +1 -1
  191. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  192. package/dist/esm-es5/pds-table-head.entry.js.map +1 -1
  193. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  194. package/dist/esm-es5/pds-table-row.entry.js.map +1 -1
  195. package/dist/esm-es5/pds-table.entry.js +1 -1
  196. package/dist/esm-es5/pds-table.entry.js.map +1 -1
  197. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  198. package/dist/esm-es5/pds-tabpanel.entry.js.map +1 -1
  199. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  200. package/dist/esm-es5/pds-tabs.entry.js.map +1 -1
  201. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  202. package/dist/esm-es5/pds-textarea.entry.js.map +1 -1
  203. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  204. package/dist/esm-es5/pds-tooltip.entry.js.map +1 -1
  205. package/dist/esm-es5/pine-core.js +1 -1
  206. package/dist/esm-es5/pine-core.js.map +1 -1
  207. package/dist/pine-core/p-0a1e2528.system.entry.js +2 -0
  208. package/dist/pine-core/p-0a1e2528.system.entry.js.map +1 -0
  209. package/dist/pine-core/p-0a636312.system.entry.js +2 -0
  210. package/dist/pine-core/p-0a636312.system.entry.js.map +1 -0
  211. package/dist/pine-core/p-0eb4e674.entry.js +2 -0
  212. package/dist/pine-core/p-0eb4e674.entry.js.map +1 -0
  213. package/dist/pine-core/p-16e9d55b.entry.js +2 -0
  214. package/dist/pine-core/p-16e9d55b.entry.js.map +1 -0
  215. package/dist/pine-core/p-173f8d39.entry.js +2 -0
  216. package/dist/pine-core/p-173f8d39.entry.js.map +1 -0
  217. package/dist/pine-core/p-209bc3fd.entry.js +2 -0
  218. package/dist/pine-core/p-209bc3fd.entry.js.map +1 -0
  219. package/dist/pine-core/p-2e19ec3d.system.entry.js +2 -0
  220. package/dist/pine-core/p-2e19ec3d.system.entry.js.map +1 -0
  221. package/dist/pine-core/p-2eacced7.system.entry.js +2 -0
  222. package/dist/pine-core/p-2eacced7.system.entry.js.map +1 -0
  223. package/dist/pine-core/p-2fe87b9d.entry.js +2 -0
  224. package/dist/pine-core/p-2fe87b9d.entry.js.map +1 -0
  225. package/dist/pine-core/p-327e1afa.system.entry.js +2 -0
  226. package/dist/pine-core/p-327e1afa.system.entry.js.map +1 -0
  227. package/dist/pine-core/p-380e465b.entry.js +2 -0
  228. package/dist/pine-core/p-380e465b.entry.js.map +1 -0
  229. package/dist/pine-core/p-403a20e8.js +2 -0
  230. package/dist/pine-core/p-403a20e8.js.map +1 -0
  231. package/dist/pine-core/p-43783da1.system.entry.js +2 -0
  232. package/dist/pine-core/p-43783da1.system.entry.js.map +1 -0
  233. package/dist/pine-core/p-478689a0.system.entry.js +2 -0
  234. package/dist/pine-core/p-478689a0.system.entry.js.map +1 -0
  235. package/dist/pine-core/p-4f7ee11c.entry.js +2 -0
  236. package/dist/pine-core/p-4f7ee11c.entry.js.map +1 -0
  237. package/dist/pine-core/{p-6f2f7e92.entry.js → p-5073b1c0.entry.js} +2 -2
  238. package/dist/pine-core/{p-6f2f7e92.entry.js.map → p-5073b1c0.entry.js.map} +1 -1
  239. package/dist/pine-core/p-51f81513.entry.js +2 -0
  240. package/dist/pine-core/p-51f81513.entry.js.map +1 -0
  241. package/dist/pine-core/p-5df59e63.system.entry.js +2 -0
  242. package/dist/pine-core/p-5df59e63.system.entry.js.map +1 -0
  243. package/dist/pine-core/p-5f2b3f57.entry.js +2 -0
  244. package/dist/pine-core/p-5f2b3f57.entry.js.map +1 -0
  245. package/dist/pine-core/p-61ab207f.entry.js +2 -0
  246. package/dist/pine-core/p-61ab207f.entry.js.map +1 -0
  247. package/dist/pine-core/p-6370aa12.system.entry.js +2 -0
  248. package/dist/pine-core/p-6370aa12.system.entry.js.map +1 -0
  249. package/dist/pine-core/p-674edd62.system.js +2 -0
  250. package/dist/pine-core/p-674edd62.system.js.map +1 -0
  251. package/dist/pine-core/p-6aa28287.system.entry.js +2 -0
  252. package/dist/pine-core/p-6aa28287.system.entry.js.map +1 -0
  253. package/dist/pine-core/p-6e315022.entry.js +2 -0
  254. package/dist/pine-core/p-6e315022.entry.js.map +1 -0
  255. package/dist/pine-core/p-70481699.entry.js +2 -0
  256. package/dist/pine-core/p-70481699.entry.js.map +1 -0
  257. package/dist/pine-core/p-7546babc.entry.js +2 -0
  258. package/dist/pine-core/p-7546babc.entry.js.map +1 -0
  259. package/dist/pine-core/p-75951ef3.system.entry.js +2 -0
  260. package/dist/pine-core/p-75951ef3.system.entry.js.map +1 -0
  261. package/dist/pine-core/p-75c441ef.system.entry.js +2 -0
  262. package/dist/pine-core/p-75c441ef.system.entry.js.map +1 -0
  263. package/dist/pine-core/p-7611d073.system.js +1 -1
  264. package/dist/pine-core/p-7611d073.system.js.map +1 -1
  265. package/dist/pine-core/p-7f917c20.entry.js +2 -0
  266. package/dist/pine-core/p-7f917c20.entry.js.map +1 -0
  267. package/dist/pine-core/p-809648ee.entry.js +2 -0
  268. package/dist/pine-core/p-809648ee.entry.js.map +1 -0
  269. package/dist/pine-core/p-87c2ac18.entry.js +2 -0
  270. package/dist/pine-core/p-87c2ac18.entry.js.map +1 -0
  271. package/dist/pine-core/p-8c5e76d4.system.entry.js +2 -0
  272. package/dist/pine-core/p-8c5e76d4.system.entry.js.map +1 -0
  273. package/dist/pine-core/p-9a129745.entry.js +2 -0
  274. package/dist/pine-core/p-9a129745.entry.js.map +1 -0
  275. package/dist/pine-core/{p-29f5dffb.system.entry.js → p-9e33f4fb.system.entry.js} +2 -2
  276. package/dist/pine-core/{p-29f5dffb.system.entry.js.map → p-9e33f4fb.system.entry.js.map} +1 -1
  277. package/dist/pine-core/p-9f8a1aa6.entry.js +2 -0
  278. package/dist/pine-core/p-9f8a1aa6.entry.js.map +1 -0
  279. package/dist/pine-core/p-ad891586.system.entry.js +2 -0
  280. package/dist/pine-core/p-ad891586.system.entry.js.map +1 -0
  281. package/dist/pine-core/p-b103a7a9.entry.js +2 -0
  282. package/dist/pine-core/p-b103a7a9.entry.js.map +1 -0
  283. package/dist/pine-core/p-bbaaa246.system.entry.js +2 -0
  284. package/dist/pine-core/p-bbaaa246.system.entry.js.map +1 -0
  285. package/dist/pine-core/p-bc1cb8e2.entry.js +2 -0
  286. package/dist/pine-core/{p-de8abfde.system.entry.js.map → p-bc1cb8e2.entry.js.map} +1 -1
  287. package/dist/pine-core/p-bc4bbda0.entry.js +2 -0
  288. package/dist/pine-core/p-bc4bbda0.entry.js.map +1 -0
  289. package/dist/pine-core/p-bd5135c3.entry.js +2 -0
  290. package/dist/pine-core/p-bd5135c3.entry.js.map +1 -0
  291. package/dist/pine-core/p-c3de3fb3.system.entry.js +2 -0
  292. package/dist/pine-core/p-c3de3fb3.system.entry.js.map +1 -0
  293. package/dist/pine-core/p-c721d912.system.entry.js +2 -0
  294. package/dist/pine-core/p-c721d912.system.entry.js.map +1 -0
  295. package/dist/pine-core/p-cfb22651.system.entry.js +2 -0
  296. package/dist/pine-core/p-cfb22651.system.entry.js.map +1 -0
  297. package/dist/pine-core/p-d0828f12.entry.js +2 -0
  298. package/dist/pine-core/p-d0828f12.entry.js.map +1 -0
  299. package/dist/pine-core/p-dacd68cf.system.entry.js +2 -0
  300. package/dist/pine-core/p-dacd68cf.system.entry.js.map +1 -0
  301. package/dist/pine-core/p-de79befb.system.entry.js +2 -0
  302. package/dist/pine-core/p-de79befb.system.entry.js.map +1 -0
  303. package/dist/pine-core/p-e3455d30.system.entry.js +2 -0
  304. package/dist/pine-core/p-e3455d30.system.entry.js.map +1 -0
  305. package/dist/pine-core/p-ec56491f.system.entry.js +2 -0
  306. package/dist/pine-core/p-ec56491f.system.entry.js.map +1 -0
  307. package/dist/pine-core/p-ecbf0b15.system.entry.js +2 -0
  308. package/dist/pine-core/p-ecbf0b15.system.entry.js.map +1 -0
  309. package/dist/pine-core/p-f12c58dc.system.entry.js +2 -0
  310. package/dist/pine-core/p-f12c58dc.system.entry.js.map +1 -0
  311. package/dist/pine-core/p-ff9044ed.entry.js +2 -0
  312. package/dist/pine-core/p-ff9044ed.entry.js.map +1 -0
  313. package/dist/pine-core/pine-core.css +1 -1
  314. package/dist/pine-core/pine-core.esm.js +1 -1
  315. package/dist/pine-core/pine-core.esm.js.map +1 -1
  316. package/dist/types/components/pds-progress/pds-progress.d.ts +1 -1
  317. package/dist/types/components/pds-sortable/pds-sortable-item/pds-sortable-item.d.ts +4 -1
  318. package/dist/types/components/pds-sortable/sortable-interface.d.ts +7 -0
  319. package/dist/types/components.d.ts +4 -4
  320. package/package.json +2 -2
  321. package/components/custom-elements.d.ts +0 -2
  322. package/components/index.d.ts +0 -92
  323. package/components/index.js +0 -32
  324. package/components/index.js.map +0 -1
  325. package/components/index2.js.map +0 -1
  326. package/components/package.json +0 -9
  327. package/components/pds-accordion.d.ts +0 -11
  328. package/components/pds-accordion.js +0 -74
  329. package/components/pds-accordion.js.map +0 -1
  330. package/components/pds-avatar.d.ts +0 -11
  331. package/components/pds-avatar.js +0 -103
  332. package/components/pds-avatar.js.map +0 -1
  333. package/components/pds-box.d.ts +0 -11
  334. package/components/pds-box.js +0 -124
  335. package/components/pds-box.js.map +0 -1
  336. package/components/pds-button.d.ts +0 -11
  337. package/components/pds-button.js +0 -8
  338. package/components/pds-button.js.map +0 -1
  339. package/components/pds-button2.js +0 -84
  340. package/components/pds-button2.js.map +0 -1
  341. package/components/pds-checkbox.d.ts +0 -11
  342. package/components/pds-checkbox.js +0 -8
  343. package/components/pds-checkbox.js.map +0 -1
  344. package/components/pds-checkbox2.js +0 -86
  345. package/components/pds-checkbox2.js.map +0 -1
  346. package/components/pds-chip.d.ts +0 -11
  347. package/components/pds-chip.js +0 -78
  348. package/components/pds-chip.js.map +0 -1
  349. package/components/pds-copytext.d.ts +0 -11
  350. package/components/pds-copytext.js +0 -102
  351. package/components/pds-copytext.js.map +0 -1
  352. package/components/pds-divider.d.ts +0 -11
  353. package/components/pds-divider.js +0 -54
  354. package/components/pds-divider.js.map +0 -1
  355. package/components/pds-icon.js +0 -8
  356. package/components/pds-icon.js.map +0 -1
  357. package/components/pds-icon2.js +0 -359
  358. package/components/pds-icon2.js.map +0 -1
  359. package/components/pds-image.d.ts +0 -11
  360. package/components/pds-image.js +0 -55
  361. package/components/pds-image.js.map +0 -1
  362. package/components/pds-input.d.ts +0 -11
  363. package/components/pds-input.js +0 -72
  364. package/components/pds-input.js.map +0 -1
  365. package/components/pds-label.js +0 -39
  366. package/components/pds-label.js.map +0 -1
  367. package/components/pds-link.d.ts +0 -11
  368. package/components/pds-link.js +0 -65
  369. package/components/pds-link.js.map +0 -1
  370. package/components/pds-progress.d.ts +0 -11
  371. package/components/pds-progress.js +0 -49
  372. package/components/pds-progress.js.map +0 -1
  373. package/components/pds-radio.d.ts +0 -11
  374. package/components/pds-radio.js +0 -78
  375. package/components/pds-radio.js.map +0 -1
  376. package/components/pds-row.d.ts +0 -11
  377. package/components/pds-row.js +0 -72
  378. package/components/pds-row.js.map +0 -1
  379. package/components/pds-sortable-item.d.ts +0 -11
  380. package/components/pds-sortable-item.js +0 -48
  381. package/components/pds-sortable-item.js.map +0 -1
  382. package/components/pds-sortable.d.ts +0 -11
  383. package/components/pds-sortable.js +0 -2722
  384. package/components/pds-sortable.js.map +0 -1
  385. package/components/pds-switch.d.ts +0 -11
  386. package/components/pds-switch.js +0 -82
  387. package/components/pds-switch.js.map +0 -1
  388. package/components/pds-tab.d.ts +0 -11
  389. package/components/pds-tab.js +0 -53
  390. package/components/pds-tab.js.map +0 -1
  391. package/components/pds-table-body.d.ts +0 -11
  392. package/components/pds-table-body.js +0 -36
  393. package/components/pds-table-body.js.map +0 -1
  394. package/components/pds-table-cell.d.ts +0 -11
  395. package/components/pds-table-cell.js +0 -8
  396. package/components/pds-table-cell.js.map +0 -1
  397. package/components/pds-table-cell2.js +0 -72
  398. package/components/pds-table-cell2.js.map +0 -1
  399. package/components/pds-table-head-cell.d.ts +0 -11
  400. package/components/pds-table-head-cell.js +0 -8
  401. package/components/pds-table-head-cell.js.map +0 -1
  402. package/components/pds-table-head-cell2.js +0 -96
  403. package/components/pds-table-head-cell2.js.map +0 -1
  404. package/components/pds-table-head.d.ts +0 -11
  405. package/components/pds-table-head.js +0 -56
  406. package/components/pds-table-head.js.map +0 -1
  407. package/components/pds-table-row.d.ts +0 -11
  408. package/components/pds-table-row.js +0 -78
  409. package/components/pds-table-row.js.map +0 -1
  410. package/components/pds-table.d.ts +0 -11
  411. package/components/pds-table.js +0 -100
  412. package/components/pds-table.js.map +0 -1
  413. package/components/pds-tabpanel.d.ts +0 -11
  414. package/components/pds-tabpanel.js +0 -45
  415. package/components/pds-tabpanel.js.map +0 -1
  416. package/components/pds-tabs.d.ts +0 -11
  417. package/components/pds-tabs.js +0 -119
  418. package/components/pds-tabs.js.map +0 -1
  419. package/components/pds-textarea.d.ts +0 -11
  420. package/components/pds-textarea.js +0 -82
  421. package/components/pds-textarea.js.map +0 -1
  422. package/components/pds-tooltip.d.ts +0 -11
  423. package/components/pds-tooltip.js +0 -178
  424. package/components/pds-tooltip.js.map +0 -1
  425. package/dist/cjs/index-49f8049e.js.map +0 -1
  426. package/dist/esm/index-64c90183.js +0 -13
  427. package/dist/esm/index-64c90183.js.map +0 -1
  428. package/dist/esm-es5/index-64c90183.js +0 -2
  429. package/dist/esm-es5/index-64c90183.js.map +0 -1
  430. package/dist/pine-core/p-0afcc785.system.entry.js +0 -2
  431. package/dist/pine-core/p-0afcc785.system.entry.js.map +0 -1
  432. package/dist/pine-core/p-1400b1f0.system.entry.js +0 -2
  433. package/dist/pine-core/p-1400b1f0.system.entry.js.map +0 -1
  434. package/dist/pine-core/p-18abb120.entry.js +0 -2
  435. package/dist/pine-core/p-18abb120.entry.js.map +0 -1
  436. package/dist/pine-core/p-19f02715.system.entry.js +0 -2
  437. package/dist/pine-core/p-19f02715.system.entry.js.map +0 -1
  438. package/dist/pine-core/p-1b7c9a32.entry.js +0 -2
  439. package/dist/pine-core/p-1b7c9a32.entry.js.map +0 -1
  440. package/dist/pine-core/p-1e334408.system.entry.js +0 -2
  441. package/dist/pine-core/p-1e334408.system.entry.js.map +0 -1
  442. package/dist/pine-core/p-2052f3aa.system.entry.js +0 -2
  443. package/dist/pine-core/p-2052f3aa.system.entry.js.map +0 -1
  444. package/dist/pine-core/p-237f0b79.entry.js +0 -2
  445. package/dist/pine-core/p-237f0b79.entry.js.map +0 -1
  446. package/dist/pine-core/p-25284941.system.entry.js +0 -2
  447. package/dist/pine-core/p-25284941.system.entry.js.map +0 -1
  448. package/dist/pine-core/p-26477108.entry.js +0 -2
  449. package/dist/pine-core/p-26477108.entry.js.map +0 -1
  450. package/dist/pine-core/p-2a609e04.entry.js +0 -2
  451. package/dist/pine-core/p-2a609e04.entry.js.map +0 -1
  452. package/dist/pine-core/p-2c89ac70.system.entry.js +0 -2
  453. package/dist/pine-core/p-2c89ac70.system.entry.js.map +0 -1
  454. package/dist/pine-core/p-2fbe7bd7.system.entry.js +0 -2
  455. package/dist/pine-core/p-2fbe7bd7.system.entry.js.map +0 -1
  456. package/dist/pine-core/p-35a4815c.system.entry.js +0 -2
  457. package/dist/pine-core/p-35a4815c.system.entry.js.map +0 -1
  458. package/dist/pine-core/p-35d540e7.entry.js +0 -2
  459. package/dist/pine-core/p-35d540e7.entry.js.map +0 -1
  460. package/dist/pine-core/p-52c4ebbb.system.js +0 -2
  461. package/dist/pine-core/p-52c4ebbb.system.js.map +0 -1
  462. package/dist/pine-core/p-57e352da.entry.js +0 -2
  463. package/dist/pine-core/p-57e352da.entry.js.map +0 -1
  464. package/dist/pine-core/p-5966e442.entry.js +0 -2
  465. package/dist/pine-core/p-5966e442.entry.js.map +0 -1
  466. package/dist/pine-core/p-61ba006d.entry.js +0 -2
  467. package/dist/pine-core/p-61ba006d.entry.js.map +0 -1
  468. package/dist/pine-core/p-6a8d8d12.entry.js +0 -2
  469. package/dist/pine-core/p-6a8d8d12.entry.js.map +0 -1
  470. package/dist/pine-core/p-6b742f8e.system.entry.js +0 -2
  471. package/dist/pine-core/p-6b742f8e.system.entry.js.map +0 -1
  472. package/dist/pine-core/p-70860aa6.entry.js +0 -2
  473. package/dist/pine-core/p-70860aa6.entry.js.map +0 -1
  474. package/dist/pine-core/p-7293fa0b.system.entry.js +0 -2
  475. package/dist/pine-core/p-7293fa0b.system.entry.js.map +0 -1
  476. package/dist/pine-core/p-72fd05db.system.entry.js +0 -2
  477. package/dist/pine-core/p-72fd05db.system.entry.js.map +0 -1
  478. package/dist/pine-core/p-7543ee35.system.entry.js +0 -2
  479. package/dist/pine-core/p-7543ee35.system.entry.js.map +0 -1
  480. package/dist/pine-core/p-794322e8.system.entry.js +0 -2
  481. package/dist/pine-core/p-794322e8.system.entry.js.map +0 -1
  482. package/dist/pine-core/p-7fc3e294.entry.js +0 -2
  483. package/dist/pine-core/p-7fc3e294.entry.js.map +0 -1
  484. package/dist/pine-core/p-8196f142.entry.js +0 -2
  485. package/dist/pine-core/p-8196f142.entry.js.map +0 -1
  486. package/dist/pine-core/p-88a72515.js +0 -2
  487. package/dist/pine-core/p-88a72515.js.map +0 -1
  488. package/dist/pine-core/p-8b45381c.entry.js +0 -2
  489. package/dist/pine-core/p-8b45381c.entry.js.map +0 -1
  490. package/dist/pine-core/p-93859623.entry.js +0 -2
  491. package/dist/pine-core/p-93859623.entry.js.map +0 -1
  492. package/dist/pine-core/p-94688fce.system.entry.js +0 -2
  493. package/dist/pine-core/p-94688fce.system.entry.js.map +0 -1
  494. package/dist/pine-core/p-95bb614b.system.entry.js +0 -2
  495. package/dist/pine-core/p-95bb614b.system.entry.js.map +0 -1
  496. package/dist/pine-core/p-a0733832.entry.js +0 -2
  497. package/dist/pine-core/p-a0733832.entry.js.map +0 -1
  498. package/dist/pine-core/p-a6cc48e5.system.entry.js +0 -2
  499. package/dist/pine-core/p-a6cc48e5.system.entry.js.map +0 -1
  500. package/dist/pine-core/p-a913d9f3.entry.js +0 -2
  501. package/dist/pine-core/p-a913d9f3.entry.js.map +0 -1
  502. package/dist/pine-core/p-afef45f9.system.entry.js +0 -2
  503. package/dist/pine-core/p-afef45f9.system.entry.js.map +0 -1
  504. package/dist/pine-core/p-b5582d9f.entry.js +0 -2
  505. package/dist/pine-core/p-b5582d9f.entry.js.map +0 -1
  506. package/dist/pine-core/p-c3440b2d.entry.js +0 -2
  507. package/dist/pine-core/p-c3440b2d.entry.js.map +0 -1
  508. package/dist/pine-core/p-c3a29f5e.system.entry.js +0 -2
  509. package/dist/pine-core/p-c3a29f5e.system.entry.js.map +0 -1
  510. package/dist/pine-core/p-d074b0db.system.entry.js +0 -2
  511. package/dist/pine-core/p-d074b0db.system.entry.js.map +0 -1
  512. package/dist/pine-core/p-d479e9d1.entry.js +0 -2
  513. package/dist/pine-core/p-d479e9d1.entry.js.map +0 -1
  514. package/dist/pine-core/p-d53f0284.system.entry.js +0 -2
  515. package/dist/pine-core/p-d53f0284.system.entry.js.map +0 -1
  516. package/dist/pine-core/p-d54e620f.system.entry.js +0 -2
  517. package/dist/pine-core/p-d54e620f.system.entry.js.map +0 -1
  518. package/dist/pine-core/p-d5628be9.entry.js +0 -2
  519. package/dist/pine-core/p-d5628be9.entry.js.map +0 -1
  520. package/dist/pine-core/p-de8abfde.system.entry.js +0 -2
  521. package/dist/pine-core/p-df08eb9e.entry.js +0 -2
  522. package/dist/pine-core/p-df08eb9e.entry.js.map +0 -1
  523. package/dist/pine-core/p-e200c428.entry.js +0 -2
  524. package/dist/pine-core/p-e200c428.entry.js.map +0 -1
  525. package/dist/pine-core/p-ea2edef4.entry.js +0 -2
  526. package/dist/pine-core/p-ea2edef4.entry.js.map +0 -1
  527. package/dist/pine-core/p-f8c53e6f.system.entry.js +0 -2
  528. package/dist/pine-core/p-f8c53e6f.system.entry.js.map +0 -1
  529. package/hydrate/index.d.ts +0 -218
  530. package/hydrate/index.js +0 -13124
  531. package/hydrate/package.json +0 -6
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface PdsLink extends Components.PdsLink, HTMLElement {}
4
- export const PdsLink: {
5
- prototype: PdsLink;
6
- new (): PdsLink;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,65 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
- import { l as launch } from './index2.js';
3
- import { d as defineCustomElement$2 } from './pds-icon2.js';
4
-
5
- const pdsLinkCss = ":host{--border-radius:var(--pine-border-radius-sm);--box-shadow-focus:inset 0 0 0 2px var(--pine-color-primary-200);--color:var(--pine-color-neutral-charcoal-400);--font-size:var(--pine-font-size-body);--font-size-sm:var(--pine-font-size-body-sm);--font-size-xs:var(--pine-font-size-body-xs);--font-weight:var(--pine-font-weight-medium);--margin-inline-start:var(--pine-spacing-xxs);--outline:4px solid var(--pine-color-primary-200);--svg-lg:15px;--svg-md:13px;--svg-sm:11px;display:inline}:host pds-icon{-webkit-margin-start:var(--margin-inline-start);margin-inline-start:var(--margin-inline-start)}.pds-link{-ms-flex-align:center;align-items:center;color:var(--color);display:-ms-inline-flexbox;display:inline-flex;font-weight:inherit}.pds-link:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}.pds-link--sm{font-size:var(--font-size-xs)}.pds-link--sm pds-icon{height:var(--svg-sm);width:var(--svg-sm)}.pds-link--md{font-size:var(--font-size-sm)}.pds-link--md pds-icon{height:var(--svg-md);width:var(--svg-md)}.pds-link--lg{font-size:var(--font-size)}.pds-link--lg pds-icon{height:var(--svg-lg);width:var(--svg-lg)}.pds-link--plain{font-weight:var(--font-weight);text-decoration:none}.pds-link--plain:hover{text-decoration:underline}.pds-link--default{text-decoration:underline}.pds-link--default:hover{text-decoration:none}";
6
- const PdsLinkStyle0 = pdsLinkCss;
7
-
8
- const PdsLink$1 = /*@__PURE__*/ proxyCustomElement(class PdsLink extends HTMLElement {
9
- constructor() {
10
- super();
11
- this.__registerHost();
12
- this.__attachShadow();
13
- this.componentId = undefined;
14
- this.external = false;
15
- this.variant = 'inline';
16
- this.fontSize = 'lg';
17
- this.href = undefined;
18
- }
19
- classNames() {
20
- const classNames = ['pds-link'];
21
- if (this.fontSize) {
22
- classNames.push('pds-link--' + this.fontSize);
23
- }
24
- if (this.variant) {
25
- classNames.push('pds-link--' + this.variant);
26
- }
27
- return classNames.join(' ');
28
- }
29
- render() {
30
- return (h("a", { key: 'de51c27a4c7e3ab6f105f40b683f7c8d1561049c', class: this.classNames(), href: this.href, id: this.componentId, target: this.external ? '_blank' : undefined, part: "link" }, h("slot", { key: '3c4fbcff6544a604d81dd4388a504a902d6ee130' }, this.href), this.external &&
31
- h("pds-icon", { key: 'fd1acc513efd16134c062ad3845d44be20a911cf', icon: launch, size: this.fontSize })));
32
- }
33
- static get style() { return PdsLinkStyle0; }
34
- }, [1, "pds-link", {
35
- "componentId": [1, "component-id"],
36
- "external": [4],
37
- "variant": [1],
38
- "fontSize": [1, "font-size"],
39
- "href": [1]
40
- }]);
41
- function defineCustomElement$1() {
42
- if (typeof customElements === "undefined") {
43
- return;
44
- }
45
- const components = ["pds-link", "pds-icon"];
46
- components.forEach(tagName => { switch (tagName) {
47
- case "pds-link":
48
- if (!customElements.get(tagName)) {
49
- customElements.define(tagName, PdsLink$1);
50
- }
51
- break;
52
- case "pds-icon":
53
- if (!customElements.get(tagName)) {
54
- defineCustomElement$2();
55
- }
56
- break;
57
- } });
58
- }
59
-
60
- const PdsLink = PdsLink$1;
61
- const defineCustomElement = defineCustomElement$1;
62
-
63
- export { PdsLink, defineCustomElement };
64
-
65
- //# sourceMappingURL=pds-link.js.map
@@ -1 +0,0 @@
1
- {"file":"pds-link.js","mappings":";;;;AAAA,MAAM,UAAU,GAAG,w2CAAw2C,CAAC;AAC53C,sBAAe,UAAU;;MCYZA,SAAO;;;;;;wBAUC,KAAK;uBAMc,QAAQ;wBAUP,IAAI;;;IAOnC,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,UAAU,CAAC,CAAC;QAEhC,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC/C;QAED,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;SAC9C;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAC7B;IAED,MAAM;QAEJ,QACE,0DACE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EACxB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,MAAM,EAAE,IAAI,CAAC,QAAQ,GAAG,QAAQ,GAAG,SAAS,EAC5C,IAAI,EAAC,MAAM,IAEX,+DAAO,IAAI,CAAC,IAAI,CAAQ,EACvB,IAAI,CAAC,QAAQ;YACZ,iEAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAa,CAExD,EACJ;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsLink"],"sources":["src/components/pds-link/pds-link.scss?tag=pds-link&encapsulation=shadow","src/components/pds-link/pds-link.tsx"],"sourcesContent":[":host {\n\n --border-radius: var(--pine-border-radius-sm);\n --box-shadow-focus: inset 0 0 0 2px var(--pine-color-primary-200);\n --color: var(--pine-color-neutral-charcoal-400);\n --font-size: var(--pine-font-size-body);\n --font-size-sm: var(--pine-font-size-body-sm);\n --font-size-xs: var(--pine-font-size-body-xs);\n --font-weight: var(--pine-font-weight-medium);\n --margin-inline-start: var(--pine-spacing-xxs);\n --outline: 4px solid var(--pine-color-primary-200);\n --svg-lg: 15px;\n --svg-md: 13px;\n --svg-sm: 11px;\n\n display: inline;\n\n pds-icon {\n margin-inline-start: var(--margin-inline-start);\n }\n}\n\n.pds-link {\n align-items: center;\n color: var(--color);\n display: inline-flex;\n font-weight: inherit;\n\n &:focus-visible {\n // outline: var(--pine-border-focus); Border radius for outline does not work in Safari\n box-shadow: var(--box-shadow-focus); // Remove when outline radius is supported in Safari\n outline: none;\n }\n}\n\n// We have a small consensus stating that\n// fonts will be REMs, box-model will be\n// discussed later px or (r)em's\n.pds-link--sm {\n font-size: var(--font-size-xs);\n\n pds-icon {\n height: var(--svg-sm);\n width: var(--svg-sm);\n }\n}\n\n.pds-link--md {\n font-size: var(--font-size-sm);\n\n pds-icon {\n height: var(--svg-md);\n width: var(--svg-md);\n }\n}\n\n.pds-link--lg {\n font-size: var(--font-size);\n\n pds-icon {\n height: var(--svg-lg);\n width: var(--svg-lg);\n }\n}\n\n.pds-link--plain {\n font-weight: var(--font-weight);\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n }\n}\n\n// Default = inline link\n.pds-link--default {\n text-decoration: underline;\n\n &:hover {\n text-decoration: none;\n }\n}\n","import { Component, h, Prop } from '@stencil/core';\n\nimport { launch } from '@pine-ds/icons/icons';\n\n/**\n * @part link - The main link element that represents the link component.\n * @slot - Content is placed between the opening closing tags.\n */\n@Component({\n tag: 'pds-link',\n styleUrl: 'pds-link.scss',\n shadow: true,\n})\nexport class PdsLink {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * When enabled, opens link in a new tab.\n * @defaultValue false\n */\n @Prop() external = false;\n\n /**\n *\n * Modifies the look of the link\n */\n @Prop() variant: 'inline' | 'plain' = 'inline';\n\n /**\n *\n * The Font size follows t-shirt model\n * sm: 12px\n * md: 14px\n * lg: 16px\n * @defaultValue lg\n */\n @Prop() fontSize: 'sm' | 'md' | 'lg' = 'lg';\n\n /**\n * The URL that the hyperlink points to.\n */\n @Prop() href!: string;\n\n private classNames() {\n const classNames = ['pds-link'];\n\n if (this.fontSize) {\n classNames.push('pds-link--' + this.fontSize);\n }\n\n if (this.variant) {\n classNames.push('pds-link--' + this.variant);\n }\n\n return classNames.join(' ');\n }\n\n render() {\n\n return (\n <a\n class={this.classNames()}\n href={this.href}\n id={this.componentId}\n target={this.external ? '_blank' : undefined}\n part=\"link\"\n >\n <slot>{this.href}</slot>\n {this.external &&\n <pds-icon icon={launch} size={this.fontSize}></pds-icon>\n }\n </a>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface PdsProgress extends Components.PdsProgress, HTMLElement {}
4
- export const PdsProgress: {
5
- prototype: PdsProgress;
6
- new (): PdsProgress;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,49 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
-
3
- const pdsProgressCss = ":host{--progress-fill-color:var(--pine-color-primary-300);--height-progress-bar:8px;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}@-webkit-keyframes progressBar{0%{width:0}100%{width:100%}}@keyframes progressBar{0%{width:0}100%{width:100%}}.pds-progress{--background-progress-bar:var(--pine-color-neutral-grey-300);--border-radius:var(--pine-border-radius-xs);-ms-flex-align:center;align-items:center;background-color:var(--background-progress-bar);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:var(--height-progress-bar);position:relative;width:100%}:host(.is-animated) progress,:host(.is-animated) progress::-webkit-progress-bar{-webkit-animation:progressBar 3s ease;animation:progressBar 3s ease;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}progress,progress::-webkit-progress-bar{background-color:transparent;border:0;height:var(--height-progress-bar);width:100%}progress::-webkit-progress-value{--background-color:var(--pine-color-primary-300);--border-radius:var(--pine-border-radius-xs);background-color:var(--progress-fill-color, var(--background-color));border-radius:var(--border-radius)}progress::-moz-progress-bar{--background-color:var(--pine-color-primary-300);--border-radius:var(--pine-border-radius-xs);background-color:var(--progress-fill-color, var(--background-color));border-radius:var(--border-radius)}.pds-progress__label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.pds-progress__percentage{--font-size:var(--pine-font-size-body-sm);--line-height:var(--pine-line-height-sm);--font-weight:var(--pine-font-weight-medium);--margin-inline-start:var(--pine-spacing-md);font-size:var(--font-size);font-weight:var(--font-weight);line-height:var(--line-height);-webkit-margin-start:calc(var(--margin-inline-start) / 2);margin-inline-start:calc(var(--margin-inline-start) / 2)}";
4
- const PdsProgressStyle0 = pdsProgressCss;
5
-
6
- const PdsProgress$1 = /*@__PURE__*/ proxyCustomElement(class PdsProgress extends HTMLElement {
7
- constructor() {
8
- super();
9
- this.__registerHost();
10
- this.__attachShadow();
11
- this.animated = false;
12
- this.componentId = undefined;
13
- this.fillColor = undefined;
14
- this.label = undefined;
15
- this.percent = 0;
16
- this.showPercent = false;
17
- }
18
- render() {
19
- return (h(Host, { key: '5a16d15213f953628f45daf2e410f84b107a968b', class: this.animated ? { 'is-animated': this.animated } : '' }, h("div", { key: '58256b2129bba0c943cb5fab1b7b85bf82fa08e0', class: "pds-progress" }, h("label", { key: 'bc1627ed971c04219b2caa7bc592d6e5055366e2', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: 'b455230b0944ed2ba4c25d9379bca26d063dc895', id: this.componentId, max: "100", style: this.fillColor ? { '--progress-fill-color': this.fillColor } : {}, value: this.percent })), this.showPercent && h("div", { key: 'b205f0f248dc5b877e0a4af8c13535925e6ef421', class: "pds-progress__percentage" }, this.percent, "%")));
20
- }
21
- static get style() { return PdsProgressStyle0; }
22
- }, [1, "pds-progress", {
23
- "animated": [4],
24
- "componentId": [1, "component-id"],
25
- "fillColor": [1, "fill-color"],
26
- "label": [1],
27
- "percent": [2],
28
- "showPercent": [4, "show-percent"]
29
- }]);
30
- function defineCustomElement$1() {
31
- if (typeof customElements === "undefined") {
32
- return;
33
- }
34
- const components = ["pds-progress"];
35
- components.forEach(tagName => { switch (tagName) {
36
- case "pds-progress":
37
- if (!customElements.get(tagName)) {
38
- customElements.define(tagName, PdsProgress$1);
39
- }
40
- break;
41
- } });
42
- }
43
-
44
- const PdsProgress = PdsProgress$1;
45
- const defineCustomElement = defineCustomElement$1;
46
-
47
- export { PdsProgress, defineCustomElement };
48
-
49
- //# sourceMappingURL=pds-progress.js.map
@@ -1 +0,0 @@
1
- {"file":"pds-progress.js","mappings":";;AAAA,MAAM,cAAc,GAAG,u7DAAu7D,CAAC;AAC/8D,0BAAe,cAAc;;MCMhBA,aAAW;;;;;wBAKH,KAAK;;;;uBAsBN,CAAC;2BAMG,KAAK;;IAE3B,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,GAAG,EAAE,aAAa,EAAE,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,IAChE,4DAAK,KAAK,EAAC,cAAc,IACvB,8DAAO,KAAK,EAAC,qBAAqB,EAAC,OAAO,EAAE,IAAI,CAAC,WAAW,IACzD,IAAI,CAAC,KAAK,CACL,EACR,iEACE,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,GAAG,EAAC,KAAK,EACT,KAAK,EAAE,IAAI,CAAC,SAAS,GAAG,EAAE,uBAAuB,EAAE,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,EACxE,KAAK,EAAE,IAAI,CAAC,OAAO,GAEV,CACP,EACL,IAAI,CAAC,WAAW,IAAI,4DAAK,KAAK,EAAC,0BAA0B,IAAE,IAAI,CAAC,OAAO,MAAQ,CAC3E,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsProgress"],"sources":["src/components/pds-progress/pds-progress.scss?tag=pds-progress&encapsulation=shadow","src/components/pds-progress/pds-progress.tsx"],"sourcesContent":[":host {\n --progress-fill-color: var(--pine-color-primary-300);\n --height-progress-bar: 8px;\n\n align-items: center;\n display: flex;\n}\n\n@keyframes progressBar {\n 0% {\n width: 0\n }\n\n 100% {\n width: 100%\n }\n}\n\n.pds-progress {\n --background-progress-bar: var(--pine-color-neutral-grey-300);\n --border-radius: var(--pine-border-radius-xs);\n\n align-items: center;\n background-color: var(--background-progress-bar);\n border-radius: var(--border-radius);\n display: flex;\n flex-direction: row;\n height: var(--height-progress-bar);\n position: relative;\n width: 100%;\n}\n\n:host(.is-animated) progress,\n:host(.is-animated) progress::-webkit-progress-bar {\n animation: progressBar 3s ease;\n animation-fill-mode: forwards;\n}\n\nprogress,\nprogress::-webkit-progress-bar {\n background-color: transparent;\n border: 0;\n height: var(--height-progress-bar);\n width: 100%;\n}\n\nprogress::-webkit-progress-value {\n --background-color: var(--pine-color-primary-300);\n --border-radius: var(--pine-border-radius-xs);\n\n background-color: var(--progress-fill-color, var(--background-color));\n border-radius: var(--border-radius);\n}\n\nprogress::-moz-progress-bar {\n --background-color: var(--pine-color-primary-300);\n --border-radius: var(--pine-border-radius-xs);\n\n background-color: var(--progress-fill-color, var(--background-color));\n border-radius: var(--border-radius);\n}\n\n.pds-progress__label {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.pds-progress__percentage {\n --font-size: var(--pine-font-size-body-sm);\n --line-height: var(--pine-line-height-sm);\n --font-weight: var(--pine-font-weight-medium);\n --margin-inline-start: var(--pine-spacing-md);\n\n font-size: var(--font-size);\n font-weight: var(--font-weight);\n line-height: var(--line-height);\n margin-inline-start: calc(var(--margin-inline-start) / 2);\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'pds-progress',\n styleUrl: 'pds-progress.scss',\n shadow: true,\n})\nexport class PdsProgress {\n /**\n * Determines whether or not progress is animated.\n * @defaultValue false\n */\n @Prop() animated = false;\n\n /**\n * A unique identifier used for the underlying component `id` attribute and the label `for` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Sets the progress fill color. Accepts a color token or a [valid color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value).\n * @defaultValue 'var(--pds-color-primary)'\n */\n @Prop() fillColor: string;\n\n /**\n * String used for label text. Label is visually hidden but required for better accessibility.\n */\n @Prop() label!: string;\n\n /**\n * Sets the progress fill pecentage and visually displayed when `show-percentage=true`.\n * @defaultValue 0\n */\n @Prop() percent = 0;\n\n /**\n * Determines whether or not the percent value should be displayed as text.\n * @defaultValue false\n */\n @Prop() showPercent = false;\n\n render() {\n return (\n <Host class={this.animated ? { 'is-animated': this.animated } : ''}>\n <div class=\"pds-progress\">\n <label class=\"pds-progress__label\" htmlFor={this.componentId}>\n {this.label}\n </label>\n <progress\n id={this.componentId}\n max=\"100\"\n style={this.fillColor ? { '--progress-fill-color': this.fillColor } : {}}\n value={this.percent}\n >\n </progress>\n </div>\n {this.showPercent && <div class=\"pds-progress__percentage\">{this.percent}%</div>}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface PdsRadio extends Components.PdsRadio, HTMLElement {}
4
- export const PdsRadio: {
5
- prototype: PdsRadio;
6
- new (): PdsRadio;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,78 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { a as assignDescription, P as PdsLabel, m as messageId } from './pds-label.js';
3
-
4
- const pdsRadioCss = ".sc-pds-radio-h{--background-color:var(--pine-color-base-white);--background-color-hover:var(--pine-color-neutral-grey-100);--background-color-disabled:var(--pine-color-neutral-grey-200);--border:var(--pine-border-interactive);--border-color-hover:var(--pine-border-interactive-hover-color);--border-color-disabled:var(--pine-color-neutral-grey-300);--border-radius:50%;--box-shadow-focus:0 0 0 2px var(--color-focus);--box-shadow-focus-error:0 0 0 2px var(--color-invalid-focus);--color:var(--pine-color-neutral-charcoal-200);--color-checked:var(--pine-color-neutral-charcoal-500);--color-disabled:var(--pine-color-neutral-grey-500);--color-focus:var(--pine-color-primary-200);--color-invalid:var(--pine-color-red-300);--color-invalid-focus:var(--pine-color-red-200);--font-size:var(--pine-font-size-body-sm);--input-size:16px;--check-size:6px;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.is-invalid.sc-pds-radio-h input.sc-pds-radio{border-color:var(--color-invalid)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:checked{background:var(--color-invalid)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:focus-visible{-webkit-box-shadow:var(--box-shadow-focus-error);box-shadow:var(--box-shadow-focus-error);outline:none}.is-invalid.sc-pds-radio-h label.sc-pds-radio,.is-invalid.sc-pds-radio-h .pds-radio__message--error.sc-pds-radio{color:var(--color-invalid)}input.sc-pds-radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--border);border-radius:var(--border-radius);height:var(--input-size);margin:0;position:relative;width:var(--input-size)}input.sc-pds-radio:hover{background:var(--background-color-hover);border-color:var(--border-color-hover)}input.sc-pds-radio:checked{background:var(--color-checked);border-color:var(--color-checked)}input.sc-pds-radio:checked::after{background:var(--background-color);border-radius:50%;content:\"\";display:block;height:var(--check-size);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:var(--check-size)}input.sc-pds-radio:disabled{background:var(--background-color-disabled);border-color:var(--border-color-disabled);cursor:not-allowed}input.sc-pds-radio:disabled:checked{background:var(--color-disabled);border-color:var(--border-color-disabled)}input.sc-pds-radio:disabled:checked::after{border-color:var(--border-color-disabled)}input.sc-pds-radio:disabled+label.sc-pds-radio{color:var(--border-color-hover);cursor:not-allowed}input.sc-pds-radio:disabled~.pds-radio__message.sc-pds-radio{color:var(--color-disabled)}input.sc-pds-radio:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}label.sc-pds-radio{-webkit-margin-start:10px;margin-inline-start:10px}.pds-radio__message.sc-pds-radio{color:var(--color);font-size:var(--font-size);-webkit-margin-before:var(--check-size);margin-block-start:var(--check-size);-webkit-margin-start:26px;margin-inline-start:26px;width:100%}";
5
- const PdsRadioStyle0 = pdsRadioCss;
6
-
7
- const PdsRadio$1 = /*@__PURE__*/ proxyCustomElement(class PdsRadio extends HTMLElement {
8
- constructor() {
9
- super();
10
- this.__registerHost();
11
- this.pdsRadioChange = createEvent(this, "pdsRadioChange", 7);
12
- this.handleRadioChange = (e) => {
13
- if (this.disabled) {
14
- return;
15
- }
16
- const target = e.target;
17
- const isChecked = target.checked;
18
- this.pdsRadioChange.emit(isChecked);
19
- };
20
- this.checked = false;
21
- this.disabled = false;
22
- this.errorMessage = undefined;
23
- this.invalid = false;
24
- this.componentId = undefined;
25
- this.label = undefined;
26
- this.helperMessage = undefined;
27
- this.name = undefined;
28
- this.required = false;
29
- this.value = undefined;
30
- }
31
- classNames() {
32
- const classNames = [];
33
- if (this.invalid) {
34
- classNames.push('is-invalid');
35
- }
36
- if (this.disabled) {
37
- classNames.push('is-disabled');
38
- }
39
- return classNames.join(' ');
40
- }
41
- render() {
42
- return (h(Host, { key: 'e2fb2e853619e2dbcee43ba6141d6782f521a92d', class: this.classNames() }, h("input", { key: '944f31d74b9d54fad8d39ec4221bf76cb717c352', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "radio", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleRadioChange }), h(PdsLabel, { key: '4da032a55ddb9e8f92ddde9a8e5238836345ccde', htmlFor: this.componentId, text: this.label }), this.helperMessage &&
43
- h("div", { key: '529acc87ec6154e1d01877cff7f3977ed878c02b', class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
44
- h("div", { key: 'f5850864b0fa702cb129c79bee3770ea768c614d', class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage)));
45
- }
46
- static get style() { return PdsRadioStyle0; }
47
- }, [2, "pds-radio", {
48
- "checked": [4],
49
- "disabled": [4],
50
- "errorMessage": [1, "error-message"],
51
- "invalid": [4],
52
- "componentId": [1, "component-id"],
53
- "label": [1],
54
- "helperMessage": [1, "helper-message"],
55
- "name": [1],
56
- "required": [4],
57
- "value": [1]
58
- }]);
59
- function defineCustomElement$1() {
60
- if (typeof customElements === "undefined") {
61
- return;
62
- }
63
- const components = ["pds-radio"];
64
- components.forEach(tagName => { switch (tagName) {
65
- case "pds-radio":
66
- if (!customElements.get(tagName)) {
67
- customElements.define(tagName, PdsRadio$1);
68
- }
69
- break;
70
- } });
71
- }
72
-
73
- const PdsRadio = PdsRadio$1;
74
- const defineCustomElement = defineCustomElement$1;
75
-
76
- export { PdsRadio, defineCustomElement };
77
-
78
- //# sourceMappingURL=pds-radio.js.map
@@ -1 +0,0 @@
1
- {"file":"pds-radio.js","mappings":";;;AAAA,MAAM,WAAW,GAAG,g+FAAg+F,CAAC;AACr/F,uBAAe,WAAW;;MCQbA,UAAQ;;;;;QA4DX,sBAAiB,GAAG,CAAC,CAAQ;YACnC,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,OAAO;aACR;YAED,MAAM,MAAM,GAAG,CAAC,CAAC,MAA0B,CAAC;YAC5C,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC;YAEjC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SACrC,CAAA;uBAhEiB,KAAK;wBAMJ,KAAK;;uBAWN,KAAK;;;;;wBA0BJ,KAAK;;;IAuBhB,UAAU;QAChB,MAAM,UAAU,GAAG,EAAE,CAAC;QAEtB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;SAC/B;QACD,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,UAAU,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAChC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC9B;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAC5B,kFACoB,iBAAiB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,kBACzE,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,SAAS,EAC/C,IAAI,EAAC,OAAO,EACZ,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,iBAAiB,GAChC,EACF,EAAC,QAAQ,qDAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,GAAI,EACxD,IAAI,CAAC,aAAa;YACjB,4DACE,KAAK,EAAE,oBAAoB,EAC3B,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,IAExC,IAAI,CAAC,aAAa,CACf,EAEP,IAAI,CAAC,YAAY;YAChB,4DACE,KAAK,EAAE,8CAA8C,EACrD,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,eAC9B,WAAW,IAEpB,IAAI,CAAC,YAAY,CACd,CAEH,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsRadio"],"sources":["src/components/pds-radio/pds-radio.scss?tag=pds-radio&encapsulation=scoped","src/components/pds-radio/pds-radio.tsx"],"sourcesContent":[":host {\n --background-color: var(--pine-color-base-white);\n --background-color-hover: var(--pine-color-neutral-grey-100);\n --background-color-disabled: var(--pine-color-neutral-grey-200);\n --border: var(--pine-border-interactive);\n --border-color-hover: var(--pine-border-interactive-hover-color);\n --border-color-disabled: var(--pine-color-neutral-grey-300);\n --border-radius: 50%;\n --box-shadow-focus: 0 0 0 2px var(--color-focus);\n --box-shadow-focus-error: 0 0 0 2px var(--color-invalid-focus);\n --color: var(--pine-color-neutral-charcoal-200);\n --color-checked: var(--pine-color-neutral-charcoal-500);\n --color-disabled: var(--pine-color-neutral-grey-500);\n --color-focus: var(--pine-color-primary-200);\n --color-invalid: var(--pine-color-red-300);\n --color-invalid-focus: var(--pine-color-red-200);\n --font-size: var(--pine-font-size-body-sm);\n --input-size: 16px;\n --check-size: 6px;\n\n align-items: center;\n display: flex;\n flex-flow: row wrap;\n}\n\n:host(.is-invalid) {\n input {\n border-color: var(--color-invalid);\n\n &:checked {\n background: var(--color-invalid);\n }\n\n &:focus-visible {\n box-shadow: var(--box-shadow-focus-error);\n outline: none;\n }\n }\n\n label,\n .pds-radio__message--error {\n color: var(--color-invalid);\n }\n}\n\ninput {\n appearance: none;\n border: var(--border);\n border-radius: var(--border-radius);\n height: var(--input-size);\n margin: 0;\n position: relative;\n width: var(--input-size);\n\n &:hover {\n background: var(--background-color-hover);\n border-color: var(--border-color-hover);\n }\n\n &:checked {\n background: var(--color-checked);\n border-color: var(--color-checked);\n\n &::after {\n background: var(--background-color);\n border-radius: 50%;\n content: \"\";\n display: block;\n height: var(--check-size);\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n width: var(--check-size);\n }\n }\n\n &:disabled {\n background: var(--background-color-disabled);\n border-color: var(--border-color-disabled);\n cursor: not-allowed;\n\n &:checked {\n background: var(--color-disabled);\n border-color: var(--border-color-disabled);\n\n &::after {\n border-color: var(--border-color-disabled);\n }\n }\n\n + label {\n color: var(--border-color-hover);\n cursor: not-allowed;\n }\n\n ~ .pds-radio__message {\n color: var(--color-disabled);\n }\n }\n\n &:focus-visible {\n box-shadow: var(--box-shadow-focus);\n outline: none;\n }\n\n}\n\nlabel {\n margin-inline-start: 10px;\n}\n\n.pds-radio__message {\n color: var(--color);\n font-size: var(--font-size);\n margin-block-start: var(--check-size);\n margin-inline-start: 26px;\n width: 100%;\n}\n","import { Component, Host, h, Prop, Event, EventEmitter } from '@stencil/core';\nimport { assignDescription, messageId } from '../../utils/form';\nimport { PdsLabel } from '../_internal/pds-label/pds-label';\n\n@Component({\n tag: 'pds-radio',\n styleUrl: 'pds-radio.scss',\n scoped: true,\n})\nexport class PdsRadio {\n /**\n * Determines whether or not the radio is checked.\n * @defaultValue false\n */\n @Prop() checked = false;\n\n /**\n * Determines whether or not the radio is disabled.\n * @defaultValue false\n */\n @Prop() disabled = false;\n\n /**\n * Displays message text describing an invalid state.\n */\n @Prop() errorMessage: string;\n\n /**\n * Determines whether or not the radio is invalid.\n * @defaultValue false\n */\n @Prop() invalid = false;\n\n /**\n * A unique identifier used for the underlying component `id` attribute and the label `for` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * String used for label text next to radio.\n */\n @Prop() label: string;\n\n /**\n * String used for helper message below radio.\n */\n @Prop() helperMessage: string;\n\n /**\n * String used for radio `name` attribute.\n */\n @Prop() name: string;\n\n /**\n * Determines whether or not the radio is required.\n * @defaultValue false\n */\n @Prop() required = false;\n\n /**\n * The value of the radio that is submitted with a form.\n */\n @Prop() value: string;\n\n /**\n * Emits a boolean indicating whether the checkbox is currently checked or unchecked.\n */\n @Event() pdsRadioChange: EventEmitter<boolean>;\n\n private handleRadioChange = (e: Event) => {\n if (this.disabled) {\n return;\n }\n\n const target = e.target as HTMLInputElement;\n const isChecked = target.checked;\n\n this.pdsRadioChange.emit(isChecked);\n }\n\n private classNames() {\n const classNames = [];\n\n if (this.invalid) {\n classNames.push('is-invalid');\n }\n if (this.disabled) {\n classNames.push('is-disabled');\n }\n\n return classNames.join(' ');\n }\n\n render() {\n return (\n <Host class={this.classNames()}>\n <input\n aria-describedby={assignDescription(this.componentId, this.invalid, this.helperMessage)}\n aria-invalid={this.invalid ? \"true\" : undefined}\n type=\"radio\"\n id={this.componentId}\n name={this.name}\n value={this.value}\n checked={this.checked}\n required={this.required}\n disabled={this.disabled}\n onChange={this.handleRadioChange}\n />\n <PdsLabel htmlFor={this.componentId} text={this.label} />\n {this.helperMessage &&\n <div\n class={'pds-radio__message'}\n id={messageId(this.componentId, 'helper')}\n >\n {this.helperMessage}\n </div>\n }\n {this.errorMessage &&\n <div\n class={`pds-radio__message pds-radio__message--error`}\n id={messageId(this.componentId, 'error')}\n aria-live=\"assertive\"\n >\n {this.errorMessage}\n </div>\n }\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface PdsRow extends Components.PdsRow, HTMLElement {}
4
- export const PdsRow: {
5
- prototype: PdsRow;
6
- new (): PdsRow;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,72 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
-
3
- const pdsRowCss = ":host{--pine-gap-y:10px;display:block;-webkit-margin-after:calc(var(--pine-gap-y) * -1);margin-block-end:calc(var(--pine-gap-y) * -1);-webkit-margin-before:calc(var(--pine-gap-y) * -1);margin-block-start:calc(var(--pine-gap-y) * -1);-webkit-margin-end:calc(var(--pine-gap-x) * -0.5);margin-inline-end:calc(var(--pine-gap-x) * -0.5);-webkit-margin-start:calc(var(--pine-gap-x) * -0.5);margin-inline-start:calc(var(--pine-gap-x) * -0.5)}.pds-row{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-margin-after:calc(var(--pine-gap-y) * -1);margin-block-end:calc(var(--pine-gap-y) * -1);-webkit-margin-before:calc(var(--pine-gap-y) * -1);margin-block-start:calc(var(--pine-gap-y) * -1);-webkit-margin-end:calc(var(--pine-gap-x) * -1);margin-inline-end:calc(var(--pine-gap-x) * -1);-webkit-margin-start:calc(var(--pine-gap-x) * -1);margin-inline-start:calc(var(--pine-gap-x) * -1)}.pds-row>*{-webkit-padding-after:calc(var(--pine-gap-y));padding-block-end:calc(var(--pine-gap-y));-webkit-padding-before:calc(var(--pine-gap-y));padding-block-start:calc(var(--pine-gap-y));-webkit-padding-end:calc(var(--pine-gap-x));padding-inline-end:calc(var(--pine-gap-x));-webkit-padding-start:calc(var(--pine-gap-x));padding-inline-start:calc(var(--pine-gap-x))}.pds-row--no-wrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.pds-row--border{border:var(--pine-border-default)}.pds-justify-content-start{-ms-flex-pack:start;justify-content:start}.pds-justify-content-center{-ms-flex-pack:center;justify-content:center}.pds-justify-content-end{-ms-flex-pack:end;justify-content:end}.pds-justify-content-space-between{-ms-flex-pack:justify;justify-content:space-between}.pds-justify-content-space-around{-ms-flex-pack:distribute;justify-content:space-around}.pds-justify-content-space-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.pds-align-items-start{-ms-flex-align:start;align-items:start}.pds-align-items-center{-ms-flex-align:center;align-items:center}.pds-align-items-end{-ms-flex-align:end;align-items:end}.pds-align-items-stretch{-ms-flex-align:stretch;align-items:stretch}.pds-align-items-baseline{-ms-flex-align:baseline;align-items:baseline}";
4
- const PdsRowStyle0 = pdsRowCss;
5
-
6
- const PdsRow$1 = /*@__PURE__*/ proxyCustomElement(class PdsRow extends HTMLElement {
7
- constructor() {
8
- super();
9
- this.__registerHost();
10
- this.colGapMap = {
11
- none: '0',
12
- xxs: '.25rem',
13
- xs: '.5rem',
14
- sm: '1rem',
15
- md: '1.5rem',
16
- lg: '2.25rem',
17
- xl: '3rem',
18
- xxl: '4rem',
19
- };
20
- this.alignItems = undefined;
21
- this.border = false;
22
- this.colGap = undefined;
23
- this.componentId = undefined;
24
- this.justifyContent = undefined;
25
- this.minHeight = undefined;
26
- this.noWrap = false;
27
- }
28
- render() {
29
- const rowClasses = `
30
- ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}
31
- ${this.border ? 'pds-row--border' : ''}
32
- ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}
33
- ${this.noWrap ? 'pds-row--no-wrap' : ''}
34
- `;
35
- const rowInlineStyles = Object.assign(Object.assign({}, (this.colGap && {
36
- '--pine-gap-x': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',
37
- '--pine-gap-y': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',
38
- })), (this.minHeight && {
39
- 'min-height': this.minHeight,
40
- }));
41
- return (h(Host, { key: 'daa2cfa29f83972505f4f7711f4a7c11cd489f9e', class: `pds-row ${rowClasses}`, style: rowInlineStyles }));
42
- }
43
- static get style() { return PdsRowStyle0; }
44
- }, [0, "pds-row", {
45
- "alignItems": [1, "align-items"],
46
- "border": [4],
47
- "colGap": [1, "col-gap"],
48
- "componentId": [1, "component-id"],
49
- "justifyContent": [1, "justify-content"],
50
- "minHeight": [1, "min-height"],
51
- "noWrap": [4, "no-wrap"]
52
- }]);
53
- function defineCustomElement$1() {
54
- if (typeof customElements === "undefined") {
55
- return;
56
- }
57
- const components = ["pds-row"];
58
- components.forEach(tagName => { switch (tagName) {
59
- case "pds-row":
60
- if (!customElements.get(tagName)) {
61
- customElements.define(tagName, PdsRow$1);
62
- }
63
- break;
64
- } });
65
- }
66
-
67
- const PdsRow = PdsRow$1;
68
- const defineCustomElement = defineCustomElement$1;
69
-
70
- export { PdsRow, defineCustomElement };
71
-
72
- //# sourceMappingURL=pds-row.js.map
@@ -1 +0,0 @@
1
- {"file":"pds-row.js","mappings":";;AAAA,MAAM,SAAS,GAAG,wpEAAwpE,CAAC;AAC3qE,qBAAe,SAAS;;MCOXA,QAAM;;;;QAsCT,cAAS,GAA2C;YAC1D,IAAI,EAAE,GAAG;YACT,GAAG,EAAE,QAAQ;YACb,EAAE,EAAE,OAAO;YACX,EAAE,EAAE,MAAM;YACV,EAAE,EAAE,QAAQ;YACZ,EAAE,EAAE,SAAS;YACb,EAAE,EAAE,MAAM;YACV,GAAG,EAAE,MAAM;SACZ,CAAC;;sBArCgB,KAAK;;;;;sBA0BL,KAAK;;IAavB,MAAM;QACJ,MAAM,UAAU,GAAG;MACjB,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,mBAAmB,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;MAC1G,IAAI,CAAC,MAAM,GAAG,iBAAiB,GAAG,EAAE;MACpC,IAAI,CAAC,cAAc,KAAK,SAAS,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,uBAAuB,IAAI,CAAC,cAAc,EAAE,GAAG,EAAE;MAC1H,IAAI,CAAC,MAAM,GAAG,kBAAkB,GAAG,EAAE;GACxC,CAAC;QAEF,MAAM,eAAe,oCACf,IAAI,CAAC,MAAM,IAAI;YACjB,cAAc,EAAC,IAAI,CAAC,MAAM,KAAK,SAAS,IAAK,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;YACzG,cAAc,EAAC,IAAI,CAAC,MAAM,KAAK,SAAS,IAAK,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;SACxG,KACG,IAAI,CAAC,SAAS,IAAI;YACpB,YAAY,EAAE,IAAI,CAAC,SAAS;SAC7B,EACF,CAAC;QAEF,QACE,EAAC,IAAI,qDAAC,KAAK,EAAE,WAAW,UAAU,EAAE,EAAE,KAAK,EAAE,eAAe,GACrD,EACL;KACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsRow"],"sources":["src/components/pds-row/pds-row.scss?tag=pds-row","src/components/pds-row/pds-row.tsx"],"sourcesContent":[":host {\n --pine-gap-y: 10px;\n \n display: block;\n margin-block-end: calc(var(--pine-gap-y) * -1);\n margin-block-start: calc(var(--pine-gap-y) * -1);\n margin-inline-end: calc(var(--pine-gap-x) * -0.5);\n margin-inline-start: calc(var(--pine-gap-x) * -0.5);\n}\n\n.pds-row {\n display: flex;\n flex-grow: 1;\n flex-wrap: wrap;\n margin-block-end: calc(var(--pine-gap-y) * -1);\n margin-block-start: calc(var(--pine-gap-y) * -1);\n margin-inline-end: calc(var(--pine-gap-x) * -1);\n margin-inline-start: calc(var(--pine-gap-x) * -1);\n \n > * {\n padding-block-end: calc(var(--pine-gap-y));\n padding-block-start: calc(var(--pine-gap-y));\n padding-inline-end: calc(var(--pine-gap-x));\n padding-inline-start: calc(var(--pine-gap-x));\n }\n}\n\n.pds-row--no-wrap {\n flex-wrap: nowrap;\n}\n\n.pds-row--border {\n border: var(--pine-border-default);\n}\n\n// Justify Content helpers\n.pds-justify-content-start {\n justify-content: start;\n}\n\n.pds-justify-content-center {\n justify-content: center;\n}\n\n.pds-justify-content-end {\n justify-content: end;\n}\n\n.pds-justify-content-space-between {\n justify-content: space-between;\n}\n\n.pds-justify-content-space-around {\n justify-content: space-around;\n}\n\n.pds-justify-content-space-evenly {\n justify-content: space-evenly;\n}\n\n// Align Items helpers\n.pds-align-items-start {\n align-items: start;\n}\n\n.pds-align-items-center {\n align-items: center;\n}\n\n.pds-align-items-end {\n align-items: end;\n}\n\n.pds-align-items-stretch {\n align-items: stretch;\n}\n\n.pds-align-items-baseline {\n align-items: baseline;\n}\n","import { Component, Prop, h, Host} from '@stencil/core';\n\nimport { BoxTShirtSizeType } from '../../utils/types';\n\n@Component({\n tag: 'pds-row',\n styleUrl: 'pds-row.scss',\n})\nexport class PdsRow {\n /**\n * Defines the vertical alignment of the row items.\n * @defaultValue start\n */\n @Prop() alignItems?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * If `true`, the row will have a border.\n */\n @Prop() border? = false;\n\n /**\n * Defines the spacing between the row items.\n */\n @Prop() colGap?: BoxTShirtSizeType | null;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Defines the horizontal alignment of the row items.\n * @defaultValue start\n */\n @Prop() justifyContent?: `start` | `center` | `end` | `space-between` | `space-around`;\n\n /**\n * The minimum height of the row. Used in conjunction with alignment props\n */\n @Prop() minHeight?: string;\n\n /**\n * If `true`, the row items will not wrap to the next line if horizontal space is not available.\n */\n @Prop() noWrap? = false;\n\n private colGapMap: { [key in BoxTShirtSizeType]: string } = {\n none: '0',\n xxs: '.25rem',\n xs: '.5rem',\n sm: '1rem',\n md: '1.5rem',\n lg: '2.25rem',\n xl: '3rem',\n xxl: '4rem',\n };\n\n render() {\n const rowClasses = `\n ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}\n ${this.border ? 'pds-row--border' : ''}\n ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}\n ${this.noWrap ? 'pds-row--no-wrap' : ''}\n `;\n\n const rowInlineStyles = {\n ...(this.colGap && {\n '--pine-gap-x':this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',\n '--pine-gap-y':this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',\n }),\n ...(this.minHeight && {\n 'min-height': this.minHeight,\n }),\n };\n\n return (\n <Host class={`pds-row ${rowClasses}`} style={rowInlineStyles}>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface PdsSortableItem extends Components.PdsSortableItem, HTMLElement {}
4
- export const PdsSortableItem: {
5
- prototype: PdsSortableItem;
6
- new (): PdsSortableItem;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,48 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$2 } from './pds-icon2.js';
3
-
4
- const pdsSortableItemCss = ".pds-sortable-item.sc-pds-sortable-item-h{--background-color-interactive:var(--pine-color-neutral-grey-200);--background-color:var(--pine-color-base-white);--border-radius:var(--pine-border-radius-md);--border:var(--pine-border-default);--box-shadow:var(--pine-box-shadow-lg);--color-interactive-handle:var(--pine-color-primary-300);--margin-inline-end:var(--pine-spacing-md);--padding-block-xs:var(--pine-spacing-xs);--padding-inline:var(--pine-spacing-md);--padding-inline-start:var(--pine-spacing-md);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;padding-block:var(--padding-block-xs);padding-inline:var(--padding-inline)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__actions.sc-pds-sortable-item{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-padding-start:var(--padding-inline-start);padding-inline-start:var(--padding-inline-start)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{line-height:1;-webkit-margin-end:var(--margin-inline-end);margin-inline-end:var(--margin-inline-end)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:first-child{border-start-end-radius:var(--border-radius);border-start-start-radius:var(--border-radius)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:last-child{border-end-end-radius:var(--border-radius);border-end-start-radius:var(--border-radius)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h{-webkit-border-after:var(--border);border-block-end:var(--border)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h:last-child{-webkit-border-after:0;border-block-end:0}.pds-sortable--handle-type-row .pds-sortable-item.sc-pds-sortable-item-h{cursor:-webkit-grab;cursor:grab}.pds-sortable--handle-type-handle .pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{cursor:-webkit-grab;cursor:grab}.pds-sortable-item.sc-pds-sortable-item-h:hover{background-color:var(--background-color-interactive)}.pds-sortable-item.sc-pds-sortable-item-h:hover pds-icon.sc-pds-sortable-item{color:var(--color-interactive-handle)}.pds-sortable-item--drag.sc-pds-sortable-item-h{background-color:var(--background-color);border-radius:0;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);opacity:1}.pds-sortable-item--ghost.sc-pds-sortable-item-h{background-color:var(--background-color-interactive);border-radius:0}";
5
- const PdsSortableItemStyle0 = pdsSortableItemCss;
6
-
7
- const PdsSortableItem$1 = /*@__PURE__*/ proxyCustomElement(class PdsSortableItem extends HTMLElement {
8
- constructor() {
9
- super();
10
- this.__registerHost();
11
- this.enableActions = false;
12
- this.componentId = undefined;
13
- this.handle = false;
14
- }
15
- render() {
16
- return (h(Host, { key: 'b55f075161f1d416f6a5220f31e882c7c04d12af', class: "pds-sortable-item", id: this.componentId }, this.handle && (h("div", { key: 'cdfe7a0f4049783b4b449b92e53b0f0fccae38e5', class: "pds-sortable-item__handle" }, h("pds-icon", { key: '567f3119cfa5b1fe32888d2ade0cc671d14adeb3', name: "handle" }))), h("slot", { key: 'bd39b385aa99240345471653c3ea0038c0349007' }), this.enableActions && (h("div", { key: 'de1299cc52343f931b558a83c0ee4aaaf2f13f92', class: "pds-sortable-item__actions" }, h("slot", { key: '659ee5777e1da0558ab7115ffd746915458a09ea', name: "sortable-item-actions" })))));
17
- }
18
- static get style() { return PdsSortableItemStyle0; }
19
- }, [6, "pds-sortable-item", {
20
- "enableActions": [4, "enable-actions"],
21
- "componentId": [1, "component-id"],
22
- "handle": [4]
23
- }]);
24
- function defineCustomElement$1() {
25
- if (typeof customElements === "undefined") {
26
- return;
27
- }
28
- const components = ["pds-sortable-item", "pds-icon"];
29
- components.forEach(tagName => { switch (tagName) {
30
- case "pds-sortable-item":
31
- if (!customElements.get(tagName)) {
32
- customElements.define(tagName, PdsSortableItem$1);
33
- }
34
- break;
35
- case "pds-icon":
36
- if (!customElements.get(tagName)) {
37
- defineCustomElement$2();
38
- }
39
- break;
40
- } });
41
- }
42
-
43
- const PdsSortableItem = PdsSortableItem$1;
44
- const defineCustomElement = defineCustomElement$1;
45
-
46
- export { PdsSortableItem, defineCustomElement };
47
-
48
- //# sourceMappingURL=pds-sortable-item.js.map
@@ -1 +0,0 @@
1
- {"file":"pds-sortable-item.js","mappings":";;;AAAA,MAAM,kBAAkB,GAAG,g5EAAg5E,CAAC;AAC56E,8BAAe,kBAAkB;;MCSpBA,iBAAe;;;;6BAKF,KAAK;;sBAWZ,KAAK;;IAEtB,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,KAAK,EAAC,mBAAmB,EAAC,EAAE,EAAE,IAAI,CAAC,WAAW,IACjD,IAAI,CAAC,MAAM,KACV,4DAAK,KAAK,EAAC,2BAA2B,IACpC,iEAAU,IAAI,EAAC,QAAQ,GAAY,CAC/B,CACP,EACD,8DAAa,EACZ,IAAI,CAAC,aAAa,KACjB,4DAAK,KAAK,EAAC,4BAA4B,IACrC,6DAAM,IAAI,EAAC,uBAAuB,GAAG,CACjC,CACP,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsSortableItem"],"sources":["src/components/pds-sortable/pds-sortable-item/pds-sortable-item.scss?tag=pds-sortable-item&encapsulation=scoped","src/components/pds-sortable/pds-sortable-item/pds-sortable-item.tsx"],"sourcesContent":[":host(.pds-sortable-item) {\n --background-color-interactive: var(--pine-color-neutral-grey-200);\n --background-color: var(--pine-color-base-white);\n --border-radius: var(--pine-border-radius-md);\n --border: var(--pine-border-default);\n --box-shadow: var(--pine-box-shadow-lg);\n --color-interactive-handle: var(--pine-color-primary-300);\n --margin-inline-end: var(--pine-spacing-md);\n --padding-block-xs: var(--pine-spacing-xs);\n --padding-inline: var(--pine-spacing-md);\n --padding-inline-start: var(--pine-spacing-md);\n\n align-items: center;\n display: flex;\n padding-block: var(--padding-block-xs);\n padding-inline: var(--padding-inline);\n\n .pds-sortable-item__actions {\n margin-inline-start: auto;\n padding-inline-start: var(--padding-inline-start);\n }\n\n .pds-sortable-item__handle {\n line-height: 1;\n margin-inline-end: var(--margin-inline-end);\n }\n\n // styles when sortable is bordered\n .pds-sortable--bordered & {\n &:first-child {\n border-start-end-radius: var(--border-radius);\n border-start-start-radius: var(--border-radius);\n }\n\n &:last-child {\n border-end-end-radius: var(--border-radius);\n border-end-start-radius: var(--border-radius);\n }\n }\n\n // styles when sortable is divided\n .pds-sortable--divided & {\n border-block-end: var(--border);\n\n &:last-child {\n border-block-end: 0;\n }\n }\n\n // cursor styles based on handle-type\n .pds-sortable--handle-type-row & {\n cursor: grab;\n }\n\n .pds-sortable--handle-type-handle & {\n .pds-sortable-item__handle {\n cursor: grab;\n }\n }\n}\n\n:host(.pds-sortable-item):hover {\n background-color: var(--background-color-interactive);\n\n pds-icon {\n color: var(--color-interactive-handle)\n }\n}\n\n:host(.pds-sortable-item--drag) {\n background-color: var(--background-color);\n border-radius: 0;\n box-shadow: var(--box-shadow);\n opacity: 1;\n}\n\n:host(.pds-sortable-item--ghost) {\n background-color: var(--background-color-interactive);\n border-radius: 0;\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n/**\n * @slot sortable-item-actions - Content is placed within the `pds-sortable-item__actions` element as children. This slot is only rendered if `actions` is set to `true`.\n */\n@Component({\n tag: 'pds-sortable-item',\n styleUrl: 'pds-sortable-item.scss',\n scoped: true,\n})\nexport class PdsSortableItem {\n /**\n * Determines whether `sortable-item-actions` slot should be enabled.\n * @defaultValue false\n */\n @Prop() enableActions = false;\n\n /**\n * A unique identifier used for the sortable item `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Determines whether `sortable-item` should have a handle.\n * @defaultValue false\n */\n @Prop() handle = false;\n\n render() {\n return (\n <Host class=\"pds-sortable-item\" id={this.componentId}>\n {this.handle && (\n <div class=\"pds-sortable-item__handle\">\n <pds-icon name=\"handle\"></pds-icon>\n </div>\n )}\n <slot></slot>\n {this.enableActions && (\n <div class=\"pds-sortable-item__actions\">\n <slot name=\"sortable-item-actions\" />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface PdsSortable extends Components.PdsSortable, HTMLElement {}
4
- export const PdsSortable: {
5
- prototype: PdsSortable;
6
- new (): PdsSortable;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;