@pine-ds/icons 8.18.1 → 8.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +1 -0
- package/components/pds-icon.js +11 -11
- package/components/pds-icon.js.map +1 -1
- package/dist/cheatsheet.html +603 -379
- package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/{utils-2688221f.js → index-BxIRVjvh.js} +4 -3
- package/dist/cjs/index-BxIRVjvh.js.map +1 -0
- package/dist/cjs/{index-01bc4624.js → index-Dww19Xh5.js} +296 -194
- package/dist/cjs/index-Dww19Xh5.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -5
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/pds-icon.cjs.entry.js +19 -21
- package/dist/cjs/pds-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/pds-icons.cjs.js +7 -6
- package/dist/cjs/pds-icons.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/pds-icon/pds-icon.js +18 -8
- package/dist/collection/components/pds-icon/pds-icon.js.map +1 -1
- package/dist/collection/components/pds-icon/svg/.gitignore +5 -0
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +17 -7
- package/dist/esm/app-globals-DQuL1Twl.js +6 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/{utils-82853a12.js → index-DFHkNdqL.js} +5 -4
- package/dist/esm/index-DFHkNdqL.js.map +1 -0
- package/dist/esm/{index-e65f4069.js → index-DQ7l5XCP.js} +295 -173
- package/dist/esm/index-DQ7l5XCP.js.map +1 -0
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +4 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/pds-icon.entry.js +12 -12
- package/dist/esm/pds-icon.entry.js.map +1 -1
- package/dist/esm/pds-icons.js +6 -4
- package/dist/esm/pds-icons.js.map +1 -1
- package/dist/pds-icons/index.esm.js +1 -1
- package/dist/pds-icons/index.esm.js.map +1 -1
- package/dist/pds-icons/loader.esm.js.map +1 -0
- package/dist/pds-icons/p-46d08e47.entry.js +2 -0
- package/dist/pds-icons/p-46d08e47.entry.js.map +1 -0
- package/dist/pds-icons/p-D615Uvrz.js +2 -0
- package/dist/pds-icons/p-D615Uvrz.js.map +1 -0
- package/dist/pds-icons/p-DQ7l5XCP.js +3 -0
- package/dist/pds-icons/p-DQ7l5XCP.js.map +1 -0
- package/dist/pds-icons/p-DQuL1Twl.js +2 -0
- package/dist/pds-icons/p-DQuL1Twl.js.map +1 -0
- package/dist/pds-icons/pds-icon.entry.esm.js.map +1 -0
- package/dist/pds-icons/pds-icons.esm.js +1 -1
- package/dist/pds-icons/pds-icons.esm.js.map +1 -1
- package/dist/pds-icons/svg/.gitignore +5 -0
- package/dist/pds-icons.json +1 -1
- package/dist/pds-icons.symbols.svg +4 -4
- package/dist/svg/logo-facebook-round.svg +1 -1
- package/dist/svg/logo-facebook.svg +1 -1
- package/dist/svg/logo-tiktok.svg +1 -1
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/icons/index.d.ts +1 -1
- package/icons/index.js +4 -4
- package/icons/index.mjs +4 -4
- package/icons/package.json +1 -1
- package/package.json +5 -5
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/index-01bc4624.js.map +0 -1
- package/dist/cjs/utils-2688221f.js.map +0 -1
- package/dist/collection/components/pds-icon/svg/access-key.svg +0 -1
- package/dist/collection/components/pds-icon/svg/add-circle.svg +0 -1
- package/dist/collection/components/pds-icon/svg/add-image.svg +0 -1
- package/dist/collection/components/pds-icon/svg/add-small.svg +0 -1
- package/dist/collection/components/pds-icon/svg/add-square.svg +0 -1
- package/dist/collection/components/pds-icon/svg/add.svg +0 -1
- package/dist/collection/components/pds-icon/svg/advanced.svg +0 -1
- package/dist/collection/components/pds-icon/svg/ai-sparkle.svg +0 -1
- package/dist/collection/components/pds-icon/svg/ai-writer-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/ai-writer.svg +0 -1
- package/dist/collection/components/pds-icon/svg/align-center.svg +0 -1
- package/dist/collection/components/pds-icon/svg/align-horizontal-bottom.svg +0 -1
- package/dist/collection/components/pds-icon/svg/align-horizontal-center.svg +0 -1
- package/dist/collection/components/pds-icon/svg/align-horizontal-top.svg +0 -1
- package/dist/collection/components/pds-icon/svg/align-justify.svg +0 -1
- package/dist/collection/components/pds-icon/svg/align-left.svg +0 -1
- package/dist/collection/components/pds-icon/svg/align-right.svg +0 -1
- package/dist/collection/components/pds-icon/svg/align-vertical-center.svg +0 -1
- package/dist/collection/components/pds-icon/svg/align-vertical-left.svg +0 -1
- package/dist/collection/components/pds-icon/svg/align-vertical-right.svg +0 -1
- package/dist/collection/components/pds-icon/svg/app-store.svg +0 -1
- package/dist/collection/components/pds-icon/svg/archive.svg +0 -1
- package/dist/collection/components/pds-icon/svg/arrow-corner.svg +0 -1
- package/dist/collection/components/pds-icon/svg/arrow-down.svg +0 -1
- package/dist/collection/components/pds-icon/svg/arrow-left.svg +0 -1
- package/dist/collection/components/pds-icon/svg/arrow-right.svg +0 -1
- package/dist/collection/components/pds-icon/svg/arrow-up.svg +0 -1
- package/dist/collection/components/pds-icon/svg/assessment.svg +0 -1
- package/dist/collection/components/pds-icon/svg/at-sign.svg +0 -1
- package/dist/collection/components/pds-icon/svg/attach.svg +0 -1
- package/dist/collection/components/pds-icon/svg/automations.svg +0 -1
- package/dist/collection/components/pds-icon/svg/ban.svg +0 -1
- package/dist/collection/components/pds-icon/svg/bank.svg +0 -1
- package/dist/collection/components/pds-icon/svg/bar-chart-square.svg +0 -1
- package/dist/collection/components/pds-icon/svg/bar-chart-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/bell-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/bell.svg +0 -1
- package/dist/collection/components/pds-icon/svg/block.svg +0 -1
- package/dist/collection/components/pds-icon/svg/blog-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/blog.svg +0 -1
- package/dist/collection/components/pds-icon/svg/bold.svg +0 -1
- package/dist/collection/components/pds-icon/svg/bookmark.svg +0 -1
- package/dist/collection/components/pds-icon/svg/broadcast.svg +0 -1
- package/dist/collection/components/pds-icon/svg/bulb.svg +0 -1
- package/dist/collection/components/pds-icon/svg/button.svg +0 -1
- package/dist/collection/components/pds-icon/svg/calendar-date.svg +0 -1
- package/dist/collection/components/pds-icon/svg/calendar-schedule.svg +0 -1
- package/dist/collection/components/pds-icon/svg/calendar-simple.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-amex.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-android.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-apple.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-diners-club.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-discover.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-generic.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-gpay.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-mastercard.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-paypal.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-stripe.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-update.svg +0 -1
- package/dist/collection/components/pds-icon/svg/card-visa.svg +0 -1
- package/dist/collection/components/pds-icon/svg/caret-down.svg +0 -1
- package/dist/collection/components/pds-icon/svg/caret-left.svg +0 -1
- package/dist/collection/components/pds-icon/svg/caret-right.svg +0 -1
- package/dist/collection/components/pds-icon/svg/caret-up.svg +0 -1
- package/dist/collection/components/pds-icon/svg/cart-add.svg +0 -1
- package/dist/collection/components/pds-icon/svg/cart.svg +0 -1
- package/dist/collection/components/pds-icon/svg/certificate.svg +0 -1
- package/dist/collection/components/pds-icon/svg/chart-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/chart.svg +0 -1
- package/dist/collection/components/pds-icon/svg/check-circle-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/check-circle.svg +0 -1
- package/dist/collection/components/pds-icon/svg/check.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-1.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-2.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-3.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-4.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-5.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-6.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-7.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-8.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-9.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-a.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-b.svg +0 -1
- package/dist/collection/components/pds-icon/svg/circle-dashed.svg +0 -1
- package/dist/collection/components/pds-icon/svg/clapperboard-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/clock.svg +0 -1
- package/dist/collection/components/pds-icon/svg/closed-captions.svg +0 -1
- package/dist/collection/components/pds-icon/svg/cloud-upload.svg +0 -1
- package/dist/collection/components/pds-icon/svg/code-block.svg +0 -1
- package/dist/collection/components/pds-icon/svg/code.svg +0 -1
- package/dist/collection/components/pds-icon/svg/color.svg +0 -1
- package/dist/collection/components/pds-icon/svg/columns.svg +0 -1
- package/dist/collection/components/pds-icon/svg/comment-no.svg +0 -1
- package/dist/collection/components/pds-icon/svg/comment.svg +0 -1
- package/dist/collection/components/pds-icon/svg/connect.svg +0 -1
- package/dist/collection/components/pds-icon/svg/contact.svg +0 -1
- package/dist/collection/components/pds-icon/svg/conversation.svg +0 -1
- package/dist/collection/components/pds-icon/svg/copy-07.svg +0 -1
- package/dist/collection/components/pds-icon/svg/copy.svg +0 -1
- package/dist/collection/components/pds-icon/svg/coupon.svg +0 -1
- package/dist/collection/components/pds-icon/svg/course-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/course.svg +0 -1
- package/dist/collection/components/pds-icon/svg/creator-studio-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/creator-studio.svg +0 -1
- package/dist/collection/components/pds-icon/svg/credit-card-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/cube-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/cursor-pointer.svg +0 -1
- package/dist/collection/components/pds-icon/svg/cursor.svg +0 -1
- package/dist/collection/components/pds-icon/svg/custom-field.svg +0 -1
- package/dist/collection/components/pds-icon/svg/customize.svg +0 -1
- package/dist/collection/components/pds-icon/svg/danger-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/danger.svg +0 -1
- package/dist/collection/components/pds-icon/svg/delete-circle.svg +0 -1
- package/dist/collection/components/pds-icon/svg/delete-key.svg +0 -1
- package/dist/collection/components/pds-icon/svg/delete-x.svg +0 -1
- package/dist/collection/components/pds-icon/svg/dollar.svg +0 -1
- package/dist/collection/components/pds-icon/svg/dot-menu-horizontal.svg +0 -1
- package/dist/collection/components/pds-icon/svg/dots-horizontal-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/down-small.svg +0 -1
- package/dist/collection/components/pds-icon/svg/download.svg +0 -1
- package/dist/collection/components/pds-icon/svg/downsell.svg +0 -1
- package/dist/collection/components/pds-icon/svg/draft.svg +0 -1
- package/dist/collection/components/pds-icon/svg/drawer-collapse.svg +0 -1
- package/dist/collection/components/pds-icon/svg/drawer-expand.svg +0 -1
- package/dist/collection/components/pds-icon/svg/drop.svg +0 -1
- package/dist/collection/components/pds-icon/svg/duplicate.svg +0 -1
- package/dist/collection/components/pds-icon/svg/editor-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/editor.svg +0 -1
- package/dist/collection/components/pds-icon/svg/email-activity.svg +0 -1
- package/dist/collection/components/pds-icon/svg/emoji.svg +0 -1
- package/dist/collection/components/pds-icon/svg/enlarge-vertical.svg +0 -1
- package/dist/collection/components/pds-icon/svg/enlarge.svg +0 -1
- package/dist/collection/components/pds-icon/svg/expand.svg +0 -1
- package/dist/collection/components/pds-icon/svg/favorite.svg +0 -1
- package/dist/collection/components/pds-icon/svg/feedback.svg +0 -1
- package/dist/collection/components/pds-icon/svg/file-add.svg +0 -1
- package/dist/collection/components/pds-icon/svg/file-download.svg +0 -1
- package/dist/collection/components/pds-icon/svg/file-lock.svg +0 -1
- package/dist/collection/components/pds-icon/svg/file-money.svg +0 -1
- package/dist/collection/components/pds-icon/svg/file-search.svg +0 -1
- package/dist/collection/components/pds-icon/svg/file.svg +0 -1
- package/dist/collection/components/pds-icon/svg/filter.svg +0 -1
- package/dist/collection/components/pds-icon/svg/flag.svg +0 -1
- package/dist/collection/components/pds-icon/svg/flash-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/flash.svg +0 -1
- package/dist/collection/components/pds-icon/svg/floppy-disk.svg +0 -1
- package/dist/collection/components/pds-icon/svg/folder-group.svg +0 -1
- package/dist/collection/components/pds-icon/svg/folder.svg +0 -1
- package/dist/collection/components/pds-icon/svg/form-field.svg +0 -1
- package/dist/collection/components/pds-icon/svg/form-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/form.svg +0 -1
- package/dist/collection/components/pds-icon/svg/fullscreen.svg +0 -1
- package/dist/collection/components/pds-icon/svg/funnel.svg +0 -1
- package/dist/collection/components/pds-icon/svg/gear-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/gear.svg +0 -1
- package/dist/collection/components/pds-icon/svg/gift-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/grant-offer.svg +0 -1
- package/dist/collection/components/pds-icon/svg/handle-2-vertical.svg +0 -1
- package/dist/collection/components/pds-icon/svg/handle-2.svg +0 -1
- package/dist/collection/components/pds-icon/svg/handle.svg +0 -1
- package/dist/collection/components/pds-icon/svg/hashtag.svg +0 -1
- package/dist/collection/components/pds-icon/svg/hd-video.svg +0 -1
- package/dist/collection/components/pds-icon/svg/heading-1.svg +0 -1
- package/dist/collection/components/pds-icon/svg/heading-2.svg +0 -1
- package/dist/collection/components/pds-icon/svg/heading-3.svg +0 -1
- package/dist/collection/components/pds-icon/svg/heading-4.svg +0 -1
- package/dist/collection/components/pds-icon/svg/heading-5.svg +0 -1
- package/dist/collection/components/pds-icon/svg/heading-6.svg +0 -1
- package/dist/collection/components/pds-icon/svg/heading-large.svg +0 -1
- package/dist/collection/components/pds-icon/svg/heading-small.svg +0 -1
- package/dist/collection/components/pds-icon/svg/headphones.svg +0 -1
- package/dist/collection/components/pds-icon/svg/headset-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/headset.svg +0 -1
- package/dist/collection/components/pds-icon/svg/help-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/help.svg +0 -1
- package/dist/collection/components/pds-icon/svg/home-alt.svg +0 -1
- package/dist/collection/components/pds-icon/svg/home-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/home-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/home.svg +0 -1
- package/dist/collection/components/pds-icon/svg/horizontal-line.svg +0 -1
- package/dist/collection/components/pds-icon/svg/image.svg +0 -1
- package/dist/collection/components/pds-icon/svg/info-circle-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/info-circle.svg +0 -1
- package/dist/collection/components/pds-icon/svg/ios-battery.svg +0 -1
- package/dist/collection/components/pds-icon/svg/ios-data.svg +0 -1
- package/dist/collection/components/pds-icon/svg/ios-wifi.svg +0 -1
- package/dist/collection/components/pds-icon/svg/italic.svg +0 -1
- package/dist/collection/components/pds-icon/svg/kajabi-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/kajabi.svg +0 -1
- package/dist/collection/components/pds-icon/svg/keyboard-01.svg +0 -1
- package/dist/collection/components/pds-icon/svg/klarna.svg +0 -1
- package/dist/collection/components/pds-icon/svg/lab.svg +0 -1
- package/dist/collection/components/pds-icon/svg/launch.svg +0 -1
- package/dist/collection/components/pds-icon/svg/layout-bottom.svg +0 -1
- package/dist/collection/components/pds-icon/svg/layout-grid-02.svg +0 -1
- package/dist/collection/components/pds-icon/svg/layout-grid.svg +0 -1
- package/dist/collection/components/pds-icon/svg/layout-list.svg +0 -1
- package/dist/collection/components/pds-icon/svg/layout-top.svg +0 -1
- package/dist/collection/components/pds-icon/svg/left-small.svg +0 -1
- package/dist/collection/components/pds-icon/svg/list-bullet.svg +0 -1
- package/dist/collection/components/pds-icon/svg/list-details.svg +0 -1
- package/dist/collection/components/pds-icon/svg/list-numbers.svg +0 -1
- package/dist/collection/components/pds-icon/svg/location.svg +0 -1
- package/dist/collection/components/pds-icon/svg/lock-alt.svg +0 -1
- package/dist/collection/components/pds-icon/svg/lock.svg +0 -1
- package/dist/collection/components/pds-icon/svg/logo-afterpay.svg +0 -1
- package/dist/collection/components/pds-icon/svg/logo-facebook-round.svg +0 -1
- package/dist/collection/components/pds-icon/svg/logo-facebook.svg +0 -1
- package/dist/collection/components/pds-icon/svg/logo-instagram.svg +0 -1
- package/dist/collection/components/pds-icon/svg/logo-linkedin.svg +0 -1
- package/dist/collection/components/pds-icon/svg/logo-snapchat.svg +0 -1
- package/dist/collection/components/pds-icon/svg/logo-tiktok.svg +0 -1
- package/dist/collection/components/pds-icon/svg/logo-twitter-x.svg +0 -1
- package/dist/collection/components/pds-icon/svg/logo-twitter.svg +0 -1
- package/dist/collection/components/pds-icon/svg/logo-youtube.svg +0 -1
- package/dist/collection/components/pds-icon/svg/loop.svg +0 -1
- package/dist/collection/components/pds-icon/svg/mail-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/mail-open.svg +0 -1
- package/dist/collection/components/pds-icon/svg/mail-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/mail.svg +0 -1
- package/dist/collection/components/pds-icon/svg/map.svg +0 -1
- package/dist/collection/components/pds-icon/svg/mapped.svg +0 -1
- package/dist/collection/components/pds-icon/svg/margin-left.svg +0 -1
- package/dist/collection/components/pds-icon/svg/margin-right.svg +0 -1
- package/dist/collection/components/pds-icon/svg/marker-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/marker.svg +0 -1
- package/dist/collection/components/pds-icon/svg/megaphone-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/megaphone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/menu-alt.svg +0 -1
- package/dist/collection/components/pds-icon/svg/menu-bordered.svg +0 -1
- package/dist/collection/components/pds-icon/svg/menu.svg +0 -1
- package/dist/collection/components/pds-icon/svg/merge.svg +0 -1
- package/dist/collection/components/pds-icon/svg/message-text-square-02.svg +0 -1
- package/dist/collection/components/pds-icon/svg/microphone-off.svg +0 -1
- package/dist/collection/components/pds-icon/svg/microphone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/monitor-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/monitor-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/monitor.svg +0 -1
- package/dist/collection/components/pds-icon/svg/more-menu-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/more-menu.svg +0 -1
- package/dist/collection/components/pds-icon/svg/move-left.svg +0 -1
- package/dist/collection/components/pds-icon/svg/move-right.svg +0 -1
- package/dist/collection/components/pds-icon/svg/multi-pay.svg +0 -1
- package/dist/collection/components/pds-icon/svg/music-note-01.svg +0 -1
- package/dist/collection/components/pds-icon/svg/newsletter-2.svg +0 -1
- package/dist/collection/components/pds-icon/svg/newsletter.svg +0 -1
- package/dist/collection/components/pds-icon/svg/one-off-session.svg +0 -1
- package/dist/collection/components/pds-icon/svg/one-time.svg +0 -1
- package/dist/collection/components/pds-icon/svg/packages.svg +0 -1
- package/dist/collection/components/pds-icon/svg/pause-circle.svg +0 -1
- package/dist/collection/components/pds-icon/svg/pause.svg +0 -1
- package/dist/collection/components/pds-icon/svg/payout.svg +0 -1
- package/dist/collection/components/pds-icon/svg/pen.svg +0 -1
- package/dist/collection/components/pds-icon/svg/phone-portrait.svg +0 -1
- package/dist/collection/components/pds-icon/svg/phone-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/phone-toolbar-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/phone-toolbar.svg +0 -1
- package/dist/collection/components/pds-icon/svg/pie-chart-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/play-circle.svg +0 -1
- package/dist/collection/components/pds-icon/svg/play-outline.svg +0 -1
- package/dist/collection/components/pds-icon/svg/play-store.svg +0 -1
- package/dist/collection/components/pds-icon/svg/play.svg +0 -1
- package/dist/collection/components/pds-icon/svg/plug.svg +0 -1
- package/dist/collection/components/pds-icon/svg/plus-square.svg +0 -1
- package/dist/collection/components/pds-icon/svg/premium.svg +0 -1
- package/dist/collection/components/pds-icon/svg/present.svg +0 -1
- package/dist/collection/components/pds-icon/svg/preview-off.svg +0 -1
- package/dist/collection/components/pds-icon/svg/preview-on.svg +0 -1
- package/dist/collection/components/pds-icon/svg/product-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/product.svg +0 -1
- package/dist/collection/components/pds-icon/svg/question-circle.svg +0 -1
- package/dist/collection/components/pds-icon/svg/quote.svg +0 -1
- package/dist/collection/components/pds-icon/svg/redo.svg +0 -1
- package/dist/collection/components/pds-icon/svg/refresh.svg +0 -1
- package/dist/collection/components/pds-icon/svg/remove-circle.svg +0 -1
- package/dist/collection/components/pds-icon/svg/remove.svg +0 -1
- package/dist/collection/components/pds-icon/svg/rename.svg +0 -1
- package/dist/collection/components/pds-icon/svg/reset-password.svg +0 -1
- package/dist/collection/components/pds-icon/svg/restore.svg +0 -1
- package/dist/collection/components/pds-icon/svg/right-small.svg +0 -1
- package/dist/collection/components/pds-icon/svg/rocket-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/rocket-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/rocket.svg +0 -1
- package/dist/collection/components/pds-icon/svg/round-dollar.svg +0 -1
- package/dist/collection/components/pds-icon/svg/rows.svg +0 -1
- package/dist/collection/components/pds-icon/svg/scissor.svg +0 -1
- package/dist/collection/components/pds-icon/svg/screen-share-off.svg +0 -1
- package/dist/collection/components/pds-icon/svg/screen-share-on.svg +0 -1
- package/dist/collection/components/pds-icon/svg/search-md-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/search-small.svg +0 -1
- package/dist/collection/components/pds-icon/svg/search.svg +0 -1
- package/dist/collection/components/pds-icon/svg/send-message.svg +0 -1
- package/dist/collection/components/pds-icon/svg/sequences.svg +0 -1
- package/dist/collection/components/pds-icon/svg/settings-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/share.svg +0 -1
- package/dist/collection/components/pds-icon/svg/shopping-cart-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/skipped.svg +0 -1
- package/dist/collection/components/pds-icon/svg/slash-divider.svg +0 -1
- package/dist/collection/components/pds-icon/svg/speaker.svg +0 -1
- package/dist/collection/components/pds-icon/svg/square-dollar.svg +0 -1
- package/dist/collection/components/pds-icon/svg/stack.svg +0 -1
- package/dist/collection/components/pds-icon/svg/star-03.svg +0 -1
- package/dist/collection/components/pds-icon/svg/star-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/star.svg +0 -1
- package/dist/collection/components/pds-icon/svg/stars-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/stop.svg +0 -1
- package/dist/collection/components/pds-icon/svg/stopwatch.svg +0 -1
- package/dist/collection/components/pds-icon/svg/strikethrough.svg +0 -1
- package/dist/collection/components/pds-icon/svg/subscript.svg +0 -1
- package/dist/collection/components/pds-icon/svg/subscriptions.svg +0 -1
- package/dist/collection/components/pds-icon/svg/super-admin.svg +0 -1
- package/dist/collection/components/pds-icon/svg/superscript.svg +0 -1
- package/dist/collection/components/pds-icon/svg/sync.svg +0 -1
- package/dist/collection/components/pds-icon/svg/tablet-landscape.svg +0 -1
- package/dist/collection/components/pds-icon/svg/tablet-portrait.svg +0 -1
- package/dist/collection/components/pds-icon/svg/tag-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/tag.svg +0 -1
- package/dist/collection/components/pds-icon/svg/text-styles.svg +0 -1
- package/dist/collection/components/pds-icon/svg/theme-store-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/theme-store.svg +0 -1
- package/dist/collection/components/pds-icon/svg/thumb-down-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/thumb-down.svg +0 -1
- package/dist/collection/components/pds-icon/svg/thumb-up-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/thumb-up.svg +0 -1
- package/dist/collection/components/pds-icon/svg/trash.svg +0 -1
- package/dist/collection/components/pds-icon/svg/trend-down.svg +0 -1
- package/dist/collection/components/pds-icon/svg/trend-none.svg +0 -1
- package/dist/collection/components/pds-icon/svg/trend-up.svg +0 -1
- package/dist/collection/components/pds-icon/svg/trophy-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/trophy.svg +0 -1
- package/dist/collection/components/pds-icon/svg/type.svg +0 -1
- package/dist/collection/components/pds-icon/svg/underline.svg +0 -1
- package/dist/collection/components/pds-icon/svg/undo.svg +0 -1
- package/dist/collection/components/pds-icon/svg/unlock.svg +0 -1
- package/dist/collection/components/pds-icon/svg/unmapped.svg +0 -1
- package/dist/collection/components/pds-icon/svg/up-small.svg +0 -1
- package/dist/collection/components/pds-icon/svg/upload.svg +0 -1
- package/dist/collection/components/pds-icon/svg/url.svg +0 -1
- package/dist/collection/components/pds-icon/svg/user-circle-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/user-circle.svg +0 -1
- package/dist/collection/components/pds-icon/svg/user-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/user-star-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/user-star.svg +0 -1
- package/dist/collection/components/pds-icon/svg/user.svg +0 -1
- package/dist/collection/components/pds-icon/svg/users-alt.svg +0 -1
- package/dist/collection/components/pds-icon/svg/users-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/users-tone.svg +0 -1
- package/dist/collection/components/pds-icon/svg/users.svg +0 -1
- package/dist/collection/components/pds-icon/svg/video-off.svg +0 -1
- package/dist/collection/components/pds-icon/svg/video-on.svg +0 -1
- package/dist/collection/components/pds-icon/svg/warning-filled.svg +0 -1
- package/dist/collection/components/pds-icon/svg/warning.svg +0 -1
- package/dist/collection/components/pds-icon/svg/window-paragraph.svg +0 -1
- package/dist/collection/components/pds-icon/svg/world.svg +0 -1
- package/dist/collection/components/pds-icon/svg/wrench.svg +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/index-e65f4069.js.map +0 -1
- package/dist/esm/utils-82853a12.js.map +0 -1
- package/dist/loader/package.json +0 -11
- package/dist/pds-icons/p-3f0a1f7c.entry.js +0 -2
- package/dist/pds-icons/p-3f0a1f7c.entry.js.map +0 -1
- package/dist/pds-icons/p-4719974e.js +0 -2
- package/dist/pds-icons/p-4719974e.js.map +0 -1
- package/dist/pds-icons/p-e1255160.js +0 -2
- package/dist/pds-icons/p-e1255160.js.map +0 -1
- package/dist/pds-icons/p-fd0315e5.js +0 -3
- package/dist/pds-icons/p-fd0315e5.js.map +0 -1
- package/dist/pds-icons/svg/access-key.svg +0 -1
- package/dist/pds-icons/svg/add-circle.svg +0 -1
- package/dist/pds-icons/svg/add-image.svg +0 -1
- package/dist/pds-icons/svg/add-small.svg +0 -1
- package/dist/pds-icons/svg/add-square.svg +0 -1
- package/dist/pds-icons/svg/add.svg +0 -1
- package/dist/pds-icons/svg/advanced.svg +0 -1
- package/dist/pds-icons/svg/ai-sparkle.svg +0 -1
- package/dist/pds-icons/svg/ai-writer-filled.svg +0 -1
- package/dist/pds-icons/svg/ai-writer.svg +0 -1
- package/dist/pds-icons/svg/align-center.svg +0 -1
- package/dist/pds-icons/svg/align-horizontal-bottom.svg +0 -1
- package/dist/pds-icons/svg/align-horizontal-center.svg +0 -1
- package/dist/pds-icons/svg/align-horizontal-top.svg +0 -1
- package/dist/pds-icons/svg/align-justify.svg +0 -1
- package/dist/pds-icons/svg/align-left.svg +0 -1
- package/dist/pds-icons/svg/align-right.svg +0 -1
- package/dist/pds-icons/svg/align-vertical-center.svg +0 -1
- package/dist/pds-icons/svg/align-vertical-left.svg +0 -1
- package/dist/pds-icons/svg/align-vertical-right.svg +0 -1
- package/dist/pds-icons/svg/app-store.svg +0 -1
- package/dist/pds-icons/svg/archive.svg +0 -1
- package/dist/pds-icons/svg/arrow-corner.svg +0 -1
- package/dist/pds-icons/svg/arrow-down.svg +0 -1
- package/dist/pds-icons/svg/arrow-left.svg +0 -1
- package/dist/pds-icons/svg/arrow-right.svg +0 -1
- package/dist/pds-icons/svg/arrow-up.svg +0 -1
- package/dist/pds-icons/svg/assessment.svg +0 -1
- package/dist/pds-icons/svg/at-sign.svg +0 -1
- package/dist/pds-icons/svg/attach.svg +0 -1
- package/dist/pds-icons/svg/automations.svg +0 -1
- package/dist/pds-icons/svg/ban.svg +0 -1
- package/dist/pds-icons/svg/bank.svg +0 -1
- package/dist/pds-icons/svg/bar-chart-square.svg +0 -1
- package/dist/pds-icons/svg/bar-chart-tone.svg +0 -1
- package/dist/pds-icons/svg/bell-tone.svg +0 -1
- package/dist/pds-icons/svg/bell.svg +0 -1
- package/dist/pds-icons/svg/block.svg +0 -1
- package/dist/pds-icons/svg/blog-filled.svg +0 -1
- package/dist/pds-icons/svg/blog.svg +0 -1
- package/dist/pds-icons/svg/bold.svg +0 -1
- package/dist/pds-icons/svg/bookmark.svg +0 -1
- package/dist/pds-icons/svg/broadcast.svg +0 -1
- package/dist/pds-icons/svg/bulb.svg +0 -1
- package/dist/pds-icons/svg/button.svg +0 -1
- package/dist/pds-icons/svg/calendar-date.svg +0 -1
- package/dist/pds-icons/svg/calendar-schedule.svg +0 -1
- package/dist/pds-icons/svg/calendar-simple.svg +0 -1
- package/dist/pds-icons/svg/card-amex.svg +0 -1
- package/dist/pds-icons/svg/card-android.svg +0 -1
- package/dist/pds-icons/svg/card-apple.svg +0 -1
- package/dist/pds-icons/svg/card-diners-club.svg +0 -1
- package/dist/pds-icons/svg/card-discover.svg +0 -1
- package/dist/pds-icons/svg/card-generic.svg +0 -1
- package/dist/pds-icons/svg/card-gpay.svg +0 -1
- package/dist/pds-icons/svg/card-mastercard.svg +0 -1
- package/dist/pds-icons/svg/card-paypal.svg +0 -1
- package/dist/pds-icons/svg/card-stripe.svg +0 -1
- package/dist/pds-icons/svg/card-update.svg +0 -1
- package/dist/pds-icons/svg/card-visa.svg +0 -1
- package/dist/pds-icons/svg/caret-down.svg +0 -1
- package/dist/pds-icons/svg/caret-left.svg +0 -1
- package/dist/pds-icons/svg/caret-right.svg +0 -1
- package/dist/pds-icons/svg/caret-up.svg +0 -1
- package/dist/pds-icons/svg/cart-add.svg +0 -1
- package/dist/pds-icons/svg/cart.svg +0 -1
- package/dist/pds-icons/svg/certificate.svg +0 -1
- package/dist/pds-icons/svg/chart-filled.svg +0 -1
- package/dist/pds-icons/svg/chart.svg +0 -1
- package/dist/pds-icons/svg/check-circle-filled.svg +0 -1
- package/dist/pds-icons/svg/check-circle.svg +0 -1
- package/dist/pds-icons/svg/check.svg +0 -1
- package/dist/pds-icons/svg/circle-1.svg +0 -1
- package/dist/pds-icons/svg/circle-2.svg +0 -1
- package/dist/pds-icons/svg/circle-3.svg +0 -1
- package/dist/pds-icons/svg/circle-4.svg +0 -1
- package/dist/pds-icons/svg/circle-5.svg +0 -1
- package/dist/pds-icons/svg/circle-6.svg +0 -1
- package/dist/pds-icons/svg/circle-7.svg +0 -1
- package/dist/pds-icons/svg/circle-8.svg +0 -1
- package/dist/pds-icons/svg/circle-9.svg +0 -1
- package/dist/pds-icons/svg/circle-a.svg +0 -1
- package/dist/pds-icons/svg/circle-b.svg +0 -1
- package/dist/pds-icons/svg/circle-dashed.svg +0 -1
- package/dist/pds-icons/svg/clapperboard-tone.svg +0 -1
- package/dist/pds-icons/svg/clock.svg +0 -1
- package/dist/pds-icons/svg/closed-captions.svg +0 -1
- package/dist/pds-icons/svg/cloud-upload.svg +0 -1
- package/dist/pds-icons/svg/code-block.svg +0 -1
- package/dist/pds-icons/svg/code.svg +0 -1
- package/dist/pds-icons/svg/color.svg +0 -1
- package/dist/pds-icons/svg/columns.svg +0 -1
- package/dist/pds-icons/svg/comment-no.svg +0 -1
- package/dist/pds-icons/svg/comment.svg +0 -1
- package/dist/pds-icons/svg/connect.svg +0 -1
- package/dist/pds-icons/svg/contact.svg +0 -1
- package/dist/pds-icons/svg/conversation.svg +0 -1
- package/dist/pds-icons/svg/copy-07.svg +0 -1
- package/dist/pds-icons/svg/copy.svg +0 -1
- package/dist/pds-icons/svg/coupon.svg +0 -1
- package/dist/pds-icons/svg/course-filled.svg +0 -1
- package/dist/pds-icons/svg/course.svg +0 -1
- package/dist/pds-icons/svg/creator-studio-filled.svg +0 -1
- package/dist/pds-icons/svg/creator-studio.svg +0 -1
- package/dist/pds-icons/svg/credit-card-tone.svg +0 -1
- package/dist/pds-icons/svg/cube-tone.svg +0 -1
- package/dist/pds-icons/svg/cursor-pointer.svg +0 -1
- package/dist/pds-icons/svg/cursor.svg +0 -1
- package/dist/pds-icons/svg/custom-field.svg +0 -1
- package/dist/pds-icons/svg/customize.svg +0 -1
- package/dist/pds-icons/svg/danger-filled.svg +0 -1
- package/dist/pds-icons/svg/danger.svg +0 -1
- package/dist/pds-icons/svg/delete-circle.svg +0 -1
- package/dist/pds-icons/svg/delete-key.svg +0 -1
- package/dist/pds-icons/svg/delete-x.svg +0 -1
- package/dist/pds-icons/svg/dollar.svg +0 -1
- package/dist/pds-icons/svg/dot-menu-horizontal.svg +0 -1
- package/dist/pds-icons/svg/dots-horizontal-tone.svg +0 -1
- package/dist/pds-icons/svg/down-small.svg +0 -1
- package/dist/pds-icons/svg/download.svg +0 -1
- package/dist/pds-icons/svg/downsell.svg +0 -1
- package/dist/pds-icons/svg/draft.svg +0 -1
- package/dist/pds-icons/svg/drawer-collapse.svg +0 -1
- package/dist/pds-icons/svg/drawer-expand.svg +0 -1
- package/dist/pds-icons/svg/drop.svg +0 -1
- package/dist/pds-icons/svg/duplicate.svg +0 -1
- package/dist/pds-icons/svg/editor-filled.svg +0 -1
- package/dist/pds-icons/svg/editor.svg +0 -1
- package/dist/pds-icons/svg/email-activity.svg +0 -1
- package/dist/pds-icons/svg/emoji.svg +0 -1
- package/dist/pds-icons/svg/enlarge-vertical.svg +0 -1
- package/dist/pds-icons/svg/enlarge.svg +0 -1
- package/dist/pds-icons/svg/expand.svg +0 -1
- package/dist/pds-icons/svg/favorite.svg +0 -1
- package/dist/pds-icons/svg/feedback.svg +0 -1
- package/dist/pds-icons/svg/file-add.svg +0 -1
- package/dist/pds-icons/svg/file-download.svg +0 -1
- package/dist/pds-icons/svg/file-lock.svg +0 -1
- package/dist/pds-icons/svg/file-money.svg +0 -1
- package/dist/pds-icons/svg/file-search.svg +0 -1
- package/dist/pds-icons/svg/file.svg +0 -1
- package/dist/pds-icons/svg/filter.svg +0 -1
- package/dist/pds-icons/svg/flag.svg +0 -1
- package/dist/pds-icons/svg/flash-filled.svg +0 -1
- package/dist/pds-icons/svg/flash.svg +0 -1
- package/dist/pds-icons/svg/floppy-disk.svg +0 -1
- package/dist/pds-icons/svg/folder-group.svg +0 -1
- package/dist/pds-icons/svg/folder.svg +0 -1
- package/dist/pds-icons/svg/form-field.svg +0 -1
- package/dist/pds-icons/svg/form-filled.svg +0 -1
- package/dist/pds-icons/svg/form.svg +0 -1
- package/dist/pds-icons/svg/fullscreen.svg +0 -1
- package/dist/pds-icons/svg/funnel.svg +0 -1
- package/dist/pds-icons/svg/gear-filled.svg +0 -1
- package/dist/pds-icons/svg/gear.svg +0 -1
- package/dist/pds-icons/svg/gift-tone.svg +0 -1
- package/dist/pds-icons/svg/grant-offer.svg +0 -1
- package/dist/pds-icons/svg/handle-2-vertical.svg +0 -1
- package/dist/pds-icons/svg/handle-2.svg +0 -1
- package/dist/pds-icons/svg/handle.svg +0 -1
- package/dist/pds-icons/svg/hashtag.svg +0 -1
- package/dist/pds-icons/svg/hd-video.svg +0 -1
- package/dist/pds-icons/svg/heading-1.svg +0 -1
- package/dist/pds-icons/svg/heading-2.svg +0 -1
- package/dist/pds-icons/svg/heading-3.svg +0 -1
- package/dist/pds-icons/svg/heading-4.svg +0 -1
- package/dist/pds-icons/svg/heading-5.svg +0 -1
- package/dist/pds-icons/svg/heading-6.svg +0 -1
- package/dist/pds-icons/svg/heading-large.svg +0 -1
- package/dist/pds-icons/svg/heading-small.svg +0 -1
- package/dist/pds-icons/svg/headphones.svg +0 -1
- package/dist/pds-icons/svg/headset-tone.svg +0 -1
- package/dist/pds-icons/svg/headset.svg +0 -1
- package/dist/pds-icons/svg/help-filled.svg +0 -1
- package/dist/pds-icons/svg/help.svg +0 -1
- package/dist/pds-icons/svg/home-alt.svg +0 -1
- package/dist/pds-icons/svg/home-filled.svg +0 -1
- package/dist/pds-icons/svg/home-tone.svg +0 -1
- package/dist/pds-icons/svg/home.svg +0 -1
- package/dist/pds-icons/svg/horizontal-line.svg +0 -1
- package/dist/pds-icons/svg/image.svg +0 -1
- package/dist/pds-icons/svg/info-circle-filled.svg +0 -1
- package/dist/pds-icons/svg/info-circle.svg +0 -1
- package/dist/pds-icons/svg/ios-battery.svg +0 -1
- package/dist/pds-icons/svg/ios-data.svg +0 -1
- package/dist/pds-icons/svg/ios-wifi.svg +0 -1
- package/dist/pds-icons/svg/italic.svg +0 -1
- package/dist/pds-icons/svg/kajabi-filled.svg +0 -1
- package/dist/pds-icons/svg/kajabi.svg +0 -1
- package/dist/pds-icons/svg/keyboard-01.svg +0 -1
- package/dist/pds-icons/svg/klarna.svg +0 -1
- package/dist/pds-icons/svg/lab.svg +0 -1
- package/dist/pds-icons/svg/launch.svg +0 -1
- package/dist/pds-icons/svg/layout-bottom.svg +0 -1
- package/dist/pds-icons/svg/layout-grid-02.svg +0 -1
- package/dist/pds-icons/svg/layout-grid.svg +0 -1
- package/dist/pds-icons/svg/layout-list.svg +0 -1
- package/dist/pds-icons/svg/layout-top.svg +0 -1
- package/dist/pds-icons/svg/left-small.svg +0 -1
- package/dist/pds-icons/svg/list-bullet.svg +0 -1
- package/dist/pds-icons/svg/list-details.svg +0 -1
- package/dist/pds-icons/svg/list-numbers.svg +0 -1
- package/dist/pds-icons/svg/location.svg +0 -1
- package/dist/pds-icons/svg/lock-alt.svg +0 -1
- package/dist/pds-icons/svg/lock.svg +0 -1
- package/dist/pds-icons/svg/logo-afterpay.svg +0 -1
- package/dist/pds-icons/svg/logo-facebook-round.svg +0 -1
- package/dist/pds-icons/svg/logo-facebook.svg +0 -1
- package/dist/pds-icons/svg/logo-instagram.svg +0 -1
- package/dist/pds-icons/svg/logo-linkedin.svg +0 -1
- package/dist/pds-icons/svg/logo-snapchat.svg +0 -1
- package/dist/pds-icons/svg/logo-tiktok.svg +0 -1
- package/dist/pds-icons/svg/logo-twitter-x.svg +0 -1
- package/dist/pds-icons/svg/logo-twitter.svg +0 -1
- package/dist/pds-icons/svg/logo-youtube.svg +0 -1
- package/dist/pds-icons/svg/loop.svg +0 -1
- package/dist/pds-icons/svg/mail-filled.svg +0 -1
- package/dist/pds-icons/svg/mail-open.svg +0 -1
- package/dist/pds-icons/svg/mail-tone.svg +0 -1
- package/dist/pds-icons/svg/mail.svg +0 -1
- package/dist/pds-icons/svg/map.svg +0 -1
- package/dist/pds-icons/svg/mapped.svg +0 -1
- package/dist/pds-icons/svg/margin-left.svg +0 -1
- package/dist/pds-icons/svg/margin-right.svg +0 -1
- package/dist/pds-icons/svg/marker-filled.svg +0 -1
- package/dist/pds-icons/svg/marker.svg +0 -1
- package/dist/pds-icons/svg/megaphone-filled.svg +0 -1
- package/dist/pds-icons/svg/megaphone.svg +0 -1
- package/dist/pds-icons/svg/menu-alt.svg +0 -1
- package/dist/pds-icons/svg/menu-bordered.svg +0 -1
- package/dist/pds-icons/svg/menu.svg +0 -1
- package/dist/pds-icons/svg/merge.svg +0 -1
- package/dist/pds-icons/svg/message-text-square-02.svg +0 -1
- package/dist/pds-icons/svg/microphone-off.svg +0 -1
- package/dist/pds-icons/svg/microphone.svg +0 -1
- package/dist/pds-icons/svg/monitor-filled.svg +0 -1
- package/dist/pds-icons/svg/monitor-tone.svg +0 -1
- package/dist/pds-icons/svg/monitor.svg +0 -1
- package/dist/pds-icons/svg/more-menu-filled.svg +0 -1
- package/dist/pds-icons/svg/more-menu.svg +0 -1
- package/dist/pds-icons/svg/move-left.svg +0 -1
- package/dist/pds-icons/svg/move-right.svg +0 -1
- package/dist/pds-icons/svg/multi-pay.svg +0 -1
- package/dist/pds-icons/svg/music-note-01.svg +0 -1
- package/dist/pds-icons/svg/newsletter-2.svg +0 -1
- package/dist/pds-icons/svg/newsletter.svg +0 -1
- package/dist/pds-icons/svg/one-off-session.svg +0 -1
- package/dist/pds-icons/svg/one-time.svg +0 -1
- package/dist/pds-icons/svg/packages.svg +0 -1
- package/dist/pds-icons/svg/pause-circle.svg +0 -1
- package/dist/pds-icons/svg/pause.svg +0 -1
- package/dist/pds-icons/svg/payout.svg +0 -1
- package/dist/pds-icons/svg/pen.svg +0 -1
- package/dist/pds-icons/svg/phone-portrait.svg +0 -1
- package/dist/pds-icons/svg/phone-tone.svg +0 -1
- package/dist/pds-icons/svg/phone-toolbar-filled.svg +0 -1
- package/dist/pds-icons/svg/phone-toolbar.svg +0 -1
- package/dist/pds-icons/svg/pie-chart-filled.svg +0 -1
- package/dist/pds-icons/svg/play-circle.svg +0 -1
- package/dist/pds-icons/svg/play-outline.svg +0 -1
- package/dist/pds-icons/svg/play-store.svg +0 -1
- package/dist/pds-icons/svg/play.svg +0 -1
- package/dist/pds-icons/svg/plug.svg +0 -1
- package/dist/pds-icons/svg/plus-square.svg +0 -1
- package/dist/pds-icons/svg/premium.svg +0 -1
- package/dist/pds-icons/svg/present.svg +0 -1
- package/dist/pds-icons/svg/preview-off.svg +0 -1
- package/dist/pds-icons/svg/preview-on.svg +0 -1
- package/dist/pds-icons/svg/product-filled.svg +0 -1
- package/dist/pds-icons/svg/product.svg +0 -1
- package/dist/pds-icons/svg/question-circle.svg +0 -1
- package/dist/pds-icons/svg/quote.svg +0 -1
- package/dist/pds-icons/svg/redo.svg +0 -1
- package/dist/pds-icons/svg/refresh.svg +0 -1
- package/dist/pds-icons/svg/remove-circle.svg +0 -1
- package/dist/pds-icons/svg/remove.svg +0 -1
- package/dist/pds-icons/svg/rename.svg +0 -1
- package/dist/pds-icons/svg/reset-password.svg +0 -1
- package/dist/pds-icons/svg/restore.svg +0 -1
- package/dist/pds-icons/svg/right-small.svg +0 -1
- package/dist/pds-icons/svg/rocket-filled.svg +0 -1
- package/dist/pds-icons/svg/rocket-tone.svg +0 -1
- package/dist/pds-icons/svg/rocket.svg +0 -1
- package/dist/pds-icons/svg/round-dollar.svg +0 -1
- package/dist/pds-icons/svg/rows.svg +0 -1
- package/dist/pds-icons/svg/scissor.svg +0 -1
- package/dist/pds-icons/svg/screen-share-off.svg +0 -1
- package/dist/pds-icons/svg/screen-share-on.svg +0 -1
- package/dist/pds-icons/svg/search-md-tone.svg +0 -1
- package/dist/pds-icons/svg/search-small.svg +0 -1
- package/dist/pds-icons/svg/search.svg +0 -1
- package/dist/pds-icons/svg/send-message.svg +0 -1
- package/dist/pds-icons/svg/sequences.svg +0 -1
- package/dist/pds-icons/svg/settings-tone.svg +0 -1
- package/dist/pds-icons/svg/share.svg +0 -1
- package/dist/pds-icons/svg/shopping-cart-filled.svg +0 -1
- package/dist/pds-icons/svg/skipped.svg +0 -1
- package/dist/pds-icons/svg/slash-divider.svg +0 -1
- package/dist/pds-icons/svg/speaker.svg +0 -1
- package/dist/pds-icons/svg/square-dollar.svg +0 -1
- package/dist/pds-icons/svg/stack.svg +0 -1
- package/dist/pds-icons/svg/star-03.svg +0 -1
- package/dist/pds-icons/svg/star-filled.svg +0 -1
- package/dist/pds-icons/svg/star.svg +0 -1
- package/dist/pds-icons/svg/stars-tone.svg +0 -1
- package/dist/pds-icons/svg/stop.svg +0 -1
- package/dist/pds-icons/svg/stopwatch.svg +0 -1
- package/dist/pds-icons/svg/strikethrough.svg +0 -1
- package/dist/pds-icons/svg/subscript.svg +0 -1
- package/dist/pds-icons/svg/subscriptions.svg +0 -1
- package/dist/pds-icons/svg/super-admin.svg +0 -1
- package/dist/pds-icons/svg/superscript.svg +0 -1
- package/dist/pds-icons/svg/sync.svg +0 -1
- package/dist/pds-icons/svg/tablet-landscape.svg +0 -1
- package/dist/pds-icons/svg/tablet-portrait.svg +0 -1
- package/dist/pds-icons/svg/tag-filled.svg +0 -1
- package/dist/pds-icons/svg/tag.svg +0 -1
- package/dist/pds-icons/svg/text-styles.svg +0 -1
- package/dist/pds-icons/svg/theme-store-filled.svg +0 -1
- package/dist/pds-icons/svg/theme-store.svg +0 -1
- package/dist/pds-icons/svg/thumb-down-filled.svg +0 -1
- package/dist/pds-icons/svg/thumb-down.svg +0 -1
- package/dist/pds-icons/svg/thumb-up-filled.svg +0 -1
- package/dist/pds-icons/svg/thumb-up.svg +0 -1
- package/dist/pds-icons/svg/trash.svg +0 -1
- package/dist/pds-icons/svg/trend-down.svg +0 -1
- package/dist/pds-icons/svg/trend-none.svg +0 -1
- package/dist/pds-icons/svg/trend-up.svg +0 -1
- package/dist/pds-icons/svg/trophy-filled.svg +0 -1
- package/dist/pds-icons/svg/trophy.svg +0 -1
- package/dist/pds-icons/svg/type.svg +0 -1
- package/dist/pds-icons/svg/underline.svg +0 -1
- package/dist/pds-icons/svg/undo.svg +0 -1
- package/dist/pds-icons/svg/unlock.svg +0 -1
- package/dist/pds-icons/svg/unmapped.svg +0 -1
- package/dist/pds-icons/svg/up-small.svg +0 -1
- package/dist/pds-icons/svg/upload.svg +0 -1
- package/dist/pds-icons/svg/url.svg +0 -1
- package/dist/pds-icons/svg/user-circle-filled.svg +0 -1
- package/dist/pds-icons/svg/user-circle.svg +0 -1
- package/dist/pds-icons/svg/user-filled.svg +0 -1
- package/dist/pds-icons/svg/user-star-filled.svg +0 -1
- package/dist/pds-icons/svg/user-star.svg +0 -1
- package/dist/pds-icons/svg/user.svg +0 -1
- package/dist/pds-icons/svg/users-alt.svg +0 -1
- package/dist/pds-icons/svg/users-filled.svg +0 -1
- package/dist/pds-icons/svg/users-tone.svg +0 -1
- package/dist/pds-icons/svg/users.svg +0 -1
- package/dist/pds-icons/svg/video-off.svg +0 -1
- package/dist/pds-icons/svg/video-on.svg +0 -1
- package/dist/pds-icons/svg/warning-filled.svg +0 -1
- package/dist/pds-icons/svg/warning.svg +0 -1
- package/dist/pds-icons/svg/window-paragraph.svg +0 -1
- package/dist/pds-icons/svg/world.svg +0 -1
- package/dist/pds-icons/svg/wrench.svg +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { i as isStr,
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-DQ7l5XCP.js';
|
|
2
|
+
import { i as isStr, a as inheritAttributes, g as getUrl, b as getName } from './index-DFHkNdqL.js';
|
|
3
3
|
|
|
4
4
|
const validateContent = (svgContent) => {
|
|
5
5
|
const div = document.createElement('div');
|
|
@@ -89,24 +89,23 @@ const getSvgContent = (url, sanitize = false) => {
|
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
const pdsIconCss = ":host{--dimension-icon-height:16px;--dimension-icon-width:16px;--color-icon-fill:currentColor;contain:strict;display:inline-block;fill:var(--color-icon-fill);height:var(--dimension-icon-height);width:var(--dimension-icon-width)}:host .pdsicon{fill:var(--color-icon-fill)}.pds-icon-fill-none{fill:none}.icon-inner,.pds-icon,svg{display:block;height:100%;width:100%}";
|
|
92
|
-
const PdsIconStyle0 = pdsIconCss;
|
|
93
92
|
|
|
94
93
|
const PdsIcon = class {
|
|
95
94
|
constructor(hostRef) {
|
|
96
95
|
registerInstance(this, hostRef);
|
|
97
96
|
this.inheritedAttributes = {}; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
97
|
+
this.isVisible = false;
|
|
98
|
+
/**
|
|
99
|
+
* The size of the icon. This can be
|
|
100
|
+
* 'small', 'regular', 'medium', large, or a
|
|
101
|
+
* custom value (40px, 1rem, etc)
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
this.size = 'regular';
|
|
98
105
|
this.hasAriaHidden = () => {
|
|
99
106
|
const { el } = this;
|
|
100
107
|
return el.hasAttribute('aria-hidden') && el.getAttribute('aria-hidden') === 'true';
|
|
101
108
|
};
|
|
102
|
-
this.ariaLabel = undefined;
|
|
103
|
-
this.isVisible = false;
|
|
104
|
-
this.svgContent = undefined;
|
|
105
|
-
this.color = undefined;
|
|
106
|
-
this.icon = undefined;
|
|
107
|
-
this.name = undefined;
|
|
108
|
-
this.size = 'regular';
|
|
109
|
-
this.src = undefined;
|
|
110
109
|
}
|
|
111
110
|
iconSize() {
|
|
112
111
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -209,8 +208,9 @@ const createColorClasses = (color) => {
|
|
|
209
208
|
}
|
|
210
209
|
: null;
|
|
211
210
|
};
|
|
212
|
-
PdsIcon.style =
|
|
211
|
+
PdsIcon.style = pdsIconCss;
|
|
213
212
|
|
|
214
213
|
export { PdsIcon as pds_icon };
|
|
214
|
+
//# sourceMappingURL=pds-icon.entry.js.map
|
|
215
215
|
|
|
216
216
|
//# sourceMappingURL=pds-icon.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pds-icon.entry.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,C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1B,EAAE,CAAC,UAAU,EAAE,CAAC;oBAChB,IAAI,CAAC,EAAE,GAAG,SAAS,CAAC;oBACpB,EAAE,EAAE,CAAC;iBACN;aACF,EACD,EAAE,UAAU,EAAE,CACf,CAAC,CAAC;YAEH,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;SAChB;aAAM;;;YAGL,EAAE,EAAE,CAAC;SACN;KACF;;;;;;;;;;;AASH,MAAM,kBAAkB,GAAG,CAAC,KAAyB;IACnD,OAAO,KAAK;UACT;YACE,WAAW,EAAE,IAAI;YACjB,CAAC,aAAa,KAAK,EAAE,GAAG,IAAI;SAC7B;UACD,IAAI,CAAC;AACT,CAAC,CAAC;;;;;","names":[],"sources":["src/components/pds-icon/validate.ts","src/components/pds-icon/request.ts","src/components/pds-icon/pds-icon.scss?tag=pds-icon&encapsulation=shadow","src/components/pds-icon/pds-icon.tsx"],"sourcesContent":["import { 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`, typeof this.color !== 'undefined' ? 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
|
+
{"version":3,"file":"pds-icon.entry.js","sources":["src/components/pds-icon/validate.ts","src/components/pds-icon/request.ts","src/components/pds-icon/pds-icon.scss?tag=pds-icon&encapsulation=shadow","src/components/pds-icon/pds-icon.tsx"],"sourcesContent":["import { 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`, typeof this.color !== 'undefined' ? 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"],"names":[],"mappings":";;;AAEO,MAAM,eAAe,GAAG,CAAC,UAAkB,KAAI;IACpD,MAAM,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC;AACzC,IAAA,GAAG,CAAC,SAAS,GAAG,UAAU;;AAG1B,IAAA,KAAK,IAAI,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE;AACnD,QAAA,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;;;;AAKtC,IAAA,MAAM,MAAM,GAAG,GAAG,CAAC,iBAAiB;IACpC,IAAI,MAAM,IAAI,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE;QACrD,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,CAAC,EAAE,GAAG,SAAS;AACnB,oBAAA,EAAE,EAAE;;AAER,aAAC,EACD,EAAE,UAAU,EAAE,CACf,CAAC;AAEF,YAAA,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;aACT;;;AAGL,YAAA,EAAE,EAAE;;;;;;;;;;;;;AAWV,MAAM,kBAAkB,GAAG,CAAC,KAAyB,KAAI;AACvD,IAAA,OAAO;AACN,UAAE;AACE,YAAA,WAAW,EAAE,IAAI;AACjB,YAAA,CAAC,CAAa,UAAA,EAAA,KAAK,CAAE,CAAA,GAAG,IAAI;AAC7B;UACD,IAAI;AACR,CAAC;;;;;"}
|
package/dist/esm/pds-icons.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
3
|
-
import { g as globalScripts } from './app-globals-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-DQ7l5XCP.js';
|
|
2
|
+
export { s as setNonce } from './index-DQ7l5XCP.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.28.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
|
+
|
|
8
9
|
var patchBrowser = () => {
|
|
9
10
|
const importMeta = import.meta.url;
|
|
10
11
|
const opts = {};
|
|
@@ -18,5 +19,6 @@ patchBrowser().then(async (options) => {
|
|
|
18
19
|
await globalScripts();
|
|
19
20
|
return bootstrapLazy([["pds-icon",[[1,"pds-icon",{"color":[1],"icon":[8],"name":[513],"size":[513],"src":[1],"ariaLabel":[32],"isVisible":[32],"svgContent":[32]},null,{"size":["updateStyles"],"color":["updateStyles"],"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"]}]]]], options);
|
|
20
21
|
});
|
|
22
|
+
//# sourceMappingURL=pds-icons.js.map
|
|
21
23
|
|
|
22
24
|
//# sourceMappingURL=pds-icons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pds-icons.js","
|
|
1
|
+
{"version":3,"file":"pds-icons.js","sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.28.2 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, H, promiseResolve, win } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;AAKA,IAAI,YAAY,GAAG,MAAM;AAUzB,EAAE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG;AACpC,EAAE,MAAM,IAAI,GAAiE,EAAE;AAC/E,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI;AACrD;AACA,EAAE,OAAO,cAAc,CAAC,IAAI,CAAC;AAC7B,CAAC;;ACnBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAM,aAAa,EAAE;AACvB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D,CAAC,CAAC","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{c as addIcons}from"./p-D615Uvrz.js";import"./p-DQ7l5XCP.js";
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loader.esm.js","sources":["@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = async (win, options) => {\n if (typeof window === 'undefined') return undefined;\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n};\n"],"names":[],"mappings":";;;;AAGY,MAAC,oBAAoB,GAAG,OAAO,GAAG,EAAE,OAAO,KAAK;AAC5D,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,SAAS;AACrD,EAAE,MAAM,aAAa,EAAE;AACvB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as i,h as t,H as s,g as e}from"./p-DQ7l5XCP.js";import{i as n,a as o,g as r,b as l}from"./p-D615Uvrz.js";const c=i=>{const t=document.createElement("div");t.innerHTML=i;for(let i=t.childNodes.length-1;i>=0;i--){if(t.childNodes[i].nodeName.toLowerCase()!=="svg"){t.removeChild(t.childNodes[i])}}const s=t.firstElementChild;if(s&&s.nodeName.toLowerCase()==="svg"){const i=s.getAttribute("class")||"";s.setAttribute("class",(i+" s-pds-icon").trim());if(a(s)){return t.innerHTML}}return""};const a=i=>{if(i.nodeType===1){if(i.nodeName.toLowerCase()==="script"){return false}for(let t=0;t<i.attributes.length;t++){const s=i.attributes[t].name;if(n(s)&&s.toLowerCase().indexOf("on")===0){return false}}for(let t=0;t<i.childNodes.length;t++){if(!a(i.childNodes[t])){return false}}}return true};const h=i=>i.startsWith("data:image/svg+xml");const d=i=>i.indexOf(";utf8,")!==-1;const f=new Map;const u=new Map;let p;const m=(i,t=false)=>{let s=u.get(i);if(!s){if(typeof fetch!="undefined"&&typeof document!=="undefined"){if(h(i)&&d(i)){if(!p){p=new DOMParser}const t=p.parseFromString(i,"text/html");const s=t.querySelector("svg");if(s){f.set(i,s.outerHTML)}return Promise.resolve()}else{s=fetch(i).then((s=>{if(s.ok){return s.text().then((s=>{if(s&&t!==false){s=c(s)}f.set(i,s||"")}))}f.set(i,"")}));u.set(i,s)}}else{f.set(i,"");return Promise.resolve()}}return s};const g=":host{--dimension-icon-height:16px;--dimension-icon-width:16px;--color-icon-fill:currentColor;contain:strict;display:inline-block;fill:var(--color-icon-fill);height:var(--dimension-icon-height);width:var(--dimension-icon-width)}:host .pdsicon{fill:var(--color-icon-fill)}.pds-icon-fill-none{fill:none}.icon-inner,.pds-icon,svg{display:block;height:100%;width:100%}";const b=class{constructor(t){i(this,t);this.inheritedAttributes={};this.isVisible=false;this.size="regular";this.hasAriaHidden=()=>{const{el:i}=this;return i.hasAttribute("aria-hidden")&&i.getAttribute("aria-hidden")==="true"}}iconSize(){const i={small:"12px",regular:"16px",medium:"20px",large:"24px"};if(i[this.size]){return i[this.size]}else{return this.size}}componentDidLoad(){this.setCSSVariables()}componentWillLoad(){this.inheritedAttributes=o(this.el,["aria-label"]);this.setCSSVariables()}setCSSVariables(){this.el.style.setProperty(`--dimension-icon-height`,this.iconSize());this.el.style.setProperty(`--dimension-icon-width`,this.iconSize());this.el.style.setProperty(`--color-icon-fill`,typeof this.color!=="undefined"?this.color:"currentColor")}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=true;this.loadIcon()}))}disconnectedCallback(){if(this.io){this.io.disconnect();this.io=undefined}}updateStyles(){this.setCSSVariables()}loadIcon(){if(this.isVisible){const i=r(this);if(i){if(f.has(i)){this.svgContent=f.get(i)}else{m(i).then((()=>this.svgContent=f.get(i)))}}}const i=l(this.name,this.icon);if(i){this.ariaLabel=i.replace(/\-/g," ")}}render(){const{ariaLabel:i,inheritedAttributes:e}=this;return t(s,Object.assign({key:"4bbc232e2530d43e8b5afefb754486d94ea6538b","aria-label":i!==undefined&&!this.hasAriaHidden()?i:null,alt:"",role:"img",class:Object.assign({},w(this.color))},e),this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"}))}waitUntilVisible(i,t,s){if(typeof window!=="undefined"&&window.IntersectionObserver){const e=this.io=new window.IntersectionObserver((i=>{if(i[0].isIntersecting){e.disconnect();this.io=undefined;s()}}),{rootMargin:t});e.observe(i)}else{s()}}static get assetsDirs(){return["svg"]}get el(){return e(this)}static get watchers(){return{size:["updateStyles"],color:["updateStyles"],name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}}};const w=i=>i?{"pds-color":true,[`pds-color-${i}`]:true}:null;b.style=g;export{b as pds_icon};
|
|
2
|
+
//# sourceMappingURL=p-46d08e47.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["validateContent","svgContent","div","document","createElement","innerHTML","i","childNodes","length","nodeName","toLowerCase","removeChild","svgElm","firstElementChild","svgClass","getAttribute","setAttribute","trim","isValid","elm","nodeType","attributes","name","isStr","indexOf","isSvgDataUrl","url","startsWith","isEncodedDataUrl","pdsIconContent","Map","requests","parser","getSvgContent","sanitize","req","get","fetch","DOMParser","doc","parseFromString","svg","querySelector","set","outerHTML","Promise","resolve","then","rsp","ok","text","pdsIconCss","PdsIcon","constructor","hostRef","this","inheritedAttributes","isVisible","size","hasAriaHidden","el","hasAttribute","iconSize","sizes","small","regular","medium","large","componentDidLoad","setCSSVariables","componentWillLoad","inheritAttributes","style","setProperty","color","connectedCallback","waitUntilVisible","loadIcon","disconnectedCallback","io","disconnect","undefined","updateStyles","getUrl","has","label","getName","icon","ariaLabel","replace","render","h","Host","Object","assign","key","alt","role","class","createColorClasses","rootMargin","cb","window","IntersectionObserver","data","isIntersecting","observe"],"sources":["src/components/pds-icon/validate.ts","src/components/pds-icon/request.ts","src/components/pds-icon/pds-icon.scss?tag=pds-icon&encapsulation=shadow","src/components/pds-icon/pds-icon.tsx"],"sourcesContent":["import { 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`, typeof this.color !== 'undefined' ? 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"],"mappings":"kHAEO,MAAMA,EAAmBC,IAC9B,MAAMC,EAAMC,SAASC,cAAc,OACnCF,EAAIG,UAAYJ,EAGhB,IAAK,IAAIK,EAAIJ,EAAIK,WAAWC,OAAS,EAAGF,GAAK,EAAGA,IAAK,CACnD,GAAIJ,EAAIK,WAAWD,GAAGG,SAASC,gBAAkB,MAAO,CACtDR,EAAIS,YAAYT,EAAIK,WAAWD,G,EAKnC,MAAMM,EAASV,EAAIW,kBACnB,GAAID,GAAUA,EAAOH,SAASC,gBAAkB,MAAO,CACrD,MAAMI,EAAWF,EAAOG,aAAa,UAAY,GACjDH,EAAOI,aAAa,SAAUF,EAAW,eAAeG,QAKxD,GAAIC,EAAQN,GAAwB,CAClC,OAAOV,EAAIG,S,EAGf,MAAO,EAAE,EAGJ,MAAMa,EAAWC,IACtB,GAAIA,EAAIC,WAAa,EAAG,CACtB,GAAID,EAAIV,SAASC,gBAAkB,SAAU,CAC3C,OAAO,K,CAGT,IAAK,IAAIJ,EAAI,EAAGA,EAAIa,EAAIE,WAAWb,OAAQF,IAAK,CAC9C,MAAMgB,EAAOH,EAAIE,WAAWf,GAAGgB,KAC/B,GAAIC,EAAMD,IAASA,EAAKZ,cAAcc,QAAQ,QAAU,EAAG,CACzD,OAAO,K,EAIX,IAAK,IAAIlB,EAAI,EAAGA,EAAIa,EAAIZ,WAAWC,OAAQF,IAAK,CAC9C,IAAKY,EAAQC,EAAIZ,WAAWD,IAAoB,CAC9C,OAAO,K,GAIb,OAAO,IAAI,EAGN,MAAMmB,EAAgBC,GAA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BlB,GAEgBD,KAAKtD,WACvB0F,EAAA,OAAKO,MAAM,aAAa7F,UAAWkD,KAAKtD,aAExC0F,EAAK,OAAAO,MAAM,e,CAUX,gBAAAtB,CAAiBhB,EAAiBwC,EAAoBC,GAC5D,UAA8BC,SAAW,aAAe,OAASC,qBAAsB,CACrF,MAAMxB,EAAMxB,KAAKwB,GAAK,IAAI,OAASwB,sBAChCC,IACC,GAAIA,EAAK,GAAGC,eAAgB,CAC1B1B,EAAGC,aACHzB,KAAKwB,GAAKE,UACVoB,G,IAGJ,CAAED,eAGJrB,EAAG2B,QAAQ9C,E,KACN,CAGLyC,G,kMAWN,MAAMF,EAAsBzB,GACnBA,EACJ,CACE,YAAa,KACb,CAAC,aAAaA,KAAU,MAE1B,K","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./p-DQ7l5XCP.js";let n=false;const t=t=>{var e;const s=(e=document.head.querySelector("meta[data-pine-asset-path]"))===null||e===void 0?void 0:e.dataset.pineAssetPath;const o=window.__PINE_ASSET_PATH__;const i="https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/";const r=s||o||i;if(r.startsWith("https://cdn.jsdelivr.net/npm/")&&!n){n=true;console.warn(`\n Fetching Pine assets from jsDelivr CDN.\n\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\n\nFor more information, read the documentation: \nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs\n `)}let c=t;if(t.startsWith("./")){c=t.substring(2)}if(!r.endsWith("/")){c="/"+c}return r+c};let e;const s=n=>{const t=o();Object.keys(n).forEach((e=>t.set(e,n[e])))};const o=()=>{if(typeof window==="undefined"){return new Map}else{if(!e){const n=window;n.PdsIcons=n.PdsIcons||{};e=n.PdsIcons.map=n.PdsIcons.map||new Map}return e}};const i=(n,t)=>{if(!n&&t&&!u(t)){n=t}if(d(n)){n=l(n)}if(!d(n)||n.trim()===""){return null}const e=n.replace(/[a-z]|-|\d/gi,"");if(e!=""){return null}return n};const r=n=>{const e=o().get(n);if(e){return e}return t(`svg/${n}.svg`)};const c=n=>{if(d(n)){n=n.trim();if(u(n)){return n}}return null};const a=n=>{let t=c(n.src);if(t){return t}t=i(n.name,n.icon);if(t){return r(t)}if(n.icon){t=c(n.icon);if(t){return t}}return null};const u=n=>n.length>0&&/(\/|\.)/.test(n);const d=n=>typeof n==="string";const l=n=>n.toLowerCase();const f=(n,t=[])=>{const e={};t.forEach((t=>{if(n.hasAttribute(t)){const s=n.getAttribute(t);if(s!==null){e[t]=n.getAttribute(t)}n.removeAttribute(t)}}));return e};export{f as a,i as b,s as c,a as g,d as i};
|
|
2
|
+
//# sourceMappingURL=p-D615Uvrz.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-D615Uvrz.js","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 assets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\\n\\nFor more information, 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 `pds-input` should inherit\n * the `title` attribute that developers set directly on `pds-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"],"names":[],"mappings":";;AAEA,IAAI,uBAAuB,GAAG,KAAK;AAQnC;;;;;;;;AAQG;AACI,MAAM,YAAY,GAAG,CAAC,IAAY,KAAI;;AAC3C,IAAA,MAAM,iBAAiB,GAAG,CAAA,EAAA,GAAA,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAkB,4BAA4B,CAAC,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,OAAO,CAAC,aAAa;;AAG3H,IAAA,MAAM,eAAe,GAAG,MAAM,CAAC,mBAAmB;;IAGlD,MAAM,YAAY,GAAG,6DAA6D;AAElF,IAAA,MAAM,aAAa,GAA0C,iBAAiB,IAAI,eAAe,IAAI,YAAmB;;IAGxH,IAAK,aAAa,CAAC,UAAU,CAAC,+BAA+B,CAAC,IAAI,CAAC,uBAAuB,EAAG;QAC3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,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC;QAE1B,IAAG,GAAG,EAAE;AACN,YAAA,OAAO,GAAG;;;AAId,IAAA,OAAO,IAAI;AACb;AAGO,MAAM,KAAK,GAAG,CAAC,GAAW,KAAK,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC;AACpE,MAAM,KAAK,GAAG,CAAC,GAAQ,KAAoB,OAAO,GAAG,KAAK,SAAS;AACnE,MAAM,OAAO,GAAG,CAAC,GAAW,KAAK,GAAG,CAAC,WAAW,EAAE;AAEzD;;;;;;;;;AASG;AACW,MAAA,iBAAiB,GAAG,CAAC,EAAe,EAAE,UAAA,GAAuB,EAAE,KAAI;AAC/E,IAAA,MAAM,eAAe,GAAyB,EAAE,CAAC;AAEjD,IAAA,UAAU,CAAC,OAAO,CAAC,IAAI,IAAG;AACxB,QAAA,IAAI,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE;YACzB,MAAM,KAAK,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC;AACnC,YAAA,IAAI,KAAK,KAAK,IAAI,EAAE;gBAClB,eAAe,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC;;AAE/C,YAAA,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;;AAE5B,KAAC,CAAC;AAEF,IAAA,OAAO,eAAe;AACxB;;;;"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const e="pds-icons";const t={hydratedSelectorName:"hydrated",lazyLoad:true,updatable:true};var n=Object.defineProperty;var r=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var i=e=>{if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var s=(e,t)=>{e.__stencil__getHostRef=()=>t;t.t=e};var l=(e,t)=>{const n={i:0,$hostElement$:e,l:t,o:new Map};{n.u=new Promise((e=>n.v=e));e["s-p"]=[];e["s-rc"]=[]}const r=n;e.__stencil__getHostRef=()=>r;return r};var o=(e,t)=>t in e;var f=(e,t)=>(0,console.error)(e,t);var a=new Map;var c=(e,t,n)=>{const r=e.h.replace(/-/g,"_");const i=e.p;if(!i){return void 0}const s=a.get(i);if(s){return s[r]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${i}.entry.js${""}`).then((e=>{{a.set(i,e)}return e[r]}),(e=>{f(e,t.$hostElement$)}))};var u=new Map;var v="sty-id";var d="{visibility:hidden}.hydrated{visibility:inherit}";var h="slot-fb{display:contents}slot-fb[hidden]{display:none}";var p="http://www.w3.org/1999/xlink";var m=typeof window!=="undefined"?window:{};var y={i:0,m:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)};var w=e=>Promise.resolve(e);var b=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var $=false;var S=[];var g=[];var j=(e,t)=>n=>{e.push(n);if(!$){$=true;if(t&&y.i&4){C(O)}else{y.raf(O)}}};var k=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){f(e)}}e.length=0};var O=()=>{k(S);{k(g);if($=S.length>0){y.raf(O)}}};var C=e=>w().then(e);var E=j(g,true);var M=e=>{e=typeof e;return e==="object"||e==="function"};function x(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var P={};r(P,{err:()=>D,map:()=>N,ok:()=>U,unwrap:()=>R,unwrapErr:()=>W});var U=e=>({isOk:true,isErr:false,value:e});var D=e=>({isOk:false,isErr:true,value:e});function N(e,t){if(e.isOk){const n=t(e.value);if(n instanceof Promise){return n.then((e=>U(e)))}else{return U(n)}}if(e.isErr){const t=e.value;return D(t)}throw"should never get here"}var R=e=>{if(e.isOk){return e.value}else{throw e.value}};var W=e=>{if(e.isErr){return e.value}else{throw e.value}};var A=(e,t="")=>{{return()=>{}}};var L=(e,t)=>{{return()=>{}}};var H=(e,t,...n)=>{let r=null;let i=null;let s=false;let l=false;const o=[];const f=t=>{for(let n=0;n<t.length;n++){r=t[n];if(Array.isArray(r)){f(r)}else if(r!=null&&typeof r!=="boolean"){if(s=typeof e!=="function"&&!M(r)){r=String(r)}if(s&&l){o[o.length-1].$+=r}else{o.push(s?T(null,r):r)}l=s}}};f(n);if(t){if(t.key){i=t.key}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}const a=T(e,null);a.S=t;if(o.length>0){a.j=o}{a.k=i}return a};var T=(e,t)=>{const n={i:0,O:e,$:t,C:null,j:null};{n.S=null}{n.k=null}return n};var z={};var F=e=>e&&e.O===z;var I=(e,t)=>{if(e!=null&&!M(e)){if(t&1){return String(e)}return e}return e};var V=e=>i(e).$hostElement$;var q=(e,t,n)=>{const r=y.ce(t,n);e.dispatchEvent(r);return r};var G=new WeakMap;var Y=(e,t,n)=>{let r=u.get(e);if(b&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}u.set(e,r)};var _=(e,t,n)=>{var r;const i=J(t);const s=u.get(i);if(!m.document){return i}e=e.nodeType===11?e:m.document;if(s){if(typeof s==="string"){e=e.head||e;let n=G.get(e);let l;if(!n){G.set(e,n=new Set)}if(!n.has(i)){{l=document.querySelector(`[${v}="${i}"]`)||m.document.createElement("style");l.innerHTML=s;const n=(r=y.M)!=null?r:x(m.document);if(n!=null){l.setAttribute("nonce",n)}if(!(t.i&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(l,(n==null?void 0:n.parentNode)===e?n:null)}else if("host"in e){if(b){const t=new CSSStyleSheet;t.replaceSync(s);e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");if(t){t.innerHTML=s+t.innerHTML}else{e.prepend(l)}}}else{e.append(l)}}if(t.i&1){e.insertBefore(l,null)}}if(t.i&4){l.innerHTML+=h}if(n){n.add(i)}}}else if(!e.adoptedStyleSheets.includes(s)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]}}return i};var B=e=>{const t=e.l;const n=e.$hostElement$;const r=t.i;const i=A("attachStyles",t.h);const s=_(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10&&r&2||r&128){n["s-sc"]=s;n.classList.add(s+"-h")}i()};var J=(e,t)=>"sc-"+e.h;var K=(e,t,n,r,i,s,l)=>{if(n===r){return}let f=o(e,t);let a=t.toLowerCase();if(t==="class"){const t=e.classList;const i=X(n);let s=X(r);{t.remove(...i.filter((e=>e&&!s.includes(e))));t.add(...s.filter((e=>e&&!i.includes(e))))}}else if(t==="style"){{for(const t in n){if(!r||r[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in r){if(!n||r[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,r[t])}else{e.style[t]=r[t]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!f&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(o(m,a)){t=a.slice(2)}else{t=a[2]+t.slice(3)}if(n||r){const i=t.endsWith(Z);t=t.replace(ee,"");if(n){y.rel(e,t,n,i)}if(r){y.ael(e,t,r,i)}}}else{const l=M(r);if((f||l&&r!==null)&&true){try{if(!e.tagName.includes("-")){const i=r==null?"":r;if(t==="list"){f=false}else if(n==null||e[t]!=i){if(typeof e.__lookupSetter__(t)==="function"){e[t]=i}else{e.setAttribute(t,i)}}}else if(e[t]!==r){e[t]=r}}catch(e){}}let o=false;{if(a!==(a=a.replace(/^xlink\:?/,""))){t=a;o=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(o){e.removeAttributeNS(p,t)}else{e.removeAttribute(t)}}}else if((!f||s&4||i)&&!l&&e.nodeType===1){r=r===true?"":r;if(o){e.setAttributeNS(p,t,r)}else{e.setAttribute(t,r)}}}};var Q=/\s/;var X=e=>{if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(Q)};var Z="Capture";var ee=new RegExp(Z+"$");var te=(e,t,n,r)=>{const i=t.C.nodeType===11&&t.C.host?t.C.host:t.C;const s=e&&e.S||{};const l=t.S||{};{for(const e of ne(Object.keys(s))){if(!(e in l)){K(i,e,s[e],void 0,n,t.i)}}}for(const e of ne(Object.keys(l))){K(i,e,s[e],l[e],n,t.i)}};function ne(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var re;var ie=false;var se=(e,t,n)=>{const r=t.j[n];let i=0;let s;let l;if(r.$!==null){s=r.C=m.document.createTextNode(r.$)}else{if(!m.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}s=r.C=m.document.createElement(r.O);{te(null,r,ie)}if(r.j){for(i=0;i<r.j.length;++i){l=se(e,r,i);if(l){s.appendChild(l)}}}}s["s-hn"]=re;return s};var le=(e,t,n,r,i,s)=>{let l=e;let o;if(l.shadowRoot&&l.tagName===re){l=l.shadowRoot}for(;i<=s;++i){if(r[i]){o=se(null,n,i);if(o){r[i].C=o;ve(l,o,t)}}}};var oe=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.C;ue(t);if(e){e.remove()}}}};var fe=(e,t,n,r,i=false)=>{let s=0;let l=0;let o=0;let f=0;let a=t.length-1;let c=t[0];let u=t[a];let v=r.length-1;let d=r[0];let h=r[v];let p;let m;while(s<=a&&l<=v){if(c==null){c=t[++s]}else if(u==null){u=t[--a]}else if(d==null){d=r[++l]}else if(h==null){h=r[--v]}else if(ae(c,d,i)){ce(c,d,i);c=t[++s];d=r[++l]}else if(ae(u,h,i)){ce(u,h,i);u=t[--a];h=r[--v]}else if(ae(c,h,i)){ce(c,h,i);ve(e,c.C,u.C.nextSibling);c=t[++s];h=r[--v]}else if(ae(u,d,i)){ce(u,d,i);ve(e,u.C,c.C);u=t[--a];d=r[++l]}else{o=-1;{for(f=s;f<=a;++f){if(t[f]&&t[f].k!==null&&t[f].k===d.k){o=f;break}}}if(o>=0){m=t[o];if(m.O!==d.O){p=se(t&&t[l],n,o)}else{ce(m,d,i);t[o]=void 0;p=m.C}d=r[++l]}else{p=se(t&&t[l],n,l);d=r[++l]}if(p){{ve(c.C.parentNode,p,c.C)}}}}if(s>a){le(e,r[v+1]==null?null:r[v+1].C,n,r,l,v)}else if(l>v){oe(t,s,a)}};var ae=(e,t,n=false)=>{if(e.O===t.O){if(!n){return e.k===t.k}if(n&&!e.k&&t.k){e.k=t.k}return true}return false};var ce=(e,n,r=false)=>{const i=n.C=e.C;const s=e.j;const l=n.j;const o=n.$;if(o===null){{te(e,n,ie)}if(s!==null&&l!==null){fe(i,s,n,l,r)}else if(l!==null){if(e.$!==null){i.textContent=""}le(i,null,n,l,0,l.length-1)}else if(!r&&t.updatable&&s!==null){oe(s,0,s.length-1)}}else if(e.$!==o){i.data=o}};var ue=e=>{{e.S&&e.S.ref&&e.S.ref(null);e.j&&e.j.map(ue)}};var ve=(e,t,n)=>{{return e==null?void 0:e.insertBefore(t,n)}};var de=(e,t,n=false)=>{const r=e.$hostElement$;const i=e.l;const s=e.P||T(null,null);const l=F(t)?t:H(null,null,t);re=r.tagName;if(i.U){l.S=l.S||{};i.U.map((([e,t])=>l.S[t]=r[e]))}if(n&&l.S){for(const e of Object.keys(l.S)){if(r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){l.S[e]=r[e]}}}l.O=null;l.i|=4;e.P=l;l.C=s.C=r.shadowRoot||r;ce(s,l,n)};var he=(e,t)=>{if(t&&!e.D&&t["s-p"]){const n=t["s-p"].push(new Promise((r=>e.D=()=>{t["s-p"].splice(n-1,1);r()})))}};var pe=(e,t)=>{{e.i|=16}if(e.i&4){e.i|=512;return}he(e,e.N);const n=()=>me(e,t);return E(n)};var me=(e,t)=>{const n=e.$hostElement$;const r=A("scheduleUpdate",e.l.h);const i=e.t;if(!i){throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let s;if(t){s=je(i,"componentWillLoad",void 0,n)}else{s=je(i,"componentWillUpdate",void 0,n)}s=ye(s,(()=>je(i,"componentWillRender",void 0,n)));r();return ye(s,(()=>be(e,i,t)))};var ye=(e,t)=>we(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var we=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var be=async(e,t,n)=>{var r;const i=e.$hostElement$;const s=A("update",e.l.h);const l=i["s-rc"];if(n){B(e)}const o=A("render",e.l.h);{$e(e,t,i,n)}if(l){l.map((e=>e()));i["s-rc"]=void 0}o();s();{const t=(r=i["s-p"])!=null?r:[];const n=()=>Se(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.i|=4;t.length=0}}};var $e=(e,t,n,r)=>{try{t=t.render();{e.i&=-17}{e.i|=2}{{{de(e,t,r)}}}}catch(t){f(t,e.$hostElement$)}return null};var Se=e=>{const t=e.l.h;const n=e.$hostElement$;const r=A("postUpdate",t);const i=e.t;const s=e.N;je(i,"componentDidRender",void 0,n);if(!(e.i&64)){e.i|=64;{ke(n)}je(i,"componentDidLoad",void 0,n);r();{e.v(n);if(!s){ge()}}}else{je(i,"componentDidUpdate",void 0,n);r()}{if(e.D){e.D();e.D=void 0}if(e.i&512){C((()=>pe(e,false)))}e.i&=-517}};var ge=t=>{C((()=>q(m,"appload",{detail:{namespace:e}})))};var je=(e,t,n,r)=>{if(e&&e[t]){try{return e[t](n)}catch(e){f(e,r)}}return void 0};var ke=e=>{var n;return e.classList.add((n=t.hydratedSelectorName)!=null?n:"hydrated")};var Oe=(e,t)=>i(e).o.get(t);var Ce=(e,t,n,r)=>{const s=i(e);if(!s){throw new Error(`Couldn't find host element for "${r.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`)}const l=s.$hostElement$;const o=s.o.get(t);const a=s.i;const c=s.t;n=I(n,r.R[t][0]);const u=Number.isNaN(o)&&Number.isNaN(n);const v=n!==o&&!u;if((!(a&8)||o===void 0)&&v){s.o.set(t,n);if(c){if(r.W&&a&128){const e=r.W[t];if(e){e.map((e=>{try{c[e](n,o,t)}catch(e){f(e,l)}}))}}if((a&(2|16))===2){if(c.componentShouldUpdate){if(c.componentShouldUpdate(n,o,t)===false){return}}pe(s,false)}}}};var Ee=(e,n,r)=>{var s,l;const o=e.prototype;if(n.R||(n.W||e.watchers)){if(e.watchers&&!n.W){n.W=e.watchers}const f=Object.entries((s=n.R)!=null?s:{});f.map((([e,[t]])=>{if(t&31||r&2&&t&32){const{get:s,set:l}=Object.getOwnPropertyDescriptor(o,e)||{};if(s)n.R[e][0]|=2048;if(l)n.R[e][0]|=4096;if(r&1||!s){Object.defineProperty(o,e,{get(){{if((n.R[e][0]&2048)===0){return Oe(this,e)}const t=i(this);const r=t?t.t:o;if(!r)return;return r[e]}},configurable:true,enumerable:true})}Object.defineProperty(o,e,{set(s){const o=i(this);if(l){const r=t&32?this[e]:o.$hostElement$[e];if(typeof r==="undefined"&&o.o.get(e)){s=o.o.get(e)}else if(!o.o.get(e)&&r){o.o.set(e,r)}l.apply(this,[I(s,t)]);s=t&32?this[e]:o.$hostElement$[e];Ce(this,e,s,n);return}{if((r&1)===0||(n.R[e][0]&4096)===0){Ce(this,e,s,n);if(r&1&&!o.t){o.u.then((()=>{if(n.R[e][0]&4096&&o.t[e]!==o.o.get(e)){o.t[e]=s}}))}return}const i=()=>{const r=o.t[e];if(!o.o.get(e)&&r){o.o.set(e,r)}o.t[e]=I(s,t);Ce(this,e,o.t[e],n)};if(o.t){i()}else{o.u.then((()=>i()))}}}})}}));if(r&1){const r=new Map;o.attributeChangedCallback=function(e,s,l){y.jmp((()=>{var f;const a=r.get(e);if(this.hasOwnProperty(a)&&t.lazyLoad){l=this[a];delete this[a]}else if(o.hasOwnProperty(a)&&typeof this[a]==="number"&&this[a]==l){return}else if(a==null){const t=i(this);const r=t==null?void 0:t.i;if(r&&!(r&8)&&r&128&&l!==s){const r=t.t;const i=(f=n.W)==null?void 0:f[e];i==null?void 0:i.forEach((t=>{if(r[t]!=null){r[t].call(r,l,s,e)}}))}return}const c=Object.getOwnPropertyDescriptor(o,a);l=l===null&&typeof this[a]==="boolean"?false:l;if(l!==this[a]&&(!c.get||!!c.set)){this[a]=l}}))};e.observedAttributes=Array.from(new Set([...Object.keys((l=n.W)!=null?l:{}),...f.filter((([e,t])=>t[0]&15)).map((([e,t])=>{var i;const s=t[1]||e;r.set(s,e);if(t[0]&512){(i=n.U)==null?void 0:i.push([e,s])}return s}))]))}}return e};var Me=async(e,t,n,r)=>{let i;if((t.i&32)===0){t.i|=32;const r=n.p;if(r){const r=c(n,t);if(r&&"then"in r){const e=L();i=await r;e()}else{i=r}if(!i){throw new Error(`Constructor for "${n.h}#${t.A}" was not found`)}if(!i.isProxied){{n.W=i.watchers}Ee(i,n,2);i.isProxied=true}const s=A("createInstance",n.h);{t.i|=8}try{new i(t)}catch(t){f(t,e)}{t.i&=-9}{t.i|=128}s();xe(t.t,e)}else{i=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.i|=128))}if(i&&i.style){let e;if(typeof i.style==="string"){e=i.style}const t=J(n);if(!u.has(t)){const r=A("registerStyles",n.h);Y(t,e,!!(n.i&1));r()}}}const s=t.N;const l=()=>pe(t,true);if(s&&s["s-rc"]){s["s-rc"].push(l)}else{l()}};var xe=(e,t)=>{{je(e,"connectedCallback",void 0,t)}};var Pe=e=>{if((y.i&1)===0){const t=i(e);const n=t.l;const r=A("connectedCallback",n.h);if(!(t.i&1)){t.i|=1;{let n=e;while(n=n.parentNode||n.host){if(n["s-p"]){he(t,t.N=n);break}}}if(n.R){Object.entries(n.R).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{Me(e,t,n)}}else{if(t==null?void 0:t.t){xe(t.t,e)}else if(t==null?void 0:t.u){t.u.then((()=>xe(t.t,e)))}}r()}};var Ue=(e,t)=>{{je(e,"disconnectedCallback",void 0,t||e)}};var De=async e=>{if((y.i&1)===0){const t=i(e);if(t==null?void 0:t.t){Ue(t.t,e)}else if(t==null?void 0:t.u){t.u.then((()=>Ue(t.t,e)))}}if(G.has(e)){G.delete(e)}if(e.shadowRoot&&G.has(e.shadowRoot)){G.delete(e.shadowRoot)}};var Ne=(e,t={})=>{var n;if(!m.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const r=A();const s=[];const o=t.exclude||[];const f=m.customElements;const a=m.document.head;const c=a.querySelector("meta[charset]");const u=m.document.createElement("style");const v=[];let p;let w=true;Object.assign(y,t);y.m=new URL(t.resourcesUrl||"./",m.document.baseURI).href;let b=false;e.map((e=>{e[1].map((t=>{var n;const r={i:t[0],h:t[1],R:t[2],L:t[3]};if(r.i&4){b=true}{r.R=t[2]}{r.U=[]}{r.W=(n=t[4])!=null?n:{}}const a=r.h;const c=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;l(e,r);if(r.i&1){{if(!e.shadowRoot){{e.attachShadow({mode:"open"})}}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${r.h}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){i(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(p){clearTimeout(p);p=null}if(w){v.push(this)}else{y.jmp((()=>Pe(this)))}}disconnectedCallback(){y.jmp((()=>De(this)));y.raf((()=>{var e;const t=i(this);const n=v.findIndex((e=>e===this));if(n>-1){v.splice(n,1)}if(((e=t==null?void 0:t.P)==null?void 0:e.C)instanceof Node&&!t.P.C.isConnected){delete t.P.C}}))}componentOnReady(){return i(this).u}};r.p=e[0];if(!o.includes(a)&&!f.get(a)){s.push(a);f.define(a,Ee(c,r,1))}}))}));if(s.length>0){if(b){u.textContent+=h}{u.textContent+=s.sort()+d}if(u.innerHTML.length){u.setAttribute("data-styles","");const e=(n=y.M)!=null?n:x(m.document);if(e!=null){u.setAttribute("nonce",e)}a.insertBefore(u,c?c.nextSibling:a.firstChild)}}w=false;if(v.length){v.map((e=>e.connectedCallback()))}else{{y.jmp((()=>p=setTimeout(ge,30)))}}r()};var Re=e=>y.M=e;export{z as H,Ne as b,V as g,H as h,w as p,s as r,Re as s};
|
|
3
|
+
//# sourceMappingURL=p-DQ7l5XCP.js.map
|