@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
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import Swiper, { Navigation, Pagination, Scrollbar, Mousewheel } from "swiper";
|
|
3
|
+
export class BuyingOptionCardsSlider {
|
|
4
|
+
componentDidLoad() {
|
|
5
|
+
this.initSwiper();
|
|
6
|
+
}
|
|
7
|
+
initSwiper() {
|
|
8
|
+
let list = this.el.querySelector(".bo-slider");
|
|
9
|
+
const slides = this.el.querySelectorAll(".swiper-slide");
|
|
10
|
+
const slideCount = slides.length;
|
|
11
|
+
const self = this;
|
|
12
|
+
// Destroy existing swiper if it exists
|
|
13
|
+
if (this.listSwp) {
|
|
14
|
+
this.listSwp.destroy(true, true);
|
|
15
|
+
}
|
|
16
|
+
// Check if scrollbar should be enabled based on current visibility
|
|
17
|
+
const shouldEnableTouchMove = () => {
|
|
18
|
+
if (this.swiperPaginationRef) {
|
|
19
|
+
const computedStyle = window.getComputedStyle(this.swiperPaginationRef);
|
|
20
|
+
return computedStyle.display !== "none";
|
|
21
|
+
}
|
|
22
|
+
return false;
|
|
23
|
+
};
|
|
24
|
+
this.listSwp = new Swiper(list, {
|
|
25
|
+
// Customize options here
|
|
26
|
+
modules: [Navigation, Pagination, Scrollbar, Mousewheel],
|
|
27
|
+
allowTouchMove: shouldEnableTouchMove(),
|
|
28
|
+
slidesPerView: 1,
|
|
29
|
+
initialSlide: 0,
|
|
30
|
+
spaceBetween: 24,
|
|
31
|
+
centeredSlides: true,
|
|
32
|
+
centeredSlidesBounds: true,
|
|
33
|
+
freeMode: true,
|
|
34
|
+
scrollbar: {
|
|
35
|
+
el: this.swiperPaginationRef,
|
|
36
|
+
draggable: true,
|
|
37
|
+
},
|
|
38
|
+
navigation: {
|
|
39
|
+
nextEl: this.swiperButtonNextRef,
|
|
40
|
+
prevEl: this.swiperButtonPrevRef,
|
|
41
|
+
disabledClass: "swiper-button-disabled",
|
|
42
|
+
},
|
|
43
|
+
mousewheel: {
|
|
44
|
+
forceToAxis: true,
|
|
45
|
+
sensitivity: 100,
|
|
46
|
+
},
|
|
47
|
+
breakpoints: {
|
|
48
|
+
768: {
|
|
49
|
+
slidesPerView: Math.min(2, slideCount),
|
|
50
|
+
centeredSlides: slideCount <= 2,
|
|
51
|
+
},
|
|
52
|
+
992: {
|
|
53
|
+
slidesPerView: Math.min(3, slideCount),
|
|
54
|
+
centeredSlides: slideCount <= 3,
|
|
55
|
+
},
|
|
56
|
+
1200: {
|
|
57
|
+
slidesPerView: Math.min(3, slideCount),
|
|
58
|
+
centeredSlides: slideCount <= 3,
|
|
59
|
+
},
|
|
60
|
+
1440: {
|
|
61
|
+
slidesPerView: Math.min(4, slideCount),
|
|
62
|
+
centeredSlides: slideCount <= 4,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
watchOverflow: true,
|
|
66
|
+
on: {
|
|
67
|
+
init: function () {
|
|
68
|
+
toggleNav(this);
|
|
69
|
+
toggleScrollbarClass(this);
|
|
70
|
+
setTimeout(() => {
|
|
71
|
+
setEqualHeights(this);
|
|
72
|
+
}, 100);
|
|
73
|
+
},
|
|
74
|
+
resize: function () {
|
|
75
|
+
toggleNav(this);
|
|
76
|
+
toggleScrollbarClass(this);
|
|
77
|
+
setTimeout(() => {
|
|
78
|
+
setEqualHeights(this);
|
|
79
|
+
}, 100);
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
});
|
|
83
|
+
function toggleNav(swiper) {
|
|
84
|
+
const totalSlides = swiper.slides.length;
|
|
85
|
+
const slidesPerView = swiper.params.slidesPerView;
|
|
86
|
+
const nextBtn = swiper.navigation.nextEl;
|
|
87
|
+
const prevBtn = swiper.navigation.prevEl;
|
|
88
|
+
if (totalSlides <= slidesPerView) {
|
|
89
|
+
nextBtn.style.display = "none";
|
|
90
|
+
prevBtn.style.display = "none";
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
nextBtn.style.display = "";
|
|
94
|
+
prevBtn.style.display = "";
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
function setEqualHeights(swiper) {
|
|
98
|
+
let maxSlideHeight = 0;
|
|
99
|
+
let maxCardDetailsHeight = 0;
|
|
100
|
+
// Reset all heights first
|
|
101
|
+
swiper.slides.forEach((slide) => {
|
|
102
|
+
// Reset slide heights
|
|
103
|
+
slide.style.height = "";
|
|
104
|
+
slide.style.minHeight = "";
|
|
105
|
+
// Reset card-details heights
|
|
106
|
+
const cardDetails = slide.querySelector(".card-details");
|
|
107
|
+
if (cardDetails) {
|
|
108
|
+
cardDetails.style.height = "";
|
|
109
|
+
cardDetails.style.minHeight = "";
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
// Calculate card-details heights immediately
|
|
113
|
+
swiper.slides.forEach((slide) => {
|
|
114
|
+
const cardDetails = slide.querySelector(".card-details");
|
|
115
|
+
if (cardDetails) {
|
|
116
|
+
maxCardDetailsHeight = Math.max(maxCardDetailsHeight, cardDetails.offsetHeight);
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
// Apply card-details heights immediately
|
|
120
|
+
swiper.slides.forEach((slide) => {
|
|
121
|
+
const cardDetails = slide.querySelector(".card-details");
|
|
122
|
+
if (cardDetails) {
|
|
123
|
+
cardDetails.style.height = `${maxCardDetailsHeight}px`;
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
// Add delay for slide height calculation
|
|
127
|
+
setTimeout(() => {
|
|
128
|
+
// Calculate max slide height
|
|
129
|
+
swiper.slides.forEach((slide) => {
|
|
130
|
+
maxSlideHeight = Math.max(maxSlideHeight, slide.offsetHeight);
|
|
131
|
+
});
|
|
132
|
+
// Apply slide heights
|
|
133
|
+
swiper.slides.forEach((slide) => {
|
|
134
|
+
slide.style.height = `${maxSlideHeight}px`;
|
|
135
|
+
});
|
|
136
|
+
}, 100);
|
|
137
|
+
}
|
|
138
|
+
function toggleScrollbarClass(swiper) {
|
|
139
|
+
const scrollbar = swiper.scrollbar.el;
|
|
140
|
+
const boSlider = swiper.el;
|
|
141
|
+
if (scrollbar && boSlider) {
|
|
142
|
+
const computedStyle = window.getComputedStyle(scrollbar);
|
|
143
|
+
const isDisplayNone = computedStyle.display === "none";
|
|
144
|
+
if (isDisplayNone) {
|
|
145
|
+
boSlider.classList.remove("scrollbar-present");
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
boSlider.classList.add("scrollbar-present");
|
|
149
|
+
}
|
|
150
|
+
// Check if we need to reinitialize based on current allowTouchMove state
|
|
151
|
+
const currentAllowTouchMove = swiper.params.allowTouchMove;
|
|
152
|
+
const shouldAllowTouchMove = !isDisplayNone;
|
|
153
|
+
if (currentAllowTouchMove !== shouldAllowTouchMove) {
|
|
154
|
+
// Reinitialize swiper with correct allowTouchMove setting
|
|
155
|
+
setTimeout(() => {
|
|
156
|
+
self.initSwiper();
|
|
157
|
+
}, 50);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
render() {
|
|
163
|
+
return (h(Host, null, h("div", { class: "bo-slider" }, 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" }))))));
|
|
164
|
+
}
|
|
165
|
+
static get is() { return "buying-option-cards-slider"; }
|
|
166
|
+
static get originalStyleUrls() {
|
|
167
|
+
return {
|
|
168
|
+
"$": ["buying-option-cards-slider.scss"]
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
static get styleUrls() {
|
|
172
|
+
return {
|
|
173
|
+
"$": ["buying-option-cards-slider.css"]
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
static get elementRef() { return "el"; }
|
|
177
|
+
}
|
|
@@ -19,9 +19,7 @@ export class DynamicBoxBundle {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, null, h("div", { class: `d-box ${this.isHovering && window.innerWidth >= 1200
|
|
23
|
-
? "hovering"
|
|
24
|
-
: ""}` }, h("div", { class: "top-image" }, h("img", { src: this.topImgSrc, alt: this.topImgAlt })), h("div", { class: "content" }, h("slot", { name: "media" }))), h("p", null, h("slot", null))));
|
|
22
|
+
return (h(Host, null, h("div", { class: `d-box ${this.isHovering && window.innerWidth >= 1200 ? "hovering" : ""}` }, h("div", { class: "top-image" }, h("img", { src: this.topImgSrc, alt: this.topImgAlt })), h("div", { class: "content" }, h("slot", { name: "media" }))), h("p", null, h("slot", null))));
|
|
25
23
|
}
|
|
26
24
|
static get is() { return "dynamic-box-bundle"; }
|
|
27
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -154,6 +154,14 @@ svg.light-gray use[href$="#plus"],
|
|
|
154
154
|
svg.light-gray use[href$="#checkmark"] {
|
|
155
155
|
stroke: var(--color-gray-05);
|
|
156
156
|
}
|
|
157
|
+
svg.disabled {
|
|
158
|
+
fill: var(--color-gray-03);
|
|
159
|
+
}
|
|
160
|
+
svg.disabled use[href$="#minus"],
|
|
161
|
+
svg.disabled use[href$="#plus"],
|
|
162
|
+
svg.disabled use[href$="#checkmark"] {
|
|
163
|
+
stroke: var(--color-gray-03);
|
|
164
|
+
}
|
|
157
165
|
svg.primary-gray {
|
|
158
166
|
fill: var(--color-gray-10);
|
|
159
167
|
}
|
|
@@ -157,8 +157,8 @@ export class IconAsset {
|
|
|
157
157
|
"type": "string",
|
|
158
158
|
"mutable": false,
|
|
159
159
|
"complexType": {
|
|
160
|
-
"original": "| \"black\"\r\n\t\t| \"white\"\r\n\t\t| \"ptc-green\"\r\n\t\t| \"gray\"\r\n\t\t| \"light-gray\"\r\n\t\t| \"primary-gray\"\r\n\t\t| \"default\"\r\n\t\t| \"inherit\"",
|
|
161
|
-
"resolved": "\"black\" | \"default\" | \"gray\" | \"inherit\" | \"light-gray\" | \"primary-gray\" | \"ptc-green\" | \"white\"",
|
|
160
|
+
"original": "| \"black\"\r\n\t\t| \"white\"\r\n\t\t| \"ptc-green\"\r\n\t\t| \"gray\"\r\n\t\t| \"light-gray\"\r\n\t\t| \"primary-gray\"\r\n\t\t| \"default\"\r\n\t\t| \"disabled\"\r\n\t\t| \"inherit\"",
|
|
161
|
+
"resolved": "\"black\" | \"default\" | \"disabled\" | \"gray\" | \"inherit\" | \"light-gray\" | \"primary-gray\" | \"ptc-green\" | \"white\"",
|
|
162
162
|
"references": {}
|
|
163
163
|
},
|
|
164
164
|
"required": false,
|
|
@@ -395,6 +395,7 @@
|
|
|
395
395
|
<path id="rect28" d="M 0,0 H 4 V 18 H 0 Z" />
|
|
396
396
|
<path id="rect30" d="m 10,0 h 4 v 18 h -4 z" />
|
|
397
397
|
</symbol>
|
|
398
|
+
|
|
398
399
|
<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
399
400
|
viewBox="0 0 22.84 22.84" id="download-arrow-news">
|
|
400
401
|
<defs>
|
|
@@ -422,6 +423,7 @@
|
|
|
422
423
|
</g>
|
|
423
424
|
</g>
|
|
424
425
|
</symbol>
|
|
426
|
+
|
|
425
427
|
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="twitter-blogs-icon">
|
|
426
428
|
<g id="Layer_2">
|
|
427
429
|
<g id="Layer_1-2">
|
|
@@ -458,36 +460,6 @@
|
|
|
458
460
|
</g>
|
|
459
461
|
</g>
|
|
460
462
|
</symbol>
|
|
461
|
-
|
|
462
|
-
<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
463
|
-
viewBox="0 0 22.84 22.84" id="download-arrow-news">
|
|
464
|
-
<style>.cls-1{fill:url(#linear-gradient);}</style>
|
|
465
|
-
<defs>
|
|
466
|
-
<linearGradient id="linear-gradient" x1="0.22" y1="25.05" x2="-0.67" y2="25.43"
|
|
467
|
-
gradientTransform="matrix(35, 0, 0, -35, 13.73, 892.38)" gradientUnits="userSpaceOnUse">
|
|
468
|
-
<stop offset="0" stop-color="#77c14d"></stop>
|
|
469
|
-
<stop offset="1" stop-color="#03793e"></stop>
|
|
470
|
-
</linearGradient>
|
|
471
|
-
</defs>
|
|
472
|
-
<g id="Layer_2">
|
|
473
|
-
<g id="Layer_1-2">
|
|
474
|
-
<g id="Group_1444">
|
|
475
|
-
<g id="Ellipse_446-2">
|
|
476
|
-
<circle cx="11.42" cy="11.42" r="11.42" class="cls-1"></circle>
|
|
477
|
-
<circle cx="11.42" cy="11.42" r="11.26" style="fill:none;stroke:#fff;stroke-width:0.33px;"></circle>
|
|
478
|
-
</g>
|
|
479
|
-
</g>
|
|
480
|
-
<g id="Group_1424">
|
|
481
|
-
<rect id="Rectangle_420" x="10.05" y="8.04" width="2.73" height="1.24" style="fill:#fff;"></rect>
|
|
482
|
-
<rect id="Rectangle_421" x="10.05" y="6.53" width="2.73" height="0.83" style="fill:#fff;"></rect>
|
|
483
|
-
<path id="Path_4278"
|
|
484
|
-
d="M10.17,12a.07.07,0,0,1-.07.07H8.8a.08.08,0,0,0-.08.07.11.11,0,0,0,0,.05L11.34,16a.08.08,0,0,0,.12,0,0,0,0,0,0,0,0l2.59-3.79a.08.08,0,0,0,0-.11h-1.3a.08.08,0,0,1-.08-.07h0V10a.07.07,0,0,0-.07-.07H10.25a.08.08,0,0,0-.08.07h0Z"
|
|
485
|
-
style="fill:#fff;"></path>
|
|
486
|
-
</g>
|
|
487
|
-
</g>
|
|
488
|
-
</g>
|
|
489
|
-
</symbol>
|
|
490
|
-
|
|
491
463
|
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 32" id="arrow_ascending">
|
|
492
464
|
<path d="M21.8 14.6L11 0L0 14.6H7L7 32L14.8 32L14.8 14.6L21.8 14.6Z"></path>
|
|
493
465
|
</symbol>
|
package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css
CHANGED
|
@@ -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);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { isReducedMotion, onReducedMotionChange } from '../../utils/utils';
|
|
3
2
|
export class InnovatorToggleContainer {
|
|
4
3
|
constructor() {
|
|
5
4
|
this.sectionTitle = undefined;
|
|
@@ -9,46 +8,11 @@ export class InnovatorToggleContainer {
|
|
|
9
8
|
componentDidLoad() {
|
|
10
9
|
this.el.addEventListener("mousemove", () => { });
|
|
11
10
|
let imgElement = this.el.shadowRoot.querySelector(".bgImage");
|
|
12
|
-
|
|
13
|
-
if (this.
|
|
14
|
-
|
|
15
|
-
this._onMove = (event) => {
|
|
16
|
-
if (event.target === this.el) {
|
|
17
|
-
imgElement.style.setProperty("transform", `translate(-${event.clientX / 100}px, -${event.clientY / 100}px) scale(1.1, 1.1)`);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
window.addEventListener("mousemove", this._onMove, {
|
|
21
|
-
passive: true,
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
const disable = () => {
|
|
25
|
-
if (this._onMove) {
|
|
26
|
-
window.removeEventListener("mousemove", this._onMove);
|
|
27
|
-
this._onMove = undefined;
|
|
11
|
+
onmousemove = (event) => {
|
|
12
|
+
if (event.target === this.el) {
|
|
13
|
+
imgElement.style.setProperty("transform", `translate(-${event.clientX / 100}px, -${event.clientY / 100}px) scale(1.1, 1.1)`);
|
|
28
14
|
}
|
|
29
|
-
// reset to a stable state when motion is off
|
|
30
|
-
imgElement.style.transform = 'none';
|
|
31
15
|
};
|
|
32
|
-
if (isReducedMotion())
|
|
33
|
-
disable();
|
|
34
|
-
else
|
|
35
|
-
enable();
|
|
36
|
-
// live changes to the OS setting
|
|
37
|
-
this._offPRM = onReducedMotionChange((reduced) => {
|
|
38
|
-
if (reduced)
|
|
39
|
-
disable();
|
|
40
|
-
else
|
|
41
|
-
enable();
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
//PRM = prefer-reduced-motion
|
|
45
|
-
disconnectedCallback() {
|
|
46
|
-
var _a;
|
|
47
|
-
if (this._onMove) {
|
|
48
|
-
window.removeEventListener("mousemove", this._onMove);
|
|
49
|
-
this._onMove = undefined;
|
|
50
|
-
}
|
|
51
|
-
(_a = this._offPRM) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
52
16
|
}
|
|
53
17
|
render() {
|
|
54
18
|
return (h(Host, null, h("img", { src: this.backgroundImage, alt: "", class: "bgImage" }), h("svg", { class: "cut cut-top", xmlns: "http://www.w3.org/2000/svg", width: "320.963", height: "28.179", viewBox: "0 0 320.963 28.179" }, h("path", { fill: "#F3F3F3", d: "M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z", class: "path-1", "data-name": "Path 8770", transform: "translate(-416.057 -463.856)" })), h("div", { class: "backdrop-blur light-links" }, h("div", { class: "ptc-container" }, h("ptc-title", { type: "h2", "text-align": "center", "title-color": "white", "title-margin": "margin-flush" }, this.sectionTitle), h("ptc-para", { "font-size": "small", "para-align": "center", "font-weight": "w-5", "para-color": "white", "para-margin": "margin-5" }, this.description), h("ptc-spacer", null)), h("div", { class: "ptc-container" }, h("div", { class: "content-box" }, h("div", { class: "backdrop" }), h("slot", null)))), h("svg", { class: "cut cut-bottom", xmlns: "http://www.w3.org/2000/svg", width: "320.963", height: "28.179", viewBox: "0 0 320.963 28.179" }, h("path", { fill: "#F3F3F3", d: "M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z", class: "path-1", "data-name": "Path 8770", transform: "translate(-416.057 -463.856)" }))));
|
package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js
CHANGED
|
@@ -193,10 +193,7 @@ export class BlogsSearchSection {
|
|
|
193
193
|
return (h("div", { class: "is-col-12 is-col-6-md is-col-4-xl" }, h("ptc-card", { "card-href": "http://www.google.com", "card-type": "case-studies-card", "has-image": "true", heading: "2022 SoCal RUG Event", "heading-transform": "none", target: "_blank" }, h("ptc-img", { slot: "slot-image", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "image-type": "smart-img", "load-mode": "lazy-bg" }), h("div", { slot: "slot-description" }, h("ptc-para", { "font-size": "medium", "font-weight": "w-4", "para-line-h": "line-height-19" }, "Join us for live presentations and hear about the latest updates for Creo, Windchill PLM, and Thingworx IOT and Augmented Reality.")))));
|
|
194
194
|
}))));
|
|
195
195
|
};
|
|
196
|
-
return (h(Host, null, h("div", { class: "blogs-serach-section" }, h("slot", { name: "mobile-search-and-filter" }), h("div", { class: "is-grid has-col-gap-lg" }, h("div", { class: "is-col-4-lg is-col-3-xl" }, h("slot", { name: "blogs-desktop-filters" })), h("div", { class: "is-col-12 is-col-8-lg is-col-9-xl" }, h("ptc-preloader-section", { id: "preload", "auto-show": "false", "section-type": "blogs-listing", "number-of-cards": "9" }, h("div", null, h("div", { class: `search-results-and-tags ${this.search ||
|
|
197
|
-
this.filters.length > 0
|
|
198
|
-
? "show"
|
|
199
|
-
: ""}` }, h("div", null, h("div", { class: "results-label" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main" }, this.data.length, " Results")), h("div", { class: "results-divider is-desktop" }), h("div", { class: "filter-list is-desktop" }, this.search && (h("ptc-filter-tag", { theme: "bubble", onClicked: this
|
|
196
|
+
return (h(Host, null, h("div", { class: "blogs-serach-section" }, h("slot", { name: "mobile-search-and-filter" }), h("div", { class: "is-grid has-col-gap-lg" }, h("div", { class: "is-col-4-lg is-col-3-xl" }, h("slot", { name: "blogs-desktop-filters" })), h("div", { class: "is-col-12 is-col-8-lg is-col-9-xl" }, h("ptc-preloader-section", { id: "preload", "auto-show": "false", "section-type": "blogs-listing", "number-of-cards": "9" }, h("div", null, h("div", { class: `search-results-and-tags ${this.search || this.filters.length > 0 ? "show" : ""}` }, h("div", null, h("div", { class: "results-label" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main" }, this.data.length, " Results")), h("div", { class: "results-divider is-desktop" }), h("div", { class: "filter-list is-desktop" }, this.search && (h("ptc-filter-tag", { theme: "bubble", onClicked: this
|
|
200
197
|
.handleRemoveSearchTag, "data-type": FilterTagTypes.FILTER, "data-value": this.search }, `Search: "${this.search}"`)), this.filters.map((filter) => {
|
|
201
198
|
return (h("ptc-filter-tag", { theme: "bubble", onClicked: this
|
|
202
199
|
.handleRemoveFilterTag, "data-type": FilterTagTypes.SEARCH, "data-value": filter }, filter));
|
|
@@ -37,11 +37,10 @@ a {
|
|
|
37
37
|
.background-grey-10,
|
|
38
38
|
.background-plm-grey {
|
|
39
39
|
a:not(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
),
|
|
40
|
+
.hero-footer-form-wrapper a,
|
|
41
|
+
ptc-modal inline-form a,
|
|
42
|
+
.vjs-social-share-links a
|
|
43
|
+
),
|
|
45
44
|
a.light-link {
|
|
46
45
|
color: var(--color-blue-04);
|
|
47
46
|
margin: -2px;
|
|
@@ -118,9 +118,7 @@ export class HomepageToggledContent {
|
|
|
118
118
|
const upArrow = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, h("path", { d: "M13 8.5L7.34315 2.71178L1.68629 8.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
|
|
119
119
|
const downArrow = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, h("path", { d: "M13 2.5L7.34315 8.28822L1.68629 2.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
|
|
120
120
|
const tabs = this.getTabs();
|
|
121
|
-
return (h("div", { class: "wrapper" }, h("div", { class: "header" }, h("h2", null, h("slot", { name: "title" })), h("p", null, h("slot", { name: "description" }))), h("div", { class: "tabs" }, h("div", { class: "tabs-desktop" }, tabs.map((tab) => (h("homepage-clickable-tab", { label: tab.label, active: this.activeTab === tab.index, activeColor: this.colors[tab.index], onClick: () => this.handleTabSelected(tab.index) })))), h("div", { class: "tabs-mobile" }, h("button", { class: `dropdown-button ${this.colors[this.activeTab]} ${this.dropdownOpen ? "opened" : ""}`, onClick: () => this.toggleDropdown() }, tabs[this.activeTab].label, h("span", { class: "arrow" }, this.dropdownOpen ? upArrow : downArrow)), this.dropdownOpen && (h("div", { class: "dropdown-menu" }, tabs.map((tab) => (h("div", { class: `dropdown-item ${tab.index === this.activeTab
|
|
122
|
-
? "active-tab"
|
|
123
|
-
: ""}`, onClick: () => this.handleTabSelected(tab.index) }, h("slot", { name: `tab-label-${tab.index}` })))))))), h("div", { class: "content" }, tabs.map((tab, index) => (h("div", { class: `tab-content ${this.activeTab === index ? "active-tab" : ""}` }, h("slot", { name: `tab-image-${index}` }), h("div", { class: "content-detail" }, h("div", { hidden: true }, tab.label), h("h2", null, h("slot", { name: `tab-title-${index}` })), h("p", null, h("slot", { name: `tab-content-${index}` })), h("slot", { name: `tab-button-${index}` }), this.activeTab === index &&
|
|
121
|
+
return (h("div", { class: "wrapper" }, h("div", { class: "header" }, h("h2", null, h("slot", { name: "title" })), h("p", null, h("slot", { name: "description" }))), h("div", { class: "tabs" }, h("div", { class: "tabs-desktop" }, tabs.map((tab) => (h("homepage-clickable-tab", { label: tab.label, active: this.activeTab === tab.index, activeColor: this.colors[tab.index], onClick: () => this.handleTabSelected(tab.index) })))), h("div", { class: "tabs-mobile" }, h("button", { class: `dropdown-button ${this.colors[this.activeTab]} ${this.dropdownOpen ? "opened" : ""}`, onClick: () => this.toggleDropdown() }, tabs[this.activeTab].label, h("span", { class: "arrow" }, this.dropdownOpen ? upArrow : downArrow)), this.dropdownOpen && (h("div", { class: "dropdown-menu" }, tabs.map((tab) => (h("div", { class: `dropdown-item ${tab.index === this.activeTab ? "active-tab" : ""}`, onClick: () => this.handleTabSelected(tab.index) }, h("slot", { name: `tab-label-${tab.index}` })))))))), h("div", { class: "content" }, tabs.map((tab, index) => (h("div", { class: `tab-content ${this.activeTab === index ? "active-tab" : ""}` }, h("slot", { name: `tab-image-${index}` }), h("div", { class: "content-detail" }, h("div", { hidden: true }, tab.label), h("h2", null, h("slot", { name: `tab-title-${index}` })), h("p", null, h("slot", { name: `tab-content-${index}` })), h("slot", { name: `tab-button-${index}` }), this.activeTab === index &&
|
|
124
122
|
this.tileElements.length > 0 ? (h("div", Object.assign({ class: "info-card-wrapper card-section" }, this.getSliderBindings()), this.tileElements.map((tile, index) => (h("div", { class: `swiper-slide card-link card-link-${index + 1}`, "tab-index": index + 1, key: index, innerHTML: tile.outerHTML, onMouseDown: (e) => this.onCardMouseDown(e), onMouseUp: (e) => this.onCardMouseUp(e), onMouseLeave: (e) => this.onCardMouseUp(e), onTouchEnd: (e) => {
|
|
125
123
|
this.onCardMouseUp(e);
|
|
126
124
|
} }))))) : null)))))));
|
|
@@ -48,8 +48,7 @@ export class PtcAnnouncement {
|
|
|
48
48
|
// <ptc-tooltip text-display="inline" max-length="60" z-index="z-2" description={this.barTitle} position="bottom"></ptc-tooltip>
|
|
49
49
|
h("ptc-tooltip-v2", { "max-length": "60", "z-index": "2" }, this.barTitle)))) : null, this.windowSize === "mobile" ? ( //mobile view
|
|
50
50
|
Object.assign({}, (!!this.description || !!this.linkUrl ? (h("ptc-readmore", { "visible-lines-custom": this.customMaxLines, "z-index": "z-3", "more-text": this.moreText }, h("div", { style: { display: "inline" } }, !!this.description
|
|
51
|
-
? `${this.description +
|
|
52
|
-
" "}`
|
|
51
|
+
? `${this.description + " "}`
|
|
53
52
|
: null, !!this.linkText ? (h("a", { class: "cta-link mf-listen", href: this.linkUrl, title: (_a = this.linkTitle) !== null && _a !== void 0 ? _a : this.linkText, target: this.target, tabIndex: 0, id: "announcement-bar-cta" }, this.linkText)) : null))) : null))) : (
|
|
54
53
|
//desktop view
|
|
55
54
|
h("div", { class: "description" }, !!this.description ? (
|
|
@@ -234,25 +234,4 @@ ptc-footer {
|
|
|
234
234
|
}
|
|
235
235
|
:host .play-button button.bg-svg-pause {
|
|
236
236
|
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 18" id="pause"><path id="rect28" d="M 0,0 H 4 V 18 H 0 Z"></path><path id="rect30" d="m 10,0 h 4 v 18 h -4 z"></path></svg>');
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
:host {
|
|
240
|
-
display: block;
|
|
241
|
-
position: relative;
|
|
242
|
-
}
|
|
243
|
-
:host .media {
|
|
244
|
-
position: absolute;
|
|
245
|
-
inset: 0;
|
|
246
|
-
overflow: hidden;
|
|
247
|
-
}
|
|
248
|
-
:host .background-video,
|
|
249
|
-
:host .bg-fallback {
|
|
250
|
-
position: absolute;
|
|
251
|
-
inset: 0;
|
|
252
|
-
width: 100%;
|
|
253
|
-
height: 100%;
|
|
254
|
-
object-fit: cover;
|
|
255
|
-
}
|
|
256
|
-
:host .bg-fallback {
|
|
257
|
-
display: block;
|
|
258
237
|
}
|