@pine-ds/icons 7.4.2 → 7.5.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.cjs.js +1 -0
- package/components/index.d.ts +0 -0
- package/components/index.js +4 -0
- package/components/index.js.map +1 -0
- package/components/package.json +8 -0
- package/components/pds-icon.d.ts +0 -0
- package/components/pds-icon.js +377 -0
- package/components/pds-icon.js.map +1 -0
- package/dist/cheatsheet.html +6 -4
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/index-4513af51.js +1245 -0
- package/dist/cjs/index-4513af51.js.map +1 -0
- package/dist/cjs/index.cjs.js +12 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/pds-icon.cjs.entry.js +220 -0
- package/dist/cjs/pds-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-icons.cjs.js +27 -0
- package/dist/cjs/pds-icons.cjs.js.map +1 -0
- package/dist/cjs/utils-4a964891.js +140 -0
- package/dist/cjs/utils-4a964891.js.map +1 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/components/pds-icon/assetPath.js +36 -0
- package/dist/collection/components/pds-icon/assetPath.js.map +1 -0
- package/dist/collection/components/pds-icon/pds-icon.css +25 -0
- package/dist/collection/components/pds-icon/pds-icon.js +241 -0
- package/dist/collection/components/pds-icon/pds-icon.js.map +1 -0
- package/dist/collection/components/pds-icon/request.js +43 -0
- package/dist/collection/components/pds-icon/request.js.map +1 -0
- package/dist/collection/components/pds-icon/svg/access-key.svg +1 -0
- package/dist/collection/components/pds-icon/svg/add-circle.svg +1 -0
- package/dist/collection/components/pds-icon/svg/add-image.svg +1 -0
- package/dist/collection/components/pds-icon/svg/add-small.svg +1 -0
- package/dist/collection/components/pds-icon/svg/add-square.svg +1 -0
- package/dist/collection/components/pds-icon/svg/add.svg +1 -0
- package/dist/collection/components/pds-icon/svg/advanced.svg +1 -0
- package/dist/collection/components/pds-icon/svg/ai-sparkle.svg +1 -0
- package/dist/collection/components/pds-icon/svg/ai-writer-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/ai-writer.svg +1 -0
- package/dist/collection/components/pds-icon/svg/align-center.svg +1 -0
- package/dist/collection/components/pds-icon/svg/align-justify.svg +1 -0
- package/dist/collection/components/pds-icon/svg/align-left.svg +1 -0
- package/dist/collection/components/pds-icon/svg/align-right.svg +1 -0
- package/dist/collection/components/pds-icon/svg/app-store.svg +1 -0
- package/dist/collection/components/pds-icon/svg/archive.svg +1 -0
- package/dist/collection/components/pds-icon/svg/arrow-corner.svg +1 -0
- package/dist/collection/components/pds-icon/svg/arrow-down.svg +1 -0
- package/dist/collection/components/pds-icon/svg/arrow-left.svg +1 -0
- package/dist/collection/components/pds-icon/svg/arrow-right.svg +1 -0
- package/dist/collection/components/pds-icon/svg/arrow-up.svg +1 -0
- package/dist/collection/components/pds-icon/svg/assessment.svg +1 -0
- package/dist/collection/components/pds-icon/svg/at-sign.svg +1 -0
- package/dist/collection/components/pds-icon/svg/attach.svg +1 -0
- package/dist/collection/components/pds-icon/svg/automations.svg +1 -0
- package/dist/collection/components/pds-icon/svg/ban.svg +1 -0
- package/dist/collection/components/pds-icon/svg/bank.svg +1 -0
- package/dist/collection/components/pds-icon/svg/bar-chart-10-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/bell-01-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/bell.svg +1 -0
- package/dist/collection/components/pds-icon/svg/block.svg +1 -0
- package/dist/collection/components/pds-icon/svg/blog-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/blog.svg +1 -0
- package/dist/collection/components/pds-icon/svg/bold.svg +1 -0
- package/dist/collection/components/pds-icon/svg/broadcast.svg +1 -0
- package/dist/collection/components/pds-icon/svg/bulb.svg +1 -0
- package/dist/collection/components/pds-icon/svg/button.svg +1 -0
- package/dist/collection/components/pds-icon/svg/calendar-date.svg +1 -0
- package/dist/collection/components/pds-icon/svg/calendar-schedule.svg +1 -0
- package/dist/collection/components/pds-icon/svg/calendar-simple.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-amex.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-android.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-apple.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-diners-club.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-discover.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-generic.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-gpay.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-mastercard.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-paypal.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-stripe.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-update.svg +1 -0
- package/dist/collection/components/pds-icon/svg/card-visa.svg +1 -0
- package/dist/collection/components/pds-icon/svg/caret-down.svg +1 -0
- package/dist/collection/components/pds-icon/svg/caret-left.svg +1 -0
- package/dist/collection/components/pds-icon/svg/caret-right.svg +1 -0
- package/dist/collection/components/pds-icon/svg/caret-up.svg +1 -0
- package/dist/collection/components/pds-icon/svg/cart-add.svg +1 -0
- package/dist/collection/components/pds-icon/svg/cart.svg +1 -0
- package/dist/collection/components/pds-icon/svg/certificate.svg +1 -0
- package/dist/collection/components/pds-icon/svg/chart-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/chart.svg +1 -0
- package/dist/collection/components/pds-icon/svg/check-circle-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/check-circle.svg +1 -0
- package/dist/collection/components/pds-icon/svg/check.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-1.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-2.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-3.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-4.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-5.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-6.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-7.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-8.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-9.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-a.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-b.svg +1 -0
- package/dist/collection/components/pds-icon/svg/circle-dashed.svg +1 -0
- package/dist/collection/components/pds-icon/svg/clapperboard-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/clock.svg +1 -0
- package/dist/collection/components/pds-icon/svg/closed-captions.svg +1 -0
- package/dist/collection/components/pds-icon/svg/cloud-upload.svg +1 -0
- package/dist/collection/components/pds-icon/svg/code-block.svg +1 -0
- package/dist/collection/components/pds-icon/svg/code.svg +1 -0
- package/dist/collection/components/pds-icon/svg/color.svg +1 -0
- package/dist/collection/components/pds-icon/svg/columns.svg +1 -0
- package/dist/collection/components/pds-icon/svg/comment-no.svg +1 -0
- package/dist/collection/components/pds-icon/svg/comment.svg +1 -0
- package/dist/collection/components/pds-icon/svg/connect.svg +1 -0
- package/dist/collection/components/pds-icon/svg/contact.svg +1 -0
- package/dist/collection/components/pds-icon/svg/conversation.svg +1 -0
- package/dist/collection/components/pds-icon/svg/copy.svg +1 -0
- package/dist/collection/components/pds-icon/svg/coupon.svg +1 -0
- package/dist/collection/components/pds-icon/svg/course-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/course.svg +1 -0
- package/dist/collection/components/pds-icon/svg/creator-studio-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/creator-studio.svg +1 -0
- package/dist/collection/components/pds-icon/svg/credit-card-02-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/cube-01-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/cursor-pointer.svg +1 -0
- package/dist/collection/components/pds-icon/svg/cursor.svg +1 -0
- package/dist/collection/components/pds-icon/svg/custom-field.svg +1 -0
- package/dist/collection/components/pds-icon/svg/customize.svg +1 -0
- package/dist/collection/components/pds-icon/svg/danger-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/danger.svg +1 -0
- package/dist/collection/components/pds-icon/svg/delete-circle.svg +1 -0
- package/dist/collection/components/pds-icon/svg/delete-key.svg +1 -0
- package/dist/collection/components/pds-icon/svg/delete-x.svg +1 -0
- package/dist/collection/components/pds-icon/svg/dollar.svg +1 -0
- package/dist/collection/components/pds-icon/svg/dot-menu-horizontal.svg +1 -0
- package/dist/collection/components/pds-icon/svg/dots-horizontal-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/down-small.svg +1 -0
- package/dist/collection/components/pds-icon/svg/download.svg +1 -0
- package/dist/collection/components/pds-icon/svg/downsell.svg +1 -0
- package/dist/collection/components/pds-icon/svg/draft.svg +1 -0
- package/dist/collection/components/pds-icon/svg/drawer-collapse.svg +1 -0
- package/dist/collection/components/pds-icon/svg/drawer-expand.svg +1 -0
- package/dist/collection/components/pds-icon/svg/drop.svg +1 -0
- package/dist/collection/components/pds-icon/svg/duplicate.svg +1 -0
- package/dist/collection/components/pds-icon/svg/editor-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/editor.svg +1 -0
- package/dist/collection/components/pds-icon/svg/email-activity.svg +1 -0
- package/dist/collection/components/pds-icon/svg/emoji.svg +1 -0
- package/dist/collection/components/pds-icon/svg/enlarge-vertical.svg +1 -0
- package/dist/collection/components/pds-icon/svg/enlarge.svg +1 -0
- package/dist/collection/components/pds-icon/svg/expand.svg +1 -0
- package/dist/collection/components/pds-icon/svg/favorite.svg +1 -0
- package/dist/collection/components/pds-icon/svg/feedback.svg +1 -0
- package/dist/collection/components/pds-icon/svg/file-02.svg +1 -0
- package/dist/collection/components/pds-icon/svg/file-money.svg +1 -0
- package/dist/collection/components/pds-icon/svg/file.svg +1 -0
- package/dist/collection/components/pds-icon/svg/filter.svg +1 -0
- package/dist/collection/components/pds-icon/svg/flag.svg +1 -0
- package/dist/collection/components/pds-icon/svg/flash-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/flash.svg +1 -0
- package/dist/collection/components/pds-icon/svg/floppy-disk.svg +1 -0
- package/dist/collection/components/pds-icon/svg/folder-group.svg +1 -0
- package/dist/collection/components/pds-icon/svg/folder.svg +1 -0
- package/dist/collection/components/pds-icon/svg/form-field.svg +1 -0
- package/dist/collection/components/pds-icon/svg/form-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/form.svg +1 -0
- package/dist/collection/components/pds-icon/svg/fullscreen.svg +1 -0
- package/dist/collection/components/pds-icon/svg/funnel.svg +1 -0
- package/dist/collection/components/pds-icon/svg/gear-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/gear.svg +1 -0
- package/dist/collection/components/pds-icon/svg/gift-01.svg +1 -0
- package/dist/collection/components/pds-icon/svg/grant-offer.svg +1 -0
- package/dist/collection/components/pds-icon/svg/handle-2-vertical.svg +1 -0
- package/dist/collection/components/pds-icon/svg/handle-2.svg +1 -0
- package/dist/collection/components/pds-icon/svg/handle.svg +1 -0
- package/dist/collection/components/pds-icon/svg/hashtag.svg +1 -0
- package/dist/collection/components/pds-icon/svg/hd-video.svg +1 -0
- package/dist/collection/components/pds-icon/svg/heading-1.svg +1 -0
- package/dist/collection/components/pds-icon/svg/heading-2.svg +1 -0
- package/dist/collection/components/pds-icon/svg/heading-3.svg +1 -0
- package/dist/collection/components/pds-icon/svg/heading-4.svg +1 -0
- package/dist/collection/components/pds-icon/svg/heading-5.svg +1 -0
- package/dist/collection/components/pds-icon/svg/heading-6.svg +1 -0
- package/dist/collection/components/pds-icon/svg/heading-large.svg +1 -0
- package/dist/collection/components/pds-icon/svg/heading-small.svg +1 -0
- package/dist/collection/components/pds-icon/svg/headset-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/headset.svg +1 -0
- package/dist/collection/components/pds-icon/svg/help-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/help.svg +1 -0
- package/dist/collection/components/pds-icon/svg/home-02-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/home-alt.svg +1 -0
- package/dist/collection/components/pds-icon/svg/home-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/home.svg +1 -0
- package/dist/collection/components/pds-icon/svg/horizontal-line.svg +1 -0
- package/dist/collection/components/pds-icon/svg/image.svg +1 -0
- package/dist/collection/components/pds-icon/svg/info-circle-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/info-circle.svg +1 -0
- package/dist/collection/components/pds-icon/svg/ios-battery.svg +1 -0
- package/dist/collection/components/pds-icon/svg/ios-data.svg +1 -0
- package/dist/collection/components/pds-icon/svg/ios-wifi.svg +1 -0
- package/dist/collection/components/pds-icon/svg/italic.svg +1 -0
- package/dist/collection/components/pds-icon/svg/kajabi-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/kajabi.svg +1 -0
- package/dist/collection/components/pds-icon/svg/klarna.svg +1 -0
- package/dist/collection/components/pds-icon/svg/lab.svg +1 -0
- package/dist/collection/components/pds-icon/svg/launch.svg +1 -0
- package/dist/collection/components/pds-icon/svg/layout-grid.svg +1 -0
- package/dist/collection/components/pds-icon/svg/layout-list.svg +1 -0
- package/dist/collection/components/pds-icon/svg/left-small.svg +1 -0
- package/dist/collection/components/pds-icon/svg/list-bullet.svg +1 -0
- package/dist/collection/components/pds-icon/svg/list-details.svg +1 -0
- package/dist/collection/components/pds-icon/svg/list-numbers.svg +1 -0
- package/dist/collection/components/pds-icon/svg/location.svg +1 -0
- package/dist/collection/components/pds-icon/svg/lock-alt.svg +1 -0
- package/dist/collection/components/pds-icon/svg/lock.svg +1 -0
- package/dist/collection/components/pds-icon/svg/logo-afterpay.svg +1 -0
- package/dist/collection/components/pds-icon/svg/logo-facebook-round.svg +1 -0
- package/dist/collection/components/pds-icon/svg/logo-facebook.svg +1 -0
- package/dist/collection/components/pds-icon/svg/logo-instagram.svg +1 -0
- package/dist/collection/components/pds-icon/svg/logo-linkedin.svg +1 -0
- package/dist/collection/components/pds-icon/svg/logo-tiktok.svg +1 -0
- package/dist/collection/components/pds-icon/svg/logo-twitter-x.svg +1 -0
- package/dist/collection/components/pds-icon/svg/logo-twitter.svg +1 -0
- package/dist/collection/components/pds-icon/svg/logo-youtube.svg +1 -0
- package/dist/collection/components/pds-icon/svg/loop.svg +1 -0
- package/dist/collection/components/pds-icon/svg/mail-01-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/mail-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/mail-open.svg +1 -0
- package/dist/collection/components/pds-icon/svg/mail.svg +1 -0
- package/dist/collection/components/pds-icon/svg/map.svg +1 -0
- package/dist/collection/components/pds-icon/svg/mapped.svg +1 -0
- package/dist/collection/components/pds-icon/svg/margin-left.svg +1 -0
- package/dist/collection/components/pds-icon/svg/margin-right.svg +1 -0
- package/dist/collection/components/pds-icon/svg/marker-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/marker.svg +1 -0
- package/dist/collection/components/pds-icon/svg/megaphone-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/megaphone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/menu-alt.svg +1 -0
- package/dist/collection/components/pds-icon/svg/menu-bordered.svg +1 -0
- package/dist/collection/components/pds-icon/svg/menu.svg +1 -0
- package/dist/collection/components/pds-icon/svg/merge.svg +1 -0
- package/dist/collection/components/pds-icon/svg/microphone-off.svg +1 -0
- package/dist/collection/components/pds-icon/svg/microphone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/monitor-03-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/monitor-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/monitor.svg +1 -0
- package/dist/collection/components/pds-icon/svg/more-menu-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/more-menu.svg +1 -0
- package/dist/collection/components/pds-icon/svg/move-left.svg +1 -0
- package/dist/collection/components/pds-icon/svg/move-right.svg +1 -0
- package/dist/collection/components/pds-icon/svg/multi-pay.svg +1 -0
- package/dist/collection/components/pds-icon/svg/newsletter-2.svg +1 -0
- package/dist/collection/components/pds-icon/svg/newsletter.svg +1 -0
- package/dist/collection/components/pds-icon/svg/one-off-session.svg +1 -0
- package/dist/collection/components/pds-icon/svg/one-time.svg +1 -0
- package/dist/collection/components/pds-icon/svg/packages.svg +1 -0
- package/dist/collection/components/pds-icon/svg/pause-circle.svg +1 -0
- package/dist/collection/components/pds-icon/svg/pause.svg +1 -0
- package/dist/collection/components/pds-icon/svg/payout.svg +1 -0
- package/dist/collection/components/pds-icon/svg/pen.svg +1 -0
- package/dist/collection/components/pds-icon/svg/phone-02-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/phone-portrait.svg +1 -0
- package/dist/collection/components/pds-icon/svg/phone-toolbar-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/phone-toolbar.svg +1 -0
- package/dist/collection/components/pds-icon/svg/play-circle.svg +1 -0
- package/dist/collection/components/pds-icon/svg/play-outline.svg +1 -0
- package/dist/collection/components/pds-icon/svg/play-store.svg +1 -0
- package/dist/collection/components/pds-icon/svg/play.svg +1 -0
- package/dist/collection/components/pds-icon/svg/plug.svg +1 -0
- package/dist/collection/components/pds-icon/svg/premium.svg +1 -0
- package/dist/collection/components/pds-icon/svg/present.svg +1 -0
- package/dist/collection/components/pds-icon/svg/preview-off.svg +1 -0
- package/dist/collection/components/pds-icon/svg/preview-on.svg +1 -0
- package/dist/collection/components/pds-icon/svg/product-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/product.svg +1 -0
- package/dist/collection/components/pds-icon/svg/question-circle.svg +1 -0
- package/dist/collection/components/pds-icon/svg/quote.svg +1 -0
- package/dist/collection/components/pds-icon/svg/redo.svg +1 -0
- package/dist/collection/components/pds-icon/svg/refresh.svg +1 -0
- package/dist/collection/components/pds-icon/svg/remove-circle.svg +1 -0
- package/dist/collection/components/pds-icon/svg/remove.svg +1 -0
- package/dist/collection/components/pds-icon/svg/rename.svg +1 -0
- package/dist/collection/components/pds-icon/svg/reset-password.svg +1 -0
- package/dist/collection/components/pds-icon/svg/restore.svg +1 -0
- package/dist/collection/components/pds-icon/svg/right-small.svg +1 -0
- package/dist/collection/components/pds-icon/svg/rocket-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/rocket.svg +1 -0
- package/dist/collection/components/pds-icon/svg/round-dollar.svg +1 -0
- package/dist/collection/components/pds-icon/svg/rows.svg +1 -0
- package/dist/collection/components/pds-icon/svg/scissor.svg +1 -0
- package/dist/collection/components/pds-icon/svg/screen-share-off.svg +1 -0
- package/dist/collection/components/pds-icon/svg/screen-share-on.svg +1 -0
- package/dist/collection/components/pds-icon/svg/search-md-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/search-small.svg +1 -0
- package/dist/collection/components/pds-icon/svg/search.svg +1 -0
- package/dist/collection/components/pds-icon/svg/send-message.svg +1 -0
- package/dist/collection/components/pds-icon/svg/sequences.svg +1 -0
- package/dist/collection/components/pds-icon/svg/settings-01-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/share.svg +1 -0
- package/dist/collection/components/pds-icon/svg/skipped.svg +1 -0
- package/dist/collection/components/pds-icon/svg/slash-divider.svg +1 -0
- package/dist/collection/components/pds-icon/svg/speaker.svg +1 -0
- package/dist/collection/components/pds-icon/svg/stack.svg +1 -0
- package/dist/collection/components/pds-icon/svg/star.svg +1 -0
- package/dist/collection/components/pds-icon/svg/stars-01-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/stop.svg +1 -0
- package/dist/collection/components/pds-icon/svg/stopwatch.svg +1 -0
- package/dist/collection/components/pds-icon/svg/strikethrough.svg +1 -0
- package/dist/collection/components/pds-icon/svg/subscript.svg +1 -0
- package/dist/collection/components/pds-icon/svg/subscriptions.svg +1 -0
- package/dist/collection/components/pds-icon/svg/super-admin.svg +1 -0
- package/dist/collection/components/pds-icon/svg/superscript.svg +1 -0
- package/dist/collection/components/pds-icon/svg/sync.svg +1 -0
- package/dist/collection/components/pds-icon/svg/tablet-landscape.svg +1 -0
- package/dist/collection/components/pds-icon/svg/tablet-portrait.svg +1 -0
- package/dist/collection/components/pds-icon/svg/tag-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/tag.svg +1 -0
- package/dist/collection/components/pds-icon/svg/text-styles.svg +1 -0
- package/dist/collection/components/pds-icon/svg/theme-store-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/theme-store.svg +1 -0
- package/dist/collection/components/pds-icon/svg/thumb-down-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/thumb-down.svg +1 -0
- package/dist/collection/components/pds-icon/svg/thumb-up-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/thumb-up.svg +1 -0
- package/dist/collection/components/pds-icon/svg/trash.svg +1 -0
- package/dist/collection/components/pds-icon/svg/trophy-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/trophy.svg +1 -0
- package/dist/collection/components/pds-icon/svg/underline.svg +1 -0
- package/dist/collection/components/pds-icon/svg/undo.svg +1 -0
- package/dist/collection/components/pds-icon/svg/unlock.svg +1 -0
- package/dist/collection/components/pds-icon/svg/unmapped.svg +1 -0
- package/dist/collection/components/pds-icon/svg/up-small.svg +1 -0
- package/dist/collection/components/pds-icon/svg/upload.svg +1 -0
- package/dist/collection/components/pds-icon/svg/url.svg +1 -0
- package/dist/collection/components/pds-icon/svg/user-circle-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/user-circle.svg +1 -0
- package/dist/collection/components/pds-icon/svg/user-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/user-star-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/user-star.svg +1 -0
- package/dist/collection/components/pds-icon/svg/user.svg +1 -0
- package/dist/collection/components/pds-icon/svg/users-02-tone.svg +1 -0
- package/dist/collection/components/pds-icon/svg/users-alt.svg +1 -0
- package/dist/collection/components/pds-icon/svg/users-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/users.svg +1 -0
- package/dist/collection/components/pds-icon/svg/video-off.svg +1 -0
- package/dist/collection/components/pds-icon/svg/video-on.svg +1 -0
- package/dist/collection/components/pds-icon/svg/warning-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/warning.svg +1 -0
- package/dist/collection/components/pds-icon/svg/window-paragraph.svg +1 -0
- package/dist/collection/components/pds-icon/svg/world.svg +1 -0
- package/dist/collection/components/pds-icon/svg/wrench.svg +1 -0
- package/dist/collection/components/pds-icon/utils.js +95 -0
- package/dist/collection/components/pds-icon/utils.js.map +1 -0
- package/dist/collection/components/pds-icon/validate.js +46 -0
- package/dist/collection/components/pds-icon/validate.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/docs.json +3 -3
- package/dist/esm/index-6000a95d.js +1217 -0
- package/dist/esm/index-6000a95d.js.map +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +13 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/{pds-icons → esm}/pds-icon.entry.js +8 -7
- package/dist/esm/pds-icon.entry.js.map +1 -0
- package/dist/esm/pds-icons.js +22 -0
- package/dist/esm/pds-icons.js.map +1 -0
- package/dist/{pds-icons/utils-39f6c025.js → esm/utils-40080bc9.js} +3 -3
- package/dist/esm/utils-40080bc9.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +1 -0
- package/dist/loader/index.cjs.js +1 -0
- package/dist/loader/index.d.ts +24 -0
- package/dist/loader/index.es2017.js +1 -0
- package/dist/loader/index.js +2 -0
- package/dist/loader/package.json +11 -0
- package/dist/pds-icons/index.esm.js +1 -3
- package/dist/pds-icons/index.esm.js.map +1 -1
- package/dist/pds-icons/p-39904cba.js +2 -0
- package/dist/pds-icons/p-39904cba.js.map +1 -0
- package/dist/pds-icons/p-aa154542.js +3 -0
- package/dist/pds-icons/p-aa154542.js.map +1 -0
- package/dist/pds-icons/p-daeec840.entry.js +2 -0
- package/dist/pds-icons/p-daeec840.entry.js.map +1 -0
- package/dist/pds-icons/p-e1255160.js +2 -0
- package/dist/pds-icons/p-e1255160.js.map +1 -0
- package/dist/pds-icons/pds-icons.esm.js +1 -48
- package/dist/pds-icons/pds-icons.esm.js.map +1 -1
- package/dist/pds-icons/svg/gift-01.svg +1 -0
- package/dist/pds-icons.json +10 -1
- package/dist/pds-icons.symbols.svg +2 -1
- package/dist/svg/gift-01.svg +1 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -2
- package/icons/index.d.ts +2 -1
- package/icons/index.js +2 -1
- package/icons/index.mjs +2 -1
- package/icons/package.json +1 -1
- package/package.json +2 -2
- package/dist/pds-icons/index-ff192a13.js +0 -2970
- package/dist/pds-icons/index-ff192a13.js.map +0 -1
- package/dist/pds-icons/pds-icon.entry.js.map +0 -1
- package/dist/pds-icons/shadow-css-964ae2c5.js +0 -358
- package/dist/pds-icons/shadow-css-964ae2c5.js.map +0 -1
- package/dist/pds-icons/utils-39f6c025.js.map +0 -1
- /package/dist/{pds-icons → esm}/app-globals-0f993ce5.js +0 -0
- /package/dist/{pds-icons → esm}/app-globals-0f993ce5.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*empty cjs*/
|
package/components/index.d.ts
CHANGED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"index.js","mappings":";","names":[],"sources":[],"sourcesContent":[],"version":3}
|
package/components/pds-icon.d.ts
CHANGED
|
File without changes
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
import { Build, proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
let missingAssetPathWarning = false;
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Reads the component asset path config from meta tag or a global variable.
|
|
7
|
+
* This is a temporary workaround until these issues have been addressed:
|
|
8
|
+
*
|
|
9
|
+
* https://github.com/ionic-team/stencil/issues/2826/
|
|
10
|
+
* https://github.com/ionic-team/stencil/issues/3470
|
|
11
|
+
* https://github.com/ionic-team/stencil-ds-output-targets/issues/186
|
|
12
|
+
*/
|
|
13
|
+
const getAssetPath = (path) => {
|
|
14
|
+
var _a;
|
|
15
|
+
const metaPineAssetPath = (_a = document.head.querySelector('meta[data-pine-asset-path]')) === null || _a === void 0 ? void 0 : _a.dataset.pineAssetPath;
|
|
16
|
+
// Get the asset path from the window object if available
|
|
17
|
+
const windowAssetPath = window.__PINE_ASSET_PATH__;
|
|
18
|
+
// Set the CDN Asset path using the latest version
|
|
19
|
+
const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';
|
|
20
|
+
const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/';
|
|
21
|
+
// Display a warning if the assets are fetched from the CDN.
|
|
22
|
+
if (assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning) {
|
|
23
|
+
missingAssetPathWarning = true;
|
|
24
|
+
console.warn(`
|
|
25
|
+
Fetching Pine asssets from jsDelivr CDN.\n\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\n\nFor more information you read the documentation: \nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs
|
|
26
|
+
`);
|
|
27
|
+
}
|
|
28
|
+
let assetPath = path;
|
|
29
|
+
if (path.startsWith('./')) {
|
|
30
|
+
assetPath = path.substring(2);
|
|
31
|
+
}
|
|
32
|
+
if (!assetBasePath.endsWith('/')) {
|
|
33
|
+
assetPath = '/' + assetPath;
|
|
34
|
+
}
|
|
35
|
+
return assetBasePath + assetPath;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
let CACHED_MAP;
|
|
39
|
+
const addIcons = (icons) => {
|
|
40
|
+
const map = getIconMap();
|
|
41
|
+
Object.keys(icons).forEach(name => map.set(name, icons[name]));
|
|
42
|
+
};
|
|
43
|
+
const getIconMap = () => {
|
|
44
|
+
if (typeof window === 'undefined') {
|
|
45
|
+
return new Map();
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
if (!CACHED_MAP) {
|
|
49
|
+
const win = window; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
50
|
+
win.PdsIcons = win.PdsIcons || {};
|
|
51
|
+
CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();
|
|
52
|
+
}
|
|
53
|
+
return CACHED_MAP;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
const getName = (iconName, icon) => {
|
|
57
|
+
if (!iconName && icon && !isSrc(icon)) {
|
|
58
|
+
iconName = icon;
|
|
59
|
+
}
|
|
60
|
+
if (isStr(iconName)) {
|
|
61
|
+
iconName = toLower(iconName);
|
|
62
|
+
}
|
|
63
|
+
if (!isStr(iconName) || iconName.trim() === '') {
|
|
64
|
+
return null;
|
|
65
|
+
}
|
|
66
|
+
const invalidChars = iconName.replace(/[a-z]|-|\d/gi, '');
|
|
67
|
+
if (invalidChars != '') {
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
70
|
+
return iconName;
|
|
71
|
+
};
|
|
72
|
+
const getNamedUrl = (iconName) => {
|
|
73
|
+
const url = getIconMap().get(iconName);
|
|
74
|
+
if (url) {
|
|
75
|
+
return url;
|
|
76
|
+
}
|
|
77
|
+
return getAssetPath(`svg/${iconName}.svg`);
|
|
78
|
+
};
|
|
79
|
+
const getSrc = (src) => {
|
|
80
|
+
if (isStr(src)) {
|
|
81
|
+
src = src.trim();
|
|
82
|
+
if (isSrc(src)) {
|
|
83
|
+
return src;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return null;
|
|
87
|
+
};
|
|
88
|
+
const getUrl = (pdsIcon) => {
|
|
89
|
+
let url = getSrc(pdsIcon.src);
|
|
90
|
+
if (url) {
|
|
91
|
+
return url;
|
|
92
|
+
}
|
|
93
|
+
url = getName(pdsIcon.name, pdsIcon.icon);
|
|
94
|
+
if (url) {
|
|
95
|
+
return getNamedUrl(url);
|
|
96
|
+
}
|
|
97
|
+
if (pdsIcon.icon) {
|
|
98
|
+
url = getSrc(pdsIcon.icon);
|
|
99
|
+
if (url) {
|
|
100
|
+
return url;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
return null;
|
|
104
|
+
};
|
|
105
|
+
const isSrc = (str) => str.length > 0 && /(\/|\.)/.test(str);
|
|
106
|
+
const isStr = (val) => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
107
|
+
const toLower = (val) => val.toLowerCase();
|
|
108
|
+
/**
|
|
109
|
+
* Elements inside of web components sometimes need to inherit global attributes
|
|
110
|
+
* set on the host. For example, the inner input in `ion-input` should inherit
|
|
111
|
+
* the `title` attribute that developers set directly on `ion-input`. This
|
|
112
|
+
* helper function should be called in componentWillLoad and assigned to a variable
|
|
113
|
+
* that is later used in the render function.
|
|
114
|
+
*
|
|
115
|
+
* This does not need to be reactive as changing attributes on the host element
|
|
116
|
+
* does not trigger a re-render.
|
|
117
|
+
*/
|
|
118
|
+
const inheritAttributes = (el, attributes = []) => {
|
|
119
|
+
const attributeObject = {}; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
120
|
+
attributes.forEach(attr => {
|
|
121
|
+
if (el.hasAttribute(attr)) {
|
|
122
|
+
const value = el.getAttribute(attr);
|
|
123
|
+
if (value !== null) {
|
|
124
|
+
attributeObject[attr] = el.getAttribute(attr);
|
|
125
|
+
}
|
|
126
|
+
el.removeAttribute(attr);
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
return attributeObject;
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
const validateContent = (svgContent) => {
|
|
133
|
+
const div = document.createElement('div');
|
|
134
|
+
div.innerHTML = svgContent;
|
|
135
|
+
// setup this way to ensure it works on our buddy IE
|
|
136
|
+
for (let i = div.childNodes.length - 1; i >= 0; i--) {
|
|
137
|
+
if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {
|
|
138
|
+
div.removeChild(div.childNodes[i]);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
// must only have 1 root element
|
|
142
|
+
const svgElm = div.firstElementChild;
|
|
143
|
+
if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {
|
|
144
|
+
const svgClass = svgElm.getAttribute('class') || '';
|
|
145
|
+
svgElm.setAttribute('class', (svgClass + ' s-pds-icon').trim());
|
|
146
|
+
// root element must be an svg
|
|
147
|
+
// lets double check we've got valid elements
|
|
148
|
+
// do not allow scripts
|
|
149
|
+
if (isValid(svgElm)) {
|
|
150
|
+
return div.innerHTML;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
return '';
|
|
154
|
+
};
|
|
155
|
+
const isValid = (elm) => {
|
|
156
|
+
if (elm.nodeType === 1) {
|
|
157
|
+
if (elm.nodeName.toLowerCase() === 'script') {
|
|
158
|
+
return false;
|
|
159
|
+
}
|
|
160
|
+
for (let i = 0; i < elm.attributes.length; i++) {
|
|
161
|
+
const name = elm.attributes[i].name;
|
|
162
|
+
if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {
|
|
163
|
+
return false;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
for (let i = 0; i < elm.childNodes.length; i++) {
|
|
167
|
+
if (!isValid(elm.childNodes[i])) {
|
|
168
|
+
return false;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
return true;
|
|
173
|
+
};
|
|
174
|
+
const isSvgDataUrl = (url) => url.startsWith('data:image/svg+xml');
|
|
175
|
+
const isEncodedDataUrl = (url) => url.indexOf(';utf8,') !== -1;
|
|
176
|
+
|
|
177
|
+
const pdsIconContent = new Map();
|
|
178
|
+
const requests = new Map(); // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
179
|
+
let parser;
|
|
180
|
+
const getSvgContent = (url, sanitize = false) => {
|
|
181
|
+
let req = requests.get(url);
|
|
182
|
+
if (!req) {
|
|
183
|
+
if (typeof fetch != 'undefined' && typeof document !== 'undefined') {
|
|
184
|
+
if (isSvgDataUrl(url) && isEncodedDataUrl(url)) {
|
|
185
|
+
if (!parser) {
|
|
186
|
+
parser = new DOMParser();
|
|
187
|
+
}
|
|
188
|
+
const doc = parser.parseFromString(url, 'text/html');
|
|
189
|
+
const svg = doc.querySelector('svg');
|
|
190
|
+
if (svg) {
|
|
191
|
+
pdsIconContent.set(url, svg.outerHTML);
|
|
192
|
+
}
|
|
193
|
+
return Promise.resolve();
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
// we don't have a request
|
|
197
|
+
req = fetch(url).then((rsp) => {
|
|
198
|
+
if (rsp.ok) {
|
|
199
|
+
return rsp.text().then((svgContent) => {
|
|
200
|
+
if (svgContent && sanitize !== false) {
|
|
201
|
+
svgContent = validateContent(svgContent);
|
|
202
|
+
}
|
|
203
|
+
pdsIconContent.set(url, svgContent || '');
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
pdsIconContent.set(url, '');
|
|
207
|
+
});
|
|
208
|
+
requests.set(url, req);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
pdsIconContent.set(url, '');
|
|
213
|
+
return Promise.resolve();
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
return req;
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
const pdsIconCss = ":host{--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%}";
|
|
220
|
+
const PdsIconStyle0 = pdsIconCss;
|
|
221
|
+
|
|
222
|
+
const PdsIcon$1 = /*@__PURE__*/ proxyCustomElement(class PdsIcon extends HTMLElement {
|
|
223
|
+
constructor() {
|
|
224
|
+
super();
|
|
225
|
+
this.__registerHost();
|
|
226
|
+
this.__attachShadow();
|
|
227
|
+
this.inheritedAttributes = {}; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
228
|
+
this.hasAriaHidden = () => {
|
|
229
|
+
const { el } = this;
|
|
230
|
+
return el.hasAttribute('aria-hidden') && el.getAttribute('aria-hidden') === 'true';
|
|
231
|
+
};
|
|
232
|
+
this.ariaLabel = undefined;
|
|
233
|
+
this.isVisible = false;
|
|
234
|
+
this.svgContent = undefined;
|
|
235
|
+
this.color = undefined;
|
|
236
|
+
this.icon = undefined;
|
|
237
|
+
this.name = undefined;
|
|
238
|
+
this.size = 'regular';
|
|
239
|
+
this.src = undefined;
|
|
240
|
+
}
|
|
241
|
+
iconSize() {
|
|
242
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
243
|
+
const sizes = {
|
|
244
|
+
small: '12px',
|
|
245
|
+
regular: '16px',
|
|
246
|
+
medium: '20px',
|
|
247
|
+
large: '24px',
|
|
248
|
+
};
|
|
249
|
+
if (sizes[this.size]) {
|
|
250
|
+
return sizes[this.size];
|
|
251
|
+
}
|
|
252
|
+
else {
|
|
253
|
+
return this.size;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
componentDidLoad() {
|
|
257
|
+
this.setCSSVariables();
|
|
258
|
+
}
|
|
259
|
+
componentWillLoad() {
|
|
260
|
+
this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);
|
|
261
|
+
this.setCSSVariables();
|
|
262
|
+
}
|
|
263
|
+
setCSSVariables() {
|
|
264
|
+
this.el.style.setProperty(`--dimension-icon-height`, this.iconSize());
|
|
265
|
+
this.el.style.setProperty(`--dimension-icon-width`, this.iconSize());
|
|
266
|
+
this.el.style.setProperty(`--color-icon-fill`, typeof this.color !== 'undefined' ? this.color : 'currentColor');
|
|
267
|
+
}
|
|
268
|
+
connectedCallback() {
|
|
269
|
+
this.waitUntilVisible(this.el, '50px', () => {
|
|
270
|
+
this.isVisible = true;
|
|
271
|
+
this.loadIcon();
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
disconnectedCallback() {
|
|
275
|
+
if (this.io) {
|
|
276
|
+
this.io.disconnect();
|
|
277
|
+
this.io = undefined;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
updateStyles() {
|
|
281
|
+
this.setCSSVariables();
|
|
282
|
+
}
|
|
283
|
+
loadIcon() {
|
|
284
|
+
if (Build.isBrowser && this.isVisible) {
|
|
285
|
+
const url = getUrl(this);
|
|
286
|
+
if (url) {
|
|
287
|
+
if (pdsIconContent.has(url)) {
|
|
288
|
+
this.svgContent = pdsIconContent.get(url);
|
|
289
|
+
}
|
|
290
|
+
else {
|
|
291
|
+
getSvgContent(url).then(() => (this.svgContent = pdsIconContent.get(url)));
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
const label = getName(this.name, this.icon);
|
|
296
|
+
if (label) {
|
|
297
|
+
this.ariaLabel = label.replace(/\-/g, ' ');
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
render() {
|
|
301
|
+
const { ariaLabel, inheritedAttributes } = this;
|
|
302
|
+
return (h(Host, Object.assign({ key: '4bbc232e2530d43e8b5afefb754486d94ea6538b', "aria-label": ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null, alt: "", role: "img", class: Object.assign({}, createColorClasses(this.color)) }, inheritedAttributes), Build.isBrowser && this.svgContent ? (h("div", { class: "icon-inner", innerHTML: this.svgContent })) : (h("div", { class: "icon-inner" }))));
|
|
303
|
+
}
|
|
304
|
+
/*****
|
|
305
|
+
* Private Methods
|
|
306
|
+
****/
|
|
307
|
+
waitUntilVisible(el, rootMargin, cb) {
|
|
308
|
+
if (Build.isBrowser && typeof window !== 'undefined' && (window).IntersectionObserver) {
|
|
309
|
+
const io = (this.io = new (window).IntersectionObserver((data) => {
|
|
310
|
+
if (data[0].isIntersecting) {
|
|
311
|
+
io.disconnect();
|
|
312
|
+
this.io = undefined;
|
|
313
|
+
cb();
|
|
314
|
+
}
|
|
315
|
+
}, { rootMargin }));
|
|
316
|
+
io.observe(el);
|
|
317
|
+
}
|
|
318
|
+
else {
|
|
319
|
+
// browser doesn't support IntersectionObserver
|
|
320
|
+
// so just fallback to always show it
|
|
321
|
+
cb();
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
static get assetsDirs() { return ["svg"]; }
|
|
325
|
+
get el() { return this; }
|
|
326
|
+
static get watchers() { return {
|
|
327
|
+
"size": ["updateStyles"],
|
|
328
|
+
"color": ["updateStyles"],
|
|
329
|
+
"name": ["loadIcon"],
|
|
330
|
+
"src": ["loadIcon"],
|
|
331
|
+
"icon": ["loadIcon"]
|
|
332
|
+
}; }
|
|
333
|
+
static get style() { return PdsIconStyle0; }
|
|
334
|
+
}, [1, "pds-icon", {
|
|
335
|
+
"color": [1],
|
|
336
|
+
"icon": [8],
|
|
337
|
+
"name": [513],
|
|
338
|
+
"size": [513],
|
|
339
|
+
"src": [1],
|
|
340
|
+
"ariaLabel": [32],
|
|
341
|
+
"isVisible": [32],
|
|
342
|
+
"svgContent": [32]
|
|
343
|
+
}, undefined, {
|
|
344
|
+
"size": ["updateStyles"],
|
|
345
|
+
"color": ["updateStyles"],
|
|
346
|
+
"name": ["loadIcon"],
|
|
347
|
+
"src": ["loadIcon"],
|
|
348
|
+
"icon": ["loadIcon"]
|
|
349
|
+
}]);
|
|
350
|
+
const createColorClasses = (color) => {
|
|
351
|
+
return color
|
|
352
|
+
? {
|
|
353
|
+
'pds-color': true,
|
|
354
|
+
[`pds-color-${color}`]: true,
|
|
355
|
+
}
|
|
356
|
+
: null;
|
|
357
|
+
};
|
|
358
|
+
function defineCustomElement$1() {
|
|
359
|
+
if (typeof customElements === "undefined") {
|
|
360
|
+
return;
|
|
361
|
+
}
|
|
362
|
+
const components = ["pds-icon"];
|
|
363
|
+
components.forEach(tagName => { switch (tagName) {
|
|
364
|
+
case "pds-icon":
|
|
365
|
+
if (!customElements.get(tagName)) {
|
|
366
|
+
customElements.define(tagName, PdsIcon$1);
|
|
367
|
+
}
|
|
368
|
+
break;
|
|
369
|
+
} });
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
const PdsIcon = PdsIcon$1;
|
|
373
|
+
const defineCustomElement = defineCustomElement$1;
|
|
374
|
+
|
|
375
|
+
export { PdsIcon, addIcons as a, defineCustomElement };
|
|
376
|
+
|
|
377
|
+
//# sourceMappingURL=pds-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"pds-icon.js","mappings":";;AAEA,IAAI,uBAAuB,GAAG,KAAK,CAAC;AAQpC;;;;;;;;;AASO,MAAM,YAAY,GAAG,CAAC,IAAY;;IACvC,MAAM,iBAAiB,GAAG,MAAA,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAkB,4BAA4B,CAAC,0CAAE,OAAO,CAAC,aAAa,CAAC;;IAG5H,MAAM,eAAe,GAAG,MAAM,CAAC,mBAAmB,CAAC;;IAGnD,MAAM,YAAY,GAAG,6DAA6D,CAAC;IAEnF,MAAM,aAAa,GAAI,KAAK,CAAC,SAAS,GAAG,iBAAiB,GAAG,iBAAiB,IAAI,eAAe,IAAI,YAAY,IAAI,GAAG,CAAA;;IAGxH,IAAK,aAAa,CAAC,UAAU,CAAC,+BAA+B,CAAC,IAAI,CAAC,uBAAuB,EAAG;QAC3F,uBAAuB,GAAG,IAAI,CAAC;QAC/B,OAAO,CAAC,IAAI,CAAC;;KAEZ,CAAC,CAAA;KACH;IAED,IAAI,SAAS,GAAG,IAAI,CAAC;IAErB,IAAK,IAAI,CAAC,UAAU,CAAE,IAAI,CAAC,EAAG;QAC5B,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;KAC/B;IAED,IAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAG;QAClC,SAAS,GAAG,GAAG,GAAG,SAAS,CAA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AG,CAAC,KAAyB;IACnD,OAAO,KAAK;UACT;YACE,WAAW,EAAE,IAAI;YACjB,CAAC,aAAa,KAAK,EAAE,GAAG,IAAI;SAC7B;UACD,IAAI,CAAC;AACT,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;","names":["PdsIcon"],"sources":["src/components/pds-icon/assetPath.ts","src/components/pds-icon/utils.ts","src/components/pds-icon/validate.ts","src/components/pds-icon/request.ts","src/components/pds-icon/pds-icon.scss?tag=pds-icon&encapsulation=shadow","src/components/pds-icon/pds-icon.tsx"],"sourcesContent":["import { Build } from '@stencil/core';\n\nlet missingAssetPathWarning = false;\n\ndeclare global {\n interface Window {\n __PINE_ASSET_PATH__?: string\n }\n}\n\n/**\n *\n * Reads the component asset path config from meta tag or a global variable.\n * This is a temporary workaround until these issues have been addressed:\n *\n * https://github.com/ionic-team/stencil/issues/2826/\n * https://github.com/ionic-team/stencil/issues/3470\n * https://github.com/ionic-team/stencil-ds-output-targets/issues/186\n */\nexport const getAssetPath = (path: string) => {\n const metaPineAssetPath = document.head.querySelector<HTMLMetaElement>('meta[data-pine-asset-path]')?.dataset.pineAssetPath;\n\n // Get the asset path from the window object if available\n const windowAssetPath = window.__PINE_ASSET_PATH__;\n\n // Set the CDN Asset path using the latest version\n const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';\n\n const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/'\n\n // Display a warning if the assets are fetched from the CDN.\n if ( assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning ) {\n missingAssetPathWarning = true;\n console.warn(`\n Fetching Pine asssets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\\n\\nFor more information you read the documentation: \\nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs\n `)\n }\n\n let assetPath = path;\n\n if ( path.startsWith ('./') ) {\n assetPath = path.substring(2);\n }\n\n if ( !assetBasePath.endsWith('/') ) {\n assetPath = '/' + assetPath;\n }\n\n return assetBasePath + assetPath;\n}\n\n\nexport {};\n","import { getAssetPath } from './assetPath';\n\nimport { PdsIcon } from './pds-icon';\n\nlet CACHED_MAP: Map<string, string>;\n\nexport const addIcons = (icons: { [name: string]: string; }) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n}\n\nexport const getIconMap = (): Map<string, string> => {\n if (typeof window === 'undefined') {\n return new Map();\n } else {\n if (!CACHED_MAP) {\n const win = window as any; // eslint-disable-line @typescript-eslint/no-explicit-any\n win.PdsIcons = win.PdsIcons || {};\n CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();\n }\n\n return CACHED_MAP;\n }\n}\n\nexport const getName = (\n iconName: string | undefined,\n icon: string | undefined\n ) => {\n\n if(!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi,'');\n if (invalidChars != '') { return null; }\n\n return iconName;\n}\n\nconst getNamedUrl = (iconName: string) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n\n return getAssetPath(`svg/${iconName}.svg`);\n};\n\nexport const getSrc = (src: string | undefined) => {\n if (isStr(src)) {\n src = src.trim();\n\n if (isSrc(src)) {\n return src;\n }\n }\n\n return null;\n}\n\nexport const getUrl = (pdsIcon: PdsIcon) => {\n let url = getSrc(pdsIcon.src);\n if (url) {\n return url;\n }\n\n url = getName(pdsIcon.name, pdsIcon.icon);\n if (url) {\n return getNamedUrl(url);\n }\n\n if (pdsIcon.icon) {\n url = getSrc(pdsIcon.icon);\n\n if(url) {\n return url;\n }\n }\n\n return null;\n};\n\n\nexport const isSrc = (str: string) => str.length > 0 && /(\\/|\\.)/.test(str);\nexport const isStr = (val: any): val is string => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any\nexport const toLower = (val: string) => val.toLowerCase();\n\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\n export const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n const attributeObject: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n\n return attributeObject;\n}\n","import { isStr } from './utils';\n\nexport const validateContent = (svgContent: string) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-pds-icon').trim());\n\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm as HTMLElement)) {\n return div.innerHTML;\n }\n }\n return '';\n};\n\nexport const isValid = (elm: HTMLElement) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n\n for (let i = 0; i < elm.attributes.length; i++) {\n const name = elm.attributes[i].name;\n if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i] as HTMLElement)) {\n return false;\n }\n }\n }\n return true;\n};\n\nexport const isSvgDataUrl = (url: string) => url.startsWith('data:image/svg+xml');\nexport const isEncodedDataUrl = (url: string) => url.indexOf(';utf8,') !== -1;\n","import { isEncodedDataUrl, isSvgDataUrl, validateContent } from './validate';\n\nexport const pdsIconContent = new Map<string, string>();\nconst requests = new Map<string, Promise<any>>(); // eslint-disable-line @typescript-eslint/no-explicit-any\n\nlet parser: DOMParser;\n\nexport const getSvgContent = (url: string, sanitize = false) => {\n let req = requests.get(url);\n\n if(!req) {\n if (typeof fetch != 'undefined' && typeof document !== 'undefined') {\n if (isSvgDataUrl(url) && isEncodedDataUrl(url)) {\n if (!parser) {\n parser = new DOMParser();\n }\n\n const doc = parser.parseFromString(url, 'text/html');\n const svg = doc.querySelector('svg');\n\n if (svg) {\n pdsIconContent.set(url, svg.outerHTML);\n }\n\n return Promise.resolve();\n } else {\n // we don't have a request\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n pdsIconContent.set(url, svgContent || '');\n });\n }\n pdsIconContent.set(url, '');\n });\n\n requests.set(url, req);\n }\n } else {\n pdsIconContent.set(url, '');\n return Promise.resolve();\n }\n }\n\n return req;\n}\n",":host {\n --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}
|
package/dist/cheatsheet.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
|
-
<title>Pine icons 7.4.
|
|
5
|
+
<title>Pine icons 7.4.3 Cheatsheet</title>
|
|
6
6
|
<style>
|
|
7
7
|
body {
|
|
8
8
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
</style>
|
|
34
34
|
</head>
|
|
35
35
|
<body>
|
|
36
|
-
<h1>Pine Icons 7.4.
|
|
37
|
-
<h3>
|
|
36
|
+
<h1>Pine Icons 7.4.3 Cheatsheet</h1>
|
|
37
|
+
<h3>324 icons</h3>
|
|
38
38
|
|
|
39
39
|
<a href="./svg/access-key.svg"><svg><use href="#access-key" xlink:href="#access-key"/></svg></a>
|
|
40
40
|
<a href="./svg/add.svg"><svg><use href="#add" xlink:href="#add"/></svg></a>
|
|
@@ -179,6 +179,7 @@
|
|
|
179
179
|
<a href="./svg/funnel.svg"><svg><use href="#funnel" xlink:href="#funnel"/></svg></a>
|
|
180
180
|
<a href="./svg/gear.svg"><svg><use href="#gear" xlink:href="#gear"/></svg></a>
|
|
181
181
|
<a href="./svg/gear-filled.svg"><svg><use href="#gear-filled" xlink:href="#gear-filled"/></svg></a>
|
|
182
|
+
<a href="./svg/gift-01.svg"><svg><use href="#gift-01" xlink:href="#gift-01"/></svg></a>
|
|
182
183
|
<a href="./svg/grant-offer.svg"><svg><use href="#grant-offer" xlink:href="#grant-offer"/></svg></a>
|
|
183
184
|
<a href="./svg/handle.svg"><svg><use href="#handle" xlink:href="#handle"/></svg></a>
|
|
184
185
|
<a href="./svg/handle-2.svg"><svg><use href="#handle-2" xlink:href="#handle-2"/></svg></a>
|
|
@@ -359,7 +360,7 @@
|
|
|
359
360
|
<a href="./svg/window-paragraph.svg"><svg><use href="#window-paragraph" xlink:href="#window-paragraph"/></svg></a>
|
|
360
361
|
<a href="./svg/world.svg"><svg><use href="#world" xlink:href="#world"/></svg></a>
|
|
361
362
|
<a href="./svg/wrench.svg"><svg><use href="#wrench" xlink:href="#wrench"/></svg></a>
|
|
362
|
-
<svg data-pdsicons="7.4.
|
|
363
|
+
<svg data-pdsicons="7.4.3" style="display:none">
|
|
363
364
|
<style>
|
|
364
365
|
.pdsicon {
|
|
365
366
|
fill: currentColor;
|
|
@@ -514,6 +515,7 @@
|
|
|
514
515
|
<symbol id="funnel" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M.104.435C.213.218.43 0 .757 0h14.476c.218 0 .544.109.653.435a.93.93 0 0 1 0 .762l-5.66 8.49v5.551a.744.744 0 0 1-.762.762h-2.83c-.435 0-.762-.326-.762-.653v-5.66l-5.66-8.49C-.004.98-.004.653.105.435m2.068 1.089 5.007 7.619c.108.109.108.218.108.435v5.007h1.415V9.469c0-.108 0-.326.11-.435l5.006-7.619H2.172z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></symbol>
|
|
515
516
|
<symbol id="gear" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M8 0a2 2 0 0 0-2 2v.348q-.3.105-.582.241l-.247-.246a2 2 0 1 0-2.828 2.828l.246.247Q2.454 5.7 2.35 6H2a2 2 0 0 0 0 4h.348q.105.3.241.582l-.246.247a2 2 0 1 0 2.828 2.828l.247-.246q.283.135.582.24V14a2 2 0 0 0 4 0v-.348q.3-.106.582-.241l.247.246a2 2 0 1 0 2.828-2.828l-.246-.247q.135-.284.24-.582H14a2 2 0 0 0 0-4h-.348q-.106-.3-.241-.582l.246-.247a2 2 0 1 0-2.828-2.828l-.247.246A6 6 0 0 0 10 2.35V2a2 2 0 0 0-2-2m-.667 2a.666.666 0 1 1 1.334 0v.841c0 .304.205.57.5.646q.642.167 1.2.497a.67.67 0 0 0 .81-.103l.594-.595a.666.666 0 1 1 .943.943l-.595.594a.67.67 0 0 0-.103.81q.33.558.497 1.2c.076.295.342.5.646.5H14a.666.666 0 1 1 0 1.334h-.841a.67.67 0 0 0-.646.5c-.11.427-.278.83-.496 1.2a.67.67 0 0 0 .102.81l.595.594a.666.666 0 1 1-.943.943l-.594-.595a.67.67 0 0 0-.81-.103q-.558.33-1.2.497a.67.67 0 0 0-.5.646V14a.666.666 0 1 1-1.334 0v-.841a.67.67 0 0 0-.5-.646 4.6 4.6 0 0 1-1.2-.496.67.67 0 0 0-.81.102l-.594.595a.666.666 0 1 1-.943-.943l.595-.594a.67.67 0 0 0 .103-.81 4.6 4.6 0 0 1-.497-1.2.67.67 0 0 0-.646-.5H2a.666.666 0 1 1 0-1.334h.841c.304 0 .57-.205.646-.5q.167-.642.497-1.2a.67.67 0 0 0-.103-.81l-.595-.594a.666.666 0 1 1 .943-.943l.594.595a.67.67 0 0 0 .81.103q.558-.33 1.2-.497a.67.67 0 0 0 .5-.646zm-.666 6a1.333 1.333 0 1 1 2.666 0 1.333 1.333 0 0 1-2.666 0M8 5.333a2.667 2.667 0 1 0 0 5.334 2.667 2.667 0 0 0 0-5.334"/></symbol>
|
|
516
517
|
<symbol id="gear-filled" viewBox="0 0 16 16" class="pdsicon"><path d="M14.667 6.667h-.821a6 6 0 0 0-.77-1.857l.58-.581a1.334 1.334 0 0 0-1.885-1.886l-.581.582a6 6 0 0 0-1.857-.771v-.82a1.333 1.333 0 1 0-2.666 0v.82c-.658.15-1.286.41-1.857.77l-.581-.58a1.333 1.333 0 0 0-1.886 1.885l.582.581c-.36.57-.621 1.199-.771 1.857h-.82a1.333 1.333 0 1 0 0 2.666h.82c.15.658.41 1.286.77 1.857l-.58.581a1.333 1.333 0 0 0 1.885 1.886l.581-.582c.57.36 1.199.621 1.857.771v.82a1.333 1.333 0 0 0 2.666 0v-.82a6 6 0 0 0 1.857-.77l.581.58a1.334 1.334 0 0 0 1.886-1.885l-.582-.581c.36-.57.621-1.199.771-1.857h.82a1.333 1.333 0 0 0 0-2.666m-6.667 4a2.667 2.667 0 1 1 0-5.334 2.667 2.667 0 0 1 0 5.334"/></symbol>
|
|
518
|
+
<symbol id="gift-01" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path d="M13.333 12.533v-5.2H2.667v5.2c0 .747 0 1.12.145 1.406.128.25.332.454.583.582.285.146.658.146 1.405.146h6.4c.747 0 1.12 0 1.405-.146.251-.128.455-.332.583-.582.145-.286.145-.659.145-1.406" opacity=".12"/><path fill-rule="evenodd" d="M5.643 2a.63.63 0 0 0-.45.191.68.68 0 0 0-.193.476c0 .18.07.351.193.475a.63.63 0 0 0 .45.191h1.446a4 4 0 0 0-.167-.35c-.324-.6-.74-.983-1.28-.983m1.69 2.667v2H2.4a6 6 0 0 1-.392-.008l-.001-.009A6 6 0 0 1 2 6.267v-1.2a6 6 0 0 1 .008-.393h.008c.078-.007.186-.007.384-.007zM3.78 3.333a2.02 2.02 0 0 1 .461-2.076c.37-.377.874-.59 1.402-.59C6.839.667 7.582 1.479 8 2.18 8.418 1.48 9.16.667 10.357.667c.528 0 1.032.213 1.402.59a2.01 2.01 0 0 1 .461 2.076h1.401c.168 0 .332 0 .471.012.152.012.332.041.513.134.251.127.455.331.583.582.092.181.122.361.134.514.011.138.011.302.011.47v1.243c0 .168 0 .332-.011.47a1.35 1.35 0 0 1-.134.514c-.128.25-.332.455-.583.583-.18.092-.36.121-.513.134L14 7.995v4.564c0 .352 0 .655-.02.904-.022.264-.07.526-.198.778a2 2 0 0 1-.874.874 2 2 0 0 1-.778.198c-.25.02-.553.02-.904.02H4.774c-.351 0-.654 0-.904-.02a2 2 0 0 1-.778-.198 2 2 0 0 1-.874-.874 2 2 0 0 1-.198-.778C2 13.213 2 12.911 2 12.56V7.995l-.092-.006a1.4 1.4 0 0 1-.513-.134 1.33 1.33 0 0 1-.583-.583 1.4 1.4 0 0 1-.134-.513 6 6 0 0 1-.011-.471V5.045c0-.168 0-.332.011-.47.012-.153.042-.333.134-.514.128-.25.332-.455.583-.582.18-.093.36-.122.513-.134.139-.012.302-.012.47-.012H3.78M3.333 8v4.533c0 .385 0 .633.016.822.015.18.04.248.057.281a.67.67 0 0 0 .291.291c.033.017.1.042.282.057.188.015.437.016.821.016h2.533V8zm5.334 0v6H11.2c.384 0 .633 0 .821-.016.181-.015.249-.04.282-.057a.67.67 0 0 0 .291-.291c.017-.033.042-.1.057-.281.015-.19.016-.437.016-.822V8zM13.6 6.667a6 6 0 0 0 .392-.008l.001-.009A5 5 0 0 0 14 6.267v-1.2c0-.198 0-.306-.007-.384v-.009h-.01a6 6 0 0 0-.383-.007H8.667v2zm-3.243-3.334a.63.63 0 0 0 .45-.19.68.68 0 0 0 .193-.476.68.68 0 0 0-.193-.476.63.63 0 0 0-.45-.191c-.54 0-.955.384-1.28.984a4 4 0 0 0-.167.35z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></symbol>
|
|
517
519
|
<symbol id="grant-offer" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M5.997 1.333A.67.67 0 0 0 5.33 2c0 .356.286.651.638.667h1.725c-.357-.703-.907-1.334-1.696-1.334m-2 .667q.002.352.114.667H2.663c-.737 0-1.334.597-1.334 1.333v1.334c0 .737.597 1.334 1.334 1.334h.003v2.001H1.33c-.737 0-1.334.597-1.334 1.334v2.494c0 .538.324 1.024.82 1.23l4.87 2.03.011.005c.683.256 1.424.249 2.063.09l.032-.009 6.505-2.332a1.26 1.26 0 0 0 .743-.695 1.1 1.1 0 0 0-.15-1.105 2.7 2.7 0 0 0-.385-.403c.103-.19.161-.407.161-.638V6.668c.737 0 1.334-.597 1.334-1.334V4c0-.736-.597-1.333-1.333-1.333h-1.448q.114-.315.115-.667c0-1.101-.899-2-2-2-1.347 0-2.189.9-2.669 1.678C8.185.9 7.344 0 5.997 0c-1.101 0-2 .899-2 2m8.002 10.003h.693c.457.006.756.155.955.325l-6.24 2.237c-.416.099-.858.09-1.231-.047l-4.846-2.02v-2.495h2c.778 0 1.484.301 1.953.833.242.275.614.5 1.064.5H8c.38 0 .83.27 1.102.668h-3.77v1.333h4.001c.364 0 .72-.15.96-.424a1.09 1.09 0 0 0 .258-.91zm.7-1.333h.634V6.668H4v2.054c.873.14 1.686.554 2.284 1.232a.2.2 0 0 0 .054.045l.012.004h1.65c.624 0 1.215.265 1.68.667H12.7M2.664 4h12.004v1.334H2.663zM12 2c0 .356-.286.651-.638.667H9.638c.356-.703.906-1.334 1.695-1.334.366 0 .668.302.668.667"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></symbol>
|
|
518
520
|
<symbol id="handle" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M.667 5.333a.667.667 0 0 0 0 1.334h14.666a.667.667 0 1 0 0-1.334zm0 4.667a.667.667 0 0 0 0 1.333h14.666a.667.667 0 1 0 0-1.333z"/></symbol>
|
|
519
521
|
<symbol id="handle-2" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M1.6 7.2a1.6 1.6 0 1 0 0-3.2 1.6 1.6 0 0 0 0 3.2m0 5.333a1.6 1.6 0 1 0 0-3.2 1.6 1.6 0 0 0 0 3.2m6.4 0a1.6 1.6 0 1 0 0-3.2 1.6 1.6 0 0 0 0 3.2m8-1.6a1.6 1.6 0 1 1-3.2 0 1.6 1.6 0 0 1 3.2 0M9.6 5.6a1.6 1.6 0 1 1-3.2 0 1.6 1.6 0 0 1 3.2 0m4.8 1.6a1.6 1.6 0 1 0 0-3.2 1.6 1.6 0 0 0 0 3.2"/></symbol>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"app-globals-3a1e7e63.js","mappings":";;AAAY,MAAC,aAAa,GAAG,MAAM;;;;","names":[],"sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\n"],"version":3}
|