@ptcwebops/ptcw-design 2.2.0 → 2.2.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 +242 -0
- 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-1951cc85.js → core-332e5461.js} +29 -91
- 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-dddc2aea.js → index-1662de74.js} +1 -72
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +22 -22
- package/dist/cjs/{interfaces-0ecd8027.js → interfaces-574e6df7.js} +9 -9
- package/dist/cjs/list-item.cjs.entry.js +23 -23
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/lottie-player.cjs.entry.js +2826 -3073
- 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-d20b7968.js → pagination-8d9d474d.js} +6 -24
- 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 +68 -0
- 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 +123 -123
- 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 +83 -92
- 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 +49 -49
- 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-background-video_2.cjs.entry.js → ptc-img.cjs.entry.js} +123 -185
- package/dist/cjs/ptc-link.cjs.entry.js +34 -34
- package/dist/cjs/ptc-list.cjs.entry.js +50 -50
- package/dist/cjs/ptc-lottie.cjs.entry.js +11 -11
- 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 +139 -157
- 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 +25 -25
- 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-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-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-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 +111 -111
- 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-416c94fe.js → utils-9eb22041.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 +475 -475
- package/dist/collection/components/icon-asset/media/regular.svg +463 -463
- package/dist/collection/components/icon-asset/media/solid.svg +3013 -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 -0
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +281 -0
- 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 +214 -214
- 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.css +3 -1
- 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-lottie/ptc-lottie.css +5 -5
- package/dist/collection/components/ptc-lottie/ptc-lottie.js +62 -62
- 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 +2 -7
- 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.css +8 -0
- 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-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-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-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 +9336 -9451
- package/dist/esm/author-listing-example.entry.js +238 -0
- package/dist/esm/bundle-example.entry.js +31 -31
- package/dist/esm/bundle-jumbotron-example.entry.js +40 -40
- package/dist/esm/{core-209a2c67.js → core-73ab4867.js} +29 -91
- 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-8db28d54.js → index-22a84644.js} +1 -72
- package/dist/esm/innovator-toggle-container.entry.js +22 -22
- package/dist/esm/{interfaces-3cb94654.js → interfaces-4caedd26.js} +9 -9
- package/dist/esm/list-item.entry.js +23 -23
- package/dist/esm/loader.js +4 -4
- package/dist/esm/lottie-player.entry.js +2826 -3073
- package/dist/esm/max-width-container.entry.js +44 -44
- package/dist/esm/my-component.entry.js +16 -16
- package/dist/esm/{pagination-3ddf3057.js → pagination-902de0b2.js} +6 -24
- 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 +64 -0
- 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 +123 -123
- 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 +83 -92
- 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 +49 -49
- 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-background-video_2.entry.js → ptc-img.entry.js} +124 -185
- package/dist/esm/ptc-link.entry.js +34 -34
- package/dist/esm/ptc-list.entry.js +50 -50
- package/dist/esm/ptc-lottie.entry.js +11 -11
- 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 +139 -157
- 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 +25 -25
- 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-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-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-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 +111 -111
- 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-f937097d.js → utils-38decc43.js} +90 -90
- package/dist/ptcw-design/media/brands.svg +1381 -1381
- package/dist/ptcw-design/media/designer.svg +475 -475
- 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 +3013 -3013
- package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
- package/dist/ptcw-design/{p-75b447c8.entry.js → p-0074d97c.entry.js} +1 -1
- package/dist/ptcw-design/{p-d332e427.entry.js → p-0290031e.entry.js} +1 -1
- package/dist/ptcw-design/{p-298fd719.entry.js → p-0532c37c.entry.js} +1 -1
- package/dist/ptcw-design/{p-af7e6116.entry.js → p-056b652a.entry.js} +1 -1
- package/dist/ptcw-design/{p-6e172c5a.entry.js → p-05cc800d.entry.js} +1 -1
- package/dist/ptcw-design/{p-22e77c7c.entry.js → p-06f99e11.entry.js} +1 -1
- package/dist/ptcw-design/{p-2282217b.entry.js → p-072887b7.entry.js} +1 -1
- package/dist/ptcw-design/{p-bd3b4619.entry.js → p-0f3f83d3.entry.js} +1 -1
- package/dist/ptcw-design/{p-f5d52d72.entry.js → p-10254985.entry.js} +1 -1
- package/dist/ptcw-design/{p-445c9b3d.entry.js → p-12acb46f.entry.js} +1 -1
- package/dist/ptcw-design/{p-019ee040.entry.js → p-15e08cba.entry.js} +1 -1
- package/dist/ptcw-design/{p-066dc775.entry.js → p-17fd5641.entry.js} +1 -1
- package/dist/ptcw-design/{p-06b9d7b1.entry.js → p-1b972064.entry.js} +1 -1
- package/dist/ptcw-design/{p-34764ee6.entry.js → p-1c631848.entry.js} +1 -1
- package/dist/ptcw-design/p-1c743207.entry.js +1 -0
- package/dist/ptcw-design/{p-792c20a8.entry.js → p-1fc3d43a.entry.js} +1 -1
- package/dist/ptcw-design/{p-a438d150.entry.js → p-214278c3.entry.js} +1 -1
- package/dist/ptcw-design/{p-d260581f.entry.js → p-2254e000.entry.js} +1 -1
- package/dist/ptcw-design/{p-4227d996.entry.js → p-2597870d.entry.js} +1 -1
- package/dist/ptcw-design/{p-bb3cc915.entry.js → p-26f31be6.entry.js} +1 -1
- package/dist/ptcw-design/{p-38bee38d.entry.js → p-2893f405.entry.js} +1 -1
- package/dist/ptcw-design/{p-e54969bf.entry.js → p-2ba6bbbe.entry.js} +1 -1
- package/dist/ptcw-design/{p-f1b1f381.entry.js → p-2fed7a6f.entry.js} +1 -1
- package/dist/ptcw-design/{p-93a1f340.entry.js → p-317573b7.entry.js} +1 -1
- package/dist/ptcw-design/{p-2fcfa760.entry.js → p-3192a7e8.entry.js} +1 -1
- package/dist/ptcw-design/{p-d67d6edd.entry.js → p-31c33a18.entry.js} +1 -1
- package/dist/ptcw-design/{p-447ad4f8.entry.js → p-362ec391.entry.js} +1 -1
- package/dist/ptcw-design/{p-fad09b46.entry.js → p-3b8731e6.entry.js} +1 -1
- package/dist/ptcw-design/{p-3fb0f45c.entry.js → p-3ed0384d.entry.js} +1 -1
- package/dist/ptcw-design/{p-a454efc5.entry.js → p-3f368d6d.entry.js} +1 -1
- package/dist/ptcw-design/{p-288cb98d.entry.js → p-4097a036.entry.js} +1 -1
- package/dist/ptcw-design/p-4aaa6290.entry.js +1 -0
- package/dist/ptcw-design/{p-fac62124.entry.js → p-507ab0b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-968bbb76.entry.js → p-515f4332.entry.js} +1 -1
- package/dist/ptcw-design/p-553d840a.js +1 -0
- package/dist/ptcw-design/{p-626e2b30.entry.js → p-56da9ecd.entry.js} +1 -1
- package/dist/ptcw-design/{p-62d3f225.entry.js → p-58291e3a.entry.js} +1 -1
- package/dist/ptcw-design/{p-39bf1649.entry.js → p-59ac682d.entry.js} +1 -1
- package/dist/ptcw-design/{p-b9b30024.entry.js → p-5c47361e.entry.js} +1 -1
- package/dist/ptcw-design/{p-67974679.entry.js → p-61197714.entry.js} +1 -1
- package/dist/ptcw-design/{p-0ed8ce2b.entry.js → p-6392bd90.entry.js} +1 -1
- package/dist/ptcw-design/{p-c20bea66.entry.js → p-63f811ec.entry.js} +1 -1
- package/dist/ptcw-design/{p-60618056.entry.js → p-6449418a.entry.js} +1 -1
- package/dist/ptcw-design/{p-255674e8.entry.js → p-66fcd7b2.entry.js} +1 -1
- package/dist/ptcw-design/{p-f4b66bf5.entry.js → p-6a4bb3e8.entry.js} +1 -1
- package/dist/ptcw-design/{p-b4602b1d.entry.js → p-6a5bc275.entry.js} +1 -1
- package/dist/ptcw-design/{p-808544d7.entry.js → p-6aba5f8f.entry.js} +1 -1
- package/dist/ptcw-design/{p-dbb7b2a3.entry.js → p-6b1d18b1.entry.js} +1 -1
- package/dist/ptcw-design/{p-57085c86.entry.js → p-6e11536e.entry.js} +1 -1
- package/dist/ptcw-design/{p-4eeafd49.entry.js → p-75b17a66.entry.js} +1 -1
- package/dist/ptcw-design/{p-dda9d065.entry.js → p-777fb495.entry.js} +1 -1
- package/dist/ptcw-design/{p-8a1a1bfb.entry.js → p-77f5cf02.entry.js} +1 -1
- package/dist/ptcw-design/{p-f540748a.entry.js → p-7a3cf557.entry.js} +1 -1
- package/dist/ptcw-design/{p-e59376e8.entry.js → p-7a87be28.entry.js} +1 -1
- package/dist/ptcw-design/{p-55292c78.entry.js → p-7aa8af29.entry.js} +1 -1
- package/dist/ptcw-design/{p-0ae005de.entry.js → p-7b34bb69.entry.js} +1 -1
- package/dist/ptcw-design/{p-bdfc9555.entry.js → p-7ea29d34.entry.js} +1 -1
- package/dist/ptcw-design/{p-75247100.entry.js → p-84d3f4fa.entry.js} +1 -1
- package/dist/ptcw-design/{p-7e9e0d37.entry.js → p-85145672.entry.js} +1 -1
- package/dist/ptcw-design/{p-11f10902.entry.js → p-8b34f2db.entry.js} +1 -1
- package/dist/ptcw-design/{p-674aef18.entry.js → p-95198d5f.entry.js} +1 -1
- package/dist/ptcw-design/{p-82b05238.entry.js → p-9817c40a.entry.js} +1 -1
- package/dist/ptcw-design/{p-6c09bbbc.entry.js → p-98b6cb94.entry.js} +1 -1
- package/dist/ptcw-design/{p-ec0873bd.entry.js → p-99457ebb.entry.js} +1 -1
- package/dist/ptcw-design/{p-6f8455b5.entry.js → p-9d681abc.entry.js} +1 -1
- package/dist/ptcw-design/{p-4d38bd16.entry.js → p-9e4260bc.entry.js} +1 -1
- package/dist/ptcw-design/{p-a42f8bf2.entry.js → p-9efd9a5b.entry.js} +1 -1
- package/dist/ptcw-design/{p-9991c4bf.entry.js → p-a04e0ded.entry.js} +1 -1
- package/dist/ptcw-design/{p-7192afeb.entry.js → p-a417df03.entry.js} +1 -1
- package/dist/ptcw-design/{p-72fe6dcb.entry.js → p-a42feab1.entry.js} +1 -1
- package/dist/ptcw-design/{p-9ca64d6f.entry.js → p-ac63caae.entry.js} +1 -1
- package/dist/ptcw-design/{p-c1025cf9.entry.js → p-ad234f99.entry.js} +1 -1
- package/dist/ptcw-design/{p-97bf50a0.entry.js → p-ad401696.entry.js} +1 -1
- package/dist/ptcw-design/p-b3d8e893.entry.js +1 -0
- package/dist/ptcw-design/{p-079b6721.entry.js → p-bd470a7a.entry.js} +1 -1
- package/dist/ptcw-design/p-be8db2b7.entry.js +1 -0
- package/dist/ptcw-design/{p-3d14bf07.entry.js → p-bf47669c.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f82a06c.entry.js → p-bf808180.entry.js} +1 -1
- package/dist/ptcw-design/p-c4e1b619.entry.js +1 -0
- package/dist/ptcw-design/{p-06c13601.entry.js → p-c5df36ad.entry.js} +1 -1
- package/dist/ptcw-design/p-c7d5bfe3.entry.js +1 -0
- package/dist/ptcw-design/{p-b63e7023.entry.js → p-ca877fea.entry.js} +1 -1
- package/dist/ptcw-design/{p-101c17f4.entry.js → p-ca9b1705.entry.js} +1 -1
- package/dist/ptcw-design/{p-8a9d1f65.entry.js → p-cda3854b.entry.js} +1 -1
- package/dist/ptcw-design/p-cef9cf82.entry.js +1 -0
- package/dist/ptcw-design/{p-3e5fb8c3.entry.js → p-cf1005f9.entry.js} +1 -1
- package/dist/ptcw-design/p-cf7dc448.entry.js +1 -0
- package/dist/ptcw-design/p-d100f115.js +1 -0
- package/dist/ptcw-design/{p-25195807.entry.js → p-dc5e5116.entry.js} +1 -1
- package/dist/ptcw-design/{p-a6c1acb8.entry.js → p-dc748f00.entry.js} +1 -1
- package/dist/ptcw-design/{p-d4d80654.entry.js → p-dee888f5.entry.js} +1 -1
- package/dist/ptcw-design/{p-7ff45a5c.entry.js → p-df0aa310.entry.js} +1 -1
- package/dist/ptcw-design/{p-f8b1f507.entry.js → p-e1dd94a9.entry.js} +1 -1
- package/dist/ptcw-design/{p-e9635f81.entry.js → p-e312626a.entry.js} +1 -1
- package/dist/ptcw-design/{p-b4f034ff.entry.js → p-e8ba44ba.entry.js} +1 -1
- package/dist/ptcw-design/{p-38fb1625.entry.js → p-e8cd5994.entry.js} +1 -1
- package/dist/ptcw-design/{p-c07609da.entry.js → p-e8d9a19f.entry.js} +1 -1
- package/dist/ptcw-design/{p-9d477cbd.entry.js → p-eb65dacf.entry.js} +1 -1
- package/dist/ptcw-design/{p-bbc6cb14.entry.js → p-ee20170a.entry.js} +1 -1
- package/dist/ptcw-design/{p-e24f0892.entry.js → p-f6dfc55e.entry.js} +1 -1
- package/dist/ptcw-design/{p-180f20e0.entry.js → p-f8eacbd8.entry.js} +1 -1
- package/dist/ptcw-design/{p-bae3e7df.entry.js → p-f97fc3fd.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 -0
- 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 +24 -24
- 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-lottie/ptc-lottie.d.ts +12 -12
- 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-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-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-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 +149 -130
- package/dist/types/global.d.ts +1072 -1072
- package/dist/types/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -11
- 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-0fc282f5.js +0 -1
- package/dist/ptcw-design/p-4329b9c8.entry.js +0 -1
- package/dist/ptcw-design/p-5009cb8b.entry.js +0 -1
- package/dist/ptcw-design/p-6d9e8c97.entry.js +0 -1
- package/dist/ptcw-design/p-8ae8454b.entry.js +0 -1
- package/dist/ptcw-design/p-e428e6d9.js +0 -1
- package/dist/ptcw-design/p-eb76bc66.entry.js +0 -1
- package/dist/ptcw-design/p-f42ef4c9.entry.js +0 -1
- /package/dist/ptcw-design/{p-ea875d9e.js → p-36665caa.js} +0 -0
- /package/dist/ptcw-design/{p-240733ce.js → p-711bcdad.js} +0 -0
- /package/dist/ptcw-design/{p-dc4da4a5.js → p-ce0e4c5c.js} +0 -0
|
@@ -2,45 +2,45 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1662de74.js');
|
|
6
6
|
|
|
7
7
|
const ptcBackToTopCss = ":host{display:block}:host .back-to-top-button{position:fixed;bottom:140px;right:24px;width:64px;height:58px;border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);color:var(--color-gray-10);font-size:12px;font-weight:var(--ptc-font-weight-semibold);outline:none;cursor:pointer;transition:opacity 0.3s ease-in-out;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:var(--ptc-shadow-small)}:host .back-to-top-button:hover{opacity:1}:host .arrow{margin-bottom:5px}";
|
|
8
8
|
|
|
9
|
-
const PtcBackToTop = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.handleScroll = () => {
|
|
13
|
-
const scrollY = window.pageYOffset || document.documentElement.scrollTop;
|
|
14
|
-
this.showButton = scrollY > window.innerHeight * 1;
|
|
15
|
-
};
|
|
16
|
-
this.showButton = false;
|
|
17
|
-
}
|
|
18
|
-
componentDidLoad() {
|
|
19
|
-
window.addEventListener('scroll', this.handleScroll);
|
|
20
|
-
}
|
|
21
|
-
disconnectedCallback() {
|
|
22
|
-
window.removeEventListener('scroll', this.handleScroll);
|
|
23
|
-
}
|
|
24
|
-
handleClick() {
|
|
25
|
-
this.scrollToTop();
|
|
26
|
-
}
|
|
27
|
-
scrollToTop() {
|
|
28
|
-
if ('scrollBehavior' in document.documentElement.style) {
|
|
29
|
-
// Smooth scrolling is supported
|
|
30
|
-
window.scrollTo({
|
|
31
|
-
top: 0,
|
|
32
|
-
behavior: 'smooth',
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
// Fallback for browsers that do not support smooth scrolling
|
|
37
|
-
window.scrollTo(0, 0);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
render() {
|
|
41
|
-
return (index.h(index.Host, null, this.showButton && (index.h("button", { class: 'back-to-top-button', title: "Back to Top" }, index.h("span", { class: 'arrow' }, index.h("svg", { width: "18", height: "12", viewBox: "0 0 18 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M15.5248 11.625L8.9998 5.1L2.4748 11.625L0.112305 9.2625L8.9998 0.375L17.8873 9.2625L15.5248 11.625Z", fill: "#323B42" }))), index.h("span", { class: 'text' }, "Back to Top")))));
|
|
42
|
-
}
|
|
43
|
-
};
|
|
9
|
+
const PtcBackToTop = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.handleScroll = () => {
|
|
13
|
+
const scrollY = window.pageYOffset || document.documentElement.scrollTop;
|
|
14
|
+
this.showButton = scrollY > window.innerHeight * 1;
|
|
15
|
+
};
|
|
16
|
+
this.showButton = false;
|
|
17
|
+
}
|
|
18
|
+
componentDidLoad() {
|
|
19
|
+
window.addEventListener('scroll', this.handleScroll);
|
|
20
|
+
}
|
|
21
|
+
disconnectedCallback() {
|
|
22
|
+
window.removeEventListener('scroll', this.handleScroll);
|
|
23
|
+
}
|
|
24
|
+
handleClick() {
|
|
25
|
+
this.scrollToTop();
|
|
26
|
+
}
|
|
27
|
+
scrollToTop() {
|
|
28
|
+
if ('scrollBehavior' in document.documentElement.style) {
|
|
29
|
+
// Smooth scrolling is supported
|
|
30
|
+
window.scrollTo({
|
|
31
|
+
top: 0,
|
|
32
|
+
behavior: 'smooth',
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
// Fallback for browsers that do not support smooth scrolling
|
|
37
|
+
window.scrollTo(0, 0);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
render() {
|
|
41
|
+
return (index.h(index.Host, null, this.showButton && (index.h("button", { class: 'back-to-top-button', title: "Back to Top" }, index.h("span", { class: 'arrow' }, index.h("svg", { width: "18", height: "12", viewBox: "0 0 18 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M15.5248 11.625L8.9998 5.1L2.4748 11.625L0.112305 9.2625L8.9998 0.375L17.8873 9.2625L15.5248 11.625Z", fill: "#323B42" }))), index.h("span", { class: 'text' }, "Back to Top")))));
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
44
|
PtcBackToTop.style = ptcBackToTopCss;
|
|
45
45
|
|
|
46
46
|
exports.ptc_back_to_top = PtcBackToTop;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-1662de74.js');
|
|
6
|
+
|
|
7
|
+
const ptcBackgroundVideoCss = ":host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button{top:unset;bottom:3.75rem;right:2rem}}";
|
|
8
|
+
|
|
9
|
+
const PtcBackgroundVideo = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.videoSrc = undefined;
|
|
13
|
+
this.posterSrc = undefined;
|
|
14
|
+
this.overlay = true;
|
|
15
|
+
this.playButtonTitle = undefined;
|
|
16
|
+
this.pauseButtonTitle = undefined;
|
|
17
|
+
this.paused = undefined;
|
|
18
|
+
this.type = 'default';
|
|
19
|
+
this.isIframe = false;
|
|
20
|
+
}
|
|
21
|
+
// componentDidLoad() {
|
|
22
|
+
// if(this.isIframe){
|
|
23
|
+
// const iframe:HTMLIFrameElement = this.el.shadowRoot.querySelector('iframe');
|
|
24
|
+
// const iframeDoc = iframe.contentDocument
|
|
25
|
+
// const iframeVideo = iframeDoc.querySelector('video');
|
|
26
|
+
// console.log("iframe ele: " + iframeDoc.querySelectorAll('video'));
|
|
27
|
+
// iframeVideo.style.objectFit = 'cover';
|
|
28
|
+
// }
|
|
29
|
+
// }
|
|
30
|
+
// @Method()
|
|
31
|
+
// async toggleVideo() {
|
|
32
|
+
// // show a prompt
|
|
33
|
+
// this.paused = !this.paused;
|
|
34
|
+
// let video = this.el.shadowRoot.querySelector('video') as HTMLVideoElement;
|
|
35
|
+
// if (video) {
|
|
36
|
+
// if (this.paused) {
|
|
37
|
+
// video.pause();
|
|
38
|
+
// } else {
|
|
39
|
+
// video.play().catch(z => console.error(z));
|
|
40
|
+
// }
|
|
41
|
+
// }
|
|
42
|
+
// console.log('Hello, I am a publish method from ptc-background-video!');
|
|
43
|
+
// }
|
|
44
|
+
componentWillLoad() {
|
|
45
|
+
this.paused = false;
|
|
46
|
+
}
|
|
47
|
+
render() {
|
|
48
|
+
const videoContent = this.isIframe ? (index.h("div", { class: "iframe-wrapper" }, index.h("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed" }))) : (index.h("video", { src: this.videoSrc, poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }));
|
|
49
|
+
return (index.h(index.Host, { class: this.type }, videoContent, !!this.videoSrc && this.playButtonTitle && (index.h("div", { class: "play-button" }, this.paused && (index.h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important;}" }, index.h("ptc-button", { type: "button", color: "icon-toggle", onClick: e => this.toggleVideoPlay(e), styles: "button.icon-toggle { padding :0px 8px; }" }, index.h("icon-asset", { name: "play", size: "small", type: "ptc", color: "black" })))), !this.paused && !!this.pauseButtonTitle && (index.h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important;}" }, index.h("ptc-button", { type: "button", color: "icon-toggle", onClick: e => this.toggleVideoPlay(e) }, index.h("icon-asset", { name: "pause", size: "small", type: "ptc", color: "black" })))))), this.overlay ? index.h("div", { class: "video-overlay" }) : '', this.type == 'default' ? index.h("slot", null) : ''));
|
|
50
|
+
}
|
|
51
|
+
toggleVideoPlay(e) {
|
|
52
|
+
e.preventDefault();
|
|
53
|
+
this.paused = !this.paused;
|
|
54
|
+
let video = this.el.shadowRoot.querySelector('video');
|
|
55
|
+
if (video) {
|
|
56
|
+
if (this.paused) {
|
|
57
|
+
video.pause();
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
video.play().catch(z => console.error(z));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
get el() { return index.getElement(this); }
|
|
65
|
+
};
|
|
66
|
+
PtcBackgroundVideo.style = ptcBackgroundVideoCss;
|
|
67
|
+
|
|
68
|
+
exports.ptc_background_video = PtcBackgroundVideo;
|
|
@@ -2,34 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1662de74.js');
|
|
6
6
|
|
|
7
7
|
const ptcBioCardCss = ":host{display:block;color:var(--color-gray-10)}:host .bio-card{display:flex;box-shadow:var(--ptc-shadow-small);transition:box-shadow 0.25s ease-out, -webkit-box-shadow 0.25s ease-out;background-color:var(--color-white)}:host .bio-card .bio-card__image{max-width:150px;min-width:100px}@media only screen and (min-width: 480px){:host .bio-card .bio-card__image{min-width:140px}}@media only screen and (min-width: 768px){:host .bio-card .bio-card__image{width:35%}}:host .bio-card .bio-card__image img{max-width:100%;display:block;max-height:150px}@media only screen and (min-width: 480px){:host .bio-card .bio-card__image img{max-height:200px;min-width:auto}}:host .bio-card .bio-card__content{padding:12px 12px 1px 12px;flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;align-content:space-between}@media only screen and (min-width: 768px){:host .bio-card .bio-card__content{width:65%;padding:16px 16px 1px 16px}}:host .bio-card .bio-card__content .bio-card__name{display:inline-block;margin:0;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-black);line-height:var(--ptc-line-height-denser);letter-spacing:0.031rem;border-bottom:1px solid transparent}@media only screen and (min-width: 992px){:host .bio-card .bio-card__content .bio-card__name{font-size:var(--ptc-font-size-xx-small)}}:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-p);letter-spacing:0.031rem;margin:2px 0 0 0}@media only screen and (min-width: 480px){:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-x-small)}}@media only screen and (min-width: 992px){:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-xxx-small)}}:host .bio-card .bio-card__content .bio-card__social-links{border-top:1px solid var(--color-gray-03);padding-top:12px}:host .bio-card .bio-card__content .bio-card__social-links .social-icon{margin-right:20px;display:inline-block;line-height:var(--ptc-line-height-denser)}:host .bio-card .bio-card__content .bio-card__social-links .social-icon svg{max-width:27px;max-height:44px}:host .bio-card:hover{box-shadow:var(--ptc-shadow-x-large);cursor:pointer}:host .bio-card:hover .bio-card__name{border-bottom-color:var(--color-green-07)}:host .modal-wrap{display:flex;height:100%}@media only screen and (min-width: 768px){:host .modal-wrap{height:auto}}@media (max-height: 450px){:host .modal-wrap{height:100%}}:host .modal-wrap .bio-modal-left{width:140px;max-height:208px;display:none}:host .modal-wrap .bio-modal-left .bio-modal__image{margin-bottom:35px}:host .modal-wrap .bio-modal-left .bio-modal__image img{max-width:100%;display:block;min-width:140px}@media (max-height: 450px){:host .modal-wrap .bio-modal-left .bio-modal__image img{min-width:110px}}:host .modal-wrap .bio-modal-left .bio-card__social-links{display:flex;flex-direction:column;justify-content:center;align-items:center}:host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon{margin-bottom:10px}:host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon:last-child{margin-bottom:0}@media only screen and (min-width: 768px){:host .modal-wrap .bio-modal-left{display:block}}:host .modal-wrap .bio-modal-right{padding-left:30px;padding-right:15px}:host .modal-wrap .bio-modal-right .bio-modal-header{position:relative;width:95%}@media only screen and (min-width: 992px){:host .modal-wrap .bio-modal-right .bio-modal-header::after{content:\"\";position:absolute;width:100%;height:100%;background-image:url(\"https://www.ptc.com/dist/ptc/images/Exec-Leadership/Card-Decoration.svg\");background-size:340px;transform:rotate(180deg);z-index:-1;background-repeat:no-repeat;top:-20px;right:5%;opacity:0.4}}:host .modal-wrap .bio-modal-right .bio-modal-header .bio-card__name{margin:0 0 4px 0;font-weight:var(--ptc-font-weight-black);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-denser)}:host .modal-wrap .bio-modal-right .bio-modal-header .bio-card__job-title{margin:0;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium)}:host .modal-wrap .bio-modal-right .bio-modal-description{margin-top:40px;overflow-y:auto;padding-right:8%;max-height:calc(100% - 120px)}@media only screen and (min-width: 768px){:host .modal-wrap .bio-modal-right .bio-modal-description{max-height:500px}}@media (max-height: 450px){:host .modal-wrap .bio-modal-right .bio-modal-description{max-height:calc(100% - 110px)}}:host .modal-wrap .bio-modal-right .bio-modal-description::before{background:var(--color-white);background:linear-gradient(0deg, var(--color-white), rgba(255, 255, 255, 0));bottom:0;content:\"\";display:block;height:25%;left:0;position:absolute;right:1rem;width:100%;border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host .modal-wrap .bio-modal-right .bio-modal-description::after{content:\" \";width:10px;height:120px;display:block}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar{width:0.188rem}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar-track{background:var(--color-gray-03)}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar-thumb{background:var(--color-gray-10);border-radius:2rem}:host .social-icon .cls-1{transition:all ease-in 250ms}:host .social-icon .cls-3,:host .social-icon .cls-4{stroke:none}:host .social-icon .cls-4{transition:all ease-in 250ms;fill:var(--color-gray-03)}:host .social-icon:hover .cls-1{transition:all ease-in 250ms;fill:var(--color-white)}:host .social-icon:hover .cls-2{fill:var(--color-green-14)}:host .social-icon:hover .cls-4{fill:var(--color-green-14)}";
|
|
8
8
|
|
|
9
|
-
const PtcBioCard = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.showModal = false;
|
|
13
|
-
this.name = undefined;
|
|
14
|
-
this.jobTitle = undefined;
|
|
15
|
-
this.image = undefined;
|
|
16
|
-
this.linkedin = undefined;
|
|
17
|
-
this.twitter = undefined;
|
|
18
|
-
}
|
|
19
|
-
openModal() {
|
|
20
|
-
this.showModal = true;
|
|
21
|
-
}
|
|
22
|
-
componentDidLoad() {
|
|
23
|
-
let PtcModal = this.el.shadowRoot.querySelector('#bio-modal');
|
|
24
|
-
PtcModal.addEventListener('closed', () => {
|
|
25
|
-
this.showModal = false;
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
render() {
|
|
29
|
-
return (index.h(index.Host, { onClick: () => { this.openModal(); }, type: "button" }, index.h("div", { class: "bio-card" }, index.h("div", { class: "bio-card__image" }, index.h("img", { src: this.image, alt: `${this.name} profile image` })), index.h("div", { class: "bio-card__content" }, index.h("div", null, index.h("h3", { class: "bio-card__name" }, this.name), index.h("p", { class: "bio-card__job-title" }, this.jobTitle)), (this.linkedin || this.twitter) && (index.h("div", { class: "bio-card__social-links" }, this.linkedin && (index.h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, index.h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, index.h("defs", null, index.h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, index.h("stop", { offset: "0", "stop-color": "#fff" }), index.h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), index.h("g", { class: "cls-1", "data-name": "Path 4255" }, index.h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), index.h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), index.h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (index.h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, index.h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, index.h("defs", null, index.h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, index.h("stop", { offset: "0", "stop-color": "#fff" }), index.h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), index.h("g", { class: "cls-1", "data-name": "Path 4255" }, index.h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), index.h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), index.h("g", { "data-name": "Group 3004", transform: "translate(9.205 13.034)" }, index.h("g", null, index.h("path", { d: "M-617.4 147a5.577 5.577 0 0 1-1.6.436 2.78 2.78 0 0 0 1.219-1.535 5.54 5.54 0 0 1-1.765.674 2.78 2.78 0 0 0-3.93-.118 2.782 2.782 0 0 0-.874 2.018 2.754 2.754 0 0 0 .072.632 7.9 7.9 0 0 1-5.73-2.9 2.784 2.784 0 0 0 .861 3.71 2.784 2.784 0 0 1-1.26-.346v.034a2.78 2.78 0 0 0 2.231 2.724 2.714 2.714 0 0 1-.734.1 2.774 2.774 0 0 1-.534-.049 2.776 2.776 0 0 0 2.6 1.93 5.619 5.619 0 0 1-4.1 1.151 7.874 7.874 0 0 0 4.259 1.249 7.844 7.844 0 0 0 7.9-7.9v-.376A5.652 5.652 0 0 0-617.4 147", class: "cls-2", "data-name": "Path 4252", transform: "translate(630.939 -145.697)" })))))))))), index.h("ptc-modal", { id: "bio-modal", show: this.showModal, size: "lg", "border-radius": 'large', "is-bio-modal": true, fixed: true }, index.h("div", { class: "modal-wrap" }, index.h("div", { class: "bio-modal-left" }, index.h("div", { class: "bio-modal__image" }, index.h("img", { src: this.image, alt: `${this.name} profile image` })), (this.linkedin || this.twitter) && (index.h("div", { class: "bio-card__social-links" }, this.linkedin && (index.h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, index.h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, index.h("defs", null, index.h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, index.h("stop", { offset: "0", "stop-color": "#fff" }), index.h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), index.h("g", { class: "cls-1", "data-name": "Path 4255" }, index.h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), index.h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), index.h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (index.h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, index.h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, index.h("defs", null, index.h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, index.h("stop", { offset: "0", "stop-color": "#fff" }), index.h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), index.h("g", { class: "cls-1", "data-name": "Path 4255" }, index.h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), index.h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), index.h("g", { "data-name": "Group 3004", transform: "translate(9.205 13.034)" }, index.h("g", null, index.h("path", { d: "M-617.4 147a5.577 5.577 0 0 1-1.6.436 2.78 2.78 0 0 0 1.219-1.535 5.54 5.54 0 0 1-1.765.674 2.78 2.78 0 0 0-3.93-.118 2.782 2.782 0 0 0-.874 2.018 2.754 2.754 0 0 0 .072.632 7.9 7.9 0 0 1-5.73-2.9 2.784 2.784 0 0 0 .861 3.71 2.784 2.784 0 0 1-1.26-.346v.034a2.78 2.78 0 0 0 2.231 2.724 2.714 2.714 0 0 1-.734.1 2.774 2.774 0 0 1-.534-.049 2.776 2.776 0 0 0 2.6 1.93 5.619 5.619 0 0 1-4.1 1.151 7.874 7.874 0 0 0 4.259 1.249 7.844 7.844 0 0 0 7.9-7.9v-.376A5.652 5.652 0 0 0-617.4 147", class: "cls-2", "data-name": "Path 4252", transform: "translate(630.939 -145.697)" }))))))))), index.h("div", { class: "bio-modal-right" }, index.h("div", { class: "bio-modal-header" }, index.h("h2", { class: "bio-card__name" }, this.name), index.h("p", { class: "bio-card__job-title" }, this.jobTitle)), index.h("div", { class: "bio-modal-description" }, index.h("slot", null)))))));
|
|
30
|
-
}
|
|
31
|
-
get el() { return index.getElement(this); }
|
|
32
|
-
};
|
|
9
|
+
const PtcBioCard = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.showModal = false;
|
|
13
|
+
this.name = undefined;
|
|
14
|
+
this.jobTitle = undefined;
|
|
15
|
+
this.image = undefined;
|
|
16
|
+
this.linkedin = undefined;
|
|
17
|
+
this.twitter = undefined;
|
|
18
|
+
}
|
|
19
|
+
openModal() {
|
|
20
|
+
this.showModal = true;
|
|
21
|
+
}
|
|
22
|
+
componentDidLoad() {
|
|
23
|
+
let PtcModal = this.el.shadowRoot.querySelector('#bio-modal');
|
|
24
|
+
PtcModal.addEventListener('closed', () => {
|
|
25
|
+
this.showModal = false;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
return (index.h(index.Host, { onClick: () => { this.openModal(); }, type: "button" }, index.h("div", { class: "bio-card" }, index.h("div", { class: "bio-card__image" }, index.h("img", { src: this.image, alt: `${this.name} profile image` })), index.h("div", { class: "bio-card__content" }, index.h("div", null, index.h("h3", { class: "bio-card__name" }, this.name), index.h("p", { class: "bio-card__job-title" }, this.jobTitle)), (this.linkedin || this.twitter) && (index.h("div", { class: "bio-card__social-links" }, this.linkedin && (index.h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, index.h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, index.h("defs", null, index.h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, index.h("stop", { offset: "0", "stop-color": "#fff" }), index.h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), index.h("g", { class: "cls-1", "data-name": "Path 4255" }, index.h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), index.h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), index.h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (index.h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, index.h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, index.h("defs", null, index.h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, index.h("stop", { offset: "0", "stop-color": "#fff" }), index.h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), index.h("g", { class: "cls-1", "data-name": "Path 4255" }, index.h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), index.h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), index.h("g", { "data-name": "Group 3004", transform: "translate(9.205 13.034)" }, index.h("g", null, index.h("path", { d: "M-617.4 147a5.577 5.577 0 0 1-1.6.436 2.78 2.78 0 0 0 1.219-1.535 5.54 5.54 0 0 1-1.765.674 2.78 2.78 0 0 0-3.93-.118 2.782 2.782 0 0 0-.874 2.018 2.754 2.754 0 0 0 .072.632 7.9 7.9 0 0 1-5.73-2.9 2.784 2.784 0 0 0 .861 3.71 2.784 2.784 0 0 1-1.26-.346v.034a2.78 2.78 0 0 0 2.231 2.724 2.714 2.714 0 0 1-.734.1 2.774 2.774 0 0 1-.534-.049 2.776 2.776 0 0 0 2.6 1.93 5.619 5.619 0 0 1-4.1 1.151 7.874 7.874 0 0 0 4.259 1.249 7.844 7.844 0 0 0 7.9-7.9v-.376A5.652 5.652 0 0 0-617.4 147", class: "cls-2", "data-name": "Path 4252", transform: "translate(630.939 -145.697)" })))))))))), index.h("ptc-modal", { id: "bio-modal", show: this.showModal, size: "lg", "border-radius": 'large', "is-bio-modal": true, fixed: true }, index.h("div", { class: "modal-wrap" }, index.h("div", { class: "bio-modal-left" }, index.h("div", { class: "bio-modal__image" }, index.h("img", { src: this.image, alt: `${this.name} profile image` })), (this.linkedin || this.twitter) && (index.h("div", { class: "bio-card__social-links" }, this.linkedin && (index.h("a", { href: this.linkedin, target: "_blank", class: "tw social-icon", "aria-label": "linkedin" }, index.h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient1-in); } `), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, index.h("defs", null, index.h("linearGradient", { id: "linear-gradient1-in", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, index.h("stop", { offset: "0", "stop-color": "#fff" }), index.h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), index.h("g", { class: "cls-1", "data-name": "Path 4255" }, index.h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), index.h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), index.h("path", { d: "M-416.964 153.563h-2.487v-7.987h2.487zm-1.311-8.985h-.018a1.385 1.385 0 0 1-1.485-1.279v-.107a1.4 1.4 0 0 1 1.524-1.385 1.393 1.393 0 0 1 1.5 1.278v.107a1.4 1.4 0 0 1-1.521 1.386zm11.283 8.985h-2.842v-4.132c0-1.066-.441-1.819-1.421-1.819a1.422 1.422 0 0 0-1.35.977 1.82 1.82 0 0 0-.06.65v4.324h-2.778s.036-7.319 0-7.983h2.8v1.265a2.563 2.563 0 0 1 2.487-1.329c1.776 0 3.165 1.147 3.165 3.62z", class: "cls-2", "data-name": "Path 8769", transform: "translate(429.342 -128.977)" })))), this.twitter && (index.h("a", { href: this.twitter, target: "_blank", class: "tw social-icon", "aria-label": "twitter" }, index.h("style", null, `.social-icon .cls-1 { fill: url(#linear-gradient0-tw); } `), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "31.995", height: "36.794", viewBox: "0 0 31.995 36.794" }, index.h("defs", null, index.h("linearGradient", { id: "linear-gradient0-tw", x1: ".5", x2: ".5", y2: "1", gradientUnits: "objectBoundingBox" }, index.h("stop", { offset: "0", "stop-color": "#fff" }), index.h("stop", { offset: "1", "stop-color": "#e5e5e5" }))), index.h("g", { class: "cls-1", "data-name": "Path 4255" }, index.h("path", { d: "M27.307 31.495H9.487L.578 15.998 9.487.5h17.82l8.91 15.498-8.91 15.497z", class: "cls-3", transform: "rotate(90 15.998 15.998)" }), index.h("path", { d: "M9.777 1L1.154 15.998l8.623 14.997h17.24l8.624-14.997L27.017 1H9.777M9.2 0h18.397l9.198 15.998-9.198 15.997H9.199L0 15.998 9.199 0z", class: "cls-4", transform: "rotate(90 15.998 15.998)" })), index.h("g", { "data-name": "Group 3004", transform: "translate(9.205 13.034)" }, index.h("g", null, index.h("path", { d: "M-617.4 147a5.577 5.577 0 0 1-1.6.436 2.78 2.78 0 0 0 1.219-1.535 5.54 5.54 0 0 1-1.765.674 2.78 2.78 0 0 0-3.93-.118 2.782 2.782 0 0 0-.874 2.018 2.754 2.754 0 0 0 .072.632 7.9 7.9 0 0 1-5.73-2.9 2.784 2.784 0 0 0 .861 3.71 2.784 2.784 0 0 1-1.26-.346v.034a2.78 2.78 0 0 0 2.231 2.724 2.714 2.714 0 0 1-.734.1 2.774 2.774 0 0 1-.534-.049 2.776 2.776 0 0 0 2.6 1.93 5.619 5.619 0 0 1-4.1 1.151 7.874 7.874 0 0 0 4.259 1.249 7.844 7.844 0 0 0 7.9-7.9v-.376A5.652 5.652 0 0 0-617.4 147", class: "cls-2", "data-name": "Path 4252", transform: "translate(630.939 -145.697)" }))))))))), index.h("div", { class: "bio-modal-right" }, index.h("div", { class: "bio-modal-header" }, index.h("h2", { class: "bio-card__name" }, this.name), index.h("p", { class: "bio-card__job-title" }, this.jobTitle)), index.h("div", { class: "bio-modal-description" }, index.h("slot", null)))))));
|
|
30
|
+
}
|
|
31
|
+
get el() { return index.getElement(this); }
|
|
32
|
+
};
|
|
33
33
|
PtcBioCard.style = ptcBioCardCss;
|
|
34
34
|
|
|
35
35
|
exports.ptc_bio_card = PtcBioCard;
|
|
@@ -2,134 +2,134 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1662de74.js');
|
|
6
6
|
|
|
7
7
|
const ptcBreadcrumbCss = ":host{display:block;margin-top:var(--ptc-element-spacing-05);display:flex}:host .list-items{display:inline-block;margin-left:4px;margin-top:3px}::slotted(*){transform:translate(-2px, -2px)}:host(.left){display:flex;justify-content:flex-start;align-items:flex-end}:host(.center){display:flex;justify-content:center}:host(.right){display:flex;justify-content:flex-end}:host(.remove-top-margin){margin-top:0px !important}";
|
|
8
8
|
|
|
9
|
-
const PtcBreadcrumb = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.position = undefined;
|
|
13
|
-
this.removeTopMargin = false;
|
|
14
|
-
this.color = 'white';
|
|
15
|
-
this.styles = undefined;
|
|
16
|
-
}
|
|
17
|
-
render() {
|
|
18
|
-
const classMap = this.getCssClassMap();
|
|
19
|
-
return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("list-item", { listType: "breadcrumb", flushBefore: true, "link-href": "https://www.ptc.com" }, index.h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color })), index.h("div", { class: 'list-items' }, index.h("slot", null))));
|
|
20
|
-
}
|
|
21
|
-
getCssClassMap() {
|
|
22
|
-
return {
|
|
23
|
-
[this.position]: !!this.position && this.position !== undefined ? true : false,
|
|
24
|
-
['remove-top-margin']: this.removeTopMargin ? true : false,
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
};
|
|
9
|
+
const PtcBreadcrumb = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.position = undefined;
|
|
13
|
+
this.removeTopMargin = false;
|
|
14
|
+
this.color = 'white';
|
|
15
|
+
this.styles = undefined;
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
const classMap = this.getCssClassMap();
|
|
19
|
+
return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("list-item", { listType: "breadcrumb", flushBefore: true, "link-href": "https://www.ptc.com" }, index.h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color })), index.h("div", { class: 'list-items' }, index.h("slot", null))));
|
|
20
|
+
}
|
|
21
|
+
getCssClassMap() {
|
|
22
|
+
return {
|
|
23
|
+
[this.position]: !!this.position && this.position !== undefined ? true : false,
|
|
24
|
+
['remove-top-margin']: this.removeTopMargin ? true : false,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
28
|
PtcBreadcrumb.style = ptcBreadcrumbCss;
|
|
29
29
|
|
|
30
30
|
const ptcJumbotronCss = ".ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 1200px){.ptc-container{padding-left:0;padding-right:0;max-width:1121px}}@media only screen and (min-width: 1440px){.ptc-container{padding-left:0;padding-right:0;max-width:1200px}}.ptc-container-lg{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 480px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-03);padding-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 768px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-04);padding-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 992px){.ptc-container-lg{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}@media only screen and (min-width: 1980px){.ptc-container-lg{padding-left:0;padding-right:0;max-width:1900px}}.ptc-container-fluid{width:100%}.u-para-sm{font-size:var(--ptc-font-size-small) !important}.u-para-md{font-size:var(--ptc-font-size-medium) !important}.u-para-lg{font-size:var(--ptc-font-size-large) !important}.u-para-xl{font-size:var(--ptc-font-size-x-large) !important}.u-para-xxl{font-size:var(--ptc-font-size-xx-large) !important}.u-para-xxxl{font-size:var(--ptc-font-size-xxx-large) !important}@media only screen and (min-width: 768px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.05vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.05vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.05vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.05vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.05vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.05vw) !important}}@media only screen and (min-width: 992px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.1vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.1vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.1vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.1vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.1vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.1vw) !important}}@media only screen and (min-width: 1200px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.15vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.15vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.15vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.15vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.15vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.15vw) !important}}@media only screen and (min-width: 1440px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.2vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.2vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.2vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.2vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.2vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.2vw) !important}}@media only screen and (min-width: 1600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.25vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.25vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.25vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.25vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.25vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.25vw) !important}}@media only screen and (min-width: 1980px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.3vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.3vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.3vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.3vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.3vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.3vw) !important}}@media only screen and (min-width: 2600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.35vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.35vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.35vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.35vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.35vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.35vw) !important}}.u-para-body{font-size:var(--ptc-font-size-medium) !important}.u-color-white{color:var(--color-white) !important}.u-uppercase{text-transform:uppercase !important}.u-margin-flush{margin:0 !important}.u-marginTop-flush{margin-top:0 !important}.u-marginLeft-flush{margin-left:0 !important}.u-marginRight-flush{margin-right:0 !important}.u-marginBottom-flush{margin-bottom:0 !important}.u-padding-flush{padding:0 !important}.u-paddingTop-flush{padding-top:0 !important}.u-paddingLeft-flush{padding-left:0 !important}.u-paddingRight-flush{padding-right:0 !important}.u-paddingBottom-flush{padding-bottom:0 !important}.u-margin-xs{margin:var(--ptc-element-spacing-01) !important}.u-marginTop-xs{margin-top:var(--ptc-element-spacing-01) !important}.u-marginLeft-xs{margin-left:var(--ptc-element-spacing-01) !important}.u-marginRight-xs{margin-right:var(--ptc-element-spacing-01) !important}.u-marginBottom-xs{margin-bottom:var(--ptc-element-spacing-01) !important}.u-margin-sm{margin:var(--ptc-element-spacing-02) !important}.u-marginTop-sm{margin-top:var(--ptc-element-spacing-02) !important}.u-marginLeft-sm{margin-left:var(--ptc-element-spacing-02) !important}.u-marginRight-sm{margin-right:var(--ptc-element-spacing-02) !important}.u-marginBottom-sm{margin-bottom:var(--ptc-element-spacing-02) !important}.u-margin-md{margin:var(--ptc-element-spacing-03) !important}.u-marginTop-md{margin-top:var(--ptc-element-spacing-03) !important}.u-marginLeft-md{margin-left:var(--ptc-element-spacing-03) !important}.u-marginRight-md{margin-right:var(--ptc-element-spacing-03) !important}.u-marginBottom-md{margin-bottom:var(--ptc-element-spacing-03) !important}.u-margin-lg{margin:var(--ptc-element-spacing-04) !important}.u-marginTop-lg{margin-top:var(--ptc-element-spacing-04) !important}.u-marginLeft-lg{margin-left:var(--ptc-element-spacing-04) !important}.u-marginRight-lg{margin-right:var(--ptc-element-spacing-04) !important}.u-marginBottom-lg{margin-bottom:var(--ptc-element-spacing-04) !important}.u-margin-xl{margin:var(--ptc-element-spacing-05) !important}.u-marginTop-xl{margin-top:var(--ptc-element-spacing-05) !important}.u-marginLeft-xl{margin-left:var(--ptc-element-spacing-05) !important}.u-marginRight-xl{margin-right:var(--ptc-element-spacing-05) !important}.u-marginBottom-xl{margin-bottom:var(--ptc-element-spacing-05) !important}.u-margin-xxl{margin:var(--ptc-element-spacing-06) !important}.u-marginTop-xxl{margin-top:var(--ptc-element-spacing-06) !important}.u-marginLeft-xxl{margin-left:var(--ptc-element-spacing-06) !important}.u-marginRight-xxl{margin-right:var(--ptc-element-spacing-06) !important}.u-marginBottom-xxl{margin-bottom:var(--ptc-element-spacing-06) !important}.u-margin-xxxl{margin:var(--ptc-element-spacing-07) !important}.u-marginTop-xxxl{margin-top:var(--ptc-element-spacing-07) !important}.u-marginLeft-xxxl{margin-left:var(--ptc-element-spacing-07) !important}.u-marginRight-xxxl{margin-right:var(--ptc-element-spacing-07) !important}.u-marginBottom-xxxl{margin-bottom:var(--ptc-element-spacing-07) !important}.u-margin-4xl{margin:var(--ptc-element-spacing-08) !important}.u-marginTop-4xl{margin-top:var(--ptc-element-spacing-08) !important}.u-marginLeft-4xl{margin-left:var(--ptc-element-spacing-08) !important}.u-marginRight-4xl{margin-right:var(--ptc-element-spacing-08) !important}.u-marginBottom-4xl{margin-bottom:var(--ptc-element-spacing-08) !important}.u-textAlign-ctr{text-align:center !important}.u-textAlign-right{text-align:right !important}.u-textAlign-left{text-align:left !important}.u-textWhite{color:var(--color-white) !important}.u-textGreen1{color:var(--color-green-07) !important}.u-textGreen2{color:var(--color-green-06) !important}.u-text-nowrap{white-space:nowrap}.u-text-bold{font-weight:var(--ptc-font-weight-bold)}.u-text-thin{font-weight:var(--ptc-font-weight-thin)}.u-textStyle-normal{font-style:normal !important}.u-no-scroll{overflow:hidden}.u-background-white{background-color:var(--color-white)}.u-background-reset{background-color:transparent !important}.u-white-overylay{background:rgba(242, 242, 242, 0.9)}.u-cursor-pointer{cursor:pointer}.u-clear{clear:both}.u-border-radius-standard{border-radius:var(--ptc-border-radius-standard)}.u-border-radius-large{border-radius:var(--ptc-border-radius-large)}.u-border-radius-pill{border-radius:var(--ptc-border-radius-pill)}.u-border-radius-circle{border-radius:var(--ptc-border-radius-circle)}@media only screen and (min-width: 768px){.u-hero-width{width:525px}.u-margin-center{margin:0 auto}.u-justify-self-end{justify-self:flex-end}}.u-hero-pushup{transform:translateY(-120px)}@media only screen and (min-width: 768px){.u-hero-pushup{transform:translateY(-144px)}}@media only screen and (min-width: 768px){.grid-order-1-md{order:1}.grid-order-2-md{order:2}.grid-order-3-md{order:3}}@media only screen and (min-width: 992px){.grid-order-1-lg{order:1}.grid-order-2-lg{order:2}.grid-order-3-lg{order:3}}.standard-list{list-style:none;margin-left:0;margin-bottom:20px;padding:0}.is-spaced-between{justify-content:space-between}.h-100{height:100%}.grid-large-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-large-col-gap-md{column-gap:3rem}}.grid-large-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-large-col-gap-sm{column-gap:3rem}}.grid-x-large-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-x-large-col-gap-md{column-gap:4rem}}.grid-x-large-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-x-large-col-gap-sm{column-gap:4rem}}.grid-medium-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-medium-col-gap-md{column-gap:2rem}}.grid-medium-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-medium-col-gap-sm{column-gap:2rem}}.is-float-left{float:left}.is-float-right{float:right}.is-mobile{display:block}.is-desktop{display:none}@media only screen and (min-width: 992px){.is-mobile{display:none}.is-desktop{display:block}}.ptc-section{padding-top:2rem;padding-bottom:2rem}@media only screen and (min-width: 992px){.ptc-section{padding-top:3rem;padding-bottom:3rem}}.ptc-section-standard{padding-top:3rem;padding-bottom:3rem}.ptc-section-half{padding-top:1.5rem;padding-bottom:1.5rem}.u-flex{display:flex}@media only screen and (min-width: 480px){.u-flex-xs{display:flex}}@media only screen and (min-width: 768px){.u-flex-sm{display:flex}}@media only screen and (min-width: 992px){.u-flex-md{display:flex}}@media only screen and (min-width: 1200px){.u-flex-lg{display:flex}}@media only screen and (min-width: 1440px){.u-flex-xl{display:flex}}@media only screen and (min-width: 1600px){.u-flex-xxl{display:flex}}@media only screen and (min-width: 1980px){.u-flex-2k{display:flex}}@media only screen and (min-width: 2600px){.u-flex-4k{display:flex}}.u-align-center{margin:auto;align-self:center}.u-align-left{margin-right:auto;align-self:center}.u-align-right{margin-left:auto;align-self:center}.u-align-x-center{margin-right:auto;margin-left:auto}.u-align-x-left{margin-right:auto}.u-align-x-right{margin-left:auto}.u-align-y-center{align-self:center}.u-align-y-top{align-self:flex-start}.u-align-y-bottom{align-self:flex-end}.is-flex-column{flex-direction:column}.flex-align-items{align-items:flex-end}.flex-align-items-center{align-items:center}.u-flex-nowrap{flex-wrap:nowrap}.u-flex-wrap{flex-wrap:wrap}.u-align-self-start{align-self:start}.u-align-self-center{align-self:center}.u-align-self-stretch{align-self:stretch}.u-justify-self-start{justify-self:start}.u-justify-self-center{justify-self:center}.u-justify-self-stretch{justify-self:stretch}.u-flex-justify-center{justify-content:center}.u-section-heading-wrapper{max-width:768px;margin-left:auto;margin-right:auto}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}@media only screen and (min-width: 768px){.is-grid.grid-large-col-gap-xs-0{row-gap:0}}.max-content{max-width:90%;margin:auto}@media only screen and (min-width: 480px){.max-content{max-width:80%}}.u-justify-space-between{justify-content:space-between}.all-product-banner{padding:50px 0 44px 0px}@media only screen and (min-width: 992px){.all-product-banner{padding:50px 0 72px 0px;display:flex;min-height:300px;justify-content:center;align-items:center}}.all-product-gradient{background:linear-gradient(180deg, #f3f3f3 2.6%, rgba(225, 241, 226, 0.2) 40.63%, #f3f3f3 82.29%), linear-gradient(0deg, #f3f3f3, #f3f3f3)}.menu-right ptc-nav-submenu{position:relative}.media-thumb-feature{display:block}@media only screen and (min-width: 768px){.media-thumb-feature{display:flex;justify-content:space-between}}.media-thumb-feature .media-thumb{width:100%;margin-bottom:2rem}@media only screen and (min-width: 768px){.media-thumb-feature .media-thumb{width:340px;flex:0 0 340px}}.media-thumb-feature .media-thumb>ptc-picture:not(:last-of-type),.media-thumb-feature .media-thumb>img:not(:last-of-type){margin-bottom:1.5rem}.media-thumb-feature .media-feature{width:100%;margin-bottom:2rem}@media only screen and (min-width: 768px){.media-thumb-feature .media-feature{width:auto;flex:1 1 auto}}.partner-card-desc h5.description{font-family:var(--ptc-font-latin);color:var(--color-gray-10);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-medium);margin:0 0 10px 0}.partner-card-desc .tags{margin-bottom:0.75rem}.partner-card-desc .tags .tag:not(:first-child){border-left:2px solid var(--color-green-07);padding:0 8px}.partner-card-desc .tags .tag:first-child{padding:0 8px 0 0}.partner-card-desc .tags .tag{color:var(--color-gray-10);display:inline;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-loose);margin:0 0 10px 0;padding:0 8px}.u-3-col-grid{width:100%;display:flex;flex-wrap:wrap;grid-row-gap:1rem;grid-column-gap:1rem}.u-3-col-grid .u-3-col{width:100%}@media only screen and (min-width: 768px){.u-3-col-grid .u-3-col{width:calc(50% - 10.66666666px)}}@media only screen and (min-width: 992px){.u-3-col-grid .u-3-col{width:calc(33.3333333333% - 10.66666666px)}}.u-3-col-grid.u-col-space-lg{grid-row-gap:2rem;grid-column-gap:2rem}.u-3-col-grid.u-col-space-lg .u-3-col{width:100%}@media only screen and (min-width: 768px){.u-3-col-grid.u-col-space-lg .u-3-col{width:calc(50% - 21.3333333px)}}@media only screen and (min-width: 992px){.u-3-col-grid.u-col-space-lg .u-3-col{width:calc(33.3333333333% - 21.3333333px)}}:host{display:block}@media only screen and (min-width: 992px){:host(:not(.png-jumbotron):not(.text-jumbotron):not(.gif-jumbotron)) .content-container{padding-top:20px;padding-bottom:16px}}.parent{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;grid-column-gap:0px;grid-row-gap:0px;position:unset;z-index:999}.div1{grid-area:1/1/2/2;min-height:300px}.div1.hidden{display:none}.mobile-media-image{display:flex;justify-content:center;align-items:center}@media only screen and (min-width: 992px){.mobile-media-image{display:none}}.gif-bg{background-color:#F3F3F3}.gif-bg img{width:100%;height:auto}@media only screen and (min-width: 768px){.gif-bg img{width:auto}}.video-ratio{position:relative;overflow:hidden;height:100%}.div2{grid-area:2/1/3/2;position:relative}.bg-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.content-layout{display:flex;flex-direction:column}@media only screen and (min-width: 992px){.content-layout{flex-direction:row}}.gap-adjustment{gap:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-07)}@media only screen and (min-width: 992px){.gap-adjustment{gap:var(--ptc-element-spacing-07)}}.text-adjustment{justify-content:flex-start}@media only screen and (min-width: 992px){.text-adjustment{justify-content:center}}.desktop-media-image{width:40%;display:none}@media only screen and (min-width: 992px){.desktop-media-image{display:block}}.desk-gif-adjustment{z-index:3;display:none;justify-content:center;align-items:center}@media only screen and (min-width: 992px){.desk-gif-adjustment{display:flex}}.desk-gif-adjustment img{width:100%}@media only screen and (min-width: 992px){.parent{grid-template-columns:1fr;grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px;min-height:500px;position:relative}.div1{grid-area:1/1/2/2;min-height:unset}.div2{grid-area:1/1/2/2;align-self:center;position:unset}}:host(.text-jumbotron) .parent{min-height:250px}";
|
|
31
31
|
|
|
32
|
-
const PtcJumbotron = class {
|
|
33
|
-
constructor(hostRef) {
|
|
34
|
-
index.registerInstance(this, hostRef);
|
|
35
|
-
this.jumbotronType = 'light';
|
|
36
|
-
this.hasPopupVideo = false;
|
|
37
|
-
this.mainTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur';
|
|
38
|
-
this.subTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet';
|
|
39
|
-
this.pngSrc = undefined;
|
|
40
|
-
this.gifSrc = undefined;
|
|
41
|
-
this.bgVideoSrc = undefined;
|
|
42
|
-
this.bgSrc = undefined;
|
|
43
|
-
this.isIframe = false;
|
|
44
|
-
this.playButtonTitle = undefined;
|
|
45
|
-
this.pauseButtonTitle = undefined;
|
|
46
|
-
this.contentBackground = undefined;
|
|
47
|
-
this.contentColor = undefined;
|
|
48
|
-
this.textAlign = 'left';
|
|
49
|
-
this.isMobile = undefined;
|
|
50
|
-
}
|
|
51
|
-
handleResize() {
|
|
52
|
-
this.getContentBackground();
|
|
53
|
-
//this.adjustJumbotronHeight();
|
|
54
|
-
}
|
|
55
|
-
connectedCallback() {
|
|
56
|
-
this.getContentBackground();
|
|
57
|
-
}
|
|
58
|
-
componentDidLoad() {
|
|
59
|
-
//this.adjustJumbotronHeight();
|
|
60
|
-
}
|
|
61
|
-
render() {
|
|
62
|
-
console.log('render');
|
|
63
|
-
const classMap = this.getCssClassMap();
|
|
64
|
-
let mediaElement;
|
|
65
|
-
switch (this.jumbotronType) {
|
|
66
|
-
case 'png':
|
|
67
|
-
mediaElement = (index.h("div", { class: "mobile-media-image" }, index.h("ptc-picture", { src: this.pngSrc })));
|
|
68
|
-
break;
|
|
69
|
-
case 'gif':
|
|
70
|
-
mediaElement = (index.h("div", { class: "mobile-media-image gif-bg" }, index.h("img", { src: this.gifSrc })));
|
|
71
|
-
break;
|
|
72
|
-
case 'dark-video':
|
|
73
|
-
case 'light-video':
|
|
74
|
-
mediaElement = (index.h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle }));
|
|
75
|
-
break;
|
|
76
|
-
default:
|
|
77
|
-
mediaElement = index.h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" });
|
|
78
|
-
}
|
|
79
|
-
return (index.h(index.Host, { class: classMap }, index.h("div", { class: "parent" }, index.h("div", { class: `div1 image-container ${this.jumbotronType === 'text' ? 'hidden' : ''}` }, mediaElement), index.h("div", { class: "div2 content-container" }, index.h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), index.h("div", { class: "ptc-container content-layout" }, index.h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === 'text' ? 'center' : this.textAlign, styles: ":host{z-index: 999}" }, index.h("slot", { name: "breadcrumb" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("slot", { name: "main-title" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-para", { "font-size": this.jumbotronType === 'text' && this.isMobile ? 'x-small' : 'small', "font-weight": 'w-4', "para-margin": "margin-bottom-6", "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === 'text' ? 'center' : 'left' }, index.h("ptc-tooltip", { "text-lines": "8", description: this.subTitle, position: "right", styles: `.ellipsis-by-line-boxing{color: ${this.contentColor};}` })), index.h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === 'text' ? ' text-adjustment' : ''}` }, index.h("slot", { name: "j-cta" }))), this.hasPopupVideo ? index.h("slot", { name: "video" }) : null, this.jumbotronType === 'png' ? (index.h("div", { class: "desktop-media-image" }, index.h("ptc-picture", { "is-full-width": true, src: this.pngSrc }))) : null, this.jumbotronType === 'gif' ? (index.h("div", { class: "desktop-media-image desk-gif-adjustment" }, index.h("img", { src: this.gifSrc }))) : null)))));
|
|
80
|
-
}
|
|
81
|
-
getCssClassMap() {
|
|
82
|
-
return {
|
|
83
|
-
// [this.imageZIndex] : true
|
|
84
|
-
"text-jumbotron": this.jumbotronType === "text" ? true : false,
|
|
85
|
-
"png-jumbotron": this.jumbotronType === "png" ? true : false,
|
|
86
|
-
"gif-jumbotron": this.jumbotronType === "gif" ? true : false,
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
getContentBackground() {
|
|
90
|
-
if (window.innerWidth < 992) {
|
|
91
|
-
switch (this.jumbotronType) {
|
|
92
|
-
case 'light':
|
|
93
|
-
case 'light-video':
|
|
94
|
-
this.contentBackground = 'var(--color-white)';
|
|
95
|
-
this.contentColor = 'var(--color-gray-10)';
|
|
96
|
-
break;
|
|
97
|
-
case 'dark':
|
|
98
|
-
case 'dark-video':
|
|
99
|
-
this.contentBackground = 'var(--color-gray-09)';
|
|
100
|
-
this.contentColor = 'var(--color-gray-01)';
|
|
101
|
-
break;
|
|
102
|
-
default:
|
|
103
|
-
this.contentBackground = 'transparent';
|
|
104
|
-
this.contentColor = 'var(--color-gray-10)';
|
|
105
|
-
}
|
|
106
|
-
this.isMobile = true;
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
switch (this.jumbotronType) {
|
|
110
|
-
case 'light':
|
|
111
|
-
case 'light-video':
|
|
112
|
-
this.contentBackground = 'linear-gradient(90.19deg, rgba(255, 255, 255, 0.9) 62.55%, rgba(228, 231, 233, 0) 99.86%)';
|
|
113
|
-
this.contentColor = 'var(--color-gray-10)';
|
|
114
|
-
break;
|
|
115
|
-
case 'dark':
|
|
116
|
-
case 'dark-video':
|
|
117
|
-
this.contentBackground = 'linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%)';
|
|
118
|
-
this.contentColor = 'var(--color-gray-01)';
|
|
119
|
-
break;
|
|
120
|
-
case 'gif':
|
|
121
|
-
this.contentBackground = '#F3F3F3';
|
|
122
|
-
this.contentColor = 'var(--color-gray-10)';
|
|
123
|
-
break;
|
|
124
|
-
default:
|
|
125
|
-
this.contentBackground = 'transparent';
|
|
126
|
-
this.contentColor = 'var(--color-gray-10)';
|
|
127
|
-
}
|
|
128
|
-
this.isMobile = false;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
get el() { return index.getElement(this); }
|
|
132
|
-
};
|
|
32
|
+
const PtcJumbotron = class {
|
|
33
|
+
constructor(hostRef) {
|
|
34
|
+
index.registerInstance(this, hostRef);
|
|
35
|
+
this.jumbotronType = 'light';
|
|
36
|
+
this.hasPopupVideo = false;
|
|
37
|
+
this.mainTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur';
|
|
38
|
+
this.subTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet';
|
|
39
|
+
this.pngSrc = undefined;
|
|
40
|
+
this.gifSrc = undefined;
|
|
41
|
+
this.bgVideoSrc = undefined;
|
|
42
|
+
this.bgSrc = undefined;
|
|
43
|
+
this.isIframe = false;
|
|
44
|
+
this.playButtonTitle = undefined;
|
|
45
|
+
this.pauseButtonTitle = undefined;
|
|
46
|
+
this.contentBackground = undefined;
|
|
47
|
+
this.contentColor = undefined;
|
|
48
|
+
this.textAlign = 'left';
|
|
49
|
+
this.isMobile = undefined;
|
|
50
|
+
}
|
|
51
|
+
handleResize() {
|
|
52
|
+
this.getContentBackground();
|
|
53
|
+
//this.adjustJumbotronHeight();
|
|
54
|
+
}
|
|
55
|
+
connectedCallback() {
|
|
56
|
+
this.getContentBackground();
|
|
57
|
+
}
|
|
58
|
+
componentDidLoad() {
|
|
59
|
+
//this.adjustJumbotronHeight();
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
console.log('render');
|
|
63
|
+
const classMap = this.getCssClassMap();
|
|
64
|
+
let mediaElement;
|
|
65
|
+
switch (this.jumbotronType) {
|
|
66
|
+
case 'png':
|
|
67
|
+
mediaElement = (index.h("div", { class: "mobile-media-image" }, index.h("ptc-picture", { src: this.pngSrc })));
|
|
68
|
+
break;
|
|
69
|
+
case 'gif':
|
|
70
|
+
mediaElement = (index.h("div", { class: "mobile-media-image gif-bg" }, index.h("img", { src: this.gifSrc })));
|
|
71
|
+
break;
|
|
72
|
+
case 'dark-video':
|
|
73
|
+
case 'light-video':
|
|
74
|
+
mediaElement = (index.h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle }));
|
|
75
|
+
break;
|
|
76
|
+
default:
|
|
77
|
+
mediaElement = index.h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" });
|
|
78
|
+
}
|
|
79
|
+
return (index.h(index.Host, { class: classMap }, index.h("div", { class: "parent" }, index.h("div", { class: `div1 image-container ${this.jumbotronType === 'text' ? 'hidden' : ''}` }, mediaElement), index.h("div", { class: "div2 content-container" }, index.h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), index.h("div", { class: "ptc-container content-layout" }, index.h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === 'text' ? 'center' : this.textAlign, styles: ":host{z-index: 999}" }, index.h("slot", { name: "breadcrumb" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("slot", { name: "main-title" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-para", { "font-size": this.jumbotronType === 'text' && this.isMobile ? 'x-small' : 'small', "font-weight": 'w-4', "para-margin": "margin-bottom-6", "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === 'text' ? 'center' : 'left' }, index.h("ptc-tooltip", { "text-lines": "8", description: this.subTitle, position: "right", styles: `.ellipsis-by-line-boxing{color: ${this.contentColor};}` })), index.h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === 'text' ? ' text-adjustment' : ''}` }, index.h("slot", { name: "j-cta" }))), this.hasPopupVideo ? index.h("slot", { name: "video" }) : null, this.jumbotronType === 'png' ? (index.h("div", { class: "desktop-media-image" }, index.h("ptc-picture", { "is-full-width": true, src: this.pngSrc }))) : null, this.jumbotronType === 'gif' ? (index.h("div", { class: "desktop-media-image desk-gif-adjustment" }, index.h("img", { src: this.gifSrc }))) : null)))));
|
|
80
|
+
}
|
|
81
|
+
getCssClassMap() {
|
|
82
|
+
return {
|
|
83
|
+
// [this.imageZIndex] : true
|
|
84
|
+
"text-jumbotron": this.jumbotronType === "text" ? true : false,
|
|
85
|
+
"png-jumbotron": this.jumbotronType === "png" ? true : false,
|
|
86
|
+
"gif-jumbotron": this.jumbotronType === "gif" ? true : false,
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
getContentBackground() {
|
|
90
|
+
if (window.innerWidth < 992) {
|
|
91
|
+
switch (this.jumbotronType) {
|
|
92
|
+
case 'light':
|
|
93
|
+
case 'light-video':
|
|
94
|
+
this.contentBackground = 'var(--color-white)';
|
|
95
|
+
this.contentColor = 'var(--color-gray-10)';
|
|
96
|
+
break;
|
|
97
|
+
case 'dark':
|
|
98
|
+
case 'dark-video':
|
|
99
|
+
this.contentBackground = 'var(--color-gray-09)';
|
|
100
|
+
this.contentColor = 'var(--color-gray-01)';
|
|
101
|
+
break;
|
|
102
|
+
default:
|
|
103
|
+
this.contentBackground = 'transparent';
|
|
104
|
+
this.contentColor = 'var(--color-gray-10)';
|
|
105
|
+
}
|
|
106
|
+
this.isMobile = true;
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
switch (this.jumbotronType) {
|
|
110
|
+
case 'light':
|
|
111
|
+
case 'light-video':
|
|
112
|
+
this.contentBackground = 'linear-gradient(90.19deg, rgba(255, 255, 255, 0.9) 62.55%, rgba(228, 231, 233, 0) 99.86%)';
|
|
113
|
+
this.contentColor = 'var(--color-gray-10)';
|
|
114
|
+
break;
|
|
115
|
+
case 'dark':
|
|
116
|
+
case 'dark-video':
|
|
117
|
+
this.contentBackground = 'linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%)';
|
|
118
|
+
this.contentColor = 'var(--color-gray-01)';
|
|
119
|
+
break;
|
|
120
|
+
case 'gif':
|
|
121
|
+
this.contentBackground = '#F3F3F3';
|
|
122
|
+
this.contentColor = 'var(--color-gray-10)';
|
|
123
|
+
break;
|
|
124
|
+
default:
|
|
125
|
+
this.contentBackground = 'transparent';
|
|
126
|
+
this.contentColor = 'var(--color-gray-10)';
|
|
127
|
+
}
|
|
128
|
+
this.isMobile = false;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
get el() { return index.getElement(this); }
|
|
132
|
+
};
|
|
133
133
|
PtcJumbotron.style = ptcJumbotronCss;
|
|
134
134
|
|
|
135
135
|
exports.ptc_breadcrumb = PtcBreadcrumb;
|