@ptcwebops/ptcw-design 6.4.4-beta → 6.4.4
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 +2 -5
- package/dist/cjs/buying-option-card.cjs.entry.js +184 -0
- package/dist/cjs/buying-option-cards-slider.cjs.entry.js +182 -0
- package/dist/cjs/component-1b8ad4d2.js +1819 -0
- package/dist/cjs/{component-6a178a16.js → component-35540bfb.js} +1494 -3305
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +1 -3
- 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 +2 -4
- package/dist/cjs/icon-asset.cjs.entry.js +1 -1
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +4 -40
- package/dist/cjs/loader.cjs.js +1 -1
- 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-announcement.cjs.entry.js +1 -2
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ptc-background-video.cjs.entry.js +28 -92
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +117 -0
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +1 -3
- package/dist/cjs/ptc-card_2.cjs.entry.js +4 -5
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +24 -24
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
- package/dist/cjs/ptc-date.cjs.entry.js +1 -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-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +6 -724
- package/dist/cjs/ptc-form-radio-button.cjs.entry.js +13 -0
- 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 +1 -1
- package/dist/cjs/ptc-img.cjs.entry.js +7 -87
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +5 -11
- package/dist/cjs/ptc-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-media-card.cjs.entry.js +6 -74
- package/dist/cjs/ptc-modal-quiz.cjs.entry.js +1 -4
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +730 -0
- package/dist/cjs/ptc-para.cjs.entry.js +139 -0
- package/dist/cjs/ptc-picture.cjs.entry.js +168 -0
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-preloader.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -11
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +11 -27
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +3 -3
- 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-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +1 -1
- package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-title.cjs.entry.js +161 -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 +9 -19
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/{utils-0ff09a53.js → utils-b63aef52.js} +0 -13
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/buying-option-card/buying-option-card.css +155 -0
- package/dist/collection/components/buying-option-card/buying-option-card.js +227 -0
- package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.css +1150 -0
- package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.js +177 -0
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +1 -3
- package/dist/collection/components/icon-asset/icon-asset.css +8 -0
- package/dist/collection/components/icon-asset/icon-asset.js +2 -2
- package/dist/collection/components/icon-asset/media/designer-v6.0.7.svg +2 -30
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +0 -24
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +3 -39
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +1 -4
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +4 -5
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +1 -3
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -2
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +1 -0
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +0 -21
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +43 -103
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +0 -24
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +1 -3
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +0 -24
- package/dist/collection/components/ptc-date/ptc-date.js +2 -2
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +0 -24
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +0 -24
- package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.js +18 -2
- package/dist/collection/components/ptc-img/ptc-img.css +0 -76
- package/dist/collection/components/ptc-img/ptc-img.js +7 -132
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +4 -24
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +4 -28
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +7 -78
- package/dist/collection/components/ptc-modal/ptc-modal.css +0 -4
- package/dist/collection/components/ptc-modal/ptc-modal.js +25 -25
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +1 -4
- 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 +0 -24
- package/dist/collection/components/ptc-preloader/ptc-preloader.css +111 -147
- package/dist/collection/components/ptc-preloader/ptc-preloader.js +1 -1
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -14
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +3 -4
- 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 -28
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +10 -26
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +4 -0
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +0 -24
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +0 -24
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +0 -24
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +0 -24
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +0 -24
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +0 -6
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +0 -19
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +5 -3
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +0 -24
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +0 -24
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +3 -27
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +8 -18
- package/dist/collection/stories/Announcement.stories.js +0 -7
- package/dist/collection/stories/BackgroundImage.stories.js +0 -7
- package/dist/collection/stories/Breadcrumb.stories.js +44 -37
- package/dist/collection/stories/CardWrapper.stories.js +0 -32
- package/dist/collection/stories/Countdown.stories.js +67 -6
- package/dist/collection/stories/Date.stories.js +26 -42
- package/dist/collection/stories/FormCheckbox.stories.js +3 -3
- package/dist/collection/stories/FormRadioButton.stories.js +3 -3
- package/dist/collection/stories/Icon.stories.js +6 -30
- package/dist/collection/stories/Jumbotron.stories.js +0 -36
- package/dist/collection/stories/Link.stories.js +3 -3
- package/dist/collection/stories/ListItem.stories.js +1 -7
- package/dist/collection/stories/MobileSelect.stories.js +1 -1
- package/dist/collection/stories/Select.stories.js +33 -21
- package/dist/collection/stories/Span.stories.js +4 -10
- package/dist/collection/stories/SvgButton.stories.js +1 -1
- package/dist/collection/stories/Textfield.stories.js +0 -14
- package/dist/collection/stories/organisms/ptc/Buying Options Cards Slider/preview.stories.js +187 -0
- package/dist/collection/utils/utils.js +0 -11
- package/dist/custom-elements/index.d.ts +12 -6
- package/dist/custom-elements/index.js +7888 -7937
- 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 +2 -5
- package/dist/esm/buying-option-card.entry.js +180 -0
- package/dist/esm/buying-option-cards-slider.entry.js +178 -0
- package/dist/esm/{component-80f298b4.js → component-8c53e377.js} +1482 -3281
- package/dist/esm/component-9beac35b.js +1802 -0
- package/dist/esm/dynamic-box-bundle.entry.js +1 -3
- 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 +2 -4
- package/dist/esm/icon-asset.entry.js +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +4 -40
- package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
- package/dist/esm/loader.js +1 -1
- 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 +1 -2
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +28 -92
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +113 -0
- package/dist/esm/ptc-card-bottom_2.entry.js +1 -3
- package/dist/esm/ptc-card_2.entry.js +4 -5
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +24 -24
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +2 -1
- package/dist/esm/ptc-date.entry.js +1 -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-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +7 -723
- package/dist/esm/ptc-form-radio-button.entry.js +13 -0
- 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-img.entry.js +8 -88
- package/dist/esm/ptc-jumbotron.entry.js +5 -11
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +6 -74
- package/dist/esm/ptc-modal-quiz.entry.js +1 -4
- package/dist/esm/ptc-multi-select_2.entry.js +725 -0
- package/dist/esm/ptc-para.entry.js +135 -0
- package/dist/esm/ptc-picture.entry.js +164 -0
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-preloader.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +2 -11
- package/dist/esm/ptc-pricing-packaging-table.entry.js +11 -27
- package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
- 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-skeleton.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-text-copy-with-background.entry.js +1 -1
- package/dist/esm/ptc-title.entry.js +157 -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 +9 -19
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/{utils-a64ba942.js → utils-2f12c081.js} +1 -12
- package/dist/ptcw-design/media/designer-v6.0.7.svg +2 -30
- package/dist/ptcw-design/p-009fbf1f.entry.js +1 -0
- package/dist/ptcw-design/p-00e21489.entry.js +1 -0
- package/dist/ptcw-design/p-0a7cc9e4.entry.js +1 -0
- package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
- package/dist/ptcw-design/p-19a407ff.entry.js +68 -0
- package/dist/ptcw-design/p-1f15239e.entry.js +1 -0
- package/dist/ptcw-design/{p-db1dcce0.entry.js → p-23cb5b5b.entry.js} +1 -1
- package/dist/ptcw-design/p-24776ca2.entry.js +1 -0
- package/dist/ptcw-design/{p-0df868d2.entry.js → p-257267e3.entry.js} +1 -1
- package/dist/ptcw-design/{p-7235425a.entry.js → p-2a3c8a30.entry.js} +1 -1
- package/dist/ptcw-design/p-2bfd8371.entry.js +1 -0
- package/dist/ptcw-design/p-2e6e2a9d.entry.js +1 -0
- package/dist/ptcw-design/p-352e87c0.entry.js +1 -0
- package/dist/ptcw-design/{p-884c335c.entry.js → p-37f92bb4.entry.js} +1 -1
- package/dist/ptcw-design/p-3ed4a7ed.entry.js +1 -0
- package/dist/ptcw-design/p-4098e953.entry.js +1 -0
- package/dist/ptcw-design/{p-456c5cbb.entry.js → p-45b1f3fc.entry.js} +1 -1
- package/dist/ptcw-design/{p-312c41b8.entry.js → p-4b41fe4e.entry.js} +1 -1
- package/dist/ptcw-design/p-4fff8cc8.entry.js +1 -0
- package/dist/ptcw-design/{p-92ad78c5.entry.js → p-52e17d34.entry.js} +1 -1
- package/dist/ptcw-design/{p-e23bc4a1.entry.js → p-54f5a5be.entry.js} +1 -1
- package/dist/ptcw-design/p-56a73429.entry.js +1 -0
- package/dist/ptcw-design/{p-f57f32ee.entry.js → p-5dec76bd.entry.js} +1 -1
- package/dist/ptcw-design/p-605b13a2.entry.js +1 -0
- package/dist/ptcw-design/p-64026649.entry.js +1 -0
- package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
- package/dist/ptcw-design/{p-8aca7181.entry.js → p-76dab076.entry.js} +1 -1
- package/dist/ptcw-design/p-7834cfee.entry.js +1 -0
- package/dist/ptcw-design/{p-5a8e7557.entry.js → p-78370e3d.entry.js} +1 -1
- package/dist/ptcw-design/p-80122e26.js +1 -0
- package/dist/ptcw-design/{p-e784a338.entry.js → p-81e5fa38.entry.js} +1 -1
- package/dist/ptcw-design/{p-c160bda4.entry.js → p-8c121480.entry.js} +1 -1
- package/dist/ptcw-design/p-8cea8943.entry.js +1 -0
- package/dist/ptcw-design/{p-5cf5b9f8.entry.js → p-901c31b3.entry.js} +1 -1
- package/dist/ptcw-design/p-9493dfa0.entry.js +1 -0
- package/dist/ptcw-design/p-96163196.entry.js +1 -0
- package/dist/ptcw-design/p-98426799.js +203 -0
- package/dist/ptcw-design/p-98844b50.js +134 -0
- package/dist/ptcw-design/{p-5877f093.entry.js → p-9b0df204.entry.js} +1 -1
- package/dist/ptcw-design/{p-01497d7a.entry.js → p-9dbcfcee.entry.js} +1 -1
- package/dist/ptcw-design/{p-f2675bb0.entry.js → p-9f01419b.entry.js} +1 -1
- package/dist/ptcw-design/{p-3a40c41f.entry.js → p-a3868e6a.entry.js} +1 -1
- package/dist/ptcw-design/{p-82f766d2.entry.js → p-a5fc048f.entry.js} +1 -1
- package/dist/ptcw-design/p-a8872ce3.entry.js +1 -0
- package/dist/ptcw-design/{p-bd9d995b.entry.js → p-abadbe5b.entry.js} +1 -1
- package/dist/ptcw-design/p-abca6130.entry.js +1 -0
- package/dist/ptcw-design/p-b44f4fb1.entry.js +1 -0
- package/dist/ptcw-design/p-bbbfd2e5.entry.js +1 -0
- package/dist/ptcw-design/{p-54b589a6.entry.js → p-c3022c48.entry.js} +1 -1
- package/dist/ptcw-design/p-c3551a36.entry.js +1 -0
- package/dist/ptcw-design/p-c6431ebc.entry.js +1 -0
- package/dist/ptcw-design/p-cad4b517.entry.js +1 -0
- package/dist/ptcw-design/{p-2f21b69b.entry.js → p-d0fb9bfb.entry.js} +1 -1
- package/dist/ptcw-design/p-d51438de.entry.js +1 -0
- package/dist/ptcw-design/p-d875f96d.entry.js +1 -0
- package/dist/ptcw-design/{p-d3ac3758.entry.js → p-db0fc94d.entry.js} +1 -1
- package/dist/ptcw-design/p-e4eb925f.entry.js +1 -0
- package/dist/ptcw-design/{p-81bcde85.entry.js → p-f7c47857.entry.js} +1 -1
- package/dist/ptcw-design/{p-1c52250d.entry.js → p-fe8392c4.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +3 -4
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/buying-option-card/buying-option-card.d.ts +44 -0
- package/dist/types/components/buying-option-cards-slider/buying-option-cards-slider.d.ts +11 -0
- package/dist/types/components/icon-asset/icon-asset.d.ts +1 -1
- package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +0 -3
- package/dist/types/components/organism-bundles/blogs-search-section/blogs-search-section.d.ts +1 -1
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +47 -31
- package/dist/types/components/ptc-form-radio-button/ptc-form-radio-button.d.ts +2 -0
- package/dist/types/components/ptc-img/ptc-img.d.ts +1 -29
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -4
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +2 -8
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
- package/dist/types/components/ptc-pagenation/ptc-pagenation.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 +0 -2
- package/dist/types/components.d.ts +130 -139
- package/dist/types/utils/utils.d.ts +0 -2
- package/package.json +98 -98
- package/readme.md +19 -23
- package/dist/cjs/modal-form-example.cjs.entry.js +0 -109
- package/dist/cjs/ptc-button_5.cjs.entry.js +0 -597
- 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 -114
- package/dist/collection/stories/Breadcrumb2.stories.js +0 -62
- package/dist/collection/stories/BrightcovVideo.stories.js +0 -21
- package/dist/collection/stories/Button.stories.js +0 -204
- package/dist/collection/stories/Checkbox.stories.js +0 -21
- package/dist/collection/stories/CheckboxGroup.stories.js +0 -27
- package/dist/collection/stories/CloseIcon.stories.js +0 -10
- package/dist/collection/stories/CollapseList.stories.js +0 -14
- package/dist/collection/stories/DataLookup.stories.js +0 -21
- package/dist/collection/stories/EllipsisDropdown.stories.js +0 -14
- package/dist/collection/stories/Hero.stories.js +0 -35
- package/dist/collection/stories/HeroFooterCTA.stories.js +0 -21
- package/dist/collection/stories/MinimizedFooter.stories.js +0 -18
- package/dist/collection/stories/MinimizedHeader.stories.js +0 -37
- package/dist/collection/stories/MultiSelect.stories.js +0 -10
- package/dist/collection/stories/Paragraph.stories.js +0 -104
- package/dist/collection/stories/ReadMore.stories.js +0 -100
- package/dist/collection/stories/ReadmoreV2.stories.js +0 -37
- package/dist/collection/stories/ScrollButton.stories.js +0 -14
- package/dist/collection/stories/SearchField.stories.js +0 -21
- package/dist/collection/stories/SocialShare.stories.js +0 -83
- package/dist/collection/stories/SvgBtn.stories.js +0 -36
- package/dist/collection/stories/TextCopyWithBackground.stories.js +0 -100
- package/dist/collection/stories/TheaterVideo.stories.js +0 -21
- package/dist/collection/stories/Title.stories.js +0 -127
- package/dist/collection/stories/Tooltip.stories.js +0 -112
- package/dist/collection/stories/VideoEmbed.stories.js +0 -10
- package/dist/collection/stories/backToTop.stories.js +0 -10
- package/dist/collection/stories/backgroundVideo.stories.js +0 -115
- package/dist/collection/stories/jumbotronSubMenu.stories.js +0 -14
- package/dist/collection/stories/organisms/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/collection/stories/ptcLink2.stories.js +0 -142
- package/dist/esm/modal-form-example.entry.js +0 -105
- package/dist/esm/ptc-button_5.entry.js +0 -589
- package/dist/ptcw-design/p-043be054.entry.js +0 -1
- package/dist/ptcw-design/p-1519b36f.entry.js +0 -1
- package/dist/ptcw-design/p-1e3bf09c.entry.js +0 -1
- package/dist/ptcw-design/p-22cf00e7.js +0 -1
- package/dist/ptcw-design/p-2670ac97.entry.js +0 -1
- package/dist/ptcw-design/p-2b89cc16.entry.js +0 -1
- package/dist/ptcw-design/p-349f43d5.entry.js +0 -1
- package/dist/ptcw-design/p-390c0dee.entry.js +0 -1
- package/dist/ptcw-design/p-4c852c9c.entry.js +0 -1
- package/dist/ptcw-design/p-50308f02.entry.js +0 -1
- package/dist/ptcw-design/p-5c81c755.entry.js +0 -1
- package/dist/ptcw-design/p-672a349f.js +0 -336
- package/dist/ptcw-design/p-684ef1e5.entry.js +0 -1
- package/dist/ptcw-design/p-74097f89.entry.js +0 -1
- package/dist/ptcw-design/p-799afee5.entry.js +0 -1
- package/dist/ptcw-design/p-8fb48953.entry.js +0 -1
- package/dist/ptcw-design/p-938db2fd.entry.js +0 -68
- package/dist/ptcw-design/p-af831c13.entry.js +0 -1
- package/dist/ptcw-design/p-b684ca9d.entry.js +0 -1
- package/dist/ptcw-design/p-c09a8288.entry.js +0 -1
- package/dist/ptcw-design/p-c555a45c.entry.js +0 -1
- package/dist/ptcw-design/p-cb0e3ec2.entry.js +0 -1
- package/dist/ptcw-design/p-dc85c302.entry.js +0 -1
- package/dist/ptcw-design/p-de960790.entry.js +0 -1
- package/dist/ptcw-design/p-dec9c2a0.entry.js +0 -1
- package/dist/ptcw-design/p-e196f008.entry.js +0 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
|
@@ -1,34 +1,7 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
2
|
import { nextUserInteractionEvent } from "../../utils/utils";
|
|
3
|
-
import { isReducedMotion, onReducedMotionChange } from "../../utils/utils";
|
|
4
3
|
export class PtcBackgroundVideo {
|
|
5
4
|
constructor() {
|
|
6
|
-
/** Ensure the first frame is painted and paused. */
|
|
7
|
-
this.showFirstFrame = (v) => {
|
|
8
|
-
v.preload = "auto";
|
|
9
|
-
v.removeAttribute("autoplay");
|
|
10
|
-
v.loop = false;
|
|
11
|
-
const paint = () => {
|
|
12
|
-
try {
|
|
13
|
-
//v.currentTime = 0;
|
|
14
|
-
// If a browser still paints black, try this tiny nudge:
|
|
15
|
-
v.currentTime = 0.1;
|
|
16
|
-
}
|
|
17
|
-
catch (_a) { }
|
|
18
|
-
v.pause();
|
|
19
|
-
};
|
|
20
|
-
if (v.readyState >= 2 /* HAVE_CURRENT_DATA, have enough data */) {
|
|
21
|
-
paint();
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
const onLoaded = () => {
|
|
25
|
-
v.removeEventListener("loadeddata", onLoaded);
|
|
26
|
-
paint();
|
|
27
|
-
};
|
|
28
|
-
v.addEventListener("loadeddata", onLoaded, { once: true });
|
|
29
|
-
v.load();
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
5
|
this.videoSrc = undefined;
|
|
33
6
|
this.posterSrc = undefined;
|
|
34
7
|
this.overlay = true;
|
|
@@ -37,98 +10,60 @@ export class PtcBackgroundVideo {
|
|
|
37
10
|
this.pauseButtonTitle = undefined;
|
|
38
11
|
this.buttonLocation = "bottom-right";
|
|
39
12
|
this.buttonTabIndex = 0;
|
|
13
|
+
this.paused = undefined;
|
|
40
14
|
this.trackerId = undefined;
|
|
41
15
|
this.defer = undefined;
|
|
42
16
|
this.type = "default";
|
|
43
17
|
this.isIframe = false;
|
|
44
|
-
this.paused = undefined;
|
|
45
18
|
this.loadedTrue = false;
|
|
46
|
-
this.reducedMotion = false;
|
|
47
|
-
}
|
|
48
|
-
componentWillLoad() {
|
|
49
|
-
this.paused = false;
|
|
50
|
-
this.reducedMotion = isReducedMotion();
|
|
51
19
|
}
|
|
52
20
|
componentDidLoad() {
|
|
53
|
-
const afterMount = () => {
|
|
54
|
-
this.loadedTrue = true;
|
|
55
|
-
this.syncPlaybackWithPreference();
|
|
56
|
-
};
|
|
57
21
|
if (this.defer) {
|
|
58
|
-
nextUserInteractionEvent(this).then(
|
|
22
|
+
nextUserInteractionEvent(this).then(() => {
|
|
23
|
+
this.loadedTrue = true;
|
|
24
|
+
});
|
|
59
25
|
}
|
|
60
26
|
else {
|
|
61
|
-
|
|
27
|
+
this.loadedTrue = true;
|
|
62
28
|
}
|
|
63
|
-
this.offMotionListener = onReducedMotionChange((reduced) => {
|
|
64
|
-
this.reducedMotion = reduced;
|
|
65
|
-
// Wait a tick for render to reflect state, then sync playback.
|
|
66
|
-
setTimeout(() => this.syncPlaybackWithPreference(), 0);
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
disconnectedCallback() {
|
|
70
|
-
var _a;
|
|
71
|
-
(_a = this.offMotionListener) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
72
29
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
const v = this.videoEl;
|
|
78
|
-
if (!v)
|
|
79
|
-
return;
|
|
80
|
-
if (this.reducedMotion) {
|
|
81
|
-
// Animations OFF → freeze first frame
|
|
82
|
-
this.showFirstFrame(v);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
// Animations ON → autoplay unless user paused
|
|
86
|
-
v.preload = "auto";
|
|
87
|
-
v.loop = true;
|
|
88
|
-
if (!this.paused) {
|
|
89
|
-
v.setAttribute("autoplay", "");
|
|
90
|
-
v.play().catch(() => {
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
}
|
|
30
|
+
componentWillLoad() {
|
|
31
|
+
this.paused = false;
|
|
94
32
|
}
|
|
95
|
-
// ------------ Render ------------
|
|
96
33
|
render() {
|
|
97
|
-
const
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
return (h(Host, { class: this.type }, h("div", { class: "media" }, videoNode, iframeNode), !!this.videoSrc && this.playButtonTitle && (h("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: this.buttonLocation === "allbp-bottom-right"
|
|
34
|
+
const videoContent = this.isIframe ? (h("div", { class: "iframe-wrapper" }, h("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed" }))) : (h("video", { src: this.videoSrc, poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }));
|
|
35
|
+
const placeholderContent = (h("video", { poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }));
|
|
36
|
+
return (h(Host, { class: this.type }, this.loadedTrue ? videoContent : placeholderContent, !!this.videoSrc && this.playButtonTitle && (h("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: this.buttonLocation === "allbp-bottom-right"
|
|
101
37
|
? "side-left"
|
|
102
38
|
: "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h("button", { class: "bg-svg-play", type: "button", tabindex: this.buttonTabIndex, onClick: (e) => this.toggleVideoPlay(e), "aria-label": "Video Play button" })))), !this.paused && !!this.pauseButtonTitle && (h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: this.buttonLocation === "allbp-bottom-right"
|
|
103
39
|
? "side-left"
|
|
104
|
-
: "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h("button", { class: "bg-svg-pause", tabindex: this.buttonTabIndex, type: "button", onClick: (e) => this.toggleVideoPlay(e), "aria-label": "Video Pause button" })))))), this.overlay ? h("div", { class: `video-overlay ${this.overlayType}` }) : "", this.type
|
|
40
|
+
: "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h("button", { class: "bg-svg-pause", tabindex: this.buttonTabIndex, type: "button", onClick: (e) => this.toggleVideoPlay(e), "aria-label": "Video Pause button" })))))), this.overlay ? (h("div", { class: `video-overlay ${this.overlayType}` })) : (""), this.type == "default" ? h("slot", null) : ""));
|
|
105
41
|
}
|
|
106
42
|
toggleVideoPlay(e) {
|
|
107
43
|
e.preventDefault();
|
|
108
44
|
this.paused = !this.paused;
|
|
109
|
-
|
|
110
|
-
if (
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
v.setAttribute("autoplay", "");
|
|
118
|
-
v.play().catch((z) => console.error(z));
|
|
45
|
+
let video = this.el.shadowRoot.querySelector("video");
|
|
46
|
+
if (video) {
|
|
47
|
+
if (this.paused) {
|
|
48
|
+
video.pause();
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
video.play().catch((z) => console.error(z));
|
|
52
|
+
}
|
|
119
53
|
}
|
|
120
54
|
}
|
|
121
55
|
async pauseVideo() {
|
|
122
|
-
var _a;
|
|
123
56
|
this.paused = true;
|
|
124
|
-
|
|
57
|
+
let video = this.el.shadowRoot.querySelector("video");
|
|
58
|
+
if (video) {
|
|
59
|
+
video.pause();
|
|
60
|
+
}
|
|
125
61
|
}
|
|
126
62
|
async playVideo() {
|
|
127
63
|
this.paused = false;
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
this.videoEl.play().catch((z) => console.error(z));
|
|
64
|
+
let video = this.el.shadowRoot.querySelector("video");
|
|
65
|
+
if (video) {
|
|
66
|
+
video.play().catch((z) => console.error(z));
|
|
132
67
|
}
|
|
133
68
|
}
|
|
134
69
|
static get is() { return "ptc-background-video"; }
|
|
@@ -157,7 +92,7 @@ export class PtcBackgroundVideo {
|
|
|
157
92
|
"optional": false,
|
|
158
93
|
"docs": {
|
|
159
94
|
"tags": [],
|
|
160
|
-
"text": "Video
|
|
95
|
+
"text": "Video url"
|
|
161
96
|
},
|
|
162
97
|
"attribute": "video-src",
|
|
163
98
|
"reflect": false
|
|
@@ -174,7 +109,7 @@ export class PtcBackgroundVideo {
|
|
|
174
109
|
"optional": true,
|
|
175
110
|
"docs": {
|
|
176
111
|
"tags": [],
|
|
177
|
-
"text": "Poster
|
|
112
|
+
"text": "Poster url(Placeholder image till the video get the loaded)"
|
|
178
113
|
},
|
|
179
114
|
"attribute": "poster-src",
|
|
180
115
|
"reflect": false
|
|
@@ -191,7 +126,7 @@ export class PtcBackgroundVideo {
|
|
|
191
126
|
"optional": true,
|
|
192
127
|
"docs": {
|
|
193
128
|
"tags": [],
|
|
194
|
-
"text": "Overlay
|
|
129
|
+
"text": "Overlay(Optional, By default is true)"
|
|
195
130
|
},
|
|
196
131
|
"attribute": "overlay",
|
|
197
132
|
"reflect": false,
|
|
@@ -209,7 +144,7 @@ export class PtcBackgroundVideo {
|
|
|
209
144
|
"optional": false,
|
|
210
145
|
"docs": {
|
|
211
146
|
"tags": [],
|
|
212
|
-
"text": "Overlay
|
|
147
|
+
"text": "Overlay Type standard is gray gradient. dark is dark gradient"
|
|
213
148
|
},
|
|
214
149
|
"attribute": "overlay-type",
|
|
215
150
|
"reflect": false,
|
|
@@ -253,7 +188,7 @@ export class PtcBackgroundVideo {
|
|
|
253
188
|
"type": "string",
|
|
254
189
|
"mutable": false,
|
|
255
190
|
"complexType": {
|
|
256
|
-
"original": "| \"top-left\"\r\n
|
|
191
|
+
"original": "| \"top-left\"\r\n\t\t| \"top-right\"\r\n\t\t| \"bottom-left\"\r\n\t\t| \"bottom-right\"\r\n\t\t| \"allbp-bottom-right\"",
|
|
257
192
|
"resolved": "\"allbp-bottom-right\" | \"bottom-left\" | \"bottom-right\" | \"top-left\" | \"top-right\"",
|
|
258
193
|
"references": {}
|
|
259
194
|
},
|
|
@@ -261,7 +196,7 @@ export class PtcBackgroundVideo {
|
|
|
261
196
|
"optional": true,
|
|
262
197
|
"docs": {
|
|
263
198
|
"tags": [],
|
|
264
|
-
"text": "
|
|
199
|
+
"text": "Pause Button Location"
|
|
265
200
|
},
|
|
266
201
|
"attribute": "button-location",
|
|
267
202
|
"reflect": false,
|
|
@@ -279,7 +214,7 @@ export class PtcBackgroundVideo {
|
|
|
279
214
|
"optional": false,
|
|
280
215
|
"docs": {
|
|
281
216
|
"tags": [],
|
|
282
|
-
"text": "Play/Pause
|
|
217
|
+
"text": "Play/Pause Index"
|
|
283
218
|
},
|
|
284
219
|
"attribute": "button-tab-index",
|
|
285
220
|
"reflect": false,
|
|
@@ -297,7 +232,7 @@ export class PtcBackgroundVideo {
|
|
|
297
232
|
"optional": true,
|
|
298
233
|
"docs": {
|
|
299
234
|
"tags": [],
|
|
300
|
-
"text": "
|
|
235
|
+
"text": "tracker Id"
|
|
301
236
|
},
|
|
302
237
|
"attribute": "tracker-id",
|
|
303
238
|
"reflect": false
|
|
@@ -314,7 +249,7 @@ export class PtcBackgroundVideo {
|
|
|
314
249
|
"optional": false,
|
|
315
250
|
"docs": {
|
|
316
251
|
"tags": [],
|
|
317
|
-
"text": "
|
|
252
|
+
"text": "delay loading of video to improve perfomance"
|
|
318
253
|
},
|
|
319
254
|
"attribute": "defer",
|
|
320
255
|
"reflect": false
|
|
@@ -349,7 +284,7 @@ export class PtcBackgroundVideo {
|
|
|
349
284
|
"optional": false,
|
|
350
285
|
"docs": {
|
|
351
286
|
"tags": [],
|
|
352
|
-
"text": "
|
|
287
|
+
"text": "Is it a iframe?"
|
|
353
288
|
},
|
|
354
289
|
"attribute": "is-iframe",
|
|
355
290
|
"reflect": false,
|
|
@@ -360,8 +295,7 @@ export class PtcBackgroundVideo {
|
|
|
360
295
|
static get states() {
|
|
361
296
|
return {
|
|
362
297
|
"paused": {},
|
|
363
|
-
"loadedTrue": {}
|
|
364
|
-
"reducedMotion": {}
|
|
298
|
+
"loadedTrue": {}
|
|
365
299
|
};
|
|
366
300
|
}
|
|
367
301
|
static get methods() {
|
|
@@ -373,6 +307,9 @@ export class PtcBackgroundVideo {
|
|
|
373
307
|
"references": {
|
|
374
308
|
"Promise": {
|
|
375
309
|
"location": "global"
|
|
310
|
+
},
|
|
311
|
+
"HTMLVideoElement": {
|
|
312
|
+
"location": "global"
|
|
376
313
|
}
|
|
377
314
|
},
|
|
378
315
|
"return": "Promise<void>"
|
|
@@ -389,6 +326,9 @@ export class PtcBackgroundVideo {
|
|
|
389
326
|
"references": {
|
|
390
327
|
"Promise": {
|
|
391
328
|
"location": "global"
|
|
329
|
+
},
|
|
330
|
+
"HTMLVideoElement": {
|
|
331
|
+
"location": "global"
|
|
392
332
|
}
|
|
393
333
|
},
|
|
394
334
|
"return": "Promise<void>"
|
|
@@ -88,17 +88,14 @@ a:focus-visible {
|
|
|
88
88
|
|
|
89
89
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
90
90
|
ptc-modal inline-form a,
|
|
91
|
-
.podcast-cta-section a,
|
|
92
91
|
.vjs-social-share-links a),
|
|
93
92
|
.light-links a.light-link,
|
|
94
93
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
95
94
|
ptc-modal inline-form a,
|
|
96
|
-
.podcast-cta-section a,
|
|
97
95
|
.vjs-social-share-links a),
|
|
98
96
|
.background-grey-10 a.light-link,
|
|
99
97
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
100
98
|
ptc-modal inline-form a,
|
|
101
|
-
.podcast-cta-section a,
|
|
102
99
|
.vjs-social-share-links a),
|
|
103
100
|
.background-plm-grey a.light-link {
|
|
104
101
|
color: var(--color-blue-04);
|
|
@@ -107,47 +104,38 @@ ptc-modal inline-form a,
|
|
|
107
104
|
}
|
|
108
105
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
109
106
|
ptc-modal inline-form a,
|
|
110
|
-
.podcast-cta-section a,
|
|
111
107
|
.vjs-social-share-links a):visited,
|
|
112
108
|
.light-links a.light-link:visited,
|
|
113
109
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
114
110
|
ptc-modal inline-form a,
|
|
115
|
-
.podcast-cta-section a,
|
|
116
111
|
.vjs-social-share-links a):visited,
|
|
117
112
|
.background-grey-10 a.light-link:visited,
|
|
118
113
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
119
114
|
ptc-modal inline-form a,
|
|
120
|
-
.podcast-cta-section a,
|
|
121
115
|
.vjs-social-share-links a):visited,
|
|
122
116
|
.background-plm-grey a.light-link:visited {
|
|
123
117
|
color: var(--color-blue-06);
|
|
124
118
|
}
|
|
125
119
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
126
120
|
ptc-modal inline-form a,
|
|
127
|
-
.podcast-cta-section a,
|
|
128
121
|
.vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a,
|
|
129
122
|
ptc-modal inline-form a,
|
|
130
|
-
.podcast-cta-section a,
|
|
131
123
|
.vjs-social-share-links a):visited:active,
|
|
132
124
|
.light-links a.light-link:active,
|
|
133
125
|
.light-links a.light-link:visited:active,
|
|
134
126
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
135
127
|
ptc-modal inline-form a,
|
|
136
|
-
.podcast-cta-section a,
|
|
137
128
|
.vjs-social-share-links a):active,
|
|
138
129
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
139
130
|
ptc-modal inline-form a,
|
|
140
|
-
.podcast-cta-section a,
|
|
141
131
|
.vjs-social-share-links a):visited:active,
|
|
142
132
|
.background-grey-10 a.light-link:active,
|
|
143
133
|
.background-grey-10 a.light-link:visited:active,
|
|
144
134
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
145
135
|
ptc-modal inline-form a,
|
|
146
|
-
.podcast-cta-section a,
|
|
147
136
|
.vjs-social-share-links a):active,
|
|
148
137
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
149
138
|
ptc-modal inline-form a,
|
|
150
|
-
.podcast-cta-section a,
|
|
151
139
|
.vjs-social-share-links a):visited:active,
|
|
152
140
|
.background-plm-grey a.light-link:active,
|
|
153
141
|
.background-plm-grey a.light-link:visited:active {
|
|
@@ -156,30 +144,24 @@ ptc-modal inline-form a,
|
|
|
156
144
|
}
|
|
157
145
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
158
146
|
ptc-modal inline-form a,
|
|
159
|
-
.podcast-cta-section a,
|
|
160
147
|
.vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a,
|
|
161
148
|
ptc-modal inline-form a,
|
|
162
|
-
.podcast-cta-section a,
|
|
163
149
|
.vjs-social-share-links a):visited:hover,
|
|
164
150
|
.light-links a.light-link:hover,
|
|
165
151
|
.light-links a.light-link:visited:hover,
|
|
166
152
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
167
153
|
ptc-modal inline-form a,
|
|
168
|
-
.podcast-cta-section a,
|
|
169
154
|
.vjs-social-share-links a):hover,
|
|
170
155
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
171
156
|
ptc-modal inline-form a,
|
|
172
|
-
.podcast-cta-section a,
|
|
173
157
|
.vjs-social-share-links a):visited:hover,
|
|
174
158
|
.background-grey-10 a.light-link:hover,
|
|
175
159
|
.background-grey-10 a.light-link:visited:hover,
|
|
176
160
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
177
161
|
ptc-modal inline-form a,
|
|
178
|
-
.podcast-cta-section a,
|
|
179
162
|
.vjs-social-share-links a):hover,
|
|
180
163
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
181
164
|
ptc-modal inline-form a,
|
|
182
|
-
.podcast-cta-section a,
|
|
183
165
|
.vjs-social-share-links a):visited:hover,
|
|
184
166
|
.background-plm-grey a.light-link:hover,
|
|
185
167
|
.background-plm-grey a.light-link:visited:hover {
|
|
@@ -187,17 +169,14 @@ ptc-modal inline-form a,
|
|
|
187
169
|
}
|
|
188
170
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
189
171
|
ptc-modal inline-form a,
|
|
190
|
-
.podcast-cta-section a,
|
|
191
172
|
.vjs-social-share-links a).disabled,
|
|
192
173
|
.light-links a.light-link.disabled,
|
|
193
174
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
194
175
|
ptc-modal inline-form a,
|
|
195
|
-
.podcast-cta-section a,
|
|
196
176
|
.vjs-social-share-links a).disabled,
|
|
197
177
|
.background-grey-10 a.light-link.disabled,
|
|
198
178
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
199
179
|
ptc-modal inline-form a,
|
|
200
|
-
.podcast-cta-section a,
|
|
201
180
|
.vjs-social-share-links a).disabled,
|
|
202
181
|
.background-plm-grey a.light-link.disabled {
|
|
203
182
|
color: var(--color-gray-04) !important;
|
|
@@ -205,17 +184,14 @@ ptc-modal inline-form a,
|
|
|
205
184
|
}
|
|
206
185
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
207
186
|
ptc-modal inline-form a,
|
|
208
|
-
.podcast-cta-section a,
|
|
209
187
|
.vjs-social-share-links a):focus-visible,
|
|
210
188
|
.light-links a.light-link:focus-visible,
|
|
211
189
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
212
190
|
ptc-modal inline-form a,
|
|
213
|
-
.podcast-cta-section a,
|
|
214
191
|
.vjs-social-share-links a):focus-visible,
|
|
215
192
|
.background-grey-10 a.light-link:focus-visible,
|
|
216
193
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
217
194
|
ptc-modal inline-form a,
|
|
218
|
-
.podcast-cta-section a,
|
|
219
195
|
.vjs-social-share-links a):focus-visible,
|
|
220
196
|
.background-plm-grey a.light-link:focus-visible {
|
|
221
197
|
border-radius: var(--ptc-border-radius-standard);
|
|
@@ -49,9 +49,7 @@ export class PtcCardPlm {
|
|
|
49
49
|
? { onMouseEnter: this.hoverEventHandler.bind(this) }
|
|
50
50
|
: {}), (!this.isLoading
|
|
51
51
|
? { onMouseLeave: this.leaveEventHandler.bind(this) }
|
|
52
|
-
: {})), 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
|
|
53
|
-
? "focus-state-dark-background"
|
|
54
|
-
: ""}` }, (!!this.cardLink && this.cardType !== "simple-card"
|
|
52
|
+
: {})), 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"
|
|
55
53
|
? { tabindex: "0" }
|
|
56
54
|
: { tabindex: "-1" }), (!!this.cardLink && !this.isLoading
|
|
57
55
|
? { href: this.cardLink }
|
|
@@ -787,17 +787,14 @@ a:focus-visible {
|
|
|
787
787
|
|
|
788
788
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
789
789
|
ptc-modal inline-form a,
|
|
790
|
-
.podcast-cta-section a,
|
|
791
790
|
.vjs-social-share-links a),
|
|
792
791
|
.light-links a.light-link,
|
|
793
792
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
794
793
|
ptc-modal inline-form a,
|
|
795
|
-
.podcast-cta-section a,
|
|
796
794
|
.vjs-social-share-links a),
|
|
797
795
|
.background-grey-10 a.light-link,
|
|
798
796
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
799
797
|
ptc-modal inline-form a,
|
|
800
|
-
.podcast-cta-section a,
|
|
801
798
|
.vjs-social-share-links a),
|
|
802
799
|
.background-plm-grey a.light-link {
|
|
803
800
|
color: var(--color-blue-04);
|
|
@@ -806,47 +803,38 @@ ptc-modal inline-form a,
|
|
|
806
803
|
}
|
|
807
804
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
808
805
|
ptc-modal inline-form a,
|
|
809
|
-
.podcast-cta-section a,
|
|
810
806
|
.vjs-social-share-links a):visited,
|
|
811
807
|
.light-links a.light-link:visited,
|
|
812
808
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
813
809
|
ptc-modal inline-form a,
|
|
814
|
-
.podcast-cta-section a,
|
|
815
810
|
.vjs-social-share-links a):visited,
|
|
816
811
|
.background-grey-10 a.light-link:visited,
|
|
817
812
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
818
813
|
ptc-modal inline-form a,
|
|
819
|
-
.podcast-cta-section a,
|
|
820
814
|
.vjs-social-share-links a):visited,
|
|
821
815
|
.background-plm-grey a.light-link:visited {
|
|
822
816
|
color: var(--color-blue-06);
|
|
823
817
|
}
|
|
824
818
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
825
819
|
ptc-modal inline-form a,
|
|
826
|
-
.podcast-cta-section a,
|
|
827
820
|
.vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a,
|
|
828
821
|
ptc-modal inline-form a,
|
|
829
|
-
.podcast-cta-section a,
|
|
830
822
|
.vjs-social-share-links a):visited:active,
|
|
831
823
|
.light-links a.light-link:active,
|
|
832
824
|
.light-links a.light-link:visited:active,
|
|
833
825
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
834
826
|
ptc-modal inline-form a,
|
|
835
|
-
.podcast-cta-section a,
|
|
836
827
|
.vjs-social-share-links a):active,
|
|
837
828
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
838
829
|
ptc-modal inline-form a,
|
|
839
|
-
.podcast-cta-section a,
|
|
840
830
|
.vjs-social-share-links a):visited:active,
|
|
841
831
|
.background-grey-10 a.light-link:active,
|
|
842
832
|
.background-grey-10 a.light-link:visited:active,
|
|
843
833
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
844
834
|
ptc-modal inline-form a,
|
|
845
|
-
.podcast-cta-section a,
|
|
846
835
|
.vjs-social-share-links a):active,
|
|
847
836
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
848
837
|
ptc-modal inline-form a,
|
|
849
|
-
.podcast-cta-section a,
|
|
850
838
|
.vjs-social-share-links a):visited:active,
|
|
851
839
|
.background-plm-grey a.light-link:active,
|
|
852
840
|
.background-plm-grey a.light-link:visited:active {
|
|
@@ -855,30 +843,24 @@ ptc-modal inline-form a,
|
|
|
855
843
|
}
|
|
856
844
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
857
845
|
ptc-modal inline-form a,
|
|
858
|
-
.podcast-cta-section a,
|
|
859
846
|
.vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a,
|
|
860
847
|
ptc-modal inline-form a,
|
|
861
|
-
.podcast-cta-section a,
|
|
862
848
|
.vjs-social-share-links a):visited:hover,
|
|
863
849
|
.light-links a.light-link:hover,
|
|
864
850
|
.light-links a.light-link:visited:hover,
|
|
865
851
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
866
852
|
ptc-modal inline-form a,
|
|
867
|
-
.podcast-cta-section a,
|
|
868
853
|
.vjs-social-share-links a):hover,
|
|
869
854
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
870
855
|
ptc-modal inline-form a,
|
|
871
|
-
.podcast-cta-section a,
|
|
872
856
|
.vjs-social-share-links a):visited:hover,
|
|
873
857
|
.background-grey-10 a.light-link:hover,
|
|
874
858
|
.background-grey-10 a.light-link:visited:hover,
|
|
875
859
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
876
860
|
ptc-modal inline-form a,
|
|
877
|
-
.podcast-cta-section a,
|
|
878
861
|
.vjs-social-share-links a):hover,
|
|
879
862
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
880
863
|
ptc-modal inline-form a,
|
|
881
|
-
.podcast-cta-section a,
|
|
882
864
|
.vjs-social-share-links a):visited:hover,
|
|
883
865
|
.background-plm-grey a.light-link:hover,
|
|
884
866
|
.background-plm-grey a.light-link:visited:hover {
|
|
@@ -886,17 +868,14 @@ ptc-modal inline-form a,
|
|
|
886
868
|
}
|
|
887
869
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
888
870
|
ptc-modal inline-form a,
|
|
889
|
-
.podcast-cta-section a,
|
|
890
871
|
.vjs-social-share-links a).disabled,
|
|
891
872
|
.light-links a.light-link.disabled,
|
|
892
873
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
893
874
|
ptc-modal inline-form a,
|
|
894
|
-
.podcast-cta-section a,
|
|
895
875
|
.vjs-social-share-links a).disabled,
|
|
896
876
|
.background-grey-10 a.light-link.disabled,
|
|
897
877
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
898
878
|
ptc-modal inline-form a,
|
|
899
|
-
.podcast-cta-section a,
|
|
900
879
|
.vjs-social-share-links a).disabled,
|
|
901
880
|
.background-plm-grey a.light-link.disabled {
|
|
902
881
|
color: var(--color-gray-04) !important;
|
|
@@ -904,17 +883,14 @@ ptc-modal inline-form a,
|
|
|
904
883
|
}
|
|
905
884
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
906
885
|
ptc-modal inline-form a,
|
|
907
|
-
.podcast-cta-section a,
|
|
908
886
|
.vjs-social-share-links a):focus-visible,
|
|
909
887
|
.light-links a.light-link:focus-visible,
|
|
910
888
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
911
889
|
ptc-modal inline-form a,
|
|
912
|
-
.podcast-cta-section a,
|
|
913
890
|
.vjs-social-share-links a):focus-visible,
|
|
914
891
|
.background-grey-10 a.light-link:focus-visible,
|
|
915
892
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
916
893
|
ptc-modal inline-form a,
|
|
917
|
-
.podcast-cta-section a,
|
|
918
894
|
.vjs-social-share-links a):focus-visible,
|
|
919
895
|
.background-plm-grey a.light-link:focus-visible {
|
|
920
896
|
border-radius: var(--ptc-border-radius-standard);
|
|
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
export class PtcDate {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.year = 1900;
|
|
5
|
-
this.month =
|
|
5
|
+
this.month = 1;
|
|
6
6
|
this.day = 1;
|
|
7
7
|
this.country = "en-US";
|
|
8
8
|
this.dateString = undefined;
|
|
@@ -95,7 +95,7 @@ export class PtcDate {
|
|
|
95
95
|
},
|
|
96
96
|
"attribute": "month",
|
|
97
97
|
"reflect": false,
|
|
98
|
-
"defaultValue": "
|
|
98
|
+
"defaultValue": "1"
|
|
99
99
|
},
|
|
100
100
|
"day": {
|
|
101
101
|
"type": "number",
|