@ptcwebops/ptcw-design 6.3.38 → 6.3.40-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/academic-form-test.cjs.entry.js +24 -24
- package/dist/cjs/author-listing-example.cjs.entry.js +29 -31
- package/dist/cjs/blog-detail-content_2.cjs.entry.js +61 -66
- package/dist/cjs/blog-detail-layout.cjs.entry.js +12 -12
- package/dist/cjs/blogs-search-section.cjs.entry.js +48 -56
- package/dist/cjs/bundle-example.cjs.entry.js +2 -3
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +10 -23
- package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
- package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +3 -3
- package/dist/cjs/embedded-form.cjs.entry.js +27 -27
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +46 -53
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +4 -4
- package/dist/cjs/featured-events-slider-example.cjs.entry.js +6 -6
- package/dist/cjs/featured-list.cjs.entry.js +22 -30
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +16 -19
- package/dist/cjs/footer-form.cjs.entry.js +9 -9
- package/dist/cjs/homepage-clickable-tab.cjs.entry.js +8 -23
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +17 -28
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +21 -42
- package/dist/cjs/icon-asset.cjs.entry.js +18 -18
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +4 -4
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-mune.cjs.entry.js +3 -3
- package/dist/cjs/list-item.cjs.entry.js +8 -12
- package/dist/cjs/loader.cjs.js +1 -3
- package/dist/cjs/max-width-container.cjs.entry.js +4 -4
- package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
- package/dist/cjs/most-popular-news.cjs.entry.js +2 -2
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +17 -25
- package/dist/cjs/ptc-accordion.cjs.entry.js +10 -13
- package/dist/cjs/ptc-announcement.cjs.entry.js +15 -17
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +27 -29
- package/dist/cjs/ptc-background-video.cjs.entry.js +12 -14
- package/dist/cjs/ptc-badge.cjs.entry.js +3 -3
- package/dist/cjs/ptc-bio-card.cjs.entry.js +9 -13
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +8 -14
- package/dist/cjs/ptc-brightcov-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +87 -0
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +31 -57
- package/dist/cjs/ptc-card-content.cjs.entry.js +25 -35
- package/dist/cjs/ptc-card_2.cjs.entry.js +63 -116
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +40 -44
- package/dist/cjs/ptc-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/ptc-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +74 -87
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +57 -88
- package/dist/cjs/ptc-container.cjs.entry.js +10 -10
- package/dist/cjs/ptc-countdown.cjs.entry.js +75 -72
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +26 -63
- package/dist/cjs/ptc-date.cjs.entry.js +4 -4
- package/dist/cjs/ptc-dropdown.cjs.entry.js +19 -22
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +10 -15
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +27 -40
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +21 -30
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +7 -14
- package/dist/cjs/ptc-featured-list.cjs.entry.js +11 -9
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +68 -136
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +16 -128
- package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +32 -57
- package/dist/cjs/ptc-footer.cjs.entry.js +10 -12
- package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +891 -161
- package/dist/cjs/ptc-form-radio-button.cjs.entry.js +6 -6
- package/dist/cjs/ptc-form-radio-group.cjs.entry.js +7 -7
- package/dist/cjs/ptc-form.cjs.entry.js +35 -95
- package/dist/cjs/ptc-hero.cjs.entry.js +2 -5
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +2 -4
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +42 -69
- package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +4 -4
- package/dist/cjs/ptc-icon-card.cjs.entry.js +2 -4
- package/dist/cjs/ptc-icon-component.cjs.entry.js +11 -17
- package/dist/cjs/ptc-icon-list.cjs.entry.js +8 -7
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +27 -42
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +4 -6
- package/dist/cjs/ptc-img.cjs.entry.js +27 -31
- package/dist/cjs/ptc-info-tile.cjs.entry.js +6 -7
- package/dist/cjs/ptc-inline-cta.cjs.entry.js +31 -40
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +56 -88
- package/dist/cjs/ptc-link.cjs.entry.js +25 -29
- package/dist/cjs/ptc-list.cjs.entry.js +9 -9
- package/dist/cjs/ptc-media-card.cjs.entry.js +13 -31
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +5 -5
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +16 -22
- package/dist/cjs/ptc-modal-quiz.cjs.entry.js +20 -41
- package/dist/cjs/ptc-nav-card.cjs.entry.js +12 -6
- package/dist/cjs/ptc-nav-link.cjs.entry.js +6 -6
- package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +10 -10
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +18 -36
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +7 -4
- package/dist/cjs/ptc-news.cjs.entry.js +1 -1
- package/dist/cjs/ptc-office-location-card.cjs.entry.js +7 -7
- package/dist/cjs/ptc-office-locations.cjs.entry.js +71 -104
- package/dist/cjs/ptc-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ptc-para.cjs.entry.js +127 -0
- package/dist/cjs/ptc-picture.cjs.entry.js +162 -0
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +5 -9
- package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
- package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +107 -146
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +8 -10
- package/dist/cjs/ptc-product-card.cjs.entry.js +15 -14
- package/dist/cjs/ptc-product-category.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +8 -10
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +5 -5
- package/dist/cjs/ptc-product-list.cjs.entry.js +56 -68
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +38 -39
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +1 -2
- package/dist/cjs/ptc-quantity-counter.cjs.entry.js +11 -13
- package/dist/cjs/ptc-quote.cjs.entry.js +4 -6
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +7 -7
- package/dist/cjs/ptc-readmore-new.cjs.entry.js +19 -17
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +22 -22
- package/dist/cjs/ptc-readmore.cjs.entry.js +42 -48
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +71 -84
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +24 -25
- package/dist/cjs/ptc-search-field.cjs.entry.js +18 -29
- package/dist/cjs/ptc-seo-title.cjs.entry.js +8 -8
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +32 -34
- package/dist/cjs/ptc-skeleton.cjs.entry.js +3 -8
- package/dist/cjs/ptc-slit-card.cjs.entry.js +6 -10
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +2 -12
- package/dist/cjs/ptc-social-icons.cjs.entry.js +3 -3
- package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-span.cjs.entry.js +3 -3
- package/dist/cjs/ptc-square-card.cjs.entry.js +1 -5
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +1 -12
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +13 -13
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +7 -8
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav.cjs.entry.js +4 -4
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +3 -5
- package/dist/cjs/ptc-tab-list.cjs.entry.js +57 -65
- package/dist/cjs/ptc-tab.cjs.entry.js +2 -2
- package/dist/cjs/ptc-tabs.cjs.entry.js +6 -6
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +11 -22
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +10 -52
- package/dist/cjs/ptc-title.cjs.entry.js +152 -0
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +22 -28
- package/dist/cjs/ptc-tooltip-v3.cjs.entry.js +19 -24
- package/dist/cjs/ptc-tooltip.cjs.entry.js +23 -29
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-content.cjs.entry.js +2 -1
- package/dist/cjs/ptc-value-led-intro.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-layout.cjs.entry.js +48 -76
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +6 -9
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-video-embed.cjs.entry.js +19 -19
- package/dist/cjs/ptc-white-paper.cjs.entry.js +19 -28
- package/dist/cjs/ptcw-design.cjs.js +1 -3
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +15 -20
- package/dist/cjs/sequential-bundle.cjs.entry.js +1 -1
- package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +6 -6
- package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +6 -6
- package/dist/cjs/tab-content.cjs.entry.js +8 -10
- package/dist/cjs/tab-header.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/dropdown-item/dropdown-item.css +4 -8
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.css +4 -8
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +6 -6
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +12 -16
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +9 -24
- package/dist/collection/components/icon-asset/icon-asset.css +10 -26
- package/dist/collection/components/icon-asset/icon-asset.js +29 -29
- package/dist/collection/components/icon-asset/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +13 -109
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +5 -4
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +4 -8
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +2 -2
- package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.css +8 -16
- package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.js +4 -4
- package/dist/collection/components/list-item/list-item.css +4 -8
- package/dist/collection/components/list-item/list-item.js +14 -18
- package/dist/collection/components/max-width-container/max-width-container.js +7 -7
- package/dist/collection/components/my-component/my-component.js +2 -2
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +30 -32
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +6 -10
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.js +49 -58
- package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.css +4 -8
- package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.js +14 -14
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.css +4 -8
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +50 -58
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +3 -4
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +138 -147
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +22 -30
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +12 -25
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +5 -9
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +49 -56
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +10 -14
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +5 -5
- package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +4 -8
- package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.js +8 -8
- package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.css +5 -9
- package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.js +24 -24
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.css +6 -10
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +27 -27
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.css +6 -10
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +9 -9
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
- package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +36 -96
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +4 -8
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +26 -37
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +8 -12
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +22 -43
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.css +5 -9
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +6 -6
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.css +4 -8
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.js +1 -1
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +6 -10
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.js +5 -5
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.css +4 -8
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +4 -4
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +18 -23
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.js +7 -7
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +29 -54
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.js +7 -7
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +4 -8
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +21 -29
- package/dist/collection/components/ptc-accordion/ptc-accordion.css +9 -14
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +15 -18
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +4 -8
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +20 -22
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +4 -8
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +28 -30
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +4 -8
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +20 -22
- package/dist/collection/components/ptc-badge/ptc-badge.css +5 -10
- package/dist/collection/components/ptc-badge/ptc-badge.js +6 -6
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +14 -111
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +9 -13
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +4 -8
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +12 -18
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.css +4 -8
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +2 -2
- package/dist/collection/components/ptc-button/ptc-button.css +6 -110
- package/dist/collection/components/ptc-button/ptc-button.js +32 -80
- package/dist/collection/components/ptc-card/ptc-card.css +5 -11
- package/dist/collection/components/ptc-card/ptc-card.js +34 -100
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +4 -8
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +14 -20
- package/dist/collection/components/ptc-card-content/ptc-card-content.css +4 -8
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +28 -38
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +5 -9
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +21 -41
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +14 -109
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +41 -45
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +4 -8
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +15 -15
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.css +4 -8
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.js +7 -7
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.css +4 -8
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +2 -2
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +13 -46
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +61 -92
- package/dist/collection/components/ptc-container/ptc-container.css +4 -8
- package/dist/collection/components/ptc-container/ptc-container.js +19 -19
- package/dist/collection/components/ptc-countdown/ptc-countdown.css +4 -8
- package/dist/collection/components/ptc-countdown/ptc-countdown.js +86 -83
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.css +4 -8
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +32 -68
- package/dist/collection/components/ptc-date/ptc-date.css +4 -8
- package/dist/collection/components/ptc-date/ptc-date.js +9 -9
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +4 -8
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +22 -25
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +12 -23
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +15 -20
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +4 -8
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +29 -42
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +5 -9
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +22 -32
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +7 -11
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +9 -16
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.css +4 -8
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +2 -5
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +4 -8
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +15 -15
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.css +4 -8
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +2 -2
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +13 -109
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +11 -9
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +4 -20
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +14 -49
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +32 -149
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +17 -129
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +4 -8
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +18 -18
- package/dist/collection/components/ptc-footer/ptc-footer-v2.css +13 -26
- package/dist/collection/components/ptc-footer/ptc-footer.js +11 -13
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +6 -10
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +17 -21
- package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.css +4 -8
- package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.js +7 -7
- package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.css +4 -8
- package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.js +8 -8
- package/dist/collection/components/ptc-hero/ptc-hero.css +4 -8
- package/dist/collection/components/ptc-hero/ptc-hero.js +5 -8
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.css +5 -10
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +1 -1
- package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.css +4 -8
- package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.js +4 -6
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +8 -16
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +45 -72
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +4 -8
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +4 -6
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +4 -8
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +14 -19
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +4 -8
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +14 -13
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +4 -8
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +28 -43
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +4 -8
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +5 -7
- package/dist/collection/components/ptc-img/ptc-img.css +4 -8
- package/dist/collection/components/ptc-img/ptc-img.js +39 -43
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +8 -16
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +7 -26
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +5 -9
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.js +33 -42
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +14 -110
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +59 -91
- package/dist/collection/components/ptc-link/ptc-link.css +9 -16
- package/dist/collection/components/ptc-link/ptc-link.js +33 -37
- package/dist/collection/components/ptc-list/ptc-list.css +4 -8
- package/dist/collection/components/ptc-list/ptc-list.js +12 -12
- package/dist/collection/components/ptc-media-card/ptc-media-card.css +5 -9
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +19 -37
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +4 -8
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +10 -10
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +6 -12
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +21 -27
- package/dist/collection/components/ptc-modal/ptc-modal.css +8 -8
- package/dist/collection/components/ptc-modal/ptc-modal.js +82 -95
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +4 -8
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +21 -42
- package/dist/collection/components/ptc-multi-select/ptc-multi-select.css +7 -11
- package/dist/collection/components/ptc-multi-select/ptc-multi-select.js +50 -105
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +4 -8
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +15 -9
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.css +4 -8
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +1 -1
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +6 -10
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +10 -10
- package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.css +4 -8
- package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.js +2 -2
- package/dist/collection/components/ptc-news/ptc-news.css +4 -8
- package/dist/collection/components/ptc-news/ptc-news.js +2 -2
- package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.css +4 -8
- package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.js +12 -12
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.css +4 -8
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +81 -114
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +8 -12
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +6 -6
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +12 -25
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +20 -45
- package/dist/collection/components/ptc-para/ptc-para.css +7 -8
- package/dist/collection/components/ptc-para/ptc-para.js +50 -61
- package/dist/collection/components/ptc-picture/ptc-picture.css +4 -8
- package/dist/collection/components/ptc-picture/ptc-picture.js +49 -55
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +13 -109
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +2 -2
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.css +4 -8
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.js +6 -10
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +21 -136
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +37 -42
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +20 -8
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +28 -2
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +4 -8
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +4 -4
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.css +4 -8
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +4 -4
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +4 -8
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +4 -4
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +6 -10
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +109 -149
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +4 -8
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +10 -12
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +13 -109
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +15 -14
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +13 -109
- package/dist/collection/components/ptc-product-category/ptc-product-category.js +2 -2
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +4 -8
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +9 -11
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +13 -109
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +7 -7
- package/dist/collection/components/ptc-product-list/ptc-product-list.css +4 -8
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +57 -69
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +4 -8
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +40 -41
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.css +4 -8
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +2 -3
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +4 -8
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.js +14 -16
- package/dist/collection/components/ptc-quote/ptc-quote.css +5 -10
- package/dist/collection/components/ptc-quote/ptc-quote.js +8 -10
- package/dist/collection/components/ptc-readmore/ptc-readmore.css +4 -8
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +56 -62
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +13 -109
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +7 -7
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.css +4 -8
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.js +20 -18
- package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.css +4 -8
- package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.js +14 -10
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +13 -109
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.js +24 -24
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +4 -9
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +73 -107
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +2 -2
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.css +4 -8
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +28 -29
- package/dist/collection/components/ptc-search-field/ptc-search-field.css +4 -8
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +22 -32
- package/dist/collection/components/ptc-select/ptc-select.css +8 -12
- package/dist/collection/components/ptc-select/ptc-select.js +294 -300
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.css +4 -8
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +24 -24
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +4 -8
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +38 -40
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.css +4 -8
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.js +1 -1
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +4 -8
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +5 -10
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +4 -8
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +9 -13
- package/dist/collection/components/ptc-social-icons/ptc-social-icons.css +4 -8
- package/dist/collection/components/ptc-social-icons/ptc-social-icons.js +10 -10
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +4 -8
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +12 -22
- package/dist/collection/components/ptc-social-share/ptc-social-share.css +4 -8
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +35 -54
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +21 -21
- package/dist/collection/components/ptc-span/ptc-span.css +4 -8
- package/dist/collection/components/ptc-span/ptc-span.js +10 -10
- package/dist/collection/components/ptc-square-card/ptc-square-card.css +4 -8
- package/dist/collection/components/ptc-square-card/ptc-square-card.js +3 -7
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.css +4 -8
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +2 -13
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.css +4 -8
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +14 -14
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.css +4 -8
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +10 -11
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +4 -8
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +12 -14
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +4 -8
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +59 -67
- package/dist/collection/components/ptc-tabs/ptc-tab.js +3 -3
- package/dist/collection/components/ptc-tabs/ptc-tabs.css +4 -8
- package/dist/collection/components/ptc-tabs/ptc-tabs.js +7 -7
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +4 -8
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +16 -27
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +11 -80
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +107 -177
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +6 -16
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +7 -7
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +4 -23
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +12 -78
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.css +4 -8
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +28 -42
- package/dist/collection/components/ptc-title/ptc-title.css +4 -8
- package/dist/collection/components/ptc-title/ptc-title.js +64 -73
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +4 -8
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +37 -43
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +13 -109
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.js +28 -34
- package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.css +4 -8
- package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.js +27 -32
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.css +4 -8
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +3 -3
- package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.css +4 -8
- package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.js +2 -2
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.css +4 -8
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +3 -2
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.css +4 -8
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +1 -1
- package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.css +4 -8
- package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.js +2 -2
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.css +4 -8
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +49 -77
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +13 -109
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +6 -9
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +4 -8
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +4 -4
- package/dist/collection/components/ptc-video-embed/ptc-video-embed.css +4 -8
- package/dist/collection/components/ptc-video-embed/ptc-video-embed.js +23 -23
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +20 -126
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +19 -28
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +4 -8
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +8 -8
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +4 -8
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +19 -37
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +4 -8
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +8 -5
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +4 -8
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +6 -6
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.css +4 -8
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +2 -2
- package/dist/collection/components/tab-content/tab-content.css +5 -18
- package/dist/collection/components/tab-content/tab-content.js +9 -11
- package/dist/collection/components/tab-header/tab-header.css +5 -10
- package/dist/collection/components/tab-header/tab-header.js +6 -6
- package/dist/collection/stories/Checkbox.stories.js +45 -13
- package/dist/collection/stories/Hero.stories.js +107 -22
- package/dist/collection/stories/Select.stories.js +68 -17
- package/dist/collection/stories/SocialShare.stories.js +51 -67
- package/dist/collection/stories/TextCopyWithBackground.stories.js +220 -78
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
- package/dist/collection/utils/validation-messages.js +2 -49
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +3292 -4483
- package/dist/esm/academic-form-test.entry.js +24 -24
- package/dist/esm/author-listing-example.entry.js +29 -31
- package/dist/esm/blog-detail-content_2.entry.js +62 -67
- package/dist/esm/blog-detail-layout.entry.js +13 -13
- package/dist/esm/blogs-search-section.entry.js +49 -57
- package/dist/esm/bundle-example.entry.js +2 -3
- package/dist/esm/bundle-jumbotron-example.entry.js +10 -23
- package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +3 -3
- package/dist/esm/embedded-form.entry.js +27 -27
- package/dist/esm/event-jumbotron-example.entry.js +46 -53
- package/dist/esm/event-podcast-slider-example.entry.js +4 -4
- package/dist/esm/featured-events-slider-example.entry.js +6 -6
- package/dist/esm/featured-list.entry.js +22 -30
- package/dist/esm/fl-tab-content_3.entry.js +16 -19
- package/dist/esm/footer-form.entry.js +9 -9
- package/dist/esm/homepage-clickable-tab.entry.js +8 -23
- package/dist/esm/homepage-jumbotron.entry.js +18 -29
- package/dist/esm/homepage-toggled-content.entry.js +22 -43
- package/dist/esm/icon-asset.entry.js +18 -18
- package/dist/esm/innovator-toggle-container.entry.js +4 -4
- package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/jumbotron-sub-mune.entry.js +3 -3
- package/dist/esm/list-item.entry.js +8 -12
- package/dist/esm/loader.js +1 -3
- package/dist/esm/max-width-container.entry.js +4 -4
- package/dist/esm/modal-form-example.entry.js +90 -0
- package/dist/esm/most-popular-news.entry.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +18 -26
- package/dist/esm/ptc-accordion.entry.js +10 -13
- package/dist/esm/ptc-announcement.entry.js +15 -17
- package/dist/esm/ptc-back-to-top.entry.js +27 -29
- package/dist/esm/ptc-background-video.entry.js +13 -15
- package/dist/esm/ptc-badge.entry.js +3 -3
- package/dist/esm/ptc-bio-card.entry.js +9 -13
- package/dist/esm/ptc-breadcrumb.entry.js +8 -14
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +83 -0
- package/dist/esm/ptc-card-bottom_2.entry.js +31 -57
- package/dist/esm/ptc-card-content.entry.js +25 -35
- package/dist/esm/ptc-card_2.entry.js +63 -116
- package/dist/esm/ptc-case-studies-slider.entry.js +40 -44
- package/dist/esm/ptc-checkbox-group.entry.js +4 -4
- package/dist/esm/ptc-checkbox.entry.js +12 -12
- package/dist/esm/ptc-close-icon_2.entry.js +74 -87
- package/dist/esm/ptc-collapse-list.entry.js +58 -89
- package/dist/esm/ptc-container.entry.js +10 -10
- package/dist/esm/ptc-countdown.entry.js +75 -72
- package/dist/esm/ptc-data-lookup.entry.js +26 -63
- package/dist/esm/ptc-date.entry.js +4 -4
- package/dist/esm/ptc-dropdown.entry.js +19 -22
- package/dist/esm/ptc-dynamic-card.entry.js +10 -15
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +27 -40
- package/dist/esm/ptc-embedded-quiz.entry.js +21 -30
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +7 -14
- package/dist/esm/ptc-featured-list.entry.js +11 -9
- package/dist/esm/ptc-filter-dropdown_4.entry.js +68 -136
- package/dist/esm/ptc-filter-level-theater.entry.js +16 -128
- package/dist/esm/ptc-filter-tag_2.entry.js +32 -57
- package/dist/esm/ptc-footer.entry.js +10 -12
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +890 -162
- package/dist/esm/ptc-form-radio-button.entry.js +6 -6
- package/dist/esm/ptc-form-radio-group.entry.js +7 -7
- package/dist/esm/ptc-form.entry.js +35 -95
- package/dist/esm/ptc-hero.entry.js +2 -5
- package/dist/esm/ptc-homepage-image-feature.entry.js +3 -5
- package/dist/esm/ptc-homepage-video-background.entry.js +43 -70
- package/dist/esm/ptc-icon-card-slider-example.entry.js +4 -4
- package/dist/esm/ptc-icon-card.entry.js +3 -5
- package/dist/esm/ptc-icon-component.entry.js +11 -17
- package/dist/esm/ptc-icon-list.entry.js +8 -7
- package/dist/esm/ptc-icon-minimize.entry.js +27 -42
- package/dist/esm/ptc-image-download-strip.entry.js +4 -6
- package/dist/esm/ptc-img.entry.js +28 -32
- package/dist/esm/ptc-info-tile.entry.js +6 -7
- package/dist/esm/ptc-inline-cta.entry.js +31 -40
- package/dist/esm/ptc-jumbotron.entry.js +56 -88
- package/dist/esm/ptc-link.entry.js +26 -30
- package/dist/esm/ptc-list.entry.js +9 -9
- package/dist/esm/ptc-media-card.entry.js +14 -32
- package/dist/esm/ptc-minimized-nav.entry.js +5 -5
- package/dist/esm/ptc-mobile-select.entry.js +16 -22
- package/dist/esm/ptc-modal-quiz.entry.js +20 -41
- package/dist/esm/ptc-nav-card.entry.js +12 -6
- package/dist/esm/ptc-nav-link.entry.js +6 -6
- package/dist/esm/ptc-nav-skip-to-content.entry.js +10 -10
- package/dist/esm/ptc-nav-slider.entry.js +18 -36
- package/dist/esm/ptc-nav-submenu.entry.js +7 -4
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +7 -7
- package/dist/esm/ptc-office-locations.entry.js +71 -104
- package/dist/esm/ptc-overlay.entry.js +2 -2
- package/dist/esm/ptc-para.entry.js +123 -0
- package/dist/esm/ptc-picture.entry.js +158 -0
- package/dist/esm/ptc-podcast-card.entry.js +2 -2
- package/dist/esm/ptc-preferance-center-form.entry.js +5 -9
- package/dist/esm/ptc-previous-url.entry.js +10 -2
- package/dist/esm/ptc-pricing-add-on-card.entry.js +3 -3
- package/dist/esm/ptc-pricing-add-on-section.entry.js +3 -3
- package/dist/esm/ptc-pricing-block.entry.js +3 -3
- package/dist/esm/ptc-pricing-packaging-table.entry.js +108 -147
- package/dist/esm/ptc-pricing-tabs.entry.js +9 -11
- package/dist/esm/ptc-product-card.entry.js +15 -14
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +8 -10
- package/dist/esm/ptc-product-highlight-card.entry.js +5 -5
- package/dist/esm/ptc-product-list.entry.js +56 -68
- package/dist/esm/ptc-product-sidebar.entry.js +38 -39
- package/dist/esm/ptc-progress-bar.entry.js +1 -2
- package/dist/esm/ptc-quantity-counter.entry.js +11 -13
- package/dist/esm/ptc-quote.entry.js +4 -6
- package/dist/esm/ptc-readmore-char.entry.js +7 -7
- package/dist/esm/ptc-readmore-new.entry.js +19 -17
- package/dist/esm/ptc-readmore-v3.entry.js +22 -22
- package/dist/esm/ptc-readmore.entry.js +42 -48
- package/dist/esm/ptc-related-card-rail.entry.js +71 -84
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-scroll-button.entry.js +24 -25
- package/dist/esm/ptc-search-field.entry.js +18 -29
- package/dist/esm/ptc-seo-title.entry.js +8 -8
- package/dist/esm/ptc-shopping-cart.entry.js +32 -34
- package/dist/esm/ptc-skeleton.entry.js +3 -8
- package/dist/esm/ptc-slit-card.entry.js +6 -10
- package/dist/esm/ptc-social-icons-footer.entry.js +3 -13
- package/dist/esm/ptc-social-icons.entry.js +3 -3
- package/dist/esm/ptc-spacer.entry.js +34 -0
- package/dist/esm/ptc-span.entry.js +3 -3
- package/dist/esm/ptc-square-card.entry.js +1 -5
- package/dist/esm/ptc-sticky-icons.entry.js +1 -12
- package/dist/esm/ptc-sticky-section.entry.js +13 -13
- package/dist/esm/ptc-sticky-title.entry.js +7 -8
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +4 -4
- package/dist/esm/ptc-svg-btn.entry.js +3 -5
- package/dist/esm/ptc-tab-list.entry.js +57 -65
- package/dist/esm/ptc-tab.entry.js +2 -2
- package/dist/esm/ptc-tabs.entry.js +6 -6
- package/dist/esm/ptc-text-copy-with-background.entry.js +12 -23
- package/dist/esm/ptc-theater-video-modal.entry.js +11 -53
- package/dist/esm/ptc-title.entry.js +148 -0
- package/dist/esm/ptc-tooltip-v2.entry.js +22 -28
- package/dist/esm/ptc-tooltip-v3.entry.js +19 -24
- package/dist/esm/ptc-tooltip.entry.js +23 -29
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptc-value-led-card.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +2 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +48 -76
- package/dist/esm/ptc-value-led-speed-bump.entry.js +6 -9
- package/dist/esm/ptc-value-prop-card.entry.js +2 -2
- package/dist/esm/ptc-video-embed.entry.js +19 -19
- package/dist/esm/ptc-white-paper.entry.js +19 -28
- package/dist/esm/ptcw-design.js +1 -3
- package/dist/esm/sequential-bundle-example.entry.js +15 -20
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +6 -6
- package/dist/esm/storefront-enhanced-product-list-example.entry.js +6 -6
- package/dist/esm/tab-content.entry.js +8 -10
- package/dist/esm/tab-header.entry.js +5 -5
- package/dist/esm/{utils-7c68b88a.js → utils-2f12c081.js} +1 -1
- package/dist/ptcw-design/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
- package/dist/ptcw-design/{p-e93714e9.entry.js → p-008307a6.entry.js} +1 -1
- package/dist/ptcw-design/p-0529caaa.entry.js +1 -0
- package/dist/ptcw-design/p-077839d5.entry.js +1 -0
- package/dist/ptcw-design/{p-f7c47857.entry.js → p-0b515839.entry.js} +1 -1
- package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
- package/dist/ptcw-design/p-0e5932f0.entry.js +1 -0
- package/dist/ptcw-design/p-0ef61b44.entry.js +1 -0
- package/dist/ptcw-design/{p-62abacfe.entry.js → p-14b7693f.entry.js} +1 -1
- package/dist/ptcw-design/p-1e3bf09c.entry.js +1 -0
- package/dist/ptcw-design/p-1eb40265.entry.js +1 -0
- package/dist/ptcw-design/p-21aa746d.entry.js +1 -0
- package/dist/ptcw-design/{p-673cfd2e.entry.js → p-257267e3.entry.js} +1 -1
- package/dist/ptcw-design/p-282b7d4e.entry.js +1 -0
- package/dist/ptcw-design/{p-cced4ea1.entry.js → p-297a14cb.entry.js} +1 -1
- package/dist/ptcw-design/p-2a20d4a6.entry.js +1 -0
- package/dist/ptcw-design/p-2cc7e2a8.entry.js +1 -0
- package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
- package/dist/ptcw-design/p-3dd0ded9.entry.js +1 -0
- package/dist/ptcw-design/{p-5ca42138.entry.js → p-3ed4a7ed.entry.js} +1 -1
- package/dist/ptcw-design/p-3ee2a531.entry.js +1 -0
- package/dist/ptcw-design/p-445329ed.entry.js +1 -0
- package/dist/ptcw-design/{p-16d47ac5.entry.js → p-45b1f3fc.entry.js} +1 -1
- package/dist/ptcw-design/{p-03062b58.entry.js → p-4702c233.entry.js} +1 -1
- package/dist/ptcw-design/{p-1c99b808.entry.js → p-4ca956c1.entry.js} +1 -1
- package/dist/ptcw-design/{p-55e344bc.entry.js → p-52e17d34.entry.js} +1 -1
- package/dist/ptcw-design/p-5311c6e1.entry.js +1 -0
- package/dist/ptcw-design/p-58e91cb8.entry.js +1 -0
- package/dist/ptcw-design/p-672a349f.js +336 -0
- package/dist/ptcw-design/{p-9354b7fd.entry.js → p-68ed2afe.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
- package/dist/ptcw-design/{p-9e4e21a4.entry.js → p-71360e29.entry.js} +1 -1
- package/dist/ptcw-design/p-75390f63.entry.js +1 -0
- package/dist/ptcw-design/{p-e813ea2b.entry.js → p-76dab076.entry.js} +1 -1
- package/dist/ptcw-design/p-799afee5.entry.js +1 -0
- package/dist/ptcw-design/p-7bdf1e64.entry.js +1 -0
- package/dist/ptcw-design/{p-d77531c8.entry.js → p-7cc9255e.entry.js} +1 -1
- package/dist/ptcw-design/p-7f9ad266.entry.js +1 -0
- package/dist/ptcw-design/{p-826c17e8.js → p-80122e26.js} +1 -1
- package/dist/ptcw-design/p-845d10b5.entry.js +1 -0
- package/dist/ptcw-design/{p-36ee2e12.entry.js → p-8521fdd4.entry.js} +1 -1
- package/dist/ptcw-design/p-85bdb2d5.entry.js +68 -0
- package/dist/ptcw-design/{p-a5ad0eff.entry.js → p-8c121480.entry.js} +1 -1
- package/dist/ptcw-design/{p-5bd8b4be.entry.js → p-8cea8943.entry.js} +1 -1
- package/dist/ptcw-design/{p-94be2c9a.entry.js → p-8e42a22d.entry.js} +1 -1
- package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
- package/dist/ptcw-design/{p-0252726c.entry.js → p-901c31b3.entry.js} +1 -1
- package/dist/ptcw-design/p-9501995f.entry.js +1 -0
- package/dist/ptcw-design/{p-884c335c.entry.js → p-99355e65.entry.js} +1 -1
- package/dist/ptcw-design/{p-e03d7060.entry.js → p-9d3a7f36.entry.js} +1 -1
- package/dist/ptcw-design/{p-2ba1ef9d.entry.js → p-9dbcfcee.entry.js} +1 -1
- package/dist/ptcw-design/p-9df7489b.entry.js +1 -0
- package/dist/ptcw-design/{p-ee91170c.entry.js → p-a2c7df64.entry.js} +1 -1
- package/dist/ptcw-design/p-a59c9cdc.entry.js +1 -0
- package/dist/ptcw-design/{p-24a6eefa.entry.js → p-a5fc048f.entry.js} +1 -1
- package/dist/ptcw-design/p-a8872ce3.entry.js +1 -0
- package/dist/ptcw-design/{p-1a9b9a53.entry.js → p-b647f7a1.entry.js} +1 -1
- package/dist/ptcw-design/p-b685a641.entry.js +1 -0
- package/dist/ptcw-design/{p-f5d8a3b1.entry.js → p-bab5bb88.entry.js} +1 -1
- package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
- package/dist/ptcw-design/{p-e01173ca.entry.js → p-bf56d5a3.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f4f97a6.entry.js → p-c8f68292.entry.js} +1 -1
- package/dist/ptcw-design/{p-ce121fb3.entry.js → p-cc677723.entry.js} +1 -1
- package/dist/ptcw-design/{p-80588c84.entry.js → p-d51438de.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac766cb3.entry.js → p-d66debb3.entry.js} +1 -1
- package/dist/ptcw-design/{p-2a3c8a30.entry.js → p-d73cc053.entry.js} +1 -1
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/{p-1bffeaed.entry.js → p-dfb400ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-2c8faf9a.entry.js → p-e43c30c9.entry.js} +1 -1
- package/dist/ptcw-design/p-e4eb925f.entry.js +1 -0
- package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
- package/dist/ptcw-design/{p-8b480abd.entry.js → p-e90fbbad.entry.js} +1 -1
- package/dist/ptcw-design/p-f1734520.entry.js +1 -0
- package/dist/ptcw-design/{p-0ddf2a09.entry.js → p-f867ebe6.entry.js} +1 -1
- package/dist/ptcw-design/{p-5e4c1edf.entry.js → p-fd87fcd5.entry.js} +1 -1
- package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
- package/dist/ptcw-design/p-fe907670.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -8
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/homepage-clickable-tab/homepage-clickable-tab.d.ts +1 -1
- package/dist/types/components/icon-asset/icon-asset.d.ts +6 -6
- package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +2 -2
- package/dist/types/components/jumbotron-sub-menu/jumbotron-sub-menu.d.ts +1 -1
- package/dist/types/components/list-item/list-item.d.ts +2 -2
- package/dist/types/components/max-width-container/max-width-container.d.ts +1 -1
- package/dist/types/components/organism-bundles/blog-detail-content/blog-detail-content.d.ts +1 -1
- package/dist/types/components/organism-bundles/blog-detail-layout/blog-detail-layout.d.ts +1 -1
- package/dist/types/components/organism-bundles/blogs-search-section/blogs-search-section.d.ts +1 -1
- package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.d.ts +2 -2
- package/dist/types/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +2 -2
- package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.d.ts +1 -1
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +1 -1
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +2 -2
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +3 -3
- package/dist/types/components/ptc-badge/ptc-badge.d.ts +1 -1
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +2 -2
- package/dist/types/components/ptc-button/ptc-button.d.ts +11 -12
- package/dist/types/components/ptc-card/ptc-card.d.ts +3 -4
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +2 -2
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +3 -3
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -2
- package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +1 -1
- package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +2 -2
- package/dist/types/components/ptc-checkbox-group/ptc-checkbox-group.d.ts +1 -1
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +1 -1
- package/dist/types/components/ptc-container/ptc-container.d.ts +4 -4
- package/dist/types/components/ptc-countdown/ptc-countdown.d.ts +1 -0
- package/dist/types/components/ptc-date/ptc-date.d.ts +2 -2
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +2 -2
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +3 -3
- package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +1 -1
- package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +5 -5
- package/dist/types/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.d.ts +2 -2
- package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +1 -1
- package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +2 -3
- package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +1 -1
- package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +4 -4
- package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +4 -4
- package/dist/types/components/ptc-form-radio-button/ptc-form-radio-button.d.ts +1 -1
- package/dist/types/components/ptc-form-radio-group/ptc-form-radio-group.d.ts +1 -1
- package/dist/types/components/ptc-hero/ptc-hero.d.ts +2 -2
- package/dist/types/components/ptc-homepage-video-background/ptc-homepage-video-background.d.ts +1 -1
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +1 -1
- package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +9 -9
- package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +4 -4
- package/dist/types/components/ptc-img/ptc-img.d.ts +5 -5
- package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +2 -3
- package/dist/types/components/ptc-inline-cta/ptc-inline-cta.d.ts +1 -1
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +1 -2
- package/dist/types/components/ptc-link/ptc-link.d.ts +4 -4
- package/dist/types/components/ptc-list/ptc-list.d.ts +1 -1
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +2 -2
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +2 -2
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +5 -5
- package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +3 -3
- package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +2 -2
- package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +11 -11
- package/dist/types/components/ptc-news/ptc-news.d.ts +6 -6
- package/dist/types/components/ptc-office-location-card/ptc-office-location-card.d.ts +1 -1
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +3 -3
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +2 -2
- package/dist/types/components/ptc-para/ptc-para.d.ts +13 -13
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +7 -7
- package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +4 -4
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +2 -2
- package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +4 -4
- package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +2 -2
- package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +2 -2
- package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +9 -9
- package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +1 -1
- package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +10 -10
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +1 -1
- package/dist/types/components/ptc-quantity-counter/ptc-quantity-counter.d.ts +1 -1
- package/dist/types/components/ptc-quote/ptc-quote.d.ts +1 -1
- package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +23 -23
- package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +1 -1
- package/dist/types/components/ptc-readmore-new/ptc-readmore-new.d.ts +1 -1
- package/dist/types/components/ptc-readmore-v2/ptc-readmore-v2.d.ts +1 -1
- package/dist/types/components/ptc-readmore-v3/ptc-readmore-v3.d.ts +1 -1
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +1 -4
- package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +2 -2
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +2 -2
- package/dist/types/components/ptc-select/ptc-select.d.ts +4 -5
- package/dist/types/components/ptc-seo-title/ptc-seo-title.d.ts +10 -10
- package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +1 -1
- package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +8 -8
- package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +11 -11
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +3 -3
- package/dist/types/components/ptc-span/ptc-span.d.ts +3 -3
- package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +1 -1
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +1 -1
- package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +3 -3
- package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +1 -1
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +19 -21
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +7 -7
- package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +2 -2
- package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +1 -6
- package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +1 -1
- package/dist/types/components/ptc-title/ptc-title.d.ts +15 -15
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +6 -6
- package/dist/types/components/ptc-tooltip-v2/ptc-tooltip-v2.d.ts +3 -3
- package/dist/types/components/ptc-tooltip-v3/ptc-tooltip-v3.d.ts +7 -7
- package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +1 -1
- package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +2 -2
- package/dist/types/components/ptc-video-embed/ptc-video-embed.d.ts +1 -1
- package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +2 -2
- package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +1 -1
- package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +1 -1
- package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +6 -6
- package/dist/types/components/tab-header/tab-header.d.ts +3 -3
- package/dist/types/components.d.ts +602 -1093
- package/dist/types/utils/validation-messages.d.ts +123 -4
- package/package.json +2 -4
- package/readme.md +5 -1
- package/dist/cjs/component-1b8ad4d2.js +0 -1819
- package/dist/cjs/global-418c14b4.js +0 -33
- package/dist/cjs/ptc-button_5.cjs.entry.js +0 -597
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
- package/dist/cjs/validation-messages-f1d373e7.js +0 -172
- package/dist/collection/global/global.js +0 -7
- package/dist/collection/stories/Breadcrumb2.stories.js +0 -62
- package/dist/collection/stories/BrightcovVideo.stories.js +0 -21
- package/dist/collection/stories/CheckboxGroup.stories.js +0 -27
- package/dist/collection/stories/CloseIcon.stories.js +0 -10
- package/dist/collection/stories/CollapseList.stories.js +0 -14
- package/dist/collection/stories/Countdown.stories.js +0 -10
- package/dist/collection/stories/DataLookup.stories.js +0 -21
- package/dist/collection/stories/EllipsisDropdown.stories.js +0 -14
- package/dist/collection/stories/HeroFooterCTA.stories.js +0 -21
- package/dist/collection/stories/MinimizedFooter.stories.js +0 -18
- package/dist/collection/stories/MultiSelect.stories.js +0 -10
- package/dist/collection/stories/ResponsiveWrapper.stories.js +0 -21
- package/dist/collection/stories/ScrollButton.stories.js +0 -14
- package/dist/collection/stories/SearchField.stories.js +0 -21
- package/dist/collection/stories/SvgBtn.stories.js +0 -36
- package/dist/collection/stories/TheaterVideo.stories.js +0 -21
- package/dist/collection/stories/VideoEmbed.stories.js +0 -10
- package/dist/collection/stories/backToTop.stories.js +0 -10
- package/dist/collection/stories/backgroundVideo.stories.js +0 -115
- package/dist/collection/stories/jumbotronSubMenu.stories.js +0 -14
- package/dist/collection/stories/organisms/ptc/Academic Form/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/All Products/preview.stories.js +0 -1616
- package/dist/collection/stories/organisms/ptc/Announcement/preview.stories.js +0 -58
- package/dist/collection/stories/organisms/ptc/Background Video/preview.stories.js +0 -58
- package/dist/collection/stories/organisms/ptc/Blog Author Listing/preview.stories.js +0 -32
- package/dist/collection/stories/organisms/ptc/Blog Content/preview.stories.js +0 -317
- package/dist/collection/stories/organisms/ptc/Blog Detail/preview.stories.js +0 -500
- package/dist/collection/stories/organisms/ptc/Blogs Listing Page/preview.stories.js +0 -368
- package/dist/collection/stories/organisms/ptc/Bureau New Dynamic/preview.stories.js +0 -54
- package/dist/collection/stories/organisms/ptc/Case Studies/preview.stories.js +0 -243
- package/dist/collection/stories/organisms/ptc/Case Studies Detail Page/preview.stories.js +0 -456
- package/dist/collection/stories/organisms/ptc/Case Studies Slider/preview.stories.js +0 -384
- package/dist/collection/stories/organisms/ptc/Case Studies Slider New/preview.stories.js +0 -171
- package/dist/collection/stories/organisms/ptc/Clq Modal Quiz/preview.stories.js +0 -100
- package/dist/collection/stories/organisms/ptc/Contact Free Trial Form/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/Countdown Example/preview.stories.js +0 -29
- package/dist/collection/stories/organisms/ptc/E Store Build Listing/preview.stories.js +0 -543
- package/dist/collection/stories/organisms/ptc/E Store Build Product/preview.stories.js +0 -427
- package/dist/collection/stories/organisms/ptc/Eloqua Library Contact Info/preview.stories.js +0 -168
- package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor PCenter/preview.stories.js +0 -60
- package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor Recipient Id/preview.stories.js +0 -59
- package/dist/collection/stories/organisms/ptc/Embedded Form/preview.stories.js +0 -23
- package/dist/collection/stories/organisms/ptc/Embedded Form Floating/preview.stories.js +0 -165
- package/dist/collection/stories/organisms/ptc/Event Detail/preview.stories.js +0 -16
- package/dist/collection/stories/organisms/ptc/Event Jumbotron/preview.stories.js +0 -470
- package/dist/collection/stories/organisms/ptc/Event Podcast Slider/preview.stories.js +0 -142
- package/dist/collection/stories/organisms/ptc/Events Listing Cards/preview.stories.js +0 -169
- package/dist/collection/stories/organisms/ptc/Events Listing Cards Horizontal/preview.stories.js +0 -169
- package/dist/collection/stories/organisms/ptc/Featured Events Slider/preview.stories.js +0 -165
- package/dist/collection/stories/organisms/ptc/Featured List/preview.stories.js +0 -16
- package/dist/collection/stories/organisms/ptc/Filter Level Theater/preview.stories.js +0 -18
- package/dist/collection/stories/organisms/ptc/Five Card Value Prop/preview.stories.js +0 -64
- package/dist/collection/stories/organisms/ptc/Footer Form/preview.stories.js +0 -18
- package/dist/collection/stories/organisms/ptc/Footer V2/preview.stories.js +0 -138
- package/dist/collection/stories/organisms/ptc/Footer V2 Cn/preview.stories.js +0 -146
- package/dist/collection/stories/organisms/ptc/Form Radio Button/preview.stories.js +0 -42
- package/dist/collection/stories/organisms/ptc/Framed Video 16 9/preview.stories.js +0 -31
- package/dist/collection/stories/organisms/ptc/Homepage Image Feature/preview.stories.js +0 -41
- package/dist/collection/stories/organisms/ptc/Homepage Jumbotron/preview.stories.js +0 -166
- package/dist/collection/stories/organisms/ptc/Homepage Toggled Content/preview.stories.js +0 -227
- package/dist/collection/stories/organisms/ptc/Hub Of Hubs/preview.stories.js +0 -417
- package/dist/collection/stories/organisms/ptc/Intro/preview.stories.js +0 -41
- package/dist/collection/stories/organisms/ptc/Jumbotron/preview.stories.js +0 -431
- package/dist/collection/stories/organisms/ptc/Jumbotron With Logos/preview.stories.js +0 -431
- package/dist/collection/stories/organisms/ptc/Large Bulleted List/preview.stories.js +0 -224
- package/dist/collection/stories/organisms/ptc/Large Bulleted List V2/preview.stories.js +0 -326
- package/dist/collection/stories/organisms/ptc/Listing Filter/preview.stories.js +0 -256
- package/dist/collection/stories/organisms/ptc/Main Nav Product Solutions Tab/preview.stories.js +0 -200
- package/dist/collection/stories/organisms/ptc/Mathcad Start Page/preview.stories.js +0 -100
- package/dist/collection/stories/organisms/ptc/Media Kit Speed Bump/preview.stories.js +0 -39
- package/dist/collection/stories/organisms/ptc/Most Popular News/preview.stories.js +0 -28
- package/dist/collection/stories/organisms/ptc/Mvc Form/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/New Buttons/preview.stories.js +0 -125
- package/dist/collection/stories/organisms/ptc/Partners Detail/preview.stories.js +0 -151
- package/dist/collection/stories/organisms/ptc/Partners Listing/preview.stories.js +0 -394
- package/dist/collection/stories/organisms/ptc/Pdf Portal/preview.stories.js +0 -140
- package/dist/collection/stories/organisms/ptc/Plm On Demand 1/preview.stories.js +0 -205
- package/dist/collection/stories/organisms/ptc/Plm On Demand 2/preview.stories.js +0 -180
- package/dist/collection/stories/organisms/ptc/Podcast List/preview.stories.js +0 -175
- package/dist/collection/stories/organisms/ptc/Preference Center/preview.stories.js +0 -235
- package/dist/collection/stories/organisms/ptc/Preference Center Exit Page/preview.stories.js +0 -85
- package/dist/collection/stories/organisms/ptc/Preference Center Update Email/preview.stories.js +0 -54
- package/dist/collection/stories/organisms/ptc/Preference Center Update Personal Info/preview.stories.js +0 -59
- package/dist/collection/stories/organisms/ptc/Pricing Packaging Table/preview.stories.js +0 -399
- package/dist/collection/stories/organisms/ptc/Pricing Packaging Table Subnav/preview.stories.js +0 -179
- package/dist/collection/stories/organisms/ptc/Ptc 3 Card Value Prop/preview.stories.js +0 -46
- package/dist/collection/stories/organisms/ptc/Ptc Bio Cards/preview.stories.js +0 -741
- package/dist/collection/stories/organisms/ptc/Ptc Creo Start Page/preview.stories.js +0 -111
- package/dist/collection/stories/organisms/ptc/Ptc Editorial/preview.stories.js +0 -84
- package/dist/collection/stories/organisms/ptc/Ptc Form/preview.stories.js +0 -18
- package/dist/collection/stories/organisms/ptc/Ptc Icon Card Slider/preview.stories.js +0 -121
- package/dist/collection/stories/organisms/ptc/Ptc Icon Component/preview.stories.js +0 -185
- package/dist/collection/stories/organisms/ptc/Ptc Icon Sprites/preview.stories.js +0 -150
- package/dist/collection/stories/organisms/ptc/Ptc Innovator Toggle/preview.stories.js +0 -421
- package/dist/collection/stories/organisms/ptc/Ptc Media Cards/preview.stories.js +0 -133
- package/dist/collection/stories/organisms/ptc/Ptc News Detail/preview.stories.js +0 -142
- package/dist/collection/stories/organisms/ptc/Ptc News Detail Alternate/preview.stories.js +0 -140
- package/dist/collection/stories/organisms/ptc/Ptc Offices/preview.stories.js +0 -405
- package/dist/collection/stories/organisms/ptc/Ptc Readmore V3/preview.stories.js +0 -71
- package/dist/collection/stories/organisms/ptc/Ptc Showcase Card/preview.stories.js +0 -177
- package/dist/collection/stories/organisms/ptc/Ptc Sticky Share Icons/preview.stories.js +0 -184
- package/dist/collection/stories/organisms/ptc/Ptc Subnav V1/preview.stories.js +0 -149
- package/dist/collection/stories/organisms/ptc/Ptc Subnav V2/preview.stories.js +0 -91
- package/dist/collection/stories/organisms/ptc/Ptc Text Copy With Background/preview.stories.js +0 -226
- package/dist/collection/stories/organisms/ptc/Ptc Title Demo/preview.stories.js +0 -24
- package/dist/collection/stories/organisms/ptc/Ptc Tooltip V3/preview.stories.js +0 -85
- package/dist/collection/stories/organisms/ptc/Ptc Two Column Two Media/preview.stories.js +0 -126
- package/dist/collection/stories/organisms/ptc/Read More/preview.stories.js +0 -278
- package/dist/collection/stories/organisms/ptc/Related Cards/preview.stories.js +0 -107
- package/dist/collection/stories/organisms/ptc/Resource Center/preview.stories.js +0 -149
- package/dist/collection/stories/organisms/ptc/Search Result/preview.stories.js +0 -62
- package/dist/collection/stories/organisms/ptc/Search Result News/preview.stories.js +0 -72
- package/dist/collection/stories/organisms/ptc/Searchbar Plm On Demand/preview.stories.js +0 -62
- package/dist/collection/stories/organisms/ptc/Seo Test/preview.stories.js +0 -215
- package/dist/collection/stories/organisms/ptc/Sequential Slider/preview.stories.js +0 -38
- package/dist/collection/stories/organisms/ptc/Sequential Slider Mobile/preview.stories.js +0 -90
- package/dist/collection/stories/organisms/ptc/Shortform Agileworx/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/Storefront Enhanced Product Listing/preview.stories.js +0 -132
- package/dist/collection/stories/organisms/ptc/Success Path Details Page/preview.stories.js +0 -236
- package/dist/collection/stories/organisms/ptc/Three Column Text/preview.stories.js +0 -75
- package/dist/collection/stories/organisms/ptc/Three Up Text Cards/preview.stories.js +0 -134
- package/dist/collection/stories/organisms/ptc/Two Column Media/preview.stories.js +0 -181
- package/dist/collection/stories/organisms/ptc/Two Column With Toggle/preview.stories.js +0 -549
- package/dist/collection/stories/organisms/ptc/Value Led Resource/preview.stories.js +0 -479
- package/dist/collection/stories/organisms/ptc/Volvo Three Col/preview.stories.js +0 -115
- package/dist/collection/stories/organisms/ptc/Vuforia Quiz/preview.stories.js +0 -26
- package/dist/collection/stories/organisms/ptc/White Paper/preview.stories.js +0 -174
- package/dist/collection/stories/ptcLink2.stories.js +0 -142
- package/dist/collection/utils/fef-logger.js +0 -23
- package/dist/esm/component-9beac35b.js +0 -1802
- package/dist/esm/global-1a5f28d5.js +0 -31
- package/dist/esm/ptc-button_5.entry.js +0 -589
- package/dist/esm/ptc-multi-select_2.entry.js +0 -725
- package/dist/esm/validation-messages-1379b825.js +0 -169
- package/dist/ptcw-design/p-009fbf1f.entry.js +0 -1
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-056748b3.entry.js +0 -1
- package/dist/ptcw-design/p-0efedf59.js +0 -1
- package/dist/ptcw-design/p-1f15239e.entry.js +0 -1
- package/dist/ptcw-design/p-2336e8d2.entry.js +0 -68
- package/dist/ptcw-design/p-2bfd8371.entry.js +0 -1
- package/dist/ptcw-design/p-2e6e2a9d.entry.js +0 -1
- package/dist/ptcw-design/p-31a131c0.entry.js +0 -1
- package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
- package/dist/ptcw-design/p-3b9fbbaa.js +0 -1
- package/dist/ptcw-design/p-467745cb.entry.js +0 -1
- package/dist/ptcw-design/p-4b41fe4e.entry.js +0 -1
- package/dist/ptcw-design/p-4d11aafc.entry.js +0 -1
- package/dist/ptcw-design/p-4f0b8ca2.entry.js +0 -1
- package/dist/ptcw-design/p-56a73429.entry.js +0 -1
- package/dist/ptcw-design/p-5dec76bd.entry.js +0 -1
- package/dist/ptcw-design/p-605b13a2.entry.js +0 -1
- package/dist/ptcw-design/p-63b3bcbe.entry.js +0 -1
- package/dist/ptcw-design/p-64026649.entry.js +0 -1
- package/dist/ptcw-design/p-656e8773.entry.js +0 -1
- package/dist/ptcw-design/p-66ecd7b9.entry.js +0 -1
- package/dist/ptcw-design/p-78370e3d.entry.js +0 -1
- package/dist/ptcw-design/p-9681188f.entry.js +0 -1
- package/dist/ptcw-design/p-98426799.js +0 -203
- package/dist/ptcw-design/p-98844b50.js +0 -134
- package/dist/ptcw-design/p-9dfb5c76.entry.js +0 -1
- package/dist/ptcw-design/p-a3868e6a.entry.js +0 -1
- package/dist/ptcw-design/p-a41c7e39.entry.js +0 -1
- package/dist/ptcw-design/p-abca6130.entry.js +0 -1
- package/dist/ptcw-design/p-b44f4fb1.entry.js +0 -1
- package/dist/ptcw-design/p-bbbfd2e5.entry.js +0 -1
- package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
- package/dist/ptcw-design/p-e3867512.entry.js +0 -1
- package/dist/ptcw-design/p-eaa0597a.entry.js +0 -1
- package/dist/ptcw-design/p-fe8392c4.entry.js +0 -1
- package/dist/types/global/global.d.ts +0 -4
- package/dist/types/utils/fef-logger.d.ts +0 -10
|
@@ -1,52 +1,51 @@
|
|
|
1
|
-
import { h, Host
|
|
2
|
-
import { MDCTextField } from
|
|
3
|
-
import intlTelInput from
|
|
4
|
-
import { ValidationMessages } from
|
|
5
|
-
import { getLanguageFromURL } from
|
|
1
|
+
import { h, Host } from '@stencil/core';
|
|
2
|
+
import { MDCTextField } from '@material/textfield';
|
|
3
|
+
import intlTelInput from 'intl-tel-input';
|
|
4
|
+
import { ValidationMessages } from '../../utils/validation-messages';
|
|
5
|
+
import { getLanguageFromURL } from '../../utils/utils';
|
|
6
6
|
export class PtcTextfield {
|
|
7
7
|
constructor() {
|
|
8
|
-
this.lastInteraction =
|
|
9
|
-
this.phoneValidity =
|
|
8
|
+
this.lastInteraction = 'mouse';
|
|
9
|
+
this.phoneValidity = 'validating';
|
|
10
10
|
this.matchStatus = true;
|
|
11
11
|
this.fieldId = undefined;
|
|
12
|
-
this.type =
|
|
12
|
+
this.type = 'text';
|
|
13
13
|
this.required = true;
|
|
14
14
|
this.ptcMaxLength = undefined;
|
|
15
|
-
this.labelText =
|
|
16
|
-
this.helpertext =
|
|
15
|
+
this.labelText = 'Email';
|
|
16
|
+
this.helpertext = '';
|
|
17
17
|
this.infoText = undefined;
|
|
18
18
|
this.alertText = undefined;
|
|
19
19
|
this.alertTextContent = undefined;
|
|
20
20
|
this.disabled = false;
|
|
21
|
-
this.fieldName =
|
|
21
|
+
this.fieldName = 'email';
|
|
22
22
|
this.ptcDataEloquaName = undefined;
|
|
23
23
|
this.ptcDataTargetEloquaName = undefined;
|
|
24
|
-
this.inputValue =
|
|
24
|
+
this.inputValue = '';
|
|
25
25
|
this.customValidation = undefined;
|
|
26
|
-
this.language =
|
|
26
|
+
this.language = 'en';
|
|
27
27
|
this.ignoreBlindSubmit = false;
|
|
28
28
|
this.placeholderText = undefined;
|
|
29
29
|
this.styles = undefined;
|
|
30
|
-
this.textfieldForm =
|
|
30
|
+
this.textfieldForm = 'default';
|
|
31
31
|
}
|
|
32
32
|
handleInput(event) {
|
|
33
33
|
this.inputValue = event.target.value;
|
|
34
|
-
if (this.customInput.id ===
|
|
35
|
-
const emailInput = document.getElementById(
|
|
34
|
+
if (this.customInput.id === 'confirm-email') {
|
|
35
|
+
const emailInput = document.getElementById('contact-email');
|
|
36
36
|
if (emailInput.value === this.customInput.value) {
|
|
37
|
-
this.customInput.setCustomValidity(
|
|
37
|
+
this.customInput.setCustomValidity('');
|
|
38
38
|
this.matchStatus = true;
|
|
39
39
|
}
|
|
40
|
-
else if (this.customInput.value &&
|
|
41
|
-
|
|
42
|
-
this.customInput.setCustomValidity("Email addresses must match.");
|
|
40
|
+
else if (this.customInput.value && emailInput.value !== this.customInput.value) {
|
|
41
|
+
this.customInput.setCustomValidity('Email addresses must match.');
|
|
43
42
|
this.matchStatus = false;
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
46
|
handleFocus(event) {
|
|
48
47
|
const target = event.target;
|
|
49
|
-
if (target.tagName ===
|
|
48
|
+
if (target.tagName === 'INPUT') {
|
|
50
49
|
this.inputValue = event.target.value;
|
|
51
50
|
this.setHelperText();
|
|
52
51
|
}
|
|
@@ -77,58 +76,58 @@ export class PtcTextfield {
|
|
|
77
76
|
this.mdcTextfieldComponent.valid = this.customInput.checkValidity();
|
|
78
77
|
}
|
|
79
78
|
}
|
|
80
|
-
async getValidationMessage(type) {
|
|
81
|
-
return ValidationMessages[this.language][type];
|
|
82
|
-
}
|
|
83
79
|
componentWillLoad() {
|
|
84
80
|
this.language = getLanguageFromURL();
|
|
85
81
|
}
|
|
86
82
|
componentDidLoad() {
|
|
87
|
-
if (this.type !==
|
|
83
|
+
if (this.type !== 'hidden') {
|
|
88
84
|
this.mdcTextfieldComponent = MDCTextField.attachTo(this.mdcTextfield);
|
|
89
85
|
}
|
|
90
|
-
if (this.fieldId ===
|
|
86
|
+
if (this.fieldId === 'contact-phone' && this.fieldName === 'phone') {
|
|
91
87
|
this.iti = intlTelInput(this.customInput, {
|
|
92
88
|
separateDialCode: true,
|
|
93
|
-
initialCountry:
|
|
89
|
+
initialCountry: 'auto',
|
|
94
90
|
nationalMode: true,
|
|
95
|
-
geoIpLookup:
|
|
96
|
-
fetch(
|
|
97
|
-
.then(
|
|
98
|
-
.then(
|
|
99
|
-
.catch(() => callback(
|
|
91
|
+
geoIpLookup: callback => {
|
|
92
|
+
fetch('https://ipapi.co/json')
|
|
93
|
+
.then(res => res.json())
|
|
94
|
+
.then(data => callback(data.country_code))
|
|
95
|
+
.catch(() => callback('us'));
|
|
100
96
|
},
|
|
101
|
-
utilsScript:
|
|
97
|
+
utilsScript: 'https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/18.2.1/js/utils.min.js', // Required for formatting/validation
|
|
102
98
|
});
|
|
103
99
|
}
|
|
104
100
|
this.setupFocusHandlers();
|
|
105
101
|
}
|
|
102
|
+
getValidationMessage(type) {
|
|
103
|
+
return ValidationMessages[this.language][type];
|
|
104
|
+
}
|
|
106
105
|
getPhoneValidation() {
|
|
107
|
-
if (this.fieldId ===
|
|
108
|
-
if (!this.required && this.inputValue ===
|
|
109
|
-
if (this.mdcTextfield.classList.contains(
|
|
110
|
-
this.mdcTextfield.classList.remove(
|
|
106
|
+
if (this.fieldId === 'contact-phone' && this.fieldName === 'phone') {
|
|
107
|
+
if (!this.required && this.inputValue === '') {
|
|
108
|
+
if (this.mdcTextfield.classList.contains('mdc-text-field--invalid')) {
|
|
109
|
+
this.mdcTextfield.classList.remove('mdc-text-field--invalid');
|
|
111
110
|
}
|
|
112
|
-
if (this.el.classList.contains(
|
|
113
|
-
this.el.classList.remove(
|
|
111
|
+
if (this.el.classList.contains('invalid-field')) {
|
|
112
|
+
this.el.classList.remove('invalid-field');
|
|
114
113
|
}
|
|
115
114
|
}
|
|
116
115
|
else {
|
|
117
116
|
if (this.iti.isValidNumber()) {
|
|
118
|
-
if (this.mdcTextfield.classList.contains(
|
|
119
|
-
this.mdcTextfield.classList.remove(
|
|
117
|
+
if (this.mdcTextfield.classList.contains('mdc-text-field--invalid')) {
|
|
118
|
+
this.mdcTextfield.classList.remove('mdc-text-field--invalid');
|
|
120
119
|
}
|
|
121
|
-
if (this.el.classList.contains(
|
|
122
|
-
this.el.classList.remove(
|
|
120
|
+
if (this.el.classList.contains('invalid-field')) {
|
|
121
|
+
this.el.classList.remove('invalid-field');
|
|
123
122
|
}
|
|
124
123
|
this.inputValue = this.iti.getNumber();
|
|
125
124
|
}
|
|
126
125
|
else if (!this.iti.isValidNumber()) {
|
|
127
|
-
if (!this.mdcTextfield.classList.contains(
|
|
128
|
-
this.mdcTextfield.classList.add(
|
|
126
|
+
if (!this.mdcTextfield.classList.contains('mdc-text-field--invalid')) {
|
|
127
|
+
this.mdcTextfield.classList.add('mdc-text-field--invalid');
|
|
129
128
|
}
|
|
130
|
-
if (!this.el.classList.contains(
|
|
131
|
-
this.el.classList.add(
|
|
129
|
+
if (!this.el.classList.contains('invalid-field')) {
|
|
130
|
+
this.el.classList.add('invalid-field');
|
|
132
131
|
}
|
|
133
132
|
}
|
|
134
133
|
}
|
|
@@ -136,174 +135,127 @@ export class PtcTextfield {
|
|
|
136
135
|
}
|
|
137
136
|
setErrorBackground() {
|
|
138
137
|
if (this.customInput.checkValidity()) {
|
|
139
|
-
if (this.el.classList.contains(
|
|
140
|
-
this.el.classList.remove(
|
|
138
|
+
if (this.el.classList.contains('invalid-field')) {
|
|
139
|
+
this.el.classList.remove('invalid-field');
|
|
141
140
|
}
|
|
142
141
|
}
|
|
143
142
|
else if (!this.customInput.checkValidity()) {
|
|
144
|
-
if (!this.el.classList.contains(
|
|
145
|
-
this.el.classList.add(
|
|
143
|
+
if (!this.el.classList.contains('invalid-field')) {
|
|
144
|
+
this.el.classList.add('invalid-field');
|
|
146
145
|
}
|
|
147
146
|
}
|
|
148
147
|
}
|
|
149
148
|
getInputClassName() {
|
|
150
|
-
let className =
|
|
151
|
-
if (this.type ===
|
|
149
|
+
let className = 'mdc-text-field__input';
|
|
150
|
+
if (this.type === 'tel' && this.fieldName === 'phone') {
|
|
152
151
|
className = `${className} intl-tel-input`;
|
|
153
152
|
}
|
|
154
|
-
else if (this.type ===
|
|
153
|
+
else if (this.type === 'text' && this.ptcMaxLength) {
|
|
155
154
|
className = `${className} mdc-text-field--with-internal-counter`;
|
|
156
155
|
}
|
|
157
156
|
return className;
|
|
158
157
|
}
|
|
159
158
|
getValidationPattern() {
|
|
160
|
-
let validationPattern =
|
|
161
|
-
if ((this.type ===
|
|
162
|
-
|
|
163
|
-
validationPattern =
|
|
164
|
-
"[a-zA-Z0-9._%+\\-]+@[a-zA-Z0-9.\\-]+\\.(?!.*\\..*\\.)[a-zA-Z]{2,15}$"; //updated TLD character limit from 7 to 15
|
|
159
|
+
let validationPattern = '';
|
|
160
|
+
if ((this.type === 'email' && this.fieldName === 'email') || (this.type === 'email' && this.fieldName === "companyemail")) {
|
|
161
|
+
validationPattern = "[a-zA-Z0-9._%+\\-]+@[a-zA-Z0-9.\\-]+\\.(?!.*\\..*\\.)[a-zA-Z]{2,15}$"; //updated TLD character limit from 7 to 15
|
|
165
162
|
}
|
|
166
|
-
if (this.fieldName ===
|
|
167
|
-
validationPattern =
|
|
163
|
+
if (this.fieldName === 'firstname' || this.fieldName === 'lastname') {
|
|
164
|
+
validationPattern = '^[^!*@&$¥£€>#^~+=<>%]+$';
|
|
168
165
|
}
|
|
169
166
|
return validationPattern;
|
|
170
167
|
}
|
|
171
|
-
|
|
172
|
-
this.helpertext =
|
|
173
|
-
if ((this.type ===
|
|
174
|
-
(this.type === "email" && this.fieldName === "companyemail")) {
|
|
168
|
+
setHelperText() {
|
|
169
|
+
this.helpertext = this.getValidationMessage('required');
|
|
170
|
+
if ((this.type === 'email' && this.fieldName === 'email') || (this.type === 'email' && this.fieldName === "companyemail")) {
|
|
175
171
|
if (this.customInput.validity.valueMissing) {
|
|
176
|
-
this.helpertext =
|
|
172
|
+
this.helpertext = this.getValidationMessage('email');
|
|
177
173
|
}
|
|
178
174
|
else if (!this.customInput.validity.valid) {
|
|
179
|
-
this.helpertext =
|
|
175
|
+
this.helpertext = this.getValidationMessage('validemail');
|
|
180
176
|
}
|
|
181
177
|
else if (this.customInput.validity.valid) {
|
|
182
|
-
this.helpertext =
|
|
178
|
+
this.helpertext = '';
|
|
183
179
|
}
|
|
184
180
|
}
|
|
185
|
-
else if (this.fieldName ===
|
|
181
|
+
else if (this.fieldName === 'firstname') {
|
|
186
182
|
if (this.customInput.validity.valueMissing) {
|
|
187
|
-
this.helpertext =
|
|
183
|
+
this.helpertext = this.getValidationMessage('required');
|
|
188
184
|
}
|
|
189
185
|
else if (this.customInput.validity.patternMismatch) {
|
|
190
|
-
this.helpertext =
|
|
186
|
+
this.helpertext = this.getValidationMessage('firstname');
|
|
191
187
|
}
|
|
192
188
|
}
|
|
193
|
-
else if (this.fieldName ===
|
|
189
|
+
else if (this.fieldName === 'lastname') {
|
|
194
190
|
if (this.customInput.validity.valueMissing) {
|
|
195
|
-
this.helpertext =
|
|
191
|
+
this.helpertext = this.getValidationMessage('required');
|
|
196
192
|
}
|
|
197
193
|
else if (this.customInput.validity.patternMismatch) {
|
|
198
|
-
this.helpertext =
|
|
194
|
+
this.helpertext = this.getValidationMessage('lastname');
|
|
199
195
|
}
|
|
200
196
|
}
|
|
201
|
-
else if (this.fieldId ===
|
|
197
|
+
else if (this.fieldId === 'contact-phone') {
|
|
202
198
|
if (this.iti) {
|
|
203
|
-
if (this.inputValue ===
|
|
204
|
-
this.helpertext =
|
|
199
|
+
if (this.inputValue === '' && this.required) {
|
|
200
|
+
this.helpertext = this.getValidationMessage('tel');
|
|
205
201
|
}
|
|
206
202
|
else if (!this.iti.isValidNumber()) {
|
|
207
|
-
this.helpertext =
|
|
208
|
-
await this.getValidationMessage("validtel");
|
|
203
|
+
this.helpertext = this.getValidationMessage('validtel');
|
|
209
204
|
}
|
|
210
205
|
}
|
|
211
206
|
}
|
|
212
207
|
else if (this.fieldId === "confirm-email") {
|
|
213
208
|
if (!this.matchStatus && !!this.customInput.value) {
|
|
214
|
-
this.helpertext =
|
|
215
|
-
await this.getValidationMessage("confirmemail");
|
|
209
|
+
this.helpertext = this.getValidationMessage('confirmemail');
|
|
216
210
|
}
|
|
217
211
|
}
|
|
218
212
|
}
|
|
219
213
|
setupFocusHandlers() {
|
|
220
214
|
// Track the last interaction type
|
|
221
|
-
document.addEventListener(
|
|
222
|
-
this.lastInteraction =
|
|
215
|
+
document.addEventListener('mousedown', () => {
|
|
216
|
+
this.lastInteraction = 'mouse';
|
|
223
217
|
});
|
|
224
|
-
document.addEventListener(
|
|
225
|
-
if (e.key ===
|
|
226
|
-
this.lastInteraction =
|
|
218
|
+
document.addEventListener('keydown', (e) => {
|
|
219
|
+
if (e.key === 'Tab') {
|
|
220
|
+
this.lastInteraction = 'keyboard';
|
|
227
221
|
}
|
|
228
222
|
});
|
|
229
223
|
// Select all elements with the class `mdc-text-field`
|
|
230
|
-
const textFields = document.querySelectorAll(
|
|
224
|
+
const textFields = document.querySelectorAll('.mdc-text-field');
|
|
231
225
|
textFields.forEach((textField) => {
|
|
232
|
-
const input = textField.querySelector(
|
|
233
|
-
const textArea = textField.querySelector("textarea");
|
|
226
|
+
const input = textField.querySelector('input');
|
|
234
227
|
if (input) {
|
|
235
|
-
input.addEventListener(
|
|
236
|
-
if (this.lastInteraction ===
|
|
237
|
-
textField.classList.add(
|
|
238
|
-
textField.classList.remove(
|
|
228
|
+
input.addEventListener('focus', () => {
|
|
229
|
+
if (this.lastInteraction === 'keyboard') {
|
|
230
|
+
textField.classList.add('keyboard-focus');
|
|
231
|
+
textField.classList.remove('mouse-focus');
|
|
239
232
|
}
|
|
240
233
|
else {
|
|
241
|
-
textField.classList.add(
|
|
242
|
-
textField.classList.remove(
|
|
234
|
+
textField.classList.add('mouse-focus');
|
|
235
|
+
textField.classList.remove('keyboard-focus');
|
|
243
236
|
}
|
|
244
237
|
});
|
|
245
|
-
input.addEventListener(
|
|
246
|
-
textField.classList.remove(
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
if (textArea) {
|
|
250
|
-
textArea.addEventListener("focus", () => {
|
|
251
|
-
if (this.lastInteraction === "keyboard") {
|
|
252
|
-
textField.classList.add("keyboard-focus");
|
|
253
|
-
textField.classList.remove("mouse-focus");
|
|
254
|
-
}
|
|
255
|
-
else {
|
|
256
|
-
textField.classList.add("mouse-focus");
|
|
257
|
-
textField.classList.remove("keyboard-focus");
|
|
258
|
-
}
|
|
259
|
-
});
|
|
260
|
-
textArea.addEventListener("blur", () => {
|
|
261
|
-
textField.classList.remove("keyboard-focus", "mouse-focus");
|
|
238
|
+
input.addEventListener('blur', () => {
|
|
239
|
+
textField.classList.remove('keyboard-focus', 'mouse-focus');
|
|
262
240
|
});
|
|
263
241
|
}
|
|
264
242
|
});
|
|
265
243
|
}
|
|
266
244
|
render() {
|
|
267
245
|
return (h(Host, { class: `ptc-text-field ${this.textfieldForm}
|
|
268
|
-
${this.fieldId ===
|
|
269
|
-
${this.type ===
|
|
246
|
+
${this.fieldId === 'contact-phone' ? 'phone-field-style' : ''}
|
|
247
|
+
${this.type === 'hidden' ? 'textfield-hidden' : ''}` }, this.styles && h("style", null, this.styles), this.type !== 'hidden' ? ([
|
|
270
248
|
this.labelText ? (h("label", { class: "ptc-label" }, this.labelText)) : null,
|
|
271
249
|
h("div", { class: `mdc-text-field mdc-text-field--outlined mdc-text-field--no-label
|
|
272
|
-
${this.fieldId ===
|
|
250
|
+
${this.fieldId === 'contact-phone' ? 'intl-phone-adjustments' : ''}`, ref: mdcTextfield => {
|
|
273
251
|
this.mdcTextfield = mdcTextfield;
|
|
274
|
-
} }, h("span", { class: "mdc-notched-outline ptc-textfield-outline" }, h("span", { class: "mdc-notched-outline__leading" }), h("span", { class: "mdc-notched-outline__trailing" })),
|
|
275
|
-
this.customInput =
|
|
276
|
-
|
|
277
|
-
}, id: this.fieldId, class: this.getInputClassName() }, (this.required
|
|
278
|
-
? { required: true }
|
|
279
|
-
: null), (this.ptcMaxLength
|
|
280
|
-
? { maxLength: this.ptcMaxLength }
|
|
281
|
-
: null), { "aria-controls": this.fieldName, "aria-describedby": this.fieldName, "data-eloqua-name": this.ptcDataEloquaName, "data-target-eloqua-name": this.ptcDataTargetEloquaName, value: this.inputValue, name: this.fieldName, placeholder: this.placeholderText }, (this.getValidationPattern()
|
|
282
|
-
? {
|
|
283
|
-
pattern: this.getValidationPattern(),
|
|
284
|
-
}
|
|
285
|
-
: null), (this.ignoreBlindSubmit
|
|
286
|
-
? { ignoreBlindSubmit: true }
|
|
287
|
-
: null), { onInput: (e) => this.handleInput(e) })), this.ptcMaxLength ? (h("div", { class: "mdc-text-field-character-counter" }, this.inputValue.length, " /", " ", this.ptcMaxLength)) : null)) : (h("input", Object.assign({ ref: (customInput) => {
|
|
288
|
-
this.customInput =
|
|
289
|
-
customInput;
|
|
290
|
-
}, id: this.fieldId }, (this.getInputClassName()
|
|
291
|
-
? { class: this.getInputClassName() }
|
|
292
|
-
: null), { type: this.type }, (this.required
|
|
293
|
-
? { required: true }
|
|
294
|
-
: null), (this.ptcMaxLength
|
|
295
|
-
? { maxLength: this.ptcMaxLength }
|
|
296
|
-
: null), { "aria-controls": this.fieldName, "aria-describedby": this.fieldName, "data-eloqua-name": this.ptcDataEloquaName, "data-target-eloqua-name": this.ptcDataTargetEloquaName, value: this.inputValue, name: this.fieldName }, (this.getValidationPattern()
|
|
297
|
-
? {
|
|
298
|
-
pattern: this.getValidationPattern(),
|
|
299
|
-
}
|
|
300
|
-
: null), (this.ignoreBlindSubmit
|
|
301
|
-
? { ignoreBlindSubmit: true }
|
|
302
|
-
: null), { placeholder: this.placeholderText })))),
|
|
252
|
+
} }, h("span", { class: "mdc-notched-outline ptc-textfield-outline" }, h("span", { class: "mdc-notched-outline__leading" }), h("span", { class: "mdc-notched-outline__trailing" })), h("input", Object.assign({}, (this.disabled ? { disabled: true } : null), { ref: customInput => {
|
|
253
|
+
this.customInput = customInput;
|
|
254
|
+
}, id: this.fieldId }, (this.getInputClassName() ? { class: this.getInputClassName() } : null), { type: this.type }, (this.required ? { required: true } : null), (this.ptcMaxLength ? { maxlength: this.ptcMaxLength } : null), { "aria-controls": this.fieldName, "aria-describedby": this.fieldName, "data-eloqua-name": this.ptcDataEloquaName, "data-target-eloqua-name": this.ptcDataTargetEloquaName, value: this.inputValue, name: this.fieldName }, (this.getValidationPattern() ? { pattern: this.getValidationPattern() } : null), (this.ignoreBlindSubmit ? { ignoreBlindSubmit: true } : null), { placeholder: this.placeholderText }))),
|
|
303
255
|
h("div", { class: `mdc-text-field-helper-line
|
|
304
|
-
${!!this.ptcMaxLength ?
|
|
256
|
+
${!!this.ptcMaxLength ? 'field-with-counter' : ''}` }, h("div", { class: "mdc-text-field-helper-text mdc-text-field-helper-text--validation-msg", id: this.fieldName }, h("svg", { class: "input-error-svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_12_1424)" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.3156 0L16 4.68444V11.3156L11.3156 16H4.68444L0 11.3156V4.68444L4.68444 0H11.3156ZM8 10.4C7.36 10.4 6.84444 10.9156 6.84444 11.5556C6.84444 12.1956 7.36 12.7111 8 12.7111C8.64 12.7111 9.15556 12.1956 9.15556 11.5556C9.15556 10.9156 8.64 10.4 8 10.4ZM8.88889 3.55556H7.11111V8.88889H8.88889V3.55556Z", fill: "#AF3231" })), h("defs", null, h("clipPath", { id: "clip0_12_1424" }, h("rect", { width: "16", height: "16", fill: "white" })))), this.helpertext), this.infoText ? h("div", { class: "mdc-text-field-helper-text mdc-text-field-helper-text--info-msg" }, this.infoText) : null, this.ptcMaxLength ? (h("div", { class: "mdc-text-field-character-counter" }, this.inputValue.length, " / ", this.ptcMaxLength)) : null),
|
|
305
257
|
/* Alert message */
|
|
306
|
-
h("div", { class: "ptc-text-field-alert-line" }, !!this.alertText ? (h("div", { class: "mdc-text-field-helper-text--alert-msg" }, h("svg", { class: "alert-msg-svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { id: "Info", "clip-path": "url(#clip0_227_7670)" }, h("path", { id: "Vector", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM9 6V13H7V6H9ZM8 5C8.55229 5 9 4.55228 9 4C9 3.44772 8.55229 3 8 3C7.44772 3 7 3.44772 7 4C7 4.55228 7.44772 5 8 5Z", fill: "#197BC0" })), h("defs", null, h("clipPath", { id: "clip0_227_7670" }, h("rect", { width: "16", height: "16", fill: "white" })))), this.alertText)) : null, !!this.alertText && this.alertTextContent ?
|
|
258
|
+
h("div", { class: "ptc-text-field-alert-line" }, !!this.alertText ? (h("div", { class: "mdc-text-field-helper-text--alert-msg" }, h("svg", { class: "alert-msg-svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { id: "Info", "clip-path": "url(#clip0_227_7670)" }, h("path", { id: "Vector", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM9 6V13H7V6H9ZM8 5C8.55229 5 9 4.55228 9 4C9 3.44772 8.55229 3 8 3C7.44772 3 7 3.44772 7 4C7 4.55228 7.44772 5 8 5Z", fill: "#197BC0" })), h("defs", null, h("clipPath", { id: "clip0_227_7670" }, h("rect", { width: "16", height: "16", fill: "white" })))), this.alertText)) : null, !!this.alertText && this.alertTextContent ? h("div", { class: "mdc-text-field-helper-text--alert-content-msg" }, this.alertTextContent) : null),
|
|
307
259
|
]) : (h("input", { id: this.fieldId, name: this.fieldName, type: "hidden", "data-eloqua-name": this.ptcDataEloquaName, value: this.inputValue }))));
|
|
308
260
|
}
|
|
309
261
|
static get is() { return "ptc-textfield"; }
|
|
@@ -352,7 +304,7 @@ export class PtcTextfield {
|
|
|
352
304
|
},
|
|
353
305
|
"attribute": "type",
|
|
354
306
|
"reflect": false,
|
|
355
|
-
"defaultValue": "
|
|
307
|
+
"defaultValue": "'text'"
|
|
356
308
|
},
|
|
357
309
|
"required": {
|
|
358
310
|
"type": "boolean",
|
|
@@ -405,7 +357,7 @@ export class PtcTextfield {
|
|
|
405
357
|
},
|
|
406
358
|
"attribute": "label-text",
|
|
407
359
|
"reflect": false,
|
|
408
|
-
"defaultValue": "
|
|
360
|
+
"defaultValue": "'Email'"
|
|
409
361
|
},
|
|
410
362
|
"helpertext": {
|
|
411
363
|
"type": "string",
|
|
@@ -423,7 +375,7 @@ export class PtcTextfield {
|
|
|
423
375
|
},
|
|
424
376
|
"attribute": "helpertext",
|
|
425
377
|
"reflect": false,
|
|
426
|
-
"defaultValue": "
|
|
378
|
+
"defaultValue": "''"
|
|
427
379
|
},
|
|
428
380
|
"infoText": {
|
|
429
381
|
"type": "string",
|
|
@@ -510,7 +462,7 @@ export class PtcTextfield {
|
|
|
510
462
|
},
|
|
511
463
|
"attribute": "field-name",
|
|
512
464
|
"reflect": false,
|
|
513
|
-
"defaultValue": "
|
|
465
|
+
"defaultValue": "'email'"
|
|
514
466
|
},
|
|
515
467
|
"ptcDataEloquaName": {
|
|
516
468
|
"type": "string",
|
|
@@ -562,20 +514,17 @@ export class PtcTextfield {
|
|
|
562
514
|
},
|
|
563
515
|
"attribute": "input-value",
|
|
564
516
|
"reflect": false,
|
|
565
|
-
"defaultValue": "
|
|
517
|
+
"defaultValue": "''"
|
|
566
518
|
},
|
|
567
519
|
"customValidation": {
|
|
568
520
|
"type": "unknown",
|
|
569
521
|
"mutable": false,
|
|
570
522
|
"complexType": {
|
|
571
|
-
"original": "(
|
|
572
|
-
"resolved": "(input: HTMLInputElement
|
|
523
|
+
"original": "(input: HTMLInputElement) => string",
|
|
524
|
+
"resolved": "(input: HTMLInputElement) => string",
|
|
573
525
|
"references": {
|
|
574
526
|
"HTMLInputElement": {
|
|
575
527
|
"location": "global"
|
|
576
|
-
},
|
|
577
|
-
"HTMLTextAreaElement": {
|
|
578
|
-
"location": "global"
|
|
579
528
|
}
|
|
580
529
|
}
|
|
581
530
|
},
|
|
@@ -642,7 +591,7 @@ export class PtcTextfield {
|
|
|
642
591
|
"type": "string",
|
|
643
592
|
"mutable": false,
|
|
644
593
|
"complexType": {
|
|
645
|
-
"original": "
|
|
594
|
+
"original": "'default' | 'email-signup'",
|
|
646
595
|
"resolved": "\"default\" | \"email-signup\"",
|
|
647
596
|
"references": {}
|
|
648
597
|
},
|
|
@@ -654,7 +603,7 @@ export class PtcTextfield {
|
|
|
654
603
|
},
|
|
655
604
|
"attribute": "textfield-form",
|
|
656
605
|
"reflect": false,
|
|
657
|
-
"defaultValue": "
|
|
606
|
+
"defaultValue": "'default'"
|
|
658
607
|
}
|
|
659
608
|
};
|
|
660
609
|
}
|
|
@@ -699,25 +648,6 @@ export class PtcTextfield {
|
|
|
699
648
|
"text": "",
|
|
700
649
|
"tags": []
|
|
701
650
|
}
|
|
702
|
-
},
|
|
703
|
-
"getValidationMessage": {
|
|
704
|
-
"complexType": {
|
|
705
|
-
"signature": "(type: string) => Promise<string>",
|
|
706
|
-
"parameters": [{
|
|
707
|
-
"tags": [],
|
|
708
|
-
"text": ""
|
|
709
|
-
}],
|
|
710
|
-
"references": {
|
|
711
|
-
"Promise": {
|
|
712
|
-
"location": "global"
|
|
713
|
-
}
|
|
714
|
-
},
|
|
715
|
-
"return": "Promise<string>"
|
|
716
|
-
},
|
|
717
|
-
"docs": {
|
|
718
|
-
"text": "",
|
|
719
|
-
"tags": []
|
|
720
|
-
}
|
|
721
651
|
}
|
|
722
652
|
};
|
|
723
653
|
}
|
|
@@ -9,10 +9,8 @@ ul,
|
|
|
9
9
|
li,
|
|
10
10
|
ptc-subnav,
|
|
11
11
|
ptc-tab-list,
|
|
12
|
-
ptc-link,
|
|
13
|
-
ptc-
|
|
14
|
-
.hyphenate-text,
|
|
15
|
-
ptc-footer {
|
|
12
|
+
ptc-link, ptc-square-card,
|
|
13
|
+
.hyphenate-text, ptc-footer {
|
|
16
14
|
word-break: break-word;
|
|
17
15
|
hyphens: manual;
|
|
18
16
|
-webkit-hyphens: manual;
|
|
@@ -31,10 +29,8 @@ ul,
|
|
|
31
29
|
li,
|
|
32
30
|
ptc-subnav,
|
|
33
31
|
ptc-tab-list,
|
|
34
|
-
ptc-link,
|
|
35
|
-
ptc-
|
|
36
|
-
.hyphenate-text,
|
|
37
|
-
ptc-footer {
|
|
32
|
+
ptc-link, ptc-square-card,
|
|
33
|
+
.hyphenate-text, ptc-footer {
|
|
38
34
|
hyphens: auto;
|
|
39
35
|
-webkit-hyphenate-limit-before: 3;
|
|
40
36
|
/* For Safari */
|
|
@@ -86,20 +82,14 @@ ptc-footer {
|
|
|
86
82
|
position: relative;
|
|
87
83
|
border-radius: 12px;
|
|
88
84
|
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.24);
|
|
89
|
-
margin-top: 5px;
|
|
90
85
|
cursor: pointer;
|
|
91
86
|
}
|
|
92
|
-
:host .img-wrap:focus-visible {
|
|
93
|
-
border-radius: var(--ptc-border-radius-standard);
|
|
94
|
-
border: 2px solid white;
|
|
95
|
-
outline: 5px solid var(--keyboard-nav-outline);
|
|
96
|
-
}
|
|
97
87
|
:host .img-wrap img {
|
|
98
88
|
max-width: 100%;
|
|
99
89
|
border-radius: 12px;
|
|
100
90
|
}
|
|
101
91
|
:host .img-wrap svg {
|
|
102
|
-
fill: #
|
|
92
|
+
fill: #FFF;
|
|
103
93
|
filter: drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.5));
|
|
104
94
|
position: absolute;
|
|
105
95
|
top: 50%;
|
|
@@ -116,7 +106,7 @@ ptc-footer {
|
|
|
116
106
|
border-radius: 50%;
|
|
117
107
|
border: 2px solid var(--color-green-05);
|
|
118
108
|
text-align: center;
|
|
119
|
-
color: #
|
|
109
|
+
color: #FFF;
|
|
120
110
|
font-size: 18px;
|
|
121
111
|
font-weight: 700;
|
|
122
112
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, Host
|
|
1
|
+
import { h, Host } from '@stencil/core';
|
|
2
2
|
export class PtcTheaterVideo {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.cardTitle = undefined;
|
|
@@ -7,7 +7,7 @@ export class PtcTheaterVideo {
|
|
|
7
7
|
this.cardNumber = undefined;
|
|
8
8
|
this.videoId = undefined;
|
|
9
9
|
this.vtagName = undefined;
|
|
10
|
-
this.modalType =
|
|
10
|
+
this.modalType = 'video-with-description';
|
|
11
11
|
}
|
|
12
12
|
showCardDetails() {
|
|
13
13
|
// Emit a custom event to signal that the card was clicked
|
|
@@ -16,12 +16,12 @@ export class PtcTheaterVideo {
|
|
|
16
16
|
// });
|
|
17
17
|
// this.ele.dispatchEvent(cardClickEvent);
|
|
18
18
|
this.vCardClicked.emit({
|
|
19
|
-
sender: this,
|
|
20
|
-
cardNumber: this.cardNumber
|
|
19
|
+
'sender': this,
|
|
20
|
+
'cardNumber': this.cardNumber
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { "video-id": this.videoId, "vtag-name": this.vtagName, "modal-type": this.modalType }, h("div", { class: "img-wrap
|
|
24
|
+
return (h(Host, { "video-id": this.videoId, "vtag-name": this.vtagName, "modal-type": this.modalType }, h("div", { class: "img-wrap", onClick: () => this.showCardDetails() }, h("img", { src: this.thumbImg, alt: "" }), h("span", { class: 'card-number' }, this.cardNumber + 1), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "54", height: "56", viewBox: "0 0 54 56", fill: "none" }, h("g", { filter: "url(#filter0_d_214_969)" }, h("path", { d: "M42 20L12 36V4L42 20Z", fill: "white" })), h("defs", null, h("filter", { id: "filter0_d_214_969", x: "0", y: "0", width: "54", height: "56", filterUnits: "userSpaceOnUse", "color-interpolation-filters": "s-rGB" }, h("feFlood", { "flood-opacity": "0", result: "BackgroundImageFix" }), h("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), h("feOffset", { dy: "8" }), h("feGaussianBlur", { stdDeviation: "6" }), h("feComposite", { in2: "hardAlpha", operator: "out" }), h("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" }), h("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_214_969" }), h("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_214_969", result: "shape" }))))), h("h3", { class: 'vcard-title' }, this.cardTitle), h("div", { class: "hidden description" }, h("slot", null))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "ptc-theater-video"; }
|
|
27
27
|
static get encapsulation() { return "scoped"; }
|
|
@@ -143,7 +143,7 @@ export class PtcTheaterVideo {
|
|
|
143
143
|
"type": "string",
|
|
144
144
|
"mutable": false,
|
|
145
145
|
"complexType": {
|
|
146
|
-
"original": "
|
|
146
|
+
"original": "'only-video' | 'video-with-description'",
|
|
147
147
|
"resolved": "\"only-video\" | \"video-with-description\"",
|
|
148
148
|
"references": {}
|
|
149
149
|
},
|
|
@@ -155,7 +155,7 @@ export class PtcTheaterVideo {
|
|
|
155
155
|
},
|
|
156
156
|
"attribute": "modal-type",
|
|
157
157
|
"reflect": false,
|
|
158
|
-
"defaultValue": "
|
|
158
|
+
"defaultValue": "'video-with-description'"
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
161
|
}
|