@ptcwebops/ptcw-design 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/dist/cjs/author-listing-example.cjs.entry.js +232 -232
- package/dist/cjs/bundle-example.cjs.entry.js +31 -31
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +40 -40
- package/dist/cjs/{core-332e5461.js → core-1951cc85.js} +91 -29
- package/dist/cjs/dropdown-item.cjs.entry.js +11 -11
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +26 -26
- package/dist/cjs/featured-list.cjs.entry.js +84 -84
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +41 -41
- package/dist/cjs/icon-asset.cjs.entry.js +43 -43
- package/dist/cjs/{index-1662de74.js → index-dddc2aea.js} +72 -1
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +22 -22
- package/dist/cjs/{interfaces-574e6df7.js → interfaces-0ecd8027.js} +9 -9
- package/dist/cjs/list-item.cjs.entry.js +23 -23
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/max-width-container.cjs.entry.js +44 -44
- package/dist/cjs/my-component.cjs.entry.js +16 -16
- package/dist/cjs/{pagination-8d9d474d.js → pagination-d20b7968.js} +24 -6
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +85 -85
- package/dist/cjs/ptc-accordion.cjs.entry.js +40 -40
- package/dist/cjs/ptc-announcement.cjs.entry.js +53 -53
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +36 -36
- package/dist/cjs/ptc-background-video.cjs.entry.js +58 -58
- package/dist/cjs/ptc-bio-card.cjs.entry.js +25 -25
- package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +121 -121
- package/dist/cjs/ptc-button.cjs.entry.js +40 -40
- package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +124 -124
- package/dist/cjs/ptc-card-content.cjs.entry.js +58 -58
- package/dist/cjs/ptc-card.cjs.entry.js +73 -73
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +92 -83
- package/dist/cjs/ptc-checkbox.cjs.entry.js +51 -51
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +398 -398
- package/dist/cjs/ptc-container.cjs.entry.js +34 -34
- package/dist/cjs/ptc-date.cjs.entry.js +51 -51
- package/dist/cjs/ptc-dropdown.cjs.entry.js +65 -65
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +48 -48
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +47 -47
- package/dist/cjs/ptc-featured-list.cjs.entry.js +83 -83
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +58 -58
- package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +12 -12
- package/dist/cjs/ptc-hero.cjs.entry.js +19 -19
- package/dist/cjs/ptc-icon-component.cjs.entry.js +63 -63
- package/dist/cjs/ptc-icon-list.cjs.entry.js +22 -22
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +44 -44
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +19 -19
- package/dist/cjs/ptc-img.cjs.entry.js +123 -123
- package/dist/cjs/ptc-link.cjs.entry.js +34 -34
- package/dist/cjs/ptc-list.cjs.entry.js +50 -50
- package/dist/cjs/ptc-media-card.cjs.entry.js +59 -59
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +13 -13
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +157 -139
- package/dist/cjs/ptc-modal.cjs.entry.js +151 -151
- package/dist/cjs/ptc-nav-card.cjs.entry.js +37 -37
- package/dist/cjs/ptc-nav-link.cjs.entry.js +37 -37
- package/dist/cjs/ptc-nav-pills.cjs.entry.js +9 -9
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +91 -91
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +38 -38
- package/dist/cjs/ptc-news.cjs.entry.js +18 -18
- package/dist/cjs/ptc-overlay.cjs.entry.js +24 -24
- package/dist/cjs/ptc-pagenation.cjs.entry.js +307 -307
- package/dist/cjs/ptc-para.cjs.entry.js +52 -52
- package/dist/cjs/ptc-picture.cjs.entry.js +153 -153
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +12 -12
- package/dist/cjs/ptc-previous-url.cjs.entry.js +12 -12
- package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +17 -17
- package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +40 -40
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +21 -21
- package/dist/cjs/ptc-pricing-table.cjs.entry.js +427 -427
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +125 -125
- package/dist/cjs/ptc-product-card.cjs.entry.js +23 -23
- package/dist/cjs/ptc-product-category.cjs.entry.js +11 -11
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +70 -70
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +13 -13
- package/dist/cjs/ptc-product-list.cjs.entry.js +141 -141
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +129 -129
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +17 -17
- package/dist/cjs/ptc-quiz.cjs.entry.js +83 -0
- package/dist/cjs/ptc-quote.cjs.entry.js +24 -24
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +25 -25
- package/dist/cjs/ptc-readmore.cjs.entry.js +78 -78
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +150 -150
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +55 -55
- package/dist/cjs/ptc-search-field.cjs.entry.js +72 -72
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +51 -51
- package/dist/cjs/ptc-slit-card.cjs.entry.js +26 -26
- package/dist/cjs/ptc-social-share.cjs.entry.js +70 -70
- package/dist/cjs/ptc-spacer.cjs.entry.js +28 -28
- package/dist/cjs/ptc-span.cjs.entry.js +21 -21
- package/dist/cjs/ptc-square-card.cjs.entry.js +11 -11
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +33 -33
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +31 -31
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +24 -24
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +16 -16
- package/dist/cjs/ptc-subnav.cjs.entry.js +23 -23
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +96 -96
- package/dist/cjs/ptc-tab-list.cjs.entry.js +142 -142
- package/dist/cjs/ptc-tab.cjs.entry.js +21 -21
- package/dist/cjs/ptc-tabs.cjs.entry.js +48 -48
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +43 -43
- package/dist/cjs/ptc-title.cjs.entry.js +68 -68
- package/dist/cjs/ptc-tooltip.cjs.entry.js +96 -96
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +16 -16
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +15 -15
- package/dist/cjs/ptcw-design.cjs.js +3 -3
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +110 -110
- package/dist/cjs/sequential-bundle.cjs.entry.js +90 -90
- package/dist/cjs/tab-content.cjs.entry.js +28 -28
- package/dist/cjs/tab-header.cjs.entry.js +65 -65
- package/dist/cjs/{utils-9eb22041.js → utils-416c94fe.js} +90 -90
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
- package/dist/collection/components/icon-asset/icon-asset.css +4 -4
- package/dist/collection/components/icon-asset/icon-asset.js +199 -199
- package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
- package/dist/collection/components/icon-asset/media/designer.svg +489 -482
- package/dist/collection/components/icon-asset/media/regular.svg +463 -463
- package/dist/collection/components/icon-asset/media/solid.svg +3016 -3013
- package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
- package/dist/collection/components/list-item/list-item.js +144 -144
- package/dist/collection/components/max-width-container/max-width-container.css +11 -11
- package/dist/collection/components/max-width-container/max-width-container.js +146 -146
- package/dist/collection/components/my-component/my-component.css +3 -3
- package/dist/collection/components/my-component/my-component.js +82 -82
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +69 -69
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +281 -281
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +58 -58
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +218 -218
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +115 -115
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +92 -92
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +306 -306
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +61 -61
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
- package/dist/collection/components/ptc-button/ptc-button.js +304 -304
- package/dist/collection/components/ptc-card/ptc-card.js +419 -419
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +232 -232
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +2 -2
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
- package/dist/collection/components/ptc-container/ptc-container.js +138 -138
- package/dist/collection/components/ptc-date/ptc-date.js +224 -224
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
- package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +174 -174
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +105 -105
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +115 -115
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
- package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +2 -2
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
- package/dist/collection/components/ptc-img/ptc-img.js +311 -311
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +326 -326
- package/dist/collection/components/ptc-link/ptc-link.js +207 -207
- package/dist/collection/components/ptc-list/ptc-list.js +99 -99
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +7 -2
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
- package/dist/collection/components/ptc-modal/ptc-modal.js +407 -407
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
- package/dist/collection/components/ptc-news/ptc-news.js +169 -169
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
- package/dist/collection/components/ptc-para/ptc-para.js +242 -242
- package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +120 -120
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +76 -76
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
- package/dist/collection/components/ptc-pricing-table/ptc-pricing-table.js +581 -581
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
- package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
- package/dist/collection/components/ptc-quiz/ptc-quiz.css +215 -0
- package/dist/collection/components/ptc-quiz/ptc-quiz.js +92 -0
- package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +302 -302
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +190 -190
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
- package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
- package/dist/collection/components/ptc-span/ptc-span.js +107 -107
- package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +195 -195
- package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
- package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +181 -181
- package/dist/collection/components/ptc-title/ptc-title.js +310 -310
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +342 -342
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +135 -135
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +114 -114
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +70 -70
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +133 -133
- package/dist/collection/components/tab-content/tab-content.js +84 -84
- package/dist/collection/components/tab-header/tab-header.js +182 -182
- package/dist/collection/index.js +1 -1
- package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
- package/dist/collection/media/svg-imgs/close.svg +10 -10
- package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
- package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
- package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
- package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
- package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
- package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
- package/dist/collection/media/svg-imgs/union.svg +3 -3
- package/dist/collection/stories/Accordian.stories.js +205 -205
- package/dist/collection/stories/Announcement.stories.js +64 -64
- package/dist/collection/stories/BackgroundImage.stories.js +81 -81
- package/dist/collection/stories/Breadcrumb.stories.js +50 -50
- package/dist/collection/stories/Button.stories.js +119 -119
- package/dist/collection/stories/Card.stories.js +234 -234
- package/dist/collection/stories/CardWrapper.stories.js +270 -270
- package/dist/collection/stories/Checkbox.stories.js +52 -52
- package/dist/collection/stories/Date.stories.js +81 -81
- package/dist/collection/stories/Dropdown.stories.js +48 -48
- package/dist/collection/stories/DynamicCard.stories.js +68 -68
- package/dist/collection/stories/FilterTag.stories.js +73 -73
- package/dist/collection/stories/Hero.stories.js +119 -119
- package/dist/collection/stories/Icon.stories.js +71 -71
- package/dist/collection/stories/IconList.stories.js +114 -114
- package/dist/collection/stories/IconMinimize.stories.js +40 -40
- package/dist/collection/stories/Link.stories.js +101 -101
- package/dist/collection/stories/ListItem.stories.js +59 -59
- package/dist/collection/stories/MaxWidthContainer.stories.js +32 -32
- package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
- package/dist/collection/stories/MobileSelect.stories.js +79 -79
- package/dist/collection/stories/Modal.stories.js +105 -105
- package/dist/collection/stories/Overlay.stories.js +48 -48
- package/dist/collection/stories/Pagination.stories.js +101 -101
- package/dist/collection/stories/Paragraph.stories.js +95 -95
- package/dist/collection/stories/Picture.stories.js +139 -139
- package/dist/collection/stories/Quote.stories.js +107 -107
- package/dist/collection/stories/ReadMore.stories.js +100 -100
- package/dist/collection/stories/SocialShare.stories.js +66 -66
- package/dist/collection/stories/Spacer.stories.js +48 -48
- package/dist/collection/stories/Span.stories.js +57 -57
- package/dist/collection/stories/SvgButton.stories.js +34 -34
- package/dist/collection/stories/Tabs.stories.js +213 -213
- package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
- package/dist/collection/stories/Title.stories.js +115 -115
- package/dist/collection/stories/Tooltip.stories.js +112 -112
- package/dist/collection/utils/component.js +3 -3
- package/dist/collection/utils/interfaces.js +11 -11
- package/dist/collection/utils/utils.js +92 -92
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +6830 -6643
- package/dist/esm/author-listing-example.entry.js +232 -232
- package/dist/esm/bundle-example.entry.js +31 -31
- package/dist/esm/bundle-jumbotron-example.entry.js +40 -40
- package/dist/esm/{core-73ab4867.js → core-209a2c67.js} +91 -29
- package/dist/esm/dropdown-item.entry.js +11 -11
- package/dist/esm/dynamic-box-bundle.entry.js +26 -26
- package/dist/esm/featured-list.entry.js +84 -84
- package/dist/esm/fl-tab-content_3.entry.js +41 -41
- package/dist/esm/icon-asset.entry.js +43 -43
- package/dist/esm/{index-22a84644.js → index-8db28d54.js} +72 -1
- package/dist/esm/innovator-toggle-container.entry.js +22 -22
- package/dist/esm/{interfaces-4caedd26.js → interfaces-3cb94654.js} +9 -9
- package/dist/esm/list-item.entry.js +23 -23
- package/dist/esm/loader.js +4 -4
- package/dist/esm/max-width-container.entry.js +44 -44
- package/dist/esm/my-component.entry.js +16 -16
- package/dist/esm/{pagination-902de0b2.js → pagination-3ddf3057.js} +24 -6
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/ptc-accordion-item.entry.js +85 -85
- package/dist/esm/ptc-accordion.entry.js +40 -40
- package/dist/esm/ptc-announcement.entry.js +53 -53
- package/dist/esm/ptc-back-to-top.entry.js +36 -36
- package/dist/esm/ptc-background-video.entry.js +58 -58
- package/dist/esm/ptc-bio-card.entry.js +25 -25
- package/dist/esm/ptc-breadcrumb_2.entry.js +121 -121
- package/dist/esm/ptc-button.entry.js +40 -40
- package/dist/esm/ptc-card-bottom_3.entry.js +124 -124
- package/dist/esm/ptc-card-content.entry.js +58 -58
- package/dist/esm/ptc-card.entry.js +73 -73
- package/dist/esm/ptc-case-studies-slider.entry.js +92 -83
- package/dist/esm/ptc-checkbox.entry.js +51 -51
- package/dist/esm/ptc-collapse-list.entry.js +398 -398
- package/dist/esm/ptc-container.entry.js +34 -34
- package/dist/esm/ptc-date.entry.js +51 -51
- package/dist/esm/ptc-dropdown.entry.js +65 -65
- package/dist/esm/ptc-dynamic-card.entry.js +48 -48
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +47 -47
- package/dist/esm/ptc-featured-list.entry.js +83 -83
- package/dist/esm/ptc-filter-tag.entry.js +58 -58
- package/dist/esm/ptc-hero-footer-cta.entry.js +12 -12
- package/dist/esm/ptc-hero.entry.js +19 -19
- package/dist/esm/ptc-icon-component.entry.js +63 -63
- package/dist/esm/ptc-icon-list.entry.js +22 -22
- package/dist/esm/ptc-icon-minimize.entry.js +44 -44
- package/dist/esm/ptc-image-download-strip.entry.js +19 -19
- package/dist/esm/ptc-img.entry.js +123 -123
- package/dist/esm/ptc-link.entry.js +34 -34
- package/dist/esm/ptc-list.entry.js +50 -50
- package/dist/esm/ptc-media-card.entry.js +59 -59
- package/dist/esm/ptc-minimized-nav.entry.js +13 -13
- package/dist/esm/ptc-mobile-select.entry.js +157 -139
- package/dist/esm/ptc-modal.entry.js +151 -151
- package/dist/esm/ptc-nav-card.entry.js +37 -37
- package/dist/esm/ptc-nav-link.entry.js +37 -37
- package/dist/esm/ptc-nav-pills.entry.js +9 -9
- package/dist/esm/ptc-nav-slider.entry.js +91 -91
- package/dist/esm/ptc-nav-submenu.entry.js +38 -38
- package/dist/esm/ptc-news.entry.js +18 -18
- package/dist/esm/ptc-overlay.entry.js +24 -24
- package/dist/esm/ptc-pagenation.entry.js +307 -307
- package/dist/esm/ptc-para.entry.js +52 -52
- package/dist/esm/ptc-picture.entry.js +153 -153
- package/dist/esm/ptc-podcast-card.entry.js +12 -12
- package/dist/esm/ptc-previous-url.entry.js +12 -12
- package/dist/esm/ptc-pricing-add-on-card.entry.js +17 -17
- package/dist/esm/ptc-pricing-add-on-section.entry.js +40 -40
- package/dist/esm/ptc-pricing-block.entry.js +21 -21
- package/dist/esm/ptc-pricing-table.entry.js +427 -427
- package/dist/esm/ptc-pricing-tabs.entry.js +125 -125
- package/dist/esm/ptc-product-card.entry.js +23 -23
- package/dist/esm/ptc-product-category.entry.js +11 -11
- package/dist/esm/ptc-product-dropdown.entry.js +70 -70
- package/dist/esm/ptc-product-highlight-card.entry.js +13 -13
- package/dist/esm/ptc-product-list.entry.js +141 -141
- package/dist/esm/ptc-product-sidebar.entry.js +129 -129
- package/dist/esm/ptc-progress-bar.entry.js +17 -17
- package/dist/esm/ptc-quiz.entry.js +79 -0
- package/dist/esm/ptc-quote.entry.js +24 -24
- package/dist/esm/ptc-readmore-char.entry.js +25 -25
- package/dist/esm/ptc-readmore.entry.js +78 -78
- package/dist/esm/ptc-related-card-rail.entry.js +150 -150
- package/dist/esm/ptc-responsive-wrapper.entry.js +55 -55
- package/dist/esm/ptc-search-field.entry.js +72 -72
- package/dist/esm/ptc-shopping-cart.entry.js +51 -51
- package/dist/esm/ptc-slit-card.entry.js +26 -26
- package/dist/esm/ptc-social-share.entry.js +70 -70
- package/dist/esm/ptc-spacer.entry.js +28 -28
- package/dist/esm/ptc-span.entry.js +21 -21
- package/dist/esm/ptc-square-card.entry.js +11 -11
- package/dist/esm/ptc-sticky-icons.entry.js +33 -33
- package/dist/esm/ptc-sticky-section.entry.js +31 -31
- package/dist/esm/ptc-sticky-title.entry.js +24 -24
- package/dist/esm/ptc-subnav-card.entry.js +16 -16
- package/dist/esm/ptc-subnav.entry.js +23 -23
- package/dist/esm/ptc-svg-btn.entry.js +96 -96
- package/dist/esm/ptc-tab-list.entry.js +142 -142
- package/dist/esm/ptc-tab.entry.js +21 -21
- package/dist/esm/ptc-tabs.entry.js +48 -48
- package/dist/esm/ptc-text-copy-with-background.entry.js +43 -43
- package/dist/esm/ptc-title.entry.js +68 -68
- package/dist/esm/ptc-tooltip.entry.js +96 -96
- package/dist/esm/ptc-two-column-media.entry.js +16 -16
- package/dist/esm/ptc-value-prop-card.entry.js +15 -15
- package/dist/esm/ptcw-design.js +4 -4
- package/dist/esm/sequential-bundle-example.entry.js +110 -110
- package/dist/esm/sequential-bundle.entry.js +90 -90
- package/dist/esm/tab-content.entry.js +28 -28
- package/dist/esm/tab-header.entry.js +65 -65
- package/dist/esm/{utils-38decc43.js → utils-f937097d.js} +90 -90
- package/dist/ptcw-design/media/brands.svg +1381 -1381
- package/dist/ptcw-design/media/designer.svg +489 -482
- package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
- package/dist/ptcw-design/media/regular.svg +463 -463
- package/dist/ptcw-design/media/solid.svg +3016 -3013
- package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
- package/dist/ptcw-design/{p-15e08cba.entry.js → p-019ee040.entry.js} +1 -1
- package/dist/ptcw-design/{p-17fd5641.entry.js → p-066dc775.entry.js} +1 -1
- package/dist/ptcw-design/{p-1b972064.entry.js → p-06b9d7b1.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5df36ad.entry.js → p-06c13601.entry.js} +1 -1
- package/dist/ptcw-design/{p-bd470a7a.entry.js → p-079b6721.entry.js} +1 -1
- package/dist/ptcw-design/{p-7b34bb69.entry.js → p-0ae005de.entry.js} +1 -1
- package/dist/ptcw-design/p-0fc282f5.js +1 -0
- package/dist/ptcw-design/{p-ca9b1705.entry.js → p-101c17f4.entry.js} +1 -1
- package/dist/ptcw-design/{p-689f0741.entry.js → p-10371e08.entry.js} +1 -1
- package/dist/ptcw-design/{p-f8eacbd8.entry.js → p-180f20e0.entry.js} +1 -1
- package/dist/ptcw-design/{p-59c62f17.entry.js → p-1cf8088d.entry.js} +1 -1
- package/dist/ptcw-design/{p-072887b7.entry.js → p-2282217b.entry.js} +1 -1
- package/dist/ptcw-design/{p-06f99e11.entry.js → p-22e77c7c.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc5e5116.entry.js → p-25195807.entry.js} +1 -1
- package/dist/ptcw-design/{p-66fcd7b2.entry.js → p-255674e8.entry.js} +1 -1
- package/dist/ptcw-design/{p-4097a036.entry.js → p-288cb98d.entry.js} +1 -1
- package/dist/ptcw-design/{p-0532c37c.entry.js → p-298fd719.entry.js} +1 -1
- package/dist/ptcw-design/{p-1fc3d43a.entry.js → p-2dcdfa2e.entry.js} +1 -1
- package/dist/ptcw-design/{p-3192a7e8.entry.js → p-2fcfa760.entry.js} +1 -1
- package/dist/ptcw-design/{p-1c631848.entry.js → p-34764ee6.entry.js} +1 -1
- package/dist/ptcw-design/{p-2893f405.entry.js → p-38bee38d.entry.js} +1 -1
- package/dist/ptcw-design/{p-e8cd5994.entry.js → p-38fb1625.entry.js} +1 -1
- package/dist/ptcw-design/{p-59ac682d.entry.js → p-39bf1649.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf47669c.entry.js → p-3d14bf07.entry.js} +1 -1
- package/dist/ptcw-design/{p-cf1005f9.entry.js → p-3e5fb8c3.entry.js} +1 -1
- package/dist/ptcw-design/{p-3ed0384d.entry.js → p-3fb0f45c.entry.js} +1 -1
- package/dist/ptcw-design/p-4329b9c8.entry.js +1 -0
- package/dist/ptcw-design/{p-12acb46f.entry.js → p-445c9b3d.entry.js} +1 -1
- package/dist/ptcw-design/{p-362ec391.entry.js → p-447ad4f8.entry.js} +1 -1
- package/dist/ptcw-design/{p-9e4260bc.entry.js → p-4d38bd16.entry.js} +1 -1
- package/dist/ptcw-design/{p-75b17a66.entry.js → p-4eeafd49.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf808180.entry.js → p-4f82a06c.entry.js} +1 -1
- package/dist/ptcw-design/{p-27807bb0.entry.js → p-4feef7ca.entry.js} +1 -1
- package/dist/ptcw-design/{p-7aa8af29.entry.js → p-55292c78.entry.js} +1 -1
- package/dist/ptcw-design/{p-6e11536e.entry.js → p-57085c86.entry.js} +1 -1
- package/dist/ptcw-design/{p-6449418a.entry.js → p-60618056.entry.js} +1 -1
- package/dist/ptcw-design/{p-58291e3a.entry.js → p-62d3f225.entry.js} +1 -1
- package/dist/ptcw-design/{p-56da9ecd.entry.js → p-635dbbec.entry.js} +1 -1
- package/dist/ptcw-design/{p-95198d5f.entry.js → p-674aef18.entry.js} +1 -1
- package/dist/ptcw-design/{p-61197714.entry.js → p-67974679.entry.js} +1 -1
- package/dist/ptcw-design/{p-98b6cb94.entry.js → p-6c09bbbc.entry.js} +1 -1
- package/dist/ptcw-design/{p-05cc800d.entry.js → p-6e172c5a.entry.js} +1 -1
- package/dist/ptcw-design/{p-9d681abc.entry.js → p-6f8455b5.entry.js} +1 -1
- package/dist/ptcw-design/{p-a417df03.entry.js → p-7192afeb.entry.js} +1 -1
- package/dist/ptcw-design/{p-a42feab1.entry.js → p-72fe6dcb.entry.js} +1 -1
- package/dist/ptcw-design/{p-84d3f4fa.entry.js → p-75247100.entry.js} +1 -1
- package/dist/ptcw-design/{p-836d499e.entry.js → p-756357b7.entry.js} +1 -1
- package/dist/ptcw-design/{p-0074d97c.entry.js → p-75b447c8.entry.js} +1 -1
- package/dist/ptcw-design/{p-85145672.entry.js → p-7e9e0d37.entry.js} +1 -1
- package/dist/ptcw-design/{p-df0aa310.entry.js → p-7ff45a5c.entry.js} +1 -1
- package/dist/ptcw-design/{p-6aba5f8f.entry.js → p-808544d7.entry.js} +1 -1
- package/dist/ptcw-design/p-813a2a19.entry.js +1 -0
- package/dist/ptcw-design/{p-9817c40a.entry.js → p-82b05238.entry.js} +1 -1
- package/dist/ptcw-design/{p-77f5cf02.entry.js → p-8a1a1bfb.entry.js} +1 -1
- package/dist/ptcw-design/{p-cda3854b.entry.js → p-8a9d1f65.entry.js} +1 -1
- package/dist/ptcw-design/p-8ae8454b.entry.js +1 -0
- package/dist/ptcw-design/{p-4c4f8cc6.entry.js → p-905bc1a6.entry.js} +1 -1
- package/dist/ptcw-design/{p-515f4332.entry.js → p-968bbb76.entry.js} +1 -1
- package/dist/ptcw-design/{p-9e3b390e.entry.js → p-97384e6a.entry.js} +1 -1
- package/dist/ptcw-design/{p-ad401696.entry.js → p-97bf50a0.entry.js} +1 -1
- package/dist/ptcw-design/{p-a04e0ded.entry.js → p-9991c4bf.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac63caae.entry.js → p-9ca64d6f.entry.js} +1 -1
- package/dist/ptcw-design/{p-eb65dacf.entry.js → p-9d477cbd.entry.js} +1 -1
- package/dist/ptcw-design/{p-fe85ac05.entry.js → p-9f014fd3.entry.js} +1 -1
- package/dist/ptcw-design/{p-9efd9a5b.entry.js → p-a42f8bf2.entry.js} +1 -1
- package/dist/ptcw-design/{p-214278c3.entry.js → p-a438d150.entry.js} +1 -1
- package/dist/ptcw-design/{p-3f368d6d.entry.js → p-a454efc5.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc748f00.entry.js → p-a6c1acb8.entry.js} +1 -1
- package/dist/ptcw-design/{p-056b652a.entry.js → p-af7e6116.entry.js} +1 -1
- package/dist/ptcw-design/{p-6a5bc275.entry.js → p-b4602b1d.entry.js} +1 -1
- package/dist/ptcw-design/{p-e8ba44ba.entry.js → p-b4f034ff.entry.js} +1 -1
- package/dist/ptcw-design/{p-ca877fea.entry.js → p-b63e7023.entry.js} +1 -1
- package/dist/ptcw-design/{p-5c47361e.entry.js → p-b9b30024.entry.js} +1 -1
- package/dist/ptcw-design/{p-f97fc3fd.entry.js → p-bae3e7df.entry.js} +1 -1
- package/dist/ptcw-design/{p-26f31be6.entry.js → p-bb3cc915.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee20170a.entry.js → p-bbc6cb14.entry.js} +1 -1
- package/dist/ptcw-design/{p-0f3f83d3.entry.js → p-bd3b4619.entry.js} +1 -1
- package/dist/ptcw-design/{p-7ea29d34.entry.js → p-bdfc9555.entry.js} +1 -1
- package/dist/ptcw-design/p-be157856.entry.js +1 -0
- package/dist/ptcw-design/{p-e8d9a19f.entry.js → p-c07609da.entry.js} +1 -1
- package/dist/ptcw-design/{p-ad234f99.entry.js → p-c1025cf9.entry.js} +1 -1
- package/dist/ptcw-design/{p-63f811ec.entry.js → p-c20bea66.entry.js} +1 -1
- package/dist/ptcw-design/{p-cef9cf82.entry.js → p-ce9fbcda.entry.js} +1 -1
- package/dist/ptcw-design/{p-2254e000.entry.js → p-d260581f.entry.js} +1 -1
- package/dist/ptcw-design/{p-0290031e.entry.js → p-d332e427.entry.js} +1 -1
- package/dist/ptcw-design/{p-31c33a18.entry.js → p-d67d6edd.entry.js} +1 -1
- package/dist/ptcw-design/{p-c4e1b619.entry.js → p-d9c6c833.entry.js} +1 -1
- package/dist/ptcw-design/{p-6b1d18b1.entry.js → p-dbb7b2a3.entry.js} +1 -1
- package/dist/ptcw-design/{p-777fb495.entry.js → p-dda9d065.entry.js} +1 -1
- package/dist/ptcw-design/{p-f6dfc55e.entry.js → p-e24f0892.entry.js} +1 -1
- package/dist/ptcw-design/p-e428e6d9.js +1 -0
- package/dist/ptcw-design/{p-2ba6bbbe.entry.js → p-e54969bf.entry.js} +1 -1
- package/dist/ptcw-design/{p-e312626a.entry.js → p-e9635f81.entry.js} +1 -1
- package/dist/ptcw-design/{p-99457ebb.entry.js → p-ec0873bd.entry.js} +1 -1
- package/dist/ptcw-design/{p-2fed7a6f.entry.js → p-f1b1f381.entry.js} +1 -1
- package/dist/ptcw-design/{p-cf7dc448.entry.js → p-f31d817a.entry.js} +1 -1
- package/dist/ptcw-design/p-f42ef4c9.entry.js +1 -0
- package/dist/ptcw-design/{p-6a4bb3e8.entry.js → p-f4b66bf5.entry.js} +1 -1
- package/dist/ptcw-design/{p-7a3cf557.entry.js → p-f540748a.entry.js} +1 -1
- package/dist/ptcw-design/{p-10254985.entry.js → p-f5d52d72.entry.js} +1 -1
- package/dist/ptcw-design/{p-e1dd94a9.entry.js → p-f8b1f507.entry.js} +1 -1
- package/dist/ptcw-design/{p-507ab0b3.entry.js → p-fac62124.entry.js} +1 -1
- package/dist/ptcw-design/{p-3b8731e6.entry.js → p-fad09b46.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
- package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
- package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
- package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
- package/dist/types/components/list-item/list-item.d.ts +16 -16
- package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
- package/dist/types/components/my-component/my-component.d.ts +16 -16
- package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -12
- package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +10 -10
- package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
- package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
- package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
- package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +63 -63
- package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
- package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +9 -9
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
- package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
- package/dist/types/components/ptc-button/ptc-button.d.ts +64 -64
- package/dist/types/components/ptc-card/ptc-card.d.ts +83 -83
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +28 -28
- package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
- package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
- package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
- package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +23 -23
- package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
- package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
- package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +10 -10
- package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
- package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
- package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
- package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
- package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
- package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
- package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
- package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +24 -24
- package/dist/types/components/ptc-link/ptc-link.d.ts +40 -40
- package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
- package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +71 -71
- package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
- package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
- package/dist/types/components/ptc-news/ptc-news.d.ts +35 -35
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
- package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
- package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +15 -15
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
- package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +27 -27
- package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +21 -21
- package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
- package/dist/types/components/ptc-pricing-table/ptc-pricing-table.d.ts +101 -101
- package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
- package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
- package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
- package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
- package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
- package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
- package/dist/types/components/ptc-quiz/ptc-quiz.d.ts +21 -0
- package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
- package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
- package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +30 -30
- package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
- package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
- package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
- package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
- package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
- package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
- package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
- package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
- package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
- package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
- package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +21 -21
- package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
- package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +34 -34
- package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +59 -59
- package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
- package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +27 -27
- package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +21 -21
- package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
- package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
- package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +8 -8
- package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +27 -27
- package/dist/types/components/tab-content/tab-content.d.ts +12 -12
- package/dist/types/components/tab-header/tab-header.d.ts +22 -22
- package/dist/types/components.d.ts +147 -134
- package/dist/types/global.d.ts +1072 -1072
- package/dist/types/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +11 -0
- package/dist/types/utils/component.d.ts +1 -1
- package/dist/types/utils/interfaces.d.ts +31 -31
- package/dist/types/utils/utils.d.ts +5 -5
- package/package.json +82 -82
- package/readme.md +18 -18
- package/dist/ptcw-design/p-1c743207.entry.js +0 -1
- package/dist/ptcw-design/p-4aaa6290.entry.js +0 -1
- package/dist/ptcw-design/p-553d840a.js +0 -1
- package/dist/ptcw-design/p-be8db2b7.entry.js +0 -1
- package/dist/ptcw-design/p-d100f115.js +0 -1
- package/dist/ptcw-design/p-dee888f5.entry.js +0 -1
- /package/dist/ptcw-design/{p-711bcdad.js → p-240733ce.js} +0 -0
- /package/dist/ptcw-design/{p-ce0e4c5c.js → p-dc4da4a5.js} +0 -0
- /package/dist/ptcw-design/{p-36665caa.js → p-ea875d9e.js} +0 -0
package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js
CHANGED
|
@@ -1,281 +1,281 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
2
|
-
export class AuthorListingExample {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.defaultAuthorImage = undefined;
|
|
5
|
-
this.isLoading = false;
|
|
6
|
-
this.loadedCardCount = 0;
|
|
7
|
-
this.cardsPerLoad = 9;
|
|
8
|
-
this.cardData = [
|
|
9
|
-
{
|
|
10
|
-
id: 1,
|
|
11
|
-
authorName: "Aaron Shaw",
|
|
12
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
|
|
13
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
|
|
14
|
-
description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
id: 2,
|
|
18
|
-
authorName: "Abby Eon",
|
|
19
|
-
imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
|
|
20
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
|
|
21
|
-
description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
id: 3,
|
|
25
|
-
authorName: "Catherine Kniker",
|
|
26
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
27
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
28
|
-
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
id: 4,
|
|
32
|
-
authorName: "Maria Lowry, Manager, Kalypso",
|
|
33
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
|
|
34
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
|
|
35
|
-
description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
id: 5,
|
|
39
|
-
authorName: "Author name",
|
|
40
|
-
imageUrl: "",
|
|
41
|
-
DetailPagelink: "#",
|
|
42
|
-
description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
id: 1,
|
|
46
|
-
authorName: "Aaron Shaw",
|
|
47
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
|
|
48
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
|
|
49
|
-
description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
id: 2,
|
|
53
|
-
authorName: "Abby Eon",
|
|
54
|
-
imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
|
|
55
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
|
|
56
|
-
description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
id: 3,
|
|
60
|
-
authorName: "Catherine Kniker",
|
|
61
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
62
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
63
|
-
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
id: 4,
|
|
67
|
-
authorName: "Maria Lowry, Manager, Kalypso",
|
|
68
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
|
|
69
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
|
|
70
|
-
description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
id: 5,
|
|
74
|
-
authorName: "Author name",
|
|
75
|
-
imageUrl: "",
|
|
76
|
-
DetailPagelink: "#",
|
|
77
|
-
description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
|
|
78
|
-
}, {
|
|
79
|
-
id: 6,
|
|
80
|
-
authorName: "Aaron Shaw",
|
|
81
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
|
|
82
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
|
|
83
|
-
description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
id: 7,
|
|
87
|
-
authorName: "Abby Eon",
|
|
88
|
-
imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
|
|
89
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
|
|
90
|
-
description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
id: 8,
|
|
94
|
-
authorName: "Catherine Kniker",
|
|
95
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
96
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
97
|
-
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
id: 9,
|
|
101
|
-
authorName: "Maria Lowry, Manager, Kalypso",
|
|
102
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
|
|
103
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
|
|
104
|
-
description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
id: 10,
|
|
108
|
-
authorName: "Author name",
|
|
109
|
-
imageUrl: "",
|
|
110
|
-
DetailPagelink: "#",
|
|
111
|
-
description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
|
|
112
|
-
}, {
|
|
113
|
-
id: 11,
|
|
114
|
-
authorName: "Aaron Shaw",
|
|
115
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
|
|
116
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
|
|
117
|
-
description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
id: 12,
|
|
121
|
-
authorName: "Abby Eon",
|
|
122
|
-
imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
|
|
123
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
|
|
124
|
-
description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
id: 13,
|
|
128
|
-
authorName: "Catherine Kniker",
|
|
129
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
130
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
131
|
-
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
id: 14,
|
|
135
|
-
authorName: "Maria Lowry, Manager, Kalypso",
|
|
136
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
|
|
137
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
|
|
138
|
-
description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
id: 15,
|
|
142
|
-
authorName: "Author name",
|
|
143
|
-
imageUrl: "",
|
|
144
|
-
DetailPagelink: "#",
|
|
145
|
-
description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
id: 16,
|
|
149
|
-
authorName: "Aaron Shaw",
|
|
150
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
|
|
151
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
|
|
152
|
-
description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
id: 17,
|
|
156
|
-
authorName: "Abby Eon",
|
|
157
|
-
imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
|
|
158
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
|
|
159
|
-
description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
id: 18,
|
|
163
|
-
authorName: "Catherine Kniker",
|
|
164
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
165
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
166
|
-
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
id: 19,
|
|
170
|
-
authorName: "Maria Lowry, Manager, Kalypso",
|
|
171
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
|
|
172
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
|
|
173
|
-
description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
id: 20,
|
|
177
|
-
authorName: "Author name",
|
|
178
|
-
imageUrl: "",
|
|
179
|
-
DetailPagelink: "#",
|
|
180
|
-
description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
id: 21,
|
|
184
|
-
authorName: "Catherine Kniker",
|
|
185
|
-
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
186
|
-
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
187
|
-
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
188
|
-
},
|
|
189
|
-
];
|
|
190
|
-
}
|
|
191
|
-
componentDidLoad() {
|
|
192
|
-
this.loadMoreCards();
|
|
193
|
-
}
|
|
194
|
-
handleScroll() {
|
|
195
|
-
const windowHeight = window.innerHeight;
|
|
196
|
-
const documentHeight = document.documentElement.scrollHeight;
|
|
197
|
-
const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
|
|
198
|
-
const scrollBottom = scrollTop + windowHeight;
|
|
199
|
-
if (!this.isLoading && scrollBottom >= documentHeight) {
|
|
200
|
-
this.loadMoreCards();
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
async loadMoreCards() {
|
|
204
|
-
if (this.loadedCardCount < this.cardData.length) {
|
|
205
|
-
this.isLoading = true;
|
|
206
|
-
const visibleCardData = this.cardData.slice(this.loadedCardCount, this.loadedCardCount + this.cardsPerLoad);
|
|
207
|
-
const promises = visibleCardData.map((card) => {
|
|
208
|
-
return new Promise((resolve) => {
|
|
209
|
-
const image = new Image();
|
|
210
|
-
image.src = card.imageUrl;
|
|
211
|
-
image.onload = () => {
|
|
212
|
-
resolve();
|
|
213
|
-
};
|
|
214
|
-
image.onerror = () => {
|
|
215
|
-
// Load a dummy image in case of error
|
|
216
|
-
card.imageUrl = this.defaultAuthorImage;
|
|
217
|
-
resolve();
|
|
218
|
-
};
|
|
219
|
-
});
|
|
220
|
-
});
|
|
221
|
-
await Promise.all(promises);
|
|
222
|
-
this.loadedCardCount += this.cardsPerLoad;
|
|
223
|
-
this.isLoading = false;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
render() {
|
|
227
|
-
const visibleCards = this.cardData.slice(0, this.loadedCardCount);
|
|
228
|
-
return (h("div", null, h("div", { class: "author-grid" }, visibleCards.map((card, index) => (h("div", { class: "author-col", key: index }, h("ptc-card", { "has-image": "true", "card-type": "related-card", "card-href": card.DetailPagelink, heading: card.authorName }, h("ptc-img", { slot: "slot-image", "img-url": card.imageUrl, "image-type": "smart-img", "load-mode": "lazy-bg" }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-z-index": "z-auto" }, h("ptc-tooltip", { description: card.description, "text-lines": "4", "z-index": "z-auto" })))))))), this.isLoading && h("div", { class: "loader" }, h("svg", { preserveAspectRatio: "xMinYMin meet", fill: "#3CC73D", x: "0px", y: "0px", version: "1.1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 182.1 210.2" }, h("title", null, "list-loading"), h("path", { d: "M91,21.2l72.6,41.9v83.9L91,189l-72.6-41.9V63.2L91,21.2 M91,0L0,52.6v105.1l91,52.6l91-52.6V52.6L91,0L91,0z" }), h("g", null, h("polygon", { points: "67.5,105.5 67.5,163.1 67.5,165.4 43.9,151.8 43.9,149.4 43.9,100" }), h("polygon", { opacity: "0.7", points: "43.6,100.1 43.8,100 43.9,100 43.9,149.4 43.9,149.4 43.9,151.8 30.3,144 30.3,141.6 30.3,106.6" }), h("animate", { attributeName: "fill-opacity", begin: "100ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), h("g", null, h("polygon", { points: "109.6,88.6 109.6,166.2 109.6,168.3 91,179 81.1,173.3 81.1,170.9 81.1,84.2" }), h("polygon", { opacity: "0.7", points: "81.1,84.2 81.1,170.9 81.1,173.3 67.5,165.4 67.5,163.1 67.5,105.5" }), h("animate", { attributeName: "fill-opacity", begin: "300ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), h("g", null, h("polygon", { points: "154,70.2 154,70.2 154,142.7 122.9,160.5 122.9,158.5 122.9,65.8" }), h("polygon", { opacity: "0.7", points: "122.9,65.8 122.9,158.5 122.9,160.5 109.6,168.3 109.6,168.3 109.6,166.2 109.6,88.6" }), h("animate", { attributeName: "fill-opacity", begin: "500ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" }))))));
|
|
229
|
-
}
|
|
230
|
-
static get is() { return "author-listing-example"; }
|
|
231
|
-
static get encapsulation() { return "shadow"; }
|
|
232
|
-
static get originalStyleUrls() {
|
|
233
|
-
return {
|
|
234
|
-
"$": ["author-listing-example.css"]
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
static get styleUrls() {
|
|
238
|
-
return {
|
|
239
|
-
"$": ["author-listing-example.css"]
|
|
240
|
-
};
|
|
241
|
-
}
|
|
242
|
-
static get properties() {
|
|
243
|
-
return {
|
|
244
|
-
"defaultAuthorImage": {
|
|
245
|
-
"type": "string",
|
|
246
|
-
"mutable": false,
|
|
247
|
-
"complexType": {
|
|
248
|
-
"original": "string",
|
|
249
|
-
"resolved": "string",
|
|
250
|
-
"references": {}
|
|
251
|
-
},
|
|
252
|
-
"required": false,
|
|
253
|
-
"optional": false,
|
|
254
|
-
"docs": {
|
|
255
|
-
"tags": [],
|
|
256
|
-
"text": ""
|
|
257
|
-
},
|
|
258
|
-
"attribute": "default-author-image",
|
|
259
|
-
"reflect": false
|
|
260
|
-
}
|
|
261
|
-
};
|
|
262
|
-
}
|
|
263
|
-
static get states() {
|
|
264
|
-
return {
|
|
265
|
-
"isLoading": {},
|
|
266
|
-
"loadedCardCount": {},
|
|
267
|
-
"cardsPerLoad": {},
|
|
268
|
-
"cardData": {}
|
|
269
|
-
};
|
|
270
|
-
}
|
|
271
|
-
static get elementRef() { return "el"; }
|
|
272
|
-
static get listeners() {
|
|
273
|
-
return [{
|
|
274
|
-
"name": "scroll",
|
|
275
|
-
"method": "handleScroll",
|
|
276
|
-
"target": "window",
|
|
277
|
-
"capture": false,
|
|
278
|
-
"passive": true
|
|
279
|
-
}];
|
|
280
|
-
}
|
|
281
|
-
}
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export class AuthorListingExample {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.defaultAuthorImage = undefined;
|
|
5
|
+
this.isLoading = false;
|
|
6
|
+
this.loadedCardCount = 0;
|
|
7
|
+
this.cardsPerLoad = 9;
|
|
8
|
+
this.cardData = [
|
|
9
|
+
{
|
|
10
|
+
id: 1,
|
|
11
|
+
authorName: "Aaron Shaw",
|
|
12
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
|
|
13
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
|
|
14
|
+
description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: 2,
|
|
18
|
+
authorName: "Abby Eon",
|
|
19
|
+
imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
|
|
20
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
|
|
21
|
+
description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: 3,
|
|
25
|
+
authorName: "Catherine Kniker",
|
|
26
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
27
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
28
|
+
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: 4,
|
|
32
|
+
authorName: "Maria Lowry, Manager, Kalypso",
|
|
33
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
|
|
34
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
|
|
35
|
+
description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: 5,
|
|
39
|
+
authorName: "Author name",
|
|
40
|
+
imageUrl: "",
|
|
41
|
+
DetailPagelink: "#",
|
|
42
|
+
description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 1,
|
|
46
|
+
authorName: "Aaron Shaw",
|
|
47
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
|
|
48
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
|
|
49
|
+
description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: 2,
|
|
53
|
+
authorName: "Abby Eon",
|
|
54
|
+
imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
|
|
55
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
|
|
56
|
+
description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: 3,
|
|
60
|
+
authorName: "Catherine Kniker",
|
|
61
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
62
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
63
|
+
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 4,
|
|
67
|
+
authorName: "Maria Lowry, Manager, Kalypso",
|
|
68
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
|
|
69
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
|
|
70
|
+
description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: 5,
|
|
74
|
+
authorName: "Author name",
|
|
75
|
+
imageUrl: "",
|
|
76
|
+
DetailPagelink: "#",
|
|
77
|
+
description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
|
|
78
|
+
}, {
|
|
79
|
+
id: 6,
|
|
80
|
+
authorName: "Aaron Shaw",
|
|
81
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
|
|
82
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
|
|
83
|
+
description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: 7,
|
|
87
|
+
authorName: "Abby Eon",
|
|
88
|
+
imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
|
|
89
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
|
|
90
|
+
description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
id: 8,
|
|
94
|
+
authorName: "Catherine Kniker",
|
|
95
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
96
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
97
|
+
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
id: 9,
|
|
101
|
+
authorName: "Maria Lowry, Manager, Kalypso",
|
|
102
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
|
|
103
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
|
|
104
|
+
description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
id: 10,
|
|
108
|
+
authorName: "Author name",
|
|
109
|
+
imageUrl: "",
|
|
110
|
+
DetailPagelink: "#",
|
|
111
|
+
description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
|
|
112
|
+
}, {
|
|
113
|
+
id: 11,
|
|
114
|
+
authorName: "Aaron Shaw",
|
|
115
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
|
|
116
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
|
|
117
|
+
description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
id: 12,
|
|
121
|
+
authorName: "Abby Eon",
|
|
122
|
+
imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
|
|
123
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
|
|
124
|
+
description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: 13,
|
|
128
|
+
authorName: "Catherine Kniker",
|
|
129
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
130
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
131
|
+
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
id: 14,
|
|
135
|
+
authorName: "Maria Lowry, Manager, Kalypso",
|
|
136
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
|
|
137
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
|
|
138
|
+
description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: 15,
|
|
142
|
+
authorName: "Author name",
|
|
143
|
+
imageUrl: "",
|
|
144
|
+
DetailPagelink: "#",
|
|
145
|
+
description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
id: 16,
|
|
149
|
+
authorName: "Aaron Shaw",
|
|
150
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/Blog_AaronShaw_2.jpg",
|
|
151
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Aaron-Shaw",
|
|
152
|
+
description: "Aaron Shaw joined PTC in 2013, currently he is the Senior Manager, CAD Demand Generation. He is responsible for"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
id: 17,
|
|
156
|
+
authorName: "Abby Eon",
|
|
157
|
+
imageUrl: "https://www.ptc.com/-/media/Images/new-org/399x200/abby-eon-400x200.jpg",
|
|
158
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Abby-Eon",
|
|
159
|
+
description: "Abby Eon is Senior Vice President and General Manager, Kepware. As part of her role, Abby looks after "
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
id: 18,
|
|
163
|
+
authorName: "Catherine Kniker",
|
|
164
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
165
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
166
|
+
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
id: 19,
|
|
170
|
+
authorName: "Maria Lowry, Manager, Kalypso",
|
|
171
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/blog-Maria-Lowry.jpg",
|
|
172
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Maria-Lowry",
|
|
173
|
+
description: "Maria brings seven years of professional experience to her clients. She is committed to improving product quality, safety, sustainability"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
id: 20,
|
|
177
|
+
authorName: "Author name",
|
|
178
|
+
imageUrl: "",
|
|
179
|
+
DetailPagelink: "#",
|
|
180
|
+
description: "Author description text goes here Author description text goes here Author description text goes here Author description text goes here Author description text goes here"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: 21,
|
|
184
|
+
authorName: "Catherine Kniker",
|
|
185
|
+
imageUrl: "https://www.ptc.com/-/media/Images/blog/Authors/catherine-kniker.jpg",
|
|
186
|
+
DetailPagelink: "https://www.ptc.com/en/blog-authors/Catherine-Kniker",
|
|
187
|
+
description: "Catherine is EVP and Chief Strategy and Marketing Officer at PTC, responsible for positioning the company for success"
|
|
188
|
+
},
|
|
189
|
+
];
|
|
190
|
+
}
|
|
191
|
+
componentDidLoad() {
|
|
192
|
+
this.loadMoreCards();
|
|
193
|
+
}
|
|
194
|
+
handleScroll() {
|
|
195
|
+
const windowHeight = window.innerHeight;
|
|
196
|
+
const documentHeight = document.documentElement.scrollHeight;
|
|
197
|
+
const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
|
|
198
|
+
const scrollBottom = scrollTop + windowHeight;
|
|
199
|
+
if (!this.isLoading && scrollBottom >= documentHeight) {
|
|
200
|
+
this.loadMoreCards();
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
async loadMoreCards() {
|
|
204
|
+
if (this.loadedCardCount < this.cardData.length) {
|
|
205
|
+
this.isLoading = true;
|
|
206
|
+
const visibleCardData = this.cardData.slice(this.loadedCardCount, this.loadedCardCount + this.cardsPerLoad);
|
|
207
|
+
const promises = visibleCardData.map((card) => {
|
|
208
|
+
return new Promise((resolve) => {
|
|
209
|
+
const image = new Image();
|
|
210
|
+
image.src = card.imageUrl;
|
|
211
|
+
image.onload = () => {
|
|
212
|
+
resolve();
|
|
213
|
+
};
|
|
214
|
+
image.onerror = () => {
|
|
215
|
+
// Load a dummy image in case of error
|
|
216
|
+
card.imageUrl = this.defaultAuthorImage;
|
|
217
|
+
resolve();
|
|
218
|
+
};
|
|
219
|
+
});
|
|
220
|
+
});
|
|
221
|
+
await Promise.all(promises);
|
|
222
|
+
this.loadedCardCount += this.cardsPerLoad;
|
|
223
|
+
this.isLoading = false;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
render() {
|
|
227
|
+
const visibleCards = this.cardData.slice(0, this.loadedCardCount);
|
|
228
|
+
return (h("div", null, h("div", { class: "author-grid" }, visibleCards.map((card, index) => (h("div", { class: "author-col", key: index }, h("ptc-card", { "has-image": "true", "card-type": "related-card", "card-href": card.DetailPagelink, heading: card.authorName }, h("ptc-img", { slot: "slot-image", "img-url": card.imageUrl, "image-type": "smart-img", "load-mode": "lazy-bg" }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-z-index": "z-auto" }, h("ptc-tooltip", { description: card.description, "text-lines": "4", "z-index": "z-auto" })))))))), this.isLoading && h("div", { class: "loader" }, h("svg", { preserveAspectRatio: "xMinYMin meet", fill: "#3CC73D", x: "0px", y: "0px", version: "1.1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 182.1 210.2" }, h("title", null, "list-loading"), h("path", { d: "M91,21.2l72.6,41.9v83.9L91,189l-72.6-41.9V63.2L91,21.2 M91,0L0,52.6v105.1l91,52.6l91-52.6V52.6L91,0L91,0z" }), h("g", null, h("polygon", { points: "67.5,105.5 67.5,163.1 67.5,165.4 43.9,151.8 43.9,149.4 43.9,100" }), h("polygon", { opacity: "0.7", points: "43.6,100.1 43.8,100 43.9,100 43.9,149.4 43.9,149.4 43.9,151.8 30.3,144 30.3,141.6 30.3,106.6" }), h("animate", { attributeName: "fill-opacity", begin: "100ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), h("g", null, h("polygon", { points: "109.6,88.6 109.6,166.2 109.6,168.3 91,179 81.1,173.3 81.1,170.9 81.1,84.2" }), h("polygon", { opacity: "0.7", points: "81.1,84.2 81.1,170.9 81.1,173.3 67.5,165.4 67.5,163.1 67.5,105.5" }), h("animate", { attributeName: "fill-opacity", begin: "300ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" })), h("g", null, h("polygon", { points: "154,70.2 154,70.2 154,142.7 122.9,160.5 122.9,158.5 122.9,65.8" }), h("polygon", { opacity: "0.7", points: "122.9,65.8 122.9,158.5 122.9,160.5 109.6,168.3 109.6,168.3 109.6,166.2 109.6,88.6" }), h("animate", { attributeName: "fill-opacity", begin: "500ms", dur: "1s", values: "1;.2;1", calcMode: "linear", repeatCount: "indefinite" }))))));
|
|
229
|
+
}
|
|
230
|
+
static get is() { return "author-listing-example"; }
|
|
231
|
+
static get encapsulation() { return "shadow"; }
|
|
232
|
+
static get originalStyleUrls() {
|
|
233
|
+
return {
|
|
234
|
+
"$": ["author-listing-example.css"]
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
static get styleUrls() {
|
|
238
|
+
return {
|
|
239
|
+
"$": ["author-listing-example.css"]
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
static get properties() {
|
|
243
|
+
return {
|
|
244
|
+
"defaultAuthorImage": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"mutable": false,
|
|
247
|
+
"complexType": {
|
|
248
|
+
"original": "string",
|
|
249
|
+
"resolved": "string",
|
|
250
|
+
"references": {}
|
|
251
|
+
},
|
|
252
|
+
"required": false,
|
|
253
|
+
"optional": false,
|
|
254
|
+
"docs": {
|
|
255
|
+
"tags": [],
|
|
256
|
+
"text": ""
|
|
257
|
+
},
|
|
258
|
+
"attribute": "default-author-image",
|
|
259
|
+
"reflect": false
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
static get states() {
|
|
264
|
+
return {
|
|
265
|
+
"isLoading": {},
|
|
266
|
+
"loadedCardCount": {},
|
|
267
|
+
"cardsPerLoad": {},
|
|
268
|
+
"cardData": {}
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
static get elementRef() { return "el"; }
|
|
272
|
+
static get listeners() {
|
|
273
|
+
return [{
|
|
274
|
+
"name": "scroll",
|
|
275
|
+
"method": "handleScroll",
|
|
276
|
+
"target": "window",
|
|
277
|
+
"capture": false,
|
|
278
|
+
"passive": true
|
|
279
|
+
}];
|
|
280
|
+
}
|
|
281
|
+
}
|