@ptcwebops/ptcw-design 6.3.65-beta → 6.3.68-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/academic-form-test.cjs.entry.js +24 -24
- package/dist/cjs/author-listing-example.cjs.entry.js +31 -29
- package/dist/cjs/blog-detail-content_2.cjs.entry.js +66 -61
- package/dist/cjs/blog-detail-layout.cjs.entry.js +12 -12
- package/dist/cjs/blogs-search-section.cjs.entry.js +59 -48
- package/dist/cjs/bundle-example.cjs.entry.js +3 -2
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +23 -10
- package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +5 -3
- package/dist/cjs/embedded-form.cjs.entry.js +27 -27
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +53 -46
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +4 -4
- package/dist/cjs/featured-events-slider-example.cjs.entry.js +6 -6
- package/dist/cjs/featured-list.cjs.entry.js +30 -22
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +19 -16
- package/dist/cjs/footer-form.cjs.entry.js +9 -9
- package/dist/cjs/homepage-clickable-tab.cjs.entry.js +23 -8
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +28 -17
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +44 -21
- package/dist/cjs/icon-asset.cjs.entry.js +18 -18
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +4 -4
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-mune.cjs.entry.js +3 -3
- package/dist/cjs/list-item.cjs.entry.js +12 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/max-width-container.cjs.entry.js +4 -4
- package/dist/cjs/modal-form-example.cjs.entry.js +43 -28
- package/dist/cjs/most-popular-news.cjs.entry.js +2 -2
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +25 -17
- package/dist/cjs/ptc-accordion.cjs.entry.js +13 -10
- package/dist/cjs/ptc-announcement.cjs.entry.js +18 -15
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +29 -27
- package/dist/cjs/ptc-background-video.cjs.entry.js +14 -12
- package/dist/cjs/ptc-badge.cjs.entry.js +3 -3
- package/dist/cjs/ptc-bio-card.cjs.entry.js +13 -9
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +14 -8
- package/dist/cjs/ptc-brightcov-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +48 -20
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +59 -31
- package/dist/cjs/ptc-card-content.cjs.entry.js +35 -25
- package/dist/cjs/ptc-card_2.cjs.entry.js +112 -62
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +43 -35
- package/dist/cjs/ptc-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/ptc-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +63 -50
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +88 -57
- package/dist/cjs/ptc-container.cjs.entry.js +10 -10
- package/dist/cjs/ptc-countdown.cjs.entry.js +65 -65
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +61 -25
- package/dist/cjs/ptc-date.cjs.entry.js +4 -4
- package/dist/cjs/ptc-dropdown.cjs.entry.js +22 -19
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +14 -9
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +40 -27
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +29 -20
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +14 -7
- package/dist/cjs/ptc-featured-list.cjs.entry.js +9 -11
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +110 -73
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +128 -31
- package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +57 -32
- package/dist/cjs/ptc-footer.cjs.entry.js +12 -10
- package/dist/cjs/ptc-form-checkbox_4.cjs.entry.js +533 -429
- package/dist/cjs/ptc-form-radio-button.cjs.entry.js +6 -6
- package/dist/cjs/ptc-form-radio-group.cjs.entry.js +7 -7
- package/dist/cjs/ptc-form.cjs.entry.js +95 -35
- package/dist/cjs/ptc-hero.cjs.entry.js +5 -2
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +4 -2
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +69 -42
- package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +4 -4
- package/dist/cjs/ptc-icon-card.cjs.entry.js +4 -2
- package/dist/cjs/ptc-icon-component.cjs.entry.js +17 -11
- package/dist/cjs/ptc-icon-list.cjs.entry.js +7 -8
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +42 -27
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +6 -4
- package/dist/cjs/ptc-img.cjs.entry.js +56 -49
- package/dist/cjs/ptc-info-tile.cjs.entry.js +6 -6
- package/dist/cjs/ptc-inline-cta.cjs.entry.js +40 -31
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +90 -56
- package/dist/cjs/ptc-link.cjs.entry.js +29 -25
- package/dist/cjs/ptc-list.cjs.entry.js +9 -9
- package/dist/cjs/ptc-media-card.cjs.entry.js +31 -13
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +5 -5
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +22 -16
- package/dist/cjs/ptc-modal-quiz.cjs.entry.js +44 -20
- package/dist/cjs/ptc-nav-card.cjs.entry.js +6 -12
- package/dist/cjs/ptc-nav-link.cjs.entry.js +6 -6
- package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +10 -10
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +36 -18
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +4 -7
- package/dist/cjs/ptc-news.cjs.entry.js +1 -1
- package/dist/cjs/ptc-office-location-card.cjs.entry.js +7 -7
- package/dist/cjs/ptc-office-locations.cjs.entry.js +104 -71
- package/dist/cjs/ptc-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ptc-para.cjs.entry.js +38 -26
- package/dist/cjs/ptc-picture.cjs.entry.js +39 -33
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +9 -5
- package/dist/cjs/ptc-preloader.cjs.entry.js +22 -0
- package/dist/cjs/ptc-previous-url.cjs.entry.js +6 -5
- package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +162 -107
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +10 -8
- package/dist/cjs/ptc-product-card.cjs.entry.js +14 -15
- package/dist/cjs/ptc-product-category.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +10 -8
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +5 -5
- package/dist/cjs/ptc-product-list.cjs.entry.js +64 -56
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +39 -38
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +2 -1
- package/dist/cjs/ptc-quantity-counter.cjs.entry.js +13 -11
- package/dist/cjs/ptc-quote.cjs.entry.js +6 -4
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +7 -7
- package/dist/cjs/ptc-readmore-new.cjs.entry.js +17 -19
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +22 -22
- package/dist/cjs/ptc-readmore.cjs.entry.js +48 -42
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +45 -40
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +25 -24
- package/dist/cjs/ptc-search-field.cjs.entry.js +29 -18
- package/dist/cjs/ptc-seo-title.cjs.entry.js +8 -8
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +34 -32
- package/dist/cjs/ptc-skeleton.cjs.entry.js +8 -3
- package/dist/cjs/ptc-slit-card.cjs.entry.js +10 -6
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +12 -2
- package/dist/cjs/ptc-social-icons.cjs.entry.js +3 -3
- package/dist/cjs/ptc-spacer.cjs.entry.js +14 -14
- package/dist/cjs/ptc-span.cjs.entry.js +3 -3
- package/dist/cjs/ptc-square-card.cjs.entry.js +5 -1
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +4 -2
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +13 -13
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +8 -7
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav.cjs.entry.js +4 -4
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +5 -3
- package/dist/cjs/ptc-tab-list.cjs.entry.js +65 -57
- package/dist/cjs/ptc-tab.cjs.entry.js +2 -2
- package/dist/cjs/ptc-tabs.cjs.entry.js +6 -6
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +11 -15
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +21 -13
- package/dist/cjs/ptc-title.cjs.entry.js +49 -40
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +28 -22
- package/dist/cjs/ptc-tooltip-v3.cjs.entry.js +24 -19
- package/dist/cjs/ptc-tooltip.cjs.entry.js +29 -23
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-content.cjs.entry.js +1 -2
- package/dist/cjs/ptc-value-led-intro.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-layout.cjs.entry.js +79 -49
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +9 -6
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-video-embed.cjs.entry.js +19 -19
- package/dist/cjs/ptc-white-paper.cjs.entry.js +22 -9
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +20 -15
- package/dist/cjs/sequential-bundle.cjs.entry.js +1 -1
- package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +6 -6
- package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +6 -6
- package/dist/cjs/tab-content.cjs.entry.js +10 -8
- package/dist/cjs/tab-header.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/dropdown-item/dropdown-item.css +8 -4
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.css +8 -4
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +8 -6
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +16 -12
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +24 -9
- package/dist/collection/components/icon-asset/icon-asset.css +26 -10
- package/dist/collection/components/icon-asset/icon-asset.js +29 -29
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +133 -13
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +4 -5
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +8 -4
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +2 -2
- package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.css +16 -8
- package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.js +4 -4
- package/dist/collection/components/list-item/list-item.css +8 -4
- package/dist/collection/components/list-item/list-item.js +18 -14
- package/dist/collection/components/max-width-container/max-width-container.js +7 -7
- package/dist/collection/components/my-component/my-component.js +2 -2
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +32 -30
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +10 -6
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.js +58 -49
- package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.css +8 -4
- package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.js +14 -14
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.css +8 -4
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +61 -50
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +4 -3
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +148 -138
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +30 -22
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +25 -12
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +9 -5
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +56 -49
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +14 -10
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +5 -5
- package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +8 -4
- package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.js +8 -8
- package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.css +9 -5
- package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.js +24 -24
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.css +10 -6
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +27 -27
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.css +10 -6
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +9 -9
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +44 -29
- package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +96 -36
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +8 -4
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +37 -26
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +12 -8
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +45 -22
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.css +9 -5
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +6 -6
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.css +8 -4
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.js +1 -1
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +10 -6
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.js +5 -5
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.css +8 -4
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +4 -4
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +23 -18
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.js +7 -7
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +54 -29
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.js +7 -7
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +8 -4
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +29 -21
- package/dist/collection/components/ptc-accordion/ptc-accordion.css +14 -9
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +18 -15
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +8 -4
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +23 -20
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +8 -4
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +30 -28
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +8 -4
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +22 -20
- package/dist/collection/components/ptc-badge/ptc-badge.css +10 -5
- package/dist/collection/components/ptc-badge/ptc-badge.js +6 -6
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +135 -14
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +13 -9
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +8 -4
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +18 -12
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.css +8 -4
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +2 -2
- package/dist/collection/components/ptc-button/ptc-button.css +10 -6
- package/dist/collection/components/ptc-button/ptc-button.js +63 -35
- package/dist/collection/components/ptc-card/ptc-card.css +11 -5
- package/dist/collection/components/ptc-card/ptc-card.js +81 -34
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +8 -4
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +20 -14
- package/dist/collection/components/ptc-card-content/ptc-card-content.css +8 -4
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +38 -28
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +9 -5
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +43 -21
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +133 -14
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +44 -36
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +8 -4
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +15 -15
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.css +8 -4
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.js +7 -7
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.css +8 -4
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +2 -2
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +46 -13
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +92 -61
- package/dist/collection/components/ptc-container/ptc-container.css +8 -4
- package/dist/collection/components/ptc-container/ptc-container.js +19 -19
- package/dist/collection/components/ptc-countdown/ptc-countdown.css +8 -4
- package/dist/collection/components/ptc-countdown/ptc-countdown.js +76 -76
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.css +8 -4
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +68 -32
- package/dist/collection/components/ptc-date/ptc-date.css +8 -4
- package/dist/collection/components/ptc-date/ptc-date.js +9 -9
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +8 -4
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +25 -22
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +22 -11
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +20 -15
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +8 -4
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +42 -29
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +8 -4
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +32 -22
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +11 -7
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +16 -9
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.css +8 -4
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +5 -2
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +8 -4
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +15 -15
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.css +8 -4
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +2 -2
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +133 -13
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +9 -11
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +8 -4
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +30 -21
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +145 -25
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +129 -32
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +8 -4
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +18 -18
- package/dist/collection/components/ptc-footer/ptc-footer-v2.css +26 -13
- package/dist/collection/components/ptc-footer/ptc-footer.js +13 -11
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +10 -6
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +21 -17
- package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.css +8 -4
- package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.js +7 -7
- package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.css +8 -4
- package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.js +8 -8
- package/dist/collection/components/ptc-hero/ptc-hero.css +8 -4
- package/dist/collection/components/ptc-hero/ptc-hero.js +8 -5
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.css +10 -5
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +1 -1
- package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.css +8 -4
- package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.js +6 -4
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +16 -8
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +72 -45
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +8 -4
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +6 -4
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +8 -4
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +19 -14
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +8 -4
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +13 -14
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +8 -4
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +43 -28
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +8 -4
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +7 -5
- package/dist/collection/components/ptc-img/ptc-img.css +37 -4
- package/dist/collection/components/ptc-img/ptc-img.js +67 -60
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +16 -8
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +7 -7
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +9 -5
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.js +42 -33
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +134 -14
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +93 -59
- package/dist/collection/components/ptc-link/ptc-link.css +16 -9
- package/dist/collection/components/ptc-link/ptc-link.js +37 -33
- package/dist/collection/components/ptc-list/ptc-list.css +8 -4
- package/dist/collection/components/ptc-list/ptc-list.js +12 -12
- package/dist/collection/components/ptc-media-card/ptc-media-card.css +9 -5
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +37 -19
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +8 -4
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +10 -10
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +12 -6
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +27 -21
- package/dist/collection/components/ptc-modal/ptc-modal.css +8 -4
- package/dist/collection/components/ptc-modal/ptc-modal.js +71 -58
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +8 -4
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +45 -21
- package/dist/collection/components/ptc-multi-select/ptc-multi-select.css +11 -7
- package/dist/collection/components/ptc-multi-select/ptc-multi-select.js +105 -50
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +8 -4
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +9 -15
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.css +8 -4
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +1 -1
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +10 -6
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +10 -10
- package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.css +8 -4
- package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.js +2 -2
- package/dist/collection/components/ptc-news/ptc-news.css +8 -4
- package/dist/collection/components/ptc-news/ptc-news.js +2 -2
- package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.css +8 -4
- package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.js +12 -12
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.css +8 -4
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +114 -81
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +12 -8
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +6 -6
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +25 -12
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +45 -20
- package/dist/collection/components/ptc-para/ptc-para.css +8 -4
- package/dist/collection/components/ptc-para/ptc-para.js +60 -49
- package/dist/collection/components/ptc-picture/ptc-picture.css +8 -4
- package/dist/collection/components/ptc-picture/ptc-picture.js +55 -49
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +133 -13
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +2 -2
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.css +8 -4
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.js +10 -6
- package/dist/collection/components/ptc-preloader/ptc-preloader.css +147 -0
- package/dist/collection/components/ptc-preloader/ptc-preloader.js +62 -0
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +29 -23
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +39 -36
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +8 -4
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +9 -8
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +8 -4
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +4 -4
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.css +8 -4
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +4 -4
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +8 -4
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +4 -4
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +8 -4
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +166 -110
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +8 -4
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +12 -10
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +133 -13
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +14 -15
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +133 -13
- package/dist/collection/components/ptc-product-category/ptc-product-category.js +2 -2
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +8 -4
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +11 -9
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +133 -13
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +7 -7
- package/dist/collection/components/ptc-product-list/ptc-product-list.css +8 -4
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +65 -57
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +8 -4
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +41 -40
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.css +8 -4
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +3 -2
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +8 -4
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.js +16 -14
- package/dist/collection/components/ptc-quote/ptc-quote.css +10 -5
- package/dist/collection/components/ptc-quote/ptc-quote.js +10 -8
- package/dist/collection/components/ptc-readmore/ptc-readmore.css +8 -4
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +62 -56
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +133 -13
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +7 -7
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.css +8 -4
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.js +18 -20
- package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.css +8 -4
- package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.js +10 -14
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +133 -13
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.js +24 -24
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +9 -4
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +47 -42
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +2 -2
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.css +8 -4
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +29 -28
- package/dist/collection/components/ptc-search-field/ptc-search-field.css +8 -4
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +32 -22
- package/dist/collection/components/ptc-select/ptc-select.css +12 -8
- package/dist/collection/components/ptc-select/ptc-select.js +292 -290
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.css +8 -4
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +24 -24
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +8 -4
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +40 -38
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.css +8 -4
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.js +1 -1
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +8 -4
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +10 -5
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +8 -4
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +13 -9
- package/dist/collection/components/ptc-social-icons/ptc-social-icons.css +8 -4
- package/dist/collection/components/ptc-social-icons/ptc-social-icons.js +10 -10
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +8 -4
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +22 -12
- package/dist/collection/components/ptc-social-share/ptc-social-share.css +8 -4
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +54 -35
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +21 -21
- package/dist/collection/components/ptc-span/ptc-span.css +8 -4
- package/dist/collection/components/ptc-span/ptc-span.js +10 -10
- package/dist/collection/components/ptc-square-card/ptc-square-card.css +8 -4
- package/dist/collection/components/ptc-square-card/ptc-square-card.js +7 -3
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.css +8 -4
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +5 -3
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.css +8 -4
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +14 -14
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.css +8 -4
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +11 -10
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +8 -4
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +14 -12
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +8 -4
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +67 -59
- package/dist/collection/components/ptc-tabs/ptc-tab.js +3 -3
- package/dist/collection/components/ptc-tabs/ptc-tabs.css +8 -4
- package/dist/collection/components/ptc-tabs/ptc-tabs.js +7 -7
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +8 -4
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +16 -20
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +44 -13
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +148 -104
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +10 -6
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +7 -7
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +8 -4
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +23 -15
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.css +8 -4
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +36 -27
- package/dist/collection/components/ptc-title/ptc-title.css +8 -4
- package/dist/collection/components/ptc-title/ptc-title.js +73 -64
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +8 -4
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +43 -37
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +133 -13
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.js +34 -28
- package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.css +8 -4
- package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.js +32 -27
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.css +8 -4
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +3 -3
- package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.css +8 -4
- package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.js +2 -2
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.css +8 -4
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +2 -3
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.css +8 -4
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +1 -1
- package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.css +8 -4
- package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.js +2 -2
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.css +8 -4
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +80 -50
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +133 -13
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +9 -6
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +8 -4
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +4 -4
- package/dist/collection/components/ptc-video-embed/ptc-video-embed.css +8 -4
- package/dist/collection/components/ptc-video-embed/ptc-video-embed.js +23 -23
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +150 -20
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +22 -9
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +8 -4
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +8 -8
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +8 -4
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +37 -19
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +8 -4
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +5 -8
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +8 -4
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +6 -6
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.css +8 -4
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +2 -2
- package/dist/collection/components/tab-content/tab-content.css +18 -5
- package/dist/collection/components/tab-content/tab-content.js +11 -9
- package/dist/collection/components/tab-header/tab-header.css +10 -5
- package/dist/collection/components/tab-header/tab-header.js +6 -6
- package/dist/collection/stories/Accordian.stories.js +32 -18
- package/dist/collection/stories/Announcement.stories.js +29 -1
- package/dist/collection/stories/Breadcrumb2.stories.js +62 -0
- package/dist/collection/stories/BrightcovVideo.stories.js +21 -0
- package/dist/collection/stories/Button.stories.js +150 -66
- package/dist/collection/stories/Checkbox.stories.js +13 -45
- package/dist/collection/stories/CheckboxGroup.stories.js +27 -0
- package/dist/collection/stories/CloseIcon.stories.js +10 -0
- package/dist/collection/stories/CollapseList.stories.js +14 -0
- package/dist/collection/stories/Countdown.stories.js +10 -0
- package/dist/collection/stories/DataLookup.stories.js +21 -0
- package/dist/collection/stories/Date.stories.js +70 -75
- package/dist/collection/stories/EllipsisDropdown.stories.js +14 -0
- package/dist/collection/stories/Hero.stories.js +22 -107
- package/dist/collection/stories/HeroFooterCTA.stories.js +21 -0
- package/dist/collection/stories/ListItem.stories.js +20 -46
- package/dist/collection/stories/MultiSelect.stories.js +10 -0
- package/dist/collection/stories/ScrollButton.stories.js +14 -0
- package/dist/collection/stories/SearchField.stories.js +21 -0
- package/dist/collection/stories/Select.stories.js +17 -68
- package/dist/collection/stories/SocialShare.stories.js +67 -51
- package/dist/collection/stories/Span.stories.js +45 -51
- package/dist/collection/stories/SvgBtn.stories.js +36 -0
- package/dist/collection/stories/TextCopyWithBackground.stories.js +78 -220
- package/dist/collection/stories/TheaterVideo.stories.js +21 -0
- package/dist/collection/stories/VideoEmbed.stories.js +10 -0
- package/dist/collection/stories/backToTop.stories.js +10 -0
- package/dist/collection/stories/backgroundVideo.stories.js +115 -0
- package/dist/collection/stories/jumbotronSubMenu.stories.js +14 -0
- package/dist/collection/stories/ptcLink2.stories.js +142 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +4226 -3059
- package/dist/esm/academic-form-test.entry.js +24 -24
- package/dist/esm/author-listing-example.entry.js +31 -29
- package/dist/esm/blog-detail-content_2.entry.js +66 -61
- package/dist/esm/blog-detail-layout.entry.js +12 -12
- package/dist/esm/blogs-search-section.entry.js +59 -48
- package/dist/esm/bundle-example.entry.js +3 -2
- package/dist/esm/bundle-jumbotron-example.entry.js +23 -10
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +5 -3
- package/dist/esm/embedded-form.entry.js +27 -27
- package/dist/esm/event-jumbotron-example.entry.js +53 -46
- package/dist/esm/event-podcast-slider-example.entry.js +4 -4
- package/dist/esm/featured-events-slider-example.entry.js +6 -6
- package/dist/esm/featured-list.entry.js +30 -22
- package/dist/esm/fl-tab-content_3.entry.js +19 -16
- package/dist/esm/footer-form.entry.js +9 -9
- package/dist/esm/homepage-clickable-tab.entry.js +23 -8
- package/dist/esm/homepage-jumbotron.entry.js +28 -17
- package/dist/esm/homepage-toggled-content.entry.js +44 -21
- package/dist/esm/icon-asset.entry.js +18 -18
- package/dist/esm/innovator-toggle-container.entry.js +4 -4
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/jumbotron-sub-mune.entry.js +3 -3
- package/dist/esm/list-item.entry.js +12 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/max-width-container.entry.js +4 -4
- package/dist/esm/modal-form-example.entry.js +43 -28
- package/dist/esm/most-popular-news.entry.js +2 -2
- package/dist/esm/ptc-accordion-item.entry.js +25 -17
- package/dist/esm/ptc-accordion.entry.js +13 -10
- package/dist/esm/ptc-announcement.entry.js +18 -15
- package/dist/esm/ptc-back-to-top.entry.js +29 -27
- package/dist/esm/ptc-background-video.entry.js +14 -12
- package/dist/esm/ptc-badge.entry.js +3 -3
- package/dist/esm/ptc-bio-card.entry.js +13 -9
- package/dist/esm/ptc-breadcrumb.entry.js +14 -8
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +48 -20
- package/dist/esm/ptc-card-bottom_2.entry.js +59 -31
- package/dist/esm/ptc-card-content.entry.js +35 -25
- package/dist/esm/ptc-card_2.entry.js +112 -62
- package/dist/esm/ptc-case-studies-slider.entry.js +43 -35
- package/dist/esm/ptc-checkbox-group.entry.js +4 -4
- package/dist/esm/ptc-checkbox.entry.js +12 -12
- package/dist/esm/ptc-close-icon_2.entry.js +63 -50
- package/dist/esm/ptc-collapse-list.entry.js +88 -57
- package/dist/esm/ptc-container.entry.js +10 -10
- package/dist/esm/ptc-countdown.entry.js +65 -65
- package/dist/esm/ptc-data-lookup.entry.js +61 -25
- package/dist/esm/ptc-date.entry.js +4 -4
- package/dist/esm/ptc-dropdown.entry.js +22 -19
- package/dist/esm/ptc-dynamic-card.entry.js +14 -9
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +40 -27
- package/dist/esm/ptc-embedded-quiz.entry.js +29 -20
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +14 -7
- package/dist/esm/ptc-featured-list.entry.js +9 -11
- package/dist/esm/ptc-filter-dropdown_4.entry.js +110 -73
- package/dist/esm/ptc-filter-level-theater.entry.js +128 -31
- package/dist/esm/ptc-filter-tag_2.entry.js +57 -32
- package/dist/esm/ptc-footer.entry.js +12 -10
- package/dist/esm/ptc-form-checkbox_4.entry.js +533 -429
- package/dist/esm/ptc-form-radio-button.entry.js +6 -6
- package/dist/esm/ptc-form-radio-group.entry.js +7 -7
- package/dist/esm/ptc-form.entry.js +95 -35
- package/dist/esm/ptc-hero.entry.js +5 -2
- package/dist/esm/ptc-homepage-image-feature.entry.js +4 -2
- package/dist/esm/ptc-homepage-video-background.entry.js +69 -42
- package/dist/esm/ptc-icon-card-slider-example.entry.js +4 -4
- package/dist/esm/ptc-icon-card.entry.js +4 -2
- package/dist/esm/ptc-icon-component.entry.js +17 -11
- package/dist/esm/ptc-icon-list.entry.js +7 -8
- package/dist/esm/ptc-icon-minimize.entry.js +42 -27
- package/dist/esm/ptc-image-download-strip.entry.js +6 -4
- package/dist/esm/ptc-img.entry.js +56 -49
- package/dist/esm/ptc-info-tile.entry.js +6 -6
- package/dist/esm/ptc-inline-cta.entry.js +40 -31
- package/dist/esm/ptc-jumbotron.entry.js +90 -56
- package/dist/esm/ptc-link.entry.js +29 -25
- package/dist/esm/ptc-list.entry.js +9 -9
- package/dist/esm/ptc-media-card.entry.js +31 -13
- package/dist/esm/ptc-minimized-nav.entry.js +5 -5
- package/dist/esm/ptc-mobile-select.entry.js +22 -16
- package/dist/esm/ptc-modal-quiz.entry.js +44 -20
- package/dist/esm/ptc-nav-card.entry.js +6 -12
- package/dist/esm/ptc-nav-link.entry.js +6 -6
- package/dist/esm/ptc-nav-skip-to-content.entry.js +10 -10
- package/dist/esm/ptc-nav-slider.entry.js +36 -18
- package/dist/esm/ptc-nav-submenu.entry.js +4 -7
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +7 -7
- package/dist/esm/ptc-office-locations.entry.js +104 -71
- package/dist/esm/ptc-overlay.entry.js +2 -2
- package/dist/esm/ptc-para.entry.js +38 -26
- package/dist/esm/ptc-picture.entry.js +39 -33
- package/dist/esm/ptc-podcast-card.entry.js +2 -2
- package/dist/esm/ptc-preferance-center-form.entry.js +9 -5
- package/dist/esm/ptc-preloader.entry.js +18 -0
- package/dist/esm/ptc-previous-url.entry.js +6 -5
- package/dist/esm/ptc-pricing-add-on-card.entry.js +3 -3
- package/dist/esm/ptc-pricing-add-on-section.entry.js +3 -3
- package/dist/esm/ptc-pricing-block.entry.js +3 -3
- package/dist/esm/ptc-pricing-packaging-table.entry.js +162 -107
- package/dist/esm/ptc-pricing-tabs.entry.js +10 -8
- package/dist/esm/ptc-product-card.entry.js +14 -15
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +10 -8
- package/dist/esm/ptc-product-highlight-card.entry.js +5 -5
- package/dist/esm/ptc-product-list.entry.js +64 -56
- package/dist/esm/ptc-product-sidebar.entry.js +39 -38
- package/dist/esm/ptc-progress-bar.entry.js +2 -1
- package/dist/esm/ptc-quantity-counter.entry.js +13 -11
- package/dist/esm/ptc-quote.entry.js +6 -4
- package/dist/esm/ptc-readmore-char.entry.js +7 -7
- package/dist/esm/ptc-readmore-new.entry.js +17 -19
- package/dist/esm/ptc-readmore-v3.entry.js +22 -22
- package/dist/esm/ptc-readmore.entry.js +48 -42
- package/dist/esm/ptc-related-card-rail.entry.js +45 -40
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-scroll-button.entry.js +25 -24
- package/dist/esm/ptc-search-field.entry.js +29 -18
- package/dist/esm/ptc-seo-title.entry.js +8 -8
- package/dist/esm/ptc-shopping-cart.entry.js +34 -32
- package/dist/esm/ptc-skeleton.entry.js +8 -3
- package/dist/esm/ptc-slit-card.entry.js +10 -6
- package/dist/esm/ptc-social-icons-footer.entry.js +12 -2
- package/dist/esm/ptc-social-icons.entry.js +3 -3
- package/dist/esm/ptc-spacer.entry.js +14 -14
- package/dist/esm/ptc-span.entry.js +3 -3
- package/dist/esm/ptc-square-card.entry.js +5 -1
- package/dist/esm/ptc-sticky-icons.entry.js +4 -2
- package/dist/esm/ptc-sticky-section.entry.js +13 -13
- package/dist/esm/ptc-sticky-title.entry.js +8 -7
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +4 -4
- package/dist/esm/ptc-svg-btn.entry.js +5 -3
- package/dist/esm/ptc-tab-list.entry.js +65 -57
- package/dist/esm/ptc-tab.entry.js +2 -2
- package/dist/esm/ptc-tabs.entry.js +6 -6
- package/dist/esm/ptc-text-copy-with-background.entry.js +11 -15
- package/dist/esm/ptc-theater-video-modal.entry.js +21 -13
- package/dist/esm/ptc-title.entry.js +49 -40
- package/dist/esm/ptc-tooltip-v2.entry.js +28 -22
- package/dist/esm/ptc-tooltip-v3.entry.js +24 -19
- package/dist/esm/ptc-tooltip.entry.js +29 -23
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptc-value-led-card.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +1 -2
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +79 -49
- package/dist/esm/ptc-value-led-speed-bump.entry.js +9 -6
- package/dist/esm/ptc-value-prop-card.entry.js +2 -2
- package/dist/esm/ptc-video-embed.entry.js +19 -19
- package/dist/esm/ptc-white-paper.entry.js +22 -9
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/sequential-bundle-example.entry.js +20 -15
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +6 -6
- package/dist/esm/storefront-enhanced-product-list-example.entry.js +6 -6
- package/dist/esm/tab-content.entry.js +10 -8
- package/dist/esm/tab-header.entry.js +5 -5
- package/dist/ptcw-design/{p-1feb2812.entry.js → p-056748b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-dfb400ed.entry.js → p-1bffeaed.entry.js} +1 -1
- package/dist/ptcw-design/{p-9501995f.entry.js → p-21db0a85.entry.js} +1 -1
- package/dist/ptcw-design/{p-5311c6e1.entry.js → p-2670ac97.entry.js} +1 -1
- package/dist/ptcw-design/p-2c287230.entry.js +1 -0
- package/dist/ptcw-design/{p-e43c30c9.entry.js → p-2c8faf9a.entry.js} +1 -1
- package/dist/ptcw-design/{p-fed61f9b.entry.js → p-312c41b8.entry.js} +1 -1
- package/dist/ptcw-design/p-349f43d5.entry.js +1 -0
- package/dist/ptcw-design/{p-8521fdd4.entry.js → p-36ee2e12.entry.js} +1 -1
- package/dist/ptcw-design/{p-32f64f48.entry.js → p-390c0dee.entry.js} +1 -1
- package/dist/ptcw-design/p-3a40c41f.entry.js +1 -0
- package/dist/ptcw-design/{p-c82eaf9d.entry.js → p-4d11aafc.entry.js} +1 -1
- package/dist/ptcw-design/{p-b6255525.entry.js → p-4f0b8ca2.entry.js} +1 -1
- package/dist/ptcw-design/{p-c8f68292.entry.js → p-4f4f97a6.entry.js} +1 -1
- package/dist/ptcw-design/{p-7f9ad266.entry.js → p-50308f02.entry.js} +1 -1
- package/dist/ptcw-design/{p-4702c233.entry.js → p-54f5a5be.entry.js} +1 -1
- package/dist/ptcw-design/{p-b49245ed.entry.js → p-5c81c755.entry.js} +1 -1
- package/dist/ptcw-design/{p-ef5b5890.entry.js → p-5e4c1edf.entry.js} +1 -1
- package/dist/ptcw-design/p-63b3bcbe.entry.js +1 -0
- package/dist/ptcw-design/p-656e8773.entry.js +1 -0
- package/dist/ptcw-design/{p-e6a272d9.entry.js → p-684ef1e5.entry.js} +1 -1
- package/dist/ptcw-design/p-6f9f55b3.entry.js +1 -0
- package/dist/ptcw-design/{p-d73cc053.entry.js → p-7235425a.entry.js} +1 -1
- package/dist/ptcw-design/{p-baff4d44.entry.js → p-74097f89.entry.js} +1 -1
- package/dist/ptcw-design/{p-0b515839.entry.js → p-81bcde85.entry.js} +1 -1
- package/dist/ptcw-design/{p-e90fbbad.entry.js → p-8b480abd.entry.js} +1 -1
- package/dist/ptcw-design/{p-68ed2afe.entry.js → p-9354b7fd.entry.js} +1 -1
- package/dist/ptcw-design/{p-8e42a22d.entry.js → p-9f01419b.entry.js} +1 -1
- package/dist/ptcw-design/{p-14b7693f.entry.js → p-abadbe5b.entry.js} +1 -1
- package/dist/ptcw-design/{p-d66debb3.entry.js → p-ac766cb3.entry.js} +1 -1
- package/dist/ptcw-design/{p-0c4918f5.entry.js → p-af831c13.entry.js} +1 -1
- package/dist/ptcw-design/{p-75390f63.entry.js → p-b684ca9d.entry.js} +1 -1
- package/dist/ptcw-design/{p-845d10b5.entry.js → p-c09a8288.entry.js} +1 -1
- package/dist/ptcw-design/{p-b647f7a1.entry.js → p-c3022c48.entry.js} +1 -1
- package/dist/ptcw-design/{p-539639ff.entry.js → p-c6431ebc.entry.js} +1 -1
- package/dist/ptcw-design/{p-fe40421e.entry.js → p-cb0e3ec2.entry.js} +1 -1
- package/dist/ptcw-design/{p-cc677723.entry.js → p-ce121fb3.entry.js} +1 -1
- package/dist/ptcw-design/p-d0fb9bfb.entry.js +1 -0
- package/dist/ptcw-design/{p-ce285530.entry.js → p-d4af87ae.entry.js} +3 -3
- package/dist/ptcw-design/{p-7cc9255e.entry.js → p-d77531c8.entry.js} +1 -1
- package/dist/ptcw-design/{p-297a14cb.entry.js → p-d875f96d.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf56d5a3.entry.js → p-e01173ca.entry.js} +1 -1
- package/dist/ptcw-design/{p-9d3a7f36.entry.js → p-e03d7060.entry.js} +1 -1
- package/dist/ptcw-design/{p-008307a6.entry.js → p-e93714e9.entry.js} +1 -1
- package/dist/ptcw-design/{p-a2c7df64.entry.js → p-ee91170c.entry.js} +1 -1
- package/dist/ptcw-design/p-f57f32ee.entry.js +1 -0
- package/dist/ptcw-design/{p-e94353a4.entry.js → p-fa4a494e.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +9 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/homepage-clickable-tab/homepage-clickable-tab.d.ts +1 -1
- package/dist/types/components/icon-asset/icon-asset.d.ts +6 -6
- package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +2 -2
- package/dist/types/components/jumbotron-sub-menu/jumbotron-sub-menu.d.ts +1 -1
- package/dist/types/components/list-item/list-item.d.ts +2 -2
- package/dist/types/components/max-width-container/max-width-container.d.ts +1 -1
- package/dist/types/components/organism-bundles/blog-detail-content/blog-detail-content.d.ts +1 -1
- package/dist/types/components/organism-bundles/blog-detail-layout/blog-detail-layout.d.ts +1 -1
- package/dist/types/components/organism-bundles/blogs-search-section/blogs-search-section.d.ts +1 -1
- package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.d.ts +2 -2
- package/dist/types/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +2 -2
- package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.d.ts +1 -1
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +1 -1
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +2 -2
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +3 -3
- package/dist/types/components/ptc-badge/ptc-badge.d.ts +1 -1
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +2 -2
- package/dist/types/components/ptc-button/ptc-button.d.ts +12 -12
- package/dist/types/components/ptc-card/ptc-card.d.ts +3 -3
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +2 -2
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +3 -3
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -2
- package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +1 -1
- package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +2 -2
- package/dist/types/components/ptc-checkbox-group/ptc-checkbox-group.d.ts +1 -1
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +1 -1
- package/dist/types/components/ptc-container/ptc-container.d.ts +4 -4
- package/dist/types/components/ptc-date/ptc-date.d.ts +2 -2
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +2 -2
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +3 -3
- package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +1 -1
- package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +5 -5
- package/dist/types/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.d.ts +2 -2
- package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +1 -1
- package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +1 -1
- package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +1 -1
- package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +4 -4
- package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +3 -3
- package/dist/types/components/ptc-form-radio-button/ptc-form-radio-button.d.ts +1 -1
- package/dist/types/components/ptc-form-radio-group/ptc-form-radio-group.d.ts +1 -1
- package/dist/types/components/ptc-hero/ptc-hero.d.ts +2 -2
- package/dist/types/components/ptc-homepage-video-background/ptc-homepage-video-background.d.ts +1 -1
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +1 -1
- package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +9 -9
- package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +4 -4
- package/dist/types/components/ptc-img/ptc-img.d.ts +7 -7
- package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +2 -2
- package/dist/types/components/ptc-inline-cta/ptc-inline-cta.d.ts +1 -1
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +1 -1
- package/dist/types/components/ptc-link/ptc-link.d.ts +4 -4
- package/dist/types/components/ptc-list/ptc-list.d.ts +1 -1
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +2 -2
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +2 -2
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +5 -5
- package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +3 -3
- package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +1 -1
- package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +11 -11
- package/dist/types/components/ptc-news/ptc-news.d.ts +6 -6
- package/dist/types/components/ptc-office-location-card/ptc-office-location-card.d.ts +1 -1
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +3 -3
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +2 -2
- package/dist/types/components/ptc-para/ptc-para.d.ts +13 -13
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +7 -7
- package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +4 -4
- package/dist/types/components/ptc-preloader/ptc-preloader.d.ts +5 -0
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +1 -1
- package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +2 -2
- package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +4 -4
- package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +2 -2
- package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +2 -2
- package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +9 -9
- package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +1 -1
- package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +10 -10
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +1 -1
- package/dist/types/components/ptc-quantity-counter/ptc-quantity-counter.d.ts +1 -1
- package/dist/types/components/ptc-quote/ptc-quote.d.ts +1 -1
- package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +23 -23
- package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +1 -1
- package/dist/types/components/ptc-readmore-new/ptc-readmore-new.d.ts +1 -1
- package/dist/types/components/ptc-readmore-v2/ptc-readmore-v2.d.ts +1 -1
- package/dist/types/components/ptc-readmore-v3/ptc-readmore-v3.d.ts +1 -1
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +1 -1
- package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +2 -2
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +2 -2
- package/dist/types/components/ptc-select/ptc-select.d.ts +3 -3
- package/dist/types/components/ptc-seo-title/ptc-seo-title.d.ts +10 -10
- package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +1 -1
- package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +8 -8
- package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +11 -11
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +3 -3
- package/dist/types/components/ptc-span/ptc-span.d.ts +3 -3
- package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +1 -1
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +1 -1
- package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +3 -3
- package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +1 -1
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +19 -19
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +3 -3
- package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +2 -2
- package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +1 -1
- package/dist/types/components/ptc-title/ptc-title.d.ts +15 -15
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +6 -6
- package/dist/types/components/ptc-tooltip-v2/ptc-tooltip-v2.d.ts +3 -3
- package/dist/types/components/ptc-tooltip-v3/ptc-tooltip-v3.d.ts +7 -7
- package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +1 -1
- package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +2 -2
- package/dist/types/components/ptc-video-embed/ptc-video-embed.d.ts +1 -1
- package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -1
- package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +1 -1
- package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +1 -1
- package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +6 -6
- package/dist/types/components/tab-header/tab-header.d.ts +3 -3
- package/dist/types/components.d.ts +1107 -590
- package/package.json +4 -2
- package/readme.md +1 -1
- package/dist/ptcw-design/p-02822616.entry.js +0 -1
- package/dist/ptcw-design/p-1eb40265.entry.js +0 -1
- package/dist/ptcw-design/p-2aa19c11.entry.js +0 -1
- package/dist/ptcw-design/p-3dd0ded9.entry.js +0 -1
- package/dist/ptcw-design/p-410f98c6.entry.js +0 -1
- package/dist/ptcw-design/p-7588b226.entry.js +0 -1
- package/dist/ptcw-design/p-a59c9cdc.entry.js +0 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { Host, h } from
|
|
2
|
-
import { getSeoTagType } from
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { getSeoTagType } from "../../utils/utils";
|
|
3
3
|
export class PtcTitle {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.isPlmHub = false;
|
|
6
|
-
this.type =
|
|
6
|
+
this.type = "h2";
|
|
7
7
|
this.textAlign = undefined;
|
|
8
|
-
this.upperline =
|
|
8
|
+
this.upperline = "dotted";
|
|
9
9
|
this.titleShadow = undefined;
|
|
10
|
-
this.titleColor =
|
|
10
|
+
this.titleColor = "gray";
|
|
11
11
|
this.titleMargin = undefined;
|
|
12
12
|
this.titleWeight = undefined;
|
|
13
13
|
this.titleSize = undefined;
|
|
14
|
-
this.titleHeight =
|
|
14
|
+
this.titleHeight = "densest";
|
|
15
15
|
this.styles = undefined;
|
|
16
16
|
this.ellipsisLineCutoff = undefined;
|
|
17
|
-
this.titleDisplay =
|
|
17
|
+
this.titleDisplay = "inline-block";
|
|
18
18
|
this.seoCompatibilityMode = false;
|
|
19
|
-
this.tooltipZIndex =
|
|
20
|
-
this.tooltipPosition =
|
|
21
|
-
this.tooltipTheme =
|
|
19
|
+
this.tooltipZIndex = "auto";
|
|
20
|
+
this.tooltipPosition = "bottom";
|
|
21
|
+
this.tooltipTheme = "standard";
|
|
22
22
|
this.enableTooltip = false;
|
|
23
23
|
this.maxChars = undefined;
|
|
24
24
|
this.maxLines = undefined;
|
|
25
25
|
this.hideTooltipOnMobile = false;
|
|
26
26
|
this.ismob = undefined;
|
|
27
|
-
this.tooltipWidth =
|
|
27
|
+
this.tooltipWidth = "default";
|
|
28
28
|
}
|
|
29
29
|
// Tooltip Properties ends
|
|
30
30
|
componentDidLoad() {
|
|
31
31
|
if (this.hideTooltipOnMobile) {
|
|
32
|
-
this.el.classList.add(
|
|
32
|
+
this.el.classList.add("hide-tooltip-on-mobile");
|
|
33
33
|
}
|
|
34
|
-
this.el.addEventListener(
|
|
35
|
-
this.el.addEventListener(
|
|
34
|
+
this.el.addEventListener("mouseenter", () => this.toggleTitleTooltip(true));
|
|
35
|
+
this.el.addEventListener("mouseleave", () => this.toggleTitleTooltip(false));
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
if (this.seoCompatibilityMode) {
|
|
@@ -46,33 +46,38 @@ export class PtcTitle {
|
|
|
46
46
|
if (!this.enableTooltip)
|
|
47
47
|
return;
|
|
48
48
|
const trimmedContent = content.trim();
|
|
49
|
-
const shouldTruncate =
|
|
50
|
-
return shouldTruncate
|
|
49
|
+
const shouldTruncate = trimmedContent.length > this.maxChars && !this.maxLines;
|
|
50
|
+
return shouldTruncate
|
|
51
|
+
? trimmedContent.slice(0, this.maxChars) + "..."
|
|
52
|
+
: trimmedContent;
|
|
51
53
|
}
|
|
52
54
|
toggleTitleTooltip(show) {
|
|
53
55
|
var _a;
|
|
54
|
-
const tooltipClass =
|
|
56
|
+
const tooltipClass = "tooltip-box";
|
|
55
57
|
const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
|
|
56
|
-
const text = this.el.querySelectorAll(
|
|
58
|
+
const text = this.el.querySelectorAll(".line-clamp-title");
|
|
57
59
|
let maxLinesShowCheck = false;
|
|
58
60
|
if (text) {
|
|
59
|
-
text.forEach(t => {
|
|
61
|
+
text.forEach((t) => {
|
|
60
62
|
maxLinesShowCheck = t.scrollHeight > t.clientHeight;
|
|
61
63
|
});
|
|
62
64
|
}
|
|
63
|
-
const ifCharExceeds = this.tooltipText &&
|
|
65
|
+
const ifCharExceeds = this.tooltipText &&
|
|
66
|
+
this.tooltipText.length > this.maxChars &&
|
|
67
|
+
!this.maxLines;
|
|
64
68
|
const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
|
|
65
69
|
if (show && this.enableTooltip) {
|
|
66
|
-
if ((!existingTooltip && ifCharExceeds) ||
|
|
67
|
-
|
|
70
|
+
if ((!existingTooltip && ifCharExceeds) ||
|
|
71
|
+
(!existingTooltip && ifLinesExceeds)) {
|
|
72
|
+
const tooltipMarkup = document.createElement("div");
|
|
68
73
|
tooltipMarkup.className = tooltipClass;
|
|
69
74
|
tooltipMarkup.innerText = this.tooltipText;
|
|
70
75
|
tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
|
|
71
76
|
tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
|
|
72
77
|
if (this.hideTooltipOnMobile) {
|
|
73
|
-
tooltipMarkup.classList.add(
|
|
78
|
+
tooltipMarkup.classList.add("hide-tooltip-mobile");
|
|
74
79
|
}
|
|
75
|
-
(_a = this.el.querySelector(
|
|
80
|
+
(_a = this.el.querySelector("div")) === null || _a === void 0 ? void 0 : _a.appendChild(tooltipMarkup);
|
|
76
81
|
}
|
|
77
82
|
}
|
|
78
83
|
else {
|
|
@@ -87,34 +92,36 @@ export class PtcTitle {
|
|
|
87
92
|
// added for tooltip
|
|
88
93
|
this.tooltipText = html.trim();
|
|
89
94
|
let eleText = firstChild && firstChild.innerText;
|
|
90
|
-
html =
|
|
95
|
+
html = this.enableTooltip ? this.getSortedText(eleText) : html;
|
|
91
96
|
if (this.el == firstChild) {
|
|
92
|
-
this.el.innerHTML =
|
|
97
|
+
this.el.innerHTML = "";
|
|
93
98
|
}
|
|
94
|
-
return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, { innerHTML: html, style: cutOff, class: this.maxLines && this.maxLines > 0
|
|
99
|
+
return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, { innerHTML: html, style: cutOff, class: this.maxLines && this.maxLines > 0
|
|
100
|
+
? "line-clamp-title"
|
|
101
|
+
: "" }))));
|
|
95
102
|
}
|
|
96
103
|
standardRender() {
|
|
97
104
|
const classMap = this.getCssClassMap();
|
|
98
105
|
const cutOff = this.getLineCuttoff();
|
|
99
106
|
let TagType;
|
|
100
107
|
switch (this.type) {
|
|
101
|
-
case
|
|
102
|
-
TagType =
|
|
108
|
+
case "h1":
|
|
109
|
+
TagType = "h1";
|
|
103
110
|
break;
|
|
104
|
-
case
|
|
105
|
-
TagType =
|
|
111
|
+
case "h3":
|
|
112
|
+
TagType = "h3";
|
|
106
113
|
break;
|
|
107
|
-
case
|
|
108
|
-
TagType =
|
|
114
|
+
case "h4":
|
|
115
|
+
TagType = "h4";
|
|
109
116
|
break;
|
|
110
|
-
case
|
|
111
|
-
TagType =
|
|
117
|
+
case "h5":
|
|
118
|
+
TagType = "h5";
|
|
112
119
|
break;
|
|
113
|
-
case
|
|
114
|
-
TagType =
|
|
120
|
+
case "h6":
|
|
121
|
+
TagType = "h6";
|
|
115
122
|
break;
|
|
116
123
|
default:
|
|
117
|
-
TagType =
|
|
124
|
+
TagType = "h2";
|
|
118
125
|
}
|
|
119
126
|
return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, { style: cutOff }, h("slot", null)))));
|
|
120
127
|
}
|
|
@@ -122,20 +129,22 @@ export class PtcTitle {
|
|
|
122
129
|
return {
|
|
123
130
|
[this.textAlign]: !!this.textAlign ? true : false,
|
|
124
131
|
[this.upperline]: true,
|
|
125
|
-
[this.isPlmHub ?
|
|
132
|
+
[this.isPlmHub ? "is-plm-hub" : "is-standard"]: true,
|
|
126
133
|
[this.titleMargin]: !!this.titleMargin ? true : false,
|
|
127
134
|
[this.titleShadow]: !!this.titleShadow ? true : false,
|
|
128
135
|
[this.titleWeight]: !!this.titleWeight ? true : false,
|
|
129
136
|
[this.titleSize]: !!this.titleSize ? true : false,
|
|
130
137
|
[this.titleHeight]: !!this.titleHeight ? true : false,
|
|
131
138
|
[this.titleColor]: !!this.titleColor ? true : false,
|
|
132
|
-
[
|
|
139
|
+
["ellipsis-boxing"]: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
|
|
133
140
|
[this.titleDisplay]: !!this.titleDisplay ? true : false,
|
|
134
141
|
};
|
|
135
142
|
}
|
|
136
143
|
getLineCuttoff() {
|
|
137
|
-
const lineClamp = this.ellipsisLineCutoff > 0
|
|
138
|
-
|
|
144
|
+
const lineClamp = this.ellipsisLineCutoff > 0
|
|
145
|
+
? this.ellipsisLineCutoff
|
|
146
|
+
: this.maxLines;
|
|
147
|
+
return lineClamp > 0 ? { "-webkit-line-clamp": `${lineClamp}` } : {};
|
|
139
148
|
}
|
|
140
149
|
static get is() { return "ptc-title"; }
|
|
141
150
|
static get encapsulation() { return "scoped"; }
|
|
@@ -173,7 +182,7 @@ export class PtcTitle {
|
|
|
173
182
|
"type": "string",
|
|
174
183
|
"mutable": false,
|
|
175
184
|
"complexType": {
|
|
176
|
-
"original": "
|
|
185
|
+
"original": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
|
|
177
186
|
"resolved": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
|
|
178
187
|
"references": {}
|
|
179
188
|
},
|
|
@@ -185,13 +194,13 @@ export class PtcTitle {
|
|
|
185
194
|
},
|
|
186
195
|
"attribute": "type",
|
|
187
196
|
"reflect": false,
|
|
188
|
-
"defaultValue": "
|
|
197
|
+
"defaultValue": "\"h2\""
|
|
189
198
|
},
|
|
190
199
|
"textAlign": {
|
|
191
200
|
"type": "string",
|
|
192
201
|
"mutable": false,
|
|
193
202
|
"complexType": {
|
|
194
|
-
"original": "
|
|
203
|
+
"original": "\"left\" | \"center\" | \"right\" | \"inherit\"",
|
|
195
204
|
"resolved": "\"center\" | \"inherit\" | \"left\" | \"right\"",
|
|
196
205
|
"references": {}
|
|
197
206
|
},
|
|
@@ -208,7 +217,7 @@ export class PtcTitle {
|
|
|
208
217
|
"type": "string",
|
|
209
218
|
"mutable": false,
|
|
210
219
|
"complexType": {
|
|
211
|
-
"original": "
|
|
220
|
+
"original": "\"dotted\" | \"solid\" | \"no-upperline\"",
|
|
212
221
|
"resolved": "\"dotted\" | \"no-upperline\" | \"solid\"",
|
|
213
222
|
"references": {}
|
|
214
223
|
},
|
|
@@ -220,13 +229,13 @@ export class PtcTitle {
|
|
|
220
229
|
},
|
|
221
230
|
"attribute": "upperline",
|
|
222
231
|
"reflect": false,
|
|
223
|
-
"defaultValue": "
|
|
232
|
+
"defaultValue": "\"dotted\""
|
|
224
233
|
},
|
|
225
234
|
"titleShadow": {
|
|
226
235
|
"type": "string",
|
|
227
236
|
"mutable": false,
|
|
228
237
|
"complexType": {
|
|
229
|
-
"original": "
|
|
238
|
+
"original": "\"blue\" | \"red\" | \"green\" | \"orange\" | \"slate-grey\"",
|
|
230
239
|
"resolved": "\"blue\" | \"green\" | \"orange\" | \"red\" | \"slate-grey\"",
|
|
231
240
|
"references": {}
|
|
232
241
|
},
|
|
@@ -243,7 +252,7 @@ export class PtcTitle {
|
|
|
243
252
|
"type": "string",
|
|
244
253
|
"mutable": false,
|
|
245
254
|
"complexType": {
|
|
246
|
-
"original": "
|
|
255
|
+
"original": "\"black\" | \"white\" | \"gray\" | \"gray-darker\" | \"gray-1\"",
|
|
247
256
|
"resolved": "\"black\" | \"gray\" | \"gray-1\" | \"gray-darker\" | \"white\"",
|
|
248
257
|
"references": {}
|
|
249
258
|
},
|
|
@@ -255,13 +264,13 @@ export class PtcTitle {
|
|
|
255
264
|
},
|
|
256
265
|
"attribute": "title-color",
|
|
257
266
|
"reflect": false,
|
|
258
|
-
"defaultValue": "
|
|
267
|
+
"defaultValue": "\"gray\""
|
|
259
268
|
},
|
|
260
269
|
"titleMargin": {
|
|
261
270
|
"type": "string",
|
|
262
271
|
"mutable": false,
|
|
263
272
|
"complexType": {
|
|
264
|
-
"original": "|
|
|
273
|
+
"original": "| \"margin-flush\"\r\n\t\t| \"margin-top-3\"\r\n\t\t| \"margin-top-4\"\r\n\t\t| \"margin-top-5\"\r\n\t\t| \"margin-top-6\"\r\n\t\t| \"margin-bottom-3\"\r\n\t\t| \"margin-bottom-4\"\r\n\t\t| \"margin-bottom-5\"\r\n\t\t| \"margin-bottom-6\"\r\n\t\t| \"margin-3\"\r\n\t\t| \"margin-4\"\r\n\t\t| \"margin-5\"\r\n\t\t| \"margin-6\"\r\n\t\t| \"margin-9\"",
|
|
265
274
|
"resolved": "\"margin-3\" | \"margin-4\" | \"margin-5\" | \"margin-6\" | \"margin-9\" | \"margin-bottom-3\" | \"margin-bottom-4\" | \"margin-bottom-5\" | \"margin-bottom-6\" | \"margin-flush\" | \"margin-top-3\" | \"margin-top-4\" | \"margin-top-5\" | \"margin-top-6\"",
|
|
266
275
|
"references": {}
|
|
267
276
|
},
|
|
@@ -278,7 +287,7 @@ export class PtcTitle {
|
|
|
278
287
|
"type": "string",
|
|
279
288
|
"mutable": false,
|
|
280
289
|
"complexType": {
|
|
281
|
-
"original": "
|
|
290
|
+
"original": "\"w-3\" | \"w-4\" | \"w-5\" | \"w-6\" | \"w-7\" | \"w-8\" | \"w-9\"",
|
|
282
291
|
"resolved": "\"w-3\" | \"w-4\" | \"w-5\" | \"w-6\" | \"w-7\" | \"w-8\" | \"w-9\"",
|
|
283
292
|
"references": {}
|
|
284
293
|
},
|
|
@@ -295,7 +304,7 @@ export class PtcTitle {
|
|
|
295
304
|
"type": "string",
|
|
296
305
|
"mutable": false,
|
|
297
306
|
"complexType": {
|
|
298
|
-
"original": "|
|
|
307
|
+
"original": "| \"xx-small\"\r\n\t\t| \"x-small\"\r\n\t\t| \"small\"\r\n\t\t| \"medium\"\r\n\t\t| \"large\"\r\n\t\t| \"x-large\"\r\n\t\t| \"xx-large\"\r\n\t\t| \"xxx-large\"\r\n\t\t| \"xxxx-large\"\r\n\t\t| \"xxxx-large-allbp\"\r\n\t\t| \"xx-large-allbp\"\r\n\t\t| \"xxxx-large-desktop\"\r\n\t\t| \"xxxx-large-store\"",
|
|
299
308
|
"resolved": "\"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-large-allbp\" | \"xx-small\" | \"xxx-large\" | \"xxxx-large\" | \"xxxx-large-allbp\" | \"xxxx-large-desktop\" | \"xxxx-large-store\"",
|
|
300
309
|
"references": {}
|
|
301
310
|
},
|
|
@@ -312,7 +321,7 @@ export class PtcTitle {
|
|
|
312
321
|
"type": "string",
|
|
313
322
|
"mutable": false,
|
|
314
323
|
"complexType": {
|
|
315
|
-
"original": "
|
|
324
|
+
"original": "| \"densest\"\r\n\t\t| \"denser\"\r\n\t\t| \"dense\"\r\n\t\t| \"normal\"\r\n\t\t| \"loose\"\r\n\t\t| \"looser\"\r\n\t\t| \"paragraph\"",
|
|
316
325
|
"resolved": "\"dense\" | \"denser\" | \"densest\" | \"loose\" | \"looser\" | \"normal\" | \"paragraph\"",
|
|
317
326
|
"references": {}
|
|
318
327
|
},
|
|
@@ -324,7 +333,7 @@ export class PtcTitle {
|
|
|
324
333
|
},
|
|
325
334
|
"attribute": "title-height",
|
|
326
335
|
"reflect": false,
|
|
327
|
-
"defaultValue": "
|
|
336
|
+
"defaultValue": "\"densest\""
|
|
328
337
|
},
|
|
329
338
|
"styles": {
|
|
330
339
|
"type": "string",
|
|
@@ -364,7 +373,7 @@ export class PtcTitle {
|
|
|
364
373
|
"type": "string",
|
|
365
374
|
"mutable": false,
|
|
366
375
|
"complexType": {
|
|
367
|
-
"original": "
|
|
376
|
+
"original": "\"block\" | \"inline-block\"",
|
|
368
377
|
"resolved": "\"block\" | \"inline-block\"",
|
|
369
378
|
"references": {}
|
|
370
379
|
},
|
|
@@ -376,7 +385,7 @@ export class PtcTitle {
|
|
|
376
385
|
},
|
|
377
386
|
"attribute": "title-display",
|
|
378
387
|
"reflect": false,
|
|
379
|
-
"defaultValue": "
|
|
388
|
+
"defaultValue": "\"inline-block\""
|
|
380
389
|
},
|
|
381
390
|
"seoCompatibilityMode": {
|
|
382
391
|
"type": "boolean",
|
|
@@ -412,13 +421,13 @@ export class PtcTitle {
|
|
|
412
421
|
},
|
|
413
422
|
"attribute": "tooltip-z-index",
|
|
414
423
|
"reflect": false,
|
|
415
|
-
"defaultValue": "
|
|
424
|
+
"defaultValue": "\"auto\""
|
|
416
425
|
},
|
|
417
426
|
"tooltipPosition": {
|
|
418
427
|
"type": "string",
|
|
419
428
|
"mutable": false,
|
|
420
429
|
"complexType": {
|
|
421
|
-
"original": "
|
|
430
|
+
"original": "| \"left\"\r\n\t\t| \"right\"\r\n\t\t| \"bottom\"\r\n\t\t| \"bottom-right\"\r\n\t\t| \"top\"",
|
|
422
431
|
"resolved": "\"bottom\" | \"bottom-right\" | \"left\" | \"right\" | \"top\"",
|
|
423
432
|
"references": {}
|
|
424
433
|
},
|
|
@@ -430,13 +439,13 @@ export class PtcTitle {
|
|
|
430
439
|
},
|
|
431
440
|
"attribute": "tooltip-position",
|
|
432
441
|
"reflect": false,
|
|
433
|
-
"defaultValue": "
|
|
442
|
+
"defaultValue": "\"bottom\""
|
|
434
443
|
},
|
|
435
444
|
"tooltipTheme": {
|
|
436
445
|
"type": "string",
|
|
437
446
|
"mutable": false,
|
|
438
447
|
"complexType": {
|
|
439
|
-
"original": "
|
|
448
|
+
"original": "\"standard\" | \"danger\"",
|
|
440
449
|
"resolved": "\"danger\" | \"standard\"",
|
|
441
450
|
"references": {}
|
|
442
451
|
},
|
|
@@ -448,7 +457,7 @@ export class PtcTitle {
|
|
|
448
457
|
},
|
|
449
458
|
"attribute": "tooltip-theme",
|
|
450
459
|
"reflect": false,
|
|
451
|
-
"defaultValue": "
|
|
460
|
+
"defaultValue": "\"standard\""
|
|
452
461
|
},
|
|
453
462
|
"enableTooltip": {
|
|
454
463
|
"type": "boolean",
|
|
@@ -524,7 +533,7 @@ export class PtcTitle {
|
|
|
524
533
|
"type": "string",
|
|
525
534
|
"mutable": false,
|
|
526
535
|
"complexType": {
|
|
527
|
-
"original": "
|
|
536
|
+
"original": "\"full-width\" | \"default\"",
|
|
528
537
|
"resolved": "\"default\" | \"full-width\"",
|
|
529
538
|
"references": {}
|
|
530
539
|
},
|
|
@@ -536,7 +545,7 @@ export class PtcTitle {
|
|
|
536
545
|
},
|
|
537
546
|
"attribute": "tooltip-width",
|
|
538
547
|
"reflect": false,
|
|
539
|
-
"defaultValue": "
|
|
548
|
+
"defaultValue": "\"default\""
|
|
540
549
|
}
|
|
541
550
|
};
|
|
542
551
|
}
|
|
@@ -9,8 +9,10 @@ ul,
|
|
|
9
9
|
li,
|
|
10
10
|
ptc-subnav,
|
|
11
11
|
ptc-tab-list,
|
|
12
|
-
ptc-link,
|
|
13
|
-
|
|
12
|
+
ptc-link,
|
|
13
|
+
ptc-square-card,
|
|
14
|
+
.hyphenate-text,
|
|
15
|
+
ptc-footer {
|
|
14
16
|
word-break: break-word;
|
|
15
17
|
hyphens: manual;
|
|
16
18
|
-webkit-hyphens: manual;
|
|
@@ -29,8 +31,10 @@ ul,
|
|
|
29
31
|
li,
|
|
30
32
|
ptc-subnav,
|
|
31
33
|
ptc-tab-list,
|
|
32
|
-
ptc-link,
|
|
33
|
-
|
|
34
|
+
ptc-link,
|
|
35
|
+
ptc-square-card,
|
|
36
|
+
.hyphenate-text,
|
|
37
|
+
ptc-footer {
|
|
34
38
|
hyphens: auto;
|
|
35
39
|
-webkit-hyphenate-limit-before: 3;
|
|
36
40
|
/* For Safari */
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { h, Host } from
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class PtcTooltip {
|
|
3
3
|
constructor() {
|
|
4
|
-
this.textDisplay =
|
|
4
|
+
this.textDisplay = "inline";
|
|
5
5
|
this.maxLength = 45;
|
|
6
6
|
this.textLines = undefined;
|
|
7
|
-
this.description =
|
|
8
|
-
this.zIndex =
|
|
9
|
-
this.position =
|
|
7
|
+
this.description = "This is a tooltip text placeholder";
|
|
8
|
+
this.zIndex = "z-auto";
|
|
9
|
+
this.position = "bottom";
|
|
10
10
|
this.styles = undefined;
|
|
11
|
-
this.mode =
|
|
12
|
-
this.theme =
|
|
13
|
-
this.width =
|
|
11
|
+
this.mode = "text-only";
|
|
12
|
+
this.theme = "standard";
|
|
13
|
+
this.width = "default";
|
|
14
14
|
this.hideOnMobile = false;
|
|
15
15
|
this.isSmallScreen = undefined;
|
|
16
16
|
this.noOverflow = false;
|
|
17
17
|
}
|
|
18
18
|
addTruncatedClass() {
|
|
19
19
|
const appRoot = this.el;
|
|
20
|
-
const text = appRoot.querySelectorAll(
|
|
21
|
-
text.forEach(t => {
|
|
22
|
-
t.classList[t.scrollHeight > t.clientHeight ?
|
|
20
|
+
const text = appRoot.querySelectorAll(".ellipsis-by-line-boxing");
|
|
21
|
+
text.forEach((t) => {
|
|
22
|
+
t.classList[t.scrollHeight > t.clientHeight ? "add" : "remove"]("truncated");
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
windowResize() {
|
|
@@ -34,7 +34,7 @@ export class PtcTooltip {
|
|
|
34
34
|
for (const element of Array.from(allTabHeaders)) {
|
|
35
35
|
let tabHeader = element;
|
|
36
36
|
if (tabHeader) {
|
|
37
|
-
tabHeader.addEventListener(
|
|
37
|
+
tabHeader.addEventListener("click", () => {
|
|
38
38
|
setTimeout(() => {
|
|
39
39
|
this.addTruncatedClass();
|
|
40
40
|
}, 100);
|
|
@@ -50,18 +50,18 @@ export class PtcTooltip {
|
|
|
50
50
|
setTimeout(() => {
|
|
51
51
|
this.addTruncatedClass();
|
|
52
52
|
}, 1000);
|
|
53
|
-
this.enableAddTruncatedClass(
|
|
54
|
-
this.enableAddTruncatedClass(
|
|
55
|
-
this.enableAddTruncatedClass(
|
|
56
|
-
document.addEventListener(
|
|
57
|
-
if (document.readyState ===
|
|
53
|
+
this.enableAddTruncatedClass("tab-header");
|
|
54
|
+
this.enableAddTruncatedClass("ptc-ellipsis-dropdown");
|
|
55
|
+
this.enableAddTruncatedClass("ptc-product-card");
|
|
56
|
+
document.addEventListener("readystatechange", () => {
|
|
57
|
+
if (document.readyState === "complete") {
|
|
58
58
|
this.addTruncatedClass();
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
if (this.mode ==
|
|
64
|
-
return (h(Host, { class: this.textDisplay }, this.styles && h("style", null, this.styles), h("div", { class: "wrapper-content" }, h("div", { class: "slot-content" }, h("slot", null)), h("div", { class: `tooltip ${this.position} ${this.theme}` }, h("slot", { name: "description" }), this.description && h("span", { innerHTML: this.description })))));
|
|
63
|
+
if (this.mode == "wrapper") {
|
|
64
|
+
return (h(Host, { class: this.textDisplay }, this.styles && h("style", null, this.styles), h("div", { class: "wrapper-content" }, h("div", { class: "slot-content" }, h("slot", null)), h("div", { class: `tooltip ${this.position} ${this.theme}` }, h("slot", { name: "description" }), this.description && (h("span", { innerHTML: this.description }))))));
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
67
67
|
const classMap = this.getCssClassMap();
|
|
@@ -70,24 +70,30 @@ export class PtcTooltip {
|
|
|
70
70
|
if (this.description.length > this.maxLength) {
|
|
71
71
|
//const lastSpace = truncatedText.lastIndexOf(' ');
|
|
72
72
|
//truncatedText = truncatedText.substring(0, lastSpace);
|
|
73
|
-
truncatedText +=
|
|
73
|
+
truncatedText += "... ";
|
|
74
74
|
}
|
|
75
|
-
return (h(Host, { class: {
|
|
75
|
+
return (h(Host, { class: {
|
|
76
|
+
[this.textDisplay]: true,
|
|
77
|
+
[this.width]: true,
|
|
78
|
+
"no-overflow": this.noOverflow,
|
|
79
|
+
} }, this.styles && h("style", null, this.styles), this.hideOnMobile && this.isSmallScreen ? (h("div", null, this.description)) : (h("div", { class: "text-content" }, this.textLines > 0 && !!this.textLines ? (h("div", { class: "ellipsis-by-line-boxing", style: cutOff, innerHTML: this.description })) : (h("div", { class: classMap }, truncatedText)), h("div", { class: `tooltip ${this.position} ${this.theme}`, innerHTML: this.description })))));
|
|
76
80
|
}
|
|
77
81
|
}
|
|
78
82
|
getCssClassMap() {
|
|
79
83
|
return {
|
|
80
84
|
// ['ellipsis-by-line-boxing']: this.textLines && this.textLines > 0,
|
|
81
|
-
[
|
|
85
|
+
["text-ellipsis"]: true,
|
|
82
86
|
[this.zIndex]: this.description.length > this.maxLength ? true : false,
|
|
83
|
-
[
|
|
87
|
+
["truncated"]: this.description.length > this.maxLength && !this.textLines
|
|
88
|
+
? true
|
|
89
|
+
: false,
|
|
84
90
|
};
|
|
85
91
|
}
|
|
86
92
|
getLineCuttoff() {
|
|
87
93
|
let result;
|
|
88
94
|
if (this.textLines && this.textLines > 0) {
|
|
89
95
|
result = {
|
|
90
|
-
[
|
|
96
|
+
["-webkit-line-clamp"]: `${this.textLines}`,
|
|
91
97
|
};
|
|
92
98
|
}
|
|
93
99
|
return result;
|
|
@@ -110,7 +116,7 @@ export class PtcTooltip {
|
|
|
110
116
|
"type": "string",
|
|
111
117
|
"mutable": false,
|
|
112
118
|
"complexType": {
|
|
113
|
-
"original": "
|
|
119
|
+
"original": "\"inline\" | \"block\"",
|
|
114
120
|
"resolved": "\"block\" | \"inline\"",
|
|
115
121
|
"references": {}
|
|
116
122
|
},
|
|
@@ -122,7 +128,7 @@ export class PtcTooltip {
|
|
|
122
128
|
},
|
|
123
129
|
"attribute": "text-display",
|
|
124
130
|
"reflect": false,
|
|
125
|
-
"defaultValue": "
|
|
131
|
+
"defaultValue": "\"inline\""
|
|
126
132
|
},
|
|
127
133
|
"maxLength": {
|
|
128
134
|
"type": "number",
|
|
@@ -178,13 +184,13 @@ export class PtcTooltip {
|
|
|
178
184
|
},
|
|
179
185
|
"attribute": "description",
|
|
180
186
|
"reflect": false,
|
|
181
|
-
"defaultValue": "
|
|
187
|
+
"defaultValue": "\"This is a tooltip text placeholder\""
|
|
182
188
|
},
|
|
183
189
|
"zIndex": {
|
|
184
190
|
"type": "string",
|
|
185
191
|
"mutable": false,
|
|
186
192
|
"complexType": {
|
|
187
|
-
"original": "
|
|
193
|
+
"original": "\"z-auto\" | \"z-1\" | \"z-2\" | \"z-3\" | \"z-999\"",
|
|
188
194
|
"resolved": "\"z-1\" | \"z-2\" | \"z-3\" | \"z-999\" | \"z-auto\"",
|
|
189
195
|
"references": {}
|
|
190
196
|
},
|
|
@@ -196,13 +202,13 @@ export class PtcTooltip {
|
|
|
196
202
|
},
|
|
197
203
|
"attribute": "z-index",
|
|
198
204
|
"reflect": false,
|
|
199
|
-
"defaultValue": "
|
|
205
|
+
"defaultValue": "\"z-auto\""
|
|
200
206
|
},
|
|
201
207
|
"position": {
|
|
202
208
|
"type": "string",
|
|
203
209
|
"mutable": false,
|
|
204
210
|
"complexType": {
|
|
205
|
-
"original": "
|
|
211
|
+
"original": "| \"left\"\r\n\t\t| \"right\"\r\n\t\t| \"bottom\"\r\n\t\t| \"bottom-right\"\r\n\t\t| \"top\"\r\n\t\t| \"side-left\"",
|
|
206
212
|
"resolved": "\"bottom\" | \"bottom-right\" | \"left\" | \"right\" | \"side-left\" | \"top\"",
|
|
207
213
|
"references": {}
|
|
208
214
|
},
|
|
@@ -214,7 +220,7 @@ export class PtcTooltip {
|
|
|
214
220
|
},
|
|
215
221
|
"attribute": "position",
|
|
216
222
|
"reflect": false,
|
|
217
|
-
"defaultValue": "
|
|
223
|
+
"defaultValue": "\"bottom\""
|
|
218
224
|
},
|
|
219
225
|
"styles": {
|
|
220
226
|
"type": "string",
|
|
@@ -237,7 +243,7 @@ export class PtcTooltip {
|
|
|
237
243
|
"type": "string",
|
|
238
244
|
"mutable": false,
|
|
239
245
|
"complexType": {
|
|
240
|
-
"original": "
|
|
246
|
+
"original": "\"wrapper\" | \"text-only\"",
|
|
241
247
|
"resolved": "\"text-only\" | \"wrapper\"",
|
|
242
248
|
"references": {}
|
|
243
249
|
},
|
|
@@ -249,13 +255,13 @@ export class PtcTooltip {
|
|
|
249
255
|
},
|
|
250
256
|
"attribute": "mode",
|
|
251
257
|
"reflect": false,
|
|
252
|
-
"defaultValue": "
|
|
258
|
+
"defaultValue": "\"text-only\""
|
|
253
259
|
},
|
|
254
260
|
"theme": {
|
|
255
261
|
"type": "string",
|
|
256
262
|
"mutable": false,
|
|
257
263
|
"complexType": {
|
|
258
|
-
"original": "
|
|
264
|
+
"original": "\"standard\" | \"danger\"",
|
|
259
265
|
"resolved": "\"danger\" | \"standard\"",
|
|
260
266
|
"references": {}
|
|
261
267
|
},
|
|
@@ -267,13 +273,13 @@ export class PtcTooltip {
|
|
|
267
273
|
},
|
|
268
274
|
"attribute": "theme",
|
|
269
275
|
"reflect": false,
|
|
270
|
-
"defaultValue": "
|
|
276
|
+
"defaultValue": "\"standard\""
|
|
271
277
|
},
|
|
272
278
|
"width": {
|
|
273
279
|
"type": "string",
|
|
274
280
|
"mutable": false,
|
|
275
281
|
"complexType": {
|
|
276
|
-
"original": "
|
|
282
|
+
"original": "\"full-width\" | \"default\"",
|
|
277
283
|
"resolved": "\"default\" | \"full-width\"",
|
|
278
284
|
"references": {}
|
|
279
285
|
},
|
|
@@ -285,7 +291,7 @@ export class PtcTooltip {
|
|
|
285
291
|
},
|
|
286
292
|
"attribute": "width",
|
|
287
293
|
"reflect": false,
|
|
288
|
-
"defaultValue": "
|
|
294
|
+
"defaultValue": "\"default\""
|
|
289
295
|
},
|
|
290
296
|
"hideOnMobile": {
|
|
291
297
|
"type": "boolean",
|