@pine-ds/icons 7.4.2 → 7.4.3

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 (409) hide show
  1. package/components/index.cjs.js +1 -0
  2. package/components/index.d.ts +0 -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 +0 -0
  7. package/components/pds-icon.js +377 -0
  8. package/components/pds-icon.js.map +1 -0
  9. package/dist/cheatsheet.html +3 -3
  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-4513af51.js +1245 -0
  13. package/dist/cjs/index-4513af51.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 +220 -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-4a964891.js +140 -0
  23. package/dist/cjs/utils-4a964891.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 +25 -0
  28. package/dist/collection/components/pds-icon/pds-icon.js +241 -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/bar-chart-10-tone.svg +1 -0
  60. package/dist/collection/components/pds-icon/svg/bell-01-tone.svg +1 -0
  61. package/dist/collection/components/pds-icon/svg/bell.svg +1 -0
  62. package/dist/collection/components/pds-icon/svg/block.svg +1 -0
  63. package/dist/collection/components/pds-icon/svg/blog-filled.svg +1 -0
  64. package/dist/collection/components/pds-icon/svg/blog.svg +1 -0
  65. package/dist/collection/components/pds-icon/svg/bold.svg +1 -0
  66. package/dist/collection/components/pds-icon/svg/broadcast.svg +1 -0
  67. package/dist/collection/components/pds-icon/svg/bulb.svg +1 -0
  68. package/dist/collection/components/pds-icon/svg/button.svg +1 -0
  69. package/dist/collection/components/pds-icon/svg/calendar-date.svg +1 -0
  70. package/dist/collection/components/pds-icon/svg/calendar-schedule.svg +1 -0
  71. package/dist/collection/components/pds-icon/svg/calendar-simple.svg +1 -0
  72. package/dist/collection/components/pds-icon/svg/card-amex.svg +1 -0
  73. package/dist/collection/components/pds-icon/svg/card-android.svg +1 -0
  74. package/dist/collection/components/pds-icon/svg/card-apple.svg +1 -0
  75. package/dist/collection/components/pds-icon/svg/card-diners-club.svg +1 -0
  76. package/dist/collection/components/pds-icon/svg/card-discover.svg +1 -0
  77. package/dist/collection/components/pds-icon/svg/card-generic.svg +1 -0
  78. package/dist/collection/components/pds-icon/svg/card-gpay.svg +1 -0
  79. package/dist/collection/components/pds-icon/svg/card-mastercard.svg +1 -0
  80. package/dist/collection/components/pds-icon/svg/card-paypal.svg +1 -0
  81. package/dist/collection/components/pds-icon/svg/card-stripe.svg +1 -0
  82. package/dist/collection/components/pds-icon/svg/card-update.svg +1 -0
  83. package/dist/collection/components/pds-icon/svg/card-visa.svg +1 -0
  84. package/dist/collection/components/pds-icon/svg/caret-down.svg +1 -0
  85. package/dist/collection/components/pds-icon/svg/caret-left.svg +1 -0
  86. package/dist/collection/components/pds-icon/svg/caret-right.svg +1 -0
  87. package/dist/collection/components/pds-icon/svg/caret-up.svg +1 -0
  88. package/dist/collection/components/pds-icon/svg/cart-add.svg +1 -0
  89. package/dist/collection/components/pds-icon/svg/cart.svg +1 -0
  90. package/dist/collection/components/pds-icon/svg/certificate.svg +1 -0
  91. package/dist/collection/components/pds-icon/svg/chart-filled.svg +1 -0
  92. package/dist/collection/components/pds-icon/svg/chart.svg +1 -0
  93. package/dist/collection/components/pds-icon/svg/check-circle-filled.svg +1 -0
  94. package/dist/collection/components/pds-icon/svg/check-circle.svg +1 -0
  95. package/dist/collection/components/pds-icon/svg/check.svg +1 -0
  96. package/dist/collection/components/pds-icon/svg/circle-1.svg +1 -0
  97. package/dist/collection/components/pds-icon/svg/circle-2.svg +1 -0
  98. package/dist/collection/components/pds-icon/svg/circle-3.svg +1 -0
  99. package/dist/collection/components/pds-icon/svg/circle-4.svg +1 -0
  100. package/dist/collection/components/pds-icon/svg/circle-5.svg +1 -0
  101. package/dist/collection/components/pds-icon/svg/circle-6.svg +1 -0
  102. package/dist/collection/components/pds-icon/svg/circle-7.svg +1 -0
  103. package/dist/collection/components/pds-icon/svg/circle-8.svg +1 -0
  104. package/dist/collection/components/pds-icon/svg/circle-9.svg +1 -0
  105. package/dist/collection/components/pds-icon/svg/circle-a.svg +1 -0
  106. package/dist/collection/components/pds-icon/svg/circle-b.svg +1 -0
  107. package/dist/collection/components/pds-icon/svg/circle-dashed.svg +1 -0
  108. package/dist/collection/components/pds-icon/svg/clapperboard-tone.svg +1 -0
  109. package/dist/collection/components/pds-icon/svg/clock.svg +1 -0
  110. package/dist/collection/components/pds-icon/svg/closed-captions.svg +1 -0
  111. package/dist/collection/components/pds-icon/svg/cloud-upload.svg +1 -0
  112. package/dist/collection/components/pds-icon/svg/code-block.svg +1 -0
  113. package/dist/collection/components/pds-icon/svg/code.svg +1 -0
  114. package/dist/collection/components/pds-icon/svg/color.svg +1 -0
  115. package/dist/collection/components/pds-icon/svg/columns.svg +1 -0
  116. package/dist/collection/components/pds-icon/svg/comment-no.svg +1 -0
  117. package/dist/collection/components/pds-icon/svg/comment.svg +1 -0
  118. package/dist/collection/components/pds-icon/svg/connect.svg +1 -0
  119. package/dist/collection/components/pds-icon/svg/contact.svg +1 -0
  120. package/dist/collection/components/pds-icon/svg/conversation.svg +1 -0
  121. package/dist/collection/components/pds-icon/svg/copy.svg +1 -0
  122. package/dist/collection/components/pds-icon/svg/coupon.svg +1 -0
  123. package/dist/collection/components/pds-icon/svg/course-filled.svg +1 -0
  124. package/dist/collection/components/pds-icon/svg/course.svg +1 -0
  125. package/dist/collection/components/pds-icon/svg/creator-studio-filled.svg +1 -0
  126. package/dist/collection/components/pds-icon/svg/creator-studio.svg +1 -0
  127. package/dist/collection/components/pds-icon/svg/credit-card-02-tone.svg +1 -0
  128. package/dist/collection/components/pds-icon/svg/cube-01-tone.svg +1 -0
  129. package/dist/collection/components/pds-icon/svg/cursor-pointer.svg +1 -0
  130. package/dist/collection/components/pds-icon/svg/cursor.svg +1 -0
  131. package/dist/collection/components/pds-icon/svg/custom-field.svg +1 -0
  132. package/dist/collection/components/pds-icon/svg/customize.svg +1 -0
  133. package/dist/collection/components/pds-icon/svg/danger-filled.svg +1 -0
  134. package/dist/collection/components/pds-icon/svg/danger.svg +1 -0
  135. package/dist/collection/components/pds-icon/svg/delete-circle.svg +1 -0
  136. package/dist/collection/components/pds-icon/svg/delete-key.svg +1 -0
  137. package/dist/collection/components/pds-icon/svg/delete-x.svg +1 -0
  138. package/dist/collection/components/pds-icon/svg/dollar.svg +1 -0
  139. package/dist/collection/components/pds-icon/svg/dot-menu-horizontal.svg +1 -0
  140. package/dist/collection/components/pds-icon/svg/dots-horizontal-tone.svg +1 -0
  141. package/dist/collection/components/pds-icon/svg/down-small.svg +1 -0
  142. package/dist/collection/components/pds-icon/svg/download.svg +1 -0
  143. package/dist/collection/components/pds-icon/svg/downsell.svg +1 -0
  144. package/dist/collection/components/pds-icon/svg/draft.svg +1 -0
  145. package/dist/collection/components/pds-icon/svg/drawer-collapse.svg +1 -0
  146. package/dist/collection/components/pds-icon/svg/drawer-expand.svg +1 -0
  147. package/dist/collection/components/pds-icon/svg/drop.svg +1 -0
  148. package/dist/collection/components/pds-icon/svg/duplicate.svg +1 -0
  149. package/dist/collection/components/pds-icon/svg/editor-filled.svg +1 -0
  150. package/dist/collection/components/pds-icon/svg/editor.svg +1 -0
  151. package/dist/collection/components/pds-icon/svg/email-activity.svg +1 -0
  152. package/dist/collection/components/pds-icon/svg/emoji.svg +1 -0
  153. package/dist/collection/components/pds-icon/svg/enlarge-vertical.svg +1 -0
  154. package/dist/collection/components/pds-icon/svg/enlarge.svg +1 -0
  155. package/dist/collection/components/pds-icon/svg/expand.svg +1 -0
  156. package/dist/collection/components/pds-icon/svg/favorite.svg +1 -0
  157. package/dist/collection/components/pds-icon/svg/feedback.svg +1 -0
  158. package/dist/collection/components/pds-icon/svg/file-02.svg +1 -0
  159. package/dist/collection/components/pds-icon/svg/file-money.svg +1 -0
  160. package/dist/collection/components/pds-icon/svg/file.svg +1 -0
  161. package/dist/collection/components/pds-icon/svg/filter.svg +1 -0
  162. package/dist/collection/components/pds-icon/svg/flag.svg +1 -0
  163. package/dist/collection/components/pds-icon/svg/flash-filled.svg +1 -0
  164. package/dist/collection/components/pds-icon/svg/flash.svg +1 -0
  165. package/dist/collection/components/pds-icon/svg/floppy-disk.svg +1 -0
  166. package/dist/collection/components/pds-icon/svg/folder-group.svg +1 -0
  167. package/dist/collection/components/pds-icon/svg/folder.svg +1 -0
  168. package/dist/collection/components/pds-icon/svg/form-field.svg +1 -0
  169. package/dist/collection/components/pds-icon/svg/form-filled.svg +1 -0
  170. package/dist/collection/components/pds-icon/svg/form.svg +1 -0
  171. package/dist/collection/components/pds-icon/svg/fullscreen.svg +1 -0
  172. package/dist/collection/components/pds-icon/svg/funnel.svg +1 -0
  173. package/dist/collection/components/pds-icon/svg/gear-filled.svg +1 -0
  174. package/dist/collection/components/pds-icon/svg/gear.svg +1 -0
  175. package/dist/collection/components/pds-icon/svg/grant-offer.svg +1 -0
  176. package/dist/collection/components/pds-icon/svg/handle-2-vertical.svg +1 -0
  177. package/dist/collection/components/pds-icon/svg/handle-2.svg +1 -0
  178. package/dist/collection/components/pds-icon/svg/handle.svg +1 -0
  179. package/dist/collection/components/pds-icon/svg/hashtag.svg +1 -0
  180. package/dist/collection/components/pds-icon/svg/hd-video.svg +1 -0
  181. package/dist/collection/components/pds-icon/svg/heading-1.svg +1 -0
  182. package/dist/collection/components/pds-icon/svg/heading-2.svg +1 -0
  183. package/dist/collection/components/pds-icon/svg/heading-3.svg +1 -0
  184. package/dist/collection/components/pds-icon/svg/heading-4.svg +1 -0
  185. package/dist/collection/components/pds-icon/svg/heading-5.svg +1 -0
  186. package/dist/collection/components/pds-icon/svg/heading-6.svg +1 -0
  187. package/dist/collection/components/pds-icon/svg/heading-large.svg +1 -0
  188. package/dist/collection/components/pds-icon/svg/heading-small.svg +1 -0
  189. package/dist/collection/components/pds-icon/svg/headset-tone.svg +1 -0
  190. package/dist/collection/components/pds-icon/svg/headset.svg +1 -0
  191. package/dist/collection/components/pds-icon/svg/help-filled.svg +1 -0
  192. package/dist/collection/components/pds-icon/svg/help.svg +1 -0
  193. package/dist/collection/components/pds-icon/svg/home-02-tone.svg +1 -0
  194. package/dist/collection/components/pds-icon/svg/home-alt.svg +1 -0
  195. package/dist/collection/components/pds-icon/svg/home-filled.svg +1 -0
  196. package/dist/collection/components/pds-icon/svg/home.svg +1 -0
  197. package/dist/collection/components/pds-icon/svg/horizontal-line.svg +1 -0
  198. package/dist/collection/components/pds-icon/svg/image.svg +1 -0
  199. package/dist/collection/components/pds-icon/svg/info-circle-filled.svg +1 -0
  200. package/dist/collection/components/pds-icon/svg/info-circle.svg +1 -0
  201. package/dist/collection/components/pds-icon/svg/ios-battery.svg +1 -0
  202. package/dist/collection/components/pds-icon/svg/ios-data.svg +1 -0
  203. package/dist/collection/components/pds-icon/svg/ios-wifi.svg +1 -0
  204. package/dist/collection/components/pds-icon/svg/italic.svg +1 -0
  205. package/dist/collection/components/pds-icon/svg/kajabi-filled.svg +1 -0
  206. package/dist/collection/components/pds-icon/svg/kajabi.svg +1 -0
  207. package/dist/collection/components/pds-icon/svg/klarna.svg +1 -0
  208. package/dist/collection/components/pds-icon/svg/lab.svg +1 -0
  209. package/dist/collection/components/pds-icon/svg/launch.svg +1 -0
  210. package/dist/collection/components/pds-icon/svg/layout-grid.svg +1 -0
  211. package/dist/collection/components/pds-icon/svg/layout-list.svg +1 -0
  212. package/dist/collection/components/pds-icon/svg/left-small.svg +1 -0
  213. package/dist/collection/components/pds-icon/svg/list-bullet.svg +1 -0
  214. package/dist/collection/components/pds-icon/svg/list-details.svg +1 -0
  215. package/dist/collection/components/pds-icon/svg/list-numbers.svg +1 -0
  216. package/dist/collection/components/pds-icon/svg/location.svg +1 -0
  217. package/dist/collection/components/pds-icon/svg/lock-alt.svg +1 -0
  218. package/dist/collection/components/pds-icon/svg/lock.svg +1 -0
  219. package/dist/collection/components/pds-icon/svg/logo-afterpay.svg +1 -0
  220. package/dist/collection/components/pds-icon/svg/logo-facebook-round.svg +1 -0
  221. package/dist/collection/components/pds-icon/svg/logo-facebook.svg +1 -0
  222. package/dist/collection/components/pds-icon/svg/logo-instagram.svg +1 -0
  223. package/dist/collection/components/pds-icon/svg/logo-linkedin.svg +1 -0
  224. package/dist/collection/components/pds-icon/svg/logo-tiktok.svg +1 -0
  225. package/dist/collection/components/pds-icon/svg/logo-twitter-x.svg +1 -0
  226. package/dist/collection/components/pds-icon/svg/logo-twitter.svg +1 -0
  227. package/dist/collection/components/pds-icon/svg/logo-youtube.svg +1 -0
  228. package/dist/collection/components/pds-icon/svg/loop.svg +1 -0
  229. package/dist/collection/components/pds-icon/svg/mail-01-tone.svg +1 -0
  230. package/dist/collection/components/pds-icon/svg/mail-filled.svg +1 -0
  231. package/dist/collection/components/pds-icon/svg/mail-open.svg +1 -0
  232. package/dist/collection/components/pds-icon/svg/mail.svg +1 -0
  233. package/dist/collection/components/pds-icon/svg/map.svg +1 -0
  234. package/dist/collection/components/pds-icon/svg/mapped.svg +1 -0
  235. package/dist/collection/components/pds-icon/svg/margin-left.svg +1 -0
  236. package/dist/collection/components/pds-icon/svg/margin-right.svg +1 -0
  237. package/dist/collection/components/pds-icon/svg/marker-filled.svg +1 -0
  238. package/dist/collection/components/pds-icon/svg/marker.svg +1 -0
  239. package/dist/collection/components/pds-icon/svg/megaphone-filled.svg +1 -0
  240. package/dist/collection/components/pds-icon/svg/megaphone.svg +1 -0
  241. package/dist/collection/components/pds-icon/svg/menu-alt.svg +1 -0
  242. package/dist/collection/components/pds-icon/svg/menu-bordered.svg +1 -0
  243. package/dist/collection/components/pds-icon/svg/menu.svg +1 -0
  244. package/dist/collection/components/pds-icon/svg/merge.svg +1 -0
  245. package/dist/collection/components/pds-icon/svg/microphone-off.svg +1 -0
  246. package/dist/collection/components/pds-icon/svg/microphone.svg +1 -0
  247. package/dist/collection/components/pds-icon/svg/monitor-03-tone.svg +1 -0
  248. package/dist/collection/components/pds-icon/svg/monitor-filled.svg +1 -0
  249. package/dist/collection/components/pds-icon/svg/monitor.svg +1 -0
  250. package/dist/collection/components/pds-icon/svg/more-menu-filled.svg +1 -0
  251. package/dist/collection/components/pds-icon/svg/more-menu.svg +1 -0
  252. package/dist/collection/components/pds-icon/svg/move-left.svg +1 -0
  253. package/dist/collection/components/pds-icon/svg/move-right.svg +1 -0
  254. package/dist/collection/components/pds-icon/svg/multi-pay.svg +1 -0
  255. package/dist/collection/components/pds-icon/svg/newsletter-2.svg +1 -0
  256. package/dist/collection/components/pds-icon/svg/newsletter.svg +1 -0
  257. package/dist/collection/components/pds-icon/svg/one-off-session.svg +1 -0
  258. package/dist/collection/components/pds-icon/svg/one-time.svg +1 -0
  259. package/dist/collection/components/pds-icon/svg/packages.svg +1 -0
  260. package/dist/collection/components/pds-icon/svg/pause-circle.svg +1 -0
  261. package/dist/collection/components/pds-icon/svg/pause.svg +1 -0
  262. package/dist/collection/components/pds-icon/svg/payout.svg +1 -0
  263. package/dist/collection/components/pds-icon/svg/pen.svg +1 -0
  264. package/dist/collection/components/pds-icon/svg/phone-02-tone.svg +1 -0
  265. package/dist/collection/components/pds-icon/svg/phone-portrait.svg +1 -0
  266. package/dist/collection/components/pds-icon/svg/phone-toolbar-filled.svg +1 -0
  267. package/dist/collection/components/pds-icon/svg/phone-toolbar.svg +1 -0
  268. package/dist/collection/components/pds-icon/svg/play-circle.svg +1 -0
  269. package/dist/collection/components/pds-icon/svg/play-outline.svg +1 -0
  270. package/dist/collection/components/pds-icon/svg/play-store.svg +1 -0
  271. package/dist/collection/components/pds-icon/svg/play.svg +1 -0
  272. package/dist/collection/components/pds-icon/svg/plug.svg +1 -0
  273. package/dist/collection/components/pds-icon/svg/premium.svg +1 -0
  274. package/dist/collection/components/pds-icon/svg/present.svg +1 -0
  275. package/dist/collection/components/pds-icon/svg/preview-off.svg +1 -0
  276. package/dist/collection/components/pds-icon/svg/preview-on.svg +1 -0
  277. package/dist/collection/components/pds-icon/svg/product-filled.svg +1 -0
  278. package/dist/collection/components/pds-icon/svg/product.svg +1 -0
  279. package/dist/collection/components/pds-icon/svg/question-circle.svg +1 -0
  280. package/dist/collection/components/pds-icon/svg/quote.svg +1 -0
  281. package/dist/collection/components/pds-icon/svg/redo.svg +1 -0
  282. package/dist/collection/components/pds-icon/svg/refresh.svg +1 -0
  283. package/dist/collection/components/pds-icon/svg/remove-circle.svg +1 -0
  284. package/dist/collection/components/pds-icon/svg/remove.svg +1 -0
  285. package/dist/collection/components/pds-icon/svg/rename.svg +1 -0
  286. package/dist/collection/components/pds-icon/svg/reset-password.svg +1 -0
  287. package/dist/collection/components/pds-icon/svg/restore.svg +1 -0
  288. package/dist/collection/components/pds-icon/svg/right-small.svg +1 -0
  289. package/dist/collection/components/pds-icon/svg/rocket-filled.svg +1 -0
  290. package/dist/collection/components/pds-icon/svg/rocket.svg +1 -0
  291. package/dist/collection/components/pds-icon/svg/round-dollar.svg +1 -0
  292. package/dist/collection/components/pds-icon/svg/rows.svg +1 -0
  293. package/dist/collection/components/pds-icon/svg/scissor.svg +1 -0
  294. package/dist/collection/components/pds-icon/svg/screen-share-off.svg +1 -0
  295. package/dist/collection/components/pds-icon/svg/screen-share-on.svg +1 -0
  296. package/dist/collection/components/pds-icon/svg/search-md-tone.svg +1 -0
  297. package/dist/collection/components/pds-icon/svg/search-small.svg +1 -0
  298. package/dist/collection/components/pds-icon/svg/search.svg +1 -0
  299. package/dist/collection/components/pds-icon/svg/send-message.svg +1 -0
  300. package/dist/collection/components/pds-icon/svg/sequences.svg +1 -0
  301. package/dist/collection/components/pds-icon/svg/settings-01-tone.svg +1 -0
  302. package/dist/collection/components/pds-icon/svg/share.svg +1 -0
  303. package/dist/collection/components/pds-icon/svg/skipped.svg +1 -0
  304. package/dist/collection/components/pds-icon/svg/slash-divider.svg +1 -0
  305. package/dist/collection/components/pds-icon/svg/speaker.svg +1 -0
  306. package/dist/collection/components/pds-icon/svg/stack.svg +1 -0
  307. package/dist/collection/components/pds-icon/svg/star.svg +1 -0
  308. package/dist/collection/components/pds-icon/svg/stars-01-tone.svg +1 -0
  309. package/dist/collection/components/pds-icon/svg/stop.svg +1 -0
  310. package/dist/collection/components/pds-icon/svg/stopwatch.svg +1 -0
  311. package/dist/collection/components/pds-icon/svg/strikethrough.svg +1 -0
  312. package/dist/collection/components/pds-icon/svg/subscript.svg +1 -0
  313. package/dist/collection/components/pds-icon/svg/subscriptions.svg +1 -0
  314. package/dist/collection/components/pds-icon/svg/super-admin.svg +1 -0
  315. package/dist/collection/components/pds-icon/svg/superscript.svg +1 -0
  316. package/dist/collection/components/pds-icon/svg/sync.svg +1 -0
  317. package/dist/collection/components/pds-icon/svg/tablet-landscape.svg +1 -0
  318. package/dist/collection/components/pds-icon/svg/tablet-portrait.svg +1 -0
  319. package/dist/collection/components/pds-icon/svg/tag-filled.svg +1 -0
  320. package/dist/collection/components/pds-icon/svg/tag.svg +1 -0
  321. package/dist/collection/components/pds-icon/svg/text-styles.svg +1 -0
  322. package/dist/collection/components/pds-icon/svg/theme-store-filled.svg +1 -0
  323. package/dist/collection/components/pds-icon/svg/theme-store.svg +1 -0
  324. package/dist/collection/components/pds-icon/svg/thumb-down-filled.svg +1 -0
  325. package/dist/collection/components/pds-icon/svg/thumb-down.svg +1 -0
  326. package/dist/collection/components/pds-icon/svg/thumb-up-filled.svg +1 -0
  327. package/dist/collection/components/pds-icon/svg/thumb-up.svg +1 -0
  328. package/dist/collection/components/pds-icon/svg/trash.svg +1 -0
  329. package/dist/collection/components/pds-icon/svg/trophy-filled.svg +1 -0
  330. package/dist/collection/components/pds-icon/svg/trophy.svg +1 -0
  331. package/dist/collection/components/pds-icon/svg/underline.svg +1 -0
  332. package/dist/collection/components/pds-icon/svg/undo.svg +1 -0
  333. package/dist/collection/components/pds-icon/svg/unlock.svg +1 -0
  334. package/dist/collection/components/pds-icon/svg/unmapped.svg +1 -0
  335. package/dist/collection/components/pds-icon/svg/up-small.svg +1 -0
  336. package/dist/collection/components/pds-icon/svg/upload.svg +1 -0
  337. package/dist/collection/components/pds-icon/svg/url.svg +1 -0
  338. package/dist/collection/components/pds-icon/svg/user-circle-filled.svg +1 -0
  339. package/dist/collection/components/pds-icon/svg/user-circle.svg +1 -0
  340. package/dist/collection/components/pds-icon/svg/user-filled.svg +1 -0
  341. package/dist/collection/components/pds-icon/svg/user-star-filled.svg +1 -0
  342. package/dist/collection/components/pds-icon/svg/user-star.svg +1 -0
  343. package/dist/collection/components/pds-icon/svg/user.svg +1 -0
  344. package/dist/collection/components/pds-icon/svg/users-02-tone.svg +1 -0
  345. package/dist/collection/components/pds-icon/svg/users-alt.svg +1 -0
  346. package/dist/collection/components/pds-icon/svg/users-filled.svg +1 -0
  347. package/dist/collection/components/pds-icon/svg/users.svg +1 -0
  348. package/dist/collection/components/pds-icon/svg/video-off.svg +1 -0
  349. package/dist/collection/components/pds-icon/svg/video-on.svg +1 -0
  350. package/dist/collection/components/pds-icon/svg/warning-filled.svg +1 -0
  351. package/dist/collection/components/pds-icon/svg/warning.svg +1 -0
  352. package/dist/collection/components/pds-icon/svg/window-paragraph.svg +1 -0
  353. package/dist/collection/components/pds-icon/svg/world.svg +1 -0
  354. package/dist/collection/components/pds-icon/svg/wrench.svg +1 -0
  355. package/dist/collection/components/pds-icon/utils.js +95 -0
  356. package/dist/collection/components/pds-icon/utils.js.map +1 -0
  357. package/dist/collection/components/pds-icon/validate.js +46 -0
  358. package/dist/collection/components/pds-icon/validate.js.map +1 -0
  359. package/dist/collection/index.js +2 -0
  360. package/dist/collection/index.js.map +1 -0
  361. package/dist/docs.json +3 -3
  362. package/dist/esm/index-6000a95d.js +1217 -0
  363. package/dist/esm/index-6000a95d.js.map +1 -0
  364. package/dist/esm/index.js +4 -0
  365. package/dist/esm/index.js.map +1 -0
  366. package/dist/esm/loader.js +13 -0
  367. package/dist/esm/loader.js.map +1 -0
  368. package/dist/{pds-icons → esm}/pds-icon.entry.js +8 -7
  369. package/dist/esm/pds-icon.entry.js.map +1 -0
  370. package/dist/esm/pds-icons.js +22 -0
  371. package/dist/esm/pds-icons.js.map +1 -0
  372. package/dist/{pds-icons/utils-39f6c025.js → esm/utils-40080bc9.js} +3 -3
  373. package/dist/esm/utils-40080bc9.js.map +1 -0
  374. package/dist/index.cjs.js +1 -0
  375. package/dist/index.js +1 -0
  376. package/dist/loader/cdn.js +1 -0
  377. package/dist/loader/index.cjs.js +1 -0
  378. package/dist/loader/index.d.ts +24 -0
  379. package/dist/loader/index.es2017.js +1 -0
  380. package/dist/loader/index.js +2 -0
  381. package/dist/loader/package.json +11 -0
  382. package/dist/pds-icons/index.esm.js +1 -3
  383. package/dist/pds-icons/index.esm.js.map +1 -1
  384. package/dist/pds-icons/p-39904cba.js +2 -0
  385. package/dist/pds-icons/p-39904cba.js.map +1 -0
  386. package/dist/pds-icons/p-aa154542.js +3 -0
  387. package/dist/pds-icons/p-aa154542.js.map +1 -0
  388. package/dist/pds-icons/p-daeec840.entry.js +2 -0
  389. package/dist/pds-icons/p-daeec840.entry.js.map +1 -0
  390. package/dist/pds-icons/p-e1255160.js +2 -0
  391. package/dist/pds-icons/p-e1255160.js.map +1 -0
  392. package/dist/pds-icons/pds-icons.esm.js +1 -48
  393. package/dist/pds-icons/pds-icons.esm.js.map +1 -1
  394. package/dist/pds-icons.json +1 -1
  395. package/dist/pds-icons.symbols.svg +1 -1
  396. package/dist/types/stencil-public-runtime.d.ts +0 -2
  397. package/icons/index.d.ts +1 -1
  398. package/icons/index.js +1 -1
  399. package/icons/index.mjs +1 -1
  400. package/icons/package.json +1 -1
  401. package/package.json +2 -2
  402. package/dist/pds-icons/index-ff192a13.js +0 -2970
  403. package/dist/pds-icons/index-ff192a13.js.map +0 -1
  404. package/dist/pds-icons/pds-icon.entry.js.map +0 -1
  405. package/dist/pds-icons/shadow-css-964ae2c5.js +0 -358
  406. package/dist/pds-icons/shadow-css-964ae2c5.js.map +0 -1
  407. package/dist/pds-icons/utils-39f6c025.js.map +0 -1
  408. /package/dist/{pds-icons → esm}/app-globals-0f993ce5.js +0 -0
  409. /package/dist/{pds-icons → esm}/app-globals-0f993ce5.js.map +0 -0
@@ -1 +0,0 @@
1
- {"file":"pds-icon.entry.esm.js","mappings":";;;AAEO,MAAM,eAAe,GAAG,CAAC,UAAkB;IAChD,MAAM,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC1C,GAAG,CAAC,SAAS,GAAG,UAAU,CAAC;;IAG3B,KAAK,IAAI,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE;QACnD,IAAI,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE;YACtD,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;SACpC;KACF;;IAGD,MAAM,MAAM,GAAG,GAAG,CAAC,iBAAiB,CAAC;IACrC,IAAI,MAAM,IAAI,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE;QACrD,MAAM,QAAQ,GAAG,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QACpD,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC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/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 { 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 --dimension-icon-height: 16px;\n --dimension-icon-width: 16px;\n --color-icon-fill: currentColor;\n\n contain: strict;\n display: inline-block;\n fill: var(--color-icon-fill);\n height: var(--dimension-icon-height);\n width: var(--dimension-icon-width);\n\n .pdsicon {\n fill: var(--color-icon-fill);\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\n componentDidLoad() {\n this.setCSSVariables();\n }\n\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);\n this.setCSSVariables();\n }\n\n setCSSVariables() {\n this.el.style.setProperty(`--dimension-icon-height`, this.iconSize());\n this.el.style.setProperty(`--dimension-icon-width`, this.iconSize());\n this.el.style.setProperty(`--color-icon-fill`, this.color || 'currentColor');\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('size')\n @Watch('color')\n updateStyles() {\n this.setCSSVariables();\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 return (\n\n <Host\n aria-label={ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null }\n alt=\"\"\n role=\"img\"\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}
@@ -1,358 +0,0 @@
1
- // src/utils/regular-expression.ts
2
- var escapeRegExpSpecialCharacters = (text) => {
3
- return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
4
- };
5
-
6
- // src/utils/shadow-css.ts
7
- /**
8
- * @license
9
- * Copyright Google Inc. All Rights Reserved.
10
- *
11
- * Use of this source code is governed by an MIT-style license that can be
12
- * found in the LICENSE file at https://angular.io/license
13
- *
14
- * This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
15
- * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
16
- * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
17
- */
18
- var safeSelector = (selector) => {
19
- const placeholders = [];
20
- let index = 0;
21
- selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
22
- const replaceBy = `__ph-${index}__`;
23
- placeholders.push(keep);
24
- index++;
25
- return replaceBy;
26
- });
27
- const content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
28
- const replaceBy = `__ph-${index}__`;
29
- placeholders.push(exp);
30
- index++;
31
- return pseudo + replaceBy;
32
- });
33
- const ss = {
34
- content,
35
- placeholders
36
- };
37
- return ss;
38
- };
39
- var restoreSafeSelector = (placeholders, content) => {
40
- return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
41
- };
42
- var _polyfillHost = "-shadowcsshost";
43
- var _polyfillSlotted = "-shadowcssslotted";
44
- var _polyfillHostContext = "-shadowcsscontext";
45
- var _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
46
- var _cssColonHostRe = new RegExp("(" + _polyfillHost + _parenSuffix, "gim");
47
- var _cssColonHostContextRe = new RegExp("(" + _polyfillHostContext + _parenSuffix, "gim");
48
- var _cssColonSlottedRe = new RegExp("(" + _polyfillSlotted + _parenSuffix, "gim");
49
- var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
50
- var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
51
- var _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
52
- var _selectorReSuffix = "([>\\s~+[.,{:][\\s\\S]*)?$";
53
- var _polyfillHostRe = /-shadowcsshost/gim;
54
- var createSupportsRuleRe = (selector) => new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${selector}\\b)`, "gim");
55
- var _colonSlottedRe = createSupportsRuleRe("::slotted");
56
- var _colonHostRe = createSupportsRuleRe(":host");
57
- var _colonHostContextRe = createSupportsRuleRe(":host-context");
58
- var _commentRe = /\/\*\s*[\s\S]*?\*\//g;
59
- var stripComments = (input) => {
60
- return input.replace(_commentRe, "");
61
- };
62
- var _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
63
- var extractCommentsWithHash = (input) => {
64
- return input.match(_commentWithHashRe) || [];
65
- };
66
- var _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
67
- var _curlyRe = /([{}])/g;
68
- var _selectorPartsRe = /(^.*?[^\\])??((:+)(.*)|$)/;
69
- var OPEN_CURLY = "{";
70
- var CLOSE_CURLY = "}";
71
- var BLOCK_PLACEHOLDER = "%BLOCK%";
72
- var processRules = (input, ruleCallback) => {
73
- const inputWithEscapedBlocks = escapeBlocks(input);
74
- let nextBlockIndex = 0;
75
- return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
76
- const selector = m[2];
77
- let content = "";
78
- let suffix = m[4];
79
- let contentPrefix = "";
80
- if (suffix && suffix.startsWith("{" + BLOCK_PLACEHOLDER)) {
81
- content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
82
- suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
83
- contentPrefix = "{";
84
- }
85
- const cssRule = {
86
- selector,
87
- content
88
- };
89
- const rule = ruleCallback(cssRule);
90
- return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
91
- });
92
- };
93
- var escapeBlocks = (input) => {
94
- const inputParts = input.split(_curlyRe);
95
- const resultParts = [];
96
- const escapedBlocks = [];
97
- let bracketCount = 0;
98
- let currentBlockParts = [];
99
- for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
100
- const part = inputParts[partIndex];
101
- if (part === CLOSE_CURLY) {
102
- bracketCount--;
103
- }
104
- if (bracketCount > 0) {
105
- currentBlockParts.push(part);
106
- } else {
107
- if (currentBlockParts.length > 0) {
108
- escapedBlocks.push(currentBlockParts.join(""));
109
- resultParts.push(BLOCK_PLACEHOLDER);
110
- currentBlockParts = [];
111
- }
112
- resultParts.push(part);
113
- }
114
- if (part === OPEN_CURLY) {
115
- bracketCount++;
116
- }
117
- }
118
- if (currentBlockParts.length > 0) {
119
- escapedBlocks.push(currentBlockParts.join(""));
120
- resultParts.push(BLOCK_PLACEHOLDER);
121
- }
122
- const strEscapedBlocks = {
123
- escapedString: resultParts.join(""),
124
- blocks: escapedBlocks
125
- };
126
- return strEscapedBlocks;
127
- };
128
- var insertPolyfillHostInCssText = (cssText) => {
129
- cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);
130
- return cssText;
131
- };
132
- var convertColonRule = (cssText, regExp, partReplacer) => {
133
- return cssText.replace(regExp, (...m) => {
134
- if (m[2]) {
135
- const parts = m[2].split(",");
136
- const r = [];
137
- for (let i = 0; i < parts.length; i++) {
138
- const p = parts[i].trim();
139
- if (!p) break;
140
- r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
141
- }
142
- return r.join(",");
143
- } else {
144
- return _polyfillHostNoCombinator + m[3];
145
- }
146
- });
147
- };
148
- var colonHostPartReplacer = (host, part, suffix) => {
149
- return host + part.replace(_polyfillHost, "") + suffix;
150
- };
151
- var convertColonHost = (cssText) => {
152
- return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);
153
- };
154
- var colonHostContextPartReplacer = (host, part, suffix) => {
155
- if (part.indexOf(_polyfillHost) > -1) {
156
- return colonHostPartReplacer(host, part, suffix);
157
- } else {
158
- return host + part + suffix + ", " + part + " " + host + suffix;
159
- }
160
- };
161
- var convertColonSlotted = (cssText, slotScopeId) => {
162
- const slotClass = "." + slotScopeId + " > ";
163
- const selectors = [];
164
- cssText = cssText.replace(_cssColonSlottedRe, (...m) => {
165
- if (m[2]) {
166
- const compound = m[2].trim();
167
- const suffix = m[3];
168
- const slottedSelector = slotClass + compound + suffix;
169
- let prefixSelector = "";
170
- for (let i = m[4] - 1; i >= 0; i--) {
171
- const char = m[5][i];
172
- if (char === "}" || char === ",") {
173
- break;
174
- }
175
- prefixSelector = char + prefixSelector;
176
- }
177
- const orgSelector = (prefixSelector + slottedSelector).trim();
178
- const addedSelector = `${prefixSelector.trimEnd()}${slottedSelector.trim()}`.trim();
179
- if (orgSelector !== addedSelector) {
180
- const updatedSelector = `${addedSelector}, ${orgSelector}`;
181
- selectors.push({
182
- orgSelector,
183
- updatedSelector
184
- });
185
- }
186
- return slottedSelector;
187
- } else {
188
- return _polyfillHostNoCombinator + m[3];
189
- }
190
- });
191
- return {
192
- selectors,
193
- cssText
194
- };
195
- };
196
- var convertColonHostContext = (cssText) => {
197
- return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);
198
- };
199
- var convertShadowDOMSelectors = (cssText) => {
200
- return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, " "), cssText);
201
- };
202
- var makeScopeMatcher = (scopeSelector2) => {
203
- const lre = /\[/g;
204
- const rre = /\]/g;
205
- scopeSelector2 = scopeSelector2.replace(lre, "\\[").replace(rre, "\\]");
206
- return new RegExp("^(" + scopeSelector2 + ")" + _selectorReSuffix, "m");
207
- };
208
- var selectorNeedsScoping = (selector, scopeSelector2) => {
209
- const re = makeScopeMatcher(scopeSelector2);
210
- return !re.test(selector);
211
- };
212
- var injectScopingSelector = (selector, scopingSelector) => {
213
- return selector.replace(_selectorPartsRe, (_, before = "", _colonGroup, colon = "", after = "") => {
214
- return before + scopingSelector + colon + after;
215
- });
216
- };
217
- var applySimpleSelectorScope = (selector, scopeSelector2, hostSelector) => {
218
- _polyfillHostRe.lastIndex = 0;
219
- if (_polyfillHostRe.test(selector)) {
220
- const replaceBy = `.${hostSelector}`;
221
- return selector.replace(_polyfillHostNoCombinatorRe, (_, selector2) => injectScopingSelector(selector2, replaceBy)).replace(_polyfillHostRe, replaceBy + " ");
222
- }
223
- return scopeSelector2 + " " + selector;
224
- };
225
- var applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {
226
- const isRe = /\[is=([^\]]*)\]/g;
227
- scopeSelector2 = scopeSelector2.replace(isRe, (_, ...parts) => parts[0]);
228
- const className = "." + scopeSelector2;
229
- const _scopeSelectorPart = (p) => {
230
- let scopedP = p.trim();
231
- if (!scopedP) {
232
- return "";
233
- }
234
- if (p.indexOf(_polyfillHostNoCombinator) > -1) {
235
- scopedP = applySimpleSelectorScope(p, scopeSelector2, hostSelector);
236
- } else {
237
- const t = p.replace(_polyfillHostRe, "");
238
- if (t.length > 0) {
239
- scopedP = injectScopingSelector(t, className);
240
- }
241
- }
242
- return scopedP;
243
- };
244
- const safeContent = safeSelector(selector);
245
- selector = safeContent.content;
246
- let scopedSelector = "";
247
- let startIndex = 0;
248
- let res;
249
- const sep = /( |>|\+|~(?!=))\s*/g;
250
- const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
251
- let shouldScope = !hasHost;
252
- while ((res = sep.exec(selector)) !== null) {
253
- const separator = res[1];
254
- const part2 = selector.slice(startIndex, res.index).trim();
255
- shouldScope = shouldScope || part2.indexOf(_polyfillHostNoCombinator) > -1;
256
- const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
257
- scopedSelector += `${scopedPart} ${separator} `;
258
- startIndex = sep.lastIndex;
259
- }
260
- const part = selector.substring(startIndex);
261
- shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
262
- scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
263
- return restoreSafeSelector(safeContent.placeholders, scopedSelector);
264
- };
265
- var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
266
- return selector.split(",").map((shallowPart) => {
267
- if (slotSelector && shallowPart.indexOf("." + slotSelector) > -1) {
268
- return shallowPart.trim();
269
- }
270
- if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {
271
- return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
272
- } else {
273
- return shallowPart.trim();
274
- }
275
- }).join(", ");
276
- };
277
- var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
278
- return processRules(cssText, (rule) => {
279
- let selector = rule.selector;
280
- let content = rule.content;
281
- if (rule.selector[0] !== "@") {
282
- selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
283
- } else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
284
- content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector);
285
- }
286
- const cssRule = {
287
- selector: selector.replace(/\s{2,}/g, " ").trim(),
288
- content
289
- };
290
- return cssRule;
291
- });
292
- };
293
- var scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {
294
- cssText = insertPolyfillHostInCssText(cssText);
295
- cssText = convertColonHost(cssText);
296
- cssText = convertColonHostContext(cssText);
297
- const slotted = convertColonSlotted(cssText, slotScopeId);
298
- cssText = slotted.cssText;
299
- cssText = convertShadowDOMSelectors(cssText);
300
- if (scopeId) {
301
- cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector);
302
- }
303
- cssText = replaceShadowCssHost(cssText, hostScopeId);
304
- cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, " $1 ");
305
- return {
306
- cssText: cssText.trim(),
307
- // We need to replace the shadow CSS host string in each of these selectors since we created
308
- // them prior to the replacement happening in the components CSS text.
309
- slottedSelectors: slotted.selectors.map((ref) => ({
310
- orgSelector: replaceShadowCssHost(ref.orgSelector, hostScopeId),
311
- updatedSelector: replaceShadowCssHost(ref.updatedSelector, hostScopeId)
312
- }))
313
- };
314
- };
315
- var replaceShadowCssHost = (cssText, hostScopeId) => {
316
- return cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
317
- };
318
- var scopeCss = (cssText, scopeId, commentOriginalSelector) => {
319
- const hostScopeId = scopeId + "-h";
320
- const slotScopeId = scopeId + "-s";
321
- const commentsWithHash = extractCommentsWithHash(cssText);
322
- cssText = stripComments(cssText);
323
- const orgSelectors = [];
324
- if (commentOriginalSelector) {
325
- const processCommentedSelector = (rule) => {
326
- const placeholder = `/*!@___${orgSelectors.length}___*/`;
327
- const comment = `/*!@${rule.selector}*/`;
328
- orgSelectors.push({ placeholder, comment });
329
- rule.selector = placeholder + rule.selector;
330
- return rule;
331
- };
332
- cssText = processRules(cssText, (rule) => {
333
- if (rule.selector[0] !== "@") {
334
- return processCommentedSelector(rule);
335
- } else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
336
- rule.content = processRules(rule.content, processCommentedSelector);
337
- return rule;
338
- }
339
- return rule;
340
- });
341
- }
342
- const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector);
343
- cssText = [scoped.cssText, ...commentsWithHash].join("\n");
344
- if (commentOriginalSelector) {
345
- orgSelectors.forEach(({ placeholder, comment }) => {
346
- cssText = cssText.replace(placeholder, comment);
347
- });
348
- }
349
- scoped.slottedSelectors.forEach((slottedSelector) => {
350
- const regex = new RegExp(escapeRegExpSpecialCharacters(slottedSelector.orgSelector), "g");
351
- cssText = cssText.replace(regex, slottedSelector.updatedSelector);
352
- });
353
- return cssText;
354
- };
355
-
356
- export { scopeCss };
357
-
358
- //# sourceMappingURL=shadow-css-964ae2c5.js.map
@@ -1 +0,0 @@
1
- {"file":"shadow-css-964ae2c5.js","mappings":"AAAA;AACA,IAAI,6BAA6B,GAAG,CAAC,IAAI,KAAK;AAC9C,EAAE,OAAO,IAAI,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;AACrD,CAAC,CAAC;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,YAAY,GAAG,CAAC,QAAQ,KAAK;AACjC,EAAE,MAAM,YAAY,GAAG,EAAE,CAAC;AAC1B,EAAE,IAAI,KAAK,GAAG,CAAC,CAAC;AAChB,EAAE,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK;AAC5D,IAAI,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,CA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AC,OAAO,EAAE,GAAG,gBAAgB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC7D,EAAE,IAAI,uBAAuB,EAAE;AAC/B,IAAI,YAAY,CAAC,OAAO,CAAC,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,KAAK;AACvD,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;AACtD,KAAK,CAAC,CAAC;AACP,GAAG;AACH,EAAE,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,eAAe,KAAK;AACvD,IAAI,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,6BAA6B,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,GAAG,CAAC,CAAC;AAC9F,IAAI,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;AACtE,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,OAAO,CAAC;AACjB;;;;","names":[],"sources":["node_modules/@stencil/core/internal/client/shadow-css.js"],"sourcesContent":["// src/utils/regular-expression.ts\nvar escapeRegExpSpecialCharacters = (text) => {\n return text.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n};\n\n// src/utils/shadow-css.ts\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n *\n * This file is a port of shadowCSS from `webcomponents.js` to TypeScript.\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts\n */\nvar safeSelector = (selector) => {\n const placeholders = [];\n let index = 0;\n selector = selector.replace(/(\\[[^\\]]*\\])/g, (_, keep) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(keep);\n index++;\n return replaceBy;\n });\n const content = selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g, (_, pseudo, exp) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(exp);\n index++;\n return pseudo + replaceBy;\n });\n const ss = {\n content,\n placeholders\n };\n return ss;\n};\nvar restoreSafeSelector = (placeholders, content) => {\n return content.replace(/__ph-(\\d+)__/g, (_, index) => placeholders[+index]);\n};\nvar _polyfillHost = \"-shadowcsshost\";\nvar _polyfillSlotted = \"-shadowcssslotted\";\nvar _polyfillHostContext = \"-shadowcsscontext\";\nvar _parenSuffix = \")(?:\\\\(((?:\\\\([^)(]*\\\\)|[^)(]*)+?)\\\\))?([^,{]*)\";\nvar _cssColonHostRe = new RegExp(\"(\" + _polyfillHost + _parenSuffix, \"gim\");\nvar _cssColonHostContextRe = new RegExp(\"(\" + _polyfillHostContext + _parenSuffix, \"gim\");\nvar _cssColonSlottedRe = new RegExp(\"(\" + _polyfillSlotted + _parenSuffix, \"gim\");\nvar _polyfillHostNoCombinator = _polyfillHost + \"-no-combinator\";\nvar _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\\s]*)/;\nvar _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];\nvar _selectorReSuffix = \"([>\\\\s~+[.,{:][\\\\s\\\\S]*)?$\";\nvar _polyfillHostRe = /-shadowcsshost/gim;\nvar createSupportsRuleRe = (selector) => new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${selector}\\\\b)`, \"gim\");\nvar _colonSlottedRe = createSupportsRuleRe(\"::slotted\");\nvar _colonHostRe = createSupportsRuleRe(\":host\");\nvar _colonHostContextRe = createSupportsRuleRe(\":host-context\");\nvar _commentRe = /\\/\\*\\s*[\\s\\S]*?\\*\\//g;\nvar stripComments = (input) => {\n return input.replace(_commentRe, \"\");\n};\nvar _commentWithHashRe = /\\/\\*\\s*#\\s*source(Mapping)?URL=[\\s\\S]+?\\*\\//g;\nvar extractCommentsWithHash = (input) => {\n return input.match(_commentWithHashRe) || [];\n};\nvar _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\nvar _curlyRe = /([{}])/g;\nvar _selectorPartsRe = /(^.*?[^\\\\])??((:+)(.*)|$)/;\nvar OPEN_CURLY = \"{\";\nvar CLOSE_CURLY = \"}\";\nvar BLOCK_PLACEHOLDER = \"%BLOCK%\";\nvar processRules = (input, ruleCallback) => {\n const inputWithEscapedBlocks = escapeBlocks(input);\n let nextBlockIndex = 0;\n return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {\n const selector = m[2];\n let content = \"\";\n let suffix = m[4];\n let contentPrefix = \"\";\n if (suffix && suffix.startsWith(\"{\" + BLOCK_PLACEHOLDER)) {\n content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);\n contentPrefix = \"{\";\n }\n const cssRule = {\n selector,\n content\n };\n const rule = ruleCallback(cssRule);\n return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;\n });\n};\nvar escapeBlocks = (input) => {\n const inputParts = input.split(_curlyRe);\n const resultParts = [];\n const escapedBlocks = [];\n let bracketCount = 0;\n let currentBlockParts = [];\n for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {\n const part = inputParts[partIndex];\n if (part === CLOSE_CURLY) {\n bracketCount--;\n }\n if (bracketCount > 0) {\n currentBlockParts.push(part);\n } else {\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(\"\"));\n resultParts.push(BLOCK_PLACEHOLDER);\n currentBlockParts = [];\n }\n resultParts.push(part);\n }\n if (part === OPEN_CURLY) {\n bracketCount++;\n }\n }\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(\"\"));\n resultParts.push(BLOCK_PLACEHOLDER);\n }\n const strEscapedBlocks = {\n escapedString: resultParts.join(\"\"),\n blocks: escapedBlocks\n };\n return strEscapedBlocks;\n};\nvar insertPolyfillHostInCssText = (cssText) => {\n cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);\n return cssText;\n};\nvar convertColonRule = (cssText, regExp, partReplacer) => {\n return cssText.replace(regExp, (...m) => {\n if (m[2]) {\n const parts = m[2].split(\",\");\n const r = [];\n for (let i = 0; i < parts.length; i++) {\n const p = parts[i].trim();\n if (!p) break;\n r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n }\n return r.join(\",\");\n } else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n};\nvar colonHostPartReplacer = (host, part, suffix) => {\n return host + part.replace(_polyfillHost, \"\") + suffix;\n};\nvar convertColonHost = (cssText) => {\n return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);\n};\nvar colonHostContextPartReplacer = (host, part, suffix) => {\n if (part.indexOf(_polyfillHost) > -1) {\n return colonHostPartReplacer(host, part, suffix);\n } else {\n return host + part + suffix + \", \" + part + \" \" + host + suffix;\n }\n};\nvar convertColonSlotted = (cssText, slotScopeId) => {\n const slotClass = \".\" + slotScopeId + \" > \";\n const selectors = [];\n cssText = cssText.replace(_cssColonSlottedRe, (...m) => {\n if (m[2]) {\n const compound = m[2].trim();\n const suffix = m[3];\n const slottedSelector = slotClass + compound + suffix;\n let prefixSelector = \"\";\n for (let i = m[4] - 1; i >= 0; i--) {\n const char = m[5][i];\n if (char === \"}\" || char === \",\") {\n break;\n }\n prefixSelector = char + prefixSelector;\n }\n const orgSelector = (prefixSelector + slottedSelector).trim();\n const addedSelector = `${prefixSelector.trimEnd()}${slottedSelector.trim()}`.trim();\n if (orgSelector !== addedSelector) {\n const updatedSelector = `${addedSelector}, ${orgSelector}`;\n selectors.push({\n orgSelector,\n updatedSelector\n });\n }\n return slottedSelector;\n } else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n return {\n selectors,\n cssText\n };\n};\nvar convertColonHostContext = (cssText) => {\n return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);\n};\nvar convertShadowDOMSelectors = (cssText) => {\n return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, \" \"), cssText);\n};\nvar makeScopeMatcher = (scopeSelector2) => {\n const lre = /\\[/g;\n const rre = /\\]/g;\n scopeSelector2 = scopeSelector2.replace(lre, \"\\\\[\").replace(rre, \"\\\\]\");\n return new RegExp(\"^(\" + scopeSelector2 + \")\" + _selectorReSuffix, \"m\");\n};\nvar selectorNeedsScoping = (selector, scopeSelector2) => {\n const re = makeScopeMatcher(scopeSelector2);\n return !re.test(selector);\n};\nvar injectScopingSelector = (selector, scopingSelector) => {\n return selector.replace(_selectorPartsRe, (_, before = \"\", _colonGroup, colon = \"\", after = \"\") => {\n return before + scopingSelector + colon + after;\n });\n};\nvar applySimpleSelectorScope = (selector, scopeSelector2, hostSelector) => {\n _polyfillHostRe.lastIndex = 0;\n if (_polyfillHostRe.test(selector)) {\n const replaceBy = `.${hostSelector}`;\n return selector.replace(_polyfillHostNoCombinatorRe, (_, selector2) => injectScopingSelector(selector2, replaceBy)).replace(_polyfillHostRe, replaceBy + \" \");\n }\n return scopeSelector2 + \" \" + selector;\n};\nvar applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {\n const isRe = /\\[is=([^\\]]*)\\]/g;\n scopeSelector2 = scopeSelector2.replace(isRe, (_, ...parts) => parts[0]);\n const className = \".\" + scopeSelector2;\n const _scopeSelectorPart = (p) => {\n let scopedP = p.trim();\n if (!scopedP) {\n return \"\";\n }\n if (p.indexOf(_polyfillHostNoCombinator) > -1) {\n scopedP = applySimpleSelectorScope(p, scopeSelector2, hostSelector);\n } else {\n const t = p.replace(_polyfillHostRe, \"\");\n if (t.length > 0) {\n scopedP = injectScopingSelector(t, className);\n }\n }\n return scopedP;\n };\n const safeContent = safeSelector(selector);\n selector = safeContent.content;\n let scopedSelector = \"\";\n let startIndex = 0;\n let res;\n const sep = /( |>|\\+|~(?!=))\\s*/g;\n const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;\n let shouldScope = !hasHost;\n while ((res = sep.exec(selector)) !== null) {\n const separator = res[1];\n const part2 = selector.slice(startIndex, res.index).trim();\n shouldScope = shouldScope || part2.indexOf(_polyfillHostNoCombinator) > -1;\n const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;\n scopedSelector += `${scopedPart} ${separator} `;\n startIndex = sep.lastIndex;\n }\n const part = selector.substring(startIndex);\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;\n return restoreSafeSelector(safeContent.placeholders, scopedSelector);\n};\nvar scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {\n return selector.split(\",\").map((shallowPart) => {\n if (slotSelector && shallowPart.indexOf(\".\" + slotSelector) > -1) {\n return shallowPart.trim();\n }\n if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {\n return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();\n } else {\n return shallowPart.trim();\n }\n }).join(\", \");\n};\nvar scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {\n return processRules(cssText, (rule) => {\n let selector = rule.selector;\n let content = rule.content;\n if (rule.selector[0] !== \"@\") {\n selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);\n } else if (rule.selector.startsWith(\"@media\") || rule.selector.startsWith(\"@supports\") || rule.selector.startsWith(\"@page\") || rule.selector.startsWith(\"@document\")) {\n content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector);\n }\n const cssRule = {\n selector: selector.replace(/\\s{2,}/g, \" \").trim(),\n content\n };\n return cssRule;\n });\n};\nvar scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {\n cssText = insertPolyfillHostInCssText(cssText);\n cssText = convertColonHost(cssText);\n cssText = convertColonHostContext(cssText);\n const slotted = convertColonSlotted(cssText, slotScopeId);\n cssText = slotted.cssText;\n cssText = convertShadowDOMSelectors(cssText);\n if (scopeId) {\n cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector);\n }\n cssText = replaceShadowCssHost(cssText, hostScopeId);\n cssText = cssText.replace(/>\\s*\\*\\s+([^{, ]+)/gm, \" $1 \");\n return {\n cssText: cssText.trim(),\n // We need to replace the shadow CSS host string in each of these selectors since we created\n // them prior to the replacement happening in the components CSS text.\n slottedSelectors: slotted.selectors.map((ref) => ({\n orgSelector: replaceShadowCssHost(ref.orgSelector, hostScopeId),\n updatedSelector: replaceShadowCssHost(ref.updatedSelector, hostScopeId)\n }))\n };\n};\nvar replaceShadowCssHost = (cssText, hostScopeId) => {\n return cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);\n};\nvar scopeCss = (cssText, scopeId, commentOriginalSelector) => {\n const hostScopeId = scopeId + \"-h\";\n const slotScopeId = scopeId + \"-s\";\n const commentsWithHash = extractCommentsWithHash(cssText);\n cssText = stripComments(cssText);\n const orgSelectors = [];\n if (commentOriginalSelector) {\n const processCommentedSelector = (rule) => {\n const placeholder = `/*!@___${orgSelectors.length}___*/`;\n const comment = `/*!@${rule.selector}*/`;\n orgSelectors.push({ placeholder, comment });\n rule.selector = placeholder + rule.selector;\n return rule;\n };\n cssText = processRules(cssText, (rule) => {\n if (rule.selector[0] !== \"@\") {\n return processCommentedSelector(rule);\n } else if (rule.selector.startsWith(\"@media\") || rule.selector.startsWith(\"@supports\") || rule.selector.startsWith(\"@page\") || rule.selector.startsWith(\"@document\")) {\n rule.content = processRules(rule.content, processCommentedSelector);\n return rule;\n }\n return rule;\n });\n }\n const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector);\n cssText = [scoped.cssText, ...commentsWithHash].join(\"\\n\");\n if (commentOriginalSelector) {\n orgSelectors.forEach(({ placeholder, comment }) => {\n cssText = cssText.replace(placeholder, comment);\n });\n }\n scoped.slottedSelectors.forEach((slottedSelector) => {\n const regex = new RegExp(escapeRegExpSpecialCharacters(slottedSelector.orgSelector), \"g\");\n cssText = cssText.replace(regex, slottedSelector.updatedSelector);\n });\n return cssText;\n};\nexport {\n scopeCss\n};\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"utils-39f6c025.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,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC;IACzB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,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AAO,CAAC,IAAI;QACrB,IAAI,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE;YACzB,MAAM,KAAK,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YACpC,IAAI,KAAK,KAAK,IAAI,EAAE;gBAClB,eAAe,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;aAC/C;YACD,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;SAC1B;KACF,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC;AACzB;;;;","names":[],"sources":["src/components/pds-icon/assetPath.ts","src/components/pds-icon/utils.ts"],"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"],"version":3}
File without changes