@ptcwebops/ptcw-design 6.2.22-beta → 6.2.22
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/{component-4dd13907.js → component-06dda623.js} +1494 -3305
- package/dist/cjs/component-5b5b6a98.js +1819 -0
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +4 -2
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +13 -7
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset_4.cjs.entry.js +817 -0
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/interfaces-574e6df7.js +15 -0
- package/dist/cjs/list-item.cjs.entry.js +48 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/max-width-container.cjs.entry.js +54 -0
- package/dist/cjs/ptc-announcement.cjs.entry.js +2 -2
- package/dist/cjs/ptc-background-video.cjs.entry.js +102 -0
- 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 +3 -2
- package/dist/cjs/ptc-card_2.cjs.entry.js +11 -3
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +2 -19
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
- 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-filter-tag_2.cjs.entry.js +15 -0
- package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +4 -786
- package/dist/cjs/ptc-icon-component.cjs.entry.js +45 -2
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +50 -3
- package/dist/cjs/ptc-img.cjs.entry.js +133 -0
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +151 -0
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +2 -1
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +670 -0
- package/dist/cjs/ptc-nav-link.cjs.entry.js +48 -0
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +106 -0
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +51 -0
- package/dist/cjs/ptc-para.cjs.entry.js +127 -0
- package/dist/cjs/ptc-picture.cjs.entry.js +163 -0
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -10
- 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-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +70 -0
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +2 -2
- package/dist/cjs/ptc-subnav.cjs.entry.js +37 -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 +2 -2
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/validation-messages-33a4f26b.js +126 -0
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/icon-asset/icon-asset.css +6 -0
- package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +2 -30
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +13 -6
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +9 -2
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +25 -3
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +3 -1
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +23 -71
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +12 -30
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +6 -0
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -1
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +13 -6
- package/dist/collection/components/ptc-card/ptc-card.css +1 -0
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +2 -0
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +20 -1
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +13 -6
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +1 -1
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +13 -6
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +13 -6
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +12 -0
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +44 -1
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +8 -0
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +67 -2
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +16 -8
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +19 -1
- package/dist/collection/components/ptc-modal/ptc-modal.css +13 -6
- package/dist/collection/components/ptc-modal/ptc-modal.js +2 -19
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +29 -0
- package/dist/collection/components/ptc-para/ptc-para.css +0 -3
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +13 -6
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +264 -26
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +9 -1
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +0 -16
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +1 -27
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +3 -2
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +13 -6
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +13 -6
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +13 -6
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +13 -6
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +13 -6
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +2 -2
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +13 -6
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +13 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +13 -6
- 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 +9 -2
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +1 -4
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +1 -9
- package/dist/custom-elements/index.d.ts +0 -6
- package/dist/custom-elements/index.js +180 -183
- 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-9c921cc6.js → component-274da230.js} +1482 -3281
- package/dist/esm/component-341e4eaa.js +1802 -0
- package/dist/esm/event-jumbotron-example.entry.js +4 -2
- package/dist/esm/event-podcast-slider-example.entry.js +13 -7
- 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_4.entry.js +810 -0
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/interfaces-4caedd26.js +12 -0
- package/dist/esm/list-item.entry.js +44 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/max-width-container.entry.js +50 -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-announcement.entry.js +2 -2
- package/dist/esm/ptc-background-video.entry.js +98 -0
- 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 +3 -2
- package/dist/esm/ptc-card_2.entry.js +11 -3
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +2 -19
- package/dist/esm/ptc-data-lookup.entry.js +2 -1
- 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-filter-tag_2.entry.js +15 -0
- package/dist/esm/{ptc-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +4 -784
- 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 +1 -1
- package/dist/esm/ptc-icon-component.entry.js +45 -2
- package/dist/esm/ptc-icon-minimize.entry.js +50 -3
- package/dist/esm/ptc-img.entry.js +129 -0
- package/dist/esm/ptc-jumbotron.entry.js +147 -0
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-minimized-nav.entry.js +2 -1
- package/dist/esm/ptc-multi-select_2.entry.js +665 -0
- package/dist/esm/ptc-nav-link.entry.js +44 -0
- package/dist/esm/ptc-nav-slider.entry.js +102 -0
- package/dist/esm/ptc-nav-submenu.entry.js +47 -0
- package/dist/esm/ptc-para.entry.js +123 -0
- package/dist/esm/ptc-picture.entry.js +159 -0
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +2 -10
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
- 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-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-spacer.entry.js +34 -0
- package/dist/esm/ptc-sticky-section.entry.js +66 -0
- package/dist/esm/ptc-sticky-title.entry.js +2 -2
- package/dist/esm/ptc-subnav.entry.js +33 -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 +2 -2
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/{utils-ff65c75b.js → utils-355f1d70.js} +1 -1
- package/dist/esm/validation-messages-adbb6518.js +124 -0
- package/dist/ptcw-design/media/designer-v6.0.6.svg +2 -30
- package/dist/ptcw-design/{p-6a79e68e.entry.js → p-00ccc051.entry.js} +1 -1
- package/dist/ptcw-design/p-07b1afd5.entry.js +1 -0
- package/dist/ptcw-design/p-09def480.entry.js +1 -0
- package/dist/ptcw-design/p-0f32883f.entry.js +1 -0
- package/dist/ptcw-design/{p-abdd3b8e.entry.js → p-1056fdc7.entry.js} +1 -1
- package/dist/ptcw-design/p-18a5a338.js +1 -0
- package/dist/ptcw-design/p-1adea6a5.entry.js +1 -0
- package/dist/ptcw-design/p-235149b5.entry.js +1 -0
- package/dist/ptcw-design/p-2ab0f25c.entry.js +1 -0
- package/dist/ptcw-design/{p-dbb4e7f9.entry.js → p-30ec0036.entry.js} +1 -1
- package/dist/ptcw-design/{p-a560e839.entry.js → p-3815217a.entry.js} +1 -1
- package/dist/ptcw-design/p-39255f59.entry.js +1 -0
- package/dist/ptcw-design/p-3b6826c3.entry.js +1 -0
- package/dist/ptcw-design/{p-051ba8f9.entry.js → p-3d3328f9.entry.js} +1 -1
- package/dist/ptcw-design/p-3f935e06.entry.js +1 -0
- package/dist/ptcw-design/{p-9b60270e.entry.js → p-455bdea0.entry.js} +1 -1
- package/dist/ptcw-design/p-483e20af.entry.js +1 -0
- package/dist/ptcw-design/p-4ee29b78.entry.js +1 -0
- package/dist/ptcw-design/p-4f523245.entry.js +1 -0
- package/dist/ptcw-design/p-520542e2.entry.js +1 -0
- package/dist/ptcw-design/p-53d15f85.entry.js +1 -0
- package/dist/ptcw-design/{p-b1c1de30.entry.js → p-57360be3.entry.js} +1 -1
- package/dist/ptcw-design/p-57d86f12.entry.js +1 -0
- package/dist/ptcw-design/p-647dee4f.entry.js +1 -0
- package/dist/ptcw-design/p-66ddc281.entry.js +1 -0
- package/dist/ptcw-design/p-66f319f0.entry.js +1 -0
- package/dist/ptcw-design/p-69ef15d4.entry.js +1 -0
- package/dist/ptcw-design/{p-c9518684.entry.js → p-6b7d2579.entry.js} +1 -1
- package/dist/ptcw-design/p-6d0f7580.entry.js +1 -0
- package/dist/ptcw-design/p-6f8858c3.entry.js +1 -0
- package/dist/ptcw-design/p-711bcdad.js +1 -0
- package/dist/ptcw-design/p-770b269c.entry.js +1 -0
- package/dist/ptcw-design/p-788c2859.entry.js +1 -0
- package/dist/ptcw-design/p-794eebdb.entry.js +1 -0
- package/dist/ptcw-design/p-79762cf6.entry.js +1 -0
- package/dist/ptcw-design/{p-a220ab2c.entry.js → p-7a5c0d47.entry.js} +1 -1
- package/dist/ptcw-design/p-88ff7bc5.entry.js +1 -0
- package/dist/ptcw-design/{p-208ca9de.entry.js → p-8da51d65.entry.js} +1 -1
- package/dist/ptcw-design/p-9d8a9a72.entry.js +1 -0
- package/dist/ptcw-design/p-a4c68b6d.entry.js +1 -0
- package/dist/ptcw-design/p-ad4f4f33.entry.js +1 -0
- package/dist/ptcw-design/p-b0c99e8e.entry.js +1 -0
- package/dist/ptcw-design/{p-b4ba719a.entry.js → p-b1d85ece.entry.js} +1 -1
- package/dist/ptcw-design/p-b29e43cf.entry.js +1 -0
- package/dist/ptcw-design/{p-9e6fb4ba.entry.js → p-b9dd37cc.entry.js} +1 -1
- package/dist/ptcw-design/p-be533f0d.js +134 -0
- package/dist/ptcw-design/p-bf04c250.entry.js +1 -0
- package/dist/ptcw-design/p-c1513c3f.js +203 -0
- package/dist/ptcw-design/p-c2ab3f44.entry.js +68 -0
- package/dist/ptcw-design/{p-d871e7f7.entry.js → p-c5631974.entry.js} +1 -1
- package/dist/ptcw-design/{p-fc0d9251.entry.js → p-c811bca6.entry.js} +1 -1
- package/dist/ptcw-design/{p-2a255901.entry.js → p-cb2b87bb.entry.js} +1 -1
- package/dist/ptcw-design/p-d4207d86.entry.js +1 -0
- package/dist/ptcw-design/p-d9ec506c.entry.js +1 -0
- package/dist/ptcw-design/p-dabb1b70.entry.js +1 -0
- package/dist/ptcw-design/{p-73a41148.entry.js → p-e05b1f0e.entry.js} +1 -1
- package/dist/ptcw-design/p-e487b592.entry.js +1 -0
- package/dist/ptcw-design/{p-bf076b87.entry.js → p-e6cb2dce.entry.js} +1 -1
- package/dist/ptcw-design/{p-0c862dbd.entry.js → p-e78596eb.entry.js} +1 -1
- package/dist/ptcw-design/{p-8872161f.js → p-ead9ebbc.js} +1 -1
- package/dist/ptcw-design/p-ec22d0b8.entry.js +1 -0
- package/dist/ptcw-design/p-edcad0f1.entry.js +1 -0
- package/dist/ptcw-design/p-f093f6f8.entry.js +1 -0
- package/dist/ptcw-design/p-f2006b03.entry.js +1 -0
- package/dist/ptcw-design/p-f31e17d9.entry.js +1 -0
- package/dist/ptcw-design/{p-2ee3a32b.entry.js → p-f6bfbe18.entry.js} +1 -1
- package/dist/ptcw-design/p-ffd5c822.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/event-podcast-slider-example/event-podcast-slider-example.d.ts +0 -1
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -0
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +5 -0
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +2 -0
- package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +1 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -2
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +3 -0
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -2
- package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +0 -1
- package/dist/types/components.d.ts +17 -21
- package/package.json +1 -1
- package/readme.md +1 -5
- package/dist/cjs/icon-asset_18.cjs.entry.js +0 -1501
- package/dist/cjs/modal-form-example.cjs.entry.js +0 -94
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +0 -512
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -99
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
- package/dist/esm/icon-asset_18.entry.js +0 -1480
- package/dist/esm/modal-form-example.entry.js +0 -90
- package/dist/esm/ptc-collapse-list.entry.js +0 -508
- package/dist/ptcw-design/p-01ad1cc2.entry.js +0 -68
- package/dist/ptcw-design/p-0eb9ea11.entry.js +0 -1
- package/dist/ptcw-design/p-20388467.entry.js +0 -1
- package/dist/ptcw-design/p-20670bc5.entry.js +0 -1
- package/dist/ptcw-design/p-20d837a9.entry.js +0 -1
- package/dist/ptcw-design/p-20d84f63.entry.js +0 -1
- package/dist/ptcw-design/p-286e048c.entry.js +0 -1
- package/dist/ptcw-design/p-2d0a9613.entry.js +0 -1
- package/dist/ptcw-design/p-330e1a36.entry.js +0 -1
- package/dist/ptcw-design/p-3a7c5330.entry.js +0 -1
- package/dist/ptcw-design/p-3ada2482.entry.js +0 -1
- package/dist/ptcw-design/p-4e41c031.entry.js +0 -1
- package/dist/ptcw-design/p-4e8c87e1.entry.js +0 -1
- package/dist/ptcw-design/p-5ae21271.entry.js +0 -1
- package/dist/ptcw-design/p-640d07b5.entry.js +0 -1
- package/dist/ptcw-design/p-66d50b46.entry.js +0 -1
- package/dist/ptcw-design/p-6af8c192.entry.js +0 -1
- package/dist/ptcw-design/p-70a5f144.entry.js +0 -1
- package/dist/ptcw-design/p-7853f1b5.entry.js +0 -1
- package/dist/ptcw-design/p-907727fd.entry.js +0 -1
- package/dist/ptcw-design/p-98083315.entry.js +0 -1
- package/dist/ptcw-design/p-986be938.entry.js +0 -1
- package/dist/ptcw-design/p-aba549b7.entry.js +0 -1
- package/dist/ptcw-design/p-ac32267c.entry.js +0 -1
- package/dist/ptcw-design/p-b5d0e4a2.entry.js +0 -1
- package/dist/ptcw-design/p-bcab66bf.js +0 -336
- package/dist/ptcw-design/p-ca268a17.entry.js +0 -1
- package/dist/ptcw-design/p-ce6d1c5f.entry.js +0 -1
- package/dist/ptcw-design/p-ef55ab3c.entry.js +0 -1
- package/dist/ptcw-design/p-fb2e4612.entry.js +0 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
|
@@ -115,6 +115,10 @@ ptc-link, ptc-square-card,
|
|
|
115
115
|
/* scroll-snap-align: start; */
|
|
116
116
|
/* Snap to start of the card */
|
|
117
117
|
}
|
|
118
|
+
.card:focus-visible {
|
|
119
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
120
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
121
|
+
}
|
|
118
122
|
.card ptc-img::after {
|
|
119
123
|
content: "";
|
|
120
124
|
top: 0px;
|
|
@@ -164,8 +168,23 @@ ptc-link, ptc-square-card,
|
|
|
164
168
|
visibility: hidden;
|
|
165
169
|
}
|
|
166
170
|
|
|
171
|
+
@media only screen and (min-width: 768px) {
|
|
172
|
+
.card-title {
|
|
173
|
+
font-size: var(--ptc-font-size-xx-large);
|
|
174
|
+
}
|
|
175
|
+
.card-title span {
|
|
176
|
+
font-size: var(--ptc-font-size-xx-large);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
167
179
|
/* Larger Screen Styles */
|
|
168
180
|
@media only screen and (min-width: 992px) {
|
|
181
|
+
.card-title {
|
|
182
|
+
font-size: var(--ptc-font-size-x-large);
|
|
183
|
+
}
|
|
184
|
+
.card-title span {
|
|
185
|
+
font-size: var(--ptc-font-size-x-large);
|
|
186
|
+
}
|
|
187
|
+
|
|
169
188
|
.cta-group {
|
|
170
189
|
margin-bottom: 88px;
|
|
171
190
|
}
|
|
@@ -192,9 +211,11 @@ ptc-link, ptc-square-card,
|
|
|
192
211
|
}
|
|
193
212
|
|
|
194
213
|
.card.active {
|
|
214
|
+
min-height: 530px;
|
|
195
215
|
border-top-right-radius: 0px;
|
|
196
216
|
border-bottom-right-radius: 0px;
|
|
197
217
|
box-shadow: var(--ptc-shadow-x-large);
|
|
218
|
+
height: auto;
|
|
198
219
|
}
|
|
199
220
|
|
|
200
221
|
.panel {
|
|
@@ -204,7 +225,7 @@ ptc-link, ptc-square-card,
|
|
|
204
225
|
top: 0;
|
|
205
226
|
left: 0;
|
|
206
227
|
/* need adjustments for mobiles */
|
|
207
|
-
height: 530px;
|
|
228
|
+
min-height: 530px;
|
|
208
229
|
padding: 40px;
|
|
209
230
|
background: var(--color-white);
|
|
210
231
|
border-radius: var(--ptc-border-radius-standard);
|
|
@@ -218,6 +239,7 @@ ptc-link, ptc-square-card,
|
|
|
218
239
|
border-top-left-radius: 0px;
|
|
219
240
|
border-bottom-left-radius: 0px;
|
|
220
241
|
box-shadow: var(--ptc-shadow-x-large);
|
|
242
|
+
height: auto;
|
|
221
243
|
}
|
|
222
244
|
|
|
223
245
|
.close-panel {
|
|
@@ -239,10 +261,10 @@ ptc-link, ptc-square-card,
|
|
|
239
261
|
}
|
|
240
262
|
@media only screen and (min-width: 1200px) {
|
|
241
263
|
.card-title {
|
|
242
|
-
font-size:
|
|
264
|
+
font-size: var(--ptc-font-size-xx-large);
|
|
243
265
|
}
|
|
244
266
|
.card-title span {
|
|
245
|
-
font-size:
|
|
267
|
+
font-size: var(--ptc-font-size-xx-large);
|
|
246
268
|
}
|
|
247
269
|
|
|
248
270
|
.jumbotron-cards {
|
|
@@ -71,6 +71,7 @@ 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`;
|
|
74
75
|
this.arrowButtons = document.querySelectorAll('ptc-scroll-button');
|
|
75
76
|
setTimeout(() => {
|
|
76
77
|
panel.style.transform = `translateX(${card.offsetWidth}px)`;
|
|
@@ -94,6 +95,7 @@ export class EventJumbotronExample {
|
|
|
94
95
|
this.slider.style.transform = 'translateX(0)';
|
|
95
96
|
Array.from(this.slider.children).forEach(card => {
|
|
96
97
|
card.classList.remove('hidden', 'active');
|
|
98
|
+
card.style.height = '530px';
|
|
97
99
|
});
|
|
98
100
|
}
|
|
99
101
|
enableDragging() {
|
|
@@ -124,7 +126,7 @@ export class EventJumbotronExample {
|
|
|
124
126
|
h("div", { class: {
|
|
125
127
|
'event-jumbotron': true,
|
|
126
128
|
'ptc-container': this.isDesktop,
|
|
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}
|
|
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}`, onKeyPress: () => this.handleCardClick(index), tabindex: "0" }, 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 })))))),
|
|
128
130
|
h("div", { class: "white-placeholder" }),
|
|
129
131
|
];
|
|
130
132
|
}
|
|
@@ -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-ele {
|
|
999
|
+
position: relative;
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
1002
|
.hcs-title {
|
|
@@ -1020,47 +1020,40 @@ 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
|
+
|
|
1023
1033
|
.swiper-homepage-cs {
|
|
1024
1034
|
margin-top: 1rem;
|
|
1025
1035
|
}
|
|
1026
1036
|
.swiper-homepage-cs .swiper-horizontal {
|
|
1027
|
-
display:
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
padding-bottom: 3.5rem;
|
|
1031
|
-
padding-top: 2rem;
|
|
1037
|
+
display: block;
|
|
1038
|
+
padding-bottom: 4.104rem;
|
|
1039
|
+
padding-top: 5px;
|
|
1032
1040
|
}
|
|
1033
1041
|
.swiper-homepage-cs .swiper-horizontal .swiper-slide:first-child {
|
|
1034
|
-
margin-left:
|
|
1042
|
+
margin-left: 0px !important;
|
|
1035
1043
|
}
|
|
1036
1044
|
.swiper-homepage-cs .swiper-horizontal .swiper-slide:last-child {
|
|
1037
|
-
margin-right:
|
|
1045
|
+
margin-right: 0px !important;
|
|
1038
1046
|
}
|
|
1039
1047
|
.swiper-homepage-cs .swiper-horizontal .swiper-scrollbar {
|
|
1040
1048
|
position: absolute;
|
|
1041
|
-
left:
|
|
1042
|
-
transform:
|
|
1049
|
+
left: 50%;
|
|
1050
|
+
transform: translate(-50%, -13px);
|
|
1043
1051
|
z-index: 50;
|
|
1044
|
-
width:
|
|
1052
|
+
width: 161px;
|
|
1045
1053
|
height: 8px;
|
|
1046
1054
|
border-radius: 999px;
|
|
1047
1055
|
background: #E4E7E9;
|
|
1048
1056
|
}
|
|
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
|
-
}
|
|
1064
1057
|
.swiper-homepage-cs .swiper-horizontal .swiper-scrollbar .swiper-scrollbar-drag {
|
|
1065
1058
|
height: 8px;
|
|
1066
1059
|
border-radius: 999px;
|
|
@@ -1080,7 +1073,7 @@ homepage-case-study-cards {
|
|
|
1080
1073
|
top: auto;
|
|
1081
1074
|
bottom: 0px;
|
|
1082
1075
|
left: auto;
|
|
1083
|
-
right: calc(50% +
|
|
1076
|
+
right: calc(50% + 116.5px);
|
|
1084
1077
|
height: 40px;
|
|
1085
1078
|
width: 40px;
|
|
1086
1079
|
border-radius: 4px;
|
|
@@ -1106,30 +1099,12 @@ homepage-case-study-cards {
|
|
|
1106
1099
|
height: 14px;
|
|
1107
1100
|
width: 9px;
|
|
1108
1101
|
}
|
|
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
|
-
}
|
|
1127
1102
|
.swiper-homepage-cs .swiper-button-next,
|
|
1128
1103
|
.swiper-homepage-cs .swiper-rtl .swiper-button-prev {
|
|
1129
1104
|
top: auto;
|
|
1130
1105
|
bottom: 0px;
|
|
1131
1106
|
right: auto;
|
|
1132
|
-
left: calc(50% +
|
|
1107
|
+
left: calc(50% + 116.5px);
|
|
1133
1108
|
height: 40px;
|
|
1134
1109
|
width: 40px;
|
|
1135
1110
|
border-radius: 4px;
|
|
@@ -1155,30 +1130,12 @@ homepage-case-study-cards {
|
|
|
1155
1130
|
height: 14px;
|
|
1156
1131
|
width: 9px;
|
|
1157
1132
|
}
|
|
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
|
-
}
|
|
1176
1133
|
|
|
1177
1134
|
.swiper-slide {
|
|
1178
1135
|
text-align: center;
|
|
1179
1136
|
font-size: 18px;
|
|
1180
1137
|
display: flex;
|
|
1181
|
-
justify-content:
|
|
1138
|
+
justify-content: flex-start;
|
|
1182
1139
|
align-items: center;
|
|
1183
1140
|
}
|
|
1184
1141
|
|
|
@@ -1190,8 +1147,6 @@ homepage-case-study-cards {
|
|
|
1190
1147
|
}
|
|
1191
1148
|
|
|
1192
1149
|
.event-slider-cards.swiper-horizontal {
|
|
1193
|
-
position: relative;
|
|
1194
|
-
overflow-y: hidden;
|
|
1195
1150
|
scrollbar-width: none;
|
|
1196
1151
|
}
|
|
1197
1152
|
.event-slider-cards.swiper-horizontal .swiper-slide {
|
|
@@ -1201,9 +1156,6 @@ homepage-case-study-cards {
|
|
|
1201
1156
|
.event-slider-cards.swiper-horizontal .swiper-slide::-webkit-scrollbar {
|
|
1202
1157
|
display: none;
|
|
1203
1158
|
}
|
|
1204
|
-
.event-slider-cards.swiper-horizontal .swiper-slide:first-child {
|
|
1205
|
-
margin-left: 4px !important;
|
|
1206
|
-
}
|
|
1207
1159
|
|
|
1208
1160
|
@media (min-width: 992px) {
|
|
1209
1161
|
.event-slider-cards.swiper-horizontal .swiper-slide {
|
|
@@ -1,10 +1,11 @@
|
|
|
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
|
-
}
|
|
7
4
|
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;
|
|
8
9
|
setTimeout(() => {
|
|
9
10
|
let list = this.el.querySelector('.event-slider-cards');
|
|
10
11
|
this.listSwp = new Swiper(list, {
|
|
@@ -12,10 +13,10 @@ export class EventPodcastSliderExample {
|
|
|
12
13
|
modules: [Navigation, Pagination, Scrollbar, Mousewheel],
|
|
13
14
|
slidesPerView: 'auto',
|
|
14
15
|
spaceBetween: 24,
|
|
15
|
-
centeredSlides: true,
|
|
16
|
+
//centeredSlides: true,
|
|
16
17
|
centeredSlidesBounds: true,
|
|
17
18
|
initialSlide: 0,
|
|
18
|
-
centerInsufficientSlides:
|
|
19
|
+
centerInsufficientSlides: false,
|
|
19
20
|
freeMode: true,
|
|
20
21
|
scrollbar: {
|
|
21
22
|
el: this.swiperPaginationRef,
|
|
@@ -30,18 +31,21 @@ export class EventPodcastSliderExample {
|
|
|
30
31
|
sensitivity: 100,
|
|
31
32
|
},
|
|
32
33
|
breakpoints: {
|
|
34
|
+
992: {
|
|
35
|
+
slidesPerView: 4,
|
|
36
|
+
},
|
|
33
37
|
1200: {
|
|
34
38
|
spaceBetween: 32,
|
|
35
39
|
},
|
|
36
40
|
1400: {
|
|
37
41
|
spaceBetween: 40,
|
|
38
|
-
}
|
|
39
|
-
}
|
|
42
|
+
},
|
|
43
|
+
},
|
|
40
44
|
});
|
|
41
45
|
}, 100);
|
|
42
46
|
}
|
|
43
47
|
render() {
|
|
44
|
-
return (h(Host,
|
|
48
|
+
return (h(Host, { class: "host-ele" }, h("div", { class: "event-slider-cards swiper-container" }, 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" }))))));
|
|
45
49
|
}
|
|
46
50
|
static get is() { return "event-podcast-slider-example"; }
|
|
47
51
|
static get originalStyleUrls() {
|
|
@@ -54,27 +58,5 @@ export class EventPodcastSliderExample {
|
|
|
54
58
|
"$": ["event-podcast-slider-example.css"]
|
|
55
59
|
};
|
|
56
60
|
}
|
|
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
|
-
}
|
|
79
61
|
static get elementRef() { return "el"; }
|
|
80
62
|
}
|
|
@@ -265,6 +265,7 @@ ptc-link, ptc-square-card,
|
|
|
265
265
|
|
|
266
266
|
.bar-close {
|
|
267
267
|
max-width: 36px;
|
|
268
|
+
max-height: 36px;
|
|
268
269
|
cursor: pointer;
|
|
269
270
|
margin-left: var(--ptc-element-spacing-08);
|
|
270
271
|
position: relative;
|
|
@@ -279,6 +280,10 @@ ptc-link, ptc-square-card,
|
|
|
279
280
|
transform: translate(-50%, -50%);
|
|
280
281
|
z-index: 1;
|
|
281
282
|
}
|
|
283
|
+
.bar-close:focus-visible {
|
|
284
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
285
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
286
|
+
}
|
|
282
287
|
|
|
283
288
|
ptc-tooltip-v2.after-space::after {
|
|
284
289
|
content: " ";
|
|
@@ -297,6 +302,7 @@ ptc-tooltip-v2.after-space::after {
|
|
|
297
302
|
|
|
298
303
|
.bar-close {
|
|
299
304
|
max-width: 18px;
|
|
305
|
+
max-height: 18px;
|
|
300
306
|
}
|
|
301
307
|
.bar-close::before {
|
|
302
308
|
width: 34px;
|
|
@@ -51,7 +51,7 @@ export class PtcAnnouncement {
|
|
|
51
51
|
//desktop view
|
|
52
52
|
h("div", { class: "description" }, !!this.description ? (
|
|
53
53
|
// <ptc-tooltip text-display="inline" max-length="165" z-index="z-2" description={this.description + ' '} position="bottom"></ptc-tooltip>
|
|
54
|
-
h("ptc-tooltip-v2", { "element-display": "inline", "max-length": "165", "z-index": "3", class: "after-space" }, this.description + ' ')) : null, !!this.linkText ? (h("a", { class: "cta-link mf-listen", href: this.linkUrl, title: (_b = this.linkTitle) !== null && _b !== void 0 ? _b : this.linkText, target: this.target, tabIndex: 0, id: "announcement-bar-cta" }, h("ptc-tooltip-v2", { "element-display": "inline-block", "max-length": "25", "z-index": "2", position: 'bottom', styles: ".tooltip-content.bottom{transform:translate(-20%, 12px)}.tooltip-text{text-decoration:underline;}" }, this.linkText))) : null))), h("icon-asset", { id: "announcement-bar-close", color: "inherit", name: "close-button-flat", type: "ptc", size: this.getIconSize(), onClick: this.closeClick, class: "bar-close mf-listen", focusOn: true, trackerId: "announcement-bar-close", onKeyDown: this.handleKeyClick })))));
|
|
54
|
+
h("ptc-tooltip-v2", { "element-display": "inline", "max-length": "165", "z-index": "3", class: "after-space" }, this.description + ' ')) : null, !!this.linkText ? (h("a", { class: "cta-link mf-listen", href: this.linkUrl, title: (_b = this.linkTitle) !== null && _b !== void 0 ? _b : this.linkText, target: this.target, tabIndex: 0, id: "announcement-bar-cta" }, h("ptc-tooltip-v2", { "element-display": "inline-block", "max-length": "25", "z-index": "2", position: 'bottom', styles: ".tooltip-content.bottom{transform:translate(-20%, 12px)}.tooltip-text{text-decoration:underline;}" }, this.linkText))) : null))), h("icon-asset", { id: "announcement-bar-close", color: "inherit", name: "close-button-flat", type: "ptc", size: this.getIconSize(), onClick: this.closeClick, class: "bar-close mf-listen", focusOn: true, trackerId: "announcement-bar-close", onKeyDown: this.handleKeyClick, tabIndex: 0 })))));
|
|
55
55
|
}
|
|
56
56
|
getCssClassMap() {
|
|
57
57
|
return {
|
|
@@ -82,26 +82,26 @@ 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, .vjs-social-share-links a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-plm-grey a.light-link {
|
|
86
86
|
color: var(--color-blue-04);
|
|
87
87
|
margin: -2px;
|
|
88
88
|
border: 2px solid transparent;
|
|
89
89
|
}
|
|
90
|
-
.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, .vjs-social-share-links a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
|
|
91
91
|
color: var(--color-blue-06);
|
|
92
92
|
}
|
|
93
|
-
.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, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links 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, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links 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, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
94
94
|
transition: none;
|
|
95
95
|
color: var(--color-blue-07);
|
|
96
96
|
}
|
|
97
|
-
.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, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links 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, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links 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, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
98
98
|
color: var(--color-blue-05);
|
|
99
99
|
}
|
|
100
|
-
.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, .vjs-social-share-links a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
|
|
101
101
|
color: var(--color-gray-04) !important;
|
|
102
102
|
cursor: not-allowed;
|
|
103
103
|
}
|
|
104
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
104
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links 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, .vjs-social-share-links 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, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
|
|
105
105
|
border-radius: var(--ptc-border-radius-standard);
|
|
106
106
|
border: 2px solid white;
|
|
107
107
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
@@ -159,6 +159,13 @@ a:focus-visible {
|
|
|
159
159
|
color: var(--color-green-06);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
+
.vjs-social-share-links a {
|
|
163
|
+
color: var(--color-white);
|
|
164
|
+
}
|
|
165
|
+
.vjs-social-share-links a:hover {
|
|
166
|
+
color: var(--color-white);
|
|
167
|
+
}
|
|
168
|
+
|
|
162
169
|
:host {
|
|
163
170
|
display: block;
|
|
164
171
|
color: var(--color-gray-10);
|
|
@@ -166,6 +166,7 @@ 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;
|
|
169
170
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
170
171
|
}
|
|
171
172
|
|
|
@@ -176,6 +177,7 @@ ptc-link, ptc-square-card,
|
|
|
176
177
|
:host(.color-outlined) a:focus-visible {
|
|
177
178
|
box-shadow: 0 0 0 5px var(--keyboard-nav-outline);
|
|
178
179
|
border-radius: var(--ptc-border-radius-standard) !important;
|
|
180
|
+
border: 2px solid white;
|
|
179
181
|
display: block;
|
|
180
182
|
outline: none;
|
|
181
183
|
}
|
|
@@ -8,6 +8,7 @@ export class PtcCardPlm {
|
|
|
8
8
|
this.isLoading = false;
|
|
9
9
|
this.trackerId = undefined;
|
|
10
10
|
this.disabled = false;
|
|
11
|
+
this.hideLinkTitle = false;
|
|
11
12
|
this.styles = undefined;
|
|
12
13
|
this.darkFocusState = false;
|
|
13
14
|
}
|
|
@@ -44,7 +45,7 @@ export class PtcCardPlm {
|
|
|
44
45
|
render() {
|
|
45
46
|
const classMap = this.getCssClassMap();
|
|
46
47
|
const Tag = !!this.cardLink ? 'a' : 'div';
|
|
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)))));
|
|
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 && !this.hideLinkTitle ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), h("slot", null)))));
|
|
48
49
|
}
|
|
49
50
|
getCssClassMap() {
|
|
50
51
|
return {
|
|
@@ -212,6 +213,24 @@ export class PtcCardPlm {
|
|
|
212
213
|
"reflect": false,
|
|
213
214
|
"defaultValue": "false"
|
|
214
215
|
},
|
|
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
|
+
},
|
|
215
234
|
"styles": {
|
|
216
235
|
"type": "string",
|
|
217
236
|
"mutable": false,
|
|
@@ -781,26 +781,26 @@ 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, .vjs-social-share-links a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-plm-grey a.light-link {
|
|
785
785
|
color: var(--color-blue-04);
|
|
786
786
|
margin: -2px;
|
|
787
787
|
border: 2px solid transparent;
|
|
788
788
|
}
|
|
789
|
-
.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, .vjs-social-share-links a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
|
|
790
790
|
color: var(--color-blue-06);
|
|
791
791
|
}
|
|
792
|
-
.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, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links 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, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links 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, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
793
793
|
transition: none;
|
|
794
794
|
color: var(--color-blue-07);
|
|
795
795
|
}
|
|
796
|
-
.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, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links 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, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links 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, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
797
797
|
color: var(--color-blue-05);
|
|
798
798
|
}
|
|
799
|
-
.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, .vjs-social-share-links a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
|
|
800
800
|
color: var(--color-gray-04) !important;
|
|
801
801
|
cursor: not-allowed;
|
|
802
802
|
}
|
|
803
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
803
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links 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, .vjs-social-share-links 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, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
|
|
804
804
|
border-radius: var(--ptc-border-radius-standard);
|
|
805
805
|
border: 2px solid white;
|
|
806
806
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
@@ -858,6 +858,13 @@ a:focus-visible {
|
|
|
858
858
|
color: var(--color-green-06);
|
|
859
859
|
}
|
|
860
860
|
|
|
861
|
+
.vjs-social-share-links a {
|
|
862
|
+
color: var(--color-white);
|
|
863
|
+
}
|
|
864
|
+
.vjs-social-share-links a:hover {
|
|
865
|
+
color: var(--color-white);
|
|
866
|
+
}
|
|
867
|
+
|
|
861
868
|
:host {
|
|
862
869
|
display: block;
|
|
863
870
|
overflow: hidden;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from '@stencil/core';
|
|
2
2
|
export class PtcCloseIcon {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, null, h("div", { class: 'close-icon mf-listen',
|
|
4
|
+
return (h(Host, null, h("div", { class: 'close-icon mf-listen', id: "modal-pop-up-close-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", tabindex: 0 }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.00089 8.4151L12.5876 14.0018L14.0018 12.5876L8.4151 7.00089L14.0018 1.41421L12.5876 0L7.00089 5.58667L1.41421 0L0 1.41421L5.58667 7.00089L0 12.5876L1.41421 14.0018L7.00089 8.4151Z", fill: "#20262A" })))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "ptc-close-icon"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|