@pine-ds/icons 7.4.1 → 7.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) hide show
  1. package/components/index.d.ts +0 -0
  2. package/components/pds-icon.d.ts +0 -0
  3. package/dist/docs.json +1 -1
  4. package/dist/pds-icons/index-ff192a13.js +2970 -0
  5. package/dist/pds-icons/index-ff192a13.js.map +1 -0
  6. package/dist/pds-icons/index.esm.js +3 -1
  7. package/dist/pds-icons/index.esm.js.map +1 -1
  8. package/dist/{esm → pds-icons}/pds-icon.entry.js +7 -8
  9. package/dist/pds-icons/pds-icon.entry.js.map +1 -0
  10. package/dist/pds-icons/pds-icons.esm.js +48 -1
  11. package/dist/pds-icons/pds-icons.esm.js.map +1 -1
  12. package/dist/pds-icons/shadow-css-964ae2c5.js +358 -0
  13. package/dist/pds-icons/shadow-css-964ae2c5.js.map +1 -0
  14. package/dist/{esm/utils-cae6cf8b.js → pds-icons/utils-39f6c025.js} +3 -3
  15. package/dist/pds-icons/utils-39f6c025.js.map +1 -0
  16. package/package.json +1 -1
  17. package/components/index.cjs.js +0 -1
  18. package/components/index.js +0 -4
  19. package/components/index.js.map +0 -1
  20. package/components/package.json +0 -8
  21. package/components/pds-icon.js +0 -377
  22. package/components/pds-icon.js.map +0 -1
  23. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  24. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  25. package/dist/cjs/index-7f71a223.js +0 -1209
  26. package/dist/cjs/index-7f71a223.js.map +0 -1
  27. package/dist/cjs/index.cjs.js +0 -12
  28. package/dist/cjs/index.cjs.js.map +0 -1
  29. package/dist/cjs/loader.cjs.js +0 -17
  30. package/dist/cjs/loader.cjs.js.map +0 -1
  31. package/dist/cjs/pds-icon.cjs.entry.js +0 -220
  32. package/dist/cjs/pds-icon.cjs.entry.js.map +0 -1
  33. package/dist/cjs/pds-icons.cjs.js +0 -27
  34. package/dist/cjs/pds-icons.cjs.js.map +0 -1
  35. package/dist/cjs/utils-89306ddd.js +0 -140
  36. package/dist/cjs/utils-89306ddd.js.map +0 -1
  37. package/dist/collection/collection-manifest.json +0 -12
  38. package/dist/collection/components/pds-icon/assetPath.js +0 -36
  39. package/dist/collection/components/pds-icon/assetPath.js.map +0 -1
  40. package/dist/collection/components/pds-icon/pds-icon.css +0 -25
  41. package/dist/collection/components/pds-icon/pds-icon.js +0 -241
  42. package/dist/collection/components/pds-icon/pds-icon.js.map +0 -1
  43. package/dist/collection/components/pds-icon/request.js +0 -43
  44. package/dist/collection/components/pds-icon/request.js.map +0 -1
  45. package/dist/collection/components/pds-icon/svg/access-key.svg +0 -1
  46. package/dist/collection/components/pds-icon/svg/add-circle.svg +0 -1
  47. package/dist/collection/components/pds-icon/svg/add-image.svg +0 -1
  48. package/dist/collection/components/pds-icon/svg/add-small.svg +0 -1
  49. package/dist/collection/components/pds-icon/svg/add-square.svg +0 -1
  50. package/dist/collection/components/pds-icon/svg/add.svg +0 -1
  51. package/dist/collection/components/pds-icon/svg/advanced.svg +0 -1
  52. package/dist/collection/components/pds-icon/svg/ai-sparkle.svg +0 -1
  53. package/dist/collection/components/pds-icon/svg/ai-writer-filled.svg +0 -1
  54. package/dist/collection/components/pds-icon/svg/ai-writer.svg +0 -1
  55. package/dist/collection/components/pds-icon/svg/align-center.svg +0 -1
  56. package/dist/collection/components/pds-icon/svg/align-justify.svg +0 -1
  57. package/dist/collection/components/pds-icon/svg/align-left.svg +0 -1
  58. package/dist/collection/components/pds-icon/svg/align-right.svg +0 -1
  59. package/dist/collection/components/pds-icon/svg/app-store.svg +0 -1
  60. package/dist/collection/components/pds-icon/svg/archive.svg +0 -1
  61. package/dist/collection/components/pds-icon/svg/arrow-corner.svg +0 -1
  62. package/dist/collection/components/pds-icon/svg/arrow-down.svg +0 -1
  63. package/dist/collection/components/pds-icon/svg/arrow-left.svg +0 -1
  64. package/dist/collection/components/pds-icon/svg/arrow-right.svg +0 -1
  65. package/dist/collection/components/pds-icon/svg/arrow-up.svg +0 -1
  66. package/dist/collection/components/pds-icon/svg/assessment.svg +0 -1
  67. package/dist/collection/components/pds-icon/svg/at-sign.svg +0 -1
  68. package/dist/collection/components/pds-icon/svg/attach.svg +0 -1
  69. package/dist/collection/components/pds-icon/svg/automations.svg +0 -1
  70. package/dist/collection/components/pds-icon/svg/ban.svg +0 -1
  71. package/dist/collection/components/pds-icon/svg/bank.svg +0 -1
  72. package/dist/collection/components/pds-icon/svg/bar-chart-10-tone.svg +0 -1
  73. package/dist/collection/components/pds-icon/svg/bell-01-tone.svg +0 -1
  74. package/dist/collection/components/pds-icon/svg/bell.svg +0 -1
  75. package/dist/collection/components/pds-icon/svg/block.svg +0 -1
  76. package/dist/collection/components/pds-icon/svg/blog-filled.svg +0 -1
  77. package/dist/collection/components/pds-icon/svg/blog.svg +0 -1
  78. package/dist/collection/components/pds-icon/svg/bold.svg +0 -1
  79. package/dist/collection/components/pds-icon/svg/broadcast.svg +0 -1
  80. package/dist/collection/components/pds-icon/svg/bulb.svg +0 -1
  81. package/dist/collection/components/pds-icon/svg/button.svg +0 -1
  82. package/dist/collection/components/pds-icon/svg/calendar-date.svg +0 -1
  83. package/dist/collection/components/pds-icon/svg/calendar-schedule.svg +0 -1
  84. package/dist/collection/components/pds-icon/svg/calendar-simple.svg +0 -1
  85. package/dist/collection/components/pds-icon/svg/card-amex.svg +0 -1
  86. package/dist/collection/components/pds-icon/svg/card-android.svg +0 -1
  87. package/dist/collection/components/pds-icon/svg/card-apple.svg +0 -1
  88. package/dist/collection/components/pds-icon/svg/card-diners-club.svg +0 -1
  89. package/dist/collection/components/pds-icon/svg/card-discover.svg +0 -1
  90. package/dist/collection/components/pds-icon/svg/card-generic.svg +0 -1
  91. package/dist/collection/components/pds-icon/svg/card-gpay.svg +0 -1
  92. package/dist/collection/components/pds-icon/svg/card-mastercard.svg +0 -1
  93. package/dist/collection/components/pds-icon/svg/card-paypal.svg +0 -1
  94. package/dist/collection/components/pds-icon/svg/card-stripe.svg +0 -1
  95. package/dist/collection/components/pds-icon/svg/card-update.svg +0 -1
  96. package/dist/collection/components/pds-icon/svg/card-visa.svg +0 -1
  97. package/dist/collection/components/pds-icon/svg/caret-down.svg +0 -1
  98. package/dist/collection/components/pds-icon/svg/caret-left.svg +0 -1
  99. package/dist/collection/components/pds-icon/svg/caret-right.svg +0 -1
  100. package/dist/collection/components/pds-icon/svg/caret-up.svg +0 -1
  101. package/dist/collection/components/pds-icon/svg/cart-add.svg +0 -1
  102. package/dist/collection/components/pds-icon/svg/cart.svg +0 -1
  103. package/dist/collection/components/pds-icon/svg/certificate.svg +0 -1
  104. package/dist/collection/components/pds-icon/svg/chart-filled.svg +0 -1
  105. package/dist/collection/components/pds-icon/svg/chart.svg +0 -1
  106. package/dist/collection/components/pds-icon/svg/check-circle-filled.svg +0 -1
  107. package/dist/collection/components/pds-icon/svg/check-circle.svg +0 -1
  108. package/dist/collection/components/pds-icon/svg/check.svg +0 -1
  109. package/dist/collection/components/pds-icon/svg/circle-1.svg +0 -1
  110. package/dist/collection/components/pds-icon/svg/circle-2.svg +0 -1
  111. package/dist/collection/components/pds-icon/svg/circle-3.svg +0 -1
  112. package/dist/collection/components/pds-icon/svg/circle-4.svg +0 -1
  113. package/dist/collection/components/pds-icon/svg/circle-5.svg +0 -1
  114. package/dist/collection/components/pds-icon/svg/circle-6.svg +0 -1
  115. package/dist/collection/components/pds-icon/svg/circle-7.svg +0 -1
  116. package/dist/collection/components/pds-icon/svg/circle-8.svg +0 -1
  117. package/dist/collection/components/pds-icon/svg/circle-9.svg +0 -1
  118. package/dist/collection/components/pds-icon/svg/circle-a.svg +0 -1
  119. package/dist/collection/components/pds-icon/svg/circle-b.svg +0 -1
  120. package/dist/collection/components/pds-icon/svg/circle-dashed.svg +0 -1
  121. package/dist/collection/components/pds-icon/svg/clapperboard-tone.svg +0 -1
  122. package/dist/collection/components/pds-icon/svg/clock.svg +0 -1
  123. package/dist/collection/components/pds-icon/svg/closed-captions.svg +0 -1
  124. package/dist/collection/components/pds-icon/svg/cloud-upload.svg +0 -1
  125. package/dist/collection/components/pds-icon/svg/code-block.svg +0 -1
  126. package/dist/collection/components/pds-icon/svg/code.svg +0 -1
  127. package/dist/collection/components/pds-icon/svg/color.svg +0 -1
  128. package/dist/collection/components/pds-icon/svg/columns.svg +0 -1
  129. package/dist/collection/components/pds-icon/svg/comment-no.svg +0 -1
  130. package/dist/collection/components/pds-icon/svg/comment.svg +0 -1
  131. package/dist/collection/components/pds-icon/svg/connect.svg +0 -1
  132. package/dist/collection/components/pds-icon/svg/contact.svg +0 -1
  133. package/dist/collection/components/pds-icon/svg/conversation.svg +0 -1
  134. package/dist/collection/components/pds-icon/svg/copy.svg +0 -1
  135. package/dist/collection/components/pds-icon/svg/coupon.svg +0 -1
  136. package/dist/collection/components/pds-icon/svg/course-filled.svg +0 -1
  137. package/dist/collection/components/pds-icon/svg/course.svg +0 -1
  138. package/dist/collection/components/pds-icon/svg/creator-studio-filled.svg +0 -1
  139. package/dist/collection/components/pds-icon/svg/creator-studio.svg +0 -1
  140. package/dist/collection/components/pds-icon/svg/credit-card-02-tone.svg +0 -1
  141. package/dist/collection/components/pds-icon/svg/cube-01-tone.svg +0 -1
  142. package/dist/collection/components/pds-icon/svg/cursor-pointer.svg +0 -1
  143. package/dist/collection/components/pds-icon/svg/cursor.svg +0 -1
  144. package/dist/collection/components/pds-icon/svg/custom-field.svg +0 -1
  145. package/dist/collection/components/pds-icon/svg/customize.svg +0 -1
  146. package/dist/collection/components/pds-icon/svg/danger-filled.svg +0 -1
  147. package/dist/collection/components/pds-icon/svg/danger.svg +0 -1
  148. package/dist/collection/components/pds-icon/svg/delete-circle.svg +0 -1
  149. package/dist/collection/components/pds-icon/svg/delete-key.svg +0 -1
  150. package/dist/collection/components/pds-icon/svg/delete-x.svg +0 -1
  151. package/dist/collection/components/pds-icon/svg/dollar.svg +0 -1
  152. package/dist/collection/components/pds-icon/svg/dot-menu-horizontal.svg +0 -1
  153. package/dist/collection/components/pds-icon/svg/dots-horizontal-tone.svg +0 -1
  154. package/dist/collection/components/pds-icon/svg/down-small.svg +0 -1
  155. package/dist/collection/components/pds-icon/svg/download.svg +0 -1
  156. package/dist/collection/components/pds-icon/svg/downsell.svg +0 -1
  157. package/dist/collection/components/pds-icon/svg/draft.svg +0 -1
  158. package/dist/collection/components/pds-icon/svg/drawer-collapse.svg +0 -1
  159. package/dist/collection/components/pds-icon/svg/drawer-expand.svg +0 -1
  160. package/dist/collection/components/pds-icon/svg/drop.svg +0 -1
  161. package/dist/collection/components/pds-icon/svg/duplicate.svg +0 -1
  162. package/dist/collection/components/pds-icon/svg/editor-filled.svg +0 -1
  163. package/dist/collection/components/pds-icon/svg/editor.svg +0 -1
  164. package/dist/collection/components/pds-icon/svg/email-activity.svg +0 -1
  165. package/dist/collection/components/pds-icon/svg/emoji.svg +0 -1
  166. package/dist/collection/components/pds-icon/svg/enlarge-vertical.svg +0 -1
  167. package/dist/collection/components/pds-icon/svg/enlarge.svg +0 -1
  168. package/dist/collection/components/pds-icon/svg/expand.svg +0 -1
  169. package/dist/collection/components/pds-icon/svg/favorite.svg +0 -1
  170. package/dist/collection/components/pds-icon/svg/feedback.svg +0 -1
  171. package/dist/collection/components/pds-icon/svg/file-02.svg +0 -1
  172. package/dist/collection/components/pds-icon/svg/file-money.svg +0 -1
  173. package/dist/collection/components/pds-icon/svg/file.svg +0 -1
  174. package/dist/collection/components/pds-icon/svg/filter.svg +0 -1
  175. package/dist/collection/components/pds-icon/svg/flag.svg +0 -1
  176. package/dist/collection/components/pds-icon/svg/flash-filled.svg +0 -1
  177. package/dist/collection/components/pds-icon/svg/flash.svg +0 -1
  178. package/dist/collection/components/pds-icon/svg/floppy-disk.svg +0 -1
  179. package/dist/collection/components/pds-icon/svg/folder-group.svg +0 -1
  180. package/dist/collection/components/pds-icon/svg/folder.svg +0 -1
  181. package/dist/collection/components/pds-icon/svg/form-field.svg +0 -1
  182. package/dist/collection/components/pds-icon/svg/form-filled.svg +0 -1
  183. package/dist/collection/components/pds-icon/svg/form.svg +0 -1
  184. package/dist/collection/components/pds-icon/svg/fullscreen.svg +0 -1
  185. package/dist/collection/components/pds-icon/svg/funnel.svg +0 -1
  186. package/dist/collection/components/pds-icon/svg/gear-filled.svg +0 -1
  187. package/dist/collection/components/pds-icon/svg/gear.svg +0 -1
  188. package/dist/collection/components/pds-icon/svg/grant-offer.svg +0 -1
  189. package/dist/collection/components/pds-icon/svg/handle-2-vertical.svg +0 -1
  190. package/dist/collection/components/pds-icon/svg/handle-2.svg +0 -1
  191. package/dist/collection/components/pds-icon/svg/handle.svg +0 -1
  192. package/dist/collection/components/pds-icon/svg/hashtag.svg +0 -1
  193. package/dist/collection/components/pds-icon/svg/hd-video.svg +0 -1
  194. package/dist/collection/components/pds-icon/svg/heading-1.svg +0 -1
  195. package/dist/collection/components/pds-icon/svg/heading-2.svg +0 -1
  196. package/dist/collection/components/pds-icon/svg/heading-3.svg +0 -1
  197. package/dist/collection/components/pds-icon/svg/heading-4.svg +0 -1
  198. package/dist/collection/components/pds-icon/svg/heading-5.svg +0 -1
  199. package/dist/collection/components/pds-icon/svg/heading-6.svg +0 -1
  200. package/dist/collection/components/pds-icon/svg/heading-large.svg +0 -1
  201. package/dist/collection/components/pds-icon/svg/heading-small.svg +0 -1
  202. package/dist/collection/components/pds-icon/svg/headset-tone.svg +0 -1
  203. package/dist/collection/components/pds-icon/svg/headset.svg +0 -1
  204. package/dist/collection/components/pds-icon/svg/help-filled.svg +0 -1
  205. package/dist/collection/components/pds-icon/svg/help.svg +0 -1
  206. package/dist/collection/components/pds-icon/svg/home-02-tone.svg +0 -1
  207. package/dist/collection/components/pds-icon/svg/home-alt.svg +0 -1
  208. package/dist/collection/components/pds-icon/svg/home-filled.svg +0 -1
  209. package/dist/collection/components/pds-icon/svg/home.svg +0 -1
  210. package/dist/collection/components/pds-icon/svg/horizontal-line.svg +0 -1
  211. package/dist/collection/components/pds-icon/svg/image.svg +0 -1
  212. package/dist/collection/components/pds-icon/svg/info-circle-filled.svg +0 -1
  213. package/dist/collection/components/pds-icon/svg/info-circle.svg +0 -1
  214. package/dist/collection/components/pds-icon/svg/ios-battery.svg +0 -1
  215. package/dist/collection/components/pds-icon/svg/ios-data.svg +0 -1
  216. package/dist/collection/components/pds-icon/svg/ios-wifi.svg +0 -1
  217. package/dist/collection/components/pds-icon/svg/italic.svg +0 -1
  218. package/dist/collection/components/pds-icon/svg/kajabi-filled.svg +0 -1
  219. package/dist/collection/components/pds-icon/svg/kajabi.svg +0 -1
  220. package/dist/collection/components/pds-icon/svg/klarna.svg +0 -1
  221. package/dist/collection/components/pds-icon/svg/lab.svg +0 -1
  222. package/dist/collection/components/pds-icon/svg/launch.svg +0 -1
  223. package/dist/collection/components/pds-icon/svg/layout-grid.svg +0 -1
  224. package/dist/collection/components/pds-icon/svg/layout-list.svg +0 -1
  225. package/dist/collection/components/pds-icon/svg/left-small.svg +0 -1
  226. package/dist/collection/components/pds-icon/svg/list-bullet.svg +0 -1
  227. package/dist/collection/components/pds-icon/svg/list-details.svg +0 -1
  228. package/dist/collection/components/pds-icon/svg/list-numbers.svg +0 -1
  229. package/dist/collection/components/pds-icon/svg/location.svg +0 -1
  230. package/dist/collection/components/pds-icon/svg/lock-alt.svg +0 -1
  231. package/dist/collection/components/pds-icon/svg/lock.svg +0 -1
  232. package/dist/collection/components/pds-icon/svg/logo-afterpay.svg +0 -1
  233. package/dist/collection/components/pds-icon/svg/logo-facebook-round.svg +0 -1
  234. package/dist/collection/components/pds-icon/svg/logo-facebook.svg +0 -1
  235. package/dist/collection/components/pds-icon/svg/logo-instagram.svg +0 -1
  236. package/dist/collection/components/pds-icon/svg/logo-linkedin.svg +0 -1
  237. package/dist/collection/components/pds-icon/svg/logo-tiktok.svg +0 -1
  238. package/dist/collection/components/pds-icon/svg/logo-twitter-x.svg +0 -1
  239. package/dist/collection/components/pds-icon/svg/logo-twitter.svg +0 -1
  240. package/dist/collection/components/pds-icon/svg/logo-youtube.svg +0 -1
  241. package/dist/collection/components/pds-icon/svg/loop.svg +0 -1
  242. package/dist/collection/components/pds-icon/svg/mail-01-tone.svg +0 -1
  243. package/dist/collection/components/pds-icon/svg/mail-filled.svg +0 -1
  244. package/dist/collection/components/pds-icon/svg/mail-open.svg +0 -1
  245. package/dist/collection/components/pds-icon/svg/mail.svg +0 -1
  246. package/dist/collection/components/pds-icon/svg/map.svg +0 -1
  247. package/dist/collection/components/pds-icon/svg/mapped.svg +0 -1
  248. package/dist/collection/components/pds-icon/svg/margin-left.svg +0 -1
  249. package/dist/collection/components/pds-icon/svg/margin-right.svg +0 -1
  250. package/dist/collection/components/pds-icon/svg/marker-filled.svg +0 -1
  251. package/dist/collection/components/pds-icon/svg/marker.svg +0 -1
  252. package/dist/collection/components/pds-icon/svg/megaphone-filled.svg +0 -1
  253. package/dist/collection/components/pds-icon/svg/megaphone.svg +0 -1
  254. package/dist/collection/components/pds-icon/svg/menu-alt.svg +0 -1
  255. package/dist/collection/components/pds-icon/svg/menu-bordered.svg +0 -1
  256. package/dist/collection/components/pds-icon/svg/menu.svg +0 -1
  257. package/dist/collection/components/pds-icon/svg/merge.svg +0 -1
  258. package/dist/collection/components/pds-icon/svg/microphone-off.svg +0 -1
  259. package/dist/collection/components/pds-icon/svg/microphone.svg +0 -1
  260. package/dist/collection/components/pds-icon/svg/monitor-03-tone.svg +0 -1
  261. package/dist/collection/components/pds-icon/svg/monitor-filled.svg +0 -1
  262. package/dist/collection/components/pds-icon/svg/monitor.svg +0 -1
  263. package/dist/collection/components/pds-icon/svg/more-menu-filled.svg +0 -1
  264. package/dist/collection/components/pds-icon/svg/more-menu.svg +0 -1
  265. package/dist/collection/components/pds-icon/svg/move-left.svg +0 -1
  266. package/dist/collection/components/pds-icon/svg/move-right.svg +0 -1
  267. package/dist/collection/components/pds-icon/svg/multi-pay.svg +0 -1
  268. package/dist/collection/components/pds-icon/svg/newsletter-2.svg +0 -1
  269. package/dist/collection/components/pds-icon/svg/newsletter.svg +0 -1
  270. package/dist/collection/components/pds-icon/svg/one-off-session.svg +0 -1
  271. package/dist/collection/components/pds-icon/svg/one-time.svg +0 -1
  272. package/dist/collection/components/pds-icon/svg/packages.svg +0 -1
  273. package/dist/collection/components/pds-icon/svg/pause-circle.svg +0 -1
  274. package/dist/collection/components/pds-icon/svg/pause.svg +0 -1
  275. package/dist/collection/components/pds-icon/svg/payout.svg +0 -1
  276. package/dist/collection/components/pds-icon/svg/pen.svg +0 -1
  277. package/dist/collection/components/pds-icon/svg/phone-02-tone.svg +0 -1
  278. package/dist/collection/components/pds-icon/svg/phone-portrait.svg +0 -1
  279. package/dist/collection/components/pds-icon/svg/phone-toolbar-filled.svg +0 -1
  280. package/dist/collection/components/pds-icon/svg/phone-toolbar.svg +0 -1
  281. package/dist/collection/components/pds-icon/svg/play-circle.svg +0 -1
  282. package/dist/collection/components/pds-icon/svg/play-outline.svg +0 -1
  283. package/dist/collection/components/pds-icon/svg/play-store.svg +0 -1
  284. package/dist/collection/components/pds-icon/svg/play.svg +0 -1
  285. package/dist/collection/components/pds-icon/svg/plug.svg +0 -1
  286. package/dist/collection/components/pds-icon/svg/premium.svg +0 -1
  287. package/dist/collection/components/pds-icon/svg/present.svg +0 -1
  288. package/dist/collection/components/pds-icon/svg/preview-off.svg +0 -1
  289. package/dist/collection/components/pds-icon/svg/preview-on.svg +0 -1
  290. package/dist/collection/components/pds-icon/svg/product-filled.svg +0 -1
  291. package/dist/collection/components/pds-icon/svg/product.svg +0 -1
  292. package/dist/collection/components/pds-icon/svg/question-circle.svg +0 -1
  293. package/dist/collection/components/pds-icon/svg/quote.svg +0 -1
  294. package/dist/collection/components/pds-icon/svg/redo.svg +0 -1
  295. package/dist/collection/components/pds-icon/svg/refresh.svg +0 -1
  296. package/dist/collection/components/pds-icon/svg/remove-circle.svg +0 -1
  297. package/dist/collection/components/pds-icon/svg/remove.svg +0 -1
  298. package/dist/collection/components/pds-icon/svg/rename.svg +0 -1
  299. package/dist/collection/components/pds-icon/svg/reset-password.svg +0 -1
  300. package/dist/collection/components/pds-icon/svg/restore.svg +0 -1
  301. package/dist/collection/components/pds-icon/svg/right-small.svg +0 -1
  302. package/dist/collection/components/pds-icon/svg/rocket-filled.svg +0 -1
  303. package/dist/collection/components/pds-icon/svg/rocket.svg +0 -1
  304. package/dist/collection/components/pds-icon/svg/round-dollar.svg +0 -1
  305. package/dist/collection/components/pds-icon/svg/rows.svg +0 -1
  306. package/dist/collection/components/pds-icon/svg/scissor.svg +0 -1
  307. package/dist/collection/components/pds-icon/svg/screen-share-off.svg +0 -1
  308. package/dist/collection/components/pds-icon/svg/screen-share-on.svg +0 -1
  309. package/dist/collection/components/pds-icon/svg/search-md-tone.svg +0 -1
  310. package/dist/collection/components/pds-icon/svg/search-small.svg +0 -1
  311. package/dist/collection/components/pds-icon/svg/search.svg +0 -1
  312. package/dist/collection/components/pds-icon/svg/send-message.svg +0 -1
  313. package/dist/collection/components/pds-icon/svg/sequences.svg +0 -1
  314. package/dist/collection/components/pds-icon/svg/settings-01-tone.svg +0 -1
  315. package/dist/collection/components/pds-icon/svg/share.svg +0 -1
  316. package/dist/collection/components/pds-icon/svg/skipped.svg +0 -1
  317. package/dist/collection/components/pds-icon/svg/slash-divider.svg +0 -1
  318. package/dist/collection/components/pds-icon/svg/speaker.svg +0 -1
  319. package/dist/collection/components/pds-icon/svg/stack.svg +0 -1
  320. package/dist/collection/components/pds-icon/svg/star.svg +0 -1
  321. package/dist/collection/components/pds-icon/svg/stars-01-tone.svg +0 -1
  322. package/dist/collection/components/pds-icon/svg/stop.svg +0 -1
  323. package/dist/collection/components/pds-icon/svg/stopwatch.svg +0 -1
  324. package/dist/collection/components/pds-icon/svg/strikethrough.svg +0 -1
  325. package/dist/collection/components/pds-icon/svg/subscript.svg +0 -1
  326. package/dist/collection/components/pds-icon/svg/subscriptions.svg +0 -1
  327. package/dist/collection/components/pds-icon/svg/super-admin.svg +0 -1
  328. package/dist/collection/components/pds-icon/svg/superscript.svg +0 -1
  329. package/dist/collection/components/pds-icon/svg/sync.svg +0 -1
  330. package/dist/collection/components/pds-icon/svg/tablet-landscape.svg +0 -1
  331. package/dist/collection/components/pds-icon/svg/tablet-portrait.svg +0 -1
  332. package/dist/collection/components/pds-icon/svg/tag-filled.svg +0 -1
  333. package/dist/collection/components/pds-icon/svg/tag.svg +0 -1
  334. package/dist/collection/components/pds-icon/svg/text-styles.svg +0 -1
  335. package/dist/collection/components/pds-icon/svg/theme-store-filled.svg +0 -1
  336. package/dist/collection/components/pds-icon/svg/theme-store.svg +0 -1
  337. package/dist/collection/components/pds-icon/svg/thumb-down-filled.svg +0 -1
  338. package/dist/collection/components/pds-icon/svg/thumb-down.svg +0 -1
  339. package/dist/collection/components/pds-icon/svg/thumb-up-filled.svg +0 -1
  340. package/dist/collection/components/pds-icon/svg/thumb-up.svg +0 -1
  341. package/dist/collection/components/pds-icon/svg/trash.svg +0 -1
  342. package/dist/collection/components/pds-icon/svg/trophy-filled.svg +0 -1
  343. package/dist/collection/components/pds-icon/svg/trophy.svg +0 -1
  344. package/dist/collection/components/pds-icon/svg/underline.svg +0 -1
  345. package/dist/collection/components/pds-icon/svg/undo.svg +0 -1
  346. package/dist/collection/components/pds-icon/svg/unlock.svg +0 -1
  347. package/dist/collection/components/pds-icon/svg/unmapped.svg +0 -1
  348. package/dist/collection/components/pds-icon/svg/up-small.svg +0 -1
  349. package/dist/collection/components/pds-icon/svg/upload.svg +0 -1
  350. package/dist/collection/components/pds-icon/svg/url.svg +0 -1
  351. package/dist/collection/components/pds-icon/svg/user-circle-filled.svg +0 -1
  352. package/dist/collection/components/pds-icon/svg/user-circle.svg +0 -1
  353. package/dist/collection/components/pds-icon/svg/user-filled.svg +0 -1
  354. package/dist/collection/components/pds-icon/svg/user-star-filled.svg +0 -1
  355. package/dist/collection/components/pds-icon/svg/user-star.svg +0 -1
  356. package/dist/collection/components/pds-icon/svg/user.svg +0 -1
  357. package/dist/collection/components/pds-icon/svg/users-02-tone.svg +0 -1
  358. package/dist/collection/components/pds-icon/svg/users-alt.svg +0 -1
  359. package/dist/collection/components/pds-icon/svg/users-filled.svg +0 -1
  360. package/dist/collection/components/pds-icon/svg/users.svg +0 -1
  361. package/dist/collection/components/pds-icon/svg/video-off.svg +0 -1
  362. package/dist/collection/components/pds-icon/svg/video-on.svg +0 -1
  363. package/dist/collection/components/pds-icon/svg/warning-filled.svg +0 -1
  364. package/dist/collection/components/pds-icon/svg/warning.svg +0 -1
  365. package/dist/collection/components/pds-icon/svg/window-paragraph.svg +0 -1
  366. package/dist/collection/components/pds-icon/svg/world.svg +0 -1
  367. package/dist/collection/components/pds-icon/svg/wrench.svg +0 -1
  368. package/dist/collection/components/pds-icon/test/pds-icon.e2e.js +0 -10
  369. package/dist/collection/components/pds-icon/test/pds-icon.e2e.js.map +0 -1
  370. package/dist/collection/components/pds-icon/test/pds-icon.spec.js +0 -108
  371. package/dist/collection/components/pds-icon/test/pds-icon.spec.js.map +0 -1
  372. package/dist/collection/components/pds-icon/utils.js +0 -95
  373. package/dist/collection/components/pds-icon/utils.js.map +0 -1
  374. package/dist/collection/components/pds-icon/validate.js +0 -46
  375. package/dist/collection/components/pds-icon/validate.js.map +0 -1
  376. package/dist/collection/index.js +0 -2
  377. package/dist/collection/index.js.map +0 -1
  378. package/dist/esm/index-c769669c.js +0 -1181
  379. package/dist/esm/index-c769669c.js.map +0 -1
  380. package/dist/esm/index.js +0 -4
  381. package/dist/esm/index.js.map +0 -1
  382. package/dist/esm/loader.js +0 -13
  383. package/dist/esm/loader.js.map +0 -1
  384. package/dist/esm/pds-icon.entry.js.map +0 -1
  385. package/dist/esm/pds-icons.js +0 -22
  386. package/dist/esm/pds-icons.js.map +0 -1
  387. package/dist/esm/utils-cae6cf8b.js.map +0 -1
  388. package/dist/index.cjs.js +0 -1
  389. package/dist/index.js +0 -1
  390. package/dist/loader/cdn.js +0 -1
  391. package/dist/loader/index.cjs.js +0 -1
  392. package/dist/loader/index.d.ts +0 -21
  393. package/dist/loader/index.es2017.js +0 -1
  394. package/dist/loader/index.js +0 -2
  395. package/dist/loader/package.json +0 -11
  396. package/dist/pds-icons/p-72a65a5e.js +0 -2
  397. package/dist/pds-icons/p-72a65a5e.js.map +0 -1
  398. package/dist/pds-icons/p-964f6f9a.js +0 -3
  399. package/dist/pds-icons/p-964f6f9a.js.map +0 -1
  400. package/dist/pds-icons/p-ca744a11.entry.js +0 -2
  401. package/dist/pds-icons/p-ca744a11.entry.js.map +0 -1
  402. package/dist/pds-icons/p-e1255160.js +0 -2
  403. package/dist/pds-icons/p-e1255160.js.map +0 -1
  404. /package/dist/{esm → pds-icons}/app-globals-0f993ce5.js +0 -0
  405. /package/dist/{esm → pds-icons}/app-globals-0f993ce5.js.map +0 -0
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M14.7 7.1 8.5.9C8.3.7 8.2.7 8 .7H1.3C1.2.7 1 .7.9.9s-.2.3-.2.4V8c0 .2.1.3.2.5l6.3 6.3c.2.2.4.3.6.4s.5.2.8.2.5-.1.8-.2c.2-.1.5-.2.6-.4l4.8-4.8c.2-.2.3-.4.4-.6s.2-.5.2-.8-.1-.5-.2-.8-.3-.5-.5-.7m-9.4-.4c-.3 0-.5-.1-.7-.2-.2-.2-.4-.4-.5-.7-.1-.2-.1-.5-.1-.7.1-.3.2-.5.4-.7s.4-.3.7-.4c.2 0 .5 0 .7.1s.5.3.6.5.2.5.2.7c0 .4-.1.7-.4.9-.2.3-.5.5-.9.5"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="m10 14.7 4.7-4.7c.2-.2.4-.4.5-.6q.031-.093.062-.177c.075-.21.138-.386.138-.623 0-.3-.1-.6-.2-.8s-.2-.4-.4-.6L8.3.7H.7v7.6l6.5 6.4c.08.162.292.258.475.341l.125.059q.093.031.177.062c.21.075.386.138.623.138.3 0 .6-.1.8-.2s.4-.2.6-.4m-8-7V2h5.7l6.1 6.1s0 .1.1.2.1.3.1.3 0 .1-.1.2c0 .042 0 .067-.008.089-.01.03-.034.053-.092.111l-4.7 4.8s-.1.1-.2.1c-.1.1-.2.1-.3.1s-.2 0-.3-.1c-.1 0-.1 0-.2-.1zm2.7-2.4c0-.3.3-.6.6-.6.4 0 .7.3.7.6 0 .4-.3.7-.7.7-.3 0-.6-.3-.6-.7m.6-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path d="M7.814 13.312a.694.694 0 1 0 1.305-.472l-3.36-9.184A1 1 0 0 0 4.82 3h-.18a1 1 0 0 0-.94.656L.337 12.852a.685.685 0 1 0 1.29.46l.841-2.414a.2.2 0 0 1 .19-.134h4.104a.2.2 0 0 1 .188.133zM4.508 5.085a.2.2 0 0 1 .377-.001l1.434 4.03a.2.2 0 0 1-.189.267H3.286a.2.2 0 0 1-.189-.266zM10.23 11.812c0 1.155.88 2.188 2.249 2.188.922 0 1.532-.412 1.898-.837.082-.095.28.09.29.216.024.302.271.393.574.393h.019c.39 0 .686-.347.667-.736a10 10 0 0 1-.01-.464V8.91c0-1.428-.783-2.674-2.795-2.674-1.258 0-2.296.728-2.643 1.83-.095.303.118.598.425.676.38.097.743-.182.924-.53.241-.463.685-.76 1.322-.76 1.02 0 1.453.592 1.453 1.306 0 .259-.112.486-.517.547l-1.817.289c-1.16.182-2.04.912-2.04 2.218m2.43.988c-.67 0-1.09-.517-1.09-1.064 0-.653.42-1.003.979-1.094l1.822-.296a.2.2 0 0 1 .232.197v.1c0 1.595-.867 2.157-1.942 2.157"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="m13.905.657 2 3.333a.67.67 0 0 1 .095.343 2.661 2.661 0 0 1-4.444 1.984 2.65 2.65 0 0 1-3.558 0 2.65 2.65 0 0 1-3.555 0A2.65 2.65 0 0 1 2.661 7h-.006A2.66 2.66 0 0 1 0 4.333c0-.12.033-.24.095-.343l2-3.333a.67.67 0 0 1 .572-.324h10.666a.67.67 0 0 1 .572.324m-2.347 7.258c.555.275 1.166.419 1.786.418q.331-.005.656-.062V15a.666.666 0 0 1-.667.667h-4v-4H6.667v4h-4A.667.667 0 0 1 2 15V8.273q.329.057.66.06a4 4 0 0 0 1.783-.416q.246.12.506.209a3.96 3.96 0 0 0 3.042-.206L8 7.917q.246.12.506.209a3.97 3.97 0 0 0 3.043-.207z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g fill-rule="evenodd" clip-path="url(#a)"><path d="M2.095.99c.12-.2.337-.323.572-.323h10.666c.235 0 .451.123.572.323l2 3.334a.67.67 0 0 1 .095.341 2.661 2.661 0 0 1-4.443 1.983A2.65 2.65 0 0 1 8 6.649a2.65 2.65 0 0 1-3.557-.001A2.661 2.661 0 0 1 0 4.665c0-.12.033-.238.095-.341zM3.045 2 1.342 4.835a1.328 1.328 0 0 0 2.506.431.667.667 0 0 1 1.193.002 1.318 1.318 0 0 0 2.36 0 .667.667 0 0 1 1.195 0 1.318 1.318 0 0 0 2.361 0 .667.667 0 0 1 1.193-.002 1.328 1.328 0 0 0 2.506-.431L12.956 2zM2.667 8c.368 0 .666.298.666.667V14H6v-3.333c0-.368.298-.667.667-.667h2.666c.369 0 .667.299.667.667V14h2.667V8.667a.667.667 0 1 1 1.333 0v6a.667.667 0 0 1-.667.666H2.667A.667.667 0 0 1 2 14.667v-6C2 8.298 2.298 8 2.667 8m4.666 6h1.334v-2.667H7.333z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M14.115 9.757a2.666 2.666 0 0 0 1.522-2.829l-.717-4.667A2.65 2.65 0 0 0 12.284 0H4v8.667l2.023 6.842a.67.67 0 0 0 .644.491c1.47 0 2-1.196 2-2.667V10H13c.385 0 .765-.083 1.115-.243M.667 8.667h2V0h-2A.667.667 0 0 0 0 .667V8a.667.667 0 0 0 .667.667"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M.667 0A.667.667 0 0 0 0 .667V8c0 .368.298.667.667.667H3.49l1.866 6.842c.079.29.342.491.643.491a2.667 2.667 0 0 0 2.667-2.667V10H13a2.667 2.667 0 0 0 2.636-3.072l-.718-4.667A2.67 2.67 0 0 0 12.285 0H.667m2.666 1.333h-2v6h2zm1.334 6.578V1.333h7.617A1.33 1.33 0 0 1 13.6 2.464l.718 4.667A1.333 1.333 0 0 1 13 8.667H8a.667.667 0 0 0-.667.666v4a1.33 1.33 0 0 1-.849 1.243z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M14.115 6.245a2.67 2.67 0 0 1 1.522 2.827l-.717 4.667A2.65 2.65 0 0 1 12.284 16H4V7.333L6.023.491A.67.67 0 0 1 6.667 0c1.47 0 2 1.196 2 2.667V6H13c.385 0 .765.084 1.115.245M.667 7.333h2V16h-2A.666.666 0 0 1 0 15.333V8a.667.667 0 0 1 .667-.667"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M6 0c-.3 0-.564.201-.643.491L3.49 7.333H.667A.667.667 0 0 0 0 8v7.333c0 .368.298.667.667.667h11.617a2.67 2.67 0 0 0 2.634-2.261l.718-4.667A2.667 2.667 0 0 0 13 6H8.667V2.667A2.667 2.667 0 0 0 6 0M3.333 14.667v-6h-2v6zm1.334-6.578 1.817-6.665a1.33 1.33 0 0 1 .85 1.243v4c0 .368.298.666.666.666h5a1.333 1.333 0 0 1 1.318 1.536l-.718 4.667a1.33 1.33 0 0 1-1.317 1.13H4.667z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M5.333 0a.667.667 0 0 0-.666.667v2h-4A.667.667 0 1 0 .667 4h14.666a.667.667 0 1 0 0-1.333h-4v-2A.667.667 0 0 0 10.667 0zM10 2.667V1.333H6v1.334z"/><path d="M2.667 5.333c.368 0 .666.299.666.667v8a.667.667 0 0 0 .667.667h8a.667.667 0 0 0 .667-.667V6A.667.667 0 1 1 14 6v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6c0-.368.298-.667.667-.667"/><path d="M10.471 7.519c.26.26.26.682 0 .942L8.943 9.99l1.528 1.529a.667.667 0 1 1-.942.942L8 10.933 6.471 12.46a.667.667 0 0 1-.942-.942L7.057 9.99 5.53 8.461a.667.667 0 0 1 .942-.942L8 9.047 9.529 7.52c.26-.26.682-.26.942 0"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M12.67 0h-12v4a2.66 2.66 0 0 0 2.66 2.67h.07a4.58 4.58 0 0 0 3.93 3.93V12h-.66a3.35 3.35 0 0 0-3.34 3.33V16h9.34v-.67A3.35 3.35 0 0 0 9.33 12h-.66v-1.4a4.58 4.58 0 0 0 3.93-3.93h.07A2.66 2.66 0 0 0 15.33 4V0zM2.39 4.94A1.33 1.33 0 0 1 2 4V1.33h1.33v4c-.353 0-.69-.14-.94-.39M14 4a1.33 1.33 0 0 1-1.33 1.33v-4H14z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M12.67 0h-12v4a2.66 2.66 0 0 0 2.66 2.67h.07a4.58 4.58 0 0 0 3.93 3.93V12h-.66a3.35 3.35 0 0 0-3.34 3.33V16h9.34v-.67A3.35 3.35 0 0 0 9.33 12h-.66v-1.4a4.58 4.58 0 0 0 3.93-3.93h.07A2.66 2.66 0 0 0 15.33 4V0zM2.39 4.94A1.33 1.33 0 0 1 2 4V1.33h1.33v4c-.353 0-.69-.14-.94-.39m8.36 9a2 2 0 0 1 .47.75H4.78a2 2 0 0 1 1.89-1.34h2.66a2 2 0 0 1 1.42.57zM11.33 6a3.34 3.34 0 0 1-5.69 2.36A3.37 3.37 0 0 1 4.67 6V1.33h6.66zM14 4a1.33 1.33 0 0 1-1.33 1.33v-4H14z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M4.667 1.333H4V8a4 4 0 0 0 8 0V1.333h-.667a.667.667 0 1 1 0-1.333H14a.667.667 0 1 1 0 1.333h-.667V8A5.333 5.333 0 1 1 2.667 8V1.333H2A.667.667 0 1 1 2 0h2.667a.667.667 0 0 1 0 1.333m-4 13.334a.667.667 0 1 0 0 1.333h14.666a.667.667 0 0 0 0-1.333z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M2.888 4.878a.667.667 0 0 0-1.312-.236l-.83 4.629a.67.67 0 0 0 .542.786l4.635.831a.667.667 0 1 0 .235-1.312l-3.257-.584a8.67 8.67 0 0 1 11.227.88.667.667 0 1 0 .943-.943A10 10 0 0 0 2.377 7.73z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M8.073 0h-.07A3.967 3.967 0 0 0 4 3.926v2.74H2a.667.667 0 0 0-.667.667v8c0 .368.299.667.667.667h12a.667.667 0 0 0 .667-.667v-8A.667.667 0 0 0 14 6.667H5.333v-2.73a2.634 2.634 0 0 1 2.66-2.604h.07a2.634 2.634 0 0 1 2.604 2.66.667.667 0 1 0 1.333.014A3.967 3.967 0 0 0 8.073 0M4.668 8H2.666v6.667h10.667V8zM8 10.667A.667.667 0 1 0 8 12a.667.667 0 0 0 0-1.333m-2 .666a2 2 0 1 1 4 0 2 2 0 0 1-4 0"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M16 1.333a.667.667 0 0 0-.828-.646l-5.145 1.286L6.21.7a.67.67 0 0 0-.373-.014L.505 2.02A.67.67 0 0 0 0 2.667v12a.667.667 0 0 0 .828.646l5.334-1.333a.667.667 0 1 0-.324-1.293l-4.505 1.126V3.187l4.64-1.16L9.79 3.3c.12.04.25.045.373.014l4.505-1.126v5.146a.667.667 0 1 0 1.333 0zm-2.862 6.862a.667.667 0 0 0-.943 0l-4 4a.67.67 0 0 0-.195.472v2c0 .368.298.666.667.666h2c.177 0 .346-.07.471-.195l4-4a.667.667 0 0 0 0-.943zM9.333 14v-1.057l3.334-3.334 1.057 1.058L10.39 14z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M7.15 5.594a.89.89 0 0 1 1.256 0l3.556 3.555a.889.889 0 0 1-1.257 1.257L7.778 7.48 4.85 10.406A.889.889 0 1 1 3.594 9.15z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g fill-rule="evenodd" clip-path="url(#a)"><path d="M.727 10.182c.402 0 .728.325.728.727v3.637h13.09v-3.637a.727.727 0 1 1 1.455 0v4.364a.727.727 0 0 1-.727.727H.727A.727.727 0 0 1 0 15.273v-4.364c0-.402.326-.727.727-.727"/><path d="M8 0c.402 0 .727.326.727.727v10.91a.727.727 0 0 1-1.454 0V.726C7.273.326 7.598 0 8 0"/><path d="M7.486.213a.727.727 0 0 1 1.028 0l4.364 4.364a.727.727 0 0 1-1.029 1.028L8 1.755l-3.85 3.85a.727.727 0 1 1-1.028-1.028z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path d="M9.518 2.758 7.805 4.47a.667.667 0 1 1-.943-.942l1.722-1.723a4.007 4.007 0 0 1 5.598 0l-.465.477.477-.465a4.01 4.01 0 0 1 0 5.598l-.006.005-1.717 1.717a.667.667 0 1 1-.942-.943l1.713-1.713a2.674 2.674 0 0 0 .003-3.727 2.674 2.674 0 0 0-3.727.003M4.471 6.862c.26.26.26.682 0 .943L2.758 9.518a2.674 2.674 0 0 0-.003 3.727 2.674 2.674 0 0 0 3.727-.003l1.713-1.713a.667.667 0 1 1 .943.942l-1.722 1.723a4.01 4.01 0 0 1-5.598 0l.465-.477-.477.465a4.007 4.007 0 0 1 0-5.598l.006-.005 1.717-1.717c.26-.26.682-.26.942 0"/><path d="M11.138 5.805a.667.667 0 0 0-.943-.943l-5.333 5.333a.667.667 0 1 0 .943.943z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M0 8c0-4.411 3.589-8 8-8s8 3.589 8 8-3.589 8-8 8-8-3.589-8-8m9.333 2.667c1.466 0 2.69.954 3.132 2.269A6.64 6.64 0 0 0 14.667 8 6.674 6.674 0 0 0 8 1.333 6.674 6.674 0 0 0 1.333 8c0 1.958.854 3.716 2.203 4.937.443-1.316 1.665-2.27 3.13-2.27zM5.333 6a2.667 2.667 0 0 1 5.334 0v.667a2.667 2.667 0 0 1-5.334 0z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M16 8c0-4.413-3.587-8-8-8S0 3.587 0 8a7.98 7.98 0 0 0 2.853 6.113l.034.034A7.97 7.97 0 0 0 8 16a7.97 7.97 0 0 0 5.113-1.853l.034-.034A7.98 7.98 0 0 0 16 8M1.333 8c0-3.673 2.994-6.667 6.667-6.667S14.667 4.327 14.667 8c0 1.6-.567 3.067-1.514 4.22a2.64 2.64 0 0 0-1.166-1.373l-1.387-.794A3.27 3.27 0 0 0 11.333 8V6.667a3.335 3.335 0 0 0-6.666 0V8c0 .78.28 1.487.726 2.053l-1.38.794a2.67 2.67 0 0 0-1.166 1.373A6.62 6.62 0 0 1 1.333 8M6 8V6.667c0-1.1.9-2 2-2s2 .9 2 2V8c0 1.1-.9 2-2 2s-2-.9-2-2m-2 5.32v-.16c0-.48.26-.92.673-1.16l1.82-1.047c.454.234.96.38 1.507.38s1.047-.14 1.5-.373L11.327 12c.413.24.673.68.673 1.16v.16a6.63 6.63 0 0 1-4 1.347c-1.5 0-2.887-.507-4-1.347"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path d="M12.222 8.925A5.98 5.98 0 0 1 8 10.667a5.98 5.98 0 0 1-4.222-1.742A7.34 7.34 0 0 0 0 15.333c0 .368.299.667.667.667h14.666a.667.667 0 0 0 .667-.667 7.34 7.34 0 0 0-3.778-6.408"/><path d="M8 9.333A4.667 4.667 0 1 0 8 0a4.667 4.667 0 0 0 0 9.333"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M6 8.496c-1.84 0-3.333-2.159-3.333-4V3.83a3.334 3.334 0 0 1 6.666 0v.666c0 1.841-1.492 4-3.333 4m2 4c0-.878.247-1.696.668-2.397A14 14 0 0 0 6 9.829c-1.883 0-3.553.426-4.65.796A1.99 1.99 0 0 0 0 12.518v2.645h8.84A4.64 4.64 0 0 1 8 12.496m5.697-1.246-1.03-2.087-1.03 2.087-2.304.335L11 13.21l-.393 2.294 2.06-1.084 2.06 1.084-.394-2.294L16 11.585z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M3.95 8.454q.194.248.42.473c-.979.172-1.83.413-2.488.635A2.78 2.78 0 0 0 0 12.196v2.76c0 .385.312.696.696.696h6.956a.696.696 0 1 0 0-1.391h-6.26v-2.065c0-.598.377-1.127.935-1.316 1.1-.37 2.765-.793 4.63-.793 1.243 0 2.295-.725 3.007-1.633.713-.912 1.166-2.103 1.166-3.237v-.695a4.174 4.174 0 0 0-8.347 0v.695c0 1.134.453 2.325 1.167 3.237m3.007-6.715a2.783 2.783 0 0 0-2.783 2.783v.695c0 .788.326 1.683.87 2.379.548.698 1.235 1.1 1.913 1.1s1.364-.402 1.911-1.1c.545-.696.871-1.591.871-2.379v-.695a2.783 2.783 0 0 0-2.782-2.783M.696 14.957v.695z"/><path d="m13.597 10.874-1.075-2.178-1.075 2.178-2.404.349 1.74 1.695-.41 2.394 2.149-1.13 2.15 1.13-.411-2.394L16 11.223z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M10.88 8.34a4.667 4.667 0 1 0-5.758 0 7.34 7.34 0 0 0-5.122 6.993.667.667 0 1 0 1.333 0 6 6 0 0 1 6-6h1.334a6 6 0 0 1 6 6 .667.667 0 1 0 1.333 0 7.34 7.34 0 0 0-5.12-6.993M4.666 4.667a3.333 3.333 0 1 1 6.666 0 3.333 3.333 0 0 1-6.666 0"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M6.333 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6" opacity=".12"/><path fill-rule="evenodd" d="M6.333 2.667a2.333 2.333 0 1 0 0 4.666 2.333 2.333 0 0 0 0-4.666M2.667 5A3.667 3.667 0 1 1 10 5a3.667 3.667 0 0 1-7.333 0m7.403-2.985a.667.667 0 0 1 .893-.3 3.667 3.667 0 0 1 0 6.57.667.667 0 1 1-.593-1.194 2.333 2.333 0 0 0 0-4.182.667.667 0 0 1-.3-.894m-3.737 9.318c-1.692 0-3.275.884-4.475 2.412a.667.667 0 0 1-1.049-.823C2.204 11.147 4.145 10 6.333 10s4.13 1.147 5.525 2.922a.667.667 0 1 1-1.049.823c-1.2-1.528-2.783-2.412-4.476-2.412m5.06-.43a.667.667 0 0 1 .882-.333c1.118.506 2.108 1.323 2.916 2.351a.667.667 0 0 1-1.049.824c-.695-.884-1.52-1.554-2.417-1.96a.667.667 0 0 1-.332-.882"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M15.167 9.867a1.33 1.33 0 0 1 .833 1.24v3.546h-4V13.32h2.667v-2.213l-2.494-1a1.3 1.3 0 0 1-.606-.487 1.3 1.3 0 0 1-.234-.747V7.9l.334-.187a1.97 1.97 0 0 0 1-1.72V4.66c0-.353-.094-.693-.267-1a2 2 0 0 0-.733-.733 2.02 2.02 0 0 0-2 0l-.58.333-.667-1.153.58-.334a3.38 3.38 0 0 1 3.333 0c.507.294.927.714 1.22 1.22A3.3 3.3 0 0 1 14 4.66v1.333c0 .58-.16 1.16-.447 1.66a3.3 3.3 0 0 1-.886.994v.226zm-7.427-.16 2.087.833c.246.1.46.267.613.493.147.22.227.48.227.747v2.88H0v-2.88a1.34 1.34 0 0 1 .84-1.247L2.927 9.7C1.273 9.253.793 8.407.74 8.293l-.22-.426.34-.347C1.18 7.2 2 6.187 2 5.327c0-.894.347-1.727.973-2.36a3.34 3.34 0 0 1 2.36-.974 3.34 3.34 0 0 1 2.36.974 3.34 3.34 0 0 1 .974 2.36c0 .86.82 1.873 1.14 2.2l.34.34-.22.433c-.062.11-.537.954-2.187 1.407M1.333 11.78v1.54h7.994v-1.547l-2.494-1A1.31 1.31 0 0 1 6 9.54v-.887l.58-.073c.973-.127 1.54-.4 1.847-.613-.454-.58-1.094-1.574-1.094-2.64a1.97 1.97 0 0 0-.586-1.414c-.754-.753-2.074-.753-2.827 0-.38.38-.587.88-.587 1.414 0 1.066-.64 2.066-1.093 2.633.307.213.867.48 1.847.613l.58.08v.887a1.34 1.34 0 0 1-.84 1.24z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M15.207 9.883c.25.079.463.246.6.47.12.22.18.469.17.72v3a.58.58 0 0 1-.6.67h-2.68a.67.67 0 0 1 0-1.34h2v-2.21l-2.48-1a1.1 1.1 0 0 1-.6-.47 1.4 1.4 0 0 1-.2-.74v-.66a.69.69 0 0 1 .33-.6 1.9 1.9 0 0 0 .74-.74c.128-.318.196-.658.2-1v-1.32a1.9 1.9 0 0 0-.27-1 1.9 1.9 0 0 0-.73-.74 2.16 2.16 0 0 0-2 0 .69.69 0 1 1-.67-1.2 3.3 3.3 0 0 1 3.38 0 3 3 0 0 1 1.2 1.2 3.2 3.2 0 0 1 .47 1.74v1.32a3 3 0 0 1-.47 1.7 3 3 0 0 1-.87 1v.2zm-7.83-.33 2.47 1c.24.083.442.25.57.47.135.219.204.472.2.73v2.28a.58.58 0 0 1-.6.67H.687a.64.64 0 0 1-.67-.67v-2.21a1.4 1.4 0 0 1 .2-.74c.137-.224.35-.391.6-.47l2.54-1.07v-.2a3 3 0 0 1-.87-1 3 3 0 0 1-.47-1.67v-1.34a3.12 3.12 0 0 1 1-2.35 3.13 3.13 0 0 1 2.35-1 3.13 3.13 0 0 1 2.34 1 3.13 3.13 0 0 1 1.01 2.35v1.34a3.07 3.07 0 0 1-.47 1.68 3.1 3.1 0 0 1-.87 1z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M15.388 14.715H12.71c-.4 0-.668-.267-.668-.669 0-.401.267-.669.668-.669h2.008V11.17l-2.476-1.003c-.267-.067-.468-.268-.602-.468-.134-.201-.2-.469-.2-.736V8.36c0-.268.133-.469.334-.603.334-.2.535-.4.736-.735q.2-.503.2-1.004V4.68c0-.335-.066-.67-.267-1.004a1.94 1.94 0 0 0-.736-.736 2.13 2.13 0 0 0-2.007 0c-.335.201-.736.067-.937-.267-.2-.335-.067-.736.268-.937a3.32 3.32 0 0 1 3.345 0c.535.268.937.736 1.204 1.204.335.536.469 1.138.469 1.74v1.338a3 3 0 0 1-.469 1.673c-.2.401-.535.736-.87 1.003v.2l2.476 1.004c.268.067.468.268.602.469s.2.468.2.736v2.943c.068.335-.2.67-.601.67M10.035 14.715H.67c-.401 0-.669-.267-.669-.669V11.84c0-.268.067-.536.2-.736.135-.201.335-.402.603-.469l2.542-1.07v-.2c-.334-.268-.669-.603-.87-1.004a3 3 0 0 1-.468-1.673V5.349c0-.87.335-1.74 1.004-2.342.602-.669 1.471-1.003 2.341-1.003s1.74.334 2.342 1.003c.669.603 1.003 1.472 1.003 2.342v1.338A3 3 0 0 1 8.23 8.36c-.2.401-.535.736-.87 1.003v.2l2.476 1.004c.267.067.468.268.602.469s.2.468.2.736v2.274c.067.335-.2.67-.602.67m-8.697-1.338h8.028v-1.539l-2.475-1.003c-.268-.067-.468-.268-.602-.468a1.3 1.3 0 0 1-.268-.803v-.602c0-.268.134-.469.335-.602.334-.201.535-.402.736-.736.2-.268.267-.602.267-.937V5.349c0-.535-.2-1.07-.602-1.405-.736-.803-2.074-.803-2.81 0-.401.335-.602.87-.602 1.405v1.338c0 .335.067.67.268 1.004.2.334.401.535.736.736.2.066.334.334.334.535v.602c0 .267-.067.535-.2.736-.134.2-.335.401-.603.468l-2.542 1.07z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M15.133 1.8a.644.644 0 0 0 0-.933.644.644 0 0 0-.933 0l-2.867 2.866c-.066-.466-.266-.866-.6-1.133-.333-.4-.866-.6-1.4-.6H2c-.533 0-1.067.2-1.4.6-.4.333-.6.867-.6 1.4v8c0 .533.2 1.067.6 1.4q.3.3.6.4l-.333.333a.644.644 0 0 0 0 .934.644.644 0 0 0 .933 0zM2.4 12.667l7.6-7.6V4c0-.2-.067-.333-.2-.467a.6.6 0 0 0-.467-.2H2c-.2 0-.333.067-.467.2a.6.6 0 0 0-.2.467v8c0 .2.067.333.2.467.134.133.267.2.467.2zm13.333-8.534c.2.134.267.334.267.534v6.666c0 .2-.067.4-.267.534-.133.133-.4.133-.6.133l-3.8-1.133V12c0 .533-.2 1.067-.6 1.4-.333.4-.866.6-1.4.6H5.467c-.4 0-.667-.267-.667-.667s.267-.666.667-.666h3.866c.2 0 .334-.067.467-.2A.6.6 0 0 0 10 12v-2c0-.2.067-.4.267-.533.133-.134.4-.134.6-.134l3.8 1.067V5.533l-.8.2c-.334.134-.734-.133-.8-.466-.134-.334.133-.734.466-.8l1.6-.467c.2 0 .467 0 .6.133"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M1.333 4c0-.4.267-.667.667-.667h7.333c.4 0 .667.267.667.667v8c0 .4-.267.667-.667.667H2c-.4 0-.667-.267-.667-.667zm10 6.333V12c0 1.133-.866 2-2 2H2c-1.133 0-2-.867-2-2V4c0-1.133.867-2 2-2h7.333c1.134 0 2 .867 2 2v1.667l3.734-1.6c.2-.067.466-.067.6.066.2.134.333.334.333.534v6.666c0 .2-.133.4-.267.534-.2.133-.4.133-.6.066zm0-1.466 3.334 1.4V5.6L11.333 7z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path d="M15.8 12.526 9.483.88A1.67 1.67 0 0 0 8.8.2a1.693 1.693 0 0 0-2.284.68L.2 12.526A1.678 1.678 0 0 0 1.686 15h12.628a1.7 1.7 0 0 0 1.308-.615 1.67 1.67 0 0 0 .178-1.859M8 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2m1-3.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M8 6.667c.368 0 .667.298.667.666V10a.667.667 0 1 1-1.334 0V7.333c0-.368.299-.666.667-.666M8.667 12a.667.667 0 1 1-1.334 0 .667.667 0 0 1 1.334 0"/><path fill-rule="evenodd" d="M8 1.333c.248 0 .475.138.59.357l6.667 12.666a.667.667 0 0 1-.59.977H1.333a.667.667 0 0 1-.59-.977L7.41 1.69A.67.67 0 0 1 8 1.333M13.562 14 8 3.431 2.438 14z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M3.333.667H0v14.666h16V.667H3.333m0 1.333h-2v1.333h2zm1.334 2.667H1.333V14h13.334V4.667zm0-1.334V2h10v1.333zm-2 3.334H8V12H2.667zM4 8v2.667h2.667V8zm9.333-1.333h-4V8h4zm-4 2.666H12v1.334H9.333z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M5.39 1.864a6.67 6.67 0 0 0-4.024 5.47h1.986c.12-2.1.805-4.026 2.038-5.47M1.366 8.667a6.67 6.67 0 0 0 4.024 5.47c-1.233-1.445-1.919-3.372-2.038-5.47zm9.244 5.47a6.67 6.67 0 0 0 4.024-5.47h-1.986c-.12 2.099-.805 4.025-2.038 5.47m4.024-6.804a6.67 6.67 0 0 0-4.024-5.47c1.233 1.445 1.919 3.371 2.038 5.47zM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0m-.667 14.146c-1.564-1.184-2.497-3.141-2.645-5.48h2.645zM4.688 7.333h2.645V1.854C5.77 3.038 4.836 4.995 4.688 7.334m3.979 6.813v-5.48h2.645c-.148 2.339-1.08 4.295-2.645 5.48m0-6.813h2.645c-.148-2.338-1.08-4.295-2.645-5.479z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M11.228 0a6 6 0 0 1 1.695.23l1.093.312-2.387 2.377 1.455 1.448 2.357-2.346.334 1.034a4.6 4.6 0 0 1 .08 2.55l-.002.011-.003.01a4.47 4.47 0 0 1-3.385 3.129l-.019.004-.019.003a5.2 5.2 0 0 1-1.785-.05l-5.55 6.24a2.86 2.86 0 0 1-4.28.166l-.002-.003a2.95 2.95 0 0 1 .177-4.232l.004-.002 6.253-5.512a3.5 3.5 0 0 1-.105-.877 4.416 4.416 0 0 1 4.037-4.49L11.202 0zm.037 1.333a3.083 3.083 0 0 0-2.793 3.14v.024c-.003.285.05.569.158.833l.177.438-6.932 6.11-.001.001a1.617 1.617 0 0 0-.097 2.318 1.53 1.53 0 0 0 2.29-.096l.01-.013 6.116-6.878.405.119a3.8 3.8 0 0 0 1.616.116 3.13 3.13 0 0 0 2.352-2.18 3.3 3.3 0 0 0 .092-.583l-1.574 1.566-3.345-3.33 1.592-1.584z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1,10 +0,0 @@
1
- import { newE2EPage } from "@stencil/core/testing";
2
- describe('pds-icon', () => {
3
- it('renders', async () => {
4
- const page = await newE2EPage();
5
- await page.setContent('<pds-icon alt="" role="img" style="height: 16px; width: 16px;"></pds-icon>');
6
- const element = await page.find('pds-icon');
7
- expect(element).toHaveClass('hydrated');
8
- });
9
- });
10
- //# sourceMappingURL=pds-icon.e2e.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pds-icon.e2e.js","sourceRoot":"","sources":["../../../../src/components/pds-icon/test/pds-icon.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;QAEhC,MAAM,IAAI,CAAC,UAAU,CAAC,4EAA4E,CAAC,CAAC;QACpG,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC5C,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC1C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from '@stencil/core/testing';\n\ndescribe('pds-icon', () => {\n it('renders', async () => {\n const page = await newE2EPage();\n\n await page.setContent('<pds-icon alt=\"\" role=\"img\" style=\"height: 16px; width: 16px;\"></pds-icon>');\n const element = await page.find('pds-icon');\n expect(element).toHaveClass('hydrated');\n });\n});\n"]}
@@ -1,108 +0,0 @@
1
- import { newSpecPage } from "@stencil/core/testing";
2
- import { PdsIcon } from "../pds-icon";
3
- describe('pds-icon', () => {
4
- it('renders', async () => {
5
- const { root } = await newSpecPage({
6
- components: [PdsIcon],
7
- html: '<pds-icon></pds-icon>',
8
- });
9
- expect(root).toEqualHtml(`
10
- <pds-icon alt="" role="img" size="regular" style="--dimension-icon-height: 16px; --dimension-icon-width: 16px;">
11
- <mock:shadow-root>
12
- <div class="icon-inner"></div>
13
- </mock:shadow-root>
14
- </pds-icon>
15
- `);
16
- });
17
- it('renders the correct size when passed', async () => {
18
- const { root } = await newSpecPage({
19
- components: [PdsIcon],
20
- html: '<pds-icon size="small"></pds-icon>',
21
- });
22
- expect(root).toEqualHtml(`
23
- <pds-icon alt="" role="img" size="small" style="--dimension-icon-height: 12px; --dimension-icon-width: 12px;">
24
- <mock:shadow-root>
25
- <div class="icon-inner"></div>
26
- </mock:shadow-root>
27
- </pds-icon>
28
- `);
29
- });
30
- it('allows custom size', async () => {
31
- const { root } = await newSpecPage({
32
- components: [PdsIcon],
33
- html: '<pds-icon size="32px"></pds-icon>',
34
- });
35
- expect(root).toEqualHtml(`
36
- <pds-icon alt="" role="img" size="32px" style="--dimension-icon-height: 32px; --dimension-icon-width: 32px;">
37
- <mock:shadow-root>
38
- <div class="icon-inner"></div>
39
- </mock:shadow-root>
40
- </pds-icon>
41
- `);
42
- });
43
- it('renders icon when found', async () => {
44
- const { root } = await newSpecPage({
45
- components: [PdsIcon],
46
- html: '<pds-icon name="archive"></pds-icon>',
47
- });
48
- expect(root).toEqualHtml(`
49
- <pds-icon alt="" aria-label="archive" name="archive" role="img" size="regular" style="--dimension-icon-height: 16px; --dimension-icon-width: 16px;">
50
- <mock:shadow-root>
51
- <div class="icon-inner"></div>
52
- </mock:shadow-root>
53
- </pds-icon>
54
- `);
55
- });
56
- it('add correct styles when color specified', async () => {
57
- const { root } = await newSpecPage({
58
- components: [PdsIcon],
59
- html: '<pds-icon name="archive" color="red"></pds-icon>',
60
- });
61
- expect(root).toEqualHtml(`
62
- <pds-icon alt="" aria-label="archive" class="pds-color pds-color-red" color="red" name="archive" role="img" size="regular" style="--dimension-icon-height: 16px; --dimension-icon-width: 16px; --color-icon-fill: red">
63
- <mock:shadow-root>
64
- <div class="icon-inner"></div>
65
- </mock:shadow-root>
66
- </pds-icon>
67
- `);
68
- });
69
- it('renders custom aria-label', async () => {
70
- const { root } = await newSpecPage({
71
- components: [PdsIcon],
72
- html: `<pds-icon name="star" aria-label="custom label"></pds-icon>`,
73
- });
74
- expect(root).toEqualHtml(`
75
- <pds-icon alt="" name="star" role="img" aria-label="custom label" size="regular" style="--dimension-icon-height: 16px; --dimension-icon-width: 16px;">
76
- <mock:shadow-root>
77
- <div class="icon-inner"></div>
78
- </mock:shadow-root>
79
- </pds-icon>
80
- `);
81
- });
82
- it('renders custom label after changing source', async () => {
83
- const page = await newSpecPage({
84
- components: [PdsIcon],
85
- html: `<pds-icon name="youtube" aria-label="custom label"></pds-icon>`,
86
- });
87
- const icon = page.root;
88
- expect(icon).toEqualHtml(`
89
- <pds-icon alt="" name="youtube" role="img" aria-label="custom label" size="regular" style="--dimension-icon-height: 16px; --dimension-icon-width: 16px;">
90
- <mock:shadow-root>
91
- <div class="icon-inner"></div>
92
- </mock:shadow-root>
93
- </pds-icon>
94
- `);
95
- if (icon) {
96
- icon.name = 'trash';
97
- }
98
- await page.waitForChanges();
99
- expect(icon).toEqualHtml(`
100
- <pds-icon alt="" name="trash" role="img" aria-label="custom label" size="regular" style="--dimension-icon-height: 16px; --dimension-icon-width: 16px;">
101
- <mock:shadow-root>
102
- <div class="icon-inner"></div>
103
- </mock:shadow-root>
104
- </pds-icon>
105
- `);
106
- });
107
- });
108
- //# sourceMappingURL=pds-icon.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pds-icon.spec.js","sourceRoot":"","sources":["../../../../src/components/pds-icon/test/pds-icon.spec.ts"],"names":[],"mappings":"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","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { PdsIcon } from '../pds-icon';\n\ndescribe('pds-icon', () => {\n it('renders', async () => {\n const { root } = await newSpecPage({\n components: [PdsIcon],\n html: '<pds-icon></pds-icon>',\n });\n expect(root).toEqualHtml(`\n <pds-icon alt=\"\" role=\"img\" size=\"regular\" style=\"--dimension-icon-height: 16px; --dimension-icon-width: 16px;\">\n <mock:shadow-root>\n <div class=\"icon-inner\"></div>\n </mock:shadow-root>\n </pds-icon>\n `);\n });\n\n it('renders the correct size when passed', async () => {\n const { root } = await newSpecPage({\n components: [PdsIcon],\n html: '<pds-icon size=\"small\"></pds-icon>',\n });\n expect(root).toEqualHtml(`\n <pds-icon alt=\"\" role=\"img\" size=\"small\" style=\"--dimension-icon-height: 12px; --dimension-icon-width: 12px;\">\n <mock:shadow-root>\n <div class=\"icon-inner\"></div>\n </mock:shadow-root>\n </pds-icon>\n `);\n });\n\n it('allows custom size', async () => {\n const { root } = await newSpecPage({\n components: [PdsIcon],\n html: '<pds-icon size=\"32px\"></pds-icon>',\n });\n expect(root).toEqualHtml(`\n <pds-icon alt=\"\" role=\"img\" size=\"32px\" style=\"--dimension-icon-height: 32px; --dimension-icon-width: 32px;\">\n <mock:shadow-root>\n <div class=\"icon-inner\"></div>\n </mock:shadow-root>\n </pds-icon>\n `);\n });\n\n it('renders icon when found', async () => {\n const { root } = await newSpecPage({\n components: [PdsIcon],\n html: '<pds-icon name=\"archive\"></pds-icon>',\n });\n expect(root).toEqualHtml(`\n <pds-icon alt=\"\" aria-label=\"archive\" name=\"archive\" role=\"img\" size=\"regular\" style=\"--dimension-icon-height: 16px; --dimension-icon-width: 16px;\">\n <mock:shadow-root>\n <div class=\"icon-inner\"></div>\n </mock:shadow-root>\n </pds-icon>\n `);\n });\n\n it('add correct styles when color specified', async () => {\n const { root } = await newSpecPage({\n components: [PdsIcon],\n html: '<pds-icon name=\"archive\" color=\"red\"></pds-icon>',\n });\n expect(root).toEqualHtml(`\n <pds-icon alt=\"\" aria-label=\"archive\" class=\"pds-color pds-color-red\" color=\"red\" name=\"archive\" role=\"img\" size=\"regular\" style=\"--dimension-icon-height: 16px; --dimension-icon-width: 16px; --color-icon-fill: red\">\n <mock:shadow-root>\n <div class=\"icon-inner\"></div>\n </mock:shadow-root>\n </pds-icon>\n `);\n });\n\n it('renders custom aria-label', async () => {\n const { root } = await newSpecPage({\n components: [PdsIcon],\n html: `<pds-icon name=\"star\" aria-label=\"custom label\"></pds-icon>`,\n });\n\n expect(root).toEqualHtml(`\n <pds-icon alt=\"\" name=\"star\" role=\"img\" aria-label=\"custom label\" size=\"regular\" style=\"--dimension-icon-height: 16px; --dimension-icon-width: 16px;\">\n <mock:shadow-root>\n <div class=\"icon-inner\"></div>\n </mock:shadow-root>\n </pds-icon>\n `);\n });\n\n it('renders custom label after changing source', async () => {\n const page = await newSpecPage({\n components: [PdsIcon],\n html: `<pds-icon name=\"youtube\" aria-label=\"custom label\"></pds-icon>`,\n });\n\n const icon = page.root;\n\n expect(icon).toEqualHtml(`\n <pds-icon alt=\"\" name=\"youtube\" role=\"img\" aria-label=\"custom label\" size=\"regular\" style=\"--dimension-icon-height: 16px; --dimension-icon-width: 16px;\">\n <mock:shadow-root>\n <div class=\"icon-inner\"></div>\n </mock:shadow-root>\n </pds-icon>\n `);\n\n if (icon) {\n icon.name = 'trash';\n }\n await page.waitForChanges();\n\n expect(icon).toEqualHtml(`\n <pds-icon alt=\"\" name=\"trash\" role=\"img\" aria-label=\"custom label\" size=\"regular\" style=\"--dimension-icon-height: 16px; --dimension-icon-width: 16px;\">\n <mock:shadow-root>\n <div class=\"icon-inner\"></div>\n </mock:shadow-root>\n </pds-icon>\n `);\n });\n\n\n});\n"]}
@@ -1,95 +0,0 @@
1
- import { getAssetPath } from "./assetPath";
2
- let CACHED_MAP;
3
- export const addIcons = (icons) => {
4
- const map = getIconMap();
5
- Object.keys(icons).forEach(name => map.set(name, icons[name]));
6
- };
7
- export const getIconMap = () => {
8
- if (typeof window === 'undefined') {
9
- return new Map();
10
- }
11
- else {
12
- if (!CACHED_MAP) {
13
- const win = window; // eslint-disable-line @typescript-eslint/no-explicit-any
14
- win.PdsIcons = win.PdsIcons || {};
15
- CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();
16
- }
17
- return CACHED_MAP;
18
- }
19
- };
20
- export const getName = (iconName, icon) => {
21
- if (!iconName && icon && !isSrc(icon)) {
22
- iconName = icon;
23
- }
24
- if (isStr(iconName)) {
25
- iconName = toLower(iconName);
26
- }
27
- if (!isStr(iconName) || iconName.trim() === '') {
28
- return null;
29
- }
30
- const invalidChars = iconName.replace(/[a-z]|-|\d/gi, '');
31
- if (invalidChars != '') {
32
- return null;
33
- }
34
- return iconName;
35
- };
36
- const getNamedUrl = (iconName) => {
37
- const url = getIconMap().get(iconName);
38
- if (url) {
39
- return url;
40
- }
41
- return getAssetPath(`svg/${iconName}.svg`);
42
- };
43
- export const getSrc = (src) => {
44
- if (isStr(src)) {
45
- src = src.trim();
46
- if (isSrc(src)) {
47
- return src;
48
- }
49
- }
50
- return null;
51
- };
52
- export const getUrl = (pdsIcon) => {
53
- let url = getSrc(pdsIcon.src);
54
- if (url) {
55
- return url;
56
- }
57
- url = getName(pdsIcon.name, pdsIcon.icon);
58
- if (url) {
59
- return getNamedUrl(url);
60
- }
61
- if (pdsIcon.icon) {
62
- url = getSrc(pdsIcon.icon);
63
- if (url) {
64
- return url;
65
- }
66
- }
67
- return null;
68
- };
69
- export const isSrc = (str) => str.length > 0 && /(\/|\.)/.test(str);
70
- export const isStr = (val) => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any
71
- export const toLower = (val) => val.toLowerCase();
72
- /**
73
- * Elements inside of web components sometimes need to inherit global attributes
74
- * set on the host. For example, the inner input in `ion-input` should inherit
75
- * the `title` attribute that developers set directly on `ion-input`. This
76
- * helper function should be called in componentWillLoad and assigned to a variable
77
- * that is later used in the render function.
78
- *
79
- * This does not need to be reactive as changing attributes on the host element
80
- * does not trigger a re-render.
81
- */
82
- export const inheritAttributes = (el, attributes = []) => {
83
- const attributeObject = {}; // eslint-disable-line @typescript-eslint/no-explicit-any
84
- attributes.forEach(attr => {
85
- if (el.hasAttribute(attr)) {
86
- const value = el.getAttribute(attr);
87
- if (value !== null) {
88
- attributeObject[attr] = el.getAttribute(attr);
89
- }
90
- el.removeAttribute(attr);
91
- }
92
- });
93
- return attributeObject;
94
- };
95
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/pds-icon/utils.ts"],"names":[],"mappings":"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","sourcesContent":["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"]}
@@ -1,46 +0,0 @@
1
- import { isStr } from "./utils";
2
- export const validateContent = (svgContent) => {
3
- const div = document.createElement('div');
4
- div.innerHTML = svgContent;
5
- // setup this way to ensure it works on our buddy IE
6
- for (let i = div.childNodes.length - 1; i >= 0; i--) {
7
- if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {
8
- div.removeChild(div.childNodes[i]);
9
- }
10
- }
11
- // must only have 1 root element
12
- const svgElm = div.firstElementChild;
13
- if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {
14
- const svgClass = svgElm.getAttribute('class') || '';
15
- svgElm.setAttribute('class', (svgClass + ' s-pds-icon').trim());
16
- // root element must be an svg
17
- // lets double check we've got valid elements
18
- // do not allow scripts
19
- if (isValid(svgElm)) {
20
- return div.innerHTML;
21
- }
22
- }
23
- return '';
24
- };
25
- export const isValid = (elm) => {
26
- if (elm.nodeType === 1) {
27
- if (elm.nodeName.toLowerCase() === 'script') {
28
- return false;
29
- }
30
- for (let i = 0; i < elm.attributes.length; i++) {
31
- const name = elm.attributes[i].name;
32
- if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {
33
- return false;
34
- }
35
- }
36
- for (let i = 0; i < elm.childNodes.length; i++) {
37
- if (!isValid(elm.childNodes[i])) {
38
- return false;
39
- }
40
- }
41
- }
42
- return true;
43
- };
44
- export const isSvgDataUrl = (url) => url.startsWith('data:image/svg+xml');
45
- export const isEncodedDataUrl = (url) => url.indexOf(';utf8,') !== -1;
46
- //# sourceMappingURL=validate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../src/components/pds-icon/validate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE;IACpD,MAAM,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC1C,GAAG,CAAC,SAAS,GAAG,UAAU,CAAC;IAE3B,oDAAoD;IACpD,KAAK,IAAI,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QACpD,IAAI,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE,CAAC;YACvD,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;QACrC,CAAC;IACH,CAAC;IAED,gCAAgC;IAChC,MAAM,MAAM,GAAG,GAAG,CAAC,iBAAiB,CAAC;IACrC,IAAI,MAAM,IAAI,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE,CAAC;QACtD,MAAM,QAAQ,GAAG,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QACpD,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC,QAAQ,GAAG,aAAa,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;QAEhE,8BAA8B;QAC9B,6CAA6C;QAC7C,uBAAuB;QACvB,IAAI,OAAO,CAAC,MAAqB,CAAC,EAAE,CAAC;YACnC,OAAO,GAAG,CAAC,SAAS,CAAC;QACvB,CAAC;IACH,CAAC;IACD,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,GAAgB,EAAE,EAAE;IAC1C,IAAI,GAAG,CAAC,QAAQ,KAAK,CAAC,EAAE,CAAC;QACvB,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,QAAQ,EAAE,CAAC;YAC5C,OAAO,KAAK,CAAC;QACf,CAAC;QAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAC/C,MAAM,IAAI,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;YACpC,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC1D,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;QAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAC/C,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAgB,CAAC,EAAE,CAAC;gBAC/C,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAClF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC","sourcesContent":["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"]}
@@ -1,2 +0,0 @@
1
- export { addIcons } from './components/pds-icon/utils';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC","sourcesContent":["export { addIcons } from './components/pds-icon/utils';\nexport type { Components, JSX } from './components';\n"]}