@pine-ds/icons 7.0.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1007) hide show
  1. package/components/index.cjs.js +1 -0
  2. package/components/index.d.ts +38 -0
  3. package/components/index.js +4 -0
  4. package/components/index.js.map +1 -0
  5. package/components/package.json +8 -0
  6. package/components/pds-icon.d.ts +11 -0
  7. package/components/pds-icon.js +366 -0
  8. package/components/pds-icon.js.map +1 -0
  9. package/dist/cheatsheet.html +664 -0
  10. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  11. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  12. package/dist/cjs/index-f0b59854.js +1205 -0
  13. package/dist/cjs/index-f0b59854.js.map +1 -0
  14. package/dist/cjs/index.cjs.js +12 -0
  15. package/dist/cjs/index.cjs.js.map +1 -0
  16. package/dist/cjs/loader.cjs.js +17 -0
  17. package/dist/cjs/loader.cjs.js.map +1 -0
  18. package/dist/cjs/pds-icon.cjs.entry.js +211 -0
  19. package/dist/cjs/pds-icon.cjs.entry.js.map +1 -0
  20. package/dist/cjs/pds-icons.cjs.js +27 -0
  21. package/dist/cjs/pds-icons.cjs.js.map +1 -0
  22. package/dist/cjs/utils-958540ce.js +140 -0
  23. package/dist/cjs/utils-958540ce.js.map +1 -0
  24. package/dist/collection/collection-manifest.json +12 -0
  25. package/dist/collection/components/pds-icon/assetPath.js +36 -0
  26. package/dist/collection/components/pds-icon/assetPath.js.map +1 -0
  27. package/dist/collection/components/pds-icon/pds-icon.css +22 -0
  28. package/dist/collection/components/pds-icon/pds-icon.js +228 -0
  29. package/dist/collection/components/pds-icon/pds-icon.js.map +1 -0
  30. package/dist/collection/components/pds-icon/request.js +43 -0
  31. package/dist/collection/components/pds-icon/request.js.map +1 -0
  32. package/dist/collection/components/pds-icon/svg/access-key.svg +1 -0
  33. package/dist/collection/components/pds-icon/svg/add-circle.svg +1 -0
  34. package/dist/collection/components/pds-icon/svg/add-image.svg +1 -0
  35. package/dist/collection/components/pds-icon/svg/add-small.svg +1 -0
  36. package/dist/collection/components/pds-icon/svg/add-square.svg +1 -0
  37. package/dist/collection/components/pds-icon/svg/add.svg +1 -0
  38. package/dist/collection/components/pds-icon/svg/advanced.svg +1 -0
  39. package/dist/collection/components/pds-icon/svg/ai-sparkle.svg +1 -0
  40. package/dist/collection/components/pds-icon/svg/ai-writer-filled.svg +1 -0
  41. package/dist/collection/components/pds-icon/svg/ai-writer.svg +1 -0
  42. package/dist/collection/components/pds-icon/svg/align-center.svg +1 -0
  43. package/dist/collection/components/pds-icon/svg/align-justify.svg +1 -0
  44. package/dist/collection/components/pds-icon/svg/align-left.svg +1 -0
  45. package/dist/collection/components/pds-icon/svg/align-right.svg +1 -0
  46. package/dist/collection/components/pds-icon/svg/app-store.svg +1 -0
  47. package/dist/collection/components/pds-icon/svg/archive.svg +1 -0
  48. package/dist/collection/components/pds-icon/svg/arrow-corner.svg +1 -0
  49. package/dist/collection/components/pds-icon/svg/arrow-down.svg +1 -0
  50. package/dist/collection/components/pds-icon/svg/arrow-left.svg +1 -0
  51. package/dist/collection/components/pds-icon/svg/arrow-right.svg +1 -0
  52. package/dist/collection/components/pds-icon/svg/arrow-up.svg +1 -0
  53. package/dist/collection/components/pds-icon/svg/assessment.svg +1 -0
  54. package/dist/collection/components/pds-icon/svg/at-sign.svg +1 -0
  55. package/dist/collection/components/pds-icon/svg/attach.svg +1 -0
  56. package/dist/collection/components/pds-icon/svg/automations.svg +1 -0
  57. package/dist/collection/components/pds-icon/svg/ban.svg +1 -0
  58. package/dist/collection/components/pds-icon/svg/bank.svg +1 -0
  59. package/dist/collection/components/pds-icon/svg/bell.svg +1 -0
  60. package/dist/collection/components/pds-icon/svg/block.svg +1 -0
  61. package/dist/collection/components/pds-icon/svg/blog-filled.svg +1 -0
  62. package/dist/collection/components/pds-icon/svg/blog.svg +1 -0
  63. package/dist/collection/components/pds-icon/svg/bold.svg +1 -0
  64. package/dist/collection/components/pds-icon/svg/broadcast.svg +1 -0
  65. package/dist/collection/components/pds-icon/svg/button.svg +1 -0
  66. package/dist/collection/components/pds-icon/svg/calendar-date.svg +1 -0
  67. package/dist/collection/components/pds-icon/svg/calendar-schedule.svg +1 -0
  68. package/dist/collection/components/pds-icon/svg/calendar-simple.svg +1 -0
  69. package/dist/collection/components/pds-icon/svg/card-amex.svg +1 -0
  70. package/dist/collection/components/pds-icon/svg/card-android.svg +1 -0
  71. package/dist/collection/components/pds-icon/svg/card-apple.svg +1 -0
  72. package/dist/collection/components/pds-icon/svg/card-diners-club.svg +1 -0
  73. package/dist/collection/components/pds-icon/svg/card-discover.svg +1 -0
  74. package/dist/collection/components/pds-icon/svg/card-generic.svg +1 -0
  75. package/dist/collection/components/pds-icon/svg/card-gpay.svg +1 -0
  76. package/dist/collection/components/pds-icon/svg/card-mastercard.svg +1 -0
  77. package/dist/collection/components/pds-icon/svg/card-paypal.svg +1 -0
  78. package/dist/collection/components/pds-icon/svg/card-stripe.svg +1 -0
  79. package/dist/collection/components/pds-icon/svg/card-update.svg +1 -0
  80. package/dist/collection/components/pds-icon/svg/card-visa.svg +1 -0
  81. package/dist/collection/components/pds-icon/svg/caret-down.svg +1 -0
  82. package/dist/collection/components/pds-icon/svg/caret-left.svg +1 -0
  83. package/dist/collection/components/pds-icon/svg/caret-right.svg +1 -0
  84. package/dist/collection/components/pds-icon/svg/caret-up.svg +1 -0
  85. package/dist/collection/components/pds-icon/svg/cart-add.svg +1 -0
  86. package/dist/collection/components/pds-icon/svg/cart.svg +1 -0
  87. package/dist/collection/components/pds-icon/svg/certificate.svg +1 -0
  88. package/dist/collection/components/pds-icon/svg/chart-filled.svg +1 -0
  89. package/dist/collection/components/pds-icon/svg/chart.svg +1 -0
  90. package/dist/collection/components/pds-icon/svg/check-circle-filled.svg +1 -0
  91. package/dist/collection/components/pds-icon/svg/check-circle.svg +1 -0
  92. package/dist/collection/components/pds-icon/svg/check.svg +1 -0
  93. package/dist/collection/components/pds-icon/svg/circle-1.svg +1 -0
  94. package/dist/collection/components/pds-icon/svg/circle-2.svg +1 -0
  95. package/dist/collection/components/pds-icon/svg/circle-3.svg +1 -0
  96. package/dist/collection/components/pds-icon/svg/circle-4.svg +1 -0
  97. package/dist/collection/components/pds-icon/svg/circle-5.svg +1 -0
  98. package/dist/collection/components/pds-icon/svg/circle-6.svg +1 -0
  99. package/dist/collection/components/pds-icon/svg/circle-7.svg +1 -0
  100. package/dist/collection/components/pds-icon/svg/circle-8.svg +1 -0
  101. package/dist/collection/components/pds-icon/svg/circle-9.svg +1 -0
  102. package/dist/collection/components/pds-icon/svg/circle-a.svg +1 -0
  103. package/dist/collection/components/pds-icon/svg/circle-b.svg +1 -0
  104. package/dist/collection/components/pds-icon/svg/circle-dashed.svg +1 -0
  105. package/dist/collection/components/pds-icon/svg/clock.svg +1 -0
  106. package/dist/collection/components/pds-icon/svg/closed-captions.svg +1 -0
  107. package/dist/collection/components/pds-icon/svg/cloud-upload.svg +1 -0
  108. package/dist/collection/components/pds-icon/svg/code-block.svg +1 -0
  109. package/dist/collection/components/pds-icon/svg/code.svg +1 -0
  110. package/dist/collection/components/pds-icon/svg/color.svg +1 -0
  111. package/dist/collection/components/pds-icon/svg/columns.svg +1 -0
  112. package/dist/collection/components/pds-icon/svg/comment-no.svg +1 -0
  113. package/dist/collection/components/pds-icon/svg/comment.svg +1 -0
  114. package/dist/collection/components/pds-icon/svg/connect.svg +1 -0
  115. package/dist/collection/components/pds-icon/svg/contact.svg +1 -0
  116. package/dist/collection/components/pds-icon/svg/conversation.svg +1 -0
  117. package/dist/collection/components/pds-icon/svg/copy.svg +1 -0
  118. package/dist/collection/components/pds-icon/svg/coupon.svg +1 -0
  119. package/dist/collection/components/pds-icon/svg/course-filled.svg +1 -0
  120. package/dist/collection/components/pds-icon/svg/course.svg +1 -0
  121. package/dist/collection/components/pds-icon/svg/creator-studio-filled.svg +1 -0
  122. package/dist/collection/components/pds-icon/svg/creator-studio.svg +1 -0
  123. package/dist/collection/components/pds-icon/svg/cursor-pointer.svg +1 -0
  124. package/dist/collection/components/pds-icon/svg/cursor.svg +1 -0
  125. package/dist/collection/components/pds-icon/svg/custom-field.svg +1 -0
  126. package/dist/collection/components/pds-icon/svg/customize.svg +1 -0
  127. package/dist/collection/components/pds-icon/svg/danger-filled.svg +1 -0
  128. package/dist/collection/components/pds-icon/svg/danger.svg +1 -0
  129. package/dist/collection/components/pds-icon/svg/delete-circle.svg +1 -0
  130. package/dist/collection/components/pds-icon/svg/delete-key.svg +1 -0
  131. package/dist/collection/components/pds-icon/svg/delete-x.svg +1 -0
  132. package/dist/collection/components/pds-icon/svg/dollar.svg +1 -0
  133. package/dist/collection/components/pds-icon/svg/dot-menu-horizontal.svg +1 -0
  134. package/dist/collection/components/pds-icon/svg/down-small.svg +1 -0
  135. package/dist/collection/components/pds-icon/svg/download.svg +1 -0
  136. package/dist/collection/components/pds-icon/svg/downsell.svg +1 -0
  137. package/dist/collection/components/pds-icon/svg/draft.svg +1 -0
  138. package/dist/collection/components/pds-icon/svg/drawer-collapse.svg +1 -0
  139. package/dist/collection/components/pds-icon/svg/drawer-expand.svg +1 -0
  140. package/dist/collection/components/pds-icon/svg/drop.svg +1 -0
  141. package/dist/collection/components/pds-icon/svg/duplicate.svg +1 -0
  142. package/dist/collection/components/pds-icon/svg/editor-filled.svg +1 -0
  143. package/dist/collection/components/pds-icon/svg/editor.svg +1 -0
  144. package/dist/collection/components/pds-icon/svg/email-activity.svg +1 -0
  145. package/dist/collection/components/pds-icon/svg/emoji.svg +1 -0
  146. package/dist/collection/components/pds-icon/svg/enlarge-vertical.svg +1 -0
  147. package/dist/collection/components/pds-icon/svg/enlarge.svg +1 -0
  148. package/dist/collection/components/pds-icon/svg/expand.svg +1 -0
  149. package/dist/collection/components/pds-icon/svg/favorite.svg +1 -0
  150. package/dist/collection/components/pds-icon/svg/feedback.svg +1 -0
  151. package/dist/collection/components/pds-icon/svg/file-money.svg +1 -0
  152. package/dist/collection/components/pds-icon/svg/file.svg +1 -0
  153. package/dist/collection/components/pds-icon/svg/filter.svg +1 -0
  154. package/dist/collection/components/pds-icon/svg/flag.svg +1 -0
  155. package/dist/collection/components/pds-icon/svg/flash-filled.svg +1 -0
  156. package/dist/collection/components/pds-icon/svg/flash.svg +1 -0
  157. package/dist/collection/components/pds-icon/svg/floppy-disk.svg +1 -0
  158. package/dist/collection/components/pds-icon/svg/folder-group.svg +1 -0
  159. package/dist/collection/components/pds-icon/svg/folder.svg +1 -0
  160. package/dist/collection/components/pds-icon/svg/form-field.svg +1 -0
  161. package/dist/collection/components/pds-icon/svg/form-filled.svg +1 -0
  162. package/dist/collection/components/pds-icon/svg/form.svg +1 -0
  163. package/dist/collection/components/pds-icon/svg/fullscreen.svg +1 -0
  164. package/dist/collection/components/pds-icon/svg/funnel.svg +1 -0
  165. package/dist/collection/components/pds-icon/svg/gear-filled.svg +1 -0
  166. package/dist/collection/components/pds-icon/svg/gear.svg +1 -0
  167. package/dist/collection/components/pds-icon/svg/grant-offer.svg +1 -0
  168. package/dist/collection/components/pds-icon/svg/handle-2-vertical.svg +1 -0
  169. package/dist/collection/components/pds-icon/svg/handle-2.svg +1 -0
  170. package/dist/collection/components/pds-icon/svg/handle.svg +1 -0
  171. package/dist/collection/components/pds-icon/svg/hashtag.svg +1 -0
  172. package/dist/collection/components/pds-icon/svg/hd-video.svg +1 -0
  173. package/dist/collection/components/pds-icon/svg/heading-1.svg +1 -0
  174. package/dist/collection/components/pds-icon/svg/heading-2.svg +1 -0
  175. package/dist/collection/components/pds-icon/svg/heading-3.svg +1 -0
  176. package/dist/collection/components/pds-icon/svg/heading-4.svg +1 -0
  177. package/dist/collection/components/pds-icon/svg/heading-5.svg +1 -0
  178. package/dist/collection/components/pds-icon/svg/heading-6.svg +1 -0
  179. package/dist/collection/components/pds-icon/svg/heading-large.svg +1 -0
  180. package/dist/collection/components/pds-icon/svg/heading-small.svg +1 -0
  181. package/dist/collection/components/pds-icon/svg/headset.svg +1 -0
  182. package/dist/collection/components/pds-icon/svg/help-filled.svg +1 -0
  183. package/dist/collection/components/pds-icon/svg/help.svg +1 -0
  184. package/dist/collection/components/pds-icon/svg/home-alt.svg +1 -0
  185. package/dist/collection/components/pds-icon/svg/home-filled.svg +1 -0
  186. package/dist/collection/components/pds-icon/svg/home.svg +1 -0
  187. package/dist/collection/components/pds-icon/svg/horizontal-line.svg +1 -0
  188. package/dist/collection/components/pds-icon/svg/image.svg +1 -0
  189. package/dist/collection/components/pds-icon/svg/info-circle-filled.svg +1 -0
  190. package/dist/collection/components/pds-icon/svg/info-circle.svg +1 -0
  191. package/dist/collection/components/pds-icon/svg/ios-battery.svg +1 -0
  192. package/dist/collection/components/pds-icon/svg/ios-data.svg +1 -0
  193. package/dist/collection/components/pds-icon/svg/ios-wifi.svg +1 -0
  194. package/dist/collection/components/pds-icon/svg/italic.svg +1 -0
  195. package/dist/collection/components/pds-icon/svg/kajabi-filled.svg +1 -0
  196. package/dist/collection/components/pds-icon/svg/kajabi.svg +1 -0
  197. package/dist/collection/components/pds-icon/svg/klarna.svg +1 -0
  198. package/dist/collection/components/pds-icon/svg/lab.svg +1 -0
  199. package/dist/collection/components/pds-icon/svg/launch.svg +1 -0
  200. package/dist/collection/components/pds-icon/svg/layout-grid.svg +1 -0
  201. package/dist/collection/components/pds-icon/svg/layout-list.svg +1 -0
  202. package/dist/collection/components/pds-icon/svg/left-small.svg +1 -0
  203. package/dist/collection/components/pds-icon/svg/list-bullet.svg +1 -0
  204. package/dist/collection/components/pds-icon/svg/list-details.svg +1 -0
  205. package/dist/collection/components/pds-icon/svg/list-numbers.svg +1 -0
  206. package/dist/collection/components/pds-icon/svg/location.svg +1 -0
  207. package/dist/collection/components/pds-icon/svg/lock-alt.svg +1 -0
  208. package/dist/collection/components/pds-icon/svg/lock.svg +1 -0
  209. package/dist/collection/components/pds-icon/svg/logo-afterpay.svg +1 -0
  210. package/dist/collection/components/pds-icon/svg/logo-facebook-round.svg +1 -0
  211. package/dist/collection/components/pds-icon/svg/logo-facebook.svg +1 -0
  212. package/dist/collection/components/pds-icon/svg/logo-instagram.svg +1 -0
  213. package/dist/collection/components/pds-icon/svg/logo-linkedin.svg +1 -0
  214. package/dist/collection/components/pds-icon/svg/logo-tiktok.svg +1 -0
  215. package/dist/collection/components/pds-icon/svg/logo-twitter-x.svg +1 -0
  216. package/dist/collection/components/pds-icon/svg/logo-twitter.svg +1 -0
  217. package/dist/collection/components/pds-icon/svg/logo-youtube.svg +1 -0
  218. package/dist/collection/components/pds-icon/svg/loop.svg +1 -0
  219. package/dist/collection/components/pds-icon/svg/mail-filled.svg +1 -0
  220. package/dist/collection/components/pds-icon/svg/mail-open.svg +1 -0
  221. package/dist/collection/components/pds-icon/svg/mail.svg +1 -0
  222. package/dist/collection/components/pds-icon/svg/map.svg +1 -0
  223. package/dist/collection/components/pds-icon/svg/mapped.svg +1 -0
  224. package/dist/collection/components/pds-icon/svg/margin-left.svg +1 -0
  225. package/dist/collection/components/pds-icon/svg/margin-right.svg +1 -0
  226. package/dist/collection/components/pds-icon/svg/marker-filled.svg +1 -0
  227. package/dist/collection/components/pds-icon/svg/marker.svg +1 -0
  228. package/dist/collection/components/pds-icon/svg/megaphone-filled.svg +1 -0
  229. package/dist/collection/components/pds-icon/svg/megaphone.svg +1 -0
  230. package/dist/collection/components/pds-icon/svg/menu-alt.svg +1 -0
  231. package/dist/collection/components/pds-icon/svg/menu-bordered.svg +1 -0
  232. package/dist/collection/components/pds-icon/svg/menu.svg +1 -0
  233. package/dist/collection/components/pds-icon/svg/merge.svg +1 -0
  234. package/dist/collection/components/pds-icon/svg/microphone-off.svg +1 -0
  235. package/dist/collection/components/pds-icon/svg/microphone.svg +1 -0
  236. package/dist/collection/components/pds-icon/svg/monitor-filled.svg +1 -0
  237. package/dist/collection/components/pds-icon/svg/monitor.svg +1 -0
  238. package/dist/collection/components/pds-icon/svg/more-menu-filled.svg +1 -0
  239. package/dist/collection/components/pds-icon/svg/more-menu.svg +1 -0
  240. package/dist/collection/components/pds-icon/svg/move-left.svg +1 -0
  241. package/dist/collection/components/pds-icon/svg/move-right.svg +1 -0
  242. package/dist/collection/components/pds-icon/svg/multi-pay.svg +1 -0
  243. package/dist/collection/components/pds-icon/svg/newsletter-2.svg +1 -0
  244. package/dist/collection/components/pds-icon/svg/newsletter.svg +1 -0
  245. package/dist/collection/components/pds-icon/svg/one-off-session.svg +1 -0
  246. package/dist/collection/components/pds-icon/svg/one-time.svg +1 -0
  247. package/dist/collection/components/pds-icon/svg/packages.svg +1 -0
  248. package/dist/collection/components/pds-icon/svg/pause-circle.svg +1 -0
  249. package/dist/collection/components/pds-icon/svg/pause.svg +1 -0
  250. package/dist/collection/components/pds-icon/svg/payout.svg +1 -0
  251. package/dist/collection/components/pds-icon/svg/pen.svg +1 -0
  252. package/dist/collection/components/pds-icon/svg/phone-portrait.svg +1 -0
  253. package/dist/collection/components/pds-icon/svg/phone-toolbar-filled.svg +1 -0
  254. package/dist/collection/components/pds-icon/svg/phone-toolbar.svg +1 -0
  255. package/dist/collection/components/pds-icon/svg/play-circle.svg +1 -0
  256. package/dist/collection/components/pds-icon/svg/play-outline.svg +1 -0
  257. package/dist/collection/components/pds-icon/svg/play-store.svg +1 -0
  258. package/dist/collection/components/pds-icon/svg/play.svg +1 -0
  259. package/dist/collection/components/pds-icon/svg/plug.svg +1 -0
  260. package/dist/collection/components/pds-icon/svg/premium.svg +1 -0
  261. package/dist/collection/components/pds-icon/svg/present.svg +1 -0
  262. package/dist/collection/components/pds-icon/svg/preview-off.svg +1 -0
  263. package/dist/collection/components/pds-icon/svg/preview-on.svg +1 -0
  264. package/dist/collection/components/pds-icon/svg/product-filled.svg +1 -0
  265. package/dist/collection/components/pds-icon/svg/product.svg +1 -0
  266. package/dist/collection/components/pds-icon/svg/question-circle.svg +1 -0
  267. package/dist/collection/components/pds-icon/svg/quote.svg +1 -0
  268. package/dist/collection/components/pds-icon/svg/redo.svg +1 -0
  269. package/dist/collection/components/pds-icon/svg/refresh.svg +1 -0
  270. package/dist/collection/components/pds-icon/svg/remove-circle.svg +1 -0
  271. package/dist/collection/components/pds-icon/svg/remove.svg +1 -0
  272. package/dist/collection/components/pds-icon/svg/rename.svg +1 -0
  273. package/dist/collection/components/pds-icon/svg/reset-password.svg +1 -0
  274. package/dist/collection/components/pds-icon/svg/restore.svg +1 -0
  275. package/dist/collection/components/pds-icon/svg/right-small.svg +1 -0
  276. package/dist/collection/components/pds-icon/svg/rocket-filled.svg +1 -0
  277. package/dist/collection/components/pds-icon/svg/rocket.svg +1 -0
  278. package/dist/collection/components/pds-icon/svg/round-dollar.svg +1 -0
  279. package/dist/collection/components/pds-icon/svg/rows.svg +1 -0
  280. package/dist/collection/components/pds-icon/svg/scissor.svg +1 -0
  281. package/dist/collection/components/pds-icon/svg/screen-share-off.svg +1 -0
  282. package/dist/collection/components/pds-icon/svg/screen-share-on.svg +1 -0
  283. package/dist/collection/components/pds-icon/svg/search-small.svg +1 -0
  284. package/dist/collection/components/pds-icon/svg/search.svg +1 -0
  285. package/dist/collection/components/pds-icon/svg/send-message.svg +1 -0
  286. package/dist/collection/components/pds-icon/svg/sequences.svg +1 -0
  287. package/dist/collection/components/pds-icon/svg/share.svg +1 -0
  288. package/dist/collection/components/pds-icon/svg/skipped.svg +1 -0
  289. package/dist/collection/components/pds-icon/svg/slash-divider.svg +1 -0
  290. package/dist/collection/components/pds-icon/svg/speaker.svg +1 -0
  291. package/dist/collection/components/pds-icon/svg/stack.svg +1 -0
  292. package/dist/collection/components/pds-icon/svg/star.svg +1 -0
  293. package/dist/collection/components/pds-icon/svg/stop.svg +1 -0
  294. package/dist/collection/components/pds-icon/svg/stopwatch.svg +1 -0
  295. package/dist/collection/components/pds-icon/svg/strikethrough.svg +1 -0
  296. package/dist/collection/components/pds-icon/svg/subscript.svg +1 -0
  297. package/dist/collection/components/pds-icon/svg/subscriptions.svg +1 -0
  298. package/dist/collection/components/pds-icon/svg/super-admin.svg +1 -0
  299. package/dist/collection/components/pds-icon/svg/superscript.svg +1 -0
  300. package/dist/collection/components/pds-icon/svg/sync.svg +1 -0
  301. package/dist/collection/components/pds-icon/svg/tablet-landscape.svg +1 -0
  302. package/dist/collection/components/pds-icon/svg/tablet-portrait.svg +1 -0
  303. package/dist/collection/components/pds-icon/svg/tag-filled.svg +1 -0
  304. package/dist/collection/components/pds-icon/svg/tag.svg +1 -0
  305. package/dist/collection/components/pds-icon/svg/text-styles.svg +1 -0
  306. package/dist/collection/components/pds-icon/svg/theme-store-filled.svg +1 -0
  307. package/dist/collection/components/pds-icon/svg/theme-store.svg +1 -0
  308. package/dist/collection/components/pds-icon/svg/thumb-down-filled.svg +1 -0
  309. package/dist/collection/components/pds-icon/svg/thumb-down.svg +1 -0
  310. package/dist/collection/components/pds-icon/svg/thumb-up-filled.svg +1 -0
  311. package/dist/collection/components/pds-icon/svg/thumb-up.svg +1 -0
  312. package/dist/collection/components/pds-icon/svg/trash.svg +1 -0
  313. package/dist/collection/components/pds-icon/svg/trophy.svg +1 -0
  314. package/dist/collection/components/pds-icon/svg/underline.svg +1 -0
  315. package/dist/collection/components/pds-icon/svg/undo.svg +1 -0
  316. package/dist/collection/components/pds-icon/svg/unlock.svg +1 -0
  317. package/dist/collection/components/pds-icon/svg/unmapped.svg +1 -0
  318. package/dist/collection/components/pds-icon/svg/up-small.svg +1 -0
  319. package/dist/collection/components/pds-icon/svg/upload.svg +1 -0
  320. package/dist/collection/components/pds-icon/svg/url.svg +1 -0
  321. package/dist/collection/components/pds-icon/svg/user-circle-filled.svg +1 -0
  322. package/dist/collection/components/pds-icon/svg/user-circle.svg +1 -0
  323. package/dist/collection/components/pds-icon/svg/user-filled.svg +1 -0
  324. package/dist/collection/components/pds-icon/svg/user-star-filled.svg +1 -0
  325. package/dist/collection/components/pds-icon/svg/user-star.svg +1 -0
  326. package/dist/collection/components/pds-icon/svg/user.svg +1 -0
  327. package/dist/collection/components/pds-icon/svg/users-alt.svg +1 -0
  328. package/dist/collection/components/pds-icon/svg/users-filled.svg +1 -0
  329. package/dist/collection/components/pds-icon/svg/users.svg +1 -0
  330. package/dist/collection/components/pds-icon/svg/video-off.svg +1 -0
  331. package/dist/collection/components/pds-icon/svg/video-on.svg +1 -0
  332. package/dist/collection/components/pds-icon/svg/warning-filled.svg +1 -0
  333. package/dist/collection/components/pds-icon/svg/warning.svg +1 -0
  334. package/dist/collection/components/pds-icon/svg/window-paragraph.svg +1 -0
  335. package/dist/collection/components/pds-icon/svg/world.svg +1 -0
  336. package/dist/collection/components/pds-icon/svg/wrench.svg +1 -0
  337. package/dist/collection/components/pds-icon/test/pds-icon.e2e.js +10 -0
  338. package/dist/collection/components/pds-icon/test/pds-icon.e2e.js.map +1 -0
  339. package/dist/collection/components/pds-icon/test/pds-icon.spec.js +108 -0
  340. package/dist/collection/components/pds-icon/test/pds-icon.spec.js.map +1 -0
  341. package/dist/collection/components/pds-icon/utils.js +95 -0
  342. package/dist/collection/components/pds-icon/utils.js.map +1 -0
  343. package/dist/collection/components/pds-icon/validate.js +46 -0
  344. package/dist/collection/components/pds-icon/validate.js.map +1 -0
  345. package/dist/collection/index.js +2 -0
  346. package/dist/collection/index.js.map +1 -0
  347. package/dist/docs.d.ts +435 -0
  348. package/dist/docs.json +137 -0
  349. package/dist/esm/app-globals-0f993ce5.js +5 -0
  350. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  351. package/dist/esm/index-f28202cc.js +1177 -0
  352. package/dist/esm/index-f28202cc.js.map +1 -0
  353. package/dist/esm/index.js +4 -0
  354. package/dist/esm/index.js.map +1 -0
  355. package/dist/esm/loader.js +13 -0
  356. package/dist/esm/loader.js.map +1 -0
  357. package/dist/esm/pds-icon.entry.js +207 -0
  358. package/dist/esm/pds-icon.entry.js.map +1 -0
  359. package/dist/esm/pds-icons.js +22 -0
  360. package/dist/esm/pds-icons.js.map +1 -0
  361. package/dist/esm/utils-6c036ebc.js +134 -0
  362. package/dist/esm/utils-6c036ebc.js.map +1 -0
  363. package/dist/index.cjs.js +1 -0
  364. package/dist/index.js +1 -0
  365. package/dist/loader/cdn.js +1 -0
  366. package/dist/loader/index.cjs.js +1 -0
  367. package/dist/loader/index.d.ts +21 -0
  368. package/dist/loader/index.es2017.js +1 -0
  369. package/dist/loader/index.js +2 -0
  370. package/dist/loader/package.json +11 -0
  371. package/dist/pds-icons/index.esm.js +2 -0
  372. package/dist/pds-icons/index.esm.js.map +1 -0
  373. package/dist/pds-icons/p-152ef3bc.js +3 -0
  374. package/dist/pds-icons/p-152ef3bc.js.map +1 -0
  375. package/dist/pds-icons/p-9bdf8fd3.entry.js +2 -0
  376. package/dist/pds-icons/p-9bdf8fd3.entry.js.map +1 -0
  377. package/dist/pds-icons/p-e1255160.js +2 -0
  378. package/dist/pds-icons/p-e1255160.js.map +1 -0
  379. package/dist/pds-icons/p-fb6974fd.js +2 -0
  380. package/dist/pds-icons/p-fb6974fd.js.map +1 -0
  381. package/dist/pds-icons/pds-icons.esm.js +2 -0
  382. package/dist/pds-icons/pds-icons.esm.js.map +1 -0
  383. package/dist/pds-icons/svg/access-key.svg +1 -0
  384. package/dist/pds-icons/svg/add-circle.svg +1 -0
  385. package/dist/pds-icons/svg/add-image.svg +1 -0
  386. package/dist/pds-icons/svg/add-small.svg +1 -0
  387. package/dist/pds-icons/svg/add-square.svg +1 -0
  388. package/dist/pds-icons/svg/add.svg +1 -0
  389. package/dist/pds-icons/svg/advanced.svg +1 -0
  390. package/dist/pds-icons/svg/ai-sparkle.svg +1 -0
  391. package/dist/pds-icons/svg/ai-writer-filled.svg +1 -0
  392. package/dist/pds-icons/svg/ai-writer.svg +1 -0
  393. package/dist/pds-icons/svg/align-center.svg +1 -0
  394. package/dist/pds-icons/svg/align-justify.svg +1 -0
  395. package/dist/pds-icons/svg/align-left.svg +1 -0
  396. package/dist/pds-icons/svg/align-right.svg +1 -0
  397. package/dist/pds-icons/svg/app-store.svg +1 -0
  398. package/dist/pds-icons/svg/archive.svg +1 -0
  399. package/dist/pds-icons/svg/arrow-corner.svg +1 -0
  400. package/dist/pds-icons/svg/arrow-down.svg +1 -0
  401. package/dist/pds-icons/svg/arrow-left.svg +1 -0
  402. package/dist/pds-icons/svg/arrow-right.svg +1 -0
  403. package/dist/pds-icons/svg/arrow-up.svg +1 -0
  404. package/dist/pds-icons/svg/assessment.svg +1 -0
  405. package/dist/pds-icons/svg/at-sign.svg +1 -0
  406. package/dist/pds-icons/svg/attach.svg +1 -0
  407. package/dist/pds-icons/svg/automations.svg +1 -0
  408. package/dist/pds-icons/svg/ban.svg +1 -0
  409. package/dist/pds-icons/svg/bank.svg +1 -0
  410. package/dist/pds-icons/svg/bell.svg +1 -0
  411. package/dist/pds-icons/svg/block.svg +1 -0
  412. package/dist/pds-icons/svg/blog-filled.svg +1 -0
  413. package/dist/pds-icons/svg/blog.svg +1 -0
  414. package/dist/pds-icons/svg/bold.svg +1 -0
  415. package/dist/pds-icons/svg/broadcast.svg +1 -0
  416. package/dist/pds-icons/svg/button.svg +1 -0
  417. package/dist/pds-icons/svg/calendar-date.svg +1 -0
  418. package/dist/pds-icons/svg/calendar-schedule.svg +1 -0
  419. package/dist/pds-icons/svg/calendar-simple.svg +1 -0
  420. package/dist/pds-icons/svg/card-amex.svg +1 -0
  421. package/dist/pds-icons/svg/card-android.svg +1 -0
  422. package/dist/pds-icons/svg/card-apple.svg +1 -0
  423. package/dist/pds-icons/svg/card-diners-club.svg +1 -0
  424. package/dist/pds-icons/svg/card-discover.svg +1 -0
  425. package/dist/pds-icons/svg/card-generic.svg +1 -0
  426. package/dist/pds-icons/svg/card-gpay.svg +1 -0
  427. package/dist/pds-icons/svg/card-mastercard.svg +1 -0
  428. package/dist/pds-icons/svg/card-paypal.svg +1 -0
  429. package/dist/pds-icons/svg/card-stripe.svg +1 -0
  430. package/dist/pds-icons/svg/card-update.svg +1 -0
  431. package/dist/pds-icons/svg/card-visa.svg +1 -0
  432. package/dist/pds-icons/svg/caret-down.svg +1 -0
  433. package/dist/pds-icons/svg/caret-left.svg +1 -0
  434. package/dist/pds-icons/svg/caret-right.svg +1 -0
  435. package/dist/pds-icons/svg/caret-up.svg +1 -0
  436. package/dist/pds-icons/svg/cart-add.svg +1 -0
  437. package/dist/pds-icons/svg/cart.svg +1 -0
  438. package/dist/pds-icons/svg/certificate.svg +1 -0
  439. package/dist/pds-icons/svg/chart-filled.svg +1 -0
  440. package/dist/pds-icons/svg/chart.svg +1 -0
  441. package/dist/pds-icons/svg/check-circle-filled.svg +1 -0
  442. package/dist/pds-icons/svg/check-circle.svg +1 -0
  443. package/dist/pds-icons/svg/check.svg +1 -0
  444. package/dist/pds-icons/svg/circle-1.svg +1 -0
  445. package/dist/pds-icons/svg/circle-2.svg +1 -0
  446. package/dist/pds-icons/svg/circle-3.svg +1 -0
  447. package/dist/pds-icons/svg/circle-4.svg +1 -0
  448. package/dist/pds-icons/svg/circle-5.svg +1 -0
  449. package/dist/pds-icons/svg/circle-6.svg +1 -0
  450. package/dist/pds-icons/svg/circle-7.svg +1 -0
  451. package/dist/pds-icons/svg/circle-8.svg +1 -0
  452. package/dist/pds-icons/svg/circle-9.svg +1 -0
  453. package/dist/pds-icons/svg/circle-a.svg +1 -0
  454. package/dist/pds-icons/svg/circle-b.svg +1 -0
  455. package/dist/pds-icons/svg/circle-dashed.svg +1 -0
  456. package/dist/pds-icons/svg/clock.svg +1 -0
  457. package/dist/pds-icons/svg/closed-captions.svg +1 -0
  458. package/dist/pds-icons/svg/cloud-upload.svg +1 -0
  459. package/dist/pds-icons/svg/code-block.svg +1 -0
  460. package/dist/pds-icons/svg/code.svg +1 -0
  461. package/dist/pds-icons/svg/color.svg +1 -0
  462. package/dist/pds-icons/svg/columns.svg +1 -0
  463. package/dist/pds-icons/svg/comment-no.svg +1 -0
  464. package/dist/pds-icons/svg/comment.svg +1 -0
  465. package/dist/pds-icons/svg/connect.svg +1 -0
  466. package/dist/pds-icons/svg/contact.svg +1 -0
  467. package/dist/pds-icons/svg/conversation.svg +1 -0
  468. package/dist/pds-icons/svg/copy.svg +1 -0
  469. package/dist/pds-icons/svg/coupon.svg +1 -0
  470. package/dist/pds-icons/svg/course-filled.svg +1 -0
  471. package/dist/pds-icons/svg/course.svg +1 -0
  472. package/dist/pds-icons/svg/creator-studio-filled.svg +1 -0
  473. package/dist/pds-icons/svg/creator-studio.svg +1 -0
  474. package/dist/pds-icons/svg/cursor-pointer.svg +1 -0
  475. package/dist/pds-icons/svg/cursor.svg +1 -0
  476. package/dist/pds-icons/svg/custom-field.svg +1 -0
  477. package/dist/pds-icons/svg/customize.svg +1 -0
  478. package/dist/pds-icons/svg/danger-filled.svg +1 -0
  479. package/dist/pds-icons/svg/danger.svg +1 -0
  480. package/dist/pds-icons/svg/delete-circle.svg +1 -0
  481. package/dist/pds-icons/svg/delete-key.svg +1 -0
  482. package/dist/pds-icons/svg/delete-x.svg +1 -0
  483. package/dist/pds-icons/svg/dollar.svg +1 -0
  484. package/dist/pds-icons/svg/dot-menu-horizontal.svg +1 -0
  485. package/dist/pds-icons/svg/down-small.svg +1 -0
  486. package/dist/pds-icons/svg/download.svg +1 -0
  487. package/dist/pds-icons/svg/downsell.svg +1 -0
  488. package/dist/pds-icons/svg/draft.svg +1 -0
  489. package/dist/pds-icons/svg/drawer-collapse.svg +1 -0
  490. package/dist/pds-icons/svg/drawer-expand.svg +1 -0
  491. package/dist/pds-icons/svg/drop.svg +1 -0
  492. package/dist/pds-icons/svg/duplicate.svg +1 -0
  493. package/dist/pds-icons/svg/editor-filled.svg +1 -0
  494. package/dist/pds-icons/svg/editor.svg +1 -0
  495. package/dist/pds-icons/svg/email-activity.svg +1 -0
  496. package/dist/pds-icons/svg/emoji.svg +1 -0
  497. package/dist/pds-icons/svg/enlarge-vertical.svg +1 -0
  498. package/dist/pds-icons/svg/enlarge.svg +1 -0
  499. package/dist/pds-icons/svg/expand.svg +1 -0
  500. package/dist/pds-icons/svg/favorite.svg +1 -0
  501. package/dist/pds-icons/svg/feedback.svg +1 -0
  502. package/dist/pds-icons/svg/file-money.svg +1 -0
  503. package/dist/pds-icons/svg/file.svg +1 -0
  504. package/dist/pds-icons/svg/filter.svg +1 -0
  505. package/dist/pds-icons/svg/flag.svg +1 -0
  506. package/dist/pds-icons/svg/flash-filled.svg +1 -0
  507. package/dist/pds-icons/svg/flash.svg +1 -0
  508. package/dist/pds-icons/svg/floppy-disk.svg +1 -0
  509. package/dist/pds-icons/svg/folder-group.svg +1 -0
  510. package/dist/pds-icons/svg/folder.svg +1 -0
  511. package/dist/pds-icons/svg/form-field.svg +1 -0
  512. package/dist/pds-icons/svg/form-filled.svg +1 -0
  513. package/dist/pds-icons/svg/form.svg +1 -0
  514. package/dist/pds-icons/svg/fullscreen.svg +1 -0
  515. package/dist/pds-icons/svg/funnel.svg +1 -0
  516. package/dist/pds-icons/svg/gear-filled.svg +1 -0
  517. package/dist/pds-icons/svg/gear.svg +1 -0
  518. package/dist/pds-icons/svg/grant-offer.svg +1 -0
  519. package/dist/pds-icons/svg/handle-2-vertical.svg +1 -0
  520. package/dist/pds-icons/svg/handle-2.svg +1 -0
  521. package/dist/pds-icons/svg/handle.svg +1 -0
  522. package/dist/pds-icons/svg/hashtag.svg +1 -0
  523. package/dist/pds-icons/svg/hd-video.svg +1 -0
  524. package/dist/pds-icons/svg/heading-1.svg +1 -0
  525. package/dist/pds-icons/svg/heading-2.svg +1 -0
  526. package/dist/pds-icons/svg/heading-3.svg +1 -0
  527. package/dist/pds-icons/svg/heading-4.svg +1 -0
  528. package/dist/pds-icons/svg/heading-5.svg +1 -0
  529. package/dist/pds-icons/svg/heading-6.svg +1 -0
  530. package/dist/pds-icons/svg/heading-large.svg +1 -0
  531. package/dist/pds-icons/svg/heading-small.svg +1 -0
  532. package/dist/pds-icons/svg/headset.svg +1 -0
  533. package/dist/pds-icons/svg/help-filled.svg +1 -0
  534. package/dist/pds-icons/svg/help.svg +1 -0
  535. package/dist/pds-icons/svg/home-alt.svg +1 -0
  536. package/dist/pds-icons/svg/home-filled.svg +1 -0
  537. package/dist/pds-icons/svg/home.svg +1 -0
  538. package/dist/pds-icons/svg/horizontal-line.svg +1 -0
  539. package/dist/pds-icons/svg/image.svg +1 -0
  540. package/dist/pds-icons/svg/info-circle-filled.svg +1 -0
  541. package/dist/pds-icons/svg/info-circle.svg +1 -0
  542. package/dist/pds-icons/svg/ios-battery.svg +1 -0
  543. package/dist/pds-icons/svg/ios-data.svg +1 -0
  544. package/dist/pds-icons/svg/ios-wifi.svg +1 -0
  545. package/dist/pds-icons/svg/italic.svg +1 -0
  546. package/dist/pds-icons/svg/kajabi-filled.svg +1 -0
  547. package/dist/pds-icons/svg/kajabi.svg +1 -0
  548. package/dist/pds-icons/svg/klarna.svg +1 -0
  549. package/dist/pds-icons/svg/lab.svg +1 -0
  550. package/dist/pds-icons/svg/launch.svg +1 -0
  551. package/dist/pds-icons/svg/layout-grid.svg +1 -0
  552. package/dist/pds-icons/svg/layout-list.svg +1 -0
  553. package/dist/pds-icons/svg/left-small.svg +1 -0
  554. package/dist/pds-icons/svg/list-bullet.svg +1 -0
  555. package/dist/pds-icons/svg/list-details.svg +1 -0
  556. package/dist/pds-icons/svg/list-numbers.svg +1 -0
  557. package/dist/pds-icons/svg/location.svg +1 -0
  558. package/dist/pds-icons/svg/lock-alt.svg +1 -0
  559. package/dist/pds-icons/svg/lock.svg +1 -0
  560. package/dist/pds-icons/svg/logo-afterpay.svg +1 -0
  561. package/dist/pds-icons/svg/logo-facebook-round.svg +1 -0
  562. package/dist/pds-icons/svg/logo-facebook.svg +1 -0
  563. package/dist/pds-icons/svg/logo-instagram.svg +1 -0
  564. package/dist/pds-icons/svg/logo-linkedin.svg +1 -0
  565. package/dist/pds-icons/svg/logo-tiktok.svg +1 -0
  566. package/dist/pds-icons/svg/logo-twitter-x.svg +1 -0
  567. package/dist/pds-icons/svg/logo-twitter.svg +1 -0
  568. package/dist/pds-icons/svg/logo-youtube.svg +1 -0
  569. package/dist/pds-icons/svg/loop.svg +1 -0
  570. package/dist/pds-icons/svg/mail-filled.svg +1 -0
  571. package/dist/pds-icons/svg/mail-open.svg +1 -0
  572. package/dist/pds-icons/svg/mail.svg +1 -0
  573. package/dist/pds-icons/svg/map.svg +1 -0
  574. package/dist/pds-icons/svg/mapped.svg +1 -0
  575. package/dist/pds-icons/svg/margin-left.svg +1 -0
  576. package/dist/pds-icons/svg/margin-right.svg +1 -0
  577. package/dist/pds-icons/svg/marker-filled.svg +1 -0
  578. package/dist/pds-icons/svg/marker.svg +1 -0
  579. package/dist/pds-icons/svg/megaphone-filled.svg +1 -0
  580. package/dist/pds-icons/svg/megaphone.svg +1 -0
  581. package/dist/pds-icons/svg/menu-alt.svg +1 -0
  582. package/dist/pds-icons/svg/menu-bordered.svg +1 -0
  583. package/dist/pds-icons/svg/menu.svg +1 -0
  584. package/dist/pds-icons/svg/merge.svg +1 -0
  585. package/dist/pds-icons/svg/microphone-off.svg +1 -0
  586. package/dist/pds-icons/svg/microphone.svg +1 -0
  587. package/dist/pds-icons/svg/monitor-filled.svg +1 -0
  588. package/dist/pds-icons/svg/monitor.svg +1 -0
  589. package/dist/pds-icons/svg/more-menu-filled.svg +1 -0
  590. package/dist/pds-icons/svg/more-menu.svg +1 -0
  591. package/dist/pds-icons/svg/move-left.svg +1 -0
  592. package/dist/pds-icons/svg/move-right.svg +1 -0
  593. package/dist/pds-icons/svg/multi-pay.svg +1 -0
  594. package/dist/pds-icons/svg/newsletter-2.svg +1 -0
  595. package/dist/pds-icons/svg/newsletter.svg +1 -0
  596. package/dist/pds-icons/svg/one-off-session.svg +1 -0
  597. package/dist/pds-icons/svg/one-time.svg +1 -0
  598. package/dist/pds-icons/svg/packages.svg +1 -0
  599. package/dist/pds-icons/svg/pause-circle.svg +1 -0
  600. package/dist/pds-icons/svg/pause.svg +1 -0
  601. package/dist/pds-icons/svg/payout.svg +1 -0
  602. package/dist/pds-icons/svg/pen.svg +1 -0
  603. package/dist/pds-icons/svg/phone-portrait.svg +1 -0
  604. package/dist/pds-icons/svg/phone-toolbar-filled.svg +1 -0
  605. package/dist/pds-icons/svg/phone-toolbar.svg +1 -0
  606. package/dist/pds-icons/svg/play-circle.svg +1 -0
  607. package/dist/pds-icons/svg/play-outline.svg +1 -0
  608. package/dist/pds-icons/svg/play-store.svg +1 -0
  609. package/dist/pds-icons/svg/play.svg +1 -0
  610. package/dist/pds-icons/svg/plug.svg +1 -0
  611. package/dist/pds-icons/svg/premium.svg +1 -0
  612. package/dist/pds-icons/svg/present.svg +1 -0
  613. package/dist/pds-icons/svg/preview-off.svg +1 -0
  614. package/dist/pds-icons/svg/preview-on.svg +1 -0
  615. package/dist/pds-icons/svg/product-filled.svg +1 -0
  616. package/dist/pds-icons/svg/product.svg +1 -0
  617. package/dist/pds-icons/svg/question-circle.svg +1 -0
  618. package/dist/pds-icons/svg/quote.svg +1 -0
  619. package/dist/pds-icons/svg/redo.svg +1 -0
  620. package/dist/pds-icons/svg/refresh.svg +1 -0
  621. package/dist/pds-icons/svg/remove-circle.svg +1 -0
  622. package/dist/pds-icons/svg/remove.svg +1 -0
  623. package/dist/pds-icons/svg/rename.svg +1 -0
  624. package/dist/pds-icons/svg/reset-password.svg +1 -0
  625. package/dist/pds-icons/svg/restore.svg +1 -0
  626. package/dist/pds-icons/svg/right-small.svg +1 -0
  627. package/dist/pds-icons/svg/rocket-filled.svg +1 -0
  628. package/dist/pds-icons/svg/rocket.svg +1 -0
  629. package/dist/pds-icons/svg/round-dollar.svg +1 -0
  630. package/dist/pds-icons/svg/rows.svg +1 -0
  631. package/dist/pds-icons/svg/scissor.svg +1 -0
  632. package/dist/pds-icons/svg/screen-share-off.svg +1 -0
  633. package/dist/pds-icons/svg/screen-share-on.svg +1 -0
  634. package/dist/pds-icons/svg/search-small.svg +1 -0
  635. package/dist/pds-icons/svg/search.svg +1 -0
  636. package/dist/pds-icons/svg/send-message.svg +1 -0
  637. package/dist/pds-icons/svg/sequences.svg +1 -0
  638. package/dist/pds-icons/svg/share.svg +1 -0
  639. package/dist/pds-icons/svg/skipped.svg +1 -0
  640. package/dist/pds-icons/svg/slash-divider.svg +1 -0
  641. package/dist/pds-icons/svg/speaker.svg +1 -0
  642. package/dist/pds-icons/svg/stack.svg +1 -0
  643. package/dist/pds-icons/svg/star.svg +1 -0
  644. package/dist/pds-icons/svg/stop.svg +1 -0
  645. package/dist/pds-icons/svg/stopwatch.svg +1 -0
  646. package/dist/pds-icons/svg/strikethrough.svg +1 -0
  647. package/dist/pds-icons/svg/subscript.svg +1 -0
  648. package/dist/pds-icons/svg/subscriptions.svg +1 -0
  649. package/dist/pds-icons/svg/super-admin.svg +1 -0
  650. package/dist/pds-icons/svg/superscript.svg +1 -0
  651. package/dist/pds-icons/svg/sync.svg +1 -0
  652. package/dist/pds-icons/svg/tablet-landscape.svg +1 -0
  653. package/dist/pds-icons/svg/tablet-portrait.svg +1 -0
  654. package/dist/pds-icons/svg/tag-filled.svg +1 -0
  655. package/dist/pds-icons/svg/tag.svg +1 -0
  656. package/dist/pds-icons/svg/text-styles.svg +1 -0
  657. package/dist/pds-icons/svg/theme-store-filled.svg +1 -0
  658. package/dist/pds-icons/svg/theme-store.svg +1 -0
  659. package/dist/pds-icons/svg/thumb-down-filled.svg +1 -0
  660. package/dist/pds-icons/svg/thumb-down.svg +1 -0
  661. package/dist/pds-icons/svg/thumb-up-filled.svg +1 -0
  662. package/dist/pds-icons/svg/thumb-up.svg +1 -0
  663. package/dist/pds-icons/svg/trash.svg +1 -0
  664. package/dist/pds-icons/svg/trophy.svg +1 -0
  665. package/dist/pds-icons/svg/underline.svg +1 -0
  666. package/dist/pds-icons/svg/undo.svg +1 -0
  667. package/dist/pds-icons/svg/unlock.svg +1 -0
  668. package/dist/pds-icons/svg/unmapped.svg +1 -0
  669. package/dist/pds-icons/svg/up-small.svg +1 -0
  670. package/dist/pds-icons/svg/upload.svg +1 -0
  671. package/dist/pds-icons/svg/url.svg +1 -0
  672. package/dist/pds-icons/svg/user-circle-filled.svg +1 -0
  673. package/dist/pds-icons/svg/user-circle.svg +1 -0
  674. package/dist/pds-icons/svg/user-filled.svg +1 -0
  675. package/dist/pds-icons/svg/user-star-filled.svg +1 -0
  676. package/dist/pds-icons/svg/user-star.svg +1 -0
  677. package/dist/pds-icons/svg/user.svg +1 -0
  678. package/dist/pds-icons/svg/users-alt.svg +1 -0
  679. package/dist/pds-icons/svg/users-filled.svg +1 -0
  680. package/dist/pds-icons/svg/users.svg +1 -0
  681. package/dist/pds-icons/svg/video-off.svg +1 -0
  682. package/dist/pds-icons/svg/video-on.svg +1 -0
  683. package/dist/pds-icons/svg/warning-filled.svg +1 -0
  684. package/dist/pds-icons/svg/warning.svg +1 -0
  685. package/dist/pds-icons/svg/window-paragraph.svg +1 -0
  686. package/dist/pds-icons/svg/world.svg +1 -0
  687. package/dist/pds-icons/svg/wrench.svg +1 -0
  688. package/dist/pds-icons.json +4852 -0
  689. package/dist/pds-icons.symbols.svg +318 -0
  690. package/dist/svg/access-key.svg +1 -0
  691. package/dist/svg/add-circle.svg +1 -0
  692. package/dist/svg/add-image.svg +1 -0
  693. package/dist/svg/add-small.svg +1 -0
  694. package/dist/svg/add-square.svg +1 -0
  695. package/dist/svg/add.svg +1 -0
  696. package/dist/svg/advanced.svg +1 -0
  697. package/dist/svg/ai-sparkle.svg +1 -0
  698. package/dist/svg/ai-writer-filled.svg +1 -0
  699. package/dist/svg/ai-writer.svg +1 -0
  700. package/dist/svg/align-center.svg +1 -0
  701. package/dist/svg/align-justify.svg +1 -0
  702. package/dist/svg/align-left.svg +1 -0
  703. package/dist/svg/align-right.svg +1 -0
  704. package/dist/svg/app-store.svg +1 -0
  705. package/dist/svg/archive.svg +1 -0
  706. package/dist/svg/arrow-corner.svg +1 -0
  707. package/dist/svg/arrow-down.svg +1 -0
  708. package/dist/svg/arrow-left.svg +1 -0
  709. package/dist/svg/arrow-right.svg +1 -0
  710. package/dist/svg/arrow-up.svg +1 -0
  711. package/dist/svg/assessment.svg +1 -0
  712. package/dist/svg/at-sign.svg +1 -0
  713. package/dist/svg/attach.svg +1 -0
  714. package/dist/svg/automations.svg +1 -0
  715. package/dist/svg/ban.svg +1 -0
  716. package/dist/svg/bank.svg +1 -0
  717. package/dist/svg/bell.svg +1 -0
  718. package/dist/svg/block.svg +1 -0
  719. package/dist/svg/blog-filled.svg +1 -0
  720. package/dist/svg/blog.svg +1 -0
  721. package/dist/svg/bold.svg +1 -0
  722. package/dist/svg/broadcast.svg +1 -0
  723. package/dist/svg/button.svg +1 -0
  724. package/dist/svg/calendar-date.svg +1 -0
  725. package/dist/svg/calendar-schedule.svg +1 -0
  726. package/dist/svg/calendar-simple.svg +1 -0
  727. package/dist/svg/card-amex.svg +1 -0
  728. package/dist/svg/card-android.svg +1 -0
  729. package/dist/svg/card-apple.svg +1 -0
  730. package/dist/svg/card-diners-club.svg +1 -0
  731. package/dist/svg/card-discover.svg +1 -0
  732. package/dist/svg/card-generic.svg +1 -0
  733. package/dist/svg/card-gpay.svg +1 -0
  734. package/dist/svg/card-mastercard.svg +1 -0
  735. package/dist/svg/card-paypal.svg +1 -0
  736. package/dist/svg/card-stripe.svg +1 -0
  737. package/dist/svg/card-update.svg +1 -0
  738. package/dist/svg/card-visa.svg +1 -0
  739. package/dist/svg/caret-down.svg +1 -0
  740. package/dist/svg/caret-left.svg +1 -0
  741. package/dist/svg/caret-right.svg +1 -0
  742. package/dist/svg/caret-up.svg +1 -0
  743. package/dist/svg/cart-add.svg +1 -0
  744. package/dist/svg/cart.svg +1 -0
  745. package/dist/svg/certificate.svg +1 -0
  746. package/dist/svg/chart-filled.svg +1 -0
  747. package/dist/svg/chart.svg +1 -0
  748. package/dist/svg/check-circle-filled.svg +1 -0
  749. package/dist/svg/check-circle.svg +1 -0
  750. package/dist/svg/check.svg +1 -0
  751. package/dist/svg/circle-1.svg +1 -0
  752. package/dist/svg/circle-2.svg +1 -0
  753. package/dist/svg/circle-3.svg +1 -0
  754. package/dist/svg/circle-4.svg +1 -0
  755. package/dist/svg/circle-5.svg +1 -0
  756. package/dist/svg/circle-6.svg +1 -0
  757. package/dist/svg/circle-7.svg +1 -0
  758. package/dist/svg/circle-8.svg +1 -0
  759. package/dist/svg/circle-9.svg +1 -0
  760. package/dist/svg/circle-a.svg +1 -0
  761. package/dist/svg/circle-b.svg +1 -0
  762. package/dist/svg/circle-dashed.svg +1 -0
  763. package/dist/svg/clock.svg +1 -0
  764. package/dist/svg/closed-captions.svg +1 -0
  765. package/dist/svg/cloud-upload.svg +1 -0
  766. package/dist/svg/code-block.svg +1 -0
  767. package/dist/svg/code.svg +1 -0
  768. package/dist/svg/color.svg +1 -0
  769. package/dist/svg/columns.svg +1 -0
  770. package/dist/svg/comment-no.svg +1 -0
  771. package/dist/svg/comment.svg +1 -0
  772. package/dist/svg/connect.svg +1 -0
  773. package/dist/svg/contact.svg +1 -0
  774. package/dist/svg/conversation.svg +1 -0
  775. package/dist/svg/copy.svg +1 -0
  776. package/dist/svg/coupon.svg +1 -0
  777. package/dist/svg/course-filled.svg +1 -0
  778. package/dist/svg/course.svg +1 -0
  779. package/dist/svg/creator-studio-filled.svg +1 -0
  780. package/dist/svg/creator-studio.svg +1 -0
  781. package/dist/svg/cursor-pointer.svg +1 -0
  782. package/dist/svg/cursor.svg +1 -0
  783. package/dist/svg/custom-field.svg +1 -0
  784. package/dist/svg/customize.svg +1 -0
  785. package/dist/svg/danger-filled.svg +1 -0
  786. package/dist/svg/danger.svg +1 -0
  787. package/dist/svg/delete-circle.svg +1 -0
  788. package/dist/svg/delete-key.svg +1 -0
  789. package/dist/svg/delete-x.svg +1 -0
  790. package/dist/svg/dollar.svg +1 -0
  791. package/dist/svg/dot-menu-horizontal.svg +1 -0
  792. package/dist/svg/down-small.svg +1 -0
  793. package/dist/svg/download.svg +1 -0
  794. package/dist/svg/downsell.svg +1 -0
  795. package/dist/svg/draft.svg +1 -0
  796. package/dist/svg/drawer-collapse.svg +1 -0
  797. package/dist/svg/drawer-expand.svg +1 -0
  798. package/dist/svg/drop.svg +1 -0
  799. package/dist/svg/duplicate.svg +1 -0
  800. package/dist/svg/editor-filled.svg +1 -0
  801. package/dist/svg/editor.svg +1 -0
  802. package/dist/svg/email-activity.svg +1 -0
  803. package/dist/svg/emoji.svg +1 -0
  804. package/dist/svg/enlarge-vertical.svg +1 -0
  805. package/dist/svg/enlarge.svg +1 -0
  806. package/dist/svg/expand.svg +1 -0
  807. package/dist/svg/favorite.svg +1 -0
  808. package/dist/svg/feedback.svg +1 -0
  809. package/dist/svg/file-money.svg +1 -0
  810. package/dist/svg/file.svg +1 -0
  811. package/dist/svg/filter.svg +1 -0
  812. package/dist/svg/flag.svg +1 -0
  813. package/dist/svg/flash-filled.svg +1 -0
  814. package/dist/svg/flash.svg +1 -0
  815. package/dist/svg/floppy-disk.svg +1 -0
  816. package/dist/svg/folder-group.svg +1 -0
  817. package/dist/svg/folder.svg +1 -0
  818. package/dist/svg/form-field.svg +1 -0
  819. package/dist/svg/form-filled.svg +1 -0
  820. package/dist/svg/form.svg +1 -0
  821. package/dist/svg/fullscreen.svg +1 -0
  822. package/dist/svg/funnel.svg +1 -0
  823. package/dist/svg/gear-filled.svg +1 -0
  824. package/dist/svg/gear.svg +1 -0
  825. package/dist/svg/grant-offer.svg +1 -0
  826. package/dist/svg/handle-2-vertical.svg +1 -0
  827. package/dist/svg/handle-2.svg +1 -0
  828. package/dist/svg/handle.svg +1 -0
  829. package/dist/svg/hashtag.svg +1 -0
  830. package/dist/svg/hd-video.svg +1 -0
  831. package/dist/svg/heading-1.svg +1 -0
  832. package/dist/svg/heading-2.svg +1 -0
  833. package/dist/svg/heading-3.svg +1 -0
  834. package/dist/svg/heading-4.svg +1 -0
  835. package/dist/svg/heading-5.svg +1 -0
  836. package/dist/svg/heading-6.svg +1 -0
  837. package/dist/svg/heading-large.svg +1 -0
  838. package/dist/svg/heading-small.svg +1 -0
  839. package/dist/svg/headset.svg +1 -0
  840. package/dist/svg/help-filled.svg +1 -0
  841. package/dist/svg/help.svg +1 -0
  842. package/dist/svg/home-alt.svg +1 -0
  843. package/dist/svg/home-filled.svg +1 -0
  844. package/dist/svg/home.svg +1 -0
  845. package/dist/svg/horizontal-line.svg +1 -0
  846. package/dist/svg/image.svg +1 -0
  847. package/dist/svg/info-circle-filled.svg +1 -0
  848. package/dist/svg/info-circle.svg +1 -0
  849. package/dist/svg/ios-battery.svg +1 -0
  850. package/dist/svg/ios-data.svg +1 -0
  851. package/dist/svg/ios-wifi.svg +1 -0
  852. package/dist/svg/italic.svg +1 -0
  853. package/dist/svg/kajabi-filled.svg +1 -0
  854. package/dist/svg/kajabi.svg +1 -0
  855. package/dist/svg/klarna.svg +1 -0
  856. package/dist/svg/lab.svg +1 -0
  857. package/dist/svg/launch.svg +1 -0
  858. package/dist/svg/layout-grid.svg +1 -0
  859. package/dist/svg/layout-list.svg +1 -0
  860. package/dist/svg/left-small.svg +1 -0
  861. package/dist/svg/list-bullet.svg +1 -0
  862. package/dist/svg/list-details.svg +1 -0
  863. package/dist/svg/list-numbers.svg +1 -0
  864. package/dist/svg/location.svg +1 -0
  865. package/dist/svg/lock-alt.svg +1 -0
  866. package/dist/svg/lock.svg +1 -0
  867. package/dist/svg/logo-afterpay.svg +1 -0
  868. package/dist/svg/logo-facebook-round.svg +1 -0
  869. package/dist/svg/logo-facebook.svg +1 -0
  870. package/dist/svg/logo-instagram.svg +1 -0
  871. package/dist/svg/logo-linkedin.svg +1 -0
  872. package/dist/svg/logo-tiktok.svg +1 -0
  873. package/dist/svg/logo-twitter-x.svg +1 -0
  874. package/dist/svg/logo-twitter.svg +1 -0
  875. package/dist/svg/logo-youtube.svg +1 -0
  876. package/dist/svg/loop.svg +1 -0
  877. package/dist/svg/mail-filled.svg +1 -0
  878. package/dist/svg/mail-open.svg +1 -0
  879. package/dist/svg/mail.svg +1 -0
  880. package/dist/svg/map.svg +1 -0
  881. package/dist/svg/mapped.svg +1 -0
  882. package/dist/svg/margin-left.svg +1 -0
  883. package/dist/svg/margin-right.svg +1 -0
  884. package/dist/svg/marker-filled.svg +1 -0
  885. package/dist/svg/marker.svg +1 -0
  886. package/dist/svg/megaphone-filled.svg +1 -0
  887. package/dist/svg/megaphone.svg +1 -0
  888. package/dist/svg/menu-alt.svg +1 -0
  889. package/dist/svg/menu-bordered.svg +1 -0
  890. package/dist/svg/menu.svg +1 -0
  891. package/dist/svg/merge.svg +1 -0
  892. package/dist/svg/microphone-off.svg +1 -0
  893. package/dist/svg/microphone.svg +1 -0
  894. package/dist/svg/monitor-filled.svg +1 -0
  895. package/dist/svg/monitor.svg +1 -0
  896. package/dist/svg/more-menu-filled.svg +1 -0
  897. package/dist/svg/more-menu.svg +1 -0
  898. package/dist/svg/move-left.svg +1 -0
  899. package/dist/svg/move-right.svg +1 -0
  900. package/dist/svg/multi-pay.svg +1 -0
  901. package/dist/svg/newsletter-2.svg +1 -0
  902. package/dist/svg/newsletter.svg +1 -0
  903. package/dist/svg/one-off-session.svg +1 -0
  904. package/dist/svg/one-time.svg +1 -0
  905. package/dist/svg/packages.svg +1 -0
  906. package/dist/svg/pause-circle.svg +1 -0
  907. package/dist/svg/pause.svg +1 -0
  908. package/dist/svg/payout.svg +1 -0
  909. package/dist/svg/pen.svg +1 -0
  910. package/dist/svg/phone-portrait.svg +1 -0
  911. package/dist/svg/phone-toolbar-filled.svg +1 -0
  912. package/dist/svg/phone-toolbar.svg +1 -0
  913. package/dist/svg/play-circle.svg +1 -0
  914. package/dist/svg/play-outline.svg +1 -0
  915. package/dist/svg/play-store.svg +1 -0
  916. package/dist/svg/play.svg +1 -0
  917. package/dist/svg/plug.svg +1 -0
  918. package/dist/svg/premium.svg +1 -0
  919. package/dist/svg/present.svg +1 -0
  920. package/dist/svg/preview-off.svg +1 -0
  921. package/dist/svg/preview-on.svg +1 -0
  922. package/dist/svg/product-filled.svg +1 -0
  923. package/dist/svg/product.svg +1 -0
  924. package/dist/svg/question-circle.svg +1 -0
  925. package/dist/svg/quote.svg +1 -0
  926. package/dist/svg/redo.svg +1 -0
  927. package/dist/svg/refresh.svg +1 -0
  928. package/dist/svg/remove-circle.svg +1 -0
  929. package/dist/svg/remove.svg +1 -0
  930. package/dist/svg/rename.svg +1 -0
  931. package/dist/svg/reset-password.svg +1 -0
  932. package/dist/svg/restore.svg +1 -0
  933. package/dist/svg/right-small.svg +1 -0
  934. package/dist/svg/rocket-filled.svg +1 -0
  935. package/dist/svg/rocket.svg +1 -0
  936. package/dist/svg/round-dollar.svg +1 -0
  937. package/dist/svg/rows.svg +1 -0
  938. package/dist/svg/scissor.svg +1 -0
  939. package/dist/svg/screen-share-off.svg +1 -0
  940. package/dist/svg/screen-share-on.svg +1 -0
  941. package/dist/svg/search-small.svg +1 -0
  942. package/dist/svg/search.svg +1 -0
  943. package/dist/svg/send-message.svg +1 -0
  944. package/dist/svg/sequences.svg +1 -0
  945. package/dist/svg/share.svg +1 -0
  946. package/dist/svg/skipped.svg +1 -0
  947. package/dist/svg/slash-divider.svg +1 -0
  948. package/dist/svg/speaker.svg +1 -0
  949. package/dist/svg/stack.svg +1 -0
  950. package/dist/svg/star.svg +1 -0
  951. package/dist/svg/stop.svg +1 -0
  952. package/dist/svg/stopwatch.svg +1 -0
  953. package/dist/svg/strikethrough.svg +1 -0
  954. package/dist/svg/subscript.svg +1 -0
  955. package/dist/svg/subscriptions.svg +1 -0
  956. package/dist/svg/super-admin.svg +1 -0
  957. package/dist/svg/superscript.svg +1 -0
  958. package/dist/svg/sync.svg +1 -0
  959. package/dist/svg/tablet-landscape.svg +1 -0
  960. package/dist/svg/tablet-portrait.svg +1 -0
  961. package/dist/svg/tag-filled.svg +1 -0
  962. package/dist/svg/tag.svg +1 -0
  963. package/dist/svg/text-styles.svg +1 -0
  964. package/dist/svg/theme-store-filled.svg +1 -0
  965. package/dist/svg/theme-store.svg +1 -0
  966. package/dist/svg/thumb-down-filled.svg +1 -0
  967. package/dist/svg/thumb-down.svg +1 -0
  968. package/dist/svg/thumb-up-filled.svg +1 -0
  969. package/dist/svg/thumb-up.svg +1 -0
  970. package/dist/svg/trash.svg +1 -0
  971. package/dist/svg/trophy.svg +1 -0
  972. package/dist/svg/underline.svg +1 -0
  973. package/dist/svg/undo.svg +1 -0
  974. package/dist/svg/unlock.svg +1 -0
  975. package/dist/svg/unmapped.svg +1 -0
  976. package/dist/svg/up-small.svg +1 -0
  977. package/dist/svg/upload.svg +1 -0
  978. package/dist/svg/url.svg +1 -0
  979. package/dist/svg/user-circle-filled.svg +1 -0
  980. package/dist/svg/user-circle.svg +1 -0
  981. package/dist/svg/user-filled.svg +1 -0
  982. package/dist/svg/user-star-filled.svg +1 -0
  983. package/dist/svg/user-star.svg +1 -0
  984. package/dist/svg/user.svg +1 -0
  985. package/dist/svg/users-alt.svg +1 -0
  986. package/dist/svg/users-filled.svg +1 -0
  987. package/dist/svg/users.svg +1 -0
  988. package/dist/svg/video-off.svg +1 -0
  989. package/dist/svg/video-on.svg +1 -0
  990. package/dist/svg/warning-filled.svg +1 -0
  991. package/dist/svg/warning.svg +1 -0
  992. package/dist/svg/window-paragraph.svg +1 -0
  993. package/dist/svg/world.svg +1 -0
  994. package/dist/svg/wrench.svg +1 -0
  995. package/dist/types/components/pds-icon/assetPath.d.ts +16 -0
  996. package/dist/types/components/pds-icon/pds-icon.d.ts +48 -0
  997. package/dist/types/components/pds-icon/request.d.ts +2 -0
  998. package/dist/types/components/pds-icon/utils.d.ts +24 -0
  999. package/dist/types/components/pds-icon/validate.d.ts +4 -0
  1000. package/dist/types/components.d.ts +87 -0
  1001. package/dist/types/index.d.ts +2 -0
  1002. package/dist/types/stencil-public-runtime.d.ts +1676 -0
  1003. package/icons/index.d.ts +307 -0
  1004. package/icons/index.js +307 -0
  1005. package/icons/index.mjs +307 -0
  1006. package/icons/package.json +8 -0
  1007. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ /*empty cjs*/
@@ -0,0 +1,38 @@
1
+ /* PdsIcons custom elements */
2
+ export { PdsIcon as PdsIcon } from '../dist/types/components/pds-icon/pds-icon';
3
+ export { defineCustomElement as defineCustomElementPdsIcon } from './pds-icon';
4
+
5
+ /**
6
+ * Get the base path to where the assets can be found. Use "setAssetPath(path)"
7
+ * if the path needs to be customized.
8
+ */
9
+ export declare const getAssetPath: (path: string) => string;
10
+
11
+ /**
12
+ * Used to manually set the base path where assets can be found.
13
+ * If the script is used as "module", it's recommended to use "import.meta.url",
14
+ * such as "setAssetPath(import.meta.url)". Other options include
15
+ * "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
16
+ * dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
17
+ * But do note that this configuration depends on how your script is bundled, or lack of
18
+ * bundling, and where your assets can be loaded from. Additionally custom bundling
19
+ * will have to ensure the static assets are copied to its build directory.
20
+ */
21
+ export declare const setAssetPath: (path: string) => void;
22
+
23
+ /**
24
+ * Used to specify a nonce value that corresponds with an application's CSP.
25
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
26
+ * Alternatively, the nonce value can be set on a meta tag in the DOM head
27
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) which
28
+ * will result in the same behavior.
29
+ */
30
+ export declare const setNonce: (nonce: string) => void
31
+
32
+ export interface SetPlatformOptions {
33
+ raf?: (c: FrameRequestCallback) => number;
34
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
35
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
36
+ }
37
+ export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
38
+ export * from '../dist/types';
@@ -0,0 +1,4 @@
1
+ export { getAssetPath, setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
2
+ export { PdsIcon, a as addIcons, defineCustomElement as defineCustomElementPdsIcon } from './pds-icon.js';
3
+
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"file":"index.js","mappings":";","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@pine-ds/icons/components",
3
+ "description": "Pine Icons custom element",
4
+ "main": "./index.cjs.js",
5
+ "module": ".index.js",
6
+ "types": "./index.d.ts",
7
+ "private": true
8
+ }
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface PdsIcon extends Components.PdsIcon, HTMLElement {}
4
+ export const PdsIcon: {
5
+ prototype: PdsIcon;
6
+ new (): PdsIcon;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,366 @@
1
+ import { Build, proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ let missingAssetPathWarning = false;
4
+ /**
5
+ *
6
+ * Reads the component asset path config from meta tag or a global variable.
7
+ * This is a temporary workaround until these issues have been addressed:
8
+ *
9
+ * https://github.com/ionic-team/stencil/issues/2826/
10
+ * https://github.com/ionic-team/stencil/issues/3470
11
+ * https://github.com/ionic-team/stencil-ds-output-targets/issues/186
12
+ */
13
+ const getAssetPath = (path) => {
14
+ var _a;
15
+ const metaPineAssetPath = (_a = document.head.querySelector('meta[data-pine-asset-path]')) === null || _a === void 0 ? void 0 : _a.dataset.pineAssetPath;
16
+ // Get the asset path from the window object if available
17
+ const windowAssetPath = window.__PINE_ASSET_PATH__;
18
+ // Set the CDN Asset path using the latest version
19
+ const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';
20
+ const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/';
21
+ // Display a warning if the assets are fetched from the CDN.
22
+ if (assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning) {
23
+ missingAssetPathWarning = true;
24
+ console.warn(`
25
+ Fetching Pine asssets from jsDelivr CDN.\n\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\n\nFor more information you read the documentation: \nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs
26
+ `);
27
+ }
28
+ let assetPath = path;
29
+ if (path.startsWith('./')) {
30
+ assetPath = path.substring(2);
31
+ }
32
+ if (!assetBasePath.endsWith('/')) {
33
+ assetPath = '/' + assetPath;
34
+ }
35
+ return assetBasePath + assetPath;
36
+ };
37
+
38
+ let CACHED_MAP;
39
+ const addIcons = (icons) => {
40
+ const map = getIconMap();
41
+ Object.keys(icons).forEach(name => map.set(name, icons[name]));
42
+ };
43
+ const getIconMap = () => {
44
+ if (typeof window === 'undefined') {
45
+ return new Map();
46
+ }
47
+ else {
48
+ if (!CACHED_MAP) {
49
+ const win = window; // eslint-disable-line @typescript-eslint/no-explicit-any
50
+ win.PdsIcons = win.PdsIcons || {};
51
+ CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();
52
+ }
53
+ return CACHED_MAP;
54
+ }
55
+ };
56
+ const getName = (iconName, icon) => {
57
+ if (!iconName && icon && !isSrc(icon)) {
58
+ iconName = icon;
59
+ }
60
+ if (isStr(iconName)) {
61
+ iconName = toLower(iconName);
62
+ }
63
+ if (!isStr(iconName) || iconName.trim() === '') {
64
+ return null;
65
+ }
66
+ const invalidChars = iconName.replace(/[a-z]|-|\d/gi, '');
67
+ if (invalidChars != '') {
68
+ return null;
69
+ }
70
+ return iconName;
71
+ };
72
+ const getNamedUrl = (iconName) => {
73
+ const url = getIconMap().get(iconName);
74
+ if (url) {
75
+ return url;
76
+ }
77
+ return getAssetPath(`svg/${iconName}.svg`);
78
+ };
79
+ const getSrc = (src) => {
80
+ if (isStr(src)) {
81
+ src = src.trim();
82
+ if (isSrc(src)) {
83
+ return src;
84
+ }
85
+ }
86
+ return null;
87
+ };
88
+ const getUrl = (pdsIcon) => {
89
+ let url = getSrc(pdsIcon.src);
90
+ if (url) {
91
+ return url;
92
+ }
93
+ url = getName(pdsIcon.name, pdsIcon.icon);
94
+ if (url) {
95
+ return getNamedUrl(url);
96
+ }
97
+ if (pdsIcon.icon) {
98
+ url = getSrc(pdsIcon.icon);
99
+ if (url) {
100
+ return url;
101
+ }
102
+ }
103
+ return null;
104
+ };
105
+ const isSrc = (str) => str.length > 0 && /(\/|\.)/.test(str);
106
+ const isStr = (val) => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any
107
+ const toLower = (val) => val.toLowerCase();
108
+ /**
109
+ * Elements inside of web components sometimes need to inherit global attributes
110
+ * set on the host. For example, the inner input in `ion-input` should inherit
111
+ * the `title` attribute that developers set directly on `ion-input`. This
112
+ * helper function should be called in componentWillLoad and assigned to a variable
113
+ * that is later used in the render function.
114
+ *
115
+ * This does not need to be reactive as changing attributes on the host element
116
+ * does not trigger a re-render.
117
+ */
118
+ const inheritAttributes = (el, attributes = []) => {
119
+ const attributeObject = {}; // eslint-disable-line @typescript-eslint/no-explicit-any
120
+ attributes.forEach(attr => {
121
+ if (el.hasAttribute(attr)) {
122
+ const value = el.getAttribute(attr);
123
+ if (value !== null) {
124
+ attributeObject[attr] = el.getAttribute(attr);
125
+ }
126
+ el.removeAttribute(attr);
127
+ }
128
+ });
129
+ return attributeObject;
130
+ };
131
+
132
+ const validateContent = (svgContent) => {
133
+ const div = document.createElement('div');
134
+ div.innerHTML = svgContent;
135
+ // setup this way to ensure it works on our buddy IE
136
+ for (let i = div.childNodes.length - 1; i >= 0; i--) {
137
+ if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {
138
+ div.removeChild(div.childNodes[i]);
139
+ }
140
+ }
141
+ // must only have 1 root element
142
+ const svgElm = div.firstElementChild;
143
+ if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {
144
+ const svgClass = svgElm.getAttribute('class') || '';
145
+ svgElm.setAttribute('class', (svgClass + ' s-pds-icon').trim());
146
+ // root element must be an svg
147
+ // lets double check we've got valid elements
148
+ // do not allow scripts
149
+ if (isValid(svgElm)) {
150
+ return div.innerHTML;
151
+ }
152
+ }
153
+ return '';
154
+ };
155
+ const isValid = (elm) => {
156
+ if (elm.nodeType === 1) {
157
+ if (elm.nodeName.toLowerCase() === 'script') {
158
+ return false;
159
+ }
160
+ for (let i = 0; i < elm.attributes.length; i++) {
161
+ const name = elm.attributes[i].name;
162
+ if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {
163
+ return false;
164
+ }
165
+ }
166
+ for (let i = 0; i < elm.childNodes.length; i++) {
167
+ if (!isValid(elm.childNodes[i])) {
168
+ return false;
169
+ }
170
+ }
171
+ }
172
+ return true;
173
+ };
174
+ const isSvgDataUrl = (url) => url.startsWith('data:image/svg+xml');
175
+ const isEncodedDataUrl = (url) => url.indexOf(';utf8,') !== -1;
176
+
177
+ const pdsIconContent = new Map();
178
+ const requests = new Map(); // eslint-disable-line @typescript-eslint/no-explicit-any
179
+ let parser;
180
+ const getSvgContent = (url, sanitize = false) => {
181
+ let req = requests.get(url);
182
+ if (!req) {
183
+ if (typeof fetch != 'undefined' && typeof document !== 'undefined') {
184
+ if (isSvgDataUrl(url) && isEncodedDataUrl(url)) {
185
+ if (!parser) {
186
+ parser = new DOMParser();
187
+ }
188
+ const doc = parser.parseFromString(url, 'text/html');
189
+ const svg = doc.querySelector('svg');
190
+ if (svg) {
191
+ pdsIconContent.set(url, svg.outerHTML);
192
+ }
193
+ return Promise.resolve();
194
+ }
195
+ else {
196
+ // we don't have a request
197
+ req = fetch(url).then((rsp) => {
198
+ if (rsp.ok) {
199
+ return rsp.text().then((svgContent) => {
200
+ if (svgContent && sanitize !== false) {
201
+ svgContent = validateContent(svgContent);
202
+ }
203
+ pdsIconContent.set(url, svgContent || '');
204
+ });
205
+ }
206
+ pdsIconContent.set(url, '');
207
+ });
208
+ requests.set(url, req);
209
+ }
210
+ }
211
+ else {
212
+ pdsIconContent.set(url, '');
213
+ return Promise.resolve();
214
+ }
215
+ }
216
+ return req;
217
+ };
218
+
219
+ const pdsIconCss = ":host{contain:strict;display:inline-block;fill:currentColor;height:1em;width:1em}:host .pdsicon{fill:currentColor}.pds-icon-fill-none{fill:none}.icon-inner,.pds-icon,svg{display:block;height:100%;width:100%}";
220
+ const PdsIconStyle0 = pdsIconCss;
221
+
222
+ const PdsIcon$1 = /*@__PURE__*/ proxyCustomElement(class PdsIcon extends HTMLElement {
223
+ constructor() {
224
+ super();
225
+ this.__registerHost();
226
+ this.__attachShadow();
227
+ this.inheritedAttributes = {}; // eslint-disable-line @typescript-eslint/no-explicit-any
228
+ this.hasAriaHidden = () => {
229
+ const { el } = this;
230
+ return el.hasAttribute('aria-hidden') && el.getAttribute('aria-hidden') === 'true';
231
+ };
232
+ this.ariaLabel = undefined;
233
+ this.isVisible = false;
234
+ this.svgContent = undefined;
235
+ this.color = undefined;
236
+ this.icon = undefined;
237
+ this.name = undefined;
238
+ this.size = 'regular';
239
+ this.src = undefined;
240
+ }
241
+ iconSize() {
242
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
243
+ const sizes = {
244
+ small: '12px',
245
+ regular: '16px',
246
+ medium: '20px',
247
+ large: '24px',
248
+ };
249
+ if (sizes[this.size]) {
250
+ return sizes[this.size];
251
+ }
252
+ else {
253
+ return this.size;
254
+ }
255
+ }
256
+ componentWillLoad() {
257
+ this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);
258
+ }
259
+ connectedCallback() {
260
+ this.waitUntilVisible(this.el, '50px', () => {
261
+ this.isVisible = true;
262
+ this.loadIcon();
263
+ });
264
+ }
265
+ disconnectedCallback() {
266
+ if (this.io) {
267
+ this.io.disconnect();
268
+ this.io = undefined;
269
+ }
270
+ }
271
+ loadIcon() {
272
+ if (Build.isBrowser && this.isVisible) {
273
+ const url = getUrl(this);
274
+ if (url) {
275
+ if (pdsIconContent.has(url)) {
276
+ this.svgContent = pdsIconContent.get(url);
277
+ }
278
+ else {
279
+ getSvgContent(url).then(() => (this.svgContent = pdsIconContent.get(url)));
280
+ }
281
+ }
282
+ }
283
+ const label = getName(this.name, this.icon);
284
+ if (label) {
285
+ this.ariaLabel = label.replace(/\-/g, ' ');
286
+ }
287
+ }
288
+ render() {
289
+ const { ariaLabel, inheritedAttributes } = this;
290
+ const style = {
291
+ height: this.iconSize(),
292
+ width: this.iconSize(),
293
+ color: this.color,
294
+ };
295
+ return (h(Host, Object.assign({ key: '450a12ddbe225916752aeb9323ff1a11d11bc4b3', "aria-label": ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null, role: "img", style: style, class: Object.assign({}, createColorClasses(this.color)) }, inheritedAttributes), Build.isBrowser && this.svgContent ? (h("div", { class: "icon-inner", innerHTML: this.svgContent })) : (h("div", { class: "icon-inner" }))));
296
+ }
297
+ /*****
298
+ * Private Methods
299
+ ****/
300
+ waitUntilVisible(el, rootMargin, cb) {
301
+ if (Build.isBrowser && typeof window !== 'undefined' && (window).IntersectionObserver) {
302
+ const io = (this.io = new (window).IntersectionObserver((data) => {
303
+ if (data[0].isIntersecting) {
304
+ io.disconnect();
305
+ this.io = undefined;
306
+ cb();
307
+ }
308
+ }, { rootMargin }));
309
+ io.observe(el);
310
+ }
311
+ else {
312
+ // browser doesn't support IntersectionObserver
313
+ // so just fallback to always show it
314
+ cb();
315
+ }
316
+ }
317
+ static get assetsDirs() { return ["svg"]; }
318
+ get el() { return this; }
319
+ static get watchers() { return {
320
+ "name": ["loadIcon"],
321
+ "src": ["loadIcon"],
322
+ "icon": ["loadIcon"]
323
+ }; }
324
+ static get style() { return PdsIconStyle0; }
325
+ }, [1, "pds-icon", {
326
+ "color": [1],
327
+ "icon": [8],
328
+ "name": [513],
329
+ "size": [513],
330
+ "src": [1],
331
+ "ariaLabel": [32],
332
+ "isVisible": [32],
333
+ "svgContent": [32]
334
+ }, undefined, {
335
+ "name": ["loadIcon"],
336
+ "src": ["loadIcon"],
337
+ "icon": ["loadIcon"]
338
+ }]);
339
+ const createColorClasses = (color) => {
340
+ return color
341
+ ? {
342
+ 'pds-color': true,
343
+ [`pds-color-${color}`]: true,
344
+ }
345
+ : null;
346
+ };
347
+ function defineCustomElement$1() {
348
+ if (typeof customElements === "undefined") {
349
+ return;
350
+ }
351
+ const components = ["pds-icon"];
352
+ components.forEach(tagName => { switch (tagName) {
353
+ case "pds-icon":
354
+ if (!customElements.get(tagName)) {
355
+ customElements.define(tagName, PdsIcon$1);
356
+ }
357
+ break;
358
+ } });
359
+ }
360
+
361
+ const PdsIcon = PdsIcon$1;
362
+ const defineCustomElement = defineCustomElement$1;
363
+
364
+ export { PdsIcon, addIcons as a, defineCustomElement };
365
+
366
+ //# sourceMappingURL=pds-icon.js.map
@@ -0,0 +1 @@
1
+ {"file":"pds-icon.js","mappings":";;AAEA,IAAI,uBAAuB,GAAG,KAAK,CAAC;AAQpC;;;;;;;;;AASO,MAAM,YAAY,GAAG,CAAC,IAAY;;IACvC,MAAM,iBAAiB,GAAG,MAAA,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAkB,4BAA4B,CAAC,0CAAE,OAAO,CAAC,aAAa,CAAC;;IAG5H,MAAM,eAAe,GAAG,MAAM,CAAC,mBAAmB,CAAC;;IAGnD,MAAM,YAAY,GAAG,6DAA6D,CAAC;IAEnF,MAAM,aAAa,GAAI,KAAK,CAAC,SAAS,GAAG,iBAAiB,GAAG,iBAAiB,IAAI,eAAe,IAAI,YAAY,IAAI,GAAG,CAAA;;IAGxH,IAAK,aAAa,CAAC,UAAU,CAAC,+BAA+B,CAAC,IAAI,CAAC,uBAAuB,EAAG;QAC3F,uBAAuB,GAAG,IAAI,CAAC;QAC/B,OAAO,CAAC,IAAI,CAAC;;KAEZ,CAAC,CAAA;KACH;IAED,IAAI,SAAS,GAAG,IAAI,CAAC;IAErB,IAAK,IAAI,CAAC,UAAU,CAAE,IAAI,CAAC,EAAG;QAC5B,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;KAC/B;IAED,IAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAG;QAClC,SAAS,GAAG,GAAG,GAAG,SAAS,CAAC;KAC7B;IAED,OAAO,aAAa,GAAG,SAAS,CAAC;AACnC,CAAC;;AC7CD,IAAI,UAA+B,CAAC;MAEvB,QAAQ,GAAG,CAAC,KAAkC;IACzD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C,WAAK,KAAK,EAAC,YAAY,EAAC,SAAS,EAAE,IAAI,CAAC,UAAU,GAAQ,KAE1D,WAAK,KAAK,EAAC,YAAY,GAAO,CAC/B,CACI,EACR;KACF;;;;IAMO,gBAAgB,CAAC,EAAe,EAAE,UAAkB,EAAE,EAAc;QAC1E,IAAI,KAAK,CAAC,SAAS,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE;YACrF,MAAM,EAAE,IAAI,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,MAAM,EAAE,oBAAoB,CACrD,CAAC,IAAiC;gBAChC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,cAAc,EAAE;oBAC1B,EAAE,CAAC,UAAU,EAAE,CAAC;oBAChB,IAAI,CAAC,EAAE,GAAG,SAAS,CAAC;oBACpB,EAAE,EAAE,CAAC;iBACN;aACF,EACD,EAAE,UAAU,EAAE,CACf,CAAC,CAAC;YAEH,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;SAChB;aAAM;;;YAGL,EAAE,EAAE,CAAC;SACN;KACF;;;;;;;;;;;;;;;;;;;;;;;AASH,MAAM,kBAAkB,GAAG,CAAC,KAAyB;IACnD,OAAO,KAAK;UACT;YACE,WAAW,EAAE,IAAI;YACjB,CAAC,aAAa,KAAK,EAAE,GAAG,IAAI;SAC7B;UACD,IAAI,CAAC;AACT,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;","names":["PdsIcon"],"sources":["src/components/pds-icon/assetPath.ts","src/components/pds-icon/utils.ts","src/components/pds-icon/validate.ts","src/components/pds-icon/request.ts","src/components/pds-icon/pds-icon.scss?tag=pds-icon&encapsulation=shadow","src/components/pds-icon/pds-icon.tsx"],"sourcesContent":["import { Build } from '@stencil/core';\n\nlet missingAssetPathWarning = false;\n\ndeclare global {\n interface Window {\n __PINE_ASSET_PATH__?: string\n }\n}\n\n/**\n *\n * Reads the component asset path config from meta tag or a global variable.\n * This is a temporary workaround until these issues have been addressed:\n *\n * https://github.com/ionic-team/stencil/issues/2826/\n * https://github.com/ionic-team/stencil/issues/3470\n * https://github.com/ionic-team/stencil-ds-output-targets/issues/186\n */\nexport const getAssetPath = (path: string) => {\n const metaPineAssetPath = document.head.querySelector<HTMLMetaElement>('meta[data-pine-asset-path]')?.dataset.pineAssetPath;\n\n // Get the asset path from the window object if available\n const windowAssetPath = window.__PINE_ASSET_PATH__;\n\n // Set the CDN Asset path using the latest version\n const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';\n\n const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/'\n\n // Display a warning if the assets are fetched from the CDN.\n if ( assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning ) {\n missingAssetPathWarning = true;\n console.warn(`\n Fetching Pine asssets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\\n\\nFor more information you read the documentation: \\nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs\n `)\n }\n\n let assetPath = path;\n\n if ( path.startsWith ('./') ) {\n assetPath = path.substring(2);\n }\n\n if ( !assetBasePath.endsWith('/') ) {\n assetPath = '/' + assetPath;\n }\n\n return assetBasePath + assetPath;\n}\n\n\nexport {};\n","import { getAssetPath } from './assetPath';\n\nimport { PdsIcon } from './pds-icon';\n\nlet CACHED_MAP: Map<string, string>;\n\nexport const addIcons = (icons: { [name: string]: string; }) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n}\n\nexport const getIconMap = (): Map<string, string> => {\n if (typeof window === 'undefined') {\n return new Map();\n } else {\n if (!CACHED_MAP) {\n const win = window as any; // eslint-disable-line @typescript-eslint/no-explicit-any\n win.PdsIcons = win.PdsIcons || {};\n CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();\n }\n\n return CACHED_MAP;\n }\n}\n\nexport const getName = (\n iconName: string | undefined,\n icon: string | undefined\n ) => {\n\n if(!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi,'');\n if (invalidChars != '') { return null; }\n\n return iconName;\n}\n\nconst getNamedUrl = (iconName: string) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n\n return getAssetPath(`svg/${iconName}.svg`);\n};\n\nexport const getSrc = (src: string | undefined) => {\n if (isStr(src)) {\n src = src.trim();\n\n if (isSrc(src)) {\n return src;\n }\n }\n\n return null;\n}\n\nexport const getUrl = (pdsIcon: PdsIcon) => {\n let url = getSrc(pdsIcon.src);\n if (url) {\n return url;\n }\n\n url = getName(pdsIcon.name, pdsIcon.icon);\n if (url) {\n return getNamedUrl(url);\n }\n\n if (pdsIcon.icon) {\n url = getSrc(pdsIcon.icon);\n\n if(url) {\n return url;\n }\n }\n\n return null;\n};\n\n\nexport const isSrc = (str: string) => str.length > 0 && /(\\/|\\.)/.test(str);\nexport const isStr = (val: any): val is string => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any\nexport const toLower = (val: string) => val.toLowerCase();\n\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\n export const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n const attributeObject: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n\n return attributeObject;\n}\n","import { isStr } from './utils';\n\nexport const validateContent = (svgContent: string) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-pds-icon').trim());\n\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm as HTMLElement)) {\n return div.innerHTML;\n }\n }\n return '';\n};\n\nexport const isValid = (elm: HTMLElement) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n\n for (let i = 0; i < elm.attributes.length; i++) {\n const name = elm.attributes[i].name;\n if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i] as HTMLElement)) {\n return false;\n }\n }\n }\n return true;\n};\n\nexport const isSvgDataUrl = (url: string) => url.startsWith('data:image/svg+xml');\nexport const isEncodedDataUrl = (url: string) => url.indexOf(';utf8,') !== -1;\n","import { isEncodedDataUrl, isSvgDataUrl, validateContent } from './validate';\n\nexport const pdsIconContent = new Map<string, string>();\nconst requests = new Map<string, Promise<any>>(); // eslint-disable-line @typescript-eslint/no-explicit-any\n\nlet parser: DOMParser;\n\nexport const getSvgContent = (url: string, sanitize = false) => {\n let req = requests.get(url);\n\n if(!req) {\n if (typeof fetch != 'undefined' && typeof document !== 'undefined') {\n if (isSvgDataUrl(url) && isEncodedDataUrl(url)) {\n if (!parser) {\n parser = new DOMParser();\n }\n\n const doc = parser.parseFromString(url, 'text/html');\n const svg = doc.querySelector('svg');\n\n if (svg) {\n pdsIconContent.set(url, svg.outerHTML);\n }\n\n return Promise.resolve();\n } else {\n // we don't have a request\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n pdsIconContent.set(url, svgContent || '');\n });\n }\n pdsIconContent.set(url, '');\n });\n\n requests.set(url, req);\n }\n } else {\n pdsIconContent.set(url, '');\n return Promise.resolve();\n }\n }\n\n return req;\n}\n",":host {\n contain: strict;\n display: inline-block;\n fill: currentColor;\n height: 1em;\n width: 1em;\n\n .pdsicon {\n fill: currentColor;\n }\n}\n\n.pds-icon-fill-none {\n fill: none;\n}\n\n.icon-inner,\n.pds-icon,\nsvg {\n display: block;\n height: 100%;\n width: 100%;\n}\n","import { Build, Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';\nimport { getSvgContent, pdsIconContent } from './request';\nimport { getName, getUrl, inheritAttributes } from './utils';\n\n@Component({\n tag: 'pds-icon',\n assetsDirs: ['svg'],\n styleUrl: 'pds-icon.scss',\n shadow: true,\n})\nexport class PdsIcon {\n private io?: IntersectionObserver;\n private inheritedAttributes: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n @Element() el!: HTMLPdsIconElement;\n\n @State() private ariaLabel?: string;\n @State() private isVisible = false;\n @State() private svgContent?: string;\n\n /**\n *\n * The color of the icon\n *\n */\n @Prop() color?: string;\n\n /**\n * This a combination of both `name` and `src`. If a `src` url is detected\n * it will set the `src` property. Otherwise it assumes it's a built-in named\n * SVG and set the `name` property.\n */\n @Prop() icon?: any;\n\n /**\n * The name of the icon to use from\n * the built-in set.\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * The size of the icon. This can be\n * 'small', 'regular', 'medium', large, or a\n * custom value (40px, 1rem, etc)\n *\n */\n @Prop({ reflect: true }) size?:\n | 'small' // 12px\n | 'regular' // 16px\n | 'medium' // 20px\n | 'large' // 24px\n | 'auto'\n | string = 'regular'\n\n /**\n *\n * Specifies the exact `src` of an SVG file to use.\n */\n @Prop() src?: string;\n\n private iconSize() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const sizes: { [key: string]: any } = {\n small: '12px',\n regular: '16px',\n medium: '20px',\n large: '24px',\n }\n\n if (sizes[this.size]) {\n return sizes[this.size];\n } else {\n return this.size;\n }\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);\n }\n\n connectedCallback() {\n this.waitUntilVisible(this.el, '50px', () => {\n this.isVisible = true;\n this.loadIcon();\n })\n }\n\n disconnectedCallback() {\n if (this.io) {\n this.io.disconnect();\n this.io = undefined;\n }\n }\n\n @Watch('name')\n @Watch('src')\n @Watch('icon')\n loadIcon() {\n if (Build.isBrowser && this.isVisible) {\n const url = getUrl(this);\n if (url) {\n if (pdsIconContent.has(url)) {\n this.svgContent = pdsIconContent.get(url);\n } else {\n getSvgContent(url).then(() => (this.svgContent = pdsIconContent.get(url)));\n }\n }\n }\n\n const label = getName(this.name, this.icon);\n\n if (label) {\n this.ariaLabel = label.replace(/\\-/g, ' ');\n }\n }\n\n render() {\n const { ariaLabel, inheritedAttributes } = this;\n\n const style = {\n height: this.iconSize(),\n width: this.iconSize(),\n color: this.color,\n }\n\n return (\n\n <Host\n aria-label={ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null }\n role=\"img\"\n style={style}\n class={{\n ...createColorClasses(this.color),\n }}\n {...inheritedAttributes}\n >\n {Build.isBrowser && this.svgContent ? (\n <div class=\"icon-inner\" innerHTML={this.svgContent}></div>\n ) : (\n <div class=\"icon-inner\"></div>\n )}\n </Host>\n )\n }\n\n /*****\n * Private Methods\n ****/\n\n private waitUntilVisible(el: HTMLElement, rootMargin: string, cb: () => void) {\n if (Build.isBrowser && typeof window !== 'undefined' && (window).IntersectionObserver) {\n const io = (this.io = new (window).IntersectionObserver(\n (data: IntersectionObserverEntry[]) => {\n if (data[0].isIntersecting) {\n io.disconnect();\n this.io = undefined;\n cb();\n }\n },\n { rootMargin },\n ));\n\n io.observe(el);\n } else {\n // browser doesn't support IntersectionObserver\n // so just fallback to always show it\n cb();\n }\n }\n\n private hasAriaHidden = () => {\n const { el } = this;\n\n return el.hasAttribute('aria-hidden') && el.getAttribute('aria-hidden') === 'true';\n }\n}\n\nconst createColorClasses = (color: string | undefined) => {\n return color\n ? {\n 'pds-color': true,\n [`pds-color-${color}`]: true,\n }\n : null;\n };\n"],"version":3}