@ptcwebops/ptcw-design 4.6.3 → 4.6.5
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/homepage-clickable-tab.cjs.entry.js +3 -2
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +4 -5
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +6 -2
- package/dist/cjs/icon-asset_8.cjs.entry.js +617 -0
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +12 -17
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +4 -2
- package/dist/cjs/ptc-white-paper.cjs.entry.js +3 -0
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +1 -0
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +19 -1
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +4 -3
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +11 -16
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +7 -7
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +8 -0
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +5 -2
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +3 -3
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +82 -32
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +1 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +2 -0
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +1 -1
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -0
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +39 -1
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +3 -0
- package/dist/custom-elements/index.js +218 -215
- package/dist/esm/academic-form-test.entry.js +1 -1
- package/dist/esm/author-listing-example.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +1 -1
- package/dist/esm/embedded-form.entry.js +1 -1
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/fl-tab-content_3.entry.js +1 -1
- package/dist/esm/footer-form.entry.js +1 -1
- package/dist/esm/homepage-clickable-tab.entry.js +4 -3
- package/dist/esm/homepage-jumbotron.entry.js +5 -6
- package/dist/esm/homepage-toggled-content.entry.js +7 -3
- package/dist/esm/icon-asset_8.entry.js +606 -0
- package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +13 -18
- package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/max-width-container.entry.js +1 -1
- package/dist/esm/most-popular-news.entry.js +2 -2
- package/dist/esm/my-component.entry.js +2 -2
- package/dist/esm/news-search-result.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +1 -1
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/ptc-breadcrumb.entry.js +1 -1
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/ptc-card_2.entry.js +1 -1
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-checkbox-group.entry.js +1 -1
- package/dist/esm/ptc-checkbox.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +2 -2
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +1 -1
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-dropdown.entry.js +1 -1
- package/dist/esm/ptc-dynamic-card.entry.js +1 -1
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
- package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/ptc-form-checkbox_2.entry.js +2 -2
- package/dist/esm/ptc-form-radio-button.entry.js +1 -1
- package/dist/esm/ptc-form-radio-group.entry.js +1 -1
- package/dist/esm/ptc-form.entry.js +1 -1
- package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
- package/dist/esm/ptc-hero.entry.js +1 -1
- package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
- package/dist/esm/ptc-icon-card.entry.js +1 -1
- package/dist/esm/ptc-icon-component.entry.js +1 -1
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +1 -1
- package/dist/esm/ptc-image-download-strip.entry.js +1 -1
- package/dist/esm/ptc-img.entry.js +1 -1
- package/dist/esm/ptc-info-tile.entry.js +1 -1
- package/dist/esm/ptc-jumbotron.entry.js +1 -1
- package/dist/esm/ptc-link.entry.js +2 -2
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +2 -2
- package/dist/esm/ptc-minimized-nav.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +1 -1
- package/dist/esm/ptc-modal-quiz.entry.js +1 -1
- package/dist/esm/ptc-multi-select_2.entry.js +2 -2
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +1 -1
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-nav-tile.entry.js +1 -1
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +1 -1
- package/dist/esm/ptc-office-locations.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-picture.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +1 -1
- package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
- package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
- package/dist/esm/ptc-pricing-block.entry.js +1 -1
- package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
- package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
- package/dist/esm/ptc-product-card.entry.js +3 -3
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-dropdown.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +5 -3
- package/dist/esm/ptc-product-list.entry.js +1 -1
- package/dist/esm/ptc-product-sidebar.entry.js +1 -1
- package/dist/esm/ptc-progress-bar.entry.js +1 -1
- package/dist/esm/ptc-quantity-counter.entry.js +1 -1
- package/dist/esm/ptc-quote.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-v2.entry.js +1 -1
- package/dist/esm/ptc-readmore.entry.js +1 -1
- package/dist/esm/ptc-related-card-rail.entry.js +1 -1
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +1 -1
- package/dist/esm/ptc-seo-title.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +1 -1
- package/dist/esm/ptc-showcase-card.entry.js +1 -1
- package/dist/esm/ptc-skeleton.entry.js +1 -1
- package/dist/esm/ptc-slit-card.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-square-card.entry.js +1 -1
- package/dist/esm/ptc-sticky-icons.entry.js +1 -1
- package/dist/esm/ptc-sticky-section.entry.js +1 -1
- package/dist/esm/ptc-sticky-title.entry.js +1 -1
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +1 -1
- package/dist/esm/ptc-svg-btn.entry.js +1 -1
- package/dist/esm/ptc-tab-list.entry.js +1 -1
- package/dist/esm/ptc-tab.entry.js +1 -1
- package/dist/esm/ptc-tabs.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
- package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- 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-highlight.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +1 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-value-prop-card.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +4 -1
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle-example.entry.js +1 -1
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/esm/{utils-edb0c4d4.js → utils-4a9e39a7.js} +1 -1
- package/dist/ptcw-design/p-029d283d.entry.js +1 -0
- package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
- package/dist/ptcw-design/{p-9c112fb9.entry.js → p-040621d3.entry.js} +1 -1
- package/dist/ptcw-design/{p-18ada6c7.entry.js → p-08f97cb8.entry.js} +1 -1
- package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
- package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
- package/dist/ptcw-design/{p-0d2012d1.entry.js → p-0c8de5fb.entry.js} +1 -1
- package/dist/ptcw-design/{p-d32f1659.entry.js → p-0d2036aa.entry.js} +1 -1
- package/dist/ptcw-design/p-100c7e73.entry.js +1 -0
- package/dist/ptcw-design/{p-44289740.entry.js → p-102cfdc3.entry.js} +1 -1
- package/dist/ptcw-design/p-10db3673.entry.js +1 -0
- package/dist/ptcw-design/{p-c642d666.entry.js → p-1297155b.entry.js} +1 -1
- package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
- package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee455b1d.entry.js → p-17f2c9a5.entry.js} +1 -1
- package/dist/ptcw-design/p-19214f49.entry.js +1 -0
- package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
- package/dist/ptcw-design/p-1c84cdaa.entry.js +1 -0
- package/dist/ptcw-design/{p-b3bbd17d.entry.js → p-1e44cf5e.entry.js} +1 -1
- package/dist/ptcw-design/{p-8743b266.entry.js → p-1e7fc98e.entry.js} +1 -1
- package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
- package/dist/ptcw-design/{p-498fffc7.entry.js → p-1f5fbefd.entry.js} +1 -1
- package/dist/ptcw-design/p-1f94248f.entry.js +1 -0
- package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
- package/dist/ptcw-design/{p-2c634cfd.entry.js → p-2294d50a.entry.js} +1 -1
- package/dist/ptcw-design/{p-384c21c3.entry.js → p-25d30988.entry.js} +1 -1
- package/dist/ptcw-design/{p-6ebe2055.entry.js → p-26a621ad.entry.js} +1 -1
- package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
- package/dist/ptcw-design/{p-8798a958.entry.js → p-29816755.entry.js} +1 -1
- package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
- package/dist/ptcw-design/{p-d5372f07.entry.js → p-2bfcec0e.entry.js} +1 -1
- package/dist/ptcw-design/{p-bdc2f146.entry.js → p-2c5df150.entry.js} +1 -1
- package/dist/ptcw-design/p-2f77e37a.entry.js +1 -0
- package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
- package/dist/ptcw-design/{p-0ff0f7ee.entry.js → p-3098c8bf.entry.js} +1 -1
- package/dist/ptcw-design/{p-092388f5.entry.js → p-32b9f5da.entry.js} +1 -1
- package/dist/ptcw-design/{p-d633a609.entry.js → p-3355e525.entry.js} +1 -1
- package/dist/ptcw-design/{p-ae62e211.entry.js → p-388bab26.entry.js} +1 -1
- package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
- package/dist/ptcw-design/{p-7c3aac08.entry.js → p-3c560782.entry.js} +1 -1
- package/dist/ptcw-design/{p-b0b4dc96.entry.js → p-3d341d68.entry.js} +1 -1
- package/dist/ptcw-design/{p-e6cd9f74.entry.js → p-41cacea3.entry.js} +1 -1
- package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
- package/dist/ptcw-design/{p-bbce25be.entry.js → p-4465baea.entry.js} +1 -1
- package/dist/ptcw-design/{p-0c20d1f1.entry.js → p-47496762.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
- package/dist/ptcw-design/{p-eb352992.entry.js → p-4ee95521.entry.js} +1 -1
- package/dist/ptcw-design/{p-057f7b20.entry.js → p-50f94166.entry.js} +1 -1
- package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
- package/dist/ptcw-design/{p-eb299297.entry.js → p-59c5e7e0.entry.js} +1 -1
- package/dist/ptcw-design/p-5b5e8973.entry.js +1 -0
- package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
- package/dist/ptcw-design/{p-dca69b87.entry.js → p-5dee4e02.entry.js} +1 -1
- package/dist/ptcw-design/{p-a2c257bb.entry.js → p-61334fd7.entry.js} +1 -1
- package/dist/ptcw-design/{p-c11d34df.entry.js → p-619b0bf7.entry.js} +1 -1
- package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
- package/dist/ptcw-design/{p-25a1d8c5.entry.js → p-62be464f.entry.js} +1 -1
- package/dist/ptcw-design/{p-ec94b1d2.entry.js → p-66754504.entry.js} +1 -1
- package/dist/ptcw-design/{p-0b08be7d.entry.js → p-67cbd56c.entry.js} +1 -1
- package/dist/ptcw-design/{p-e87b09db.entry.js → p-68643ae6.entry.js} +1 -1
- package/dist/ptcw-design/{p-231e7963.entry.js → p-6bb8a838.entry.js} +1 -1
- package/dist/ptcw-design/{p-2e68709e.entry.js → p-72407276.entry.js} +1 -1
- package/dist/ptcw-design/p-72681e91.entry.js +1 -0
- package/dist/ptcw-design/{p-ad7a03e7.entry.js → p-738fa39b.entry.js} +1 -1
- package/dist/ptcw-design/{p-055e0d28.entry.js → p-74f53c15.entry.js} +1 -1
- package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
- package/dist/ptcw-design/{p-971b8a7d.entry.js → p-78abd2fe.entry.js} +1 -1
- package/dist/ptcw-design/p-7964e154.entry.js +1 -0
- package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
- package/dist/ptcw-design/p-7da19723.entry.js +1 -0
- package/dist/ptcw-design/p-7e1507e1.entry.js +1 -0
- package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-9113f580.entry.js → p-7fdaa4f7.entry.js} +1 -1
- package/dist/ptcw-design/p-7fdadf0d.entry.js +1 -0
- package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
- package/dist/ptcw-design/{p-f2e65046.entry.js → p-8294fa3a.entry.js} +1 -1
- package/dist/ptcw-design/{p-23d37b1e.entry.js → p-8687424d.entry.js} +1 -1
- package/dist/ptcw-design/{p-1eecdb7f.entry.js → p-879f4796.entry.js} +1 -1
- package/dist/ptcw-design/p-88ff7bc5.entry.js +1 -0
- package/dist/ptcw-design/{p-d3b615a8.entry.js → p-8938268f.entry.js} +1 -1
- package/dist/ptcw-design/p-8ce28155.entry.js +1 -0
- package/dist/ptcw-design/{p-9fd952c4.entry.js → p-8d7abcdc.entry.js} +1 -1
- package/dist/ptcw-design/{p-1f1510fc.entry.js → p-8ea16265.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
- package/dist/ptcw-design/{p-21a3fd97.entry.js → p-8ee9fcb6.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac504f89.entry.js → p-90d50eb8.entry.js} +1 -1
- package/dist/ptcw-design/{p-184a4cda.entry.js → p-91efd911.entry.js} +1 -1
- package/dist/ptcw-design/{p-742d7492.entry.js → p-936d475f.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
- package/dist/ptcw-design/{p-7b71abaf.entry.js → p-94c59fac.entry.js} +1 -1
- package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
- package/dist/ptcw-design/{p-daa07e11.entry.js → p-982c3ef3.entry.js} +1 -1
- package/dist/ptcw-design/{p-1fa761c3.entry.js → p-9d88e3e4.entry.js} +1 -1
- package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
- package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
- package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
- package/dist/ptcw-design/{p-58c10456.entry.js → p-a5ae3230.entry.js} +1 -1
- package/dist/ptcw-design/{p-f7245909.entry.js → p-ab30375a.entry.js} +1 -1
- package/dist/ptcw-design/{p-00e21489.entry.js → p-ad4f4f33.entry.js} +1 -1
- package/dist/ptcw-design/{p-e61d7e23.entry.js → p-ad8b3161.entry.js} +1 -1
- package/dist/ptcw-design/{p-57c17ddf.entry.js → p-adf6fafa.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
- package/dist/ptcw-design/{p-8ddb878c.entry.js → p-b104db40.entry.js} +1 -1
- package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
- package/dist/ptcw-design/{p-0e5932f0.entry.js → p-b3b63f67.entry.js} +1 -1
- package/dist/ptcw-design/{p-fdc65d81.entry.js → p-b44dbb3f.entry.js} +1 -1
- package/dist/ptcw-design/{p-62d848b1.entry.js → p-b51a1bc6.entry.js} +1 -1
- package/dist/ptcw-design/{p-5b21bdc1.entry.js → p-b6e5c0f7.entry.js} +1 -1
- package/dist/ptcw-design/{p-bcbdf9a9.js → p-b8fd8532.js} +1 -1
- package/dist/ptcw-design/p-b9bf864e.entry.js +1 -0
- package/dist/ptcw-design/{p-36fefc72.entry.js → p-b9e27110.entry.js} +1 -1
- package/dist/ptcw-design/{p-15489f63.entry.js → p-ba6f14f8.entry.js} +1 -1
- package/dist/ptcw-design/{p-07a4b1ca.entry.js → p-bd58f3d2.entry.js} +1 -1
- package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
- package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
- package/dist/ptcw-design/p-c0dde215.entry.js +1 -0
- package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
- package/dist/ptcw-design/{p-adf6b11f.entry.js → p-c418918b.entry.js} +1 -1
- package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
- package/dist/ptcw-design/{p-5af20305.entry.js → p-c67d0dab.entry.js} +1 -1
- package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
- package/dist/ptcw-design/{p-3470e15d.entry.js → p-cb00b505.entry.js} +1 -1
- package/dist/ptcw-design/{p-16429296.entry.js → p-ccebb76c.entry.js} +1 -1
- package/dist/ptcw-design/{p-5857be70.entry.js → p-ccf1dacd.entry.js} +1 -1
- package/dist/ptcw-design/{p-6ddefda6.entry.js → p-cd0fe5b4.entry.js} +1 -1
- package/dist/ptcw-design/{p-d1d6ea55.entry.js → p-d1a380e8.entry.js} +1 -1
- package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
- package/dist/ptcw-design/{p-46c96b63.entry.js → p-d21828b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-5a96b4ce.entry.js → p-d2e46a8b.entry.js} +1 -1
- package/dist/ptcw-design/{p-e07515d4.entry.js → p-d36b2ad5.entry.js} +1 -1
- package/dist/ptcw-design/{p-260ecfef.entry.js → p-d9ec506c.entry.js} +1 -1
- package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
- package/dist/ptcw-design/{p-2bbc5d85.entry.js → p-e5f38e09.entry.js} +1 -1
- package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
- package/dist/ptcw-design/{p-8f5feb90.entry.js → p-e6f6c3c8.entry.js} +1 -1
- package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
- package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
- package/dist/ptcw-design/{p-071a6109.entry.js → p-ef0079b0.entry.js} +1 -1
- package/dist/ptcw-design/{p-94cc3bb8.entry.js → p-f2ed73d6.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
- package/dist/ptcw-design/{p-ae0543c8.entry.js → p-f8e584b4.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/homepage-clickable-tab/homepage-clickable-tab.d.ts +4 -0
- package/dist/types/components/jumbotron-sub-menu/jumbotron-sub-menu.d.ts +1 -0
- package/dist/types/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.d.ts +1 -0
- package/dist/types/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.d.ts +1 -0
- package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +8 -0
- package/dist/types/components.d.ts +24 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +0 -53
- package/dist/cjs/ptc-background-video.cjs.entry.js +0 -70
- package/dist/cjs/ptc-button.cjs.entry.js +0 -79
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +0 -146
- package/dist/cjs/ptc-para.cjs.entry.js +0 -70
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/cjs/ptc-title.cjs.entry.js +0 -99
- package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
- package/dist/esm/icon-asset.entry.js +0 -49
- package/dist/esm/ptc-background-video.entry.js +0 -66
- package/dist/esm/ptc-button.entry.js +0 -75
- package/dist/esm/ptc-homepage-video-background.entry.js +0 -142
- package/dist/esm/ptc-para.entry.js +0 -66
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/esm/ptc-title.entry.js +0 -95
- package/dist/esm/ptc-tooltip.entry.js +0 -103
- package/dist/ptcw-design/p-0390c236.entry.js +0 -1
- package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
- package/dist/ptcw-design/p-1d64a5a8.entry.js +0 -1
- package/dist/ptcw-design/p-25a25451.entry.js +0 -1
- package/dist/ptcw-design/p-27ef9182.entry.js +0 -1
- package/dist/ptcw-design/p-2cfeeac8.entry.js +0 -1
- package/dist/ptcw-design/p-3885c133.entry.js +0 -1
- package/dist/ptcw-design/p-419abbe1.entry.js +0 -1
- package/dist/ptcw-design/p-463097da.entry.js +0 -1
- package/dist/ptcw-design/p-49639b03.entry.js +0 -1
- package/dist/ptcw-design/p-4e1088bb.entry.js +0 -1
- package/dist/ptcw-design/p-509ba999.entry.js +0 -1
- package/dist/ptcw-design/p-62a4a1e1.entry.js +0 -1
- package/dist/ptcw-design/p-6749ca21.entry.js +0 -1
- package/dist/ptcw-design/p-7db71d63.entry.js +0 -1
- package/dist/ptcw-design/p-8bf47996.entry.js +0 -1
- package/dist/ptcw-design/p-9350bfe7.entry.js +0 -1
- package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
- package/dist/ptcw-design/p-a1415238.entry.js +0 -1
- package/dist/ptcw-design/p-a46c8d15.entry.js +0 -1
- package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
- package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
- package/dist/ptcw-design/p-d3b3d535.entry.js +0 -1
- package/dist/ptcw-design/p-e21f2874.entry.js +0 -1
- package/dist/ptcw-design/p-ed2be934.entry.js +0 -1
- package/dist/ptcw-design/p-f08725b9.entry.js +0 -1
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-63ddc79c.js');
|
|
6
6
|
|
|
7
|
-
const homepageClickableTabCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}.tab-item{cursor:pointer;color:#fff;border-radius:4px;background:var(--color-gray-11);display:flex;width:auto;min-height:72px;padding:24px;justify-content:center;align-items:center;gap:10px;align-self:stretch;color:#FFF;text-align:center;font-family:Raleway;font-size:20px;font-style:normal;font-weight:800}@media screen and (min-width: 1280px){.tab-item{width:160px}}@media only screen and (min-width: 1440px){.tab-item{width:172px}}.tab-item span{z-index:2}ptc-overlay{opacity:0;transition:opacity var(--ptc-transition-slower) var(--ptc-ease-inout)}.tab-item.active{color:#fff;position:relative}.tab-item.active::after{content:\"\";position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);width:0;height:0;border-top-width:30px;border-left:20px solid transparent;border-right:20px solid transparent}.tab-item.hp-blue.active{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.tab-item.hp-blue.active::after{border-style:solid;border-top-color:var(--color-blue-06)}.tab-item.hp-blue:hover{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.tab-item.hp-green.active{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.tab-item.hp-green.active::after{border-style:solid;border-top-color:var(--color-green-06)}.tab-item.hp-green:hover{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.tab-item.hp-red.active{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.tab-item.hp-red.active::after{border-style:solid;border-top-color:var(--color-red-06)}.tab-item.hp-red:hover{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.tab-item.hp-gray.active{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.tab-item.hp-gray.active::after{border-style:solid;border-top-color:var(--color-gray-06)}.tab-item.hp-gray:hover{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.tab-item.hp-orange.active{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}.tab-item.hp-orange.active::after{border-style:solid;border-top-color:var(--color-orange-06)}.tab-item.hp-orange:hover{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}";
|
|
7
|
+
const homepageClickableTabCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}.tab-item{cursor:pointer;color:#fff;border-radius:4px;background:var(--color-gray-11);display:flex;width:auto;height:-webkit-fill-available;min-height:72px;padding:24px;justify-content:center;align-items:center;gap:10px;align-self:stretch;color:#FFF;text-align:center;font-family:Raleway;font-size:20px;font-style:normal;font-weight:800}@media screen and (min-width: 1280px){.tab-item{width:160px}}@media only screen and (min-width: 1440px){.tab-item{width:172px}}.tab-item span{z-index:2}ptc-overlay{opacity:0;transition:opacity var(--ptc-transition-slower) var(--ptc-ease-inout)}.tab-item.active{color:#fff;position:relative}.tab-item.active::after{content:\"\";position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);width:0;height:0;border-top-width:30px;border-left:20px solid transparent;border-right:20px solid transparent}.tab-item.hp-blue.active{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.tab-item.hp-blue.active::after{border-style:solid;border-top-color:var(--color-blue-06)}.tab-item.hp-blue:hover{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.tab-item.hp-green.active{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.tab-item.hp-green.active::after{border-style:solid;border-top-color:var(--color-green-06)}.tab-item.hp-green:hover{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.tab-item.hp-red.active{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.tab-item.hp-red.active::after{border-style:solid;border-top-color:var(--color-red-06)}.tab-item.hp-red:hover{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.tab-item.hp-gray.active{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.tab-item.hp-gray.active::after{border-style:solid;border-top-color:var(--color-gray-06)}.tab-item.hp-gray:hover{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.tab-item.hp-orange.active{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}.tab-item.hp-orange.active::after{border-style:solid;border-top-color:var(--color-orange-06)}.tab-item.hp-orange:hover{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}";
|
|
8
8
|
|
|
9
9
|
const HomepageClickableTab = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -14,6 +14,7 @@ const HomepageClickableTab = class {
|
|
|
14
14
|
this.label = undefined;
|
|
15
15
|
this.activeColor = 'hp-blue';
|
|
16
16
|
this.isHovered = false;
|
|
17
|
+
this.styles = undefined;
|
|
17
18
|
}
|
|
18
19
|
handleClick() {
|
|
19
20
|
this.tabSelected.emit();
|
|
@@ -25,7 +26,7 @@ const HomepageClickableTab = class {
|
|
|
25
26
|
this.isHovered = false;
|
|
26
27
|
}
|
|
27
28
|
render() {
|
|
28
|
-
return (index.h(index.Host, null, index.h("div", { class: { 'tab-item': true, 'active': this.active, [this.activeColor]: true }, onClick: () => this.handleClick(), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, (this.active || this.isHovered) ? index.h("ptc-overlay", { class: "colored-tab", "filter-color": this.activeColor, "border-radius": "radius-standard" }) : index.h("ptc-overlay", { "filter-color": "transparent", "border-radius": "radius-standard" }), index.h("span", null, this.label))));
|
|
29
|
+
return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: { 'tab-item': true, 'active': this.active, [this.activeColor]: true }, onClick: () => this.handleClick(), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, (this.active || this.isHovered) ? index.h("ptc-overlay", { class: "colored-tab", "filter-color": this.activeColor, "border-radius": "radius-standard" }) : index.h("ptc-overlay", { "filter-color": "transparent", "border-radius": "radius-standard" }), index.h("span", null, this.label))));
|
|
29
30
|
}
|
|
30
31
|
};
|
|
31
32
|
HomepageClickableTab.style = homepageClickableTabCss;
|
|
@@ -13,7 +13,7 @@ const HomepageJumbotron = class {
|
|
|
13
13
|
this.tileCount = 0;
|
|
14
14
|
this.bgVideoSrc = '';
|
|
15
15
|
this.bgSrc = 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80';
|
|
16
|
-
this.jumbotron = '
|
|
16
|
+
this.jumbotron = 'dark';
|
|
17
17
|
this.isIframe = false;
|
|
18
18
|
this.playBtnText = 'play';
|
|
19
19
|
this.pauseBtnText = 'pause';
|
|
@@ -24,6 +24,7 @@ const HomepageJumbotron = class {
|
|
|
24
24
|
this.activeButton = undefined;
|
|
25
25
|
this.tileElements = [];
|
|
26
26
|
this.isTransitioning = undefined;
|
|
27
|
+
this.mediaTag = "VIDEO";
|
|
27
28
|
}
|
|
28
29
|
componentWillLoad() {
|
|
29
30
|
this.updateDefaultContent();
|
|
@@ -90,9 +91,7 @@ const HomepageJumbotron = class {
|
|
|
90
91
|
this.activeMainTitle = activeMainTitleElement ? activeMainTitleElement.innerHTML : '';
|
|
91
92
|
this.activeSubTitle = activeSubTitleElement ? activeSubTitleElement.innerHTML : '';
|
|
92
93
|
this.activeButton = activeButtonElement ? activeButtonElement.innerHTML : '';
|
|
93
|
-
|
|
94
|
-
//console.log('sub tile counts: ' + this.tileCount + '; this active tab: ' + this.activeTab);
|
|
95
|
-
//this.updateTileElements();
|
|
94
|
+
this.mediaTag = activeBgVideoElement.tagName;
|
|
96
95
|
}
|
|
97
96
|
updateTileElements() {
|
|
98
97
|
const tiles = Array.from(this.el.querySelectorAll(`[slot^="jumbotron-tile-${this.activeTab}"]`));
|
|
@@ -107,7 +106,7 @@ const HomepageJumbotron = class {
|
|
|
107
106
|
}, 250);
|
|
108
107
|
}
|
|
109
108
|
render() {
|
|
110
|
-
return (index.h(index.Host, null, index.h("ptc-jumbotron", Object.assign({ styles: ".parent{min-height:700px; max-height:1000px;}", "jumbotron-type": this.
|
|
109
|
+
return (index.h(index.Host, null, index.h("ptc-jumbotron", Object.assign({ styles: ".parent{min-height:700px; max-height:1000px;}", "jumbotron-type": this.mediaTag === "VIDEO" ? 'dark-video' : 'dark' }, (!!this.activeBgVideoSrc && { bgVideoSrc: this.activeBgVideoSrc }), (!this.bgVideoSrc && !!this.bgSrc && { bgSrc: this.bgSrc }), { "is-iframe": this.isIframe, "is-homepage": "true", "is-transitioning": this.isTransitioning, "sub-title": "" //sub title is coming from slot here
|
|
111
110
|
,
|
|
112
111
|
"play-button-title": this.playBtnText, "pause-button-title": this.pauseBtnText, "button-location": "allbp-bottom-right" }), index.h("slot", { name: "breadcrumb" }), index.h("h1", { slot: "main-title", class: "hp-h1" }, this.activeMainTitle), index.h("p", { slot: "hp-sub-title", class: "hp-sub-title" }, this.activeSubTitle), index.h("div", { slot: "j-cta", innerHTML: this.activeButton })), index.h("div", { class: "swiper-container", ref: el => (this.swiperContainerRef = el) }, index.h("div", { class: "swiper-wrapper" }, this.tileElements.map((tile, index$1) => (index.h("div", { class: "swiper-slide", key: index$1, innerHTML: tile.outerHTML })))), index.h("div", { class: "swiper-pagination" }))));
|
|
113
112
|
}
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-63ddc79c.js');
|
|
6
|
+
const utils = require('./utils-fe61106d.js');
|
|
6
7
|
|
|
7
|
-
const homepageToggledContentCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}::slotted(.title){color:var(--color-gray-10) !important;font-family:Raleway !important;font-size:24px !important;font-style:normal !important;font-weight:700 !important;line-height:30px !important;margin-top:0px !important;margin-bottom:16px !important;}::slotted(.description){color:var(--color-gray-10) !important;font-family:Raleway !important;font-size:18px !important;font-style:normal !important;font-weight:400 !important;line-height:27px !important;margin-top:0px !important;margin-bottom:0px !important;}::slotted(.tab-slot-image){height:500px;width:auto;margin-bottom:32px}@media screen and (min-width: 992px){::slotted(.tab-slot-image){margin-bottom:unset;height:auto}}.header{text-align:center;margin-bottom:20px}@media only screen and (min-width: 992px){.header{width:70%}}.tabs{display:flex;justify-content:center;margin-bottom:64px;position:relative;z-index:99}.tabs-desktop{display:flex;gap:24px}.tabs-mobile{display:none;position:relative}.dropdown-button{color:white;padding:24px;border:none;border-radius:var(--ptc-border-radius-standard);cursor:pointer;display:flex;align-items:center;justify-content:space-between;width:100%;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-extrabold);text-align:left}.dropdown-button.opened{border-radius:var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px}.dropdown-button.hp-blue{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.dropdown-button.hp-green{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.dropdown-button.hp-red{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.dropdown-button.hp-gray{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.dropdown-button.hp-orange{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}.dropdown-button .arrow{margin-left:24px}.dropdown-menu{position:absolute;width:calc(100% - 2px);background-color:var(--color-white);color:var(--color-gray-10);display:flex;flex-direction:column;border-radius:0px 0px var(--ptc-border-radius-standard) var(--ptc-border-radius-standard);border-top:0px;box-shadow:var(--ptc-shadow-medium)}.dropdown-menu .dropdown-item{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-regular)}.dropdown-item{padding:24px 24px 0px 24px;cursor:pointer}.dropdown-item:last-of-type{padding-bottom:24px}.dropdown-item:last-child{border-bottom:none}.dropdown-item:hover ::slotted(.tab-label){font-weight:var(--ptc-font-weight-bold)}@media (max-width: 992px){.tabs-desktop{display:none}.tabs-mobile{display:block;width:100%}}.content{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;overflow:hidden}.tab-content{display:none;opacity:0;flex-direction:column;width:100%;animation:fadeIn var(--ptc-transition-medium) ease-in-out forwards}.tab-content.active-tab{display:flex;opacity:1}@media only screen and (min-width: 992px){.tab-content{flex-wrap:nowrap;flex-direction:row;width:100%;justify-content:center;align-items:center;gap:56px}}.tab-content img{max-width:100%;width:100%;height:auto;margin-bottom:20px}@media only screen and (min-width: 992px){.tab-content img{width:580px;height:733px;flex-shrink:0}}.content-detail{text-align:left}@media only screen and (min-width: 992px){.content-detail{flex-grow:1;overflow:hidden;word-break:break-word}}.content-detail p,.content-detail h2{margin-block-start:unset;margin-block-end:unset}.content-detail h2{margin-bottom:16px}.content-detail p{margin-bottom:32px}.info-card-wrapper{margin-top:72px;display:flex;justify-content:center;align-items:center;width:100%}.card-section{display:flex;position:relative;flex-wrap:nowrap;flex-shrink:0;-ms-overflow-style:none;scrollbar-width:none;transition:box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);justify-content:flex-start}.card-section::-webkit-scrollbar{display:none}.card-section .card-link{display:inline-flex;position:relative;text-decoration:none;z-index:10;align-items:center;gap:16px;margin-right:24px}.card-section .card-link .link-text{display:block;inline-size:190px;white-space:break-spaces}.card-section:before{position:absolute;width:32px;background:linear-gradient(85deg, rgba(255, 255, 255, 0) 0%, white 100.13%);top:16px;right:0;bottom:0;z-index:12}.card-section.scroll-st{box-shadow:inset 2px 0px 0px rgba(255, 255, 255, 0.3)}.card-section.scroll-ed{box-shadow:inset -2px 0px 0px rgba(255, 255, 255, 0.3)}.card-section.scroll-ed.scroll-st{box-shadow:inset 2px 0px 0px rgba(255, 255, 255, 0.3), inset -2px 0px 0px rgba(255, 255, 255, 0.3)}@media only screen and (min-width: 1200px){.card-section{align-items:flex-start;justify-content:flex-start;align-content:flex-start}.card-section.scroll-st,.card-section.scroll-ed,.card-section.scroll-ed.scroll-st{box-shadow:unset}.card-section .card-link{flex:unset}.card-section .card-link:first-child{margin-left:0}.card-section .card-link:last-child{margin-right:0}}.card-section{overflow:inherit;overflow-x:scroll;overflow-y:hidden;animation-duration:0ms;animation-delay:1000ms;animation-fill-mode:forwards}@media only screen and (min-width: 1200px){.card-section{overflow-x:scroll}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}";
|
|
8
|
+
const homepageToggledContentCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}::slotted(.title){color:var(--color-gray-10) !important;font-family:Raleway !important;font-size:24px !important;font-style:normal !important;font-weight:700 !important;line-height:30px !important;margin-top:0px !important;margin-bottom:16px !important;}::slotted(.description){color:var(--color-gray-10) !important;font-family:Raleway !important;font-size:18px !important;font-style:normal !important;font-weight:400 !important;line-height:27px !important;margin-top:0px !important;margin-bottom:0px !important;}::slotted(.tab-slot-image){height:500px;width:auto;object-fit:contain;margin-bottom:32px}@media screen and (min-width: 992px){::slotted(.tab-slot-image){margin-bottom:unset;height:auto}}.header{text-align:center;margin-bottom:20px}@media only screen and (min-width: 992px){.header{width:70%}}.tabs{display:flex;justify-content:center;margin-bottom:64px;position:relative;z-index:99}.tabs-desktop{display:flex;gap:24px;flex:1}.tabs-desktop homepage-clickable-tab{flex:1 1 122px}.tabs-mobile{display:none;position:relative}.dropdown-button{color:white;padding:24px;border:none;border-radius:var(--ptc-border-radius-standard);cursor:pointer;display:flex;align-items:center;justify-content:space-between;width:100%;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-extrabold);text-align:left}.dropdown-button.opened{border-radius:var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px}.dropdown-button.hp-blue{background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}.dropdown-button.hp-green{background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}.dropdown-button.hp-red{background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}.dropdown-button.hp-gray{background:linear-gradient(180deg, #617480 0%, #819099 100%)}.dropdown-button.hp-orange{background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}.dropdown-button .arrow{margin-left:24px}.dropdown-menu{position:absolute;width:calc(100% - 2px);background-color:var(--color-white);color:var(--color-gray-10);display:flex;flex-direction:column;border-radius:0px 0px var(--ptc-border-radius-standard) var(--ptc-border-radius-standard);border-top:0px;box-shadow:var(--ptc-shadow-medium)}.dropdown-menu .dropdown-item{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-regular)}.dropdown-menu .dropdown-item.active-tab ::slotted(.tab-label){font-weight:var(--ptc-font-weight-bold) !important}.dropdown-item{padding:24px 24px 0px 24px;cursor:pointer}.dropdown-item:last-of-type{padding-bottom:24px}.dropdown-item:last-child{border-bottom:none}.dropdown-item:hover ::slotted(.tab-label){font-weight:var(--ptc-font-weight-bold)}@media (max-width: 992px){.tabs-desktop{display:none}.tabs-mobile{display:block;width:100%}}.content{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;overflow:hidden}.tab-content{display:none;opacity:0;flex-direction:column;width:100%;animation:fadeIn var(--ptc-transition-medium) ease-in-out forwards}.tab-content.active-tab{display:flex;opacity:1}@media only screen and (min-width: 992px){.tab-content{flex-wrap:nowrap;flex-direction:row;width:100%;justify-content:center;align-items:center;gap:56px}}.tab-content img{max-width:100%;width:100%;height:auto;margin-bottom:20px}@media only screen and (min-width: 992px){.tab-content img{width:580px;height:733px;flex-shrink:0}}.content-detail{text-align:left}@media only screen and (min-width: 992px){.content-detail{flex-grow:1;overflow:hidden;word-break:break-word}}.content-detail p,.content-detail h2{margin-block-start:unset;margin-block-end:unset}.content-detail h2{margin-bottom:16px}.content-detail p{margin-bottom:32px}.info-card-wrapper{margin-top:72px;display:flex;justify-content:center;align-items:center;width:100%}.card-section{display:flex;position:relative;flex-wrap:nowrap;flex-shrink:0;-ms-overflow-style:none;scrollbar-width:none;transition:box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);justify-content:flex-start}.card-section::-webkit-scrollbar{display:none}.card-section .card-link{display:inline-flex;position:relative;text-decoration:none;z-index:10;align-items:center;gap:16px;margin-right:24px}.card-section .card-link .link-text{display:block;inline-size:190px;white-space:break-spaces}.card-section:before{position:absolute;width:32px;background:linear-gradient(85deg, rgba(255, 255, 255, 0) 0%, white 100.13%);top:16px;right:0;bottom:0;z-index:12}.card-section.scroll-st{box-shadow:inset 2px 0px 0px rgba(255, 255, 255, 0.3)}.card-section.scroll-ed{box-shadow:inset -2px 0px 0px rgba(255, 255, 255, 0.3)}.card-section.scroll-ed.scroll-st{box-shadow:inset 2px 0px 0px rgba(255, 255, 255, 0.3), inset -2px 0px 0px rgba(255, 255, 255, 0.3)}@media only screen and (min-width: 1200px){.card-section{align-items:flex-start;justify-content:flex-start;align-content:flex-start}.card-section.scroll-st,.card-section.scroll-ed,.card-section.scroll-ed.scroll-st{box-shadow:unset}.card-section .card-link{flex:unset}.card-section .card-link:first-child{margin-left:0}.card-section .card-link:last-child{margin-right:0}}.card-section{overflow:inherit;overflow-x:scroll;overflow-y:hidden;animation-duration:0ms;animation-delay:1000ms;animation-fill-mode:forwards}@media only screen and (min-width: 1200px){.card-section{overflow-x:scroll}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}";
|
|
8
9
|
|
|
9
10
|
const HomepageToggledContent = class {
|
|
10
11
|
constructor(hostRef) {
|
|
@@ -31,6 +32,9 @@ const HomepageToggledContent = class {
|
|
|
31
32
|
//this.onSliderScroll();
|
|
32
33
|
//observeInView(this.el, '.card-section', true);
|
|
33
34
|
}
|
|
35
|
+
componentDidRender() {
|
|
36
|
+
utils.equalizeHeightsWithinShadow('homepage-clickable-tab', this.el);
|
|
37
|
+
}
|
|
34
38
|
handleTabSelected(tabIndex) {
|
|
35
39
|
this.activeTab = tabIndex;
|
|
36
40
|
this.dropdownOpen = false; // Close dropdown on selection
|
|
@@ -108,7 +112,7 @@ const HomepageToggledContent = class {
|
|
|
108
112
|
const upArrow = (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, index.h("path", { d: "M13 8.5L7.34315 2.71178L1.68629 8.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
|
|
109
113
|
const downArrow = (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, index.h("path", { d: "M13 2.5L7.34315 8.28822L1.68629 2.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
|
|
110
114
|
const tabs = this.getTabs();
|
|
111
|
-
return (index.h("div", { class: "wrapper" }, index.h("div", { class: "header" }, index.h("h2", null, index.h("slot", { name: "title" })), index.h("p", null, index.h("slot", { name: "description" }))), index.h("div", { class: "tabs" }, index.h("div", { class: "tabs-desktop" }, tabs.map(tab => (index.h("homepage-clickable-tab", { label: tab.label, active: this.activeTab === tab.index, activeColor: this.colors[tab.index], onClick: () => this.handleTabSelected(tab.index) })))), index.h("div", { class: "tabs-mobile" }, index.h("button", { class: `dropdown-button ${this.colors[this.activeTab]} ${this.dropdownOpen ? 'opened' : ''}`, onClick: () => this.toggleDropdown() }, tabs[this.activeTab].label, index.h("span", { class: "arrow" }, this.dropdownOpen ? upArrow : downArrow)), this.dropdownOpen && (index.h("div", { class: "dropdown-menu" }, tabs.map(tab => (index.h("div", { class:
|
|
115
|
+
return (index.h("div", { class: "wrapper" }, index.h("div", { class: "header" }, index.h("h2", null, index.h("slot", { name: "title" })), index.h("p", null, index.h("slot", { name: "description" }))), index.h("div", { class: "tabs" }, index.h("div", { class: "tabs-desktop" }, tabs.map(tab => (index.h("homepage-clickable-tab", { label: tab.label, active: this.activeTab === tab.index, activeColor: this.colors[tab.index], onClick: () => this.handleTabSelected(tab.index) })))), index.h("div", { class: "tabs-mobile" }, index.h("button", { class: `dropdown-button ${this.colors[this.activeTab]} ${this.dropdownOpen ? 'opened' : ''}`, onClick: () => this.toggleDropdown() }, tabs[this.activeTab].label, index.h("span", { class: "arrow" }, this.dropdownOpen ? upArrow : downArrow)), this.dropdownOpen && (index.h("div", { class: "dropdown-menu" }, tabs.map(tab => (index.h("div", { class: `dropdown-item ${tab.index === this.activeTab ? 'active-tab' : ''}`, onClick: () => this.handleTabSelected(tab.index) }, index.h("slot", { name: `tab-label-${tab.index}` })))))))), index.h("div", { class: "content" }, tabs.map((tab, index$1) => (index.h("div", { class: `tab-content ${this.activeTab === index$1 ? 'active-tab' : ''}` }, index.h("slot", { name: `tab-image-${index$1}` }), index.h("div", { class: "content-detail" }, index.h("div", { hidden: true }, tab.label), index.h("h2", null, index.h("slot", { name: `tab-title-${index$1}` })), index.h("p", null, index.h("slot", { name: `tab-content-${index$1}` })), index.h("slot", { name: `tab-button-${index$1}` }), this.activeTab === index$1 && this.tileElements.length > 0 ? (index.h("div", Object.assign({ class: "info-card-wrapper card-section" }, this.getSliderBindings()), this.tileElements.map((tile, index$1) => (index.h("div", { class: `swiper-slide card-link card-link-${index$1 + 1}`, "tab-index": index$1 + 1, key: index$1, innerHTML: tile.outerHTML, onMouseDown: e => this.onCardMouseDown(e), onMouseUp: e => this.onCardMouseUp(e), onMouseLeave: e => this.onCardMouseUp(e), onTouchEnd: e => {
|
|
112
116
|
console.log('yes');
|
|
113
117
|
this.onCardMouseUp(e);
|
|
114
118
|
} }))))) : null)))))));
|