@ptcwebops/ptcw-design 6.2.21 → 6.2.22-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/blog-detail-content_2.cjs.entry.js +1 -1
- package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
- package/dist/cjs/blogs-search-section.cjs.entry.js +1 -1
- package/dist/cjs/{component-06dda623.js → component-4dd13907.js} +2643 -832
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +146 -0
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +7 -13
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset_18.cjs.entry.js +1501 -0
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
- package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +155 -0
- package/dist/cjs/ptc-card-content.cjs.entry.js +76 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +3 -8
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +239 -0
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
- package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +787 -5
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-card.cjs.entry.js +8 -2
- package/dist/cjs/ptc-icon-component.cjs.entry.js +2 -39
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +3 -50
- package/dist/cjs/ptc-link.cjs.entry.js +87 -0
- package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +136 -0
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +7 -2
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +2 -2
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +2 -2
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/{utils-87d7b99f.js → utils-ad441b07.js} +9 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/icon-asset/icon-asset.css +0 -6
- package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +20 -12
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +20 -9
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +3 -25
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +1 -3
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +71 -23
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +30 -12
- 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/ptc-bio-card/ptc-bio-card.css +20 -12
- package/dist/collection/components/ptc-button/ptc-button.js +4 -1
- package/dist/collection/components/ptc-card/ptc-card.css +0 -1
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +0 -2
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +1 -20
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +20 -12
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +20 -12
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +20 -12
- package/dist/collection/components/ptc-footer/ptc-footer-v2.css +14 -1
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +10 -0
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +25 -1
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +0 -12
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +1 -38
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +0 -8
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +2 -67
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +32 -12
- package/dist/collection/components/ptc-link/ptc-link.css +8 -0
- package/dist/collection/components/ptc-link/ptc-link.js +4 -1
- package/dist/collection/components/ptc-modal/ptc-modal.css +6 -13
- package/dist/collection/components/ptc-modal/ptc-modal.js +19 -2
- package/dist/collection/components/ptc-para/ptc-para.css +3 -0
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +20 -12
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +26 -116
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +1 -6
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +12 -0
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +20 -12
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +20 -12
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +20 -12
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +20 -12
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +20 -12
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +10 -0
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +24 -1
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +2 -2
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +20 -12
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +20 -12
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +20 -12
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +1 -1
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +6 -0
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +8 -0
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +3 -0
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +7 -0
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +9 -1
- 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/utils.js +8 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +210 -159
- package/dist/esm/academic-form-test.entry.js +1 -1
- package/dist/esm/author-listing-example.entry.js +1 -1
- package/dist/esm/blog-detail-content_2.entry.js +2 -2
- package/dist/esm/blog-detail-layout.entry.js +2 -2
- package/dist/esm/blogs-search-section.entry.js +2 -2
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/{component-274da230.js → component-9c921cc6.js} +2592 -793
- 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/event-jumbotron-example.entry.js +142 -0
- package/dist/esm/event-podcast-slider-example.entry.js +8 -14
- package/dist/esm/featured-events-slider-example.entry.js +1 -1
- package/dist/esm/featured-list.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +2 -2
- package/dist/esm/homepage-toggled-content.entry.js +2 -2
- package/dist/esm/icon-asset_18.entry.js +1480 -0
- package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +2 -2
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/modal-form-example.entry.js +90 -0
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-card-bottom_2.entry.js +150 -0
- package/dist/esm/ptc-card-content.entry.js +72 -0
- package/dist/esm/ptc-card_2.entry.js +4 -9
- package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
- 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 +234 -0
- package/dist/esm/ptc-collapse-list.entry.js +2 -2
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-countdown.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +2 -3
- 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 +2 -2
- package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +2 -2
- package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +2 -2
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +785 -5
- 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-homepage-video-background.entry.js +2 -2
- package/dist/esm/ptc-icon-card.entry.js +9 -3
- package/dist/esm/ptc-icon-component.entry.js +3 -40
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +4 -51
- package/dist/esm/ptc-image-download-strip.entry.js +1 -1
- package/dist/esm/ptc-info-tile.entry.js +1 -1
- package/dist/esm/ptc-inline-cta.entry.js +1 -1
- package/dist/esm/ptc-link.entry.js +83 -0
- 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-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-skip-to-content.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-podcast-card.entry.js +2 -2
- package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +11 -3
- 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 +3 -3
- package/dist/esm/ptc-product-card.entry.js +2 -2
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ptc-readmore-new.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +2 -2
- 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-scroll-button.entry.js +132 -0
- 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 +8 -3
- package/dist/esm/ptc-social-icons.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-title.entry.js +3 -3
- package/dist/esm/ptc-subnav-card.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 +2 -2
- package/dist/esm/ptc-tooltip-v3.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 +2 -2
- package/dist/esm/ptc-value-prop-card.entry.js +1 -1
- package/dist/esm/ptc-video-embed.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +3 -3
- 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-b7c6422e.js → utils-ff65c75b.js} +9 -1
- package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
- package/dist/ptcw-design/p-01ad1cc2.entry.js +68 -0
- package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
- package/dist/ptcw-design/p-051ba8f9.entry.js +1 -0
- 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-71360e29.entry.js → p-0b182300.entry.js} +1 -1
- package/dist/ptcw-design/{p-34b270c1.entry.js → p-0c862dbd.entry.js} +1 -1
- package/dist/ptcw-design/p-0eb9ea11.entry.js +1 -0
- package/dist/ptcw-design/{p-fb8584e4.entry.js → p-0ed4609e.entry.js} +1 -1
- package/dist/ptcw-design/p-11eb4dd1.entry.js +1 -0
- package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
- package/dist/ptcw-design/{p-2657df50.entry.js → p-132f71c3.entry.js} +1 -1
- package/dist/ptcw-design/{p-99b45d23.entry.js → p-139ca5d2.entry.js} +1 -1
- package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
- package/dist/ptcw-design/{p-7d29a418.entry.js → p-183ba1ca.entry.js} +1 -1
- package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
- package/dist/ptcw-design/{p-464d8e22.entry.js → p-1d48bad3.entry.js} +1 -1
- package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
- package/dist/ptcw-design/{p-6b32020a.entry.js → p-1ec32cbc.entry.js} +1 -1
- package/dist/ptcw-design/{p-c1ebaf0f.entry.js → p-20388467.entry.js} +1 -1
- package/dist/ptcw-design/p-20670bc5.entry.js +1 -0
- package/dist/ptcw-design/p-208ca9de.entry.js +1 -0
- package/dist/ptcw-design/{p-bf8fbba7.entry.js → p-208ec7f3.entry.js} +1 -1
- package/dist/ptcw-design/p-20d837a9.entry.js +1 -0
- package/dist/ptcw-design/p-20d84f63.entry.js +1 -0
- package/dist/ptcw-design/p-212cdacd.entry.js +1 -0
- package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
- package/dist/ptcw-design/p-286e048c.entry.js +1 -0
- package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
- package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
- package/dist/ptcw-design/p-29ae44dd.entry.js +1 -0
- package/dist/ptcw-design/{p-52b82ac5.entry.js → p-2a255901.entry.js} +1 -1
- package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
- package/dist/ptcw-design/p-2d0a9613.entry.js +1 -0
- package/dist/ptcw-design/p-2ee3a32b.entry.js +1 -0
- package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
- package/dist/ptcw-design/p-330e1a36.entry.js +1 -0
- package/dist/ptcw-design/p-36c42aae.entry.js +1 -0
- package/dist/ptcw-design/p-3717a6e1.entry.js +1 -0
- package/dist/ptcw-design/{p-dc8c0a06.entry.js → p-37899461.entry.js} +1 -1
- package/dist/ptcw-design/{p-6e8ed2ee.entry.js → p-379fcc72.entry.js} +1 -1
- package/dist/ptcw-design/p-39ec04d4.entry.js +1 -0
- package/dist/ptcw-design/p-3a7c5330.entry.js +1 -0
- package/dist/ptcw-design/p-3ada2482.entry.js +1 -0
- package/dist/ptcw-design/{p-867a808f.entry.js → p-3b6c2a79.entry.js} +1 -1
- package/dist/ptcw-design/{p-f61a3476.entry.js → p-3b967df1.entry.js} +1 -1
- package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
- package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
- package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
- package/dist/ptcw-design/{p-fe907670.entry.js → p-4335d7f3.entry.js} +1 -1
- package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
- package/dist/ptcw-design/p-4e41c031.entry.js +1 -0
- package/dist/ptcw-design/p-4e8c87e1.entry.js +1 -0
- package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
- package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
- package/dist/ptcw-design/p-5ae21271.entry.js +1 -0
- package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
- package/dist/ptcw-design/{p-61d28206.entry.js → p-5fb671ee.entry.js} +1 -1
- package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
- package/dist/ptcw-design/p-640d07b5.entry.js +1 -0
- package/dist/ptcw-design/p-66d50b46.entry.js +1 -0
- package/dist/ptcw-design/p-6a79e68e.entry.js +1 -0
- package/dist/ptcw-design/p-6af8c192.entry.js +1 -0
- package/dist/ptcw-design/{p-9de963f8.entry.js → p-6d628113.entry.js} +1 -1
- package/dist/ptcw-design/{p-f4699d4e.entry.js → p-70a5f144.entry.js} +1 -1
- package/dist/ptcw-design/p-72681e91.entry.js +1 -0
- package/dist/ptcw-design/p-73a41148.entry.js +1 -0
- package/dist/ptcw-design/{p-04aae3f5.entry.js → p-74a845fd.entry.js} +1 -1
- package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
- package/dist/ptcw-design/{p-8038bf31.entry.js → p-779c3f21.entry.js} +1 -1
- package/dist/ptcw-design/{p-282b7d4e.entry.js → p-78252282.entry.js} +1 -1
- package/dist/ptcw-design/p-7853f1b5.entry.js +1 -0
- package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
- package/dist/ptcw-design/{p-4b192f5e.entry.js → p-7e19be10.entry.js} +1 -1
- package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-7cc9255e.entry.js → p-7fada7ae.entry.js} +1 -1
- package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
- package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
- package/dist/ptcw-design/{p-48815ee0.entry.js → p-88379d69.entry.js} +1 -1
- package/dist/ptcw-design/p-8872161f.js +1 -0
- package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
- package/dist/ptcw-design/p-907727fd.entry.js +1 -0
- package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
- package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
- package/dist/ptcw-design/p-98083315.entry.js +1 -0
- package/dist/ptcw-design/{p-40b8c884.entry.js → p-986be938.entry.js} +1 -1
- package/dist/ptcw-design/p-99e41dc4.entry.js +1 -0
- package/dist/ptcw-design/{p-bfacfe67.entry.js → p-9a28ded2.entry.js} +1 -1
- package/dist/ptcw-design/p-9ae901e2.entry.js +1 -0
- package/dist/ptcw-design/{p-e38ed0e3.entry.js → p-9b60270e.entry.js} +1 -1
- package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
- package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
- package/dist/ptcw-design/p-9e6fb4ba.entry.js +1 -0
- package/dist/ptcw-design/p-a220ab2c.entry.js +1 -0
- 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-29639cd4.entry.js → p-a560e839.entry.js} +1 -1
- package/dist/ptcw-design/{p-8191928d.entry.js → p-a974f98f.entry.js} +1 -1
- package/dist/ptcw-design/{p-d20cf3c5.entry.js → p-aaf8fb04.entry.js} +1 -1
- package/dist/ptcw-design/p-aba549b7.entry.js +1 -0
- package/dist/ptcw-design/p-abdd3b8e.entry.js +1 -0
- package/dist/ptcw-design/p-ac32267c.entry.js +1 -0
- package/dist/ptcw-design/{p-a25578e9.entry.js → p-ac78409e.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
- package/dist/ptcw-design/{p-34610052.entry.js → p-b1c1de30.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-7e7ebf0a.entry.js → p-b4ba719a.entry.js} +1 -1
- package/dist/ptcw-design/p-b5d0e4a2.entry.js +1 -0
- package/dist/ptcw-design/p-bcab66bf.js +336 -0
- package/dist/ptcw-design/{p-a7cb3851.entry.js → p-be00fb74.entry.js} +1 -1
- package/dist/ptcw-design/{p-815848f6.entry.js → p-bf076b87.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-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
- package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
- package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
- package/dist/ptcw-design/{p-97b9f41b.entry.js → p-c5886b7b.entry.js} +1 -1
- package/dist/ptcw-design/{p-b59f30d5.entry.js → p-c9518684.entry.js} +1 -1
- package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
- package/dist/ptcw-design/p-ca268a17.entry.js +1 -0
- package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
- package/dist/ptcw-design/p-ce6d1c5f.entry.js +1 -0
- package/dist/ptcw-design/{p-1a6759a4.entry.js → p-d113403b.entry.js} +1 -1
- package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
- package/dist/ptcw-design/{p-72825cf6.entry.js → p-d21cf742.entry.js} +1 -1
- package/dist/ptcw-design/{p-df8526a2.entry.js → p-d871e7f7.entry.js} +1 -1
- package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
- package/dist/ptcw-design/{p-760507e1.entry.js → p-dbb4e7f9.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
- package/dist/ptcw-design/{p-d7275289.entry.js → p-e1242dd4.entry.js} +1 -1
- package/dist/ptcw-design/{p-a37c5209.entry.js → p-e2e33ddb.entry.js} +1 -1
- package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
- package/dist/ptcw-design/{p-89177041.entry.js → p-e75dff95.entry.js} +1 -1
- package/dist/ptcw-design/p-e77d2204.entry.js +1 -0
- package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
- package/dist/ptcw-design/{p-0a9ee6c2.entry.js → p-e8b51e7d.entry.js} +1 -1
- package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
- package/dist/ptcw-design/{p-27a4ee73.entry.js → p-eef5d58b.entry.js} +1 -1
- package/dist/ptcw-design/{p-071a6109.entry.js → p-ef0079b0.entry.js} +1 -1
- package/dist/ptcw-design/p-ef55ab3c.entry.js +1 -0
- package/dist/ptcw-design/{p-da02913d.entry.js → p-f05be87f.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
- package/dist/ptcw-design/p-fb2e4612.entry.js +1 -0
- package/dist/ptcw-design/{p-4c096997.entry.js → p-fc0d9251.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +1 -0
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/ptc-button/ptc-button.d.ts +1 -0
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +0 -2
- package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +6 -0
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +0 -5
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +0 -2
- package/dist/types/components/ptc-link/ptc-link.d.ts +1 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +2 -1
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components/ptc-social-icons-footer/ptc-social-icons-footer.d.ts +5 -0
- package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +1 -0
- package/dist/types/components.d.ts +37 -14
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +1 -1
- package/readme.md +5 -1
- package/dist/cjs/component-5b5b6a98.js +0 -1819
- package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +0 -1374
- package/dist/cjs/interfaces-574e6df7.js +0 -15
- package/dist/cjs/max-width-container.cjs.entry.js +0 -54
- package/dist/cjs/ptc-background-video.cjs.entry.js +0 -102
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -67
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +0 -151
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
- package/dist/cjs/ptc-nav-link.cjs.entry.js +0 -48
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +0 -106
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +0 -51
- package/dist/cjs/ptc-picture.cjs.entry.js +0 -163
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +0 -70
- package/dist/cjs/ptc-subnav.cjs.entry.js +0 -37
- package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
- package/dist/cjs/validation-messages-33a4f26b.js +0 -126
- package/dist/esm/component-341e4eaa.js +0 -1802
- package/dist/esm/event-jumbotron-example_15.entry.js +0 -1356
- package/dist/esm/interfaces-4caedd26.js +0 -12
- package/dist/esm/max-width-container.entry.js +0 -50
- package/dist/esm/ptc-background-video.entry.js +0 -98
- package/dist/esm/ptc-card-bottom.entry.js +0 -63
- package/dist/esm/ptc-jumbotron.entry.js +0 -147
- package/dist/esm/ptc-multi-select_2.entry.js +0 -665
- package/dist/esm/ptc-nav-link.entry.js +0 -44
- package/dist/esm/ptc-nav-slider.entry.js +0 -102
- package/dist/esm/ptc-nav-submenu.entry.js +0 -47
- package/dist/esm/ptc-picture.entry.js +0 -159
- package/dist/esm/ptc-sticky-section.entry.js +0 -66
- package/dist/esm/ptc-subnav.entry.js +0 -33
- package/dist/esm/ptc-tooltip.entry.js +0 -103
- package/dist/esm/validation-messages-adbb6518.js +0 -124
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-0a214a22.entry.js +0 -1
- package/dist/ptcw-design/p-0cf5bc9e.entry.js +0 -1
- package/dist/ptcw-design/p-0ee01112.entry.js +0 -1
- package/dist/ptcw-design/p-103ec637.entry.js +0 -1
- package/dist/ptcw-design/p-12e61bb5.entry.js +0 -1
- package/dist/ptcw-design/p-17c3f01a.entry.js +0 -1
- package/dist/ptcw-design/p-18a5a338.js +0 -1
- package/dist/ptcw-design/p-18f59395.entry.js +0 -1
- package/dist/ptcw-design/p-1a0bf166.entry.js +0 -1
- package/dist/ptcw-design/p-1ca8a5bf.entry.js +0 -1
- package/dist/ptcw-design/p-2335d57c.entry.js +0 -1
- package/dist/ptcw-design/p-25178331.entry.js +0 -1
- package/dist/ptcw-design/p-260ecfef.entry.js +0 -1
- package/dist/ptcw-design/p-2f7ea1a6.entry.js +0 -1
- package/dist/ptcw-design/p-3738a01f.entry.js +0 -1
- package/dist/ptcw-design/p-398d2ca5.entry.js +0 -1
- package/dist/ptcw-design/p-426715a4.entry.js +0 -1
- package/dist/ptcw-design/p-4cee12b8.entry.js +0 -1
- package/dist/ptcw-design/p-4e2bb0e0.entry.js +0 -1
- package/dist/ptcw-design/p-58bb25e6.entry.js +0 -1
- package/dist/ptcw-design/p-5feaea80.entry.js +0 -1
- package/dist/ptcw-design/p-711bcdad.js +0 -1
- package/dist/ptcw-design/p-759f6457.entry.js +0 -1
- package/dist/ptcw-design/p-841b807d.js +0 -1
- package/dist/ptcw-design/p-863b5b20.entry.js +0 -68
- package/dist/ptcw-design/p-885b3428.entry.js +0 -1
- package/dist/ptcw-design/p-8c692bd6.entry.js +0 -1
- package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
- package/dist/ptcw-design/p-999d1c9f.entry.js +0 -1
- package/dist/ptcw-design/p-99daf693.entry.js +0 -1
- package/dist/ptcw-design/p-9d3a7f36.entry.js +0 -1
- package/dist/ptcw-design/p-9fe0c27d.entry.js +0 -1
- package/dist/ptcw-design/p-a114198f.entry.js +0 -1
- package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
- package/dist/ptcw-design/p-a54c6da5.entry.js +0 -1
- package/dist/ptcw-design/p-a8f30586.entry.js +0 -1
- package/dist/ptcw-design/p-b436f56d.entry.js +0 -1
- package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
- package/dist/ptcw-design/p-be533f0d.js +0 -134
- package/dist/ptcw-design/p-c1513c3f.js +0 -203
- package/dist/ptcw-design/p-c89030e4.entry.js +0 -1
- package/dist/ptcw-design/p-cffebefe.entry.js +0 -1
- package/dist/ptcw-design/p-d1857ada.entry.js +0 -1
- package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
- package/dist/ptcw-design/p-dc54b2b0.entry.js +0 -1
- package/dist/ptcw-design/p-e4b034b9.entry.js +0 -1
- package/dist/ptcw-design/p-e7937ac1.entry.js +0 -1
- package/dist/ptcw-design/p-e89ce54f.entry.js +0 -1
- package/dist/ptcw-design/p-e9cb2483.entry.js +0 -1
- package/dist/ptcw-design/p-e9f12e0d.entry.js +0 -1
- package/dist/ptcw-design/p-eab1042e.entry.js +0 -1
- package/dist/ptcw-design/p-f05fec22.entry.js +0 -1
- package/dist/ptcw-design/p-f5c97ab2.entry.js +0 -1
- package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
- package/dist/ptcw-design/p-fd8f2c86.entry.js +0 -1
|
@@ -71,7 +71,6 @@ export class EventJumbotronExample {
|
|
|
71
71
|
});
|
|
72
72
|
panel.style.display = 'block';
|
|
73
73
|
panel.style.width = `calc(100% - ${card.getBoundingClientRect().width}px`;
|
|
74
|
-
card.style.height = `${panel.getBoundingClientRect().height}px`;
|
|
75
74
|
this.arrowButtons = document.querySelectorAll('ptc-scroll-button');
|
|
76
75
|
setTimeout(() => {
|
|
77
76
|
panel.style.transform = `translateX(${card.offsetWidth}px)`;
|
|
@@ -95,7 +94,6 @@ export class EventJumbotronExample {
|
|
|
95
94
|
this.slider.style.transform = 'translateX(0)';
|
|
96
95
|
Array.from(this.slider.children).forEach(card => {
|
|
97
96
|
card.classList.remove('hidden', 'active');
|
|
98
|
-
card.style.height = '530px';
|
|
99
97
|
});
|
|
100
98
|
}
|
|
101
99
|
enableDragging() {
|
|
@@ -126,7 +124,7 @@ export class EventJumbotronExample {
|
|
|
126
124
|
h("div", { class: {
|
|
127
125
|
'event-jumbotron': true,
|
|
128
126
|
'ptc-container': this.isDesktop,
|
|
129
|
-
} }, h("div", { class: "jumbotron-cards-wrapper" }, h("div", { class: "jumbotron-cards" }, this.cards.map((card, index) => (h("div", { class: "card", onClick: () => this.handleCardClick(index), "data-panel": `panel-${index}
|
|
127
|
+
} }, h("div", { class: "jumbotron-cards-wrapper" }, h("div", { class: "jumbotron-cards" }, this.cards.map((card, index) => (h("div", { class: "card", onClick: () => this.handleCardClick(index), "data-panel": `panel-${index}` }, h("ptc-img", { "border-radius": "radius-standard", "image-type": "smart-bg", "img-url": card.cardBg, "load-mode": "lazy-bg", styles: "ptc-img{position: absolute; width: 100%; height: 100%; z-index: 0}" }), h("div", { class: "text-wrapper" }, h("h3", { class: "card-title" }, card.title, ' ', h("span", null, card.description)), !this.activePanel && [h("div", { innerHTML: card.panelContent })]))))), this.cards.map((_, index) => (h("div", { id: `panel-${index}`, class: "panel" }, h("button", { tabindex: "-1", class: "close-panel", onClick: () => this.closePanel(`panel-${index}`), "aria-label": "Close panel" }, h("ptc-close-icon", null)), h("slot", { name: `panel-content-${index}` })))), !this.isDesktop && this.cards.map((_, index) => (h("ptc-modal", { id: `modal-${index}`, show: false, "close-on-blur": true, "modal-type": "event-listing", "custom-class": "event-mobile-modal", headerOnlyText1: this.cards[index].title, headerOnlyText2: this.cards[index].description, headerOnlyBg: this.cards[index].cardBg, bottomCloseBtn: this.modalBtnCloseText }, h("div", { innerHTML: modalContentSlots[index].innerHTML })))))),
|
|
130
128
|
h("div", { class: "white-placeholder" }),
|
|
131
129
|
];
|
|
132
130
|
}
|
|
@@ -995,8 +995,8 @@ swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,
|
|
|
995
995
|
transform: rotate(360deg);
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
|
-
|
|
999
|
-
|
|
998
|
+
:host {
|
|
999
|
+
display: block;
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
1002
|
.hcs-title {
|
|
@@ -1020,40 +1020,47 @@ homepage-case-study-cards {
|
|
|
1020
1020
|
height: 100%;
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
|
-
.swiper-container {
|
|
1024
|
-
overflow: hidden;
|
|
1025
|
-
margin-left: -10px;
|
|
1026
|
-
margin-right: -10px;
|
|
1027
|
-
}
|
|
1028
|
-
.swiper-container .swiper-wrapper {
|
|
1029
|
-
padding-left: 10px;
|
|
1030
|
-
padding-right: 10px;
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
1023
|
.swiper-homepage-cs {
|
|
1034
1024
|
margin-top: 1rem;
|
|
1035
1025
|
}
|
|
1036
1026
|
.swiper-homepage-cs .swiper-horizontal {
|
|
1037
|
-
display:
|
|
1038
|
-
|
|
1039
|
-
|
|
1027
|
+
display: flex;
|
|
1028
|
+
flex-direction: column;
|
|
1029
|
+
align-items: center;
|
|
1030
|
+
padding-bottom: 3.5rem;
|
|
1031
|
+
padding-top: 2rem;
|
|
1040
1032
|
}
|
|
1041
1033
|
.swiper-homepage-cs .swiper-horizontal .swiper-slide:first-child {
|
|
1042
|
-
margin-left:
|
|
1034
|
+
margin-left: 16px;
|
|
1043
1035
|
}
|
|
1044
1036
|
.swiper-homepage-cs .swiper-horizontal .swiper-slide:last-child {
|
|
1045
|
-
margin-right:
|
|
1037
|
+
margin-right: 16px;
|
|
1046
1038
|
}
|
|
1047
1039
|
.swiper-homepage-cs .swiper-horizontal .swiper-scrollbar {
|
|
1048
1040
|
position: absolute;
|
|
1049
|
-
left:
|
|
1050
|
-
transform:
|
|
1041
|
+
left: auto;
|
|
1042
|
+
transform: translateY(-13px);
|
|
1051
1043
|
z-index: 50;
|
|
1052
|
-
width:
|
|
1044
|
+
width: 209px;
|
|
1053
1045
|
height: 8px;
|
|
1054
1046
|
border-radius: 999px;
|
|
1055
1047
|
background: #E4E7E9;
|
|
1056
1048
|
}
|
|
1049
|
+
@media (min-width: 480px) {
|
|
1050
|
+
.swiper-homepage-cs .swiper-horizontal .swiper-scrollbar {
|
|
1051
|
+
width: 329px;
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
@media (min-width: 768px) {
|
|
1055
|
+
.swiper-homepage-cs .swiper-horizontal .swiper-scrollbar {
|
|
1056
|
+
width: 429px;
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
@media (min-width: 992px) {
|
|
1060
|
+
.swiper-homepage-cs .swiper-horizontal .swiper-scrollbar {
|
|
1061
|
+
width: 373px;
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1057
1064
|
.swiper-homepage-cs .swiper-horizontal .swiper-scrollbar .swiper-scrollbar-drag {
|
|
1058
1065
|
height: 8px;
|
|
1059
1066
|
border-radius: 999px;
|
|
@@ -1073,7 +1080,7 @@ homepage-case-study-cards {
|
|
|
1073
1080
|
top: auto;
|
|
1074
1081
|
bottom: 0px;
|
|
1075
1082
|
left: auto;
|
|
1076
|
-
right: calc(50% +
|
|
1083
|
+
right: calc(50% + 126.5px);
|
|
1077
1084
|
height: 40px;
|
|
1078
1085
|
width: 40px;
|
|
1079
1086
|
border-radius: 4px;
|
|
@@ -1099,12 +1106,30 @@ homepage-case-study-cards {
|
|
|
1099
1106
|
height: 14px;
|
|
1100
1107
|
width: 9px;
|
|
1101
1108
|
}
|
|
1109
|
+
@media (min-width: 480px) {
|
|
1110
|
+
.swiper-homepage-cs .swiper-button-prev,
|
|
1111
|
+
.swiper-homepage-cs .swiper-rtl .swiper-button-next {
|
|
1112
|
+
right: calc(50% + 180.5px);
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
@media (min-width: 768px) {
|
|
1116
|
+
.swiper-homepage-cs .swiper-button-prev,
|
|
1117
|
+
.swiper-homepage-cs .swiper-rtl .swiper-button-next {
|
|
1118
|
+
right: calc(50% + 230.5px);
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
@media (min-width: 992px) {
|
|
1122
|
+
.swiper-homepage-cs .swiper-button-prev,
|
|
1123
|
+
.swiper-homepage-cs .swiper-rtl .swiper-button-next {
|
|
1124
|
+
right: calc(50% + 224px);
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1102
1127
|
.swiper-homepage-cs .swiper-button-next,
|
|
1103
1128
|
.swiper-homepage-cs .swiper-rtl .swiper-button-prev {
|
|
1104
1129
|
top: auto;
|
|
1105
1130
|
bottom: 0px;
|
|
1106
1131
|
right: auto;
|
|
1107
|
-
left: calc(50% +
|
|
1132
|
+
left: calc(50% + 126.5px);
|
|
1108
1133
|
height: 40px;
|
|
1109
1134
|
width: 40px;
|
|
1110
1135
|
border-radius: 4px;
|
|
@@ -1130,12 +1155,30 @@ homepage-case-study-cards {
|
|
|
1130
1155
|
height: 14px;
|
|
1131
1156
|
width: 9px;
|
|
1132
1157
|
}
|
|
1158
|
+
@media (min-width: 480px) {
|
|
1159
|
+
.swiper-homepage-cs .swiper-button-next,
|
|
1160
|
+
.swiper-homepage-cs .swiper-rtl .swiper-button-prev {
|
|
1161
|
+
left: calc(50% + 180.5px);
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
@media (min-width: 768px) {
|
|
1165
|
+
.swiper-homepage-cs .swiper-button-next,
|
|
1166
|
+
.swiper-homepage-cs .swiper-rtl .swiper-button-prev {
|
|
1167
|
+
left: calc(50% + 230.5px);
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
@media (min-width: 992px) {
|
|
1171
|
+
.swiper-homepage-cs .swiper-button-next,
|
|
1172
|
+
.swiper-homepage-cs .swiper-rtl .swiper-button-prev {
|
|
1173
|
+
left: calc(50% + 224px);
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1133
1176
|
|
|
1134
1177
|
.swiper-slide {
|
|
1135
1178
|
text-align: center;
|
|
1136
1179
|
font-size: 18px;
|
|
1137
1180
|
display: flex;
|
|
1138
|
-
justify-content:
|
|
1181
|
+
justify-content: center;
|
|
1139
1182
|
align-items: center;
|
|
1140
1183
|
}
|
|
1141
1184
|
|
|
@@ -1147,6 +1190,8 @@ homepage-case-study-cards {
|
|
|
1147
1190
|
}
|
|
1148
1191
|
|
|
1149
1192
|
.event-slider-cards.swiper-horizontal {
|
|
1193
|
+
position: relative;
|
|
1194
|
+
overflow-y: hidden;
|
|
1150
1195
|
scrollbar-width: none;
|
|
1151
1196
|
}
|
|
1152
1197
|
.event-slider-cards.swiper-horizontal .swiper-slide {
|
|
@@ -1156,6 +1201,9 @@ homepage-case-study-cards {
|
|
|
1156
1201
|
.event-slider-cards.swiper-horizontal .swiper-slide::-webkit-scrollbar {
|
|
1157
1202
|
display: none;
|
|
1158
1203
|
}
|
|
1204
|
+
.event-slider-cards.swiper-horizontal .swiper-slide:first-child {
|
|
1205
|
+
margin-left: 4px !important;
|
|
1206
|
+
}
|
|
1159
1207
|
|
|
1160
1208
|
@media (min-width: 992px) {
|
|
1161
1209
|
.event-slider-cards.swiper-horizontal .swiper-slide {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Host, h } from '@stencil/core';
|
|
2
2
|
import Swiper, { Navigation, Pagination, Scrollbar, Mousewheel } from 'swiper';
|
|
3
3
|
export class EventPodcastSliderExample {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.sliderType = 'event-slider-cards';
|
|
6
|
+
}
|
|
4
7
|
componentDidLoad() {
|
|
5
|
-
//const swiperContainer = this.el.querySelector('.swiper-container');
|
|
6
|
-
//const slides = swiperContainer.querySelectorAll('.swiper-slide');
|
|
7
|
-
// Define a desktop breakpoint
|
|
8
|
-
//const isDesktop = window.matchMedia('(min-width: 992px)').matches;
|
|
9
8
|
setTimeout(() => {
|
|
10
9
|
let list = this.el.querySelector('.event-slider-cards');
|
|
11
10
|
this.listSwp = new Swiper(list, {
|
|
@@ -13,10 +12,10 @@ export class EventPodcastSliderExample {
|
|
|
13
12
|
modules: [Navigation, Pagination, Scrollbar, Mousewheel],
|
|
14
13
|
slidesPerView: 'auto',
|
|
15
14
|
spaceBetween: 24,
|
|
16
|
-
|
|
15
|
+
centeredSlides: true,
|
|
17
16
|
centeredSlidesBounds: true,
|
|
18
17
|
initialSlide: 0,
|
|
19
|
-
centerInsufficientSlides:
|
|
18
|
+
centerInsufficientSlides: true,
|
|
20
19
|
freeMode: true,
|
|
21
20
|
scrollbar: {
|
|
22
21
|
el: this.swiperPaginationRef,
|
|
@@ -31,21 +30,18 @@ export class EventPodcastSliderExample {
|
|
|
31
30
|
sensitivity: 100,
|
|
32
31
|
},
|
|
33
32
|
breakpoints: {
|
|
34
|
-
992: {
|
|
35
|
-
slidesPerView: 4,
|
|
36
|
-
},
|
|
37
33
|
1200: {
|
|
38
34
|
spaceBetween: 32,
|
|
39
35
|
},
|
|
40
36
|
1400: {
|
|
41
37
|
spaceBetween: 40,
|
|
42
|
-
}
|
|
43
|
-
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
44
40
|
});
|
|
45
41
|
}, 100);
|
|
46
42
|
}
|
|
47
43
|
render() {
|
|
48
|
-
return (h(Host,
|
|
44
|
+
return (h(Host, null, h("div", { class: "event-slider-cards" }, h("div", { class: "swiper-wrapper" }, h("slot", null)), h("div", { class: "swiper-scrollbar", ref: el => (this.swiperPaginationRef = el) }), h("div", { class: "swiper-button-next", ref: el => (this.swiperButtonNextRef = el) }, h("svg", { width: "14", height: "20", viewBox: "0 0 14 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0.75 17.25L8 10L0.75 2.75L3.375 0.125L13.25 10L3.375 19.875L0.75 17.25Z", fill: "#323B42" }))), h("div", { class: "swiper-button-prev", ref: el => (this.swiperButtonPrevRef = el) }, h("svg", { width: "14", height: "20", viewBox: "0 0 14 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M13.25 2.75L6 10L13.25 17.25L10.625 19.875L0.749999 10L10.625 0.125L13.25 2.75Z", fill: "#323B42" }))))));
|
|
49
45
|
}
|
|
50
46
|
static get is() { return "event-podcast-slider-example"; }
|
|
51
47
|
static get originalStyleUrls() {
|
|
@@ -58,5 +54,27 @@ export class EventPodcastSliderExample {
|
|
|
58
54
|
"$": ["event-podcast-slider-example.css"]
|
|
59
55
|
};
|
|
60
56
|
}
|
|
57
|
+
static get properties() {
|
|
58
|
+
return {
|
|
59
|
+
"sliderType": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"mutable": false,
|
|
62
|
+
"complexType": {
|
|
63
|
+
"original": "'homepage-case-study-cards' | 'event-slider-cards'",
|
|
64
|
+
"resolved": "\"event-slider-cards\" | \"homepage-case-study-cards\"",
|
|
65
|
+
"references": {}
|
|
66
|
+
},
|
|
67
|
+
"required": false,
|
|
68
|
+
"optional": false,
|
|
69
|
+
"docs": {
|
|
70
|
+
"tags": [],
|
|
71
|
+
"text": ""
|
|
72
|
+
},
|
|
73
|
+
"attribute": "slider-type",
|
|
74
|
+
"reflect": false,
|
|
75
|
+
"defaultValue": "'event-slider-cards'"
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
}
|
|
61
79
|
static get elementRef() { return "el"; }
|
|
62
80
|
}
|
package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.form-wrapper {
|
|
6
|
+
width: 371px;
|
|
7
|
+
display: flex;
|
|
8
|
+
border-radius: 3px;
|
|
9
|
+
background: #FFF;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: center;
|
|
12
|
+
padding: 0px 32px;
|
|
13
|
+
|
|
14
|
+
@media only screen and (min-width: 360px) and (max-width: 479.55px) {
|
|
15
|
+
max-width: 360px;
|
|
16
|
+
width: 360px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.button-wrapper {
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: flex-end;
|
|
22
|
+
gap: 20px;
|
|
23
|
+
margin-top: 48px;
|
|
24
|
+
flex-wrap: wrap;
|
|
25
|
+
}
|
|
26
|
+
}
|
package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
|
+
export class PtcForm {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.formData = {
|
|
5
|
+
email: '',
|
|
6
|
+
firstName: '',
|
|
7
|
+
lastName: '',
|
|
8
|
+
company: '',
|
|
9
|
+
country: '',
|
|
10
|
+
phone: '',
|
|
11
|
+
inquiryReason: '',
|
|
12
|
+
howhearselfreport: '',
|
|
13
|
+
policyChecked: false,
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
// private countryEle: HTMLPtcSelectElement;
|
|
17
|
+
// private inquiryreasonEle: HTMLPtcTextfieldElement;
|
|
18
|
+
// private howhearselfreport: HTMLPtcTextfieldElement;
|
|
19
|
+
componentDidLoad() {
|
|
20
|
+
this.formButton = this.el.querySelector('.form-submit');
|
|
21
|
+
this.formButton.addEventListener('click', this.handleSubmit.bind(this));
|
|
22
|
+
//get Email
|
|
23
|
+
this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
|
|
24
|
+
this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
|
|
25
|
+
this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
|
|
26
|
+
this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
|
|
27
|
+
this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
|
|
28
|
+
// this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
|
|
29
|
+
// this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
|
|
30
|
+
// this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
|
|
31
|
+
}
|
|
32
|
+
handleInputChange(field, value) {
|
|
33
|
+
this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
|
|
34
|
+
}
|
|
35
|
+
handleSubmit(event) {
|
|
36
|
+
event.preventDefault();
|
|
37
|
+
this.formData.email = this.emailEle.inputValue;
|
|
38
|
+
this.formData.firstName = this.firstNameEle.inputValue;
|
|
39
|
+
this.formData.lastName = this.lastNameEle.inputValue;
|
|
40
|
+
this.formData.company = this.companyEle.inputValue;
|
|
41
|
+
this.formData.phone = this.phoneEle.inputValue;
|
|
42
|
+
// this.formData.country = this.countryEle.inputValue;
|
|
43
|
+
// this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
|
|
44
|
+
// this.formData.howhearselfreport = this.howhearselfreport.inputValue;
|
|
45
|
+
// console.log("get form Data: " + this.formData.email)
|
|
46
|
+
if (this.isValid()) {
|
|
47
|
+
const formSubmitEvent = new CustomEvent('formSubmit', {
|
|
48
|
+
detail: this.formData,
|
|
49
|
+
bubbles: true,
|
|
50
|
+
});
|
|
51
|
+
this.el.dispatchEvent(formSubmitEvent);
|
|
52
|
+
console.log('Form Submitted: ' + this.formData);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
console.log('Form validation failed');
|
|
56
|
+
console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
isValid() {
|
|
60
|
+
const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
|
|
61
|
+
const invalidLength = document.querySelectorAll('.invalid-field').length;
|
|
62
|
+
// console.log('invalid fields length: ' + invalidLength), check the select field
|
|
63
|
+
return (email !== '' &&
|
|
64
|
+
phone !== '' &&
|
|
65
|
+
firstName !== '' &&
|
|
66
|
+
lastName !== '' &&
|
|
67
|
+
company !== '' &&
|
|
68
|
+
country !== '' &&
|
|
69
|
+
inquiryReason !== '' &&
|
|
70
|
+
howhearselfreport != '' &&
|
|
71
|
+
policyChecked &&
|
|
72
|
+
invalidLength === 0);
|
|
73
|
+
}
|
|
74
|
+
render() {
|
|
75
|
+
const multiSelectItems = [
|
|
76
|
+
{ text: 'Item 1', selected: false, ptcDataEloquaName: 'item_1', ptcDataTargetEloquaName: 'item_target-1' },
|
|
77
|
+
{ text: 'Item 2', selected: false, ptcDataEloquaName: 'item_2', ptcDataTargetEloquaName: 'item_target-2' },
|
|
78
|
+
{ text: 'Item 3', selected: false, ptcDataEloquaName: 'item_3', ptcDataTargetEloquaName: 'item_target-3' }
|
|
79
|
+
];
|
|
80
|
+
return (h(Host, null, h("div", { class: "ptc-container u-flex u-flex-justify-center" }, h("div", { class: "form-wrapper" }, h("ptc-title", { "seo-compatibility-mode": true, "text-align": "left", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false", "title-size": "medium" }, h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("ptc-para", { "seo-compatibility-mode": true, "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-densest" }, "PTC\u2019s market-leading, purpose-built IIoT platform. The suite offers a mix of Packages, Add-Ons, and Apps to best suit your business needs:"), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("max-width-container", { "max-width": "277", breakpoint: 480 }, h("ptc-title", { type: "h2", "text-align": "", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "small", size: "small" })), h("form", { onSubmit: event => this.handleSubmit(event) }, h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Select a country")), h("li", { class: "mdc-list-item", "data-value": "USA" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "USA")), h("li", { class: "mdc-list-item", "data-value": "Canada" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Canada")), h("li", { class: "mdc-list-item", "data-value": "China" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "China")))), h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, h("span", { class: "mdc-list-item__ripple" })), h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), h("li", { class: "mdc-list-item", "data-value": "CAD" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), h("ptc-multi-select", { items: multiSelectItems, "is-required": 'true' }), h("ptc-textfield", { "field-id": "Self-Reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), h("div", { class: "button-wrapper" }, h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Submit"), h("ptc-button", { class: "form-close", color: "ptc-tertiary", type: "button", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Cancel")))))));
|
|
81
|
+
}
|
|
82
|
+
static get is() { return "modal-form-example"; }
|
|
83
|
+
static get originalStyleUrls() {
|
|
84
|
+
return {
|
|
85
|
+
"$": ["modal-form-example.css"]
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
static get styleUrls() {
|
|
89
|
+
return {
|
|
90
|
+
"$": ["modal-form-example.css"]
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
static get states() {
|
|
94
|
+
return {
|
|
95
|
+
"formData": {}
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
static get elementRef() { return "el"; }
|
|
99
|
+
}
|
|
@@ -82,23 +82,38 @@ a:focus-visible {
|
|
|
82
82
|
border-radius: var(--ptc-border-radius-standard);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
85
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a), .background-plm-grey a.light-link {
|
|
86
86
|
color: var(--color-blue-04);
|
|
87
|
+
margin: -2px;
|
|
88
|
+
border: 2px solid transparent;
|
|
87
89
|
}
|
|
88
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
90
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited, .background-plm-grey a.light-link:visited {
|
|
89
91
|
color: var(--color-blue-06);
|
|
90
92
|
}
|
|
91
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
93
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .light-links a.light-link:active, .light-links a.light-link:visited:active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .background-grey-10 a.light-link:active, .background-grey-10 a.light-link:visited:active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
92
94
|
transition: none;
|
|
93
95
|
color: var(--color-blue-07);
|
|
94
96
|
}
|
|
95
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
97
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .light-links a.light-link:hover, .light-links a.light-link:visited:hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .background-grey-10 a.light-link:hover, .background-grey-10 a.light-link:visited:hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
96
98
|
color: var(--color-blue-05);
|
|
97
99
|
}
|
|
98
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
100
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a).disabled, .background-plm-grey a.light-link.disabled {
|
|
99
101
|
color: var(--color-gray-04) !important;
|
|
100
102
|
cursor: not-allowed;
|
|
101
103
|
}
|
|
104
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):focus-visible, .light-links a.light-link:focus-visible, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):focus-visible, .background-grey-10 a.light-link:focus-visible, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):focus-visible, .background-plm-grey a.light-link:focus-visible {
|
|
105
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
106
|
+
border: 2px solid white;
|
|
107
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
108
|
+
}
|
|
109
|
+
.light-links .podcast-cta-section a, .background-grey-10 .podcast-cta-section a, .background-plm-grey .podcast-cta-section a {
|
|
110
|
+
border: 2px solid transparent;
|
|
111
|
+
}
|
|
112
|
+
.light-links .podcast-cta-section a:focus-visible, .background-grey-10 .podcast-cta-section a:focus-visible, .background-plm-grey .podcast-cta-section a:focus-visible {
|
|
113
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
114
|
+
border: 2px solid white;
|
|
115
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
116
|
+
}
|
|
102
117
|
|
|
103
118
|
.ptc-link {
|
|
104
119
|
color: var(--color-gray-10);
|
|
@@ -144,13 +159,6 @@ a:focus-visible {
|
|
|
144
159
|
color: var(--color-green-06);
|
|
145
160
|
}
|
|
146
161
|
|
|
147
|
-
.vjs-social-share-links a {
|
|
148
|
-
color: var(--color-white);
|
|
149
|
-
}
|
|
150
|
-
.vjs-social-share-links a:hover {
|
|
151
|
-
color: var(--color-white);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
162
|
:host {
|
|
155
163
|
display: block;
|
|
156
164
|
color: var(--color-gray-10);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host } from '@stencil/core';
|
|
2
|
-
import { getSeoTagType } from '../../utils/utils';
|
|
2
|
+
import { getSeoTagType, CheckDarkFocusState } from '../../utils/utils';
|
|
3
3
|
export class PtcButton {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.disabled = false;
|
|
@@ -27,6 +27,9 @@ export class PtcButton {
|
|
|
27
27
|
clickEventHandler() {
|
|
28
28
|
this.clickEvent.emit();
|
|
29
29
|
}
|
|
30
|
+
componentWillLoad() {
|
|
31
|
+
CheckDarkFocusState(this, this.el);
|
|
32
|
+
}
|
|
30
33
|
seoCompRender() {
|
|
31
34
|
const classMap = this.getCssClassMap();
|
|
32
35
|
const Tag = !!this.linkHref ? 'a' : 'button';
|
|
@@ -166,7 +166,6 @@ ptc-link, ptc-square-card,
|
|
|
166
166
|
}
|
|
167
167
|
:host(.extra-tall) a:focus-visible {
|
|
168
168
|
border-radius: var(--ptc-border-radius-standard);
|
|
169
|
-
border: 2px solid white;
|
|
170
169
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
171
170
|
}
|
|
172
171
|
|
|
@@ -177,7 +176,6 @@ ptc-link, ptc-square-card,
|
|
|
177
176
|
:host(.color-outlined) a:focus-visible {
|
|
178
177
|
box-shadow: 0 0 0 5px var(--keyboard-nav-outline);
|
|
179
178
|
border-radius: var(--ptc-border-radius-standard) !important;
|
|
180
|
-
border: 2px solid white;
|
|
181
179
|
display: block;
|
|
182
180
|
outline: none;
|
|
183
181
|
}
|
|
@@ -8,7 +8,6 @@ export class PtcCardPlm {
|
|
|
8
8
|
this.isLoading = false;
|
|
9
9
|
this.trackerId = undefined;
|
|
10
10
|
this.disabled = false;
|
|
11
|
-
this.hideLinkTitle = false;
|
|
12
11
|
this.styles = undefined;
|
|
13
12
|
this.darkFocusState = false;
|
|
14
13
|
}
|
|
@@ -45,7 +44,7 @@ export class PtcCardPlm {
|
|
|
45
44
|
render() {
|
|
46
45
|
const classMap = this.getCssClassMap();
|
|
47
46
|
const Tag = !!this.cardLink ? 'a' : 'div';
|
|
48
|
-
return (h(Host, Object.assign({ class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && h("style", null, this.styles), h("div", { class: "tracker-div mf-listen", id: this.trackerId }, h(Tag, Object.assign({ class: `mf-listen ${this.darkFocusState ? "focus-state-dark-background" : ""}` }, (!!this.cardLink && this.cardType !== "simple-card" ? { tabindex: '0' } : { tabindex: '-1' }), (!!this.cardLink && !this.isLoading ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink && !this.isLoading ? { target: this.linkTarget } : {}), (!!this.cardLink && !this.isLoading
|
|
47
|
+
return (h(Host, Object.assign({ class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && h("style", null, this.styles), h("div", { class: "tracker-div mf-listen", id: this.trackerId }, h(Tag, Object.assign({ class: `mf-listen ${this.darkFocusState ? "focus-state-dark-background" : ""}` }, (!!this.cardLink && this.cardType !== "simple-card" ? { tabindex: '0' } : { tabindex: '-1' }), (!!this.cardLink && !this.isLoading ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink && !this.isLoading ? { target: this.linkTarget } : {}), (!!this.cardLink && !this.isLoading ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), h("slot", null)))));
|
|
49
48
|
}
|
|
50
49
|
getCssClassMap() {
|
|
51
50
|
return {
|
|
@@ -213,24 +212,6 @@ export class PtcCardPlm {
|
|
|
213
212
|
"reflect": false,
|
|
214
213
|
"defaultValue": "false"
|
|
215
214
|
},
|
|
216
|
-
"hideLinkTitle": {
|
|
217
|
-
"type": "boolean",
|
|
218
|
-
"mutable": false,
|
|
219
|
-
"complexType": {
|
|
220
|
-
"original": "boolean",
|
|
221
|
-
"resolved": "boolean",
|
|
222
|
-
"references": {}
|
|
223
|
-
},
|
|
224
|
-
"required": false,
|
|
225
|
-
"optional": true,
|
|
226
|
-
"docs": {
|
|
227
|
-
"tags": [],
|
|
228
|
-
"text": "Turn off hover Title"
|
|
229
|
-
},
|
|
230
|
-
"attribute": "hide-link-title",
|
|
231
|
-
"reflect": false,
|
|
232
|
-
"defaultValue": "false"
|
|
233
|
-
},
|
|
234
215
|
"styles": {
|
|
235
216
|
"type": "string",
|
|
236
217
|
"mutable": false,
|
|
@@ -781,23 +781,38 @@ a:focus-visible {
|
|
|
781
781
|
border-radius: var(--ptc-border-radius-standard);
|
|
782
782
|
}
|
|
783
783
|
|
|
784
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
784
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a), .background-plm-grey a.light-link {
|
|
785
785
|
color: var(--color-blue-04);
|
|
786
|
+
margin: -2px;
|
|
787
|
+
border: 2px solid transparent;
|
|
786
788
|
}
|
|
787
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
789
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited, .background-plm-grey a.light-link:visited {
|
|
788
790
|
color: var(--color-blue-06);
|
|
789
791
|
}
|
|
790
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
792
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .light-links a.light-link:active, .light-links a.light-link:visited:active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .background-grey-10 a.light-link:active, .background-grey-10 a.light-link:visited:active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
791
793
|
transition: none;
|
|
792
794
|
color: var(--color-blue-07);
|
|
793
795
|
}
|
|
794
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
796
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .light-links a.light-link:hover, .light-links a.light-link:visited:hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .background-grey-10 a.light-link:hover, .background-grey-10 a.light-link:visited:hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
795
797
|
color: var(--color-blue-05);
|
|
796
798
|
}
|
|
797
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
799
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a).disabled, .background-plm-grey a.light-link.disabled {
|
|
798
800
|
color: var(--color-gray-04) !important;
|
|
799
801
|
cursor: not-allowed;
|
|
800
802
|
}
|
|
803
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):focus-visible, .light-links a.light-link:focus-visible, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):focus-visible, .background-grey-10 a.light-link:focus-visible, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):focus-visible, .background-plm-grey a.light-link:focus-visible {
|
|
804
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
805
|
+
border: 2px solid white;
|
|
806
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
807
|
+
}
|
|
808
|
+
.light-links .podcast-cta-section a, .background-grey-10 .podcast-cta-section a, .background-plm-grey .podcast-cta-section a {
|
|
809
|
+
border: 2px solid transparent;
|
|
810
|
+
}
|
|
811
|
+
.light-links .podcast-cta-section a:focus-visible, .background-grey-10 .podcast-cta-section a:focus-visible, .background-plm-grey .podcast-cta-section a:focus-visible {
|
|
812
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
813
|
+
border: 2px solid white;
|
|
814
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
815
|
+
}
|
|
801
816
|
|
|
802
817
|
.ptc-link {
|
|
803
818
|
color: var(--color-gray-10);
|
|
@@ -843,13 +858,6 @@ a:focus-visible {
|
|
|
843
858
|
color: var(--color-green-06);
|
|
844
859
|
}
|
|
845
860
|
|
|
846
|
-
.vjs-social-share-links a {
|
|
847
|
-
color: var(--color-white);
|
|
848
|
-
}
|
|
849
|
-
.vjs-social-share-links a:hover {
|
|
850
|
-
color: var(--color-white);
|
|
851
|
-
}
|
|
852
|
-
|
|
853
861
|
:host {
|
|
854
862
|
display: block;
|
|
855
863
|
overflow: hidden;
|