@ptcwebops/ptcw-design 6.3.37 → 6.3.38
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 +56 -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 +3 -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 +42 -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/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 +17 -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_5.cjs.entry.js +597 -0
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +57 -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_2.cjs.entry.js +147 -113
- 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 +31 -27
- 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 +85 -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 +41 -20
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +381 -325
- 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-podcast-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +9 -5
- package/dist/cjs/ptc-previous-url.cjs.entry.js +1 -1
- 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 +145 -106
- 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-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-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 +76 -48
- 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 +17 -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/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 +6 -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 +109 -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 +58 -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 +147 -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/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 +43 -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 +22 -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 +111 -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 +41 -21
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +109 -13
- 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 +109 -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 +121 -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 +8 -4
- package/dist/collection/components/ptc-img/ptc-img.js +43 -39
- 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 +110 -14
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +88 -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 +42 -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 +109 -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-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 +2 -2
- 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 +149 -109
- 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 +109 -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 +109 -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 +109 -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 +109 -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 +109 -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 +11 -7
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +143 -113
- 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 +109 -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 +77 -49
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +109 -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 +126 -20
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +17 -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/custom-elements/index.js +4085 -3011
- 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 +67 -62
- package/dist/esm/blog-detail-layout.entry.js +13 -13
- package/dist/esm/blogs-search-section.entry.js +57 -49
- 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 +3 -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 +29 -18
- package/dist/esm/homepage-toggled-content.entry.js +43 -22
- package/dist/esm/icon-asset.entry.js +18 -18
- package/dist/esm/innovator-toggle-container.entry.js +4 -4
- package/dist/esm/{interfaces-4caedd26.js → interfaces-7c0243be.js} +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/jumbotron-sub-mune.entry.js +3 -3
- package/dist/esm/list-item.entry.js +12 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/max-width-container.entry.js +4 -4
- package/dist/esm/most-popular-news.entry.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +26 -18
- package/dist/esm/ptc-accordion.entry.js +13 -10
- package/dist/esm/ptc-announcement.entry.js +17 -15
- package/dist/esm/ptc-back-to-top.entry.js +29 -27
- package/dist/esm/ptc-background-video.entry.js +15 -13
- 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_5.entry.js +589 -0
- package/dist/esm/ptc-card-bottom_2.entry.js +57 -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 +89 -58
- 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_2.entry.js +148 -114
- 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 +5 -3
- package/dist/esm/ptc-homepage-video-background.entry.js +70 -43
- package/dist/esm/ptc-icon-card-slider-example.entry.js +4 -4
- package/dist/esm/ptc-icon-card.entry.js +5 -3
- 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 +32 -28
- 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 +85 -56
- package/dist/esm/ptc-link.entry.js +30 -26
- package/dist/esm/ptc-list.entry.js +9 -9
- package/dist/esm/ptc-media-card.entry.js +32 -14
- 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 +41 -20
- package/dist/esm/ptc-multi-select_2.entry.js +382 -326
- 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-podcast-card.entry.js +2 -2
- package/dist/esm/ptc-preferance-center-form.entry.js +9 -5
- package/dist/esm/ptc-previous-url.entry.js +1 -1
- 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 +146 -107
- package/dist/esm/ptc-pricing-tabs.entry.js +11 -9
- 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 +13 -3
- package/dist/esm/ptc-social-icons.entry.js +3 -3
- 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-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 +76 -48
- 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 +17 -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/esm/{utils-2f12c081.js → utils-7c68b88a.js} +1 -1
- package/dist/ptcw-design/{p-73a853fc.entry.js → p-009fbf1f.entry.js} +1 -1
- package/dist/ptcw-design/{p-901c31b3.entry.js → p-0252726c.entry.js} +1 -1
- package/dist/ptcw-design/{p-4702c233.entry.js → p-03062b58.entry.js} +1 -1
- package/dist/ptcw-design/{p-1feb2812.entry.js → p-056748b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-45b1f3fc.entry.js → p-16d47ac5.entry.js} +1 -1
- package/dist/ptcw-design/{p-b647f7a1.entry.js → p-1a9b9a53.entry.js} +1 -1
- package/dist/ptcw-design/{p-dfb400ed.entry.js → p-1bffeaed.entry.js} +1 -1
- package/dist/ptcw-design/{p-260e573b.entry.js → p-1c99b808.entry.js} +1 -1
- package/dist/ptcw-design/{p-05c29cc2.entry.js → p-1f15239e.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5f9bafe.entry.js → p-2336e8d2.entry.js} +3 -3
- package/dist/ptcw-design/{p-a5fc048f.entry.js → p-24a6eefa.entry.js} +1 -1
- package/dist/ptcw-design/{p-18ac526f.entry.js → p-2a3c8a30.entry.js} +1 -1
- package/dist/ptcw-design/{p-9dbcfcee.entry.js → p-2ba1ef9d.entry.js} +1 -1
- package/dist/ptcw-design/{p-a58698ca.entry.js → p-2bfd8371.entry.js} +1 -1
- package/dist/ptcw-design/{p-e43c30c9.entry.js → p-2c8faf9a.entry.js} +1 -1
- package/dist/ptcw-design/{p-acdd9a1d.entry.js → p-2e6e2a9d.entry.js} +1 -1
- package/dist/ptcw-design/p-31a131c0.entry.js +1 -0
- package/dist/ptcw-design/{p-8521fdd4.entry.js → p-36ee2e12.entry.js} +1 -1
- package/dist/ptcw-design/{p-7e8daa35.entry.js → p-467745cb.entry.js} +1 -1
- package/dist/ptcw-design/{p-614341d6.entry.js → p-4b41fe4e.entry.js} +1 -1
- 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-52e17d34.entry.js → p-55e344bc.entry.js} +1 -1
- package/dist/ptcw-design/{p-f9256e3d.entry.js → p-56a73429.entry.js} +1 -1
- package/dist/ptcw-design/{p-8cea8943.entry.js → p-5bd8b4be.entry.js} +1 -1
- package/dist/ptcw-design/{p-3ed4a7ed.entry.js → p-5ca42138.entry.js} +1 -1
- package/dist/ptcw-design/p-5dec76bd.entry.js +1 -0
- package/dist/ptcw-design/{p-b863b296.entry.js → p-5e4c1edf.entry.js} +1 -1
- package/dist/ptcw-design/{p-593b8eff.entry.js → p-605b13a2.entry.js} +1 -1
- package/dist/ptcw-design/{p-14b7693f.entry.js → p-62abacfe.entry.js} +1 -1
- package/dist/ptcw-design/p-63b3bcbe.entry.js +1 -0
- package/dist/ptcw-design/{p-15a40f78.entry.js → p-64026649.entry.js} +1 -1
- package/dist/ptcw-design/p-656e8773.entry.js +1 -0
- package/dist/ptcw-design/{p-257267e3.entry.js → p-673cfd2e.entry.js} +1 -1
- package/dist/ptcw-design/{p-d51438de.entry.js → p-80588c84.entry.js} +1 -1
- package/dist/ptcw-design/{p-80122e26.js → p-826c17e8.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-94be2c9a.entry.js} +1 -1
- package/dist/ptcw-design/{p-bc146844.entry.js → p-9681188f.entry.js} +1 -1
- package/dist/ptcw-design/p-9dfb5c76.entry.js +1 -0
- package/dist/ptcw-design/p-a3868e6a.entry.js +1 -0
- package/dist/ptcw-design/p-a41c7e39.entry.js +1 -0
- package/dist/ptcw-design/{p-8c121480.entry.js → p-a5ad0eff.entry.js} +1 -1
- package/dist/ptcw-design/{p-ad821a01.entry.js → p-abca6130.entry.js} +1 -1
- package/dist/ptcw-design/{p-d66debb3.entry.js → p-ac766cb3.entry.js} +1 -1
- package/dist/ptcw-design/{p-1454ba84.entry.js → p-b44f4fb1.entry.js} +1 -1
- package/dist/ptcw-design/{p-d6845e91.entry.js → p-bbbfd2e5.entry.js} +1 -1
- package/dist/ptcw-design/{p-297a14cb.entry.js → p-cced4ea1.entry.js} +1 -1
- package/dist/ptcw-design/{p-cc677723.entry.js → p-ce121fb3.entry.js} +1 -1
- package/dist/ptcw-design/{p-7cc9255e.entry.js → p-d77531c8.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-76dab076.entry.js → p-e813ea2b.entry.js} +1 -1
- package/dist/ptcw-design/{p-008307a6.entry.js → p-e93714e9.entry.js} +1 -1
- package/dist/ptcw-design/{p-38e5e590.entry.js → p-eaa0597a.entry.js} +1 -1
- package/dist/ptcw-design/{p-711bcdad.js → p-ee1183b2.js} +1 -1
- package/dist/ptcw-design/{p-a2c7df64.entry.js → p-ee91170c.entry.js} +1 -1
- package/dist/ptcw-design/{p-a791c53a.entry.js → p-f7c47857.entry.js} +1 -1
- package/dist/ptcw-design/{p-3e4ec8ef.entry.js → p-fe8392c4.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +8 -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 +5 -5
- 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-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 +1080 -588
- package/package.json +4 -2
- package/readme.md +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +0 -89
- package/dist/cjs/ptc-para.cjs.entry.js +0 -127
- package/dist/cjs/ptc-picture.cjs.entry.js +0 -162
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/cjs/ptc-title.cjs.entry.js +0 -152
- package/dist/esm/ptc-button.entry.js +0 -85
- package/dist/esm/ptc-para.entry.js +0 -123
- package/dist/esm/ptc-picture.entry.js +0 -158
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/esm/ptc-title.entry.js +0 -148
- package/dist/ptcw-design/p-02822616.entry.js +0 -1
- package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
- package/dist/ptcw-design/p-18851303.entry.js +0 -1
- package/dist/ptcw-design/p-1eb40265.entry.js +0 -1
- package/dist/ptcw-design/p-24776ca2.entry.js +0 -1
- package/dist/ptcw-design/p-27c26d50.entry.js +0 -1
- package/dist/ptcw-design/p-539639ff.entry.js +0 -1
- package/dist/ptcw-design/p-a59c9cdc.entry.js +0 -1
- package/dist/ptcw-design/p-a8872ce3.entry.js +0 -1
- package/dist/ptcw-design/p-d089dc37.entry.js +0 -1
- package/dist/ptcw-design/p-e4eb925f.entry.js +0 -1
|
@@ -22,87 +22,90 @@ const PtcTabList = class {
|
|
|
22
22
|
}
|
|
23
23
|
componentWillLoad() {
|
|
24
24
|
this.isMobile = window.innerWidth < 768;
|
|
25
|
-
this.isMobileTabWithBanner =
|
|
25
|
+
this.isMobileTabWithBanner =
|
|
26
|
+
window.innerWidth < 992 || screen.width < 992;
|
|
26
27
|
}
|
|
27
28
|
componentDidLoad() {
|
|
28
29
|
this.createGroup();
|
|
29
30
|
this.calculateHeaderTabsRendering();
|
|
30
31
|
/*const [group] = this.tabGroup;
|
|
31
32
|
this.selectGroup(group);*/
|
|
32
|
-
this.ellipsisDropdown = this.host.querySelector(
|
|
33
|
-
this.ellipsisDropdown.addEventListener(
|
|
34
|
-
const tabsHeaderEl = Array.from(this.host.querySelectorAll(
|
|
33
|
+
this.ellipsisDropdown = this.host.querySelector("ptc-ellipsis-dropdown");
|
|
34
|
+
this.ellipsisDropdown.addEventListener("keydown", this.onKeydown.bind(this));
|
|
35
|
+
const tabsHeaderEl = Array.from(this.host.querySelectorAll("tab-header"));
|
|
35
36
|
tabsHeaderEl.forEach((tab, i) => {
|
|
36
|
-
if (
|
|
37
|
+
if (tabsHeaderEl.length - this.dropdownItemsCount == i + 1) {
|
|
37
38
|
this.lastVisibleTab = tab;
|
|
38
39
|
}
|
|
39
40
|
});
|
|
40
41
|
}
|
|
41
42
|
onSelectedTab(event) {
|
|
42
43
|
let self = this;
|
|
43
|
-
this.tabGroup.forEach(group => {
|
|
44
|
-
event.detail.then(res => {
|
|
44
|
+
this.tabGroup.forEach((group) => {
|
|
45
|
+
event.detail.then((res) => {
|
|
45
46
|
if (group.header.name === res.name) {
|
|
46
47
|
self.selectGroup(group);
|
|
47
48
|
// Set the selected tab's tabindex to 0
|
|
48
|
-
group.header.el.setAttribute(
|
|
49
|
+
group.header.el.setAttribute("tabindex", "0");
|
|
49
50
|
// Focus the selected tab
|
|
50
51
|
group.header.el.focus();
|
|
51
52
|
}
|
|
52
53
|
else {
|
|
53
54
|
// Set other tabs' tabindex to -1
|
|
54
|
-
group.header.el.setAttribute(
|
|
55
|
+
group.header.el.setAttribute("tabindex", "-1");
|
|
55
56
|
}
|
|
56
57
|
});
|
|
57
58
|
});
|
|
58
59
|
}
|
|
59
60
|
calculateHeaderTabsRendering() {
|
|
60
|
-
let header = this.host.querySelector(
|
|
61
|
-
let dropdown = this.host.querySelector(
|
|
61
|
+
let header = this.host.querySelector(".tabs-header");
|
|
62
|
+
let dropdown = this.host.querySelector(".ellipsis-btn");
|
|
62
63
|
let tabs = header.children;
|
|
63
64
|
let activateDropDown = false;
|
|
64
65
|
let hiddenTabs = [];
|
|
65
66
|
this.isMobile = window.innerWidth < 768;
|
|
66
|
-
this.isMobileTabWithBanner =
|
|
67
|
-
|
|
67
|
+
this.isMobileTabWithBanner =
|
|
68
|
+
window.innerWidth < 992 || screen.width < 992;
|
|
69
|
+
header.classList.remove("active");
|
|
68
70
|
for (let index = 0; index < tabs.length; index++) {
|
|
69
|
-
tabs[index].style.removeProperty(
|
|
71
|
+
tabs[index].style.removeProperty("display");
|
|
70
72
|
}
|
|
71
73
|
for (let index = tabs.length - 1; index >= 0; index--) {
|
|
72
74
|
let tab = tabs[index];
|
|
73
|
-
let isSelectedTab = tab.getAttribute(
|
|
74
|
-
if ((this.isMobile && this.type !=
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
let isSelectedTab = tab.getAttribute("name") === this.selectedValue;
|
|
76
|
+
if ((this.isMobile && this.type != "tab-with-banner") ||
|
|
77
|
+
(this.isMobileTabWithBanner && this.type === "tab-with-banner")) {
|
|
78
|
+
let text = tab.querySelector(".text-cont").textContent;
|
|
79
|
+
header.style.display = "none";
|
|
77
80
|
activateDropDown = true;
|
|
78
81
|
hiddenTabs.push({
|
|
79
|
-
value: tab.getAttribute(
|
|
82
|
+
value: tab.getAttribute("name"),
|
|
80
83
|
text: text,
|
|
81
|
-
isSelected: isSelectedTab
|
|
84
|
+
isSelected: isSelectedTab,
|
|
82
85
|
});
|
|
83
86
|
}
|
|
84
87
|
else {
|
|
85
|
-
header.style.display =
|
|
88
|
+
header.style.display = "flex";
|
|
86
89
|
if (header.scrollWidth > header.clientWidth) {
|
|
87
|
-
tab.style.display =
|
|
88
|
-
let text = tab.querySelector(
|
|
90
|
+
tab.style.display = "none";
|
|
91
|
+
let text = tab.querySelector(".text-cont").textContent;
|
|
89
92
|
activateDropDown = true;
|
|
90
93
|
hiddenTabs.push({
|
|
91
|
-
value: tab.getAttribute(
|
|
94
|
+
value: tab.getAttribute("name"),
|
|
92
95
|
text: text,
|
|
93
|
-
isSelected: isSelectedTab
|
|
96
|
+
isSelected: isSelectedTab,
|
|
94
97
|
});
|
|
95
98
|
}
|
|
96
99
|
}
|
|
97
100
|
}
|
|
98
|
-
header.classList.add(
|
|
101
|
+
header.classList.add("active");
|
|
99
102
|
if (activateDropDown) {
|
|
100
|
-
dropdown.classList.add(
|
|
103
|
+
dropdown.classList.add("active");
|
|
101
104
|
dropdown.dataItems = hiddenTabs.reverse();
|
|
102
105
|
this.dropdownItemsCount = dropdown.dataItems.length;
|
|
103
106
|
}
|
|
104
107
|
else {
|
|
105
|
-
dropdown.classList.remove(
|
|
108
|
+
dropdown.classList.remove("active");
|
|
106
109
|
dropdown.dataItems = [];
|
|
107
110
|
}
|
|
108
111
|
}
|
|
@@ -114,8 +117,8 @@ const PtcTabList = class {
|
|
|
114
117
|
let contentCount = 0;
|
|
115
118
|
let headerData = [];
|
|
116
119
|
let contentData = [];
|
|
117
|
-
const tabsHeaderEl = Array.from(this.host.querySelectorAll(
|
|
118
|
-
this.tabsHeader = tabsHeaderEl.map(el => el.getChild().then(res => {
|
|
120
|
+
const tabsHeaderEl = Array.from(this.host.querySelectorAll("tab-header"));
|
|
121
|
+
this.tabsHeader = tabsHeaderEl.map((el) => el.getChild().then((res) => {
|
|
119
122
|
headerCount++;
|
|
120
123
|
if (headerCount === tabsHeaderEl.length) {
|
|
121
124
|
headerComplete = true;
|
|
@@ -123,8 +126,8 @@ const PtcTabList = class {
|
|
|
123
126
|
headerData.push(Object.assign(Object.assign({}, res), { el }));
|
|
124
127
|
}));
|
|
125
128
|
this.tabsHeader = headerData;
|
|
126
|
-
const tabsContentEl = Array.from(this.host.querySelectorAll(
|
|
127
|
-
this.tabsContent = tabsContentEl.map(el => el.getChild().then(res => {
|
|
129
|
+
const tabsContentEl = Array.from(this.host.querySelectorAll("tab-content"));
|
|
130
|
+
this.tabsContent = tabsContentEl.map((el) => el.getChild().then((res) => {
|
|
128
131
|
contentCount++;
|
|
129
132
|
if (contentCount === tabsContentEl.length) {
|
|
130
133
|
contentComplete = true;
|
|
@@ -135,11 +138,11 @@ const PtcTabList = class {
|
|
|
135
138
|
let myInterval = setInterval(() => {
|
|
136
139
|
if (headerComplete && contentComplete) {
|
|
137
140
|
clearInterval(myInterval);
|
|
138
|
-
self.tabGroup = self.tabsHeader.map(header => {
|
|
139
|
-
const content = self.tabsContent.find(content => content.name === header.name);
|
|
141
|
+
self.tabGroup = self.tabsHeader.map((header) => {
|
|
142
|
+
const content = self.tabsContent.find((content) => content.name === header.name);
|
|
140
143
|
return {
|
|
141
144
|
header: header,
|
|
142
|
-
content: content
|
|
145
|
+
content: content,
|
|
143
146
|
};
|
|
144
147
|
});
|
|
145
148
|
const group = self.tabGroup[0];
|
|
@@ -147,29 +150,30 @@ const PtcTabList = class {
|
|
|
147
150
|
}
|
|
148
151
|
}, 3100); // Increased time interval from 100 to 3100 to fix the preload skeleton issue
|
|
149
152
|
tabsHeaderEl.forEach((header, index) => {
|
|
150
|
-
header.setAttribute(
|
|
151
|
-
header.setAttribute(
|
|
152
|
-
header.setAttribute(
|
|
153
|
-
header.setAttribute(
|
|
154
|
-
header.setAttribute(
|
|
155
|
-
header.addEventListener(
|
|
153
|
+
header.setAttribute("id", "tab-" + (index + 1));
|
|
154
|
+
header.setAttribute("role", "tab");
|
|
155
|
+
header.setAttribute("aria-selected", index === 0 ? "true" : "false");
|
|
156
|
+
header.setAttribute("tabindex", index === 0 ? "0" : "-1"); // Set tabindex based on index
|
|
157
|
+
header.setAttribute("aria-controls", "tab-panel-" + (index + 1));
|
|
158
|
+
header.addEventListener("keydown", this.onKeydown.bind(this));
|
|
156
159
|
if (!this.firstTab) {
|
|
157
160
|
this.firstTab = header;
|
|
158
161
|
}
|
|
159
162
|
this.lastTab = header;
|
|
160
163
|
});
|
|
161
164
|
tabsContentEl.forEach((panel, index) => {
|
|
162
|
-
panel.setAttribute(
|
|
163
|
-
panel.setAttribute(
|
|
164
|
-
panel.setAttribute(
|
|
165
|
+
panel.setAttribute("id", "tabpanel-" + (index + 1));
|
|
166
|
+
panel.setAttribute("role", "tabpanel");
|
|
167
|
+
panel.setAttribute("aria-labelledby", "tab-" + (index + 1));
|
|
165
168
|
});
|
|
166
169
|
}
|
|
167
170
|
moveFocusToTab(currentTab) {
|
|
168
171
|
currentTab.focus();
|
|
169
172
|
}
|
|
170
173
|
moveFocusToPreviousTab(currentTab) {
|
|
171
|
-
if (currentTab === this.firstTab ||
|
|
172
|
-
this.ellipsisDropdown
|
|
174
|
+
if (currentTab === this.firstTab ||
|
|
175
|
+
currentTab == this.ellipsisDropdown) {
|
|
176
|
+
this.ellipsisDropdown.setAttribute("tabindex", "-1");
|
|
173
177
|
if (this.dropdownItemsCount == 0) {
|
|
174
178
|
this.moveFocusToTab(this.lastTab);
|
|
175
179
|
}
|
|
@@ -177,28 +181,28 @@ const PtcTabList = class {
|
|
|
177
181
|
this.moveFocusToTab(this.lastVisibleTab);
|
|
178
182
|
}
|
|
179
183
|
else {
|
|
180
|
-
this.ellipsisDropdown.setAttribute(
|
|
184
|
+
this.ellipsisDropdown.setAttribute("tabindex", "0");
|
|
181
185
|
this.ellipsisDropdown.focus();
|
|
182
186
|
}
|
|
183
187
|
}
|
|
184
188
|
else {
|
|
185
|
-
const index = this.tabsHeader.findIndex(tab => tab.el === currentTab);
|
|
189
|
+
const index = this.tabsHeader.findIndex((tab) => tab.el === currentTab);
|
|
186
190
|
this.moveFocusToTab(this.tabsHeader[index - 1].el);
|
|
187
191
|
}
|
|
188
192
|
}
|
|
189
193
|
moveFocusToNextTab(currentTab) {
|
|
190
|
-
this.ellipsisDropdown.setAttribute(
|
|
194
|
+
this.ellipsisDropdown.setAttribute("tabindex", "-1");
|
|
191
195
|
if (currentTab === this.lastTab || currentTab === this.lastVisibleTab) {
|
|
192
196
|
if (this.dropdownItemsCount == 0) {
|
|
193
197
|
this.moveFocusToTab(this.firstTab);
|
|
194
198
|
}
|
|
195
199
|
else {
|
|
196
|
-
this.ellipsisDropdown.setAttribute(
|
|
200
|
+
this.ellipsisDropdown.setAttribute("tabindex", "0");
|
|
197
201
|
this.ellipsisDropdown.focus();
|
|
198
202
|
}
|
|
199
203
|
}
|
|
200
204
|
else {
|
|
201
|
-
const index = this.tabsHeader.findIndex(tab => tab.el === currentTab);
|
|
205
|
+
const index = this.tabsHeader.findIndex((tab) => tab.el === currentTab);
|
|
202
206
|
this.moveFocusToTab(this.tabsHeader[index + 1].el);
|
|
203
207
|
}
|
|
204
208
|
}
|
|
@@ -206,15 +210,15 @@ const PtcTabList = class {
|
|
|
206
210
|
const currentTab = event.currentTarget;
|
|
207
211
|
let flag = false;
|
|
208
212
|
switch (event.key) {
|
|
209
|
-
case
|
|
213
|
+
case "ArrowLeft":
|
|
210
214
|
this.moveFocusToPreviousTab(currentTab);
|
|
211
215
|
flag = true;
|
|
212
216
|
break;
|
|
213
|
-
case
|
|
217
|
+
case "ArrowRight":
|
|
214
218
|
this.moveFocusToNextTab(currentTab);
|
|
215
219
|
flag = true;
|
|
216
220
|
break;
|
|
217
|
-
case
|
|
221
|
+
case "Escape":
|
|
218
222
|
this.closeDropdown();
|
|
219
223
|
flag = true;
|
|
220
224
|
break;
|
|
@@ -226,7 +230,7 @@ const PtcTabList = class {
|
|
|
226
230
|
}
|
|
227
231
|
async toggleTabGroup(name) {
|
|
228
232
|
let self = this;
|
|
229
|
-
this.tabGroup.forEach(group => {
|
|
233
|
+
this.tabGroup.forEach((group) => {
|
|
230
234
|
if (group.header.name === name) {
|
|
231
235
|
self.selectGroup(group);
|
|
232
236
|
}
|
|
@@ -234,7 +238,7 @@ const PtcTabList = class {
|
|
|
234
238
|
}
|
|
235
239
|
selectGroup(group) {
|
|
236
240
|
let self = this;
|
|
237
|
-
self.tabGroup.forEach(_ => {
|
|
241
|
+
self.tabGroup.forEach((_) => {
|
|
238
242
|
_.header.unselect();
|
|
239
243
|
_.content.unselect();
|
|
240
244
|
});
|
|
@@ -255,7 +259,11 @@ const PtcTabList = class {
|
|
|
255
259
|
}
|
|
256
260
|
}
|
|
257
261
|
render() {
|
|
258
|
-
return (index.h(index.Host, { class: this.type }, index.h("div", { class: "tabs-header-container" }, index.h("div", { class: "tabs-header" }, index.h("slot", { name: "header" })), index.h("ptc-ellipsis-dropdown", { "dropdown-type": this.type, class: this.type ==
|
|
262
|
+
return (index.h(index.Host, { class: this.type }, index.h("div", { class: "tabs-header-container" }, index.h("div", { class: "tabs-header" }, index.h("slot", { name: "header" })), index.h("ptc-ellipsis-dropdown", { "dropdown-type": this.type, class: this.type == "tab-with-banner"
|
|
263
|
+
? "ellipsis-btn tab-with-banner"
|
|
264
|
+
: "ellipsis-btn default", onItemSelected: (e) => {
|
|
265
|
+
this.onDropdownItemSelected(e.detail);
|
|
266
|
+
} })), index.h("div", { class: "tabs-content" }, index.h("slot", { name: "content" }))));
|
|
259
267
|
}
|
|
260
268
|
get host() { return index.getElement(this); }
|
|
261
269
|
};
|
|
@@ -14,9 +14,9 @@ const Tabs = class {
|
|
|
14
14
|
}
|
|
15
15
|
componentWillLoad() {
|
|
16
16
|
// Grab tabs from this component
|
|
17
|
-
this.tabs = Array.from(this.el.querySelectorAll(
|
|
17
|
+
this.tabs = Array.from(this.el.querySelectorAll("ptc-tab"));
|
|
18
18
|
if (this.tabs.length === 0) {
|
|
19
|
-
throw new Error(
|
|
19
|
+
throw new Error("[ptc-tabs] Must have at least one tab");
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
async openTab(index) {
|
|
@@ -37,18 +37,18 @@ const Tabs = class {
|
|
|
37
37
|
const classMap = this.getCssClassMap();
|
|
38
38
|
return (index.h("div", { class: classMap }, this.tabs.map((tab, index$1) => {
|
|
39
39
|
const tabClassMap = {
|
|
40
|
-
|
|
41
|
-
active: tab.active
|
|
40
|
+
"tab-button": true,
|
|
41
|
+
active: tab.active,
|
|
42
42
|
};
|
|
43
43
|
return [
|
|
44
44
|
// assigned properties
|
|
45
|
-
index.h("div", { role: "tab", class: tabClassMap, onClick: () => this.openTab(index$1) }, tab.label, tab.price, index.h("div", { class: classMap }, index.h("span", { class: "left-text" }, index.h("slot", { name: "right-text" })), index.h("span", { class: "right-text" }, index.h("slot", { name: "right-text" }))))
|
|
45
|
+
index.h("div", { role: "tab", class: tabClassMap, onClick: () => this.openTab(index$1) }, tab.label, tab.price, index.h("div", { class: classMap }, index.h("span", { class: "left-text" }, index.h("slot", { name: "right-text" })), index.h("span", { class: "right-text" }, index.h("slot", { name: "right-text" })))),
|
|
46
46
|
];
|
|
47
47
|
})));
|
|
48
48
|
}
|
|
49
49
|
getCssClassMap() {
|
|
50
50
|
return {
|
|
51
|
-
|
|
51
|
+
"tabs-list": true,
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
get el() { return index.getElement(this); }
|
|
@@ -9,11 +9,11 @@ const ptcTextCopyWithBackgroundCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-t
|
|
|
9
9
|
const PtcTextCopyWithBackground = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
-
this.type =
|
|
12
|
+
this.type = "text-copy-with-background";
|
|
13
13
|
this.backgroundImage = undefined;
|
|
14
14
|
this.ImageAltText = undefined;
|
|
15
15
|
this.topSlitBackgroundColor = undefined;
|
|
16
|
-
this.slitPosition =
|
|
16
|
+
this.slitPosition = "top-right";
|
|
17
17
|
this.isBackgroundBlur = false;
|
|
18
18
|
this.overlay = true;
|
|
19
19
|
this.disableLightLinks = false;
|
|
@@ -22,13 +22,13 @@ const PtcTextCopyWithBackground = class {
|
|
|
22
22
|
componentDidLoad() {
|
|
23
23
|
var _a;
|
|
24
24
|
// Run logic only if type is 'hero-footer-cta'
|
|
25
|
-
if (this.hostEle.getAttribute(
|
|
26
|
-
const centerWell = document.querySelector(
|
|
25
|
+
if (this.hostEle.getAttribute("type") === "hero-footer-cta") {
|
|
26
|
+
const centerWell = document.querySelector(".center-well");
|
|
27
27
|
if (centerWell) {
|
|
28
|
-
const sectionCount = centerWell.querySelectorAll(
|
|
28
|
+
const sectionCount = centerWell.querySelectorAll(":scope > section").length;
|
|
29
29
|
// Add class only if more than one <section> inside .center-well
|
|
30
30
|
if (sectionCount > 1) {
|
|
31
|
-
(_a = this.hostEle.parentElement) === null || _a === void 0 ? void 0 : _a.classList.add(
|
|
31
|
+
(_a = this.hostEle.parentElement) === null || _a === void 0 ? void 0 : _a.classList.add("text-copy-footer-cta");
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -36,15 +36,10 @@ const PtcTextCopyWithBackground = class {
|
|
|
36
36
|
render() {
|
|
37
37
|
const classMap = this.getCssClassMap();
|
|
38
38
|
const slitFill = this.getSlitFillColor();
|
|
39
|
-
return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", class: "tcb-top-slit", width: "320.963", height: "28.179", viewBox: "0 0 320.963 28.179", style: { fill: slitFill } }, index.h("path", { id: "Path_8770", d: "M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z", class: "tcb-top-slit-cls-1", "data-name": "Path 8770", transform: "translate(-416.057 -463.856)" })), this.backgroundImage ?
|
|
40
|
-
index.h("div", { class: "" }, index.h("img", { class: "copy-bg-image", alt: this.ImageAltText, src: this.backgroundImage }), this.isBackgroundBlur &&
|
|
41
|
-
index.h("img", { class: "copy-bg-image bg-img-filter", alt: this.ImageAltText, src: this.backgroundImage }))
|
|
42
|
-
: null, this.overlay &&
|
|
43
|
-
index.h("div", { class: "copy-bg-overlay-layer" }), index.h("div", { class: "content-wrap" }, this.type == "case-studies" &&
|
|
44
|
-
index.h("div", { class: "ptc-container" }, index.h("div", { class: "card-wrap" }, index.h("div", { class: "card-animated-border" }), index.h("div", { class: "card-content" }, index.h("div", { class: "card-layout" }, index.h("slot", { name: 'card-content' }))))), index.h("slot", null))));
|
|
39
|
+
return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", class: "tcb-top-slit", width: "320.963", height: "28.179", viewBox: "0 0 320.963 28.179", style: { fill: slitFill } }, index.h("path", { id: "Path_8770", d: "M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z", class: "tcb-top-slit-cls-1", "data-name": "Path 8770", transform: "translate(-416.057 -463.856)" })), this.backgroundImage ? (index.h("div", { class: "" }, index.h("img", { class: "copy-bg-image", alt: this.ImageAltText, src: this.backgroundImage }), this.isBackgroundBlur && (index.h("img", { class: "copy-bg-image bg-img-filter", alt: this.ImageAltText, src: this.backgroundImage })))) : null, this.overlay && index.h("div", { class: "copy-bg-overlay-layer" }), index.h("div", { class: "content-wrap" }, this.type == "case-studies" && (index.h("div", { class: "ptc-container" }, index.h("div", { class: "card-wrap" }, index.h("div", { class: "card-animated-border" }), index.h("div", { class: "card-content" }, index.h("div", { class: "card-layout" }, index.h("slot", { name: "card-content" })))))), index.h("slot", null))));
|
|
45
40
|
}
|
|
46
41
|
getSlitFillColor() {
|
|
47
|
-
let slitFill =
|
|
42
|
+
let slitFill = "#fff";
|
|
48
43
|
if (this.topSlitBackgroundColor == "auto") {
|
|
49
44
|
let style = getComputedStyle(document.body);
|
|
50
45
|
if (style && style.backgroundColor) {
|
|
@@ -60,8 +55,9 @@ const PtcTextCopyWithBackground = class {
|
|
|
60
55
|
return {
|
|
61
56
|
[this.type]: true,
|
|
62
57
|
[this.slitPosition]: true,
|
|
63
|
-
[
|
|
64
|
-
[
|
|
58
|
+
["light-links"]: this.overlay && !this.disableLightLinks,
|
|
59
|
+
["bg-image-absent"]: !this.backgroundImage &&
|
|
60
|
+
this.type == "text-copy-with-background",
|
|
65
61
|
};
|
|
66
62
|
}
|
|
67
63
|
get hostEle() { return index.getElement(this); }
|
|
@@ -26,13 +26,13 @@ const PtcTheaterVideoModal = class {
|
|
|
26
26
|
this.modalType = this.cards[this.currentCardIndex].modalType;
|
|
27
27
|
this.showModal = true;
|
|
28
28
|
setTimeout(() => {
|
|
29
|
-
const closebtn = this.hostEl.querySelector(
|
|
29
|
+
const closebtn = this.hostEl.querySelector(".vm-close");
|
|
30
30
|
closebtn === null || closebtn === void 0 ? void 0 : closebtn.focus();
|
|
31
|
-
const modalDescWrap = this.hostEl.querySelector(
|
|
31
|
+
const modalDescWrap = this.hostEl.querySelector(".video-modal-description");
|
|
32
32
|
if (modalDescWrap) {
|
|
33
33
|
modalDescWrap.scrollHeight > modalDescWrap.clientHeight
|
|
34
|
-
? modalDescWrap.setAttribute(
|
|
35
|
-
: modalDescWrap.removeAttribute(
|
|
34
|
+
? modalDescWrap.setAttribute("tabindex", "0")
|
|
35
|
+
: modalDescWrap.removeAttribute("tabindex");
|
|
36
36
|
}
|
|
37
37
|
}, 200);
|
|
38
38
|
setTimeout(() => {
|
|
@@ -46,7 +46,7 @@ const PtcTheaterVideoModal = class {
|
|
|
46
46
|
onDeactivate: () => {
|
|
47
47
|
this.closeCardModal();
|
|
48
48
|
this.trap.deactivate();
|
|
49
|
-
}
|
|
49
|
+
},
|
|
50
50
|
});
|
|
51
51
|
this.trap.activate();
|
|
52
52
|
}, 200);
|
|
@@ -55,7 +55,7 @@ const PtcTheaterVideoModal = class {
|
|
|
55
55
|
this.showModal = false;
|
|
56
56
|
this.cards = [];
|
|
57
57
|
setTimeout(() => {
|
|
58
|
-
let focusDiv = this.focusCardElement.querySelector(
|
|
58
|
+
let focusDiv = this.focusCardElement.querySelector(".img-wrap");
|
|
59
59
|
focusDiv === null || focusDiv === void 0 ? void 0 : focusDiv.focus();
|
|
60
60
|
}, 200);
|
|
61
61
|
}
|
|
@@ -86,25 +86,33 @@ const PtcTheaterVideoModal = class {
|
|
|
86
86
|
}
|
|
87
87
|
updateVideoPlayer(vId) {
|
|
88
88
|
// debugger
|
|
89
|
-
globalThis.videojs.getPlayer(
|
|
89
|
+
globalThis.videojs.getPlayer("bcPlayer").ready(function () {
|
|
90
90
|
const myPlayer = this;
|
|
91
91
|
if (vId) {
|
|
92
92
|
myPlayer.catalog.getVideo(vId, function (error, video) {
|
|
93
93
|
myPlayer.catalog.load(video);
|
|
94
|
-
console.log(
|
|
94
|
+
console.log("Video Modal" + error);
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
100
|
return (index.h(index.Host, null, index.h("slot", null), this.showModal &&
|
|
101
|
-
(this.modalType !=
|
|
102
|
-
if (e.key ===
|
|
101
|
+
(this.modalType != "only-video" ? (index.h("div", { class: "modal", ref: (el) => (this.modalPopUpRef = el) }, index.h("div", { class: "modal-container ptc-container" }, index.h("div", { class: "vm-close-container" }, index.h("div", { onClick: () => this.closeCardModal(), class: "vm-close mf-listen", tabIndex: 0, onKeyDown: (e) => {
|
|
102
|
+
if (e.key === "Enter")
|
|
103
103
|
this.closeCardModal();
|
|
104
|
-
} }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, index.h("g", { "clip-path": "url(#clip0_214_927)" }, index.h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), index.h("defs", null, index.h("clipPath", { id: "clip0_214_927" }, index.h("rect", { width: "18", height: "18", fill: "white" })))))), index.h("div", { class: "is-grid has-col-gap-xl has-row-gap-lg" }, index.h("div", { class:
|
|
105
|
-
|
|
104
|
+
} }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, index.h("g", { "clip-path": "url(#clip0_214_927)" }, index.h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), index.h("defs", null, index.h("clipPath", { id: "clip0_214_927" }, index.h("rect", { width: "18", height: "18", fill: "white" })))))), index.h("div", { class: "is-grid has-col-gap-xl has-row-gap-lg" }, index.h("div", { class: "is-col is-col-7-lg" }, index.h("div", { class: "v-modal-left" }, index.h("div", { class: "v-nav" }, index.h("button", { onClick: () => this.showPrevCard(), disabled: this
|
|
105
|
+
.currentCardIndex ===
|
|
106
|
+
0 }, "Previous Video"), index.h("div", { class: "v-number" }, " ", this.currentCardIndex +
|
|
107
|
+
1, " ", "of ", this.cards.length), index.h("button", { onClick: () => this.showNextCard(), disabled: this
|
|
108
|
+
.currentCardIndex ===
|
|
109
|
+
this.cards.length - 1 }, "Next Video")), index.h("div", { class: "aspect-ratio-container " }, index.h("div", { class: "video-container" }, index.h("video-js", { id: "bcPlayer", "data-account": "1532789042001", "data-player": "HknUe20R", "data-embed": "default", "data-video-id": this.cards[this
|
|
110
|
+
.currentCardIndex].videoId, controls: "", "data-application-id": "", class: `dpm-vj-${this.currentCardIndex} video-js vjs-fills` }))), index.h("div", { class: "card-description-content" }, index.h("ptc-title", { type: "h3", "title-size": "large", "title-color": "white", upperline: "no-upperline", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", styles: ".is-standard{margin-top:14px !important}" }, this.cards[this
|
|
111
|
+
.currentCardIndex].title), index.h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-color": "white", "para-margin": "margin-3", "para-line-h": "line-height-p", innerHTML: this.cards[this
|
|
112
|
+
.currentCardIndex].cardDescription })))), index.h("div", { class: "is-col is-col-5-lg" }, index.h("div", { class: "video-modal-description" }, index.h("div", { innerHTML: this.cards[this.currentCardIndex].descriptionModal }))))))) : (index.h("div", { class: "modal modal-only-video", ref: (el) => (this.modalPopUpRef = el) }, index.h("div", { class: "modal-wrapper" }, index.h("div", { onClick: () => this.closeCardModal(), class: "vm-close mf-listen", tabIndex: 0, onKeyDown: (e) => {
|
|
113
|
+
if (e.key === "Enter")
|
|
106
114
|
this.closeCardModal();
|
|
107
|
-
} }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, index.h("g", { "clip-path": "url(#clip0_214_927)" }, index.h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), index.h("defs", null, index.h("clipPath", { id: "clip0_214_927" }, index.h("rect", { width: "18", height: "18", fill: "white" }))))), index.h("div", { class:
|
|
115
|
+
} }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" }, index.h("g", { "clip-path": "url(#clip0_214_927)" }, index.h("path", { d: "M18 2.8125L15.1875 0L9 6.1875L2.8125 0L0 2.8125L6.1875 9L0 15.1875L2.8125 18L9 11.8125L15.1875 18L18 15.1875L11.8125 9L18 2.8125Z", fill: "white" })), index.h("defs", null, index.h("clipPath", { id: "clip0_214_927" }, index.h("rect", { width: "18", height: "18", fill: "white" }))))), index.h("div", { class: "aspect-ratio-container " }, index.h("div", { class: "video-container" }, index.h("video-js", { id: "bcPlayer", "data-account": "1532789042001", "data-player": "HknUe20R", "data-embed": "default", "data-video-id": this.cards[this.currentCardIndex].videoId, controls: "", "data-application-id": "", class: `dpm-vj-${this.currentCardIndex} video-js vjs-fills` })))))))));
|
|
108
116
|
}
|
|
109
117
|
get hostEl() { return index.getElement(this); }
|
|
110
118
|
};
|
|
@@ -4,27 +4,27 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-63ddc79c.js');
|
|
6
6
|
|
|
7
|
-
const ptcTooltipV2Css = "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}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #
|
|
7
|
+
const ptcTooltipV2Css = "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}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003dd6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}.vjs-social-share-links a{color:var(--color-white)}.vjs-social-share-links a:hover{color:var(--color-white)}:host(.block){display:block}:host(.inline-block){display:inline-block}:host(.inline){display:inline}.tooltip-container{display:inherit;position:relative}.tooltip-text{width:100%}.description{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.tooltip-content{display:none;position:absolute;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:auto;height:fit-content;text-align:left;text-shadow:none;white-space:normal}@media only screen and (min-width: 480px){.tooltip-content{width:273px}}.tooltip-content::after{content:\" \";position:absolute;top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip-content.bottom{transform:translate(50%, 12px)}.tooltip-content.top{transform:translate(-50%, 0%);top:-70%;left:50%}.tooltip-content.top::after{top:auto;bottom:0;left:50%;transform:translate(-50%, 100%);border-top:8px solid var(--color-gray-09);border-bottom:unset}.tooltip-content.left{transform:translate(95%, 12px)}.tooltip-content.left::after{left:5%}.tooltip-content.right{bottom:-12px;transform:translateY(100%);right:0px}.tooltip-container.with-tip:hover .tooltip-content{display:block}@media (max-width: 767px){.hide-on-mobile .tooltip-content{display:none !important}}";
|
|
8
8
|
|
|
9
9
|
const PtcTooltipV2 = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
-
this.elementDisplay =
|
|
12
|
+
this.elementDisplay = "block";
|
|
13
13
|
this.maxLength = 45;
|
|
14
14
|
this.maxLines = undefined;
|
|
15
15
|
this.zIndex = 1000;
|
|
16
|
-
this.width =
|
|
17
|
-
this.position =
|
|
16
|
+
this.width = "default";
|
|
17
|
+
this.position = "bottom";
|
|
18
18
|
this.hideOnMobile = false;
|
|
19
|
-
this.fullText =
|
|
20
|
-
this.displayText =
|
|
19
|
+
this.fullText = "";
|
|
20
|
+
this.displayText = "";
|
|
21
21
|
this.showTip = false;
|
|
22
22
|
this.styles = undefined;
|
|
23
23
|
}
|
|
24
24
|
slotChangeHandler(event) {
|
|
25
25
|
const slot = event.target;
|
|
26
26
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
27
|
-
this.fullText = nodes.map(node => node.textContent).join(
|
|
27
|
+
this.fullText = nodes.map((node) => node.textContent).join("");
|
|
28
28
|
this.processText();
|
|
29
29
|
}
|
|
30
30
|
componentWillLoad() {
|
|
@@ -35,37 +35,43 @@ const PtcTooltipV2 = class {
|
|
|
35
35
|
}
|
|
36
36
|
processText(initial = false) {
|
|
37
37
|
if (initial) {
|
|
38
|
-
const slot = this.el.shadowRoot.querySelector(
|
|
38
|
+
const slot = this.el.shadowRoot.querySelector("slot");
|
|
39
39
|
if (slot) {
|
|
40
40
|
const nodes = slot.assignedNodes({ flatten: true });
|
|
41
41
|
this.fullText = nodes
|
|
42
|
-
.map(node => node.textContent)
|
|
43
|
-
.join(
|
|
42
|
+
.map((node) => node.textContent)
|
|
43
|
+
.join("")
|
|
44
44
|
.trim();
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
this.displayText = this.fullText;
|
|
48
|
-
if (this.fullText.length > this.maxLength &&
|
|
49
|
-
|
|
50
|
-
const
|
|
51
|
-
|
|
48
|
+
if (this.fullText.length > this.maxLength &&
|
|
49
|
+
this.maxLines === undefined) {
|
|
50
|
+
const trimmedText = this.fullText
|
|
51
|
+
.substring(0, this.maxLength)
|
|
52
|
+
.trim();
|
|
53
|
+
const lastSpace = trimmedText.lastIndexOf(" ");
|
|
54
|
+
this.displayText = trimmedText.substring(0, lastSpace) + "...";
|
|
52
55
|
this.showTip = true;
|
|
53
56
|
}
|
|
54
57
|
}
|
|
55
58
|
render() {
|
|
56
59
|
const style = {
|
|
57
60
|
zIndex: this.zIndex.toString(),
|
|
58
|
-
width: this.width ===
|
|
59
|
-
overflow:
|
|
60
|
-
display: this.maxLines ?
|
|
61
|
-
WebkitBoxOrient:
|
|
62
|
-
WebkitLineClamp: this.maxLines ? this.maxLines.toString() :
|
|
61
|
+
width: this.width === "full-width" ? "100%" : "auto",
|
|
62
|
+
overflow: "hidden",
|
|
63
|
+
display: this.maxLines ? "-webkit-box !important" : "inherit",
|
|
64
|
+
WebkitBoxOrient: "vertical",
|
|
65
|
+
WebkitLineClamp: this.maxLines ? this.maxLines.toString() : "none",
|
|
63
66
|
};
|
|
64
67
|
const tooltipClass = {
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
"tooltip-container": true,
|
|
69
|
+
"with-tip": this.showTip, // Conditionally applying the 'with-tip' class
|
|
67
70
|
};
|
|
68
|
-
return (index.h(index.Host, { class: this.elementDisplay }, this.styles && index.h("style", null, this.styles), index.h("div", { class: tooltipClass, style: {
|
|
71
|
+
return (index.h(index.Host, { class: this.elementDisplay }, this.styles && index.h("style", null, this.styles), index.h("div", { class: tooltipClass, style: {
|
|
72
|
+
zIndex: this.zIndex.toString(),
|
|
73
|
+
width: this.width === "full-width" ? "100%" : "auto",
|
|
74
|
+
} }, index.h("div", { class: "tooltip-text", style: style }, this.displayText), index.h("div", { class: `tooltip-content ${this.position}` }, index.h("slot", null)))));
|
|
69
75
|
}
|
|
70
76
|
get el() { return index.getElement(this); }
|
|
71
77
|
};
|