@ptcwebops/ptcw-design 6.3.65-beta → 6.3.68-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 +31 -29
- package/dist/cjs/blog-detail-content_2.cjs.entry.js +66 -61
- package/dist/cjs/blog-detail-layout.cjs.entry.js +12 -12
- package/dist/cjs/blogs-search-section.cjs.entry.js +59 -48
- package/dist/cjs/bundle-example.cjs.entry.js +3 -2
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +23 -10
- package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +5 -3
- package/dist/cjs/embedded-form.cjs.entry.js +27 -27
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +53 -46
- 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 +30 -22
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +19 -16
- package/dist/cjs/footer-form.cjs.entry.js +9 -9
- package/dist/cjs/homepage-clickable-tab.cjs.entry.js +23 -8
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +28 -17
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +44 -21
- 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 +12 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/max-width-container.cjs.entry.js +4 -4
- package/dist/cjs/modal-form-example.cjs.entry.js +43 -28
- package/dist/cjs/most-popular-news.cjs.entry.js +2 -2
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +25 -17
- package/dist/cjs/ptc-accordion.cjs.entry.js +13 -10
- package/dist/cjs/ptc-announcement.cjs.entry.js +18 -15
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +29 -27
- package/dist/cjs/ptc-background-video.cjs.entry.js +14 -12
- package/dist/cjs/ptc-badge.cjs.entry.js +3 -3
- package/dist/cjs/ptc-bio-card.cjs.entry.js +13 -9
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +14 -8
- package/dist/cjs/ptc-brightcov-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +48 -20
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +59 -31
- package/dist/cjs/ptc-card-content.cjs.entry.js +35 -25
- package/dist/cjs/ptc-card_2.cjs.entry.js +112 -62
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +43 -35
- 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 +63 -50
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +88 -57
- package/dist/cjs/ptc-container.cjs.entry.js +10 -10
- package/dist/cjs/ptc-countdown.cjs.entry.js +65 -65
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +61 -25
- package/dist/cjs/ptc-date.cjs.entry.js +4 -4
- package/dist/cjs/ptc-dropdown.cjs.entry.js +22 -19
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +14 -9
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +40 -27
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +29 -20
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +14 -7
- package/dist/cjs/ptc-featured-list.cjs.entry.js +9 -11
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +110 -73
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +128 -31
- package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +57 -32
- package/dist/cjs/ptc-footer.cjs.entry.js +12 -10
- package/dist/cjs/ptc-form-checkbox_4.cjs.entry.js +533 -429
- 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 +95 -35
- package/dist/cjs/ptc-hero.cjs.entry.js +5 -2
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +4 -2
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +69 -42
- package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +4 -4
- package/dist/cjs/ptc-icon-card.cjs.entry.js +4 -2
- package/dist/cjs/ptc-icon-component.cjs.entry.js +17 -11
- package/dist/cjs/ptc-icon-list.cjs.entry.js +7 -8
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +42 -27
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +6 -4
- package/dist/cjs/ptc-img.cjs.entry.js +56 -49
- package/dist/cjs/ptc-info-tile.cjs.entry.js +6 -6
- package/dist/cjs/ptc-inline-cta.cjs.entry.js +40 -31
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +90 -56
- package/dist/cjs/ptc-link.cjs.entry.js +29 -25
- package/dist/cjs/ptc-list.cjs.entry.js +9 -9
- package/dist/cjs/ptc-media-card.cjs.entry.js +31 -13
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +5 -5
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +22 -16
- package/dist/cjs/ptc-modal-quiz.cjs.entry.js +44 -20
- package/dist/cjs/ptc-nav-card.cjs.entry.js +6 -12
- 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 +36 -18
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +4 -7
- 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 +104 -71
- package/dist/cjs/ptc-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ptc-para.cjs.entry.js +38 -26
- package/dist/cjs/ptc-picture.cjs.entry.js +39 -33
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +9 -5
- package/dist/cjs/ptc-preloader.cjs.entry.js +22 -0
- package/dist/cjs/ptc-previous-url.cjs.entry.js +6 -5
- 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 +162 -107
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +10 -8
- package/dist/cjs/ptc-product-card.cjs.entry.js +14 -15
- package/dist/cjs/ptc-product-category.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +10 -8
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +5 -5
- package/dist/cjs/ptc-product-list.cjs.entry.js +64 -56
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +39 -38
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +2 -1
- package/dist/cjs/ptc-quantity-counter.cjs.entry.js +13 -11
- package/dist/cjs/ptc-quote.cjs.entry.js +6 -4
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +7 -7
- package/dist/cjs/ptc-readmore-new.cjs.entry.js +17 -19
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +22 -22
- package/dist/cjs/ptc-readmore.cjs.entry.js +48 -42
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +45 -40
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +25 -24
- package/dist/cjs/ptc-search-field.cjs.entry.js +29 -18
- package/dist/cjs/ptc-seo-title.cjs.entry.js +8 -8
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +34 -32
- package/dist/cjs/ptc-skeleton.cjs.entry.js +8 -3
- package/dist/cjs/ptc-slit-card.cjs.entry.js +10 -6
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +12 -2
- package/dist/cjs/ptc-social-icons.cjs.entry.js +3 -3
- package/dist/cjs/ptc-spacer.cjs.entry.js +14 -14
- package/dist/cjs/ptc-span.cjs.entry.js +3 -3
- package/dist/cjs/ptc-square-card.cjs.entry.js +5 -1
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +4 -2
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +13 -13
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +8 -7
- 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 +5 -3
- package/dist/cjs/ptc-tab-list.cjs.entry.js +65 -57
- 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 -15
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +21 -13
- package/dist/cjs/ptc-title.cjs.entry.js +49 -40
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +28 -22
- package/dist/cjs/ptc-tooltip-v3.cjs.entry.js +24 -19
- package/dist/cjs/ptc-tooltip.cjs.entry.js +29 -23
- 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 +1 -2
- package/dist/cjs/ptc-value-led-intro.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-layout.cjs.entry.js +79 -49
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +9 -6
- 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 +22 -9
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +20 -15
- 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 +10 -8
- package/dist/cjs/tab-header.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/dropdown-item/dropdown-item.css +8 -4
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.css +8 -4
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +8 -6
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +16 -12
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +24 -9
- package/dist/collection/components/icon-asset/icon-asset.css +26 -10
- package/dist/collection/components/icon-asset/icon-asset.js +29 -29
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +133 -13
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +4 -5
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +8 -4
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +2 -2
- package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.css +16 -8
- package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.js +4 -4
- package/dist/collection/components/list-item/list-item.css +8 -4
- package/dist/collection/components/list-item/list-item.js +18 -14
- 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 +32 -30
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +10 -6
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.js +58 -49
- package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.css +8 -4
- 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 +8 -4
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +61 -50
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +4 -3
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +148 -138
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +30 -22
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +25 -12
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +9 -5
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +56 -49
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +14 -10
- 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 +8 -4
- 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 +9 -5
- 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 +10 -6
- 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 +10 -6
- 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.js +44 -29
- package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +96 -36
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +8 -4
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +37 -26
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +12 -8
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +45 -22
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.css +9 -5
- 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 +8 -4
- 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 +10 -6
- 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 +8 -4
- 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 +23 -18
- 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 +54 -29
- 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 +8 -4
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +29 -21
- package/dist/collection/components/ptc-accordion/ptc-accordion.css +14 -9
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +18 -15
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +8 -4
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +23 -20
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +8 -4
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +30 -28
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +8 -4
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +22 -20
- package/dist/collection/components/ptc-badge/ptc-badge.css +10 -5
- package/dist/collection/components/ptc-badge/ptc-badge.js +6 -6
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +135 -14
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +13 -9
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +8 -4
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +18 -12
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.css +8 -4
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +2 -2
- package/dist/collection/components/ptc-button/ptc-button.css +10 -6
- package/dist/collection/components/ptc-button/ptc-button.js +63 -35
- package/dist/collection/components/ptc-card/ptc-card.css +11 -5
- package/dist/collection/components/ptc-card/ptc-card.js +81 -34
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +8 -4
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +20 -14
- package/dist/collection/components/ptc-card-content/ptc-card-content.css +8 -4
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +38 -28
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +9 -5
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +43 -21
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +133 -14
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +44 -36
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +8 -4
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +15 -15
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.css +8 -4
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.js +7 -7
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.css +8 -4
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +2 -2
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +46 -13
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +92 -61
- package/dist/collection/components/ptc-container/ptc-container.css +8 -4
- package/dist/collection/components/ptc-container/ptc-container.js +19 -19
- package/dist/collection/components/ptc-countdown/ptc-countdown.css +8 -4
- package/dist/collection/components/ptc-countdown/ptc-countdown.js +76 -76
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.css +8 -4
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +68 -32
- package/dist/collection/components/ptc-date/ptc-date.css +8 -4
- package/dist/collection/components/ptc-date/ptc-date.js +9 -9
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +8 -4
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +25 -22
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +22 -11
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +20 -15
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +8 -4
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +42 -29
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +8 -4
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +32 -22
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +11 -7
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +16 -9
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.css +8 -4
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +5 -2
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +8 -4
- 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 +8 -4
- 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 +133 -13
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +9 -11
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +8 -4
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +30 -21
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +145 -25
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +129 -32
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +8 -4
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +18 -18
- package/dist/collection/components/ptc-footer/ptc-footer-v2.css +26 -13
- package/dist/collection/components/ptc-footer/ptc-footer.js +13 -11
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +10 -6
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +21 -17
- package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.css +8 -4
- 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 +8 -4
- package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.js +8 -8
- package/dist/collection/components/ptc-hero/ptc-hero.css +8 -4
- package/dist/collection/components/ptc-hero/ptc-hero.js +8 -5
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.css +10 -5
- 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 +8 -4
- package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.js +6 -4
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +16 -8
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +72 -45
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +8 -4
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +6 -4
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +8 -4
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +19 -14
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +8 -4
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +13 -14
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +8 -4
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +43 -28
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +8 -4
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +7 -5
- package/dist/collection/components/ptc-img/ptc-img.css +37 -4
- package/dist/collection/components/ptc-img/ptc-img.js +67 -60
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +16 -8
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +7 -7
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +9 -5
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.js +42 -33
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +134 -14
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +93 -59
- package/dist/collection/components/ptc-link/ptc-link.css +16 -9
- package/dist/collection/components/ptc-link/ptc-link.js +37 -33
- package/dist/collection/components/ptc-list/ptc-list.css +8 -4
- package/dist/collection/components/ptc-list/ptc-list.js +12 -12
- package/dist/collection/components/ptc-media-card/ptc-media-card.css +9 -5
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +37 -19
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +8 -4
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +10 -10
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +12 -6
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +27 -21
- package/dist/collection/components/ptc-modal/ptc-modal.css +8 -4
- package/dist/collection/components/ptc-modal/ptc-modal.js +71 -58
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +8 -4
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +45 -21
- package/dist/collection/components/ptc-multi-select/ptc-multi-select.css +11 -7
- package/dist/collection/components/ptc-multi-select/ptc-multi-select.js +105 -50
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +8 -4
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +9 -15
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.css +8 -4
- 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 +10 -6
- 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 +8 -4
- package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.js +2 -2
- package/dist/collection/components/ptc-news/ptc-news.css +8 -4
- package/dist/collection/components/ptc-news/ptc-news.js +2 -2
- package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.css +8 -4
- 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 +8 -4
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +114 -81
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +12 -8
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +6 -6
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +25 -12
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +45 -20
- package/dist/collection/components/ptc-para/ptc-para.css +8 -4
- package/dist/collection/components/ptc-para/ptc-para.js +60 -49
- package/dist/collection/components/ptc-picture/ptc-picture.css +8 -4
- package/dist/collection/components/ptc-picture/ptc-picture.js +55 -49
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +133 -13
- 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 +8 -4
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.js +10 -6
- package/dist/collection/components/ptc-preloader/ptc-preloader.css +147 -0
- package/dist/collection/components/ptc-preloader/ptc-preloader.js +62 -0
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +29 -23
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +39 -36
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +8 -4
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +9 -8
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +8 -4
- 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 +8 -4
- 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 +8 -4
- 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 +8 -4
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +166 -110
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +8 -4
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +12 -10
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +133 -13
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +14 -15
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +133 -13
- package/dist/collection/components/ptc-product-category/ptc-product-category.js +2 -2
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +8 -4
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +11 -9
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +133 -13
- 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 +8 -4
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +65 -57
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +8 -4
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +41 -40
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.css +8 -4
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +3 -2
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +8 -4
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.js +16 -14
- package/dist/collection/components/ptc-quote/ptc-quote.css +10 -5
- package/dist/collection/components/ptc-quote/ptc-quote.js +10 -8
- package/dist/collection/components/ptc-readmore/ptc-readmore.css +8 -4
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +62 -56
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +133 -13
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +7 -7
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.css +8 -4
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.js +18 -20
- package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.css +8 -4
- package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.js +10 -14
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +133 -13
- 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 +9 -4
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +47 -42
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +2 -2
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.css +8 -4
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +29 -28
- package/dist/collection/components/ptc-search-field/ptc-search-field.css +8 -4
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +32 -22
- package/dist/collection/components/ptc-select/ptc-select.css +12 -8
- package/dist/collection/components/ptc-select/ptc-select.js +292 -290
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.css +8 -4
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +24 -24
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +8 -4
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +40 -38
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.css +8 -4
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.js +1 -1
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +8 -4
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +10 -5
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +8 -4
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +13 -9
- package/dist/collection/components/ptc-social-icons/ptc-social-icons.css +8 -4
- 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 +8 -4
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +22 -12
- package/dist/collection/components/ptc-social-share/ptc-social-share.css +8 -4
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +54 -35
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +21 -21
- package/dist/collection/components/ptc-span/ptc-span.css +8 -4
- package/dist/collection/components/ptc-span/ptc-span.js +10 -10
- package/dist/collection/components/ptc-square-card/ptc-square-card.css +8 -4
- package/dist/collection/components/ptc-square-card/ptc-square-card.js +7 -3
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.css +8 -4
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +5 -3
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.css +8 -4
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +14 -14
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.css +8 -4
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +11 -10
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +8 -4
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +14 -12
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +8 -4
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +67 -59
- package/dist/collection/components/ptc-tabs/ptc-tab.js +3 -3
- package/dist/collection/components/ptc-tabs/ptc-tabs.css +8 -4
- 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 +8 -4
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +16 -20
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +44 -13
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +148 -104
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +10 -6
- 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 +8 -4
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +23 -15
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.css +8 -4
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +36 -27
- package/dist/collection/components/ptc-title/ptc-title.css +8 -4
- package/dist/collection/components/ptc-title/ptc-title.js +73 -64
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +8 -4
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +43 -37
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +133 -13
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.js +34 -28
- package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.css +8 -4
- package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.js +32 -27
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.css +8 -4
- 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 +8 -4
- 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 +8 -4
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +2 -3
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.css +8 -4
- 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 +8 -4
- 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 +8 -4
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +80 -50
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +133 -13
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +9 -6
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +8 -4
- 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 +8 -4
- package/dist/collection/components/ptc-video-embed/ptc-video-embed.js +23 -23
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +150 -20
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +22 -9
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +8 -4
- 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 +8 -4
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +37 -19
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +8 -4
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +5 -8
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +8 -4
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +6 -6
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.css +8 -4
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +2 -2
- package/dist/collection/components/tab-content/tab-content.css +18 -5
- package/dist/collection/components/tab-content/tab-content.js +11 -9
- package/dist/collection/components/tab-header/tab-header.css +10 -5
- package/dist/collection/components/tab-header/tab-header.js +6 -6
- package/dist/collection/stories/Accordian.stories.js +32 -18
- package/dist/collection/stories/Announcement.stories.js +29 -1
- package/dist/collection/stories/Breadcrumb2.stories.js +62 -0
- package/dist/collection/stories/BrightcovVideo.stories.js +21 -0
- package/dist/collection/stories/Button.stories.js +150 -66
- package/dist/collection/stories/Checkbox.stories.js +13 -45
- package/dist/collection/stories/CheckboxGroup.stories.js +27 -0
- package/dist/collection/stories/CloseIcon.stories.js +10 -0
- package/dist/collection/stories/CollapseList.stories.js +14 -0
- package/dist/collection/stories/Countdown.stories.js +10 -0
- package/dist/collection/stories/DataLookup.stories.js +21 -0
- package/dist/collection/stories/Date.stories.js +70 -75
- package/dist/collection/stories/EllipsisDropdown.stories.js +14 -0
- package/dist/collection/stories/Hero.stories.js +22 -107
- package/dist/collection/stories/HeroFooterCTA.stories.js +21 -0
- package/dist/collection/stories/ListItem.stories.js +20 -46
- package/dist/collection/stories/MultiSelect.stories.js +10 -0
- package/dist/collection/stories/ScrollButton.stories.js +14 -0
- package/dist/collection/stories/SearchField.stories.js +21 -0
- package/dist/collection/stories/Select.stories.js +17 -68
- package/dist/collection/stories/SocialShare.stories.js +67 -51
- package/dist/collection/stories/Span.stories.js +45 -51
- package/dist/collection/stories/SvgBtn.stories.js +36 -0
- package/dist/collection/stories/TextCopyWithBackground.stories.js +78 -220
- package/dist/collection/stories/TheaterVideo.stories.js +21 -0
- package/dist/collection/stories/VideoEmbed.stories.js +10 -0
- package/dist/collection/stories/backToTop.stories.js +10 -0
- package/dist/collection/stories/backgroundVideo.stories.js +115 -0
- package/dist/collection/stories/jumbotronSubMenu.stories.js +14 -0
- package/dist/collection/stories/ptcLink2.stories.js +142 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +4226 -3059
- package/dist/esm/academic-form-test.entry.js +24 -24
- package/dist/esm/author-listing-example.entry.js +31 -29
- package/dist/esm/blog-detail-content_2.entry.js +66 -61
- package/dist/esm/blog-detail-layout.entry.js +12 -12
- package/dist/esm/blogs-search-section.entry.js +59 -48
- package/dist/esm/bundle-example.entry.js +3 -2
- package/dist/esm/bundle-jumbotron-example.entry.js +23 -10
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +5 -3
- package/dist/esm/embedded-form.entry.js +27 -27
- package/dist/esm/event-jumbotron-example.entry.js +53 -46
- 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 +30 -22
- package/dist/esm/fl-tab-content_3.entry.js +19 -16
- package/dist/esm/footer-form.entry.js +9 -9
- package/dist/esm/homepage-clickable-tab.entry.js +23 -8
- package/dist/esm/homepage-jumbotron.entry.js +28 -17
- package/dist/esm/homepage-toggled-content.entry.js +44 -21
- package/dist/esm/icon-asset.entry.js +18 -18
- package/dist/esm/innovator-toggle-container.entry.js +4 -4
- 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 +12 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/max-width-container.entry.js +4 -4
- package/dist/esm/modal-form-example.entry.js +43 -28
- package/dist/esm/most-popular-news.entry.js +2 -2
- package/dist/esm/ptc-accordion-item.entry.js +25 -17
- package/dist/esm/ptc-accordion.entry.js +13 -10
- package/dist/esm/ptc-announcement.entry.js +18 -15
- package/dist/esm/ptc-back-to-top.entry.js +29 -27
- package/dist/esm/ptc-background-video.entry.js +14 -12
- package/dist/esm/ptc-badge.entry.js +3 -3
- package/dist/esm/ptc-bio-card.entry.js +13 -9
- package/dist/esm/ptc-breadcrumb.entry.js +14 -8
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +48 -20
- package/dist/esm/ptc-card-bottom_2.entry.js +59 -31
- package/dist/esm/ptc-card-content.entry.js +35 -25
- package/dist/esm/ptc-card_2.entry.js +112 -62
- package/dist/esm/ptc-case-studies-slider.entry.js +43 -35
- 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 +63 -50
- package/dist/esm/ptc-collapse-list.entry.js +88 -57
- package/dist/esm/ptc-container.entry.js +10 -10
- package/dist/esm/ptc-countdown.entry.js +65 -65
- package/dist/esm/ptc-data-lookup.entry.js +61 -25
- package/dist/esm/ptc-date.entry.js +4 -4
- package/dist/esm/ptc-dropdown.entry.js +22 -19
- package/dist/esm/ptc-dynamic-card.entry.js +14 -9
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +40 -27
- package/dist/esm/ptc-embedded-quiz.entry.js +29 -20
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +14 -7
- package/dist/esm/ptc-featured-list.entry.js +9 -11
- package/dist/esm/ptc-filter-dropdown_4.entry.js +110 -73
- package/dist/esm/ptc-filter-level-theater.entry.js +128 -31
- package/dist/esm/ptc-filter-tag_2.entry.js +57 -32
- package/dist/esm/ptc-footer.entry.js +12 -10
- package/dist/esm/ptc-form-checkbox_4.entry.js +533 -429
- 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 +95 -35
- package/dist/esm/ptc-hero.entry.js +5 -2
- package/dist/esm/ptc-homepage-image-feature.entry.js +4 -2
- package/dist/esm/ptc-homepage-video-background.entry.js +69 -42
- package/dist/esm/ptc-icon-card-slider-example.entry.js +4 -4
- package/dist/esm/ptc-icon-card.entry.js +4 -2
- package/dist/esm/ptc-icon-component.entry.js +17 -11
- package/dist/esm/ptc-icon-list.entry.js +7 -8
- package/dist/esm/ptc-icon-minimize.entry.js +42 -27
- package/dist/esm/ptc-image-download-strip.entry.js +6 -4
- package/dist/esm/ptc-img.entry.js +56 -49
- package/dist/esm/ptc-info-tile.entry.js +6 -6
- package/dist/esm/ptc-inline-cta.entry.js +40 -31
- package/dist/esm/ptc-jumbotron.entry.js +90 -56
- package/dist/esm/ptc-link.entry.js +29 -25
- package/dist/esm/ptc-list.entry.js +9 -9
- package/dist/esm/ptc-media-card.entry.js +31 -13
- package/dist/esm/ptc-minimized-nav.entry.js +5 -5
- package/dist/esm/ptc-mobile-select.entry.js +22 -16
- package/dist/esm/ptc-modal-quiz.entry.js +44 -20
- package/dist/esm/ptc-nav-card.entry.js +6 -12
- 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 +36 -18
- package/dist/esm/ptc-nav-submenu.entry.js +4 -7
- 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 +104 -71
- package/dist/esm/ptc-overlay.entry.js +2 -2
- package/dist/esm/ptc-para.entry.js +38 -26
- package/dist/esm/ptc-picture.entry.js +39 -33
- package/dist/esm/ptc-podcast-card.entry.js +2 -2
- package/dist/esm/ptc-preferance-center-form.entry.js +9 -5
- package/dist/esm/ptc-preloader.entry.js +18 -0
- package/dist/esm/ptc-previous-url.entry.js +6 -5
- 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 +162 -107
- package/dist/esm/ptc-pricing-tabs.entry.js +10 -8
- package/dist/esm/ptc-product-card.entry.js +14 -15
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +10 -8
- package/dist/esm/ptc-product-highlight-card.entry.js +5 -5
- package/dist/esm/ptc-product-list.entry.js +64 -56
- package/dist/esm/ptc-product-sidebar.entry.js +39 -38
- package/dist/esm/ptc-progress-bar.entry.js +2 -1
- package/dist/esm/ptc-quantity-counter.entry.js +13 -11
- package/dist/esm/ptc-quote.entry.js +6 -4
- package/dist/esm/ptc-readmore-char.entry.js +7 -7
- package/dist/esm/ptc-readmore-new.entry.js +17 -19
- package/dist/esm/ptc-readmore-v3.entry.js +22 -22
- package/dist/esm/ptc-readmore.entry.js +48 -42
- package/dist/esm/ptc-related-card-rail.entry.js +45 -40
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-scroll-button.entry.js +25 -24
- package/dist/esm/ptc-search-field.entry.js +29 -18
- package/dist/esm/ptc-seo-title.entry.js +8 -8
- package/dist/esm/ptc-shopping-cart.entry.js +34 -32
- package/dist/esm/ptc-skeleton.entry.js +8 -3
- package/dist/esm/ptc-slit-card.entry.js +10 -6
- package/dist/esm/ptc-social-icons-footer.entry.js +12 -2
- package/dist/esm/ptc-social-icons.entry.js +3 -3
- package/dist/esm/ptc-spacer.entry.js +14 -14
- package/dist/esm/ptc-span.entry.js +3 -3
- package/dist/esm/ptc-square-card.entry.js +5 -1
- package/dist/esm/ptc-sticky-icons.entry.js +4 -2
- package/dist/esm/ptc-sticky-section.entry.js +13 -13
- package/dist/esm/ptc-sticky-title.entry.js +8 -7
- 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 +5 -3
- package/dist/esm/ptc-tab-list.entry.js +65 -57
- 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 +11 -15
- package/dist/esm/ptc-theater-video-modal.entry.js +21 -13
- package/dist/esm/ptc-title.entry.js +49 -40
- package/dist/esm/ptc-tooltip-v2.entry.js +28 -22
- package/dist/esm/ptc-tooltip-v3.entry.js +24 -19
- package/dist/esm/ptc-tooltip.entry.js +29 -23
- 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 +1 -2
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +79 -49
- package/dist/esm/ptc-value-led-speed-bump.entry.js +9 -6
- 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 +22 -9
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/sequential-bundle-example.entry.js +20 -15
- 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 +10 -8
- package/dist/esm/tab-header.entry.js +5 -5
- package/dist/ptcw-design/{p-1feb2812.entry.js → p-056748b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-dfb400ed.entry.js → p-1bffeaed.entry.js} +1 -1
- package/dist/ptcw-design/{p-9501995f.entry.js → p-21db0a85.entry.js} +1 -1
- package/dist/ptcw-design/{p-5311c6e1.entry.js → p-2670ac97.entry.js} +1 -1
- package/dist/ptcw-design/p-2c287230.entry.js +1 -0
- package/dist/ptcw-design/{p-e43c30c9.entry.js → p-2c8faf9a.entry.js} +1 -1
- package/dist/ptcw-design/{p-fed61f9b.entry.js → p-312c41b8.entry.js} +1 -1
- package/dist/ptcw-design/p-349f43d5.entry.js +1 -0
- package/dist/ptcw-design/{p-8521fdd4.entry.js → p-36ee2e12.entry.js} +1 -1
- package/dist/ptcw-design/{p-32f64f48.entry.js → p-390c0dee.entry.js} +1 -1
- package/dist/ptcw-design/p-3a40c41f.entry.js +1 -0
- package/dist/ptcw-design/{p-c82eaf9d.entry.js → p-4d11aafc.entry.js} +1 -1
- package/dist/ptcw-design/{p-b6255525.entry.js → p-4f0b8ca2.entry.js} +1 -1
- package/dist/ptcw-design/{p-c8f68292.entry.js → p-4f4f97a6.entry.js} +1 -1
- package/dist/ptcw-design/{p-7f9ad266.entry.js → p-50308f02.entry.js} +1 -1
- package/dist/ptcw-design/{p-4702c233.entry.js → p-54f5a5be.entry.js} +1 -1
- package/dist/ptcw-design/{p-b49245ed.entry.js → p-5c81c755.entry.js} +1 -1
- package/dist/ptcw-design/{p-ef5b5890.entry.js → p-5e4c1edf.entry.js} +1 -1
- package/dist/ptcw-design/p-63b3bcbe.entry.js +1 -0
- package/dist/ptcw-design/p-656e8773.entry.js +1 -0
- package/dist/ptcw-design/{p-e6a272d9.entry.js → p-684ef1e5.entry.js} +1 -1
- package/dist/ptcw-design/p-6f9f55b3.entry.js +1 -0
- package/dist/ptcw-design/{p-d73cc053.entry.js → p-7235425a.entry.js} +1 -1
- package/dist/ptcw-design/{p-baff4d44.entry.js → p-74097f89.entry.js} +1 -1
- package/dist/ptcw-design/{p-0b515839.entry.js → p-81bcde85.entry.js} +1 -1
- package/dist/ptcw-design/{p-e90fbbad.entry.js → p-8b480abd.entry.js} +1 -1
- package/dist/ptcw-design/{p-68ed2afe.entry.js → p-9354b7fd.entry.js} +1 -1
- package/dist/ptcw-design/{p-8e42a22d.entry.js → p-9f01419b.entry.js} +1 -1
- package/dist/ptcw-design/{p-14b7693f.entry.js → p-abadbe5b.entry.js} +1 -1
- package/dist/ptcw-design/{p-d66debb3.entry.js → p-ac766cb3.entry.js} +1 -1
- package/dist/ptcw-design/{p-0c4918f5.entry.js → p-af831c13.entry.js} +1 -1
- package/dist/ptcw-design/{p-75390f63.entry.js → p-b684ca9d.entry.js} +1 -1
- package/dist/ptcw-design/{p-845d10b5.entry.js → p-c09a8288.entry.js} +1 -1
- package/dist/ptcw-design/{p-b647f7a1.entry.js → p-c3022c48.entry.js} +1 -1
- package/dist/ptcw-design/{p-539639ff.entry.js → p-c6431ebc.entry.js} +1 -1
- package/dist/ptcw-design/{p-fe40421e.entry.js → p-cb0e3ec2.entry.js} +1 -1
- package/dist/ptcw-design/{p-cc677723.entry.js → p-ce121fb3.entry.js} +1 -1
- package/dist/ptcw-design/p-d0fb9bfb.entry.js +1 -0
- package/dist/ptcw-design/{p-ce285530.entry.js → p-d4af87ae.entry.js} +3 -3
- package/dist/ptcw-design/{p-7cc9255e.entry.js → p-d77531c8.entry.js} +1 -1
- package/dist/ptcw-design/{p-297a14cb.entry.js → p-d875f96d.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf56d5a3.entry.js → p-e01173ca.entry.js} +1 -1
- package/dist/ptcw-design/{p-9d3a7f36.entry.js → p-e03d7060.entry.js} +1 -1
- package/dist/ptcw-design/{p-008307a6.entry.js → p-e93714e9.entry.js} +1 -1
- package/dist/ptcw-design/{p-a2c7df64.entry.js → p-ee91170c.entry.js} +1 -1
- package/dist/ptcw-design/p-f57f32ee.entry.js +1 -0
- package/dist/ptcw-design/{p-e94353a4.entry.js → p-fa4a494e.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +9 -2
- 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/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 +12 -12
- package/dist/types/components/ptc-card/ptc-card.d.ts +3 -3
- 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-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 +1 -1
- 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 +3 -3
- 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 +7 -7
- package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +2 -2
- 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 -1
- 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 +1 -1
- 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-preloader/ptc-preloader.d.ts +5 -0
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +1 -1
- 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 -1
- 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 +3 -3
- 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 -19
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +3 -3
- 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 -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 +1 -1
- 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 +1107 -590
- package/package.json +4 -2
- package/readme.md +1 -1
- package/dist/ptcw-design/p-02822616.entry.js +0 -1
- package/dist/ptcw-design/p-1eb40265.entry.js +0 -1
- package/dist/ptcw-design/p-2aa19c11.entry.js +0 -1
- package/dist/ptcw-design/p-3dd0ded9.entry.js +0 -1
- package/dist/ptcw-design/p-410f98c6.entry.js +0 -1
- package/dist/ptcw-design/p-7588b226.entry.js +0 -1
- package/dist/ptcw-design/p-a59c9cdc.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
|
|
2
2
|
import { b as getFileExtension } from './utils-2f12c081.js';
|
|
3
3
|
|
|
4
|
-
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:#
|
|
4
|
+
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}}";
|
|
5
5
|
|
|
6
6
|
const PtcMediaCard = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -10,15 +10,15 @@ const PtcMediaCard = class {
|
|
|
10
10
|
* ref video element
|
|
11
11
|
*/
|
|
12
12
|
this.videoEle = undefined;
|
|
13
|
-
this.cardType =
|
|
13
|
+
this.cardType = "media-card";
|
|
14
14
|
this.cardHref = undefined;
|
|
15
|
-
this.target =
|
|
15
|
+
this.target = "_self";
|
|
16
16
|
this.rel = undefined;
|
|
17
17
|
this.activeBackgroundImage = undefined;
|
|
18
18
|
this.activeBackgroundImageAlt = undefined;
|
|
19
19
|
this.hoverBackgroundImage = undefined;
|
|
20
20
|
this.heading = undefined;
|
|
21
|
-
this.headingTransform =
|
|
21
|
+
this.headingTransform = "none";
|
|
22
22
|
this.category = undefined;
|
|
23
23
|
this.ariaLabel = undefined;
|
|
24
24
|
this.iconImage = undefined;
|
|
@@ -33,14 +33,16 @@ const PtcMediaCard = class {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
getCardText() {
|
|
36
|
-
if (this.cardType ===
|
|
36
|
+
if (this.cardType === "media-card") {
|
|
37
37
|
return [
|
|
38
38
|
h("div", { class: "card-wrap" }, h("div", { class: "car-content" }, h("p", null, this.category, " "), h("h3", null, this.heading))),
|
|
39
39
|
];
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
setTabNavigatedState() {
|
|
43
|
-
this.el.parentElement.tagName ===
|
|
43
|
+
this.el.parentElement.tagName === "DYNAMIC-PRODUCT-DRIVERS"
|
|
44
|
+
? (this.isTabNavigated = false)
|
|
45
|
+
: (this.isTabNavigated = true);
|
|
44
46
|
}
|
|
45
47
|
componentWillLoad() {
|
|
46
48
|
this.setTabNavigatedState();
|
|
@@ -49,22 +51,38 @@ const PtcMediaCard = class {
|
|
|
49
51
|
this.ariaLabel = this.getLastStringAfterSlash(this.cardHref);
|
|
50
52
|
}
|
|
51
53
|
getLastStringAfterSlash(url) {
|
|
52
|
-
const parts = url.split(
|
|
54
|
+
const parts = url.split("/");
|
|
53
55
|
return parts[parts.length - 1];
|
|
54
56
|
}
|
|
55
57
|
render() {
|
|
56
|
-
const Tag = !!this.cardHref ?
|
|
58
|
+
const Tag = !!this.cardHref ? "a" : "div";
|
|
57
59
|
const isVideoUrl = this.hoverBackgroundImage
|
|
58
|
-
? getFileExtension(this.hoverBackgroundImage) ===
|
|
60
|
+
? getFileExtension(this.hoverBackgroundImage) === ".mp4" ||
|
|
61
|
+
this.hoverBackgroundImage.includes(".mp4")
|
|
59
62
|
? true
|
|
60
63
|
: false
|
|
61
64
|
: false;
|
|
62
65
|
const classMap = this.getCssClassMap();
|
|
63
|
-
return (h(Host, { class: classMap, onmouseenter: () => (this.isHovered = true), onmouseleave: () => (this.isHovered = false), style: this.cardType !=
|
|
66
|
+
return (h(Host, { class: classMap, onmouseenter: () => (this.isHovered = true), onmouseleave: () => (this.isHovered = false), style: this.cardType != "case-study-icon"
|
|
64
67
|
? this.isHovered && this.hoverBackgroundImage
|
|
65
|
-
? {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
? {
|
|
69
|
+
backgroundImage: `url(${this.hoverBackgroundImage})`,
|
|
70
|
+
}
|
|
71
|
+
: {
|
|
72
|
+
backgroundImage: `url(${this.activeBackgroundImage})`,
|
|
73
|
+
}
|
|
74
|
+
: {} }, h("slot", { name: "seo-content" }), this.cardType != "case-study-icon" ? (h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h(Tag, Object.assign({ class: "anchor-wrap", target: this.target, href: this.cardHref, rel: this.rel }, (this.isTabNavigated
|
|
75
|
+
? { tabindex: 0 }
|
|
76
|
+
: { tabindex: -1 }), { "aria-label": this.cardHref
|
|
77
|
+
? "Read more about " + this.ariaLabel
|
|
78
|
+
: undefined }), isVideoUrl && (h("video", { muted: true, loop: true, playsinline: true, poster: this.activeBackgroundImage, ref: (el) => (this.videoEle = el), style: this.isHovered
|
|
79
|
+
? { display: "block" }
|
|
80
|
+
: { display: "none" }, tabindex: "-1" }, h("source", { src: this.hoverBackgroundImage, type: "video/mp4" }, "Your browser does not support the video tag."))), this.cardType === "media-card" && (h("ptc-overlay", { "filter-color": "black-2" })), this.cardType === "media-card" &&
|
|
81
|
+
this.getCardText()))) : null, this.cardType === "case-study-icon" ? (h("div", { id: this.trackerId, class: "tracker-div" }, h("a", Object.assign({ class: "case-study-img-anchor mf-listen", target: this.target, href: this.cardHref, rel: this.rel, "aria-label": this.cardHref
|
|
82
|
+
? "Read more about " + this.ariaLabel
|
|
83
|
+
: undefined }, (this.isTabNavigated
|
|
84
|
+
? { tabindex: 0 }
|
|
85
|
+
: { tabindex: -1 })), h("img", { class: "case-study-bg-img", src: this.activeBackgroundImage, alt: this.activeBackgroundImageAlt }), h("div", { class: "after" }), h("img", { class: "case-study-icon-img", src: this.iconImage, alt: this.iconImageAlt })))) : null));
|
|
68
86
|
}
|
|
69
87
|
getCssClassMap() {
|
|
70
88
|
return {
|
|
@@ -5,14 +5,14 @@ const ptcMinimizedNavCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,pt
|
|
|
5
5
|
const PtcMinimizedNav = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
-
this.linkUrl =
|
|
9
|
-
this.imgSrc =
|
|
10
|
-
this.imgAlt =
|
|
11
|
-
this.navType =
|
|
8
|
+
this.linkUrl = "#";
|
|
9
|
+
this.imgSrc = "";
|
|
10
|
+
this.imgAlt = "PTC";
|
|
11
|
+
this.navType = "minimized-header";
|
|
12
12
|
this.trackerId = undefined;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, null, this.navType ==
|
|
15
|
+
return (h(Host, null, this.navType == "minimized-header" ? (h("div", { class: "minimized-header" }, h("div", { class: "header" }, h("div", { class: "ptc-container" }, h("a", { class: "mini-navbar-logo mf-listen", href: this.linkUrl, tabindex: "0", id: this.trackerId }, h("img", { src: this.imgSrc, alt: this.imgAlt })))))) : null, this.navType == "minimized-footer" ? (h("div", { class: "ptc-min-footer mini-footer" }, h("div", { class: "min-footer-copyright-wrapper" }, h("ul", { class: "min-footer-nav-list min-footer-copyright-list" }, h("slot", null))))) : null));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
PtcMinimizedNav.style = ptcMinimizedNavCss;
|
|
@@ -449,19 +449,19 @@ const PtcMobileSelect = class {
|
|
|
449
449
|
this.triggerName = undefined;
|
|
450
450
|
this.selectedText = undefined;
|
|
451
451
|
this.wheelData = undefined;
|
|
452
|
-
this.selectedId =
|
|
453
|
-
this.ensureBtnText =
|
|
454
|
-
this.cancelBtnText =
|
|
452
|
+
this.selectedId = "";
|
|
453
|
+
this.ensureBtnText = "Confirm";
|
|
454
|
+
this.cancelBtnText = "Cancel";
|
|
455
455
|
this.listTitle = undefined;
|
|
456
456
|
this.notFoundPopupProceedButton = undefined;
|
|
457
457
|
}
|
|
458
458
|
componentWillLoad() {
|
|
459
459
|
this.notFoundPopupProceedButton = document.querySelector("#translation-popup-button");
|
|
460
460
|
if (this.notFoundPopupProceedButton) {
|
|
461
|
-
this.notFoundPopupProceedButton.addEventListener(
|
|
461
|
+
this.notFoundPopupProceedButton.addEventListener("click", () => {
|
|
462
462
|
let footerNav = document.querySelector("footer-nav");
|
|
463
463
|
if (footerNav) {
|
|
464
|
-
let currentLang = footerNav.getAttribute(
|
|
464
|
+
let currentLang = footerNav.getAttribute("ms-selected-text");
|
|
465
465
|
let langText = document.querySelector("footer-nav #lang-ddl");
|
|
466
466
|
if (langText && currentLang) {
|
|
467
467
|
langText.innerHTML = currentLang;
|
|
@@ -484,21 +484,27 @@ const PtcMobileSelect = class {
|
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
486
|
render() {
|
|
487
|
-
return (h$1("div", { class: "mobile-select-wrapper", "aria-selectlanguage": "Select Language", tabindex: "0", onKeyPress: (e) => {
|
|
487
|
+
return (h$1("div", { class: "mobile-select-wrapper", "aria-selectlanguage": "Select Language", tabindex: "0", onKeyPress: (e) => {
|
|
488
|
+
this.wrapperClick(e);
|
|
489
|
+
} }, h$1("div", { onClick: (e) => {
|
|
490
|
+
this.wrapperClick(e);
|
|
491
|
+
} }, h$1("span", { id: this.triggerName }, this.selectedText), h$1("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;}" }))));
|
|
488
492
|
}
|
|
489
493
|
componentDidRender() {
|
|
490
494
|
let that = this; //input current lang
|
|
491
495
|
let storeIndex = 0;
|
|
492
496
|
let mySelect = new y({
|
|
493
497
|
trigger: `#${this.triggerName}`,
|
|
494
|
-
title: `${this.listTitle ? this.listTitle :
|
|
495
|
-
wheels: this.wheelData
|
|
498
|
+
title: `${this.listTitle ? this.listTitle : ""}`,
|
|
499
|
+
wheels: this.wheelData
|
|
500
|
+
? [{ data: this.wheelData }]
|
|
501
|
+
: [{ data: ["test1", "test2", "test3"] }],
|
|
496
502
|
position: [0],
|
|
497
503
|
ensureBtnText: this.ensureBtnText,
|
|
498
504
|
cancelBtnText: this.cancelBtnText,
|
|
499
|
-
ensureBtnColor:
|
|
500
|
-
cancelBtnColor:
|
|
501
|
-
titleColor:
|
|
505
|
+
ensureBtnColor: "var(--color-gray-12)",
|
|
506
|
+
cancelBtnColor: "var(--color-gray-12)",
|
|
507
|
+
titleColor: "var(--color-gray-12)",
|
|
502
508
|
onShow: function (_1, _2, context) {
|
|
503
509
|
if (that.selectedId) {
|
|
504
510
|
try {
|
|
@@ -519,9 +525,9 @@ const PtcMobileSelect = class {
|
|
|
519
525
|
this.selectionChanged.emit({
|
|
520
526
|
sender: context,
|
|
521
527
|
index: indexArr && indexArr.length > 0 ? indexArr[0] : -1,
|
|
522
|
-
data: data && data.length > 0 ? data[0] : undefined
|
|
528
|
+
data: data && data.length > 0 ? data[0] : undefined,
|
|
523
529
|
});
|
|
524
|
-
if (data && data[0] && data[0].id !=
|
|
530
|
+
if (data && data[0] && data[0].id != "#") {
|
|
525
531
|
window.location.href = data[0].id;
|
|
526
532
|
}
|
|
527
533
|
else {
|
|
@@ -538,11 +544,11 @@ const PtcMobileSelect = class {
|
|
|
538
544
|
mySelect.locatePosition(0, storeIndex);
|
|
539
545
|
}
|
|
540
546
|
getMobileSelectedItem(context) {
|
|
541
|
-
let result = new MobileSelectedItem;
|
|
547
|
+
let result = new MobileSelectedItem();
|
|
542
548
|
result.id = this.selectedId;
|
|
543
|
-
let liEle = context.mobileSelect.querySelectorAll(
|
|
549
|
+
let liEle = context.mobileSelect.querySelectorAll("[data-id]");
|
|
544
550
|
liEle.forEach((currentValue, currentIndex) => {
|
|
545
|
-
if (currentValue.getAttribute(
|
|
551
|
+
if (currentValue.getAttribute("data-id") == result.id) {
|
|
546
552
|
result.index = currentIndex;
|
|
547
553
|
result.value = currentValue.textContent;
|
|
548
554
|
return;
|
|
@@ -19,7 +19,7 @@ const PtcModalQuiz = class {
|
|
|
19
19
|
this.currentQuestion = 1;
|
|
20
20
|
this.currentSelectedPriority = null;
|
|
21
21
|
this.selectedPriorityRadio = null;
|
|
22
|
-
let inputs = this.el.shadowRoot.querySelectorAll(
|
|
22
|
+
let inputs = this.el.shadowRoot.querySelectorAll("input");
|
|
23
23
|
for (let i = 0; i < inputs.length; i++) {
|
|
24
24
|
inputs[i].checked = false;
|
|
25
25
|
}
|
|
@@ -44,8 +44,10 @@ const PtcModalQuiz = class {
|
|
|
44
44
|
if (!this.traversal[this.currentQuestion]) {
|
|
45
45
|
this.traversal[this.currentQuestion] = {};
|
|
46
46
|
}
|
|
47
|
-
this.traversal[this.currentQuestion]["priority"] =
|
|
48
|
-
|
|
47
|
+
this.traversal[this.currentQuestion]["priority"] =
|
|
48
|
+
this.currentSelectedPriority;
|
|
49
|
+
this.traversal[this.currentQuestion]["radio"] =
|
|
50
|
+
this.selectedPriorityRadio;
|
|
49
51
|
}
|
|
50
52
|
};
|
|
51
53
|
this.handlePreviousClick = (e) => {
|
|
@@ -54,11 +56,13 @@ const PtcModalQuiz = class {
|
|
|
54
56
|
this.currentSelectedPriority = null;
|
|
55
57
|
this.selectedPriorityRadio.checked = false;
|
|
56
58
|
this.currentQuestion -= 1;
|
|
57
|
-
this.currentSelectedPriority =
|
|
59
|
+
this.currentSelectedPriority =
|
|
60
|
+
this.traversal[this.currentQuestion]["priority"];
|
|
58
61
|
this.traversal[this.currentQuestion]["radio"].checked = true;
|
|
59
62
|
}
|
|
60
63
|
};
|
|
61
|
-
if (e instanceof MouseEvent ||
|
|
64
|
+
if (e instanceof MouseEvent ||
|
|
65
|
+
(e instanceof KeyboardEvent && e.key === "Enter")) {
|
|
62
66
|
if (e instanceof KeyboardEvent) {
|
|
63
67
|
e.preventDefault();
|
|
64
68
|
}
|
|
@@ -68,19 +72,23 @@ const PtcModalQuiz = class {
|
|
|
68
72
|
};
|
|
69
73
|
this.handleNextClick = (e) => {
|
|
70
74
|
const handler = () => {
|
|
71
|
-
if (!e.target.disabled &&
|
|
72
|
-
this.
|
|
75
|
+
if (!e.target.disabled &&
|
|
76
|
+
this.currentQuestion < this.totalQuestions) {
|
|
77
|
+
this.answers[this.currentQuestion] =
|
|
78
|
+
this.currentSelectedPriority;
|
|
73
79
|
this.currentQuestion += 1;
|
|
74
80
|
if (!this.traversal[this.currentQuestion]) {
|
|
75
81
|
this.currentSelectedPriority = null;
|
|
76
82
|
this.selectedPriorityRadio.checked = false;
|
|
77
83
|
}
|
|
78
84
|
else {
|
|
79
|
-
this.currentSelectedPriority =
|
|
80
|
-
|
|
85
|
+
this.currentSelectedPriority =
|
|
86
|
+
this.traversal[this.currentQuestion]["priority"];
|
|
87
|
+
this.selectedPriorityRadio =
|
|
88
|
+
this.traversal[this.currentQuestion]["radio"];
|
|
81
89
|
this.selectedPriorityRadio.checked = true;
|
|
82
90
|
}
|
|
83
|
-
let modalQuizContainer = this.el.shadowRoot.querySelector(
|
|
91
|
+
let modalQuizContainer = this.el.shadowRoot.querySelector(".modal-quiz-container");
|
|
84
92
|
if (modalQuizContainer) {
|
|
85
93
|
modalQuizContainer.scrollTo({
|
|
86
94
|
top: 0,
|
|
@@ -133,24 +141,40 @@ const PtcModalQuiz = class {
|
|
|
133
141
|
}
|
|
134
142
|
componentDidRender() {
|
|
135
143
|
const modal = document.querySelector(`#${this.modalId}`);
|
|
136
|
-
const modalCloseButton = modal.shadowRoot.querySelector(
|
|
137
|
-
modalCloseButton.addEventListener(
|
|
144
|
+
const modalCloseButton = modal.shadowRoot.querySelector(".close");
|
|
145
|
+
modalCloseButton.addEventListener("click", () => {
|
|
138
146
|
this.resetQuiz();
|
|
139
147
|
});
|
|
140
148
|
}
|
|
141
149
|
render() {
|
|
142
150
|
const ProgressDots = () => {
|
|
143
|
-
return h("div", { class: "dot-progress-bar" }, [...Array(this.totalQuestions).keys()].map(questionNumber => {
|
|
144
|
-
return h("div", null, h("div", { class: `dot-progress-circle ${
|
|
145
|
-
|
|
146
|
-
|
|
151
|
+
return (h("div", { class: "dot-progress-bar" }, [...Array(this.totalQuestions).keys()].map((questionNumber) => {
|
|
152
|
+
return (h("div", null, h("div", { class: `dot-progress-circle ${questionNumber ===
|
|
153
|
+
this.currentQuestion - 1
|
|
154
|
+
? "active"
|
|
155
|
+
: ""}` }), questionNumber <
|
|
156
|
+
this.totalQuestions - 1 ? (h("div", { class: "dot-progress-dash" }, h("div", { class: "dashed-line" }))) : null));
|
|
157
|
+
})));
|
|
147
158
|
};
|
|
148
159
|
const PriorityOptions = () => {
|
|
149
|
-
return h("div", { class: "options-container" }, h("div", { id: `priority-option-${this.currentQuestion}-1`, class: "radio-input mf-listen", onClick: e => this.handlePriorityOptionClick(e, Priority.Low) }, h("input", { type: "radio", name: `modal-quiz-${this.currentQuestion}`, id: `1`, tabIndex: 0 }), h("label", { class: "option-label", htmlFor: `1` }, 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: "" }, h("slot", { name: "low-level-label" })))), h("div", { id: `priority-option-${this.currentQuestion}-2`, class: "radio-input mf-listen", onClick: e => this.handlePriorityOptionClick(e, Priority.Medium) }, h("input", { type: "radio", name: `modal-quiz-${this.currentQuestion}`, id: `2`, tabIndex: 0 }), h("label", { class: "option-label", htmlFor: `2` }, 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: "" }, h("slot", { name: "medium-level-label" })))), h("div", { id: `priority-option-${this.currentQuestion}-3`, class: "radio-input mf-listen", onClick: e => this.handlePriorityOptionClick(e, Priority.High) }, h("input", { type: "radio", name: `modal-quiz-${this.currentQuestion}`, id: `3`, tabIndex: 0 }), h("label", { class: "option-label", htmlFor: `3` }, 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: "" }, h("slot", { name: "high-level-label" })))));
|
|
160
|
+
return (h("div", { class: "options-container" }, h("div", { id: `priority-option-${this.currentQuestion}-1`, class: "radio-input mf-listen", onClick: (e) => this.handlePriorityOptionClick(e, Priority.Low) }, h("input", { type: "radio", name: `modal-quiz-${this.currentQuestion}`, id: `1`, tabIndex: 0 }), h("label", { class: "option-label", htmlFor: `1` }, 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: "" }, h("slot", { name: "low-level-label" })))), h("div", { id: `priority-option-${this.currentQuestion}-2`, class: "radio-input mf-listen", onClick: (e) => this.handlePriorityOptionClick(e, Priority.Medium) }, h("input", { type: "radio", name: `modal-quiz-${this.currentQuestion}`, id: `2`, tabIndex: 0 }), h("label", { class: "option-label", htmlFor: `2` }, 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: "" }, h("slot", { name: "medium-level-label" })))), h("div", { id: `priority-option-${this.currentQuestion}-3`, class: "radio-input mf-listen", onClick: (e) => this.handlePriorityOptionClick(e, Priority.High) }, h("input", { type: "radio", name: `modal-quiz-${this.currentQuestion}`, id: `3`, tabIndex: 0 }), h("label", { class: "option-label", htmlFor: `3` }, 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: "" }, h("slot", { name: "high-level-label" }))))));
|
|
150
161
|
};
|
|
151
|
-
return (h(Host, null, h("div", { class: "modal-quiz-container" }, h("div", null, h("div", null, h("div", { class: "modal-quiz-progress" }, 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: "" }, h("slot", { name: "question-text" }), " ", this.currentQuestion, " ", h("slot", { name: "of-text" }), " ", this.totalQuestions), h(ProgressDots, null)), h("div", { class: "modal-quiz-content" }, h("div", { class: "content" }, 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" }, h("slot", { name: `question-${this.currentQuestion}-title` })), 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: "" }, h("slot", { name: `question-${this.currentQuestion}-subtitle` })), h(PriorityOptions, null), 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: "" },
|
|
152
|
-
|
|
153
|
-
|
|
162
|
+
return (h(Host, null, h("div", { class: "modal-quiz-container" }, h("div", null, h("div", null, h("div", { class: "modal-quiz-progress" }, 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: "" }, h("slot", { name: "question-text" }), " ", this.currentQuestion, " ", h("slot", { name: "of-text" }), " ", this.totalQuestions), h(ProgressDots, null)), h("div", { class: "modal-quiz-content" }, h("div", { class: "content" }, 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" }, h("slot", { name: `question-${this.currentQuestion}-title` })), 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: "" }, h("slot", { name: `question-${this.currentQuestion}-subtitle` })), h(PriorityOptions, null), 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 ? (h("slot", { name: this.getPriorityAnswerSlotName() })) : null), h("div", { class: "modal-quiz-ctas" }, 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
|
|
163
|
+
? -1
|
|
164
|
+
: 0, styles: "button{margin-bottom:20px;}" }, h("slot", { name: "previous-ques-text" })), h("ptc-spacer", { size: "large", breakpoint: "x-small" }), this.currentQuestion ===
|
|
165
|
+
this.totalQuestions ? (h("ptc-button", { "tracker-id": `question-${this.currentQuestion}-email`, type: "link", color: "ptc-secondary", onClick: (e) => this.handleEmailReportClick(e), disabled: this
|
|
166
|
+
.currentSelectedPriority ==
|
|
167
|
+
null, styles: "button{margin-bottom:20px;}", "tab-nav": this
|
|
168
|
+
.currentSelectedPriority ==
|
|
169
|
+
null
|
|
170
|
+
? -1
|
|
171
|
+
: 0 }, h("slot", { name: "email-results-text" }))) : (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
|
|
172
|
+
.currentSelectedPriority ==
|
|
173
|
+
null, styles: "button{margin-bottom:20px;}", "tab-nav": this
|
|
174
|
+
.currentSelectedPriority ==
|
|
175
|
+
null
|
|
176
|
+
? -1
|
|
177
|
+
: 0 }, h("slot", { name: "next-ques-text" }))))), h("div", { class: "image" }, h("slot", { name: `question-${this.currentQuestion}-image` })))))), h("slot", { name: "script" })));
|
|
154
178
|
}
|
|
155
179
|
get el() { return getElement(this); }
|
|
156
180
|
};
|
|
@@ -8,35 +8,29 @@ const PtcNavCard = class {
|
|
|
8
8
|
this.cardType = undefined;
|
|
9
9
|
this.cardHref = undefined;
|
|
10
10
|
this.logoAlt = undefined;
|
|
11
|
-
this.target =
|
|
11
|
+
this.target = "_self";
|
|
12
12
|
this.rel = undefined;
|
|
13
13
|
this.linkTitle = undefined;
|
|
14
14
|
this.cardLogo = undefined;
|
|
15
15
|
this.heading = undefined;
|
|
16
16
|
this.description = undefined;
|
|
17
|
-
this.windowSize =
|
|
17
|
+
this.windowSize = "mobile";
|
|
18
18
|
this.trackerId = "";
|
|
19
19
|
}
|
|
20
20
|
handleResize() {
|
|
21
21
|
if (window.innerWidth < 992) {
|
|
22
|
-
this.windowSize =
|
|
22
|
+
this.windowSize = "mobile";
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
|
-
this.windowSize =
|
|
25
|
+
this.windowSize = "desktop";
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
componentWillLoad() {
|
|
29
29
|
this.handleResize();
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { class: this.cardType }, h("div", { class: "nav-card-wrap" }, this.cardType ==
|
|
33
|
-
h("
|
|
34
|
-
(h("a", { id: this.trackerId, href: this.cardHref, title: this.linkTitle, tabIndex: -1, class: "mf-listen" }, this.heading, h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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)), h("slot", null))
|
|
35
|
-
:
|
|
36
|
-
h("a", { id: this.trackerId, href: this.cardHref, title: this.linkTitle, tabIndex: -1, class: "media-card-wrap mf-listen" }, this.cardLogo &&
|
|
37
|
-
h("div", { class: "card-logo" }, h("img", { src: this.cardLogo, alt: this.logoAlt })), h("div", { class: "card-content" }, h("h4", null, this.heading, this.cardType == "cta-card" &&
|
|
38
|
-
h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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 &&
|
|
39
|
-
h("p", null, this.description))))));
|
|
32
|
+
return (h(Host, { class: this.cardType }, h("div", { class: "nav-card-wrap" }, this.cardType == "links-card" ? (h("div", { class: "links-card-wrap" }, h("h3", null, this.cardHref &&
|
|
33
|
+
!this.cardHref.startsWith("#") ? (h("a", { id: this.trackerId, href: this.cardHref, title: this.linkTitle, tabIndex: -1, class: "mf-listen" }, this.heading, h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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)), h("slot", null))) : (h("a", { id: this.trackerId, href: this.cardHref, title: this.linkTitle, tabIndex: -1, class: "media-card-wrap mf-listen" }, this.cardLogo && (h("div", { class: "card-logo" }, h("img", { src: this.cardLogo, alt: this.logoAlt }))), h("div", { class: "card-content" }, h("h4", null, this.heading, this.cardType == "cta-card" && (h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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 && (h("p", null, this.description))))))));
|
|
40
34
|
}
|
|
41
35
|
};
|
|
42
36
|
PtcNavCard.style = ptcNavCardCss;
|
|
@@ -8,34 +8,34 @@ const PtcNavLink = class {
|
|
|
8
8
|
this.navLinkClicked = createEvent(this, "navLinkClicked", 7);
|
|
9
9
|
this.href = undefined;
|
|
10
10
|
this.isOutsideLink = false;
|
|
11
|
-
this.titleText =
|
|
11
|
+
this.titleText = "";
|
|
12
12
|
this.trackerId = undefined;
|
|
13
13
|
}
|
|
14
14
|
handleClick(event) {
|
|
15
15
|
// Prevent the event from propagating to the underlying <a> element
|
|
16
16
|
event.stopPropagation();
|
|
17
17
|
// Check if the href starts with #
|
|
18
|
-
if (this.href && this.href.startsWith(
|
|
18
|
+
if (this.href && this.href.startsWith("#")) {
|
|
19
19
|
// Find the corresponding section
|
|
20
20
|
const section = document.querySelector(this.href);
|
|
21
21
|
section.scrollIntoView({
|
|
22
|
-
behavior:
|
|
22
|
+
behavior: "smooth",
|
|
23
23
|
});
|
|
24
24
|
this.navLinkClicked.emit();
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
trimString(inputString, maxLength) {
|
|
28
28
|
if (inputString.length > maxLength) {
|
|
29
|
-
return inputString.slice(0, maxLength) +
|
|
29
|
+
return inputString.slice(0, maxLength) + "...";
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
32
32
|
return inputString;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, null, h("div", { class: "tracker-div mf-listen" }, h("a", { id: this.trackerId, href: this.href, target: this.isOutsideLink ?
|
|
36
|
+
return (h(Host, null, h("div", { class: "tracker-div mf-listen" }, h("a", { id: this.trackerId, href: this.href, target: this.isOutsideLink ? "_blank" : "_self", title: this.titleText, onClick: (event) => {
|
|
37
37
|
this.handleClick(event);
|
|
38
|
-
} }, h("slot", null), !this.href.startsWith(
|
|
38
|
+
} }, h("slot", null), !this.href.startsWith("#") && (h("svg", { class: "icon-arrow-right", xmlns: "http://www.w3.org/2000/svg", width: "14", height: "10", viewBox: "0 0 14 10", fill: "none" }, 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" })))))));
|
|
39
39
|
}
|
|
40
40
|
get el() { return getElement(this); }
|
|
41
41
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
|
|
2
2
|
|
|
3
|
-
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 #
|
|
3
|
+
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}";
|
|
4
4
|
|
|
5
5
|
const PtcNavSkipToContent = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -8,7 +8,7 @@ const PtcNavSkipToContent = class {
|
|
|
8
8
|
this.escalated = false;
|
|
9
9
|
this.hideOnScroll = () => {
|
|
10
10
|
var _a, _b;
|
|
11
|
-
let skipLink = (_b = (_a = this.hostEle) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector(
|
|
11
|
+
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");
|
|
12
12
|
skipLink === null || skipLink === void 0 ? void 0 : skipLink.blur();
|
|
13
13
|
};
|
|
14
14
|
this.escalateOnDom = () => {
|
|
@@ -16,24 +16,24 @@ const PtcNavSkipToContent = class {
|
|
|
16
16
|
const elem = document.querySelector(this.appendSelector);
|
|
17
17
|
const host = this.hostEle;
|
|
18
18
|
if (elem) {
|
|
19
|
-
elem.insertAdjacentElement(
|
|
20
|
-
host.classList.add(
|
|
19
|
+
elem.insertAdjacentElement("afterbegin", this.hostEle);
|
|
20
|
+
host.classList.add("appended");
|
|
21
21
|
this.escalated = true;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
if (!this.escalated) {
|
|
25
|
-
const body = document.querySelector(
|
|
26
|
-
body.insertAdjacentElement(
|
|
25
|
+
const body = document.querySelector("body");
|
|
26
|
+
body.insertAdjacentElement("afterbegin", this.hostEle);
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
this.offsetCta = () => {
|
|
30
|
-
const link = this.hostEle.shadowRoot.querySelector(
|
|
30
|
+
const link = this.hostEle.shadowRoot.querySelector(".skip-link");
|
|
31
31
|
link.style.left = `${this.xOffset}px`;
|
|
32
32
|
link.style.top = `${this.yOffset}px`;
|
|
33
33
|
};
|
|
34
34
|
this.componentWillLoad = () => {
|
|
35
35
|
this.escalateOnDom();
|
|
36
|
-
window.addEventListener(
|
|
36
|
+
window.addEventListener("scroll", this.hideOnScroll);
|
|
37
37
|
};
|
|
38
38
|
this.componentDidLoad = () => {
|
|
39
39
|
if (this.appendSelector) {
|
|
@@ -41,7 +41,7 @@ const PtcNavSkipToContent = class {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
this.disconnectedCallback = () => {
|
|
44
|
-
window.removeEventListener(
|
|
44
|
+
window.removeEventListener("scroll", this.hideOnScroll);
|
|
45
45
|
};
|
|
46
46
|
this.buttonText = "Skip To Main Content";
|
|
47
47
|
this.sectionId = "";
|
|
@@ -53,7 +53,7 @@ const PtcNavSkipToContent = class {
|
|
|
53
53
|
e.preventDefault();
|
|
54
54
|
const section = document.getElementById(this.sectionId);
|
|
55
55
|
if (section) {
|
|
56
|
-
section.scrollIntoView({ behavior:
|
|
56
|
+
section.scrollIntoView({ behavior: "smooth" });
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
@@ -13,32 +13,40 @@ const PtcNavSlider = class {
|
|
|
13
13
|
// use the ID to select elements within the component's shadow root
|
|
14
14
|
this.updateSlider(this);
|
|
15
15
|
const { shadowRoot } = document.querySelector(`#${this.sliderId}`);
|
|
16
|
-
const boxWrap = shadowRoot.querySelector(
|
|
17
|
-
boxWrap.addEventListener(
|
|
16
|
+
const boxWrap = shadowRoot.querySelector(".box-wrap");
|
|
17
|
+
boxWrap.addEventListener("scroll", this.updateSlider.bind(this));
|
|
18
18
|
setTimeout(() => {
|
|
19
19
|
this.updateSlider(this);
|
|
20
20
|
}, 3100);
|
|
21
21
|
}
|
|
22
22
|
handledropdownClickEvent(element) {
|
|
23
|
-
const sliderId = element.target.querySelector(
|
|
24
|
-
const boxWrap = element.target
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
const sliderId = element.target.querySelector(".nav-slider").id;
|
|
24
|
+
const boxWrap = element.target
|
|
25
|
+
.querySelector(".nav-slider")
|
|
26
|
+
.shadowRoot.querySelector(".box-wrap");
|
|
27
|
+
const prevBtn = document
|
|
28
|
+
.querySelector(`#${sliderId}`)
|
|
29
|
+
.shadowRoot.querySelector("#prevBtn");
|
|
30
|
+
const nextBtn = document
|
|
31
|
+
.querySelector(`#${sliderId}`)
|
|
32
|
+
.shadowRoot.querySelector("#nextBtn");
|
|
33
|
+
let notDropdown = element.target.tagName.toLowerCase() != "ptc-nav-submenu";
|
|
28
34
|
this.updateArrows(boxWrap, prevBtn, nextBtn, notDropdown);
|
|
29
35
|
}
|
|
30
36
|
updateArrows(boxWrap, prevBtn, nextBtn, isNotDropdown) {
|
|
31
|
-
if (
|
|
37
|
+
if (boxWrap.offsetWidth == boxWrap.scrollWidth) {
|
|
32
38
|
prevBtn.style.visibility = "hidden";
|
|
33
39
|
nextBtn.style.visibility = "hidden";
|
|
34
40
|
if (isNotDropdown)
|
|
35
|
-
prevBtn.closest(
|
|
41
|
+
prevBtn.closest(".btn-wrap-left").style.display = "none";
|
|
36
42
|
}
|
|
37
|
-
else if (
|
|
43
|
+
else if (boxWrap.scrollLeft + boxWrap.offsetWidth <=
|
|
44
|
+
boxWrap.scrollWidth) {
|
|
38
45
|
if (isNotDropdown)
|
|
39
|
-
prevBtn.closest(
|
|
46
|
+
prevBtn.closest(".btn-wrap-left").style.display = "";
|
|
40
47
|
if (boxWrap.scrollLeft > 0) {
|
|
41
|
-
if (
|
|
48
|
+
if (boxWrap.scrollLeft + boxWrap.offsetWidth ==
|
|
49
|
+
boxWrap.scrollWidth) {
|
|
42
50
|
nextBtn.style.visibility = "hidden";
|
|
43
51
|
prevBtn.style.visibility = "visible";
|
|
44
52
|
}
|
|
@@ -58,11 +66,17 @@ const PtcNavSlider = class {
|
|
|
58
66
|
}
|
|
59
67
|
}
|
|
60
68
|
updateSlider(event) {
|
|
61
|
-
const boxWrap = document
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
const boxWrap = document
|
|
70
|
+
.querySelector(`#${this.sliderId}`)
|
|
71
|
+
.shadowRoot.querySelector(".box-wrap");
|
|
72
|
+
const prevBtn = document
|
|
73
|
+
.querySelector(`#${this.sliderId}`)
|
|
74
|
+
.shadowRoot.querySelector("#prevBtn");
|
|
75
|
+
const nextBtn = document
|
|
76
|
+
.querySelector(`#${this.sliderId}`)
|
|
77
|
+
.shadowRoot.querySelector("#nextBtn");
|
|
64
78
|
if (event !== undefined && event.target) {
|
|
65
|
-
let notDropdown = !event.target.closest(
|
|
79
|
+
let notDropdown = !event.target.closest(".dropdown-content");
|
|
66
80
|
this.updateArrows(event.target, prevBtn, nextBtn, notDropdown);
|
|
67
81
|
}
|
|
68
82
|
else {
|
|
@@ -71,14 +85,18 @@ const PtcNavSlider = class {
|
|
|
71
85
|
}
|
|
72
86
|
leftScroll(ele) {
|
|
73
87
|
const sliderId = ele.sliderId;
|
|
74
|
-
const left = document
|
|
88
|
+
const left = document
|
|
89
|
+
.querySelector(`#${sliderId}`)
|
|
90
|
+
.shadowRoot.querySelector(`.box-wrap`);
|
|
75
91
|
if (left.scrollLeft > 0) {
|
|
76
92
|
left.scrollBy(-200, 0);
|
|
77
93
|
}
|
|
78
94
|
}
|
|
79
95
|
rightScroll(ele) {
|
|
80
96
|
const sliderId = ele.sliderId;
|
|
81
|
-
const right = document
|
|
97
|
+
const right = document
|
|
98
|
+
.querySelector(`#${sliderId}`)
|
|
99
|
+
.shadowRoot.querySelector(`.box-wrap`);
|
|
82
100
|
if (right.scrollLeft + right.offsetWidth < right.scrollWidth) {
|
|
83
101
|
right.scrollBy(200, 0);
|
|
84
102
|
}
|