@ptcwebops/ptcw-design 6.2.15 → 6.2.16-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/featured-events-slider-example.cjs.entry.js +387 -2
- 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.cjs.entry.js +65 -0
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/list-item.cjs.entry.js +48 -0
- 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-background-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
- package/dist/cjs/ptc-button.cjs.entry.js +87 -0
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +134 -0
- package/dist/cjs/ptc-card-content.cjs.entry.js +68 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +2 -11
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +222 -0
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +15 -20
- 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} +788 -6
- 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-img.cjs.entry.js +133 -0
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
- 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-nav-submenu.cjs.entry.js +1 -1
- package/dist/cjs/ptc-para.cjs.entry.js +127 -0
- 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 +1 -1
- 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-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-title.cjs.entry.js +152 -0
- 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 +1 -7
- 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 -1
- 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 -5
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +19 -1
- 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 -5
- package/dist/collection/components/ptc-button/ptc-button.js +4 -1
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +2 -65
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +2 -10
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +10 -7
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +2 -2
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +20 -5
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +50 -19
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +20 -5
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +20 -5
- 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-jumbotron/ptc-jumbotron.css +20 -5
- package/dist/collection/components/ptc-link/ptc-link.css +8 -5
- package/dist/collection/components/ptc-link/ptc-link.js +4 -12
- package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
- package/dist/collection/components/ptc-modal/ptc-modal.js +2 -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 -5
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +8 -415
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +1 -10
- 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-product-card/ptc-product-card.css +20 -5
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +20 -5
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +20 -5
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +20 -5
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +20 -5
- 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-textfield/ptc-textfield.js +1 -1
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +20 -5
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +20 -5
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +20 -5
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +0 -6
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +7 -0
- 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 -6
- package/dist/custom-elements/index.js +171 -163
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/{component-274da230.js → component-9c921cc6.js} +2592 -793
- package/dist/esm/event-jumbotron-example.entry.js +142 -0
- package/dist/esm/featured-events-slider-example.entry.js +387 -2
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +1 -1
- package/dist/esm/homepage-toggled-content.entry.js +1 -1
- package/dist/esm/icon-asset.entry.js +61 -0
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/list-item.entry.js +44 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/modal-form-example.entry.js +90 -0
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/ptc-breadcrumb.entry.js +43 -0
- package/dist/esm/ptc-button.entry.js +83 -0
- package/dist/esm/ptc-card-bottom_2.entry.js +129 -0
- package/dist/esm/ptc-card-content.entry.js +64 -0
- package/dist/esm/ptc-card_2.entry.js +2 -11
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +217 -0
- package/dist/esm/ptc-collapse-list.entry.js +15 -20
- package/dist/esm/ptc-data-lookup.entry.js +1 -2
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +785 -5
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +9 -3
- package/dist/esm/ptc-img.entry.js +129 -0
- package/dist/esm/ptc-jumbotron.entry.js +1 -1
- package/dist/esm/ptc-link.entry.js +83 -0
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-para.entry.js +123 -0
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +10 -2
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-product-card.entry.js +1 -1
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +1 -1
- package/dist/esm/ptc-scroll-button.entry.js +132 -0
- package/dist/esm/ptc-social-icons-footer.entry.js +7 -2
- package/dist/esm/ptc-spacer.entry.js +34 -0
- package/dist/esm/ptc-title.entry.js +148 -0
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +1 -7
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/{utils-b7c6422e.js → utils-63eab4bd.js} +9 -1
- package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
- package/dist/ptcw-design/p-01075feb.entry.js +1 -0
- package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
- package/dist/ptcw-design/{p-1cff585f.entry.js → p-0d806031.entry.js} +1 -1
- package/dist/ptcw-design/p-0d992cda.entry.js +68 -0
- package/dist/ptcw-design/p-1070f8a3.entry.js +1 -0
- package/dist/ptcw-design/p-122c54b0.entry.js +1 -0
- package/dist/ptcw-design/p-158f6d50.entry.js +1 -0
- package/dist/ptcw-design/{p-999d1c9f.entry.js → p-17f6e145.entry.js} +1 -1
- package/dist/ptcw-design/p-257deac0.entry.js +1 -0
- package/dist/ptcw-design/p-25a25451.entry.js +1 -0
- package/dist/ptcw-design/{p-fce2bd81.entry.js → p-2749c178.entry.js} +1 -1
- package/dist/ptcw-design/p-28371371.entry.js +1 -0
- package/dist/ptcw-design/{p-34b270c1.entry.js → p-28be539b.entry.js} +1 -1
- package/dist/ptcw-design/p-29240ef8.entry.js +1 -0
- package/dist/ptcw-design/p-2ac5ed9c.entry.js +1 -0
- package/dist/ptcw-design/p-34c50b3e.entry.js +1 -0
- package/dist/ptcw-design/{p-34610052.entry.js → p-48c33817.entry.js} +1 -1
- package/dist/ptcw-design/{p-7e7ebf0a.entry.js → p-49e54079.entry.js} +1 -1
- package/dist/ptcw-design/{p-eab1042e.entry.js → p-4ee98a3e.entry.js} +1 -1
- package/dist/ptcw-design/p-50d68602.entry.js +1 -0
- package/dist/ptcw-design/p-5ef23b5c.entry.js +1 -0
- package/dist/ptcw-design/{p-103ec637.entry.js → p-627103d8.entry.js} +1 -1
- package/dist/ptcw-design/{p-4c096997.entry.js → p-6a3caf2b.entry.js} +1 -1
- package/dist/ptcw-design/{p-52b82ac5.entry.js → p-6f5fecae.entry.js} +1 -1
- package/dist/ptcw-design/p-72df6678.entry.js +1 -0
- package/dist/ptcw-design/p-7793babb.entry.js +1 -0
- package/dist/ptcw-design/p-77b1221e.js +1 -0
- package/dist/ptcw-design/{p-d1857ada.entry.js → p-77cad16c.entry.js} +1 -1
- package/dist/ptcw-design/p-799afee5.entry.js +1 -0
- package/dist/ptcw-design/{p-29639cd4.entry.js → p-821f0ff9.entry.js} +1 -1
- package/dist/ptcw-design/p-8e297cd7.entry.js +1 -0
- package/dist/ptcw-design/p-90c4f08b.entry.js +1 -0
- package/dist/ptcw-design/p-92d22c78.entry.js +1 -0
- package/dist/ptcw-design/p-94b52339.entry.js +1 -0
- package/dist/ptcw-design/p-95187918.entry.js +1 -0
- package/dist/ptcw-design/p-9a6bd91f.entry.js +1 -0
- package/dist/ptcw-design/p-9e9ae28c.entry.js +1 -0
- package/dist/ptcw-design/p-a3b57ede.entry.js +1 -0
- package/dist/ptcw-design/p-b1ebac6f.entry.js +1 -0
- package/dist/ptcw-design/p-b3bbd17d.entry.js +1 -0
- package/dist/ptcw-design/p-b8ee8699.entry.js +1 -0
- package/dist/ptcw-design/p-ba8c58a7.entry.js +1 -0
- package/dist/ptcw-design/{p-a3a04f4e.entry.js → p-bb902570.entry.js} +1 -1
- package/dist/ptcw-design/p-bcab66bf.js +336 -0
- package/dist/ptcw-design/p-bf18b622.entry.js +1 -0
- package/dist/ptcw-design/p-c01ea76f.entry.js +1 -0
- package/dist/ptcw-design/{p-cffebefe.entry.js → p-cbee4653.entry.js} +1 -1
- package/dist/ptcw-design/{p-760507e1.entry.js → p-d2825140.entry.js} +1 -1
- package/dist/ptcw-design/p-d2e26642.entry.js +1 -0
- package/dist/ptcw-design/{p-2335d57c.entry.js → p-d3229458.entry.js} +1 -1
- package/dist/ptcw-design/{p-48183365.entry.js → p-d756db27.entry.js} +1 -1
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/{p-df8526a2.entry.js → p-e577ad62.entry.js} +1 -1
- package/dist/ptcw-design/{p-d3e5b65c.entry.js → p-ea7369e9.entry.js} +1 -1
- package/dist/ptcw-design/{p-e38ed0e3.entry.js → p-eec2f3da.entry.js} +1 -1
- package/dist/ptcw-design/p-f8512dc9.entry.js +1 -0
- package/dist/ptcw-design/p-fd394e84.entry.js +1 -0
- 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/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-bottom/ptc-card-bottom.d.ts +1 -3
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +1 -1
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +1 -1
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +3 -2
- package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +6 -0
- package/dist/types/components/ptc-link/ptc-link.d.ts +1 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -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.d.ts +45 -31
- 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 -1382
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +0 -61
- package/dist/cjs/mousewheel-e9520f0f.js +0 -391
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -67
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
- package/dist/cjs/validation-messages-33a4f26b.js +0 -126
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +0 -1222
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +0 -80
- package/dist/esm/component-341e4eaa.js +0 -1802
- package/dist/esm/event-jumbotron-example_15.entry.js +0 -1364
- package/dist/esm/event-podcast-slider-example.entry.js +0 -57
- package/dist/esm/mousewheel-6b2f6590.js +0 -389
- package/dist/esm/ptc-card-bottom.entry.js +0 -63
- package/dist/esm/ptc-multi-select_2.entry.js +0 -665
- package/dist/esm/validation-messages-adbb6518.js +0 -124
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-1022ad8b.entry.js +0 -1
- package/dist/ptcw-design/p-136a91bf.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-1b7087e7.entry.js +0 -1
- package/dist/ptcw-design/p-1ca8a5bf.entry.js +0 -1
- package/dist/ptcw-design/p-246df0d6.entry.js +0 -1
- package/dist/ptcw-design/p-2db141e6.entry.js +0 -1
- package/dist/ptcw-design/p-2e8f7a08.entry.js +0 -1
- package/dist/ptcw-design/p-36cb30ee.js +0 -1
- package/dist/ptcw-design/p-3f71553e.entry.js +0 -1
- package/dist/ptcw-design/p-4e2bb0e0.entry.js +0 -1
- package/dist/ptcw-design/p-583608d9.entry.js +0 -1
- package/dist/ptcw-design/p-6e8ed2ee.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-8daf00ae.entry.js +0 -1
- package/dist/ptcw-design/p-9fe0c27d.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-c1ebaf0f.entry.js +0 -1
- package/dist/ptcw-design/p-cbfe46ce.entry.js +0 -1
- package/dist/ptcw-design/p-d734b373.entry.js +0 -1
- package/dist/ptcw-design/p-dc488936.entry.js +0 -1
- package/dist/ptcw-design/p-dd73c4d1.entry.js +0 -1
- package/dist/ptcw-design/p-e7937ac1.entry.js +0 -1
- package/dist/ptcw-design/p-e9a7475b.entry.js +0 -1
- package/dist/ptcw-design/p-f05fec22.entry.js +0 -1
- package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +0 -11
|
@@ -139,23 +139,38 @@ a:focus-visible {
|
|
|
139
139
|
border-radius: var(--ptc-border-radius-standard);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-plm-grey a.light-link {
|
|
142
|
+
.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 {
|
|
143
143
|
color: var(--color-blue-04);
|
|
144
|
+
margin: -2px;
|
|
145
|
+
border: 2px solid transparent;
|
|
144
146
|
}
|
|
145
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-plm-grey a.light-link:visited {
|
|
147
|
+
.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 {
|
|
146
148
|
color: var(--color-blue-06);
|
|
147
149
|
}
|
|
148
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
150
|
+
.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 {
|
|
149
151
|
transition: none;
|
|
150
152
|
color: var(--color-blue-07);
|
|
151
153
|
}
|
|
152
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
154
|
+
.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 {
|
|
153
155
|
color: var(--color-blue-05);
|
|
154
156
|
}
|
|
155
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-plm-grey a.light-link.disabled {
|
|
157
|
+
.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 {
|
|
156
158
|
color: var(--color-gray-04) !important;
|
|
157
159
|
cursor: not-allowed;
|
|
158
160
|
}
|
|
161
|
+
.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 {
|
|
162
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
163
|
+
border: 2px solid white;
|
|
164
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
165
|
+
}
|
|
166
|
+
.light-links .podcast-cta-section a, .background-grey-10 .podcast-cta-section a, .background-plm-grey .podcast-cta-section a {
|
|
167
|
+
border: 2px solid transparent;
|
|
168
|
+
}
|
|
169
|
+
.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 {
|
|
170
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
171
|
+
border: 2px solid white;
|
|
172
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
173
|
+
}
|
|
159
174
|
|
|
160
175
|
.ptc-link {
|
|
161
176
|
color: var(--color-gray-10);
|
|
@@ -67,11 +67,12 @@ ptc-footer ul {
|
|
|
67
67
|
list-style: none;
|
|
68
68
|
}
|
|
69
69
|
ptc-footer ul li a {
|
|
70
|
+
margin: -2px;
|
|
71
|
+
border: 2px solid transparent;
|
|
70
72
|
text-decoration: underline;
|
|
71
73
|
text-underline-offset: 6px;
|
|
72
74
|
text-decoration-thickness: 1px;
|
|
73
75
|
text-decoration-color: transparent;
|
|
74
|
-
border-bottom: none;
|
|
75
76
|
transition: text-decoration var(--ptc-transition-medium) var(--ptc-ease-inout);
|
|
76
77
|
color: var(--color-white) !important;
|
|
77
78
|
}
|
|
@@ -87,6 +88,11 @@ ptc-footer ul li a:active {
|
|
|
87
88
|
transition: none;
|
|
88
89
|
text-decoration-color: var(--color-gray-04);
|
|
89
90
|
}
|
|
91
|
+
ptc-footer ul li a:focus-visible {
|
|
92
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
93
|
+
border: 2px solid white;
|
|
94
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
95
|
+
}
|
|
90
96
|
ptc-footer .gap-20 {
|
|
91
97
|
grid-column-gap: 20px;
|
|
92
98
|
grid-row-gap: 20px;
|
|
@@ -237,11 +243,18 @@ ptc-footer .footer-bottom ul li, ptc-footer .footer-bottom ol li {
|
|
|
237
243
|
font-size: var(--ptc-font-size-xx-small);
|
|
238
244
|
}
|
|
239
245
|
ptc-footer .footer-bottom .logo {
|
|
246
|
+
margin: -2px;
|
|
240
247
|
margin-bottom: var(--ptc-element-spacing-06);
|
|
241
248
|
}
|
|
242
249
|
ptc-footer .footer-bottom .logo a {
|
|
250
|
+
border: 2px solid transparent;
|
|
243
251
|
display: inline-block;
|
|
244
252
|
}
|
|
253
|
+
ptc-footer .footer-bottom .logo a:focus-visible {
|
|
254
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
255
|
+
border: 2px solid white;
|
|
256
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
257
|
+
}
|
|
245
258
|
ptc-footer .footer-bottom .logo .footer-ptc-logo {
|
|
246
259
|
width: 78px;
|
|
247
260
|
height: 28px;
|
|
@@ -71,6 +71,7 @@ ptc-link, ptc-square-card,
|
|
|
71
71
|
padding: 20px;
|
|
72
72
|
background-color: var(--color-gray-10);
|
|
73
73
|
border-radius: var(--ptc-border-radius-standard);
|
|
74
|
+
border: 2px solid transparent;
|
|
74
75
|
align-items: center;
|
|
75
76
|
text-decoration: none;
|
|
76
77
|
text-align: center;
|
|
@@ -109,6 +110,15 @@ ptc-link, ptc-square-card,
|
|
|
109
110
|
:host a span {
|
|
110
111
|
display: block;
|
|
111
112
|
}
|
|
113
|
+
:host a:focus-visible {
|
|
114
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
115
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
116
|
+
}
|
|
117
|
+
:host .dark-bg a:focus-visible {
|
|
118
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
119
|
+
border: 2px solid white;
|
|
120
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
121
|
+
}
|
|
112
122
|
:host .card-icon {
|
|
113
123
|
width: 2rem;
|
|
114
124
|
height: 2rem;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { Host, h } from '@stencil/core';
|
|
2
|
+
import { CheckDarkFocusState } from '../../utils/utils';
|
|
2
3
|
export class PtcIconCard {
|
|
3
4
|
constructor() {
|
|
4
5
|
this.cardHref = undefined;
|
|
5
6
|
this.target = undefined;
|
|
6
7
|
this.trackerId = undefined;
|
|
8
|
+
this.darkFocusState = false;
|
|
9
|
+
}
|
|
10
|
+
componentWillLoad() {
|
|
11
|
+
CheckDarkFocusState(this, this.el, '.light-links,ptc-footer');
|
|
7
12
|
}
|
|
8
13
|
render() {
|
|
9
|
-
return (h(Host, null, h("div", { id: this.trackerId, class:
|
|
14
|
+
return (h(Host, null, h("div", { id: this.trackerId, class: this.darkFocusState ? `tracker-div mf-listen dark-bg` : `tracker-div mf-listenstandard-bg` }, h("a", { href: this.cardHref, target: this.target }, h("div", null, h("span", { class: 'card-icon' }, h("slot", null)), h("div", { class: 'card-title' }, h("slot", { name: 'card-title' })))))));
|
|
10
15
|
}
|
|
11
16
|
static get is() { return "ptc-icon-card"; }
|
|
12
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -72,7 +77,26 @@ export class PtcIconCard {
|
|
|
72
77
|
},
|
|
73
78
|
"attribute": "tracker-id",
|
|
74
79
|
"reflect": false
|
|
80
|
+
},
|
|
81
|
+
"darkFocusState": {
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"mutable": false,
|
|
84
|
+
"complexType": {
|
|
85
|
+
"original": "boolean",
|
|
86
|
+
"resolved": "boolean",
|
|
87
|
+
"references": {}
|
|
88
|
+
},
|
|
89
|
+
"required": false,
|
|
90
|
+
"optional": false,
|
|
91
|
+
"docs": {
|
|
92
|
+
"tags": [],
|
|
93
|
+
"text": "Add dark-focus-state property where button is present on dark backgrounds"
|
|
94
|
+
},
|
|
95
|
+
"attribute": "dark-focus-state",
|
|
96
|
+
"reflect": false,
|
|
97
|
+
"defaultValue": "false"
|
|
75
98
|
}
|
|
76
99
|
};
|
|
77
100
|
}
|
|
101
|
+
static get elementRef() { return "el"; }
|
|
78
102
|
}
|
|
@@ -1178,23 +1178,38 @@ a:focus-visible {
|
|
|
1178
1178
|
border-radius: var(--ptc-border-radius-standard);
|
|
1179
1179
|
}
|
|
1180
1180
|
|
|
1181
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-plm-grey a.light-link {
|
|
1181
|
+
.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 {
|
|
1182
1182
|
color: var(--color-blue-04);
|
|
1183
|
+
margin: -2px;
|
|
1184
|
+
border: 2px solid transparent;
|
|
1183
1185
|
}
|
|
1184
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-plm-grey a.light-link:visited {
|
|
1186
|
+
.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 {
|
|
1185
1187
|
color: var(--color-blue-06);
|
|
1186
1188
|
}
|
|
1187
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
1189
|
+
.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 {
|
|
1188
1190
|
transition: none;
|
|
1189
1191
|
color: var(--color-blue-07);
|
|
1190
1192
|
}
|
|
1191
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
1193
|
+
.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 {
|
|
1192
1194
|
color: var(--color-blue-05);
|
|
1193
1195
|
}
|
|
1194
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-plm-grey a.light-link.disabled {
|
|
1196
|
+
.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 {
|
|
1195
1197
|
color: var(--color-gray-04) !important;
|
|
1196
1198
|
cursor: not-allowed;
|
|
1197
1199
|
}
|
|
1200
|
+
.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 {
|
|
1201
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
1202
|
+
border: 2px solid white;
|
|
1203
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
1204
|
+
}
|
|
1205
|
+
.light-links .podcast-cta-section a, .background-grey-10 .podcast-cta-section a, .background-plm-grey .podcast-cta-section a {
|
|
1206
|
+
border: 2px solid transparent;
|
|
1207
|
+
}
|
|
1208
|
+
.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 {
|
|
1209
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
1210
|
+
border: 2px solid white;
|
|
1211
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
1212
|
+
}
|
|
1198
1213
|
|
|
1199
1214
|
.ptc-link {
|
|
1200
1215
|
color: var(--color-gray-10);
|
|
@@ -74,6 +74,10 @@ ptc-link, ptc-square-card,
|
|
|
74
74
|
text-decoration: none;
|
|
75
75
|
transition: color var(--ptc-transition-fast) var(--ptc-ease-inout);
|
|
76
76
|
}
|
|
77
|
+
.ptc-link.focus-state-dark-background {
|
|
78
|
+
border: 2px solid transparent;
|
|
79
|
+
margin: -2px;
|
|
80
|
+
}
|
|
77
81
|
.ptc-link:active {
|
|
78
82
|
transition: none;
|
|
79
83
|
}
|
|
@@ -96,6 +100,10 @@ ptc-link, ptc-square-card,
|
|
|
96
100
|
text-decoration-thickness: 2px;
|
|
97
101
|
transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);
|
|
98
102
|
}
|
|
103
|
+
.simple.focus-state-dark-background {
|
|
104
|
+
border: 2px solid transparent;
|
|
105
|
+
margin: -2px;
|
|
106
|
+
}
|
|
99
107
|
.simple:hover {
|
|
100
108
|
color: var(--color-green-06);
|
|
101
109
|
transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);
|
|
@@ -484,9 +492,4 @@ ptc-link, ptc-square-card,
|
|
|
484
492
|
|
|
485
493
|
.tracker-div {
|
|
486
494
|
display: inline;
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
:host(.event-podcast) a {
|
|
490
|
-
color: var(--color-green-06);
|
|
491
|
-
transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);
|
|
492
495
|
}
|
|
@@ -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 PtcLink {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.disabled = false;
|
|
@@ -17,6 +17,9 @@ export class PtcLink {
|
|
|
17
17
|
this.tabNav = 0;
|
|
18
18
|
this.darkFocusState = false;
|
|
19
19
|
}
|
|
20
|
+
componentWillLoad() {
|
|
21
|
+
CheckDarkFocusState(this, this.el);
|
|
22
|
+
}
|
|
20
23
|
seoCompRender() {
|
|
21
24
|
const classMap = this.getCssClassMap();
|
|
22
25
|
const [TagType, firstChild] = getSeoTagType(this.el, "a");
|
|
@@ -30,17 +33,6 @@ export class PtcLink {
|
|
|
30
33
|
const classMap = this.getCssClassMap();
|
|
31
34
|
return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h("a", Object.assign({ class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("slot", null)))));
|
|
32
35
|
}
|
|
33
|
-
// render() {
|
|
34
|
-
// const classMap = this.getCssClassMap();
|
|
35
|
-
// return (
|
|
36
|
-
// <Host>
|
|
37
|
-
// {this.styles && <style>{this.styles}</style>}
|
|
38
|
-
// <a class={classMap} href={this.href} target={this.external ? '_blank' : this.target} title={this.linkTitle}>
|
|
39
|
-
// <slot></slot>
|
|
40
|
-
// </a>
|
|
41
|
-
// </Host>
|
|
42
|
-
// );
|
|
43
|
-
// }
|
|
44
36
|
render() {
|
|
45
37
|
if (this.seoCompatibilityMode) {
|
|
46
38
|
return this.seoCompRender();
|
|
@@ -82,6 +82,7 @@ ptc-link, ptc-square-card,
|
|
|
82
82
|
align-content: flex-end;
|
|
83
83
|
z-index: 50020;
|
|
84
84
|
transform: translateY(-100%);
|
|
85
|
+
position: relative;
|
|
85
86
|
}
|
|
86
87
|
@media only screen and (min-width: 992px) {
|
|
87
88
|
.wrapper .modal-popup {
|
|
@@ -97,6 +98,9 @@ ptc-link, ptc-square-card,
|
|
|
97
98
|
.wrapper .modal-popup.xl {
|
|
98
99
|
max-width: 64.0625rem;
|
|
99
100
|
}
|
|
101
|
+
.wrapper .modal-popup.fit-content {
|
|
102
|
+
max-width: fit-content;
|
|
103
|
+
}
|
|
100
104
|
.wrapper .modal-popup.max {
|
|
101
105
|
width: calc(100% - 4rem);
|
|
102
106
|
max-width: 75rem;
|
|
@@ -227,8 +227,8 @@ export class PtcModal {
|
|
|
227
227
|
"type": "string",
|
|
228
228
|
"mutable": true,
|
|
229
229
|
"complexType": {
|
|
230
|
-
"original": "'sm' | 'md' | 'lg' | 'xl' | 'max'| 'sm-modal'",
|
|
231
|
-
"resolved": "\"lg\" | \"max\" | \"md\" | \"sm\" | \"sm-modal\" | \"xl\"",
|
|
230
|
+
"original": "'sm' | 'md' | 'lg' | 'xl' | 'fit-content' | 'max'| 'sm-modal'",
|
|
231
|
+
"resolved": "\"fit-content\" | \"lg\" | \"max\" | \"md\" | \"sm\" | \"sm-modal\" | \"xl\"",
|
|
232
232
|
"references": {}
|
|
233
233
|
},
|
|
234
234
|
"required": false,
|
|
@@ -185,8 +185,8 @@ export class PtcPara {
|
|
|
185
185
|
"type": "string",
|
|
186
186
|
"mutable": false,
|
|
187
187
|
"complexType": {
|
|
188
|
-
"original": "'primary-grey' | 'white' | 'gray-darker'",
|
|
189
|
-
"resolved": "\"gray-darker\" | \"primary-grey\" | \"white\"",
|
|
188
|
+
"original": "'primary-grey' | 'primary-green' | 'white' | 'gray-darker'",
|
|
189
|
+
"resolved": "\"gray-darker\" | \"primary-green\" | \"primary-grey\" | \"white\"",
|
|
190
190
|
"references": {}
|
|
191
191
|
},
|
|
192
192
|
"required": false,
|
|
@@ -5602,23 +5602,38 @@ a:focus-visible {
|
|
|
5602
5602
|
border-radius: var(--ptc-border-radius-standard);
|
|
5603
5603
|
}
|
|
5604
5604
|
|
|
5605
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), .background-plm-grey a.light-link {
|
|
5605
|
+
.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 {
|
|
5606
5606
|
color: var(--color-blue-04);
|
|
5607
|
+
margin: -2px;
|
|
5608
|
+
border: 2px solid transparent;
|
|
5607
5609
|
}
|
|
5608
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited, .background-plm-grey a.light-link:visited {
|
|
5610
|
+
.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 {
|
|
5609
5611
|
color: var(--color-blue-06);
|
|
5610
5612
|
}
|
|
5611
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
5613
|
+
.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 {
|
|
5612
5614
|
transition: none;
|
|
5613
5615
|
color: var(--color-blue-07);
|
|
5614
5616
|
}
|
|
5615
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
5617
|
+
.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 {
|
|
5616
5618
|
color: var(--color-blue-05);
|
|
5617
5619
|
}
|
|
5618
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a).disabled, .background-plm-grey a.light-link.disabled {
|
|
5620
|
+
.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 {
|
|
5619
5621
|
color: var(--color-gray-04) !important;
|
|
5620
5622
|
cursor: not-allowed;
|
|
5621
5623
|
}
|
|
5624
|
+
.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 {
|
|
5625
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
5626
|
+
border: 2px solid white;
|
|
5627
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
5628
|
+
}
|
|
5629
|
+
.light-links .podcast-cta-section a, .background-grey-10 .podcast-cta-section a, .background-plm-grey .podcast-cta-section a {
|
|
5630
|
+
border: 2px solid transparent;
|
|
5631
|
+
}
|
|
5632
|
+
.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 {
|
|
5633
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
5634
|
+
border: 2px solid white;
|
|
5635
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
5636
|
+
}
|
|
5622
5637
|
|
|
5623
5638
|
.ptc-link {
|
|
5624
5639
|
color: var(--color-gray-10);
|