@ptcwebops/ptcw-design 6.3.38 → 6.3.40-beta
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/dist/cjs/academic-form-test.cjs.entry.js +24 -24
- package/dist/cjs/author-listing-example.cjs.entry.js +29 -31
- package/dist/cjs/blog-detail-content_2.cjs.entry.js +61 -66
- package/dist/cjs/blog-detail-layout.cjs.entry.js +12 -12
- package/dist/cjs/blogs-search-section.cjs.entry.js +48 -56
- package/dist/cjs/bundle-example.cjs.entry.js +2 -3
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +10 -23
- package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
- package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +3 -3
- package/dist/cjs/embedded-form.cjs.entry.js +27 -27
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +46 -53
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +4 -4
- package/dist/cjs/featured-events-slider-example.cjs.entry.js +6 -6
- package/dist/cjs/featured-list.cjs.entry.js +22 -30
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +16 -19
- package/dist/cjs/footer-form.cjs.entry.js +9 -9
- package/dist/cjs/homepage-clickable-tab.cjs.entry.js +8 -23
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +17 -28
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +21 -42
- package/dist/cjs/icon-asset.cjs.entry.js +18 -18
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +4 -4
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-mune.cjs.entry.js +3 -3
- package/dist/cjs/list-item.cjs.entry.js +8 -12
- package/dist/cjs/loader.cjs.js +1 -3
- package/dist/cjs/max-width-container.cjs.entry.js +4 -4
- package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
- package/dist/cjs/most-popular-news.cjs.entry.js +2 -2
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +17 -25
- package/dist/cjs/ptc-accordion.cjs.entry.js +10 -13
- package/dist/cjs/ptc-announcement.cjs.entry.js +15 -17
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +27 -29
- package/dist/cjs/ptc-background-video.cjs.entry.js +12 -14
- package/dist/cjs/ptc-badge.cjs.entry.js +3 -3
- package/dist/cjs/ptc-bio-card.cjs.entry.js +9 -13
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +8 -14
- package/dist/cjs/ptc-brightcov-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +87 -0
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +31 -57
- package/dist/cjs/ptc-card-content.cjs.entry.js +25 -35
- package/dist/cjs/ptc-card_2.cjs.entry.js +63 -116
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +40 -44
- package/dist/cjs/ptc-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/ptc-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +74 -87
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +57 -88
- package/dist/cjs/ptc-container.cjs.entry.js +10 -10
- package/dist/cjs/ptc-countdown.cjs.entry.js +75 -72
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +26 -63
- package/dist/cjs/ptc-date.cjs.entry.js +4 -4
- package/dist/cjs/ptc-dropdown.cjs.entry.js +19 -22
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +10 -15
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +27 -40
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +21 -30
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +7 -14
- package/dist/cjs/ptc-featured-list.cjs.entry.js +11 -9
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +68 -136
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +16 -128
- package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +32 -57
- package/dist/cjs/ptc-footer.cjs.entry.js +10 -12
- package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +891 -161
- package/dist/cjs/ptc-form-radio-button.cjs.entry.js +6 -6
- package/dist/cjs/ptc-form-radio-group.cjs.entry.js +7 -7
- package/dist/cjs/ptc-form.cjs.entry.js +35 -95
- package/dist/cjs/ptc-hero.cjs.entry.js +2 -5
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +2 -4
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +42 -69
- package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +4 -4
- package/dist/cjs/ptc-icon-card.cjs.entry.js +2 -4
- package/dist/cjs/ptc-icon-component.cjs.entry.js +11 -17
- package/dist/cjs/ptc-icon-list.cjs.entry.js +8 -7
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +27 -42
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +4 -6
- package/dist/cjs/ptc-img.cjs.entry.js +27 -31
- package/dist/cjs/ptc-info-tile.cjs.entry.js +6 -7
- package/dist/cjs/ptc-inline-cta.cjs.entry.js +31 -40
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +56 -88
- package/dist/cjs/ptc-link.cjs.entry.js +25 -29
- package/dist/cjs/ptc-list.cjs.entry.js +9 -9
- package/dist/cjs/ptc-media-card.cjs.entry.js +13 -31
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +5 -5
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +16 -22
- package/dist/cjs/ptc-modal-quiz.cjs.entry.js +20 -41
- package/dist/cjs/ptc-nav-card.cjs.entry.js +12 -6
- package/dist/cjs/ptc-nav-link.cjs.entry.js +6 -6
- package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +10 -10
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +18 -36
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +7 -4
- package/dist/cjs/ptc-news.cjs.entry.js +1 -1
- package/dist/cjs/ptc-office-location-card.cjs.entry.js +7 -7
- package/dist/cjs/ptc-office-locations.cjs.entry.js +71 -104
- package/dist/cjs/ptc-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ptc-para.cjs.entry.js +127 -0
- package/dist/cjs/ptc-picture.cjs.entry.js +162 -0
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +5 -9
- package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
- package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +107 -146
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +8 -10
- package/dist/cjs/ptc-product-card.cjs.entry.js +15 -14
- package/dist/cjs/ptc-product-category.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +8 -10
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +5 -5
- package/dist/cjs/ptc-product-list.cjs.entry.js +56 -68
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +38 -39
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +1 -2
- package/dist/cjs/ptc-quantity-counter.cjs.entry.js +11 -13
- package/dist/cjs/ptc-quote.cjs.entry.js +4 -6
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +7 -7
- package/dist/cjs/ptc-readmore-new.cjs.entry.js +19 -17
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +22 -22
- package/dist/cjs/ptc-readmore.cjs.entry.js +42 -48
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +71 -84
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +24 -25
- package/dist/cjs/ptc-search-field.cjs.entry.js +18 -29
- package/dist/cjs/ptc-seo-title.cjs.entry.js +8 -8
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +32 -34
- package/dist/cjs/ptc-skeleton.cjs.entry.js +3 -8
- package/dist/cjs/ptc-slit-card.cjs.entry.js +6 -10
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +2 -12
- package/dist/cjs/ptc-social-icons.cjs.entry.js +3 -3
- package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-span.cjs.entry.js +3 -3
- package/dist/cjs/ptc-square-card.cjs.entry.js +1 -5
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +1 -12
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +13 -13
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +7 -8
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav.cjs.entry.js +4 -4
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +3 -5
- package/dist/cjs/ptc-tab-list.cjs.entry.js +57 -65
- package/dist/cjs/ptc-tab.cjs.entry.js +2 -2
- package/dist/cjs/ptc-tabs.cjs.entry.js +6 -6
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +11 -22
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +10 -52
- package/dist/cjs/ptc-title.cjs.entry.js +152 -0
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +22 -28
- package/dist/cjs/ptc-tooltip-v3.cjs.entry.js +19 -24
- package/dist/cjs/ptc-tooltip.cjs.entry.js +23 -29
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-content.cjs.entry.js +2 -1
- package/dist/cjs/ptc-value-led-intro.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-layout.cjs.entry.js +48 -76
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +6 -9
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-video-embed.cjs.entry.js +19 -19
- package/dist/cjs/ptc-white-paper.cjs.entry.js +19 -28
- package/dist/cjs/ptcw-design.cjs.js +1 -3
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +15 -20
- package/dist/cjs/sequential-bundle.cjs.entry.js +1 -1
- package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +6 -6
- package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +6 -6
- package/dist/cjs/tab-content.cjs.entry.js +8 -10
- package/dist/cjs/tab-header.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/dropdown-item/dropdown-item.css +4 -8
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.css +4 -8
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +6 -6
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +12 -16
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +9 -24
- package/dist/collection/components/icon-asset/icon-asset.css +10 -26
- package/dist/collection/components/icon-asset/icon-asset.js +29 -29
- package/dist/collection/components/icon-asset/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +13 -109
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +5 -4
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +4 -8
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +2 -2
- package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.css +8 -16
- package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.js +4 -4
- package/dist/collection/components/list-item/list-item.css +4 -8
- package/dist/collection/components/list-item/list-item.js +14 -18
- package/dist/collection/components/max-width-container/max-width-container.js +7 -7
- package/dist/collection/components/my-component/my-component.js +2 -2
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +30 -32
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +6 -10
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.js +49 -58
- package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.css +4 -8
- package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.js +14 -14
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.css +4 -8
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +50 -58
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +3 -4
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +138 -147
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +22 -30
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +12 -25
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +5 -9
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +49 -56
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +10 -14
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +5 -5
- package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +4 -8
- package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.js +8 -8
- package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.css +5 -9
- package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.js +24 -24
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.css +6 -10
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +27 -27
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.css +6 -10
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +9 -9
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
- package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +36 -96
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +4 -8
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +26 -37
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +8 -12
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +22 -43
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.css +5 -9
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +6 -6
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.css +4 -8
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.js +1 -1
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +6 -10
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.js +5 -5
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.css +4 -8
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +4 -4
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +18 -23
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.js +7 -7
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +29 -54
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.js +7 -7
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +4 -8
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +21 -29
- package/dist/collection/components/ptc-accordion/ptc-accordion.css +9 -14
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +15 -18
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +4 -8
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +20 -22
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +4 -8
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +28 -30
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +4 -8
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +20 -22
- package/dist/collection/components/ptc-badge/ptc-badge.css +5 -10
- package/dist/collection/components/ptc-badge/ptc-badge.js +6 -6
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +14 -111
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +9 -13
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +4 -8
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +12 -18
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.css +4 -8
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +2 -2
- package/dist/collection/components/ptc-button/ptc-button.css +6 -110
- package/dist/collection/components/ptc-button/ptc-button.js +32 -80
- package/dist/collection/components/ptc-card/ptc-card.css +5 -11
- package/dist/collection/components/ptc-card/ptc-card.js +34 -100
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +4 -8
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +14 -20
- package/dist/collection/components/ptc-card-content/ptc-card-content.css +4 -8
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +28 -38
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +5 -9
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +21 -41
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +14 -109
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +41 -45
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +4 -8
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +15 -15
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.css +4 -8
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.js +7 -7
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.css +4 -8
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +2 -2
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +13 -46
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +61 -92
- package/dist/collection/components/ptc-container/ptc-container.css +4 -8
- package/dist/collection/components/ptc-container/ptc-container.js +19 -19
- package/dist/collection/components/ptc-countdown/ptc-countdown.css +4 -8
- package/dist/collection/components/ptc-countdown/ptc-countdown.js +86 -83
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.css +4 -8
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +32 -68
- package/dist/collection/components/ptc-date/ptc-date.css +4 -8
- package/dist/collection/components/ptc-date/ptc-date.js +9 -9
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +4 -8
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +22 -25
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +12 -23
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +15 -20
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +4 -8
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +29 -42
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +5 -9
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +22 -32
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +7 -11
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +9 -16
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.css +4 -8
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +2 -5
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +4 -8
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +15 -15
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.css +4 -8
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +2 -2
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +13 -109
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +11 -9
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +4 -20
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +14 -49
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +32 -149
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +17 -129
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +4 -8
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +18 -18
- package/dist/collection/components/ptc-footer/ptc-footer-v2.css +13 -26
- package/dist/collection/components/ptc-footer/ptc-footer.js +11 -13
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +6 -10
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +17 -21
- package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.css +4 -8
- package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.js +7 -7
- package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.css +4 -8
- package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.js +8 -8
- package/dist/collection/components/ptc-hero/ptc-hero.css +4 -8
- package/dist/collection/components/ptc-hero/ptc-hero.js +5 -8
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.css +5 -10
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +1 -1
- package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.css +4 -8
- package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.js +4 -6
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +8 -16
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +45 -72
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +4 -8
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +4 -6
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +4 -8
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +14 -19
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +4 -8
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +14 -13
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +4 -8
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +28 -43
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +4 -8
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +5 -7
- package/dist/collection/components/ptc-img/ptc-img.css +4 -8
- package/dist/collection/components/ptc-img/ptc-img.js +39 -43
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +8 -16
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +7 -26
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +5 -9
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.js +33 -42
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +14 -110
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +59 -91
- package/dist/collection/components/ptc-link/ptc-link.css +9 -16
- package/dist/collection/components/ptc-link/ptc-link.js +33 -37
- package/dist/collection/components/ptc-list/ptc-list.css +4 -8
- package/dist/collection/components/ptc-list/ptc-list.js +12 -12
- package/dist/collection/components/ptc-media-card/ptc-media-card.css +5 -9
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +19 -37
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +4 -8
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +10 -10
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +6 -12
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +21 -27
- package/dist/collection/components/ptc-modal/ptc-modal.css +8 -8
- package/dist/collection/components/ptc-modal/ptc-modal.js +82 -95
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +4 -8
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +21 -42
- package/dist/collection/components/ptc-multi-select/ptc-multi-select.css +7 -11
- package/dist/collection/components/ptc-multi-select/ptc-multi-select.js +50 -105
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +4 -8
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +15 -9
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.css +4 -8
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +1 -1
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +6 -10
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +10 -10
- package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.css +4 -8
- package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.js +2 -2
- package/dist/collection/components/ptc-news/ptc-news.css +4 -8
- package/dist/collection/components/ptc-news/ptc-news.js +2 -2
- package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.css +4 -8
- package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.js +12 -12
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.css +4 -8
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +81 -114
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +8 -12
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +6 -6
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +12 -25
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +20 -45
- package/dist/collection/components/ptc-para/ptc-para.css +7 -8
- package/dist/collection/components/ptc-para/ptc-para.js +50 -61
- package/dist/collection/components/ptc-picture/ptc-picture.css +4 -8
- package/dist/collection/components/ptc-picture/ptc-picture.js +49 -55
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +13 -109
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +2 -2
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.css +4 -8
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.js +6 -10
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +21 -136
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +37 -42
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +20 -8
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +28 -2
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +4 -8
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +4 -4
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.css +4 -8
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +4 -4
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +4 -8
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +4 -4
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +6 -10
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +109 -149
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +4 -8
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +10 -12
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +13 -109
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +15 -14
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +13 -109
- package/dist/collection/components/ptc-product-category/ptc-product-category.js +2 -2
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +4 -8
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +9 -11
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +13 -109
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +7 -7
- package/dist/collection/components/ptc-product-list/ptc-product-list.css +4 -8
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +57 -69
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +4 -8
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +40 -41
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.css +4 -8
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +2 -3
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +4 -8
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.js +14 -16
- package/dist/collection/components/ptc-quote/ptc-quote.css +5 -10
- package/dist/collection/components/ptc-quote/ptc-quote.js +8 -10
- package/dist/collection/components/ptc-readmore/ptc-readmore.css +4 -8
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +56 -62
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +13 -109
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +7 -7
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.css +4 -8
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.js +20 -18
- package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.css +4 -8
- package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.js +14 -10
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +13 -109
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.js +24 -24
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +4 -9
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +73 -107
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +2 -2
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.css +4 -8
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +28 -29
- package/dist/collection/components/ptc-search-field/ptc-search-field.css +4 -8
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +22 -32
- package/dist/collection/components/ptc-select/ptc-select.css +8 -12
- package/dist/collection/components/ptc-select/ptc-select.js +294 -300
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.css +4 -8
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +24 -24
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +4 -8
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +38 -40
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.css +4 -8
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.js +1 -1
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +4 -8
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +5 -10
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +4 -8
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +9 -13
- package/dist/collection/components/ptc-social-icons/ptc-social-icons.css +4 -8
- package/dist/collection/components/ptc-social-icons/ptc-social-icons.js +10 -10
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +4 -8
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +12 -22
- package/dist/collection/components/ptc-social-share/ptc-social-share.css +4 -8
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +35 -54
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +21 -21
- package/dist/collection/components/ptc-span/ptc-span.css +4 -8
- package/dist/collection/components/ptc-span/ptc-span.js +10 -10
- package/dist/collection/components/ptc-square-card/ptc-square-card.css +4 -8
- package/dist/collection/components/ptc-square-card/ptc-square-card.js +3 -7
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.css +4 -8
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +2 -13
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.css +4 -8
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +14 -14
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.css +4 -8
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +10 -11
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +4 -8
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +12 -14
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +4 -8
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +59 -67
- package/dist/collection/components/ptc-tabs/ptc-tab.js +3 -3
- package/dist/collection/components/ptc-tabs/ptc-tabs.css +4 -8
- package/dist/collection/components/ptc-tabs/ptc-tabs.js +7 -7
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +4 -8
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +16 -27
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +11 -80
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +107 -177
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +6 -16
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +7 -7
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +4 -23
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +12 -78
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.css +4 -8
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +28 -42
- package/dist/collection/components/ptc-title/ptc-title.css +4 -8
- package/dist/collection/components/ptc-title/ptc-title.js +64 -73
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +4 -8
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +37 -43
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +13 -109
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.js +28 -34
- package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.css +4 -8
- package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.js +27 -32
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.css +4 -8
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +3 -3
- package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.css +4 -8
- package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.js +2 -2
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.css +4 -8
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +3 -2
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.css +4 -8
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +1 -1
- package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.css +4 -8
- package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.js +2 -2
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.css +4 -8
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +49 -77
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +13 -109
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +6 -9
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +4 -8
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +4 -4
- package/dist/collection/components/ptc-video-embed/ptc-video-embed.css +4 -8
- package/dist/collection/components/ptc-video-embed/ptc-video-embed.js +23 -23
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +20 -126
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +19 -28
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +4 -8
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +8 -8
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +4 -8
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +19 -37
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +4 -8
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +8 -5
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +4 -8
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +6 -6
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.css +4 -8
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +2 -2
- package/dist/collection/components/tab-content/tab-content.css +5 -18
- package/dist/collection/components/tab-content/tab-content.js +9 -11
- package/dist/collection/components/tab-header/tab-header.css +5 -10
- package/dist/collection/components/tab-header/tab-header.js +6 -6
- package/dist/collection/stories/Checkbox.stories.js +45 -13
- package/dist/collection/stories/Hero.stories.js +107 -22
- package/dist/collection/stories/Select.stories.js +68 -17
- package/dist/collection/stories/SocialShare.stories.js +51 -67
- package/dist/collection/stories/TextCopyWithBackground.stories.js +220 -78
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
- package/dist/collection/utils/validation-messages.js +2 -49
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +3292 -4483
- package/dist/esm/academic-form-test.entry.js +24 -24
- package/dist/esm/author-listing-example.entry.js +29 -31
- package/dist/esm/blog-detail-content_2.entry.js +62 -67
- package/dist/esm/blog-detail-layout.entry.js +13 -13
- package/dist/esm/blogs-search-section.entry.js +49 -57
- package/dist/esm/bundle-example.entry.js +2 -3
- package/dist/esm/bundle-jumbotron-example.entry.js +10 -23
- package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +3 -3
- package/dist/esm/embedded-form.entry.js +27 -27
- package/dist/esm/event-jumbotron-example.entry.js +46 -53
- package/dist/esm/event-podcast-slider-example.entry.js +4 -4
- package/dist/esm/featured-events-slider-example.entry.js +6 -6
- package/dist/esm/featured-list.entry.js +22 -30
- package/dist/esm/fl-tab-content_3.entry.js +16 -19
- package/dist/esm/footer-form.entry.js +9 -9
- package/dist/esm/homepage-clickable-tab.entry.js +8 -23
- package/dist/esm/homepage-jumbotron.entry.js +18 -29
- package/dist/esm/homepage-toggled-content.entry.js +22 -43
- package/dist/esm/icon-asset.entry.js +18 -18
- package/dist/esm/innovator-toggle-container.entry.js +4 -4
- package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/jumbotron-sub-mune.entry.js +3 -3
- package/dist/esm/list-item.entry.js +8 -12
- package/dist/esm/loader.js +1 -3
- package/dist/esm/max-width-container.entry.js +4 -4
- package/dist/esm/modal-form-example.entry.js +90 -0
- package/dist/esm/most-popular-news.entry.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +18 -26
- package/dist/esm/ptc-accordion.entry.js +10 -13
- package/dist/esm/ptc-announcement.entry.js +15 -17
- package/dist/esm/ptc-back-to-top.entry.js +27 -29
- package/dist/esm/ptc-background-video.entry.js +13 -15
- package/dist/esm/ptc-badge.entry.js +3 -3
- package/dist/esm/ptc-bio-card.entry.js +9 -13
- package/dist/esm/ptc-breadcrumb.entry.js +8 -14
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +83 -0
- package/dist/esm/ptc-card-bottom_2.entry.js +31 -57
- package/dist/esm/ptc-card-content.entry.js +25 -35
- package/dist/esm/ptc-card_2.entry.js +63 -116
- package/dist/esm/ptc-case-studies-slider.entry.js +40 -44
- package/dist/esm/ptc-checkbox-group.entry.js +4 -4
- package/dist/esm/ptc-checkbox.entry.js +12 -12
- package/dist/esm/ptc-close-icon_2.entry.js +74 -87
- package/dist/esm/ptc-collapse-list.entry.js +58 -89
- package/dist/esm/ptc-container.entry.js +10 -10
- package/dist/esm/ptc-countdown.entry.js +75 -72
- package/dist/esm/ptc-data-lookup.entry.js +26 -63
- package/dist/esm/ptc-date.entry.js +4 -4
- package/dist/esm/ptc-dropdown.entry.js +19 -22
- package/dist/esm/ptc-dynamic-card.entry.js +10 -15
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +27 -40
- package/dist/esm/ptc-embedded-quiz.entry.js +21 -30
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +7 -14
- package/dist/esm/ptc-featured-list.entry.js +11 -9
- package/dist/esm/ptc-filter-dropdown_4.entry.js +68 -136
- package/dist/esm/ptc-filter-level-theater.entry.js +16 -128
- package/dist/esm/ptc-filter-tag_2.entry.js +32 -57
- package/dist/esm/ptc-footer.entry.js +10 -12
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +890 -162
- package/dist/esm/ptc-form-radio-button.entry.js +6 -6
- package/dist/esm/ptc-form-radio-group.entry.js +7 -7
- package/dist/esm/ptc-form.entry.js +35 -95
- package/dist/esm/ptc-hero.entry.js +2 -5
- package/dist/esm/ptc-homepage-image-feature.entry.js +3 -5
- package/dist/esm/ptc-homepage-video-background.entry.js +43 -70
- package/dist/esm/ptc-icon-card-slider-example.entry.js +4 -4
- package/dist/esm/ptc-icon-card.entry.js +3 -5
- package/dist/esm/ptc-icon-component.entry.js +11 -17
- package/dist/esm/ptc-icon-list.entry.js +8 -7
- package/dist/esm/ptc-icon-minimize.entry.js +27 -42
- package/dist/esm/ptc-image-download-strip.entry.js +4 -6
- package/dist/esm/ptc-img.entry.js +28 -32
- package/dist/esm/ptc-info-tile.entry.js +6 -7
- package/dist/esm/ptc-inline-cta.entry.js +31 -40
- package/dist/esm/ptc-jumbotron.entry.js +56 -88
- package/dist/esm/ptc-link.entry.js +26 -30
- package/dist/esm/ptc-list.entry.js +9 -9
- package/dist/esm/ptc-media-card.entry.js +14 -32
- package/dist/esm/ptc-minimized-nav.entry.js +5 -5
- package/dist/esm/ptc-mobile-select.entry.js +16 -22
- package/dist/esm/ptc-modal-quiz.entry.js +20 -41
- package/dist/esm/ptc-nav-card.entry.js +12 -6
- package/dist/esm/ptc-nav-link.entry.js +6 -6
- package/dist/esm/ptc-nav-skip-to-content.entry.js +10 -10
- package/dist/esm/ptc-nav-slider.entry.js +18 -36
- package/dist/esm/ptc-nav-submenu.entry.js +7 -4
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +7 -7
- package/dist/esm/ptc-office-locations.entry.js +71 -104
- package/dist/esm/ptc-overlay.entry.js +2 -2
- package/dist/esm/ptc-para.entry.js +123 -0
- package/dist/esm/ptc-picture.entry.js +158 -0
- package/dist/esm/ptc-podcast-card.entry.js +2 -2
- package/dist/esm/ptc-preferance-center-form.entry.js +5 -9
- package/dist/esm/ptc-previous-url.entry.js +10 -2
- package/dist/esm/ptc-pricing-add-on-card.entry.js +3 -3
- package/dist/esm/ptc-pricing-add-on-section.entry.js +3 -3
- package/dist/esm/ptc-pricing-block.entry.js +3 -3
- package/dist/esm/ptc-pricing-packaging-table.entry.js +108 -147
- package/dist/esm/ptc-pricing-tabs.entry.js +9 -11
- package/dist/esm/ptc-product-card.entry.js +15 -14
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +8 -10
- package/dist/esm/ptc-product-highlight-card.entry.js +5 -5
- package/dist/esm/ptc-product-list.entry.js +56 -68
- package/dist/esm/ptc-product-sidebar.entry.js +38 -39
- package/dist/esm/ptc-progress-bar.entry.js +1 -2
- package/dist/esm/ptc-quantity-counter.entry.js +11 -13
- package/dist/esm/ptc-quote.entry.js +4 -6
- package/dist/esm/ptc-readmore-char.entry.js +7 -7
- package/dist/esm/ptc-readmore-new.entry.js +19 -17
- package/dist/esm/ptc-readmore-v3.entry.js +22 -22
- package/dist/esm/ptc-readmore.entry.js +42 -48
- package/dist/esm/ptc-related-card-rail.entry.js +71 -84
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-scroll-button.entry.js +24 -25
- package/dist/esm/ptc-search-field.entry.js +18 -29
- package/dist/esm/ptc-seo-title.entry.js +8 -8
- package/dist/esm/ptc-shopping-cart.entry.js +32 -34
- package/dist/esm/ptc-skeleton.entry.js +3 -8
- package/dist/esm/ptc-slit-card.entry.js +6 -10
- package/dist/esm/ptc-social-icons-footer.entry.js +3 -13
- package/dist/esm/ptc-social-icons.entry.js +3 -3
- package/dist/esm/ptc-spacer.entry.js +34 -0
- package/dist/esm/ptc-span.entry.js +3 -3
- package/dist/esm/ptc-square-card.entry.js +1 -5
- package/dist/esm/ptc-sticky-icons.entry.js +1 -12
- package/dist/esm/ptc-sticky-section.entry.js +13 -13
- package/dist/esm/ptc-sticky-title.entry.js +7 -8
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +4 -4
- package/dist/esm/ptc-svg-btn.entry.js +3 -5
- package/dist/esm/ptc-tab-list.entry.js +57 -65
- package/dist/esm/ptc-tab.entry.js +2 -2
- package/dist/esm/ptc-tabs.entry.js +6 -6
- package/dist/esm/ptc-text-copy-with-background.entry.js +12 -23
- package/dist/esm/ptc-theater-video-modal.entry.js +11 -53
- package/dist/esm/ptc-title.entry.js +148 -0
- package/dist/esm/ptc-tooltip-v2.entry.js +22 -28
- package/dist/esm/ptc-tooltip-v3.entry.js +19 -24
- package/dist/esm/ptc-tooltip.entry.js +23 -29
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptc-value-led-card.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +2 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +48 -76
- package/dist/esm/ptc-value-led-speed-bump.entry.js +6 -9
- package/dist/esm/ptc-value-prop-card.entry.js +2 -2
- package/dist/esm/ptc-video-embed.entry.js +19 -19
- package/dist/esm/ptc-white-paper.entry.js +19 -28
- package/dist/esm/ptcw-design.js +1 -3
- package/dist/esm/sequential-bundle-example.entry.js +15 -20
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +6 -6
- package/dist/esm/storefront-enhanced-product-list-example.entry.js +6 -6
- package/dist/esm/tab-content.entry.js +8 -10
- package/dist/esm/tab-header.entry.js +5 -5
- package/dist/esm/{utils-7c68b88a.js → utils-2f12c081.js} +1 -1
- package/dist/ptcw-design/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
- package/dist/ptcw-design/{p-e93714e9.entry.js → p-008307a6.entry.js} +1 -1
- package/dist/ptcw-design/p-0529caaa.entry.js +1 -0
- package/dist/ptcw-design/p-077839d5.entry.js +1 -0
- package/dist/ptcw-design/{p-f7c47857.entry.js → p-0b515839.entry.js} +1 -1
- package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
- package/dist/ptcw-design/p-0e5932f0.entry.js +1 -0
- package/dist/ptcw-design/p-0ef61b44.entry.js +1 -0
- package/dist/ptcw-design/{p-62abacfe.entry.js → p-14b7693f.entry.js} +1 -1
- package/dist/ptcw-design/p-1e3bf09c.entry.js +1 -0
- package/dist/ptcw-design/p-1eb40265.entry.js +1 -0
- package/dist/ptcw-design/p-21aa746d.entry.js +1 -0
- package/dist/ptcw-design/{p-673cfd2e.entry.js → p-257267e3.entry.js} +1 -1
- package/dist/ptcw-design/p-282b7d4e.entry.js +1 -0
- package/dist/ptcw-design/{p-cced4ea1.entry.js → p-297a14cb.entry.js} +1 -1
- package/dist/ptcw-design/p-2a20d4a6.entry.js +1 -0
- package/dist/ptcw-design/p-2cc7e2a8.entry.js +1 -0
- package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
- package/dist/ptcw-design/p-3dd0ded9.entry.js +1 -0
- package/dist/ptcw-design/{p-5ca42138.entry.js → p-3ed4a7ed.entry.js} +1 -1
- package/dist/ptcw-design/p-3ee2a531.entry.js +1 -0
- package/dist/ptcw-design/p-445329ed.entry.js +1 -0
- package/dist/ptcw-design/{p-16d47ac5.entry.js → p-45b1f3fc.entry.js} +1 -1
- package/dist/ptcw-design/{p-03062b58.entry.js → p-4702c233.entry.js} +1 -1
- package/dist/ptcw-design/{p-1c99b808.entry.js → p-4ca956c1.entry.js} +1 -1
- package/dist/ptcw-design/{p-55e344bc.entry.js → p-52e17d34.entry.js} +1 -1
- package/dist/ptcw-design/p-5311c6e1.entry.js +1 -0
- package/dist/ptcw-design/p-58e91cb8.entry.js +1 -0
- package/dist/ptcw-design/p-672a349f.js +336 -0
- package/dist/ptcw-design/{p-9354b7fd.entry.js → p-68ed2afe.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
- package/dist/ptcw-design/{p-9e4e21a4.entry.js → p-71360e29.entry.js} +1 -1
- package/dist/ptcw-design/p-75390f63.entry.js +1 -0
- package/dist/ptcw-design/{p-e813ea2b.entry.js → p-76dab076.entry.js} +1 -1
- package/dist/ptcw-design/p-799afee5.entry.js +1 -0
- package/dist/ptcw-design/p-7bdf1e64.entry.js +1 -0
- package/dist/ptcw-design/{p-d77531c8.entry.js → p-7cc9255e.entry.js} +1 -1
- package/dist/ptcw-design/p-7f9ad266.entry.js +1 -0
- package/dist/ptcw-design/{p-826c17e8.js → p-80122e26.js} +1 -1
- package/dist/ptcw-design/p-845d10b5.entry.js +1 -0
- package/dist/ptcw-design/{p-36ee2e12.entry.js → p-8521fdd4.entry.js} +1 -1
- package/dist/ptcw-design/p-85bdb2d5.entry.js +68 -0
- package/dist/ptcw-design/{p-a5ad0eff.entry.js → p-8c121480.entry.js} +1 -1
- package/dist/ptcw-design/{p-5bd8b4be.entry.js → p-8cea8943.entry.js} +1 -1
- package/dist/ptcw-design/{p-94be2c9a.entry.js → p-8e42a22d.entry.js} +1 -1
- package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
- package/dist/ptcw-design/{p-0252726c.entry.js → p-901c31b3.entry.js} +1 -1
- package/dist/ptcw-design/p-9501995f.entry.js +1 -0
- package/dist/ptcw-design/{p-884c335c.entry.js → p-99355e65.entry.js} +1 -1
- package/dist/ptcw-design/{p-e03d7060.entry.js → p-9d3a7f36.entry.js} +1 -1
- package/dist/ptcw-design/{p-2ba1ef9d.entry.js → p-9dbcfcee.entry.js} +1 -1
- package/dist/ptcw-design/p-9df7489b.entry.js +1 -0
- package/dist/ptcw-design/{p-ee91170c.entry.js → p-a2c7df64.entry.js} +1 -1
- package/dist/ptcw-design/p-a59c9cdc.entry.js +1 -0
- package/dist/ptcw-design/{p-24a6eefa.entry.js → p-a5fc048f.entry.js} +1 -1
- package/dist/ptcw-design/p-a8872ce3.entry.js +1 -0
- package/dist/ptcw-design/{p-1a9b9a53.entry.js → p-b647f7a1.entry.js} +1 -1
- package/dist/ptcw-design/p-b685a641.entry.js +1 -0
- package/dist/ptcw-design/{p-f5d8a3b1.entry.js → p-bab5bb88.entry.js} +1 -1
- package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
- package/dist/ptcw-design/{p-e01173ca.entry.js → p-bf56d5a3.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f4f97a6.entry.js → p-c8f68292.entry.js} +1 -1
- package/dist/ptcw-design/{p-ce121fb3.entry.js → p-cc677723.entry.js} +1 -1
- package/dist/ptcw-design/{p-80588c84.entry.js → p-d51438de.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac766cb3.entry.js → p-d66debb3.entry.js} +1 -1
- package/dist/ptcw-design/{p-2a3c8a30.entry.js → p-d73cc053.entry.js} +1 -1
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/{p-1bffeaed.entry.js → p-dfb400ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-2c8faf9a.entry.js → p-e43c30c9.entry.js} +1 -1
- package/dist/ptcw-design/p-e4eb925f.entry.js +1 -0
- package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
- package/dist/ptcw-design/{p-8b480abd.entry.js → p-e90fbbad.entry.js} +1 -1
- package/dist/ptcw-design/p-f1734520.entry.js +1 -0
- package/dist/ptcw-design/{p-0ddf2a09.entry.js → p-f867ebe6.entry.js} +1 -1
- package/dist/ptcw-design/{p-5e4c1edf.entry.js → p-fd87fcd5.entry.js} +1 -1
- package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
- package/dist/ptcw-design/p-fe907670.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -8
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/homepage-clickable-tab/homepage-clickable-tab.d.ts +1 -1
- package/dist/types/components/icon-asset/icon-asset.d.ts +6 -6
- package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +2 -2
- package/dist/types/components/jumbotron-sub-menu/jumbotron-sub-menu.d.ts +1 -1
- package/dist/types/components/list-item/list-item.d.ts +2 -2
- package/dist/types/components/max-width-container/max-width-container.d.ts +1 -1
- package/dist/types/components/organism-bundles/blog-detail-content/blog-detail-content.d.ts +1 -1
- package/dist/types/components/organism-bundles/blog-detail-layout/blog-detail-layout.d.ts +1 -1
- package/dist/types/components/organism-bundles/blogs-search-section/blogs-search-section.d.ts +1 -1
- package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.d.ts +2 -2
- package/dist/types/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +2 -2
- package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.d.ts +1 -1
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +1 -1
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +2 -2
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +3 -3
- package/dist/types/components/ptc-badge/ptc-badge.d.ts +1 -1
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +2 -2
- package/dist/types/components/ptc-button/ptc-button.d.ts +11 -12
- package/dist/types/components/ptc-card/ptc-card.d.ts +3 -4
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +2 -2
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +3 -3
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -2
- package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +1 -1
- package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +2 -2
- package/dist/types/components/ptc-checkbox-group/ptc-checkbox-group.d.ts +1 -1
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +1 -1
- package/dist/types/components/ptc-container/ptc-container.d.ts +4 -4
- package/dist/types/components/ptc-countdown/ptc-countdown.d.ts +1 -0
- package/dist/types/components/ptc-date/ptc-date.d.ts +2 -2
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +2 -2
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +3 -3
- package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +1 -1
- package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +5 -5
- package/dist/types/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.d.ts +2 -2
- package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +1 -1
- package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +2 -3
- package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +1 -1
- package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +4 -4
- package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +4 -4
- package/dist/types/components/ptc-form-radio-button/ptc-form-radio-button.d.ts +1 -1
- package/dist/types/components/ptc-form-radio-group/ptc-form-radio-group.d.ts +1 -1
- package/dist/types/components/ptc-hero/ptc-hero.d.ts +2 -2
- package/dist/types/components/ptc-homepage-video-background/ptc-homepage-video-background.d.ts +1 -1
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +1 -1
- package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +9 -9
- package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +4 -4
- package/dist/types/components/ptc-img/ptc-img.d.ts +5 -5
- package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +2 -3
- package/dist/types/components/ptc-inline-cta/ptc-inline-cta.d.ts +1 -1
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +1 -2
- package/dist/types/components/ptc-link/ptc-link.d.ts +4 -4
- package/dist/types/components/ptc-list/ptc-list.d.ts +1 -1
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +2 -2
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +2 -2
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +5 -5
- package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +3 -3
- package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +2 -2
- package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +11 -11
- package/dist/types/components/ptc-news/ptc-news.d.ts +6 -6
- package/dist/types/components/ptc-office-location-card/ptc-office-location-card.d.ts +1 -1
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +3 -3
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +2 -2
- package/dist/types/components/ptc-para/ptc-para.d.ts +13 -13
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +7 -7
- package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +4 -4
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +2 -2
- package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +4 -4
- package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +2 -2
- package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +2 -2
- package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +9 -9
- package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +1 -1
- package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +10 -10
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +1 -1
- package/dist/types/components/ptc-quantity-counter/ptc-quantity-counter.d.ts +1 -1
- package/dist/types/components/ptc-quote/ptc-quote.d.ts +1 -1
- package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +23 -23
- package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +1 -1
- package/dist/types/components/ptc-readmore-new/ptc-readmore-new.d.ts +1 -1
- package/dist/types/components/ptc-readmore-v2/ptc-readmore-v2.d.ts +1 -1
- package/dist/types/components/ptc-readmore-v3/ptc-readmore-v3.d.ts +1 -1
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +1 -4
- package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +2 -2
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +2 -2
- package/dist/types/components/ptc-select/ptc-select.d.ts +4 -5
- package/dist/types/components/ptc-seo-title/ptc-seo-title.d.ts +10 -10
- package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +1 -1
- package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +8 -8
- package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +11 -11
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +3 -3
- package/dist/types/components/ptc-span/ptc-span.d.ts +3 -3
- package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +1 -1
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +1 -1
- package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +3 -3
- package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +1 -1
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +19 -21
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +7 -7
- package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +2 -2
- package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +1 -6
- package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +1 -1
- package/dist/types/components/ptc-title/ptc-title.d.ts +15 -15
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +6 -6
- package/dist/types/components/ptc-tooltip-v2/ptc-tooltip-v2.d.ts +3 -3
- package/dist/types/components/ptc-tooltip-v3/ptc-tooltip-v3.d.ts +7 -7
- package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +1 -1
- package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +2 -2
- package/dist/types/components/ptc-video-embed/ptc-video-embed.d.ts +1 -1
- package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +2 -2
- package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +1 -1
- package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +1 -1
- package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +6 -6
- package/dist/types/components/tab-header/tab-header.d.ts +3 -3
- package/dist/types/components.d.ts +602 -1093
- package/dist/types/utils/validation-messages.d.ts +123 -4
- package/package.json +2 -4
- package/readme.md +5 -1
- package/dist/cjs/component-1b8ad4d2.js +0 -1819
- package/dist/cjs/global-418c14b4.js +0 -33
- package/dist/cjs/ptc-button_5.cjs.entry.js +0 -597
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
- package/dist/cjs/validation-messages-f1d373e7.js +0 -172
- package/dist/collection/global/global.js +0 -7
- package/dist/collection/stories/Breadcrumb2.stories.js +0 -62
- package/dist/collection/stories/BrightcovVideo.stories.js +0 -21
- package/dist/collection/stories/CheckboxGroup.stories.js +0 -27
- package/dist/collection/stories/CloseIcon.stories.js +0 -10
- package/dist/collection/stories/CollapseList.stories.js +0 -14
- package/dist/collection/stories/Countdown.stories.js +0 -10
- package/dist/collection/stories/DataLookup.stories.js +0 -21
- package/dist/collection/stories/EllipsisDropdown.stories.js +0 -14
- package/dist/collection/stories/HeroFooterCTA.stories.js +0 -21
- package/dist/collection/stories/MinimizedFooter.stories.js +0 -18
- package/dist/collection/stories/MultiSelect.stories.js +0 -10
- package/dist/collection/stories/ResponsiveWrapper.stories.js +0 -21
- package/dist/collection/stories/ScrollButton.stories.js +0 -14
- package/dist/collection/stories/SearchField.stories.js +0 -21
- package/dist/collection/stories/SvgBtn.stories.js +0 -36
- package/dist/collection/stories/TheaterVideo.stories.js +0 -21
- package/dist/collection/stories/VideoEmbed.stories.js +0 -10
- package/dist/collection/stories/backToTop.stories.js +0 -10
- package/dist/collection/stories/backgroundVideo.stories.js +0 -115
- package/dist/collection/stories/jumbotronSubMenu.stories.js +0 -14
- package/dist/collection/stories/organisms/ptc/Academic Form/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/All Products/preview.stories.js +0 -1616
- package/dist/collection/stories/organisms/ptc/Announcement/preview.stories.js +0 -58
- package/dist/collection/stories/organisms/ptc/Background Video/preview.stories.js +0 -58
- package/dist/collection/stories/organisms/ptc/Blog Author Listing/preview.stories.js +0 -32
- package/dist/collection/stories/organisms/ptc/Blog Content/preview.stories.js +0 -317
- package/dist/collection/stories/organisms/ptc/Blog Detail/preview.stories.js +0 -500
- package/dist/collection/stories/organisms/ptc/Blogs Listing Page/preview.stories.js +0 -368
- package/dist/collection/stories/organisms/ptc/Bureau New Dynamic/preview.stories.js +0 -54
- package/dist/collection/stories/organisms/ptc/Case Studies/preview.stories.js +0 -243
- package/dist/collection/stories/organisms/ptc/Case Studies Detail Page/preview.stories.js +0 -456
- package/dist/collection/stories/organisms/ptc/Case Studies Slider/preview.stories.js +0 -384
- package/dist/collection/stories/organisms/ptc/Case Studies Slider New/preview.stories.js +0 -171
- package/dist/collection/stories/organisms/ptc/Clq Modal Quiz/preview.stories.js +0 -100
- package/dist/collection/stories/organisms/ptc/Contact Free Trial Form/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/Countdown Example/preview.stories.js +0 -29
- package/dist/collection/stories/organisms/ptc/E Store Build Listing/preview.stories.js +0 -543
- package/dist/collection/stories/organisms/ptc/E Store Build Product/preview.stories.js +0 -427
- package/dist/collection/stories/organisms/ptc/Eloqua Library Contact Info/preview.stories.js +0 -168
- package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor PCenter/preview.stories.js +0 -60
- package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor Recipient Id/preview.stories.js +0 -59
- package/dist/collection/stories/organisms/ptc/Embedded Form/preview.stories.js +0 -23
- package/dist/collection/stories/organisms/ptc/Embedded Form Floating/preview.stories.js +0 -165
- package/dist/collection/stories/organisms/ptc/Event Detail/preview.stories.js +0 -16
- package/dist/collection/stories/organisms/ptc/Event Jumbotron/preview.stories.js +0 -470
- package/dist/collection/stories/organisms/ptc/Event Podcast Slider/preview.stories.js +0 -142
- package/dist/collection/stories/organisms/ptc/Events Listing Cards/preview.stories.js +0 -169
- package/dist/collection/stories/organisms/ptc/Events Listing Cards Horizontal/preview.stories.js +0 -169
- package/dist/collection/stories/organisms/ptc/Featured Events Slider/preview.stories.js +0 -165
- package/dist/collection/stories/organisms/ptc/Featured List/preview.stories.js +0 -16
- package/dist/collection/stories/organisms/ptc/Filter Level Theater/preview.stories.js +0 -18
- package/dist/collection/stories/organisms/ptc/Five Card Value Prop/preview.stories.js +0 -64
- package/dist/collection/stories/organisms/ptc/Footer Form/preview.stories.js +0 -18
- package/dist/collection/stories/organisms/ptc/Footer V2/preview.stories.js +0 -138
- package/dist/collection/stories/organisms/ptc/Footer V2 Cn/preview.stories.js +0 -146
- package/dist/collection/stories/organisms/ptc/Form Radio Button/preview.stories.js +0 -42
- package/dist/collection/stories/organisms/ptc/Framed Video 16 9/preview.stories.js +0 -31
- package/dist/collection/stories/organisms/ptc/Homepage Image Feature/preview.stories.js +0 -41
- package/dist/collection/stories/organisms/ptc/Homepage Jumbotron/preview.stories.js +0 -166
- package/dist/collection/stories/organisms/ptc/Homepage Toggled Content/preview.stories.js +0 -227
- package/dist/collection/stories/organisms/ptc/Hub Of Hubs/preview.stories.js +0 -417
- package/dist/collection/stories/organisms/ptc/Intro/preview.stories.js +0 -41
- package/dist/collection/stories/organisms/ptc/Jumbotron/preview.stories.js +0 -431
- package/dist/collection/stories/organisms/ptc/Jumbotron With Logos/preview.stories.js +0 -431
- package/dist/collection/stories/organisms/ptc/Large Bulleted List/preview.stories.js +0 -224
- package/dist/collection/stories/organisms/ptc/Large Bulleted List V2/preview.stories.js +0 -326
- package/dist/collection/stories/organisms/ptc/Listing Filter/preview.stories.js +0 -256
- package/dist/collection/stories/organisms/ptc/Main Nav Product Solutions Tab/preview.stories.js +0 -200
- package/dist/collection/stories/organisms/ptc/Mathcad Start Page/preview.stories.js +0 -100
- package/dist/collection/stories/organisms/ptc/Media Kit Speed Bump/preview.stories.js +0 -39
- package/dist/collection/stories/organisms/ptc/Most Popular News/preview.stories.js +0 -28
- package/dist/collection/stories/organisms/ptc/Mvc Form/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/New Buttons/preview.stories.js +0 -125
- package/dist/collection/stories/organisms/ptc/Partners Detail/preview.stories.js +0 -151
- package/dist/collection/stories/organisms/ptc/Partners Listing/preview.stories.js +0 -394
- package/dist/collection/stories/organisms/ptc/Pdf Portal/preview.stories.js +0 -140
- package/dist/collection/stories/organisms/ptc/Plm On Demand 1/preview.stories.js +0 -205
- package/dist/collection/stories/organisms/ptc/Plm On Demand 2/preview.stories.js +0 -180
- package/dist/collection/stories/organisms/ptc/Podcast List/preview.stories.js +0 -175
- package/dist/collection/stories/organisms/ptc/Preference Center/preview.stories.js +0 -235
- package/dist/collection/stories/organisms/ptc/Preference Center Exit Page/preview.stories.js +0 -85
- package/dist/collection/stories/organisms/ptc/Preference Center Update Email/preview.stories.js +0 -54
- package/dist/collection/stories/organisms/ptc/Preference Center Update Personal Info/preview.stories.js +0 -59
- package/dist/collection/stories/organisms/ptc/Pricing Packaging Table/preview.stories.js +0 -399
- package/dist/collection/stories/organisms/ptc/Pricing Packaging Table Subnav/preview.stories.js +0 -179
- package/dist/collection/stories/organisms/ptc/Ptc 3 Card Value Prop/preview.stories.js +0 -46
- package/dist/collection/stories/organisms/ptc/Ptc Bio Cards/preview.stories.js +0 -741
- package/dist/collection/stories/organisms/ptc/Ptc Creo Start Page/preview.stories.js +0 -111
- package/dist/collection/stories/organisms/ptc/Ptc Editorial/preview.stories.js +0 -84
- package/dist/collection/stories/organisms/ptc/Ptc Form/preview.stories.js +0 -18
- package/dist/collection/stories/organisms/ptc/Ptc Icon Card Slider/preview.stories.js +0 -121
- package/dist/collection/stories/organisms/ptc/Ptc Icon Component/preview.stories.js +0 -185
- package/dist/collection/stories/organisms/ptc/Ptc Icon Sprites/preview.stories.js +0 -150
- package/dist/collection/stories/organisms/ptc/Ptc Innovator Toggle/preview.stories.js +0 -421
- package/dist/collection/stories/organisms/ptc/Ptc Media Cards/preview.stories.js +0 -133
- package/dist/collection/stories/organisms/ptc/Ptc News Detail/preview.stories.js +0 -142
- package/dist/collection/stories/organisms/ptc/Ptc News Detail Alternate/preview.stories.js +0 -140
- package/dist/collection/stories/organisms/ptc/Ptc Offices/preview.stories.js +0 -405
- package/dist/collection/stories/organisms/ptc/Ptc Readmore V3/preview.stories.js +0 -71
- package/dist/collection/stories/organisms/ptc/Ptc Showcase Card/preview.stories.js +0 -177
- package/dist/collection/stories/organisms/ptc/Ptc Sticky Share Icons/preview.stories.js +0 -184
- package/dist/collection/stories/organisms/ptc/Ptc Subnav V1/preview.stories.js +0 -149
- package/dist/collection/stories/organisms/ptc/Ptc Subnav V2/preview.stories.js +0 -91
- package/dist/collection/stories/organisms/ptc/Ptc Text Copy With Background/preview.stories.js +0 -226
- package/dist/collection/stories/organisms/ptc/Ptc Title Demo/preview.stories.js +0 -24
- package/dist/collection/stories/organisms/ptc/Ptc Tooltip V3/preview.stories.js +0 -85
- package/dist/collection/stories/organisms/ptc/Ptc Two Column Two Media/preview.stories.js +0 -126
- package/dist/collection/stories/organisms/ptc/Read More/preview.stories.js +0 -278
- package/dist/collection/stories/organisms/ptc/Related Cards/preview.stories.js +0 -107
- package/dist/collection/stories/organisms/ptc/Resource Center/preview.stories.js +0 -149
- package/dist/collection/stories/organisms/ptc/Search Result/preview.stories.js +0 -62
- package/dist/collection/stories/organisms/ptc/Search Result News/preview.stories.js +0 -72
- package/dist/collection/stories/organisms/ptc/Searchbar Plm On Demand/preview.stories.js +0 -62
- package/dist/collection/stories/organisms/ptc/Seo Test/preview.stories.js +0 -215
- package/dist/collection/stories/organisms/ptc/Sequential Slider/preview.stories.js +0 -38
- package/dist/collection/stories/organisms/ptc/Sequential Slider Mobile/preview.stories.js +0 -90
- package/dist/collection/stories/organisms/ptc/Shortform Agileworx/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/Storefront Enhanced Product Listing/preview.stories.js +0 -132
- package/dist/collection/stories/organisms/ptc/Success Path Details Page/preview.stories.js +0 -236
- package/dist/collection/stories/organisms/ptc/Three Column Text/preview.stories.js +0 -75
- package/dist/collection/stories/organisms/ptc/Three Up Text Cards/preview.stories.js +0 -134
- package/dist/collection/stories/organisms/ptc/Two Column Media/preview.stories.js +0 -181
- package/dist/collection/stories/organisms/ptc/Two Column With Toggle/preview.stories.js +0 -549
- package/dist/collection/stories/organisms/ptc/Value Led Resource/preview.stories.js +0 -479
- package/dist/collection/stories/organisms/ptc/Volvo Three Col/preview.stories.js +0 -115
- package/dist/collection/stories/organisms/ptc/Vuforia Quiz/preview.stories.js +0 -26
- package/dist/collection/stories/organisms/ptc/White Paper/preview.stories.js +0 -174
- package/dist/collection/stories/ptcLink2.stories.js +0 -142
- package/dist/collection/utils/fef-logger.js +0 -23
- package/dist/esm/component-9beac35b.js +0 -1802
- package/dist/esm/global-1a5f28d5.js +0 -31
- package/dist/esm/ptc-button_5.entry.js +0 -589
- package/dist/esm/ptc-multi-select_2.entry.js +0 -725
- package/dist/esm/validation-messages-1379b825.js +0 -169
- package/dist/ptcw-design/p-009fbf1f.entry.js +0 -1
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-056748b3.entry.js +0 -1
- package/dist/ptcw-design/p-0efedf59.js +0 -1
- package/dist/ptcw-design/p-1f15239e.entry.js +0 -1
- package/dist/ptcw-design/p-2336e8d2.entry.js +0 -68
- package/dist/ptcw-design/p-2bfd8371.entry.js +0 -1
- package/dist/ptcw-design/p-2e6e2a9d.entry.js +0 -1
- package/dist/ptcw-design/p-31a131c0.entry.js +0 -1
- package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
- package/dist/ptcw-design/p-3b9fbbaa.js +0 -1
- package/dist/ptcw-design/p-467745cb.entry.js +0 -1
- package/dist/ptcw-design/p-4b41fe4e.entry.js +0 -1
- package/dist/ptcw-design/p-4d11aafc.entry.js +0 -1
- package/dist/ptcw-design/p-4f0b8ca2.entry.js +0 -1
- package/dist/ptcw-design/p-56a73429.entry.js +0 -1
- package/dist/ptcw-design/p-5dec76bd.entry.js +0 -1
- package/dist/ptcw-design/p-605b13a2.entry.js +0 -1
- package/dist/ptcw-design/p-63b3bcbe.entry.js +0 -1
- package/dist/ptcw-design/p-64026649.entry.js +0 -1
- package/dist/ptcw-design/p-656e8773.entry.js +0 -1
- package/dist/ptcw-design/p-66ecd7b9.entry.js +0 -1
- package/dist/ptcw-design/p-78370e3d.entry.js +0 -1
- package/dist/ptcw-design/p-9681188f.entry.js +0 -1
- package/dist/ptcw-design/p-98426799.js +0 -203
- package/dist/ptcw-design/p-98844b50.js +0 -134
- package/dist/ptcw-design/p-9dfb5c76.entry.js +0 -1
- package/dist/ptcw-design/p-a3868e6a.entry.js +0 -1
- package/dist/ptcw-design/p-a41c7e39.entry.js +0 -1
- package/dist/ptcw-design/p-abca6130.entry.js +0 -1
- package/dist/ptcw-design/p-b44f4fb1.entry.js +0 -1
- package/dist/ptcw-design/p-bbbfd2e5.entry.js +0 -1
- package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
- package/dist/ptcw-design/p-e3867512.entry.js +0 -1
- package/dist/ptcw-design/p-eaa0597a.entry.js +0 -1
- package/dist/ptcw-design/p-fe8392c4.entry.js +0 -1
- package/dist/types/global/global.d.ts +0 -4
- package/dist/types/utils/fef-logger.d.ts +0 -10
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-63ddc79c.js');
|
|
6
6
|
const utils = require('./utils-b63aef52.js');
|
|
7
7
|
|
|
8
|
-
const ptcMediaCardCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative;width:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}:host .anchor-wrap{height:100%;width:100%;display:block;text-decoration:none;position:relative}:host .anchor-wrap:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host video{object-fit:cover;height:100%;width:100%;z-index:0;position:absolute;left:0;right:0;top:0;bottom:0;display:none}:host(.media-card) ::slotted([slot=seo-content]){display:none}:host(.media-card) .card-wrap{display:flex;height:100%;width:100%;position:relative;z-index:1;min-height:329px;align-items:end}:host(.media-card) .card-wrap .car-content{padding:20px 30px 30px 30px}:host(.media-card) .card-wrap .car-content p,:host(.media-card) .card-wrap .car-content h3{color:#fff}:host(.media-card) .card-wrap .car-content h3{position:relative;margin-bottom:0;font-size:var(--ptc-font-size-medium);text-shadow:1px 3px 30px #000;line-height:var(--ptc-line-height-densest);display:inline}@media only screen and (min-width: 768px){:host(.media-card) .card-wrap .car-content h3{font-size:var(--ptc-font-size-large)}}:host(.media-card) .card-wrap .car-content h3::before{content:\"\";width:100%;height:3px;background-image:url(\"data:image/svg+xml,%3Csvg width='60' height='1' viewBox='0 0 60 1' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='30' height='1' fill='%2333A13C'/%3E%3C/svg%3E\");background-repeat:repeat;position:absolute;background-size:initial;top:-10px}:host(.media-card) .card-wrap .car-content p{text-shadow:1px 3px 30px var(--color-black);font-weight:var(--ptc-font-weight-semibold);display:block;font-size:var(--ptc-font-size-x-small)}:host(.bureau-card){height:100%;position:relative}:host(.case-study-icon){width:296px}:host(.case-study-icon) ::slotted([slot=seo-content]){display:none}:host(.case-study-icon) .tracker-div{display:inline}:host(.case-study-icon) .case-study-img-anchor{position:relative;width:296px;height:396px;display:flex;justify-content:center;align-items:center;transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-webkit-transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-o-transition:var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.case-study-icon) .case-study-img-anchor .case-study-bg-img{display:flex;width:296px;height:396px;flex-direction:column;justify-content:center;align-items:center;border-radius:4px;object-fit:cover;position:absolute;z-index:1;box-shadow:var(--ptc-shadow-large)}:host(.case-study-icon) .case-study-img-anchor .after{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:4px;z-index:2;background:rgba(0, 0, 0, 0.5);transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-webkit-transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-o-transition:var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.case-study-icon) .case-study-img-anchor .case-study-icon-img{position:absolute;z-index:3;width:92px;height:42px;border-radius:4px;background:#
|
|
8
|
+
const ptcMediaCardCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative;width:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}:host .anchor-wrap{height:100%;width:100%;display:block;text-decoration:none;position:relative}:host .anchor-wrap:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host video{object-fit:cover;height:100%;width:100%;z-index:0;position:absolute;left:0;right:0;top:0;bottom:0;display:none}:host(.media-card) ::slotted([slot=seo-content]){display:none}:host(.media-card) .card-wrap{display:flex;height:100%;width:100%;position:relative;z-index:1;min-height:329px;align-items:end}:host(.media-card) .card-wrap .car-content{padding:20px 30px 30px 30px}:host(.media-card) .card-wrap .car-content p,:host(.media-card) .card-wrap .car-content h3{color:#fff}:host(.media-card) .card-wrap .car-content h3{position:relative;margin-bottom:0;font-size:var(--ptc-font-size-medium);text-shadow:1px 3px 30px #000;line-height:var(--ptc-line-height-densest);display:inline}@media only screen and (min-width: 768px){:host(.media-card) .card-wrap .car-content h3{font-size:var(--ptc-font-size-large)}}:host(.media-card) .card-wrap .car-content h3::before{content:\"\";width:100%;height:3px;background-image:url(\"data:image/svg+xml,%3Csvg width='60' height='1' viewBox='0 0 60 1' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='30' height='1' fill='%2333A13C'/%3E%3C/svg%3E\");background-repeat:repeat;position:absolute;background-size:initial;top:-10px}:host(.media-card) .card-wrap .car-content p{text-shadow:1px 3px 30px var(--color-black);font-weight:var(--ptc-font-weight-semibold);display:block;font-size:var(--ptc-font-size-x-small)}:host(.bureau-card){height:100%;position:relative}:host(.case-study-icon){width:296px}:host(.case-study-icon) ::slotted([slot=seo-content]){display:none}:host(.case-study-icon) .tracker-div{display:inline}:host(.case-study-icon) .case-study-img-anchor{position:relative;width:296px;height:396px;display:flex;justify-content:center;align-items:center;transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-webkit-transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-o-transition:var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.case-study-icon) .case-study-img-anchor .case-study-bg-img{display:flex;width:296px;height:396px;flex-direction:column;justify-content:center;align-items:center;border-radius:4px;object-fit:cover;position:absolute;z-index:1;box-shadow:var(--ptc-shadow-large)}:host(.case-study-icon) .case-study-img-anchor .after{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:4px;z-index:2;background:rgba(0, 0, 0, 0.5);transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-webkit-transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-o-transition:var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.case-study-icon) .case-study-img-anchor .case-study-icon-img{position:absolute;z-index:3;width:92px;height:42px;border-radius:4px;background:#FFF;padding:24px;box-shadow:0px 1px 4px 0px rgba(0, 0, 0, 0.24);transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-webkit-transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-o-transition:var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.case-study-icon) .case-study-img-anchor:hover .after{display:block;background:rgba(0, 0, 0, 0.07)}:host(.case-study-icon) .case-study-img-anchor:hover .case-study-icon-img{width:96px;height:46px}:host(.case-study-icon) .case-study-img-anchor:active,:host(.case-study-icon) .case-study-img-anchor:focus{transition:none !important;-webkit-transition:none !important;-o-transition:none !important}:host(.case-study-icon) .case-study-img-anchor:active .after,:host(.case-study-icon) .case-study-img-anchor:focus .after{display:block;background:rgba(0, 0, 0, 0.2);transition:none !important;-webkit-transition:none !important;-o-transition:none !important}:host(.case-study-icon) .case-study-img-anchor:active .case-study-icon-img,:host(.case-study-icon) .case-study-img-anchor:focus .case-study-icon-img{transition:none !important;-webkit-transition:none !important;-o-transition:none !important}:host(.case-study-icon) .case-study-img-anchor:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}@media (min-width: 768px){:host(.case-study-icon){width:373px}:host(.case-study-icon) .case-study-img-anchor{width:373px;height:500px}:host(.case-study-icon) .case-study-img-anchor .case-study-bg-img{width:373px;height:500px}}";
|
|
9
9
|
|
|
10
10
|
const PtcMediaCard = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -14,15 +14,15 @@ const PtcMediaCard = class {
|
|
|
14
14
|
* ref video element
|
|
15
15
|
*/
|
|
16
16
|
this.videoEle = undefined;
|
|
17
|
-
this.cardType =
|
|
17
|
+
this.cardType = 'media-card';
|
|
18
18
|
this.cardHref = undefined;
|
|
19
|
-
this.target =
|
|
19
|
+
this.target = '_self';
|
|
20
20
|
this.rel = undefined;
|
|
21
21
|
this.activeBackgroundImage = undefined;
|
|
22
22
|
this.activeBackgroundImageAlt = undefined;
|
|
23
23
|
this.hoverBackgroundImage = undefined;
|
|
24
24
|
this.heading = undefined;
|
|
25
|
-
this.headingTransform =
|
|
25
|
+
this.headingTransform = 'none';
|
|
26
26
|
this.category = undefined;
|
|
27
27
|
this.ariaLabel = undefined;
|
|
28
28
|
this.iconImage = undefined;
|
|
@@ -37,16 +37,14 @@ const PtcMediaCard = class {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
getCardText() {
|
|
40
|
-
if (this.cardType ===
|
|
40
|
+
if (this.cardType === 'media-card') {
|
|
41
41
|
return [
|
|
42
42
|
index.h("div", { class: "card-wrap" }, index.h("div", { class: "car-content" }, index.h("p", null, this.category, " "), index.h("h3", null, this.heading))),
|
|
43
43
|
];
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
setTabNavigatedState() {
|
|
47
|
-
this.el.parentElement.tagName ===
|
|
48
|
-
? (this.isTabNavigated = false)
|
|
49
|
-
: (this.isTabNavigated = true);
|
|
47
|
+
this.el.parentElement.tagName === 'DYNAMIC-PRODUCT-DRIVERS' ? this.isTabNavigated = false : this.isTabNavigated = true;
|
|
50
48
|
}
|
|
51
49
|
componentWillLoad() {
|
|
52
50
|
this.setTabNavigatedState();
|
|
@@ -55,38 +53,22 @@ const PtcMediaCard = class {
|
|
|
55
53
|
this.ariaLabel = this.getLastStringAfterSlash(this.cardHref);
|
|
56
54
|
}
|
|
57
55
|
getLastStringAfterSlash(url) {
|
|
58
|
-
const parts = url.split(
|
|
56
|
+
const parts = url.split('/');
|
|
59
57
|
return parts[parts.length - 1];
|
|
60
58
|
}
|
|
61
59
|
render() {
|
|
62
|
-
const Tag = !!this.cardHref ?
|
|
60
|
+
const Tag = !!this.cardHref ? 'a' : 'div';
|
|
63
61
|
const isVideoUrl = this.hoverBackgroundImage
|
|
64
|
-
? utils.getFileExtension(this.hoverBackgroundImage) ===
|
|
65
|
-
this.hoverBackgroundImage.includes(".mp4")
|
|
62
|
+
? utils.getFileExtension(this.hoverBackgroundImage) === '.mp4' || this.hoverBackgroundImage.includes('.mp4')
|
|
66
63
|
? true
|
|
67
64
|
: false
|
|
68
65
|
: false;
|
|
69
66
|
const classMap = this.getCssClassMap();
|
|
70
|
-
return (index.h(index.Host, { class: classMap, onmouseenter: () => (this.isHovered = true), onmouseleave: () => (this.isHovered = false), style: this.cardType !=
|
|
67
|
+
return (index.h(index.Host, { class: classMap, onmouseenter: () => (this.isHovered = true), onmouseleave: () => (this.isHovered = false), style: this.cardType != 'case-study-icon'
|
|
71
68
|
? this.isHovered && this.hoverBackgroundImage
|
|
72
|
-
? {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
: {
|
|
76
|
-
backgroundImage: `url(${this.activeBackgroundImage})`,
|
|
77
|
-
}
|
|
78
|
-
: {} }, index.h("slot", { name: "seo-content" }), this.cardType != "case-study-icon" ? (index.h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, index.h(Tag, Object.assign({ class: "anchor-wrap", target: this.target, href: this.cardHref, rel: this.rel }, (this.isTabNavigated
|
|
79
|
-
? { tabindex: 0 }
|
|
80
|
-
: { tabindex: -1 }), { "aria-label": this.cardHref
|
|
81
|
-
? "Read more about " + this.ariaLabel
|
|
82
|
-
: undefined }), isVideoUrl && (index.h("video", { muted: true, loop: true, playsinline: true, poster: this.activeBackgroundImage, ref: (el) => (this.videoEle = el), style: this.isHovered
|
|
83
|
-
? { display: "block" }
|
|
84
|
-
: { display: "none" }, tabindex: "-1" }, index.h("source", { src: this.hoverBackgroundImage, type: "video/mp4" }, "Your browser does not support the video tag."))), this.cardType === "media-card" && (index.h("ptc-overlay", { "filter-color": "black-2" })), this.cardType === "media-card" &&
|
|
85
|
-
this.getCardText()))) : null, this.cardType === "case-study-icon" ? (index.h("div", { id: this.trackerId, class: "tracker-div" }, index.h("a", Object.assign({ class: "case-study-img-anchor mf-listen", target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref
|
|
86
|
-
? "Read more about " + this.ariaLabel
|
|
87
|
-
: undefined }, (this.isTabNavigated
|
|
88
|
-
? { tabindex: 0 }
|
|
89
|
-
: { tabindex: -1 })), index.h("img", { class: "case-study-bg-img", src: this.activeBackgroundImage, alt: this.activeBackgroundImageAlt }), index.h("div", { class: "after" }), index.h("img", { class: "case-study-icon-img", src: this.iconImage, alt: this.iconImageAlt })))) : null));
|
|
69
|
+
? { backgroundImage: `url(${this.hoverBackgroundImage})` }
|
|
70
|
+
: { backgroundImage: `url(${this.activeBackgroundImage})` }
|
|
71
|
+
: {} }, index.h("slot", { name: "seo-content" }), this.cardType != 'case-study-icon' ? (index.h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, index.h(Tag, Object.assign({ class: 'anchor-wrap', target: this.target, href: this.cardHref, rel: this.rel }, (this.isTabNavigated ? { tabindex: 0 } : { tabindex: -1 }), { "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }), isVideoUrl && (index.h("video", { muted: true, loop: true, playsinline: true, poster: this.activeBackgroundImage, ref: el => (this.videoEle = el), style: this.isHovered ? { display: 'block' } : { display: 'none' }, tabindex: "-1" }, index.h("source", { src: this.hoverBackgroundImage, type: "video/mp4" }, "Your browser does not support the video tag."))), this.cardType === 'media-card' && index.h("ptc-overlay", { "filter-color": "black-2" }), this.cardType === 'media-card' && this.getCardText()))) : null, this.cardType === 'case-study-icon' ? (index.h("div", { id: this.trackerId, class: "tracker-div" }, index.h("a", Object.assign({ class: "case-study-img-anchor mf-listen", target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref ? 'Read more about ' + this.ariaLabel : undefined }, (this.isTabNavigated ? { tabindex: 0 } : { tabindex: -1 })), index.h("img", { class: "case-study-bg-img", src: this.activeBackgroundImage, alt: this.activeBackgroundImageAlt }), index.h("div", { class: "after" }), index.h("img", { class: "case-study-icon-img", src: this.iconImage, alt: this.iconImageAlt })))) : null));
|
|
90
72
|
}
|
|
91
73
|
getCssClassMap() {
|
|
92
74
|
return {
|
|
@@ -9,14 +9,14 @@ const ptcMinimizedNavCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,pt
|
|
|
9
9
|
const PtcMinimizedNav = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
-
this.linkUrl =
|
|
13
|
-
this.imgSrc =
|
|
14
|
-
this.imgAlt =
|
|
15
|
-
this.navType =
|
|
12
|
+
this.linkUrl = '#';
|
|
13
|
+
this.imgSrc = '';
|
|
14
|
+
this.imgAlt = 'PTC';
|
|
15
|
+
this.navType = 'minimized-header';
|
|
16
16
|
this.trackerId = undefined;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (index.h(index.Host, null, this.navType ==
|
|
19
|
+
return (index.h(index.Host, null, this.navType == 'minimized-header' ? (index.h("div", { class: "minimized-header" }, index.h("div", { class: "header" }, index.h("div", { class: "ptc-container" }, index.h("a", { class: "mini-navbar-logo mf-listen", href: this.linkUrl, tabindex: "0", id: this.trackerId }, index.h("img", { src: this.imgSrc, alt: this.imgAlt })))))) : null, this.navType == 'minimized-footer' ? (index.h("div", { class: "ptc-min-footer mini-footer" }, index.h("div", { class: "min-footer-copyright-wrapper" }, index.h("ul", { class: "min-footer-nav-list min-footer-copyright-list" }, index.h("slot", null))))) : null));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
PtcMinimizedNav.style = ptcMinimizedNavCss;
|
|
@@ -453,19 +453,19 @@ const PtcMobileSelect = class {
|
|
|
453
453
|
this.triggerName = undefined;
|
|
454
454
|
this.selectedText = undefined;
|
|
455
455
|
this.wheelData = undefined;
|
|
456
|
-
this.selectedId =
|
|
457
|
-
this.ensureBtnText =
|
|
458
|
-
this.cancelBtnText =
|
|
456
|
+
this.selectedId = '';
|
|
457
|
+
this.ensureBtnText = 'Confirm';
|
|
458
|
+
this.cancelBtnText = 'Cancel';
|
|
459
459
|
this.listTitle = undefined;
|
|
460
460
|
this.notFoundPopupProceedButton = undefined;
|
|
461
461
|
}
|
|
462
462
|
componentWillLoad() {
|
|
463
463
|
this.notFoundPopupProceedButton = document.querySelector("#translation-popup-button");
|
|
464
464
|
if (this.notFoundPopupProceedButton) {
|
|
465
|
-
this.notFoundPopupProceedButton.addEventListener(
|
|
465
|
+
this.notFoundPopupProceedButton.addEventListener('click', () => {
|
|
466
466
|
let footerNav = document.querySelector("footer-nav");
|
|
467
467
|
if (footerNav) {
|
|
468
|
-
let currentLang = footerNav.getAttribute(
|
|
468
|
+
let currentLang = footerNav.getAttribute('ms-selected-text');
|
|
469
469
|
let langText = document.querySelector("footer-nav #lang-ddl");
|
|
470
470
|
if (langText && currentLang) {
|
|
471
471
|
langText.innerHTML = currentLang;
|
|
@@ -488,27 +488,21 @@ const PtcMobileSelect = class {
|
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
490
|
render() {
|
|
491
|
-
return (index.h("div", { class: "mobile-select-wrapper", "aria-selectlanguage": "Select Language", tabindex: "0", onKeyPress: (e) => {
|
|
492
|
-
this.wrapperClick(e);
|
|
493
|
-
} }, index.h("div", { onClick: (e) => {
|
|
494
|
-
this.wrapperClick(e);
|
|
495
|
-
} }, index.h("span", { id: this.triggerName }, this.selectedText), index.h("icon-asset", { type: "ptc", size: "x-small", name: "lang-drop-arrow", color: "white", "is-mobile-select": "true", "injected-style": "svg.ismobileselect{transform:translateX(10px); width: 13px !important;height: 10px !important;}" }))));
|
|
491
|
+
return (index.h("div", { class: "mobile-select-wrapper", "aria-selectlanguage": "Select Language", tabindex: "0", onKeyPress: (e) => { this.wrapperClick(e); } }, index.h("div", { onClick: (e) => { this.wrapperClick(e); } }, index.h("span", { id: this.triggerName }, this.selectedText), index.h("icon-asset", { type: "ptc", size: "x-small", name: "lang-drop-arrow", color: "white", "is-mobile-select": "true", "injected-style": "svg.ismobileselect{transform:translateX(10px); width: 13px !important;height: 10px !important;}" }))));
|
|
496
492
|
}
|
|
497
493
|
componentDidRender() {
|
|
498
494
|
let that = this; //input current lang
|
|
499
495
|
let storeIndex = 0;
|
|
500
496
|
let mySelect = new y({
|
|
501
497
|
trigger: `#${this.triggerName}`,
|
|
502
|
-
title: `${this.listTitle ? this.listTitle :
|
|
503
|
-
wheels: this.wheelData
|
|
504
|
-
? [{ data: this.wheelData }]
|
|
505
|
-
: [{ data: ["test1", "test2", "test3"] }],
|
|
498
|
+
title: `${this.listTitle ? this.listTitle : ''}`,
|
|
499
|
+
wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2', 'test3'] }],
|
|
506
500
|
position: [0],
|
|
507
501
|
ensureBtnText: this.ensureBtnText,
|
|
508
502
|
cancelBtnText: this.cancelBtnText,
|
|
509
|
-
ensureBtnColor:
|
|
510
|
-
cancelBtnColor:
|
|
511
|
-
titleColor:
|
|
503
|
+
ensureBtnColor: 'var(--color-gray-12)',
|
|
504
|
+
cancelBtnColor: 'var(--color-gray-12)',
|
|
505
|
+
titleColor: 'var(--color-gray-12)',
|
|
512
506
|
onShow: function (_1, _2, context) {
|
|
513
507
|
if (that.selectedId) {
|
|
514
508
|
try {
|
|
@@ -529,9 +523,9 @@ const PtcMobileSelect = class {
|
|
|
529
523
|
this.selectionChanged.emit({
|
|
530
524
|
sender: context,
|
|
531
525
|
index: indexArr && indexArr.length > 0 ? indexArr[0] : -1,
|
|
532
|
-
data: data && data.length > 0 ? data[0] : undefined
|
|
526
|
+
data: data && data.length > 0 ? data[0] : undefined
|
|
533
527
|
});
|
|
534
|
-
if (data && data[0] && data[0].id !=
|
|
528
|
+
if (data && data[0] && data[0].id != '#') {
|
|
535
529
|
window.location.href = data[0].id;
|
|
536
530
|
}
|
|
537
531
|
else {
|
|
@@ -548,11 +542,11 @@ const PtcMobileSelect = class {
|
|
|
548
542
|
mySelect.locatePosition(0, storeIndex);
|
|
549
543
|
}
|
|
550
544
|
getMobileSelectedItem(context) {
|
|
551
|
-
let result = new MobileSelectedItem
|
|
545
|
+
let result = new MobileSelectedItem;
|
|
552
546
|
result.id = this.selectedId;
|
|
553
|
-
let liEle = context.mobileSelect.querySelectorAll(
|
|
547
|
+
let liEle = context.mobileSelect.querySelectorAll('[data-id]');
|
|
554
548
|
liEle.forEach((currentValue, currentIndex) => {
|
|
555
|
-
if (currentValue.getAttribute(
|
|
549
|
+
if (currentValue.getAttribute('data-id') == result.id) {
|
|
556
550
|
result.index = currentIndex;
|
|
557
551
|
result.value = currentValue.textContent;
|
|
558
552
|
return;
|
|
@@ -23,7 +23,7 @@ const PtcModalQuiz = class {
|
|
|
23
23
|
this.currentQuestion = 1;
|
|
24
24
|
this.currentSelectedPriority = null;
|
|
25
25
|
this.selectedPriorityRadio = null;
|
|
26
|
-
let inputs = this.el.shadowRoot.querySelectorAll(
|
|
26
|
+
let inputs = this.el.shadowRoot.querySelectorAll('input');
|
|
27
27
|
for (let i = 0; i < inputs.length; i++) {
|
|
28
28
|
inputs[i].checked = false;
|
|
29
29
|
}
|
|
@@ -48,10 +48,8 @@ const PtcModalQuiz = class {
|
|
|
48
48
|
if (!this.traversal[this.currentQuestion]) {
|
|
49
49
|
this.traversal[this.currentQuestion] = {};
|
|
50
50
|
}
|
|
51
|
-
this.traversal[this.currentQuestion]["priority"] =
|
|
52
|
-
|
|
53
|
-
this.traversal[this.currentQuestion]["radio"] =
|
|
54
|
-
this.selectedPriorityRadio;
|
|
51
|
+
this.traversal[this.currentQuestion]["priority"] = this.currentSelectedPriority;
|
|
52
|
+
this.traversal[this.currentQuestion]["radio"] = this.selectedPriorityRadio;
|
|
55
53
|
}
|
|
56
54
|
};
|
|
57
55
|
this.handlePreviousClick = (e) => {
|
|
@@ -60,13 +58,11 @@ const PtcModalQuiz = class {
|
|
|
60
58
|
this.currentSelectedPriority = null;
|
|
61
59
|
this.selectedPriorityRadio.checked = false;
|
|
62
60
|
this.currentQuestion -= 1;
|
|
63
|
-
this.currentSelectedPriority =
|
|
64
|
-
this.traversal[this.currentQuestion]["priority"];
|
|
61
|
+
this.currentSelectedPriority = this.traversal[this.currentQuestion]["priority"];
|
|
65
62
|
this.traversal[this.currentQuestion]["radio"].checked = true;
|
|
66
63
|
}
|
|
67
64
|
};
|
|
68
|
-
if (e instanceof MouseEvent ||
|
|
69
|
-
(e instanceof KeyboardEvent && e.key === "Enter")) {
|
|
65
|
+
if (e instanceof MouseEvent || (e instanceof KeyboardEvent && e.key === "Enter")) {
|
|
70
66
|
if (e instanceof KeyboardEvent) {
|
|
71
67
|
e.preventDefault();
|
|
72
68
|
}
|
|
@@ -76,23 +72,19 @@ const PtcModalQuiz = class {
|
|
|
76
72
|
};
|
|
77
73
|
this.handleNextClick = (e) => {
|
|
78
74
|
const handler = () => {
|
|
79
|
-
if (!e.target.disabled &&
|
|
80
|
-
this.currentQuestion
|
|
81
|
-
this.answers[this.currentQuestion] =
|
|
82
|
-
this.currentSelectedPriority;
|
|
75
|
+
if (!e.target.disabled && this.currentQuestion < this.totalQuestions) {
|
|
76
|
+
this.answers[this.currentQuestion] = this.currentSelectedPriority;
|
|
83
77
|
this.currentQuestion += 1;
|
|
84
78
|
if (!this.traversal[this.currentQuestion]) {
|
|
85
79
|
this.currentSelectedPriority = null;
|
|
86
80
|
this.selectedPriorityRadio.checked = false;
|
|
87
81
|
}
|
|
88
82
|
else {
|
|
89
|
-
this.currentSelectedPriority =
|
|
90
|
-
|
|
91
|
-
this.selectedPriorityRadio =
|
|
92
|
-
this.traversal[this.currentQuestion]["radio"];
|
|
83
|
+
this.currentSelectedPriority = this.traversal[this.currentQuestion]["priority"];
|
|
84
|
+
this.selectedPriorityRadio = this.traversal[this.currentQuestion]["radio"];
|
|
93
85
|
this.selectedPriorityRadio.checked = true;
|
|
94
86
|
}
|
|
95
|
-
let modalQuizContainer = this.el.shadowRoot.querySelector(
|
|
87
|
+
let modalQuizContainer = this.el.shadowRoot.querySelector('.modal-quiz-container');
|
|
96
88
|
if (modalQuizContainer) {
|
|
97
89
|
modalQuizContainer.scrollTo({
|
|
98
90
|
top: 0,
|
|
@@ -145,37 +137,24 @@ const PtcModalQuiz = class {
|
|
|
145
137
|
}
|
|
146
138
|
componentDidRender() {
|
|
147
139
|
const modal = document.querySelector(`#${this.modalId}`);
|
|
148
|
-
const modalCloseButton = modal.shadowRoot.querySelector(
|
|
149
|
-
modalCloseButton.addEventListener(
|
|
140
|
+
const modalCloseButton = modal.shadowRoot.querySelector('.close');
|
|
141
|
+
modalCloseButton.addEventListener('click', () => {
|
|
150
142
|
this.resetQuiz();
|
|
151
143
|
});
|
|
152
144
|
}
|
|
153
145
|
render() {
|
|
154
146
|
const ProgressDots = () => {
|
|
155
|
-
return
|
|
156
|
-
return
|
|
157
|
-
|
|
158
|
-
}))
|
|
147
|
+
return index.h("div", { class: "dot-progress-bar" }, [...Array(this.totalQuestions).keys()].map(questionNumber => {
|
|
148
|
+
return index.h("div", null, index.h("div", { class: `dot-progress-circle ${(questionNumber === (this.currentQuestion - 1)) ? "active" : ""}` }), (questionNumber < (this.totalQuestions - 1)) ?
|
|
149
|
+
index.h("div", { class: "dot-progress-dash" }, index.h("div", { class: "dashed-line" })) : null);
|
|
150
|
+
}));
|
|
159
151
|
};
|
|
160
152
|
const PriorityOptions = () => {
|
|
161
|
-
return
|
|
153
|
+
return index.h("div", { class: "options-container" }, index.h("div", { id: `priority-option-${this.currentQuestion}-1`, class: "radio-input mf-listen", onClick: e => this.handlePriorityOptionClick(e, Priority.Low) }, index.h("input", { type: "radio", name: `modal-quiz-${this.currentQuestion}`, id: `1`, tabIndex: 0 }), index.h("label", { class: "option-label", htmlFor: `1` }, index.h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, index.h("slot", { name: "low-level-label" })))), index.h("div", { id: `priority-option-${this.currentQuestion}-2`, class: "radio-input mf-listen", onClick: e => this.handlePriorityOptionClick(e, Priority.Medium) }, index.h("input", { type: "radio", name: `modal-quiz-${this.currentQuestion}`, id: `2`, tabIndex: 0 }), index.h("label", { class: "option-label", htmlFor: `2` }, index.h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, index.h("slot", { name: "medium-level-label" })))), index.h("div", { id: `priority-option-${this.currentQuestion}-3`, class: "radio-input mf-listen", onClick: e => this.handlePriorityOptionClick(e, Priority.High) }, index.h("input", { type: "radio", name: `modal-quiz-${this.currentQuestion}`, id: `3`, tabIndex: 0 }), index.h("label", { class: "option-label", htmlFor: `3` }, index.h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, index.h("slot", { name: "high-level-label" })))));
|
|
162
154
|
};
|
|
163
|
-
return (index.h(index.Host, null, index.h("div", { class: "modal-quiz-container" }, index.h("div", null, index.h("div", null, index.h("div", { class: "modal-quiz-progress" }, index.h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-4", "para-align": "justify", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, index.h("slot", { name: "question-text" }), " ", this.currentQuestion, " ", index.h("slot", { name: "of-text" }), " ", this.totalQuestions), index.h(ProgressDots, null)), index.h("div", { class: "modal-quiz-content" }, index.h("div", { class: "content" }, index.h("ptc-title", { type: "h2", "text-align": "left", "title-size": "xx-large", "title-color": "gray", upperline: "dotted", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-1", "title-weight": "w-8", "is-plm-hub": "false" }, index.h("slot", { name: `question-${this.currentQuestion}-title` })), index.h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, index.h("slot", { name: `question-${this.currentQuestion}-subtitle` })), index.h(PriorityOptions, null), index.h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, this.currentSelectedPriority ?
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
this.totalQuestions ? (index.h("ptc-button", { "tracker-id": `question-${this.currentQuestion}-email`, type: "link", color: "ptc-secondary", onClick: (e) => this.handleEmailReportClick(e), disabled: this
|
|
167
|
-
.currentSelectedPriority ==
|
|
168
|
-
null, styles: "button{margin-bottom:20px;}", "tab-nav": this
|
|
169
|
-
.currentSelectedPriority ==
|
|
170
|
-
null
|
|
171
|
-
? -1
|
|
172
|
-
: 0 }, index.h("slot", { name: "email-results-text" }))) : (index.h("ptc-button", { "tracker-id": `question-${this.currentQuestion}-next`, type: "link", color: "ptc-secondary", onClick: (e) => this.handleNextClick(e), onKeyDown: (e) => this.handleNextClick(e), disabled: this
|
|
173
|
-
.currentSelectedPriority ==
|
|
174
|
-
null, styles: "button{margin-bottom:20px;}", "tab-nav": this
|
|
175
|
-
.currentSelectedPriority ==
|
|
176
|
-
null
|
|
177
|
-
? -1
|
|
178
|
-
: 0 }, index.h("slot", { name: "next-ques-text" }))))), index.h("div", { class: "image" }, index.h("slot", { name: `question-${this.currentQuestion}-image` })))))), index.h("slot", { name: "script" })));
|
|
155
|
+
return (index.h(index.Host, null, index.h("div", { class: "modal-quiz-container" }, index.h("div", null, index.h("div", null, index.h("div", { class: "modal-quiz-progress" }, index.h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-4", "para-align": "justify", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, index.h("slot", { name: "question-text" }), " ", this.currentQuestion, " ", index.h("slot", { name: "of-text" }), " ", this.totalQuestions), index.h(ProgressDots, null)), index.h("div", { class: "modal-quiz-content" }, index.h("div", { class: "content" }, index.h("ptc-title", { type: "h2", "text-align": "left", "title-size": "xx-large", "title-color": "gray", upperline: "dotted", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-1", "title-weight": "w-8", "is-plm-hub": "false" }, index.h("slot", { name: `question-${this.currentQuestion}-title` })), index.h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, index.h("slot", { name: `question-${this.currentQuestion}-subtitle` })), index.h(PriorityOptions, null), index.h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, (this.currentSelectedPriority) ? index.h("slot", { name: this.getPriorityAnswerSlotName() }) : null), index.h("div", { class: "modal-quiz-ctas" }, index.h("ptc-button", { "tracker-id": `question-${this.currentQuestion}-prev`, type: "link", color: "ptc-tertiary", onClick: (e) => this.handlePreviousClick(e), onKeyDown: (e) => this.handlePreviousClick(e), disabled: (this.currentQuestion === 1), "tab-nav": this.currentQuestion == 1 ? -1 : 0, styles: "button{margin-bottom:20px;}" }, index.h("slot", { name: "previous-ques-text" })), index.h("ptc-spacer", { size: "large", breakpoint: "x-small" }), (this.currentQuestion === this.totalQuestions) ?
|
|
156
|
+
index.h("ptc-button", { "tracker-id": `question-${this.currentQuestion}-email`, type: "link", color: "ptc-secondary", onClick: e => this.handleEmailReportClick(e), disabled: this.currentSelectedPriority == null, styles: "button{margin-bottom:20px;}", "tab-nav": this.currentSelectedPriority == null ? -1 : 0 }, index.h("slot", { name: "email-results-text" })) :
|
|
157
|
+
index.h("ptc-button", { "tracker-id": `question-${this.currentQuestion}-next`, type: "link", color: "ptc-secondary", onClick: e => this.handleNextClick(e), onKeyDown: e => this.handleNextClick(e), disabled: this.currentSelectedPriority == null, styles: "button{margin-bottom:20px;}", "tab-nav": this.currentSelectedPriority == null ? -1 : 0 }, index.h("slot", { name: "next-ques-text" })))), index.h("div", { class: "image" }, index.h("slot", { name: `question-${this.currentQuestion}-image` })))))), index.h("slot", { name: "script" })));
|
|
179
158
|
}
|
|
180
159
|
get el() { return index.getElement(this); }
|
|
181
160
|
};
|
|
@@ -12,29 +12,35 @@ const PtcNavCard = class {
|
|
|
12
12
|
this.cardType = undefined;
|
|
13
13
|
this.cardHref = undefined;
|
|
14
14
|
this.logoAlt = undefined;
|
|
15
|
-
this.target =
|
|
15
|
+
this.target = '_self';
|
|
16
16
|
this.rel = undefined;
|
|
17
17
|
this.linkTitle = undefined;
|
|
18
18
|
this.cardLogo = undefined;
|
|
19
19
|
this.heading = undefined;
|
|
20
20
|
this.description = undefined;
|
|
21
|
-
this.windowSize =
|
|
21
|
+
this.windowSize = 'mobile';
|
|
22
22
|
this.trackerId = "";
|
|
23
23
|
}
|
|
24
24
|
handleResize() {
|
|
25
25
|
if (window.innerWidth < 992) {
|
|
26
|
-
this.windowSize =
|
|
26
|
+
this.windowSize = 'mobile';
|
|
27
27
|
}
|
|
28
28
|
else {
|
|
29
|
-
this.windowSize =
|
|
29
|
+
this.windowSize = 'desktop';
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
componentWillLoad() {
|
|
33
33
|
this.handleResize();
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (index.h(index.Host, { class: this.cardType }, index.h("div", { class: "nav-card-wrap" }, this.cardType ==
|
|
37
|
-
|
|
36
|
+
return (index.h(index.Host, { class: this.cardType }, index.h("div", { class: "nav-card-wrap" }, this.cardType == 'links-card' ?
|
|
37
|
+
index.h("div", { class: "links-card-wrap" }, index.h("h3", null, (this.cardHref && !(this.cardHref.startsWith('#'))) ?
|
|
38
|
+
(index.h("a", { id: this.trackerId, href: this.cardHref, title: this.linkTitle, tabIndex: -1, class: "mf-listen" }, this.heading, index.h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M6.3125 0.3125L6.3125 3.66515L-1.46549e-07 3.66515L-2.63246e-07 6.33487L6.3125 6.33487L6.3125 9.6875L11.25 4.96896L6.3125 0.3125Z", fill: "#3DAB49" })))) : (this.heading)), index.h("slot", null))
|
|
39
|
+
:
|
|
40
|
+
index.h("a", { id: this.trackerId, href: this.cardHref, title: this.linkTitle, tabIndex: -1, class: "media-card-wrap mf-listen" }, this.cardLogo &&
|
|
41
|
+
index.h("div", { class: "card-logo" }, index.h("img", { src: this.cardLogo, alt: this.logoAlt })), index.h("div", { class: "card-content" }, index.h("h4", null, this.heading, this.cardType == "cta-card" &&
|
|
42
|
+
index.h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M6.3125 0.3125L6.3125 3.66515L-1.46549e-07 3.66515L-2.63246e-07 6.33487L6.3125 6.33487L6.3125 9.6875L11.25 4.96896L6.3125 0.3125Z", fill: "#3DAB49" }))), this.description &&
|
|
43
|
+
index.h("p", null, this.description))))));
|
|
38
44
|
}
|
|
39
45
|
};
|
|
40
46
|
PtcNavCard.style = ptcNavCardCss;
|
|
@@ -12,34 +12,34 @@ const PtcNavLink = class {
|
|
|
12
12
|
this.navLinkClicked = index.createEvent(this, "navLinkClicked", 7);
|
|
13
13
|
this.href = undefined;
|
|
14
14
|
this.isOutsideLink = false;
|
|
15
|
-
this.titleText =
|
|
15
|
+
this.titleText = '';
|
|
16
16
|
this.trackerId = undefined;
|
|
17
17
|
}
|
|
18
18
|
handleClick(event) {
|
|
19
19
|
// Prevent the event from propagating to the underlying <a> element
|
|
20
20
|
event.stopPropagation();
|
|
21
21
|
// Check if the href starts with #
|
|
22
|
-
if (this.href && this.href.startsWith(
|
|
22
|
+
if (this.href && this.href.startsWith('#')) {
|
|
23
23
|
// Find the corresponding section
|
|
24
24
|
const section = document.querySelector(this.href);
|
|
25
25
|
section.scrollIntoView({
|
|
26
|
-
behavior:
|
|
26
|
+
behavior: 'smooth',
|
|
27
27
|
});
|
|
28
28
|
this.navLinkClicked.emit();
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
trimString(inputString, maxLength) {
|
|
32
32
|
if (inputString.length > maxLength) {
|
|
33
|
-
return inputString.slice(0, maxLength) +
|
|
33
|
+
return inputString.slice(0, maxLength) + '...';
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
36
|
return inputString;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (index.h(index.Host, null, index.h("div", { class: "tracker-div
|
|
40
|
+
return (index.h(index.Host, null, index.h("div", { class: "tracker-div", id: this.trackerId }, index.h("a", { href: this.href, target: this.isOutsideLink ? '_blank' : '_self', title: this.titleText, onClick: event => {
|
|
41
41
|
this.handleClick(event);
|
|
42
|
-
} }, index.h("slot", null), !this.href.startsWith(
|
|
42
|
+
} }, index.h("slot", null), !this.href.startsWith('#') && (index.h("svg", { class: "icon-arrow-right", xmlns: "http://www.w3.org/2000/svg", width: "14", height: "10", viewBox: "0 0 14 10", fill: "none" }, index.h("path", { d: "M8.84921 0.77792L8.81313 3.41153L0.51545 3.55584L0.515449 6.5863L8.81313 6.44199L8.81313 9.40029L13.1424 5.07107L8.84921 0.77792Z", fill: "#AEB8BD" })))))));
|
|
43
43
|
}
|
|
44
44
|
get el() { return index.getElement(this); }
|
|
45
45
|
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-63ddc79c.js');
|
|
6
6
|
|
|
7
|
-
const ptcNavSkipToContentCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .skip-link{position:fixed;top:-200px}:host .skip-link:focus{top:0;display:block;padding:8px 12px;text-align:center;margin:8px;border-radius:var(--ptc-border-radius-standard);outline:5px solid #
|
|
7
|
+
const ptcNavSkipToContentCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .skip-link{position:fixed;top:-200px}:host .skip-link:focus{top:0;display:block;padding:8px 12px;text-align:center;margin:8px;border-radius:var(--ptc-border-radius-standard);outline:5px solid #003DD6;background:#FFF;z-index:99999;box-shadow:var(--ptc-shadow-medium);text-decoration:none;color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-small);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p)}:host(.appended){position:relative}:host(.appended) .skip-link:focus{position:absolute}";
|
|
8
8
|
|
|
9
9
|
const PtcNavSkipToContent = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -12,7 +12,7 @@ const PtcNavSkipToContent = class {
|
|
|
12
12
|
this.escalated = false;
|
|
13
13
|
this.hideOnScroll = () => {
|
|
14
14
|
var _a, _b;
|
|
15
|
-
let skipLink = (_b = (_a = this.hostEle) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector(
|
|
15
|
+
let skipLink = (_b = (_a = this.hostEle) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('a.skip-link');
|
|
16
16
|
skipLink === null || skipLink === void 0 ? void 0 : skipLink.blur();
|
|
17
17
|
};
|
|
18
18
|
this.escalateOnDom = () => {
|
|
@@ -20,24 +20,24 @@ const PtcNavSkipToContent = class {
|
|
|
20
20
|
const elem = document.querySelector(this.appendSelector);
|
|
21
21
|
const host = this.hostEle;
|
|
22
22
|
if (elem) {
|
|
23
|
-
elem.insertAdjacentElement(
|
|
24
|
-
host.classList.add(
|
|
23
|
+
elem.insertAdjacentElement('afterbegin', this.hostEle);
|
|
24
|
+
host.classList.add('appended');
|
|
25
25
|
this.escalated = true;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
if (!this.escalated) {
|
|
29
|
-
const body = document.querySelector(
|
|
30
|
-
body.insertAdjacentElement(
|
|
29
|
+
const body = document.querySelector('body');
|
|
30
|
+
body.insertAdjacentElement('afterbegin', this.hostEle);
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
this.offsetCta = () => {
|
|
34
|
-
const link = this.hostEle.shadowRoot.querySelector(
|
|
34
|
+
const link = this.hostEle.shadowRoot.querySelector('.skip-link');
|
|
35
35
|
link.style.left = `${this.xOffset}px`;
|
|
36
36
|
link.style.top = `${this.yOffset}px`;
|
|
37
37
|
};
|
|
38
38
|
this.componentWillLoad = () => {
|
|
39
39
|
this.escalateOnDom();
|
|
40
|
-
window.addEventListener(
|
|
40
|
+
window.addEventListener('scroll', this.hideOnScroll);
|
|
41
41
|
};
|
|
42
42
|
this.componentDidLoad = () => {
|
|
43
43
|
if (this.appendSelector) {
|
|
@@ -45,7 +45,7 @@ const PtcNavSkipToContent = class {
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
this.disconnectedCallback = () => {
|
|
48
|
-
window.removeEventListener(
|
|
48
|
+
window.removeEventListener('scroll', this.hideOnScroll);
|
|
49
49
|
};
|
|
50
50
|
this.buttonText = "Skip To Main Content";
|
|
51
51
|
this.sectionId = "";
|
|
@@ -57,7 +57,7 @@ const PtcNavSkipToContent = class {
|
|
|
57
57
|
e.preventDefault();
|
|
58
58
|
const section = document.getElementById(this.sectionId);
|
|
59
59
|
if (section) {
|
|
60
|
-
section.scrollIntoView({ behavior:
|
|
60
|
+
section.scrollIntoView({ behavior: 'smooth' });
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
@@ -17,40 +17,32 @@ const PtcNavSlider = class {
|
|
|
17
17
|
// use the ID to select elements within the component's shadow root
|
|
18
18
|
this.updateSlider(this);
|
|
19
19
|
const { shadowRoot } = document.querySelector(`#${this.sliderId}`);
|
|
20
|
-
const boxWrap = shadowRoot.querySelector(
|
|
21
|
-
boxWrap.addEventListener(
|
|
20
|
+
const boxWrap = shadowRoot.querySelector('.box-wrap');
|
|
21
|
+
boxWrap.addEventListener('scroll', this.updateSlider.bind(this));
|
|
22
22
|
setTimeout(() => {
|
|
23
23
|
this.updateSlider(this);
|
|
24
24
|
}, 3100);
|
|
25
25
|
}
|
|
26
26
|
handledropdownClickEvent(element) {
|
|
27
|
-
const sliderId = element.target.querySelector(
|
|
28
|
-
const boxWrap = element.target
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
.querySelector(`#${sliderId}`)
|
|
33
|
-
.shadowRoot.querySelector("#prevBtn");
|
|
34
|
-
const nextBtn = document
|
|
35
|
-
.querySelector(`#${sliderId}`)
|
|
36
|
-
.shadowRoot.querySelector("#nextBtn");
|
|
37
|
-
let notDropdown = element.target.tagName.toLowerCase() != "ptc-nav-submenu";
|
|
27
|
+
const sliderId = element.target.querySelector('.nav-slider').id;
|
|
28
|
+
const boxWrap = element.target.querySelector('.nav-slider').shadowRoot.querySelector('.box-wrap');
|
|
29
|
+
const prevBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#prevBtn');
|
|
30
|
+
const nextBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#nextBtn');
|
|
31
|
+
let notDropdown = element.target.tagName.toLowerCase() != 'ptc-nav-submenu';
|
|
38
32
|
this.updateArrows(boxWrap, prevBtn, nextBtn, notDropdown);
|
|
39
33
|
}
|
|
40
34
|
updateArrows(boxWrap, prevBtn, nextBtn, isNotDropdown) {
|
|
41
|
-
if (boxWrap.offsetWidth == boxWrap.scrollWidth) {
|
|
35
|
+
if ((boxWrap.offsetWidth) == boxWrap.scrollWidth) {
|
|
42
36
|
prevBtn.style.visibility = "hidden";
|
|
43
37
|
nextBtn.style.visibility = "hidden";
|
|
44
38
|
if (isNotDropdown)
|
|
45
|
-
prevBtn.closest(
|
|
39
|
+
prevBtn.closest('.btn-wrap-left').style.display = 'none';
|
|
46
40
|
}
|
|
47
|
-
else if (boxWrap.scrollLeft + boxWrap.offsetWidth <=
|
|
48
|
-
boxWrap.scrollWidth) {
|
|
41
|
+
else if ((boxWrap.scrollLeft + boxWrap.offsetWidth) <= boxWrap.scrollWidth) {
|
|
49
42
|
if (isNotDropdown)
|
|
50
|
-
prevBtn.closest(
|
|
43
|
+
prevBtn.closest('.btn-wrap-left').style.display = '';
|
|
51
44
|
if (boxWrap.scrollLeft > 0) {
|
|
52
|
-
if (boxWrap.scrollLeft + boxWrap.offsetWidth ==
|
|
53
|
-
boxWrap.scrollWidth) {
|
|
45
|
+
if ((boxWrap.scrollLeft + boxWrap.offsetWidth) == boxWrap.scrollWidth) {
|
|
54
46
|
nextBtn.style.visibility = "hidden";
|
|
55
47
|
prevBtn.style.visibility = "visible";
|
|
56
48
|
}
|
|
@@ -70,17 +62,11 @@ const PtcNavSlider = class {
|
|
|
70
62
|
}
|
|
71
63
|
}
|
|
72
64
|
updateSlider(event) {
|
|
73
|
-
const boxWrap = document
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
const prevBtn = document
|
|
77
|
-
.querySelector(`#${this.sliderId}`)
|
|
78
|
-
.shadowRoot.querySelector("#prevBtn");
|
|
79
|
-
const nextBtn = document
|
|
80
|
-
.querySelector(`#${this.sliderId}`)
|
|
81
|
-
.shadowRoot.querySelector("#nextBtn");
|
|
65
|
+
const boxWrap = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('.box-wrap');
|
|
66
|
+
const prevBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#prevBtn');
|
|
67
|
+
const nextBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#nextBtn');
|
|
82
68
|
if (event !== undefined && event.target) {
|
|
83
|
-
let notDropdown = !event.target.closest(
|
|
69
|
+
let notDropdown = !event.target.closest('.dropdown-content');
|
|
84
70
|
this.updateArrows(event.target, prevBtn, nextBtn, notDropdown);
|
|
85
71
|
}
|
|
86
72
|
else {
|
|
@@ -89,18 +75,14 @@ const PtcNavSlider = class {
|
|
|
89
75
|
}
|
|
90
76
|
leftScroll(ele) {
|
|
91
77
|
const sliderId = ele.sliderId;
|
|
92
|
-
const left = document
|
|
93
|
-
.querySelector(`#${sliderId}`)
|
|
94
|
-
.shadowRoot.querySelector(`.box-wrap`);
|
|
78
|
+
const left = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
|
|
95
79
|
if (left.scrollLeft > 0) {
|
|
96
80
|
left.scrollBy(-200, 0);
|
|
97
81
|
}
|
|
98
82
|
}
|
|
99
83
|
rightScroll(ele) {
|
|
100
84
|
const sliderId = ele.sliderId;
|
|
101
|
-
const right = document
|
|
102
|
-
.querySelector(`#${sliderId}`)
|
|
103
|
-
.shadowRoot.querySelector(`.box-wrap`);
|
|
85
|
+
const right = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
|
|
104
86
|
if (right.scrollLeft + right.offsetWidth < right.scrollWidth) {
|
|
105
87
|
right.scrollBy(200, 0);
|
|
106
88
|
}
|