@ptcwebops/ptcw-design 6.3.30-beta → 6.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/component-1b8ad4d2.js +1819 -0
- package/dist/cjs/{component-4dd13907.js → component-35540bfb.js} +1494 -3305
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/global-418c14b4.js +33 -0
- package/dist/cjs/icon-asset.cjs.entry.js +65 -0
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
- package/dist/cjs/list-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -1
- package/dist/cjs/max-width-container.cjs.entry.js +54 -0
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +16 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +20 -3
- package/dist/cjs/ptc-button_5.cjs.entry.js +542 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +7 -5
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +2 -6
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +34 -26
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +1 -1
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +66 -0
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +40 -9
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +18 -3
- package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +18 -800
- package/dist/cjs/ptc-icon-list.cjs.entry.js +35 -0
- package/dist/cjs/ptc-info-tile.cjs.entry.js +2 -1
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +4 -1
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +670 -0
- package/dist/cjs/ptc-nav-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +28 -3
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -10
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-list.cjs.entry.js +11 -1
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +38 -6
- package/dist/cjs/ptc-quote.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-related-card-rail.cjs.entry.js +42 -38
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +9 -0
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +7 -0
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +42 -8
- 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 +17 -15
- package/dist/cjs/ptcw-design.cjs.js +3 -1
- package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +66 -0
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- package/dist/cjs/validation-messages-f1d373e7.js +172 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/icon-asset/icon-asset.js +1 -1
- package/dist/collection/components/icon-asset/media/{designer-v6.0.6.svg → designer-v6.0.7.svg} +17 -30
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +1 -0
- package/dist/collection/components/list-item/list-item.css +4 -0
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +4 -0
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +15 -0
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +10 -6
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +19 -2
- package/dist/collection/components/ptc-button/ptc-button.css +100 -0
- package/dist/collection/components/ptc-button/ptc-button.js +24 -4
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +1 -5
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +1 -1
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +1 -1
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +12 -0
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +29 -3
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +34 -13
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +17 -2
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +20 -1
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +3 -0
- package/dist/collection/components/ptc-modal/ptc-modal.css +0 -4
- package/dist/collection/components/ptc-modal/ptc-modal.js +52 -27
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +7 -0
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +78 -2
- 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 +6 -6
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +109 -0
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +6 -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 -27
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +10 -6
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +1 -1
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +8 -0
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +1 -1
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +11 -1
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +12 -0
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +37 -5
- package/dist/collection/components/ptc-quote/ptc-quote.js +1 -1
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +63 -38
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +9 -0
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +7 -0
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +52 -33
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +6 -0
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +1 -1
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +15 -0
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +67 -9
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +8 -3
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +16 -14
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +1 -1
- package/dist/collection/components/tab-header/tab-header.js +1 -1
- package/dist/collection/global/global.js +7 -0
- package/dist/collection/stories/Card.stories.js +3 -148
- package/dist/collection/stories/Jumbotron.stories.js +727 -0
- package/dist/collection/stories/Link.stories.js +25 -13
- package/dist/collection/stories/Paragraph.stories.js +18 -10
- package/dist/collection/stories/Select.stories.js +5 -8
- package/dist/collection/stories/Textfield.stories.js +71 -28
- package/dist/collection/stories/Title.stories.js +28 -16
- package/dist/collection/utils/fef-logger.js +23 -0
- package/dist/collection/utils/validation-messages.js +49 -2
- package/dist/custom-elements/index.d.ts +0 -6
- package/dist/custom-elements/index.js +588 -399
- package/dist/esm/academic-form-test.entry.js +1 -1
- package/dist/esm/author-listing-example.entry.js +1 -1
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/{component-9c921cc6.js → component-8c53e377.js} +1482 -3281
- package/dist/esm/component-9beac35b.js +1802 -0
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +1 -1
- package/dist/esm/embedded-form.entry.js +1 -1
- package/dist/esm/event-jumbotron-example.entry.js +1 -1
- package/dist/esm/event-podcast-slider-example.entry.js +1 -1
- package/dist/esm/featured-events-slider-example.entry.js +1 -1
- package/dist/esm/featured-list.entry.js +2 -2
- package/dist/esm/fl-tab-content_3.entry.js +1 -1
- package/dist/esm/footer-form.entry.js +1 -1
- package/dist/esm/global-1a5f28d5.js +31 -0
- package/dist/esm/homepage-clickable-tab.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +1 -1
- package/dist/esm/homepage-toggled-content.entry.js +1 -1
- package/dist/esm/icon-asset.entry.js +61 -0
- package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +2 -2
- package/dist/esm/{interfaces-4caedd26.js → interfaces-7c0243be.js} +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +2 -2
- package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
- package/dist/esm/list-item.entry.js +2 -2
- package/dist/esm/loader.js +5 -3
- package/dist/esm/max-width-container.entry.js +50 -0
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/news-search-result.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +1 -1
- package/dist/esm/ptc-back-to-top.entry.js +17 -2
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +21 -4
- package/dist/esm/ptc-breadcrumb.entry.js +1 -1
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-button_5.entry.js +534 -0
- package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/ptc-card_2.entry.js +8 -6
- package/dist/esm/ptc-case-studies-slider.entry.js +3 -7
- package/dist/esm/ptc-checkbox-group.entry.js +1 -1
- package/dist/esm/ptc-checkbox.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +35 -27
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-countdown.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +3 -2
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-dropdown.entry.js +1 -1
- package/dist/esm/ptc-dynamic-card.entry.js +2 -2
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
- package/dist/esm/ptc-embedded-quiz.entry.js +2 -2
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +62 -0
- package/dist/esm/ptc-featured-list.entry.js +2 -2
- package/dist/esm/ptc-filter-dropdown_4.entry.js +41 -10
- package/dist/esm/ptc-filter-level-theater.entry.js +19 -4
- package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/{ptc-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +19 -799
- package/dist/esm/ptc-form-radio-button.entry.js +1 -1
- package/dist/esm/ptc-form-radio-group.entry.js +1 -1
- package/dist/esm/ptc-form.entry.js +1 -1
- package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
- package/dist/esm/ptc-hero.entry.js +1 -1
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-icon-card-slider-example.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +1 -1
- package/dist/esm/ptc-icon-component.entry.js +1 -1
- package/dist/esm/ptc-icon-list.entry.js +31 -0
- package/dist/esm/ptc-icon-minimize.entry.js +1 -1
- package/dist/esm/ptc-image-download-strip.entry.js +1 -1
- package/dist/esm/ptc-img.entry.js +2 -2
- package/dist/esm/ptc-info-tile.entry.js +3 -2
- package/dist/esm/ptc-inline-cta.entry.js +1 -1
- package/dist/esm/ptc-jumbotron.entry.js +5 -2
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-minimized-nav.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +1 -1
- package/dist/esm/ptc-modal-quiz.entry.js +1 -1
- package/dist/esm/ptc-multi-select_2.entry.js +665 -0
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +2 -2
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-skip-to-content.entry.js +29 -4
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-nav-tile.entry.js +1 -1
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +1 -1
- package/dist/esm/ptc-office-locations.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +2 -2
- package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +3 -11
- package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
- package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
- package/dist/esm/ptc-pricing-block.entry.js +1 -1
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
- package/dist/esm/ptc-product-card.entry.js +3 -3
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +3 -3
- package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
- package/dist/esm/ptc-product-list.entry.js +12 -2
- package/dist/esm/ptc-product-sidebar.entry.js +39 -7
- package/dist/esm/ptc-progress-bar.entry.js +1 -1
- package/dist/esm/ptc-quantity-counter.entry.js +1 -1
- package/dist/esm/ptc-quote.entry.js +2 -2
- package/dist/esm/ptc-readmore-char.entry.js +2 -2
- package/dist/esm/ptc-readmore-new.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +2 -2
- package/dist/esm/ptc-readmore.entry.js +1 -1
- package/dist/esm/ptc-related-card-rail.entry.js +43 -39
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-scroll-button.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +1 -1
- package/dist/esm/ptc-seo-title.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +1 -1
- package/dist/esm/ptc-showcase-card.entry.js +1 -1
- package/dist/esm/ptc-skeleton.entry.js +1 -1
- package/dist/esm/ptc-slit-card.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-social-icons.entry.js +1 -1
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-square-card.entry.js +1 -1
- package/dist/esm/ptc-sticky-icons.entry.js +10 -1
- package/dist/esm/ptc-sticky-section.entry.js +1 -1
- package/dist/esm/ptc-sticky-title.entry.js +1 -1
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +1 -1
- package/dist/esm/ptc-svg-btn.entry.js +1 -1
- package/dist/esm/ptc-tab-list.entry.js +1 -1
- package/dist/esm/ptc-tab.entry.js +1 -1
- package/dist/esm/ptc-tabs.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +8 -1
- package/dist/esm/ptc-theater-video-modal.entry.js +43 -9
- package/dist/esm/ptc-tooltip-v2.entry.js +2 -2
- package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
- package/dist/esm/ptc-tooltip.entry.js +1 -1
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptc-value-led-card.entry.js +1 -1
- package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +1 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +2 -2
- package/dist/esm/ptc-value-prop-card.entry.js +1 -1
- package/dist/esm/ptc-video-embed.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +18 -16
- package/dist/esm/ptcw-design.js +5 -3
- package/dist/esm/sequential-bundle-example.entry.js +1 -1
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +62 -0
- package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +2 -2
- package/dist/esm/validation-messages-1379b825.js +169 -0
- package/dist/ptcw-design/media/{designer-v6.0.6.svg → designer-v6.0.7.svg} +17 -30
- package/dist/ptcw-design/{p-f69df077.entry.js → p-008307a6.entry.js} +1 -1
- package/dist/ptcw-design/p-00e21489.entry.js +1 -0
- package/dist/ptcw-design/p-0252726c.entry.js +1 -0
- package/dist/ptcw-design/p-02822616.entry.js +1 -0
- package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
- package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
- package/dist/ptcw-design/{p-135191ce.entry.js → p-04ff81ef.entry.js} +1 -1
- package/dist/ptcw-design/p-05c29cc2.entry.js +1 -0
- package/dist/ptcw-design/p-0a214a22.entry.js +1 -0
- package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
- package/dist/ptcw-design/{p-44e72b9d.entry.js → p-0ddf2a09.entry.js} +1 -1
- package/dist/ptcw-design/p-0efedf59.js +1 -0
- package/dist/ptcw-design/p-13e338a5.entry.js +1 -0
- package/dist/ptcw-design/p-1454ba84.entry.js +1 -0
- package/dist/ptcw-design/{p-bf7f25ce.entry.js → p-15a40f78.entry.js} +1 -1
- package/dist/ptcw-design/{p-8cdcfb51.entry.js → p-15e36f30.entry.js} +1 -1
- package/dist/ptcw-design/p-16d47ac5.entry.js +1 -0
- package/dist/ptcw-design/p-18851303.entry.js +1 -0
- package/dist/ptcw-design/{p-485cb0c8.entry.js → p-18ac526f.entry.js} +1 -1
- package/dist/ptcw-design/p-1feb2812.entry.js +1 -0
- package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
- package/dist/ptcw-design/p-24a6eefa.entry.js +1 -0
- package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
- package/dist/ptcw-design/p-260ecfef.entry.js +1 -0
- package/dist/ptcw-design/{p-d4207d86.entry.js → p-27c26d50.entry.js} +1 -1
- package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
- package/dist/ptcw-design/{p-9292844e.entry.js → p-2aa19c11.entry.js} +1 -1
- package/dist/ptcw-design/{p-cc691b14.entry.js → p-2ba1ef9d.entry.js} +1 -1
- package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
- package/dist/ptcw-design/p-30bfb2f9.entry.js +1 -0
- package/dist/ptcw-design/p-352e87c0.entry.js +1 -0
- package/dist/ptcw-design/{p-0261e249.entry.js → p-36abe396.entry.js} +1 -1
- package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
- package/dist/ptcw-design/{p-c05e326f.entry.js → p-38a56ed6.entry.js} +1 -1
- package/dist/ptcw-design/p-3b9fbbaa.js +1 -0
- package/dist/ptcw-design/p-3ddb6c50.entry.js +1 -0
- package/dist/ptcw-design/p-4056c365.entry.js +1 -0
- package/dist/ptcw-design/{p-1d48bad3.entry.js → p-464d8e22.entry.js} +1 -1
- package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
- package/dist/ptcw-design/p-4cee12b8.entry.js +1 -0
- package/dist/ptcw-design/{p-a1dc7ae5.entry.js → p-4f3dea53.entry.js} +1 -1
- package/dist/ptcw-design/{p-27b8457b.entry.js → p-50770cc0.entry.js} +1 -1
- package/dist/ptcw-design/{p-79c2e0fb.entry.js → p-531caca4.entry.js} +1 -1
- package/dist/ptcw-design/{p-bd9705c4.entry.js → p-55e344bc.entry.js} +1 -1
- package/dist/ptcw-design/{p-bca81995.entry.js → p-560b05a5.entry.js} +1 -1
- package/dist/ptcw-design/p-593b8eff.entry.js +1 -0
- package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
- package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
- package/dist/ptcw-design/{p-9ea0d71c.entry.js → p-5bd8b4be.entry.js} +1 -1
- package/dist/ptcw-design/p-5ca42138.entry.js +1 -0
- package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
- package/dist/ptcw-design/p-66ecd7b9.entry.js +1 -0
- package/dist/ptcw-design/{p-38e43284.entry.js → p-673cfd2e.entry.js} +1 -1
- package/dist/ptcw-design/p-68ed2afe.entry.js +1 -0
- package/dist/ptcw-design/{p-575c7fc0.entry.js → p-6aa9ed95.entry.js} +1 -1
- package/dist/ptcw-design/{p-379fcc72.entry.js → p-6e8ed2ee.entry.js} +1 -1
- package/dist/ptcw-design/p-73a853fc.entry.js +1 -0
- package/dist/ptcw-design/p-757954b2.entry.js +1 -0
- package/dist/ptcw-design/{p-726dab37.entry.js → p-757e3edb.entry.js} +1 -1
- package/dist/ptcw-design/{p-8ffdd794.entry.js → p-761a31f8.entry.js} +1 -1
- package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
- package/dist/ptcw-design/{p-1adea6a5.entry.js → p-77cad16c.entry.js} +1 -1
- package/dist/ptcw-design/p-77fb3a86.entry.js +1 -0
- package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
- package/dist/ptcw-design/{p-8a452c0b.entry.js → p-7a3e9ecd.entry.js} +1 -1
- package/dist/ptcw-design/p-7aa1faef.entry.js +1 -0
- package/dist/ptcw-design/{p-7fada7ae.entry.js → p-7cc9255e.entry.js} +1 -1
- package/dist/ptcw-design/{p-183ba1ca.entry.js → p-7d29a418.entry.js} +1 -1
- package/dist/ptcw-design/{p-29ae44dd.entry.js → p-7fe4d383.entry.js} +1 -1
- package/dist/ptcw-design/{p-8771d448.entry.js → p-80588c84.entry.js} +1 -1
- package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
- package/dist/ptcw-design/{p-fa99b158.entry.js → p-81e65926.entry.js} +1 -1
- package/dist/ptcw-design/p-829855f5.entry.js +1 -0
- package/dist/ptcw-design/{p-1948b914.entry.js → p-8521fdd4.entry.js} +1 -1
- package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
- package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
- package/dist/ptcw-design/p-884c335c.entry.js +1 -0
- package/dist/ptcw-design/{p-e75dff95.entry.js → p-89177041.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
- package/dist/ptcw-design/{p-472579ea.entry.js → p-89f0cf12.entry.js} +1 -1
- package/dist/ptcw-design/{p-212d0145.entry.js → p-8c49d736.entry.js} +1 -1
- package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
- package/dist/ptcw-design/p-945d3ea1.entry.js +68 -0
- package/dist/ptcw-design/{p-e77d2204.entry.js → p-95187918.entry.js} +1 -1
- package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
- package/dist/ptcw-design/p-98426799.js +203 -0
- package/dist/ptcw-design/{p-ce125ef2.entry.js → p-98610430.entry.js} +1 -1
- package/dist/ptcw-design/p-98844b50.js +134 -0
- package/dist/ptcw-design/{p-1acd3617.entry.js → p-99daf693.entry.js} +1 -1
- package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
- package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
- package/dist/ptcw-design/{p-298d02ab.entry.js → p-9b0df204.entry.js} +1 -1
- package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
- package/dist/ptcw-design/p-9d3a7f36.entry.js +1 -0
- package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
- package/dist/ptcw-design/{p-0a558a22.entry.js → p-9e2fd13c.entry.js} +1 -1
- package/dist/ptcw-design/{p-0b182300.entry.js → p-9e4e21a4.entry.js} +1 -1
- package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
- package/dist/ptcw-design/p-a2c7df64.entry.js +1 -0
- package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
- package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
- package/dist/ptcw-design/p-a58698ca.entry.js +1 -0
- package/dist/ptcw-design/{p-3411ac77.entry.js → p-a59c9cdc.entry.js} +1 -1
- package/dist/ptcw-design/{p-5f2a4384.entry.js → p-a5ad0eff.entry.js} +1 -1
- package/dist/ptcw-design/{p-2b583ae1.entry.js → p-a791c53a.entry.js} +1 -1
- package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
- package/dist/ptcw-design/{p-de663192.entry.js → p-a8504f11.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
- package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
- package/dist/ptcw-design/p-acdd9a1d.entry.js +1 -0
- package/dist/ptcw-design/p-ad821a01.entry.js +1 -0
- package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
- package/dist/ptcw-design/{p-6f8858c3.entry.js → p-b209c116.entry.js} +1 -1
- package/dist/ptcw-design/{p-79762cf6.entry.js → p-b436f56d.entry.js} +1 -1
- package/dist/ptcw-design/p-b6255525.entry.js +1 -0
- package/dist/ptcw-design/{p-07b1afd5.entry.js → p-b8ee8699.entry.js} +1 -1
- package/dist/ptcw-design/{p-666cdec9.entry.js → p-bab5bb88.entry.js} +1 -1
- package/dist/ptcw-design/{p-ca039722.entry.js → p-baeee2b4.entry.js} +1 -1
- package/dist/ptcw-design/p-bb9a879f.entry.js +1 -0
- package/dist/ptcw-design/p-bc146844.entry.js +1 -0
- package/dist/ptcw-design/p-bf56d5a3.entry.js +1 -0
- package/dist/ptcw-design/p-bf84ecc0.entry.js +1 -0
- package/dist/ptcw-design/{p-208ec7f3.entry.js → p-bf8fbba7.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
- package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
- package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
- package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
- package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
- package/dist/ptcw-design/p-c82eaf9d.entry.js +1 -0
- package/dist/ptcw-design/p-c89030e4.entry.js +1 -0
- package/dist/ptcw-design/{p-a2f25add.entry.js → p-c8f68292.entry.js} +1 -1
- package/dist/ptcw-design/p-cad4b517.entry.js +1 -0
- package/dist/ptcw-design/p-cc677723.entry.js +1 -0
- package/dist/ptcw-design/{p-38a1425c.entry.js → p-d089dc37.entry.js} +1 -1
- package/dist/ptcw-design/p-d2cc0297.entry.js +1 -0
- package/dist/ptcw-design/{p-1b2ff400.entry.js → p-d3ac3758.entry.js} +1 -1
- package/dist/ptcw-design/{p-ca5763d0.entry.js → p-d66debb3.entry.js} +1 -1
- package/dist/ptcw-design/p-d6845e91.entry.js +1 -0
- package/dist/ptcw-design/{p-75d8b6ec.entry.js → p-d74ccb19.entry.js} +1 -1
- package/dist/ptcw-design/{p-f05be87f.entry.js → p-da02913d.entry.js} +1 -1
- package/dist/ptcw-design/p-db1dcce0.entry.js +1 -0
- package/dist/ptcw-design/{p-afbe8e2c.entry.js → p-dc85c302.entry.js} +1 -1
- package/dist/ptcw-design/p-ddb898c7.entry.js +1 -0
- package/dist/ptcw-design/{p-0d2f10cf.entry.js → p-dfb400ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-0e6b14a6.entry.js → p-dffcfa42.entry.js} +1 -1
- package/dist/ptcw-design/{p-0bb3ea9a.entry.js → p-e235bf27.entry.js} +1 -1
- package/dist/ptcw-design/p-e3867512.entry.js +1 -0
- package/dist/ptcw-design/{p-ffd5c822.entry.js → p-e3b1af2b.entry.js} +1 -1
- package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
- package/dist/ptcw-design/{p-f3db0dc6.entry.js → p-e43c30c9.entry.js} +1 -1
- package/dist/ptcw-design/{p-2fa28be9.entry.js → p-e5369c4d.entry.js} +1 -1
- package/dist/ptcw-design/p-e6619d63.entry.js +1 -0
- package/dist/ptcw-design/{p-68955802.entry.js → p-e813ea2b.entry.js} +1 -1
- package/dist/ptcw-design/p-e8c275a1.entry.js +1 -0
- package/dist/ptcw-design/{p-2a3735a5.entry.js → p-e90fbbad.entry.js} +1 -1
- package/dist/ptcw-design/p-eaa0597a.entry.js +1 -0
- package/dist/ptcw-design/{p-711bcdad.js → p-ee1183b2.js} +1 -1
- package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
- package/dist/ptcw-design/{p-3b967df1.entry.js → p-f61a3476.entry.js} +1 -1
- package/dist/ptcw-design/{p-5da98805.entry.js → p-f731fc96.entry.js} +1 -1
- package/dist/ptcw-design/p-f9256e3d.entry.js +1 -0
- package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
- package/dist/ptcw-design/p-fbd9c8fc.entry.js +1 -0
- package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
- package/dist/ptcw-design/p-fd87fcd5.entry.js +1 -0
- package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +1 -1
- package/dist/types/components/ptc-button/ptc-button.d.ts +2 -1
- package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +2 -1
- package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +1 -1
- package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +1 -0
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +1 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +2 -1
- package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +1 -1
- package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +6 -0
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -2
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +6 -3
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +3 -0
- package/dist/types/components/ptc-select/ptc-select.d.ts +1 -1
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +2 -0
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +56 -2
- package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +6 -1
- package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +1 -1
- package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -1
- package/dist/types/components.d.ts +135 -22
- package/dist/types/global/global.d.ts +4 -0
- package/dist/types/utils/fef-logger.d.ts +10 -0
- package/dist/types/utils/validation-messages.d.ts +4 -123
- package/package.json +6 -2
- package/readme.md +1 -5
- package/dist/cjs/icon-asset_8.cjs.entry.js +0 -608
- package/dist/cjs/modal-form-example.cjs.entry.js +0 -94
- package/dist/cjs/ptc-picture.cjs.entry.js +0 -162
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -99
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
- package/dist/esm/icon-asset_8.entry.js +0 -597
- package/dist/esm/modal-form-example.entry.js +0 -90
- package/dist/esm/ptc-picture.entry.js +0 -158
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/ptcw-design/p-094f5dec.entry.js +0 -1
- package/dist/ptcw-design/p-10413689.entry.js +0 -1
- package/dist/ptcw-design/p-11eb4dd1.entry.js +0 -1
- package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
- package/dist/ptcw-design/p-25dd15af.entry.js +0 -1
- package/dist/ptcw-design/p-36c42aae.entry.js +0 -1
- package/dist/ptcw-design/p-3717a6e1.entry.js +0 -1
- package/dist/ptcw-design/p-39255f59.entry.js +0 -1
- package/dist/ptcw-design/p-3ada2482.entry.js +0 -1
- package/dist/ptcw-design/p-3c72e82d.entry.js +0 -1
- package/dist/ptcw-design/p-4335d7f3.entry.js +0 -1
- package/dist/ptcw-design/p-4bbd36aa.entry.js +0 -1
- package/dist/ptcw-design/p-4c1451df.entry.js +0 -1
- package/dist/ptcw-design/p-50582650.entry.js +0 -1
- package/dist/ptcw-design/p-539f1605.entry.js +0 -1
- package/dist/ptcw-design/p-58d4b008.entry.js +0 -1
- package/dist/ptcw-design/p-5f98dec1.entry.js +0 -1
- package/dist/ptcw-design/p-6785dc81.entry.js +0 -1
- package/dist/ptcw-design/p-6dc78042.entry.js +0 -1
- package/dist/ptcw-design/p-6ffcd96c.entry.js +0 -1
- package/dist/ptcw-design/p-712f1336.entry.js +0 -68
- package/dist/ptcw-design/p-72681e91.entry.js +0 -1
- package/dist/ptcw-design/p-761f71c4.entry.js +0 -1
- package/dist/ptcw-design/p-779c3f21.entry.js +0 -1
- package/dist/ptcw-design/p-78252282.entry.js +0 -1
- package/dist/ptcw-design/p-7e19be10.entry.js +0 -1
- package/dist/ptcw-design/p-8c25a821.entry.js +0 -1
- package/dist/ptcw-design/p-91dcdd86.entry.js +0 -1
- package/dist/ptcw-design/p-96cc1268.entry.js +0 -1
- package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
- package/dist/ptcw-design/p-99e41dc4.entry.js +0 -1
- package/dist/ptcw-design/p-9a1922ba.entry.js +0 -1
- package/dist/ptcw-design/p-9be9f585.entry.js +0 -1
- package/dist/ptcw-design/p-9d32f1bc.entry.js +0 -1
- package/dist/ptcw-design/p-9d386f08.entry.js +0 -1
- package/dist/ptcw-design/p-9d8a9a72.entry.js +0 -1
- package/dist/ptcw-design/p-9dde477c.entry.js +0 -1
- package/dist/ptcw-design/p-a0a86749.entry.js +0 -1
- package/dist/ptcw-design/p-a3f9e4ba.entry.js +0 -1
- package/dist/ptcw-design/p-a7e67938.entry.js +0 -1
- package/dist/ptcw-design/p-b3b63f67.entry.js +0 -1
- package/dist/ptcw-design/p-b3ea58b7.entry.js +0 -1
- package/dist/ptcw-design/p-bcab66bf.js +0 -336
- package/dist/ptcw-design/p-c5886b7b.entry.js +0 -1
- package/dist/ptcw-design/p-c73eb535.entry.js +0 -1
- package/dist/ptcw-design/p-caac157f.entry.js +0 -1
- package/dist/ptcw-design/p-d80bc4f2.entry.js +0 -1
- package/dist/ptcw-design/p-e1692ed6.entry.js +0 -1
- package/dist/ptcw-design/p-e9f65e9a.entry.js +0 -1
- package/dist/ptcw-design/p-ec22d0b8.entry.js +0 -1
- package/dist/ptcw-design/p-ed71521c.entry.js +0 -1
- package/dist/ptcw-design/p-ef55ab3c.entry.js +0 -1
- package/dist/ptcw-design/p-f77c7c78.entry.js +0 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
- package/dist/types/components/ptc-mobile-select/mobile-select/dist/mobile-select.d.ts +0 -209
- package/dist/types/utils/eloqua.d.ts +0 -9
|
@@ -0,0 +1,727 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Molecules/ptc-jumbotron',
|
|
6
|
+
tags: ['autodocs'],
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
//Light jumbotron story
|
|
10
|
+
const LightJumbotronTemplate = args => {
|
|
11
|
+
return html`<ptc-para>Set the breadcrumb, main title, cta buttons through correct slot names, please click "show code" for details.</ptc-para>
|
|
12
|
+
<ptc-jumbotron
|
|
13
|
+
jumbotron-type=${args.jumbotronType}
|
|
14
|
+
has-countdown=${args.hasCountdown}
|
|
15
|
+
sub-title=${args.subTitle}
|
|
16
|
+
bg-src=${args.bgSrc}
|
|
17
|
+
logo=${args.logo}
|
|
18
|
+
bg-video-src=${args.bgVideoSrc}
|
|
19
|
+
play-button-title=${args.playButtonTitle}
|
|
20
|
+
pause-button-title=${args.pauseButtonTitle}
|
|
21
|
+
>
|
|
22
|
+
has-popup-video=${args.hasPopupVideo}> ${unsafeHTML(args.slotContent)}
|
|
23
|
+
</ptc-jumbotron>`;
|
|
24
|
+
};
|
|
25
|
+
export const Light = LightJumbotronTemplate.bind({});
|
|
26
|
+
Light.args = {
|
|
27
|
+
bgSrc:
|
|
28
|
+
'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
|
|
29
|
+
jumbotronType: 'light',
|
|
30
|
+
hasCountdown: 'false',
|
|
31
|
+
logo: 'https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/4699dab90e6f476b8a70902b58d7d3db?h=827&w=1550&la=en',
|
|
32
|
+
styles: 'undefined',
|
|
33
|
+
subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
|
|
34
|
+
slotContent: `<ptc-breadcrumb slot="breadcrumb" color="primary-gray">
|
|
35
|
+
<list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray"> PLM Video Hub </list-item>
|
|
36
|
+
<list-item list-type="breadcrumb" color="primary-gray"> Current Page </list-item>
|
|
37
|
+
</ptc-breadcrumb>
|
|
38
|
+
<ptc-title
|
|
39
|
+
slot="main-title"
|
|
40
|
+
type="h1"
|
|
41
|
+
upperline="no-upperline"
|
|
42
|
+
title-size="xxxx-large"
|
|
43
|
+
title-height="densest"
|
|
44
|
+
title-weight="w-8"
|
|
45
|
+
title-margin="margin-flush"
|
|
46
|
+
text-align="left"
|
|
47
|
+
title-color="gray"
|
|
48
|
+
>
|
|
49
|
+
Sed ut perspiciatis unde omnis iste natus
|
|
50
|
+
</ptc-title>
|
|
51
|
+
<ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank"> CTA 1 </ptc-button>
|
|
52
|
+
<ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank"> CTA 2 </ptc-button>`,
|
|
53
|
+
};
|
|
54
|
+
Light.argTypes = {
|
|
55
|
+
bgSrc: {
|
|
56
|
+
control: 'text',
|
|
57
|
+
description: 'Set this value when the jubmotron type is dark or light',
|
|
58
|
+
defaultValue: { summary: '' },
|
|
59
|
+
},
|
|
60
|
+
hasCountdown: {
|
|
61
|
+
control: 'boolean',
|
|
62
|
+
description: `
|
|
63
|
+
To add a countdown, trun this attribute on and add <ptc-countdown> after cta buttons. Countdown slot code:
|
|
64
|
+
<ptc-countdown slot="countdown"
|
|
65
|
+
countdown-title="Boston Event"
|
|
66
|
+
event-time="2/19/2026 20:00:00">
|
|
67
|
+
</ptc-countdown>`,
|
|
68
|
+
defaultValue: { summary: 'false' },
|
|
69
|
+
},
|
|
70
|
+
jumbotronType: {
|
|
71
|
+
control: 'text',
|
|
72
|
+
description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
|
|
73
|
+
defaultValue: { summary: 'light' },
|
|
74
|
+
},
|
|
75
|
+
logo: {
|
|
76
|
+
control: 'text',
|
|
77
|
+
description: 'Optional - set a logo by adding an URL to this property',
|
|
78
|
+
},
|
|
79
|
+
styles: {
|
|
80
|
+
control: 'text',
|
|
81
|
+
description: '(optional) Injected CSS styles',
|
|
82
|
+
defaultValue: { summary: 'undefined' },
|
|
83
|
+
},
|
|
84
|
+
subTitle: {
|
|
85
|
+
control: 'text',
|
|
86
|
+
description: 'Set the sub title',
|
|
87
|
+
defaultValue: {
|
|
88
|
+
summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
slotContent: {
|
|
92
|
+
name: 'Default Slot',
|
|
93
|
+
description: 'Text Content between the <ptc-link> tags.',
|
|
94
|
+
control: 'text',
|
|
95
|
+
table: {
|
|
96
|
+
category: 'Default Slot',
|
|
97
|
+
type: {
|
|
98
|
+
summary: 'html',
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
//Dark jumbotron story
|
|
105
|
+
const DarkJumbotronTemplate = args => {
|
|
106
|
+
return html`<ptc-para>Set the breadcrumb, main title, cta buttons through correct slot names, please click "show code" for details.</ptc-para>
|
|
107
|
+
<ptc-jumbotron jumbotron-type=${args.jumbotronType} has-countdown=${args.hasCountdown} sub-title=${args.subTitle} bg-src=${args.bgSrc} logo=${args.logo}>
|
|
108
|
+
${unsafeHTML(args.slotContent)}
|
|
109
|
+
</ptc-jumbotron>`;
|
|
110
|
+
};
|
|
111
|
+
export const Dark = DarkJumbotronTemplate.bind({});
|
|
112
|
+
Dark.args = {
|
|
113
|
+
bgSrc:
|
|
114
|
+
'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
|
|
115
|
+
hasCountdown: 'false',
|
|
116
|
+
jumbotronType: 'dark',
|
|
117
|
+
logo: '',
|
|
118
|
+
styles: 'undefined',
|
|
119
|
+
subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
|
|
120
|
+
slotContent: `
|
|
121
|
+
<ptc-breadcrumb slot="breadcrumb" color="white">
|
|
122
|
+
<list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray"> PLM Video Hub </list-item>
|
|
123
|
+
<list-item list-type="breadcrumb" color="primary-gray"> Current Page </list-item>
|
|
124
|
+
</ptc-breadcrumb>
|
|
125
|
+
<ptc-title
|
|
126
|
+
slot="main-title"
|
|
127
|
+
type="h1"
|
|
128
|
+
upperline="no-upperline"
|
|
129
|
+
title-size="xxxx-large"
|
|
130
|
+
title-height="densest"
|
|
131
|
+
title-weight="w-8"
|
|
132
|
+
title-margin="margin-flush"
|
|
133
|
+
text-align="left"
|
|
134
|
+
title-color="gray-1"
|
|
135
|
+
>Sed ut perspiciatis unde omnis iste natus
|
|
136
|
+
</ptc-title>
|
|
137
|
+
<ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank"> CTA 1 </ptc-button>
|
|
138
|
+
<ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank"> CTA 2 </ptc-button>
|
|
139
|
+
`,
|
|
140
|
+
};
|
|
141
|
+
Dark.argTypes = {
|
|
142
|
+
bgSrc: {
|
|
143
|
+
control: 'text',
|
|
144
|
+
description: 'Set this value when the jubmotron type is dark or light',
|
|
145
|
+
defaultValue: { summary: '' },
|
|
146
|
+
},
|
|
147
|
+
hasCountdown: {
|
|
148
|
+
control: 'boolean',
|
|
149
|
+
description: 'To add a countdown, trun this attribute on and add <ptc-countdown> after cta buttons',
|
|
150
|
+
defaultValue: { summary: 'false' },
|
|
151
|
+
},
|
|
152
|
+
jumbotronType: {
|
|
153
|
+
control: 'text',
|
|
154
|
+
description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
|
|
155
|
+
defaultValue: { summary: 'light' },
|
|
156
|
+
},
|
|
157
|
+
logo: {
|
|
158
|
+
control: 'text',
|
|
159
|
+
description: 'Optional - set a logo by adding an URL to this property',
|
|
160
|
+
},
|
|
161
|
+
styles: {
|
|
162
|
+
control: 'text',
|
|
163
|
+
description: '(optional) Injected CSS styles',
|
|
164
|
+
defaultValue: { summary: 'undefined' },
|
|
165
|
+
},
|
|
166
|
+
subTitle: {
|
|
167
|
+
control: 'text',
|
|
168
|
+
description: 'Set the sub title',
|
|
169
|
+
defaultValue: {
|
|
170
|
+
summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
slotContent: {
|
|
174
|
+
name: 'Default Slot',
|
|
175
|
+
description: 'Text Content between the <ptc-link> tags.',
|
|
176
|
+
control: 'text',
|
|
177
|
+
table: {
|
|
178
|
+
category: 'Default Slot',
|
|
179
|
+
type: {
|
|
180
|
+
summary: 'html',
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
//Text jumbotron story
|
|
187
|
+
const TextJumbotronTemplate = args => {
|
|
188
|
+
return html` <ptc-jumbotron jumbotron-type=${args.jumbotronType} sub-title=${args.subTitle}> ${unsafeHTML(args.slotContent)} </ptc-jumbotron>`;
|
|
189
|
+
};
|
|
190
|
+
export const Text = TextJumbotronTemplate.bind({});
|
|
191
|
+
Text.args = {
|
|
192
|
+
jumbotronType: 'text',
|
|
193
|
+
styles: 'undefined',
|
|
194
|
+
subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
|
|
195
|
+
slotContent: `
|
|
196
|
+
<ptc-breadcrumb slot="breadcrumb" color="primary-gray" position="center" styles=":host{margin-top: var(--ptc-element-spacing-06)!important;align-items: baseline;}">
|
|
197
|
+
<list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray" styles=":host(.breadcrumb) li{text-transform: uppercase;}">
|
|
198
|
+
PLM TEst
|
|
199
|
+
</list-item>
|
|
200
|
+
<list-item list-type="breadcrumb" color="primary-gray" styles=":host(.breadcrumb) li{ text-transform: uppercase;}"> Connecting Engineering and Manufacturing PPC </list-item>
|
|
201
|
+
</ptc-breadcrumb>
|
|
202
|
+
<ptc-title
|
|
203
|
+
slot="main-title"
|
|
204
|
+
type="h1"
|
|
205
|
+
upperline="no-upperline"
|
|
206
|
+
title-size="xxxx-large"
|
|
207
|
+
title-height="densest"
|
|
208
|
+
title-weight="w-8"
|
|
209
|
+
title-margin="margin-flush"
|
|
210
|
+
text-align="center"
|
|
211
|
+
title-color="gray"
|
|
212
|
+
>
|
|
213
|
+
<!-- test align = center for text -->
|
|
214
|
+
Sed ut perspiciatis unde omnis iste natus totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et
|
|
215
|
+
</ptc-title>
|
|
216
|
+
<ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank"> CTA 1 </ptc-button>
|
|
217
|
+
<ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank"> CTA 2 </ptc-button>
|
|
218
|
+
`,
|
|
219
|
+
};
|
|
220
|
+
Text.argTypes = {
|
|
221
|
+
subTitle: {
|
|
222
|
+
control: 'text',
|
|
223
|
+
description: 'Set the sub title',
|
|
224
|
+
defaultValue: {
|
|
225
|
+
summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
jumbotronType: {
|
|
229
|
+
control: 'text',
|
|
230
|
+
description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
|
|
231
|
+
defaultValue: { summary: 'light' },
|
|
232
|
+
},
|
|
233
|
+
styles: {
|
|
234
|
+
control: 'text',
|
|
235
|
+
description: '(optional) Injected CSS styles',
|
|
236
|
+
defaultValue: { summary: 'undefined' },
|
|
237
|
+
},
|
|
238
|
+
slotContent: {
|
|
239
|
+
name: 'Default Slot',
|
|
240
|
+
description: 'Text Content between the <ptc-link> tags.',
|
|
241
|
+
control: 'text',
|
|
242
|
+
table: {
|
|
243
|
+
category: 'Default Slot',
|
|
244
|
+
type: {
|
|
245
|
+
summary: 'html',
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
// Dark Video jumbotron story
|
|
252
|
+
const VideoJumbotronTemplate = args => {
|
|
253
|
+
return html` <ptc-jumbotron
|
|
254
|
+
jumbotron-type=${args.jumbotronType}
|
|
255
|
+
sub-title=${args.subTitle}
|
|
256
|
+
bg-video-src=${args.bgVideoSrc}
|
|
257
|
+
play-button-title=${args.playButtonTitle}
|
|
258
|
+
pause-button-title=${args.pauseButtonTitle}
|
|
259
|
+
>
|
|
260
|
+
${unsafeHTML(args.slotContent)}
|
|
261
|
+
</ptc-jumbotron>`;
|
|
262
|
+
};
|
|
263
|
+
export const DarkVideo = VideoJumbotronTemplate.bind({});
|
|
264
|
+
DarkVideo.args = {
|
|
265
|
+
bgVideoPosterSrc: 'undefined',
|
|
266
|
+
bgVideoSrc: 'https://www.ptc.com/-/media/Videos/wind-turbine.mp4',
|
|
267
|
+
buttonLocation: 'undefined',
|
|
268
|
+
buttonTabIndex: '0',
|
|
269
|
+
jumbotronType: 'dark-video',
|
|
270
|
+
pauseButtonTitle: 'pause text',
|
|
271
|
+
playButtonTitle: 'play text',
|
|
272
|
+
styles: 'undefined',
|
|
273
|
+
subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
|
|
274
|
+
slotContent: `
|
|
275
|
+
<ptc-breadcrumb slot="breadcrumb" color="white" is-dark-mode>
|
|
276
|
+
<list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="light-gray"> PLM Video Hub </list-item>
|
|
277
|
+
<list-item list-type="breadcrumb" color="light-gray"> Current Page </list-item>
|
|
278
|
+
</ptc-breadcrumb>
|
|
279
|
+
<ptc-title
|
|
280
|
+
slot="main-title"
|
|
281
|
+
type="h1"
|
|
282
|
+
upperline="no-upperline"
|
|
283
|
+
title-size="xxxx-large"
|
|
284
|
+
title-height="densest"
|
|
285
|
+
title-weight="w-8"
|
|
286
|
+
title-margin="margin-flush"
|
|
287
|
+
text-align="left"
|
|
288
|
+
title-color="gray-1"
|
|
289
|
+
>Sed ut perspiciatis unde omnis iste natus
|
|
290
|
+
</ptc-title>
|
|
291
|
+
<ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state> CTA 1 </ptc-button>
|
|
292
|
+
<ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state> CTA 2 </ptc-button>
|
|
293
|
+
`,
|
|
294
|
+
};
|
|
295
|
+
DarkVideo.argTypes = {
|
|
296
|
+
bgVideoPosterSrc: {
|
|
297
|
+
control: 'text',
|
|
298
|
+
description: 'Set this value when you need a poster for the background video',
|
|
299
|
+
defaultValue: { summary: '' },
|
|
300
|
+
},
|
|
301
|
+
bgVideoSrc: {
|
|
302
|
+
control: 'text',
|
|
303
|
+
description: 'Set this value when the jumbotron type is dark-video or light-video',
|
|
304
|
+
defaultValue: { summary: '' },
|
|
305
|
+
},
|
|
306
|
+
buttonLocation: {
|
|
307
|
+
control: 'text',
|
|
308
|
+
description:
|
|
309
|
+
'Set the location of the play/pause button when the the background video is applied. Available values: top-left, top-right, bottom-left, bottom-right, allbp-bottom-right',
|
|
310
|
+
defaultValue: { summary: 'undefined' },
|
|
311
|
+
},
|
|
312
|
+
buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
|
|
313
|
+
|
|
314
|
+
jumbotronType: {
|
|
315
|
+
control: 'text',
|
|
316
|
+
description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
|
|
317
|
+
defaultValue: { summary: 'light' },
|
|
318
|
+
},
|
|
319
|
+
pauseButtonTitle: {
|
|
320
|
+
control: 'text',
|
|
321
|
+
description: 'paly button text when bg-video-src has a value',
|
|
322
|
+
defaultValue: { summary: 'undefined' },
|
|
323
|
+
},
|
|
324
|
+
playButtonTitle: {
|
|
325
|
+
control: 'text',
|
|
326
|
+
description: 'paly button text when bg-video-src has a value',
|
|
327
|
+
defaultValue: { summary: 'undefined' },
|
|
328
|
+
},
|
|
329
|
+
styles: {
|
|
330
|
+
control: 'text',
|
|
331
|
+
description: '(optional) Injected CSS styles',
|
|
332
|
+
defaultValue: { summary: 'undefined' },
|
|
333
|
+
},
|
|
334
|
+
subTitle: {
|
|
335
|
+
control: 'text',
|
|
336
|
+
description: 'Set the sub title',
|
|
337
|
+
defaultValue: {
|
|
338
|
+
summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
slotContent: {
|
|
342
|
+
name: 'Default Slot',
|
|
343
|
+
description: 'Text Content between the <ptc-link> tags.',
|
|
344
|
+
control: 'text',
|
|
345
|
+
table: {
|
|
346
|
+
category: 'Default Slot',
|
|
347
|
+
type: {
|
|
348
|
+
summary: 'html',
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
},
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
// Light Video jumbotron story
|
|
355
|
+
const LVideoJumbotronTemplate = args => {
|
|
356
|
+
return html` <ptc-jumbotron
|
|
357
|
+
jumbotron-type=${args.jumbotronType}
|
|
358
|
+
sub-title=${args.subTitle}
|
|
359
|
+
bg-video-src=${args.bgVideoSrc}
|
|
360
|
+
play-button-title=${args.playButtonTitle}
|
|
361
|
+
pause-button-title=${args.pauseButtonTitle}
|
|
362
|
+
>
|
|
363
|
+
${unsafeHTML(args.slotContent)}
|
|
364
|
+
</ptc-jumbotron>`;
|
|
365
|
+
};
|
|
366
|
+
export const LightVideo = LVideoJumbotronTemplate.bind({});
|
|
367
|
+
LightVideo.args = {
|
|
368
|
+
bgVideoPosterSrc: 'undefined',
|
|
369
|
+
bgVideoSrc: 'https://www.ptc.com/-/media/Videos/wind-turbine.mp4',
|
|
370
|
+
buttonLocation: 'undefined',
|
|
371
|
+
buttonTabIndex: '0',
|
|
372
|
+
jumbotronType: 'light-video',
|
|
373
|
+
pauseButtonTitle: 'pause text',
|
|
374
|
+
playButtonTitle: 'play text',
|
|
375
|
+
styles: 'undefined',
|
|
376
|
+
subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
|
|
377
|
+
slotContent: `
|
|
378
|
+
<ptc-breadcrumb slot="breadcrumb" color="primary-gray" is-dark-mode>
|
|
379
|
+
<list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="primary-gray"> PLM Video Hub </list-item>
|
|
380
|
+
<list-item list-type="breadcrumb" color="primary-gray"> Current Page </list-item>
|
|
381
|
+
</ptc-breadcrumb>
|
|
382
|
+
<ptc-title
|
|
383
|
+
slot="main-title"
|
|
384
|
+
type="h1"
|
|
385
|
+
upperline="no-upperline"
|
|
386
|
+
title-size="xxxx-large"
|
|
387
|
+
title-height="densest"
|
|
388
|
+
title-weight="w-8"
|
|
389
|
+
title-margin="margin-flush"
|
|
390
|
+
text-align="left"
|
|
391
|
+
title-color="gray"
|
|
392
|
+
>Sed ut perspiciatis unde omnis iste natus
|
|
393
|
+
</ptc-title>
|
|
394
|
+
<ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state> CTA 1 </ptc-button>
|
|
395
|
+
<ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" target="_blank" dark-focus-state> CTA 2 </ptc-button>
|
|
396
|
+
`,
|
|
397
|
+
};
|
|
398
|
+
LightVideo.argTypes = {
|
|
399
|
+
bgVideoPosterSrc: {
|
|
400
|
+
control: 'text',
|
|
401
|
+
description: 'Set this value when you need a poster for the background video',
|
|
402
|
+
defaultValue: { summary: '' },
|
|
403
|
+
},
|
|
404
|
+
bgVideoSrc: {
|
|
405
|
+
control: 'text',
|
|
406
|
+
description: 'Set this value when the jumbotron type is dark-video or light-video',
|
|
407
|
+
defaultValue: { summary: '' },
|
|
408
|
+
},
|
|
409
|
+
buttonLocation: {
|
|
410
|
+
control: 'text',
|
|
411
|
+
description:
|
|
412
|
+
'Set the location of the play/pause button when the the background video is applied. Available values: top-left, top-right, bottom-left, bottom-right, allbp-bottom-right',
|
|
413
|
+
defaultValue: { summary: 'undefined' },
|
|
414
|
+
},
|
|
415
|
+
buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
|
|
416
|
+
|
|
417
|
+
jumbotronType: {
|
|
418
|
+
control: 'text',
|
|
419
|
+
description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
|
|
420
|
+
defaultValue: { summary: 'light' },
|
|
421
|
+
},
|
|
422
|
+
pauseButtonTitle: {
|
|
423
|
+
control: 'text',
|
|
424
|
+
description: 'paly button text when bg-video-src has a value',
|
|
425
|
+
defaultValue: { summary: 'undefined' },
|
|
426
|
+
},
|
|
427
|
+
playButtonTitle: {
|
|
428
|
+
control: 'text',
|
|
429
|
+
description: 'paly button text when bg-video-src has a value',
|
|
430
|
+
defaultValue: { summary: 'undefined' },
|
|
431
|
+
},
|
|
432
|
+
styles: {
|
|
433
|
+
control: 'text',
|
|
434
|
+
description: '(optional) Injected CSS styles',
|
|
435
|
+
defaultValue: { summary: 'undefined' },
|
|
436
|
+
},
|
|
437
|
+
subTitle: {
|
|
438
|
+
control: 'text',
|
|
439
|
+
description: 'Set the sub title',
|
|
440
|
+
defaultValue: {
|
|
441
|
+
summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
|
|
442
|
+
},
|
|
443
|
+
},
|
|
444
|
+
slotContent: {
|
|
445
|
+
name: 'Default Slot',
|
|
446
|
+
description: 'Text Content between the <ptc-link> tags.',
|
|
447
|
+
control: 'text',
|
|
448
|
+
table: {
|
|
449
|
+
category: 'Default Slot',
|
|
450
|
+
type: {
|
|
451
|
+
summary: 'html',
|
|
452
|
+
},
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
// Blog jumbotron story
|
|
458
|
+
const BlogJumbotronTemplate = args => {
|
|
459
|
+
return html`
|
|
460
|
+
<ptc-jumbotron jumbotron-type=${args.jumbotronType}
|
|
461
|
+
sub-title=""
|
|
462
|
+
png-src=${args.pngSrc}
|
|
463
|
+
has-popup-video="false"
|
|
464
|
+
blog-author-image=${args.blogAuthorImage}
|
|
465
|
+
blog-author-image-alt=${args.blogAuthorImageAlt}
|
|
466
|
+
blog-author-name=${args.blogAuthorName}
|
|
467
|
+
blog-author-query-href=${args.blogAuthorQueryHref}
|
|
468
|
+
blog-author-query-target=${args.blogAuthorQueryTarget}
|
|
469
|
+
>
|
|
470
|
+
${unsafeHTML(args.slotContent)}
|
|
471
|
+
</ptc-jumbotron>`;
|
|
472
|
+
};
|
|
473
|
+
export const BlogVideo = BlogJumbotronTemplate.bind({});
|
|
474
|
+
BlogVideo.args = {
|
|
475
|
+
pngSrc: 'https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/5fbb90c52ab7431c89df5eea5ef9fe25?v=6e1b1318',
|
|
476
|
+
buttonLocation: 'undefined',
|
|
477
|
+
buttonTabIndex: '0',
|
|
478
|
+
jumbotronType: 'blog',
|
|
479
|
+
blogAuthorImage: 'https://www.ptc.com/-/media/Images/blog/Authors/MaleDefaultImage.jpg',
|
|
480
|
+
blogAuthorImageAlt: 'blog-author-image',
|
|
481
|
+
blogAuthorName: 'Simone Biles',
|
|
482
|
+
blogAuthorQueryHref: 'https://www.ptc.com/blogs',
|
|
483
|
+
blogAuthorQueryTarget: '_blank',
|
|
484
|
+
styles: 'undefined',
|
|
485
|
+
slotContent: `
|
|
486
|
+
<ptc-breadcrumb slot="breadcrumb" color="primary-gray" remove-top-margin="true">
|
|
487
|
+
<list-item list-type="breadcrumb" link-href="https://www-dev.ptc.com/blogs" color="primary-gray">Blogs</list-item>
|
|
488
|
+
<list-item list-type="breadcrumb" color="primary-gray">The Key to Using AI to Enhance IoT Security</list-item>
|
|
489
|
+
</ptc-breadcrumb>
|
|
490
|
+
<ptc-title
|
|
491
|
+
slot="main-title"
|
|
492
|
+
type="h1"
|
|
493
|
+
upperline="no-upperline"
|
|
494
|
+
title-size="xxxx-large"
|
|
495
|
+
title-height="densest"
|
|
496
|
+
title-weight="w-8"
|
|
497
|
+
title-margin="margin-flush"
|
|
498
|
+
text-align="left"
|
|
499
|
+
title-color="gray"
|
|
500
|
+
>
|
|
501
|
+
The Key to Using AI to Enhance IoT Security
|
|
502
|
+
</ptc-title>
|
|
503
|
+
<span slot="blog-date">April 4, 2024</span>
|
|
504
|
+
<ptc-button slot="j-cta" type="link" color="ptc-quaternary" link-href="https://www.ptc.com" target="_blank">
|
|
505
|
+
Request Free Trial
|
|
506
|
+
</ptc-button>
|
|
507
|
+
<ptc-button slot="j-cta" type="link" color="ptc-tertiary" link-href="https://www.ptc.com" target="_blank">
|
|
508
|
+
Speaking of Service Podcast
|
|
509
|
+
</ptc-button>
|
|
510
|
+
`
|
|
511
|
+
};
|
|
512
|
+
BlogVideo.argTypes = {
|
|
513
|
+
pngSrc: {
|
|
514
|
+
control: 'text',
|
|
515
|
+
description: '',
|
|
516
|
+
defaultValue: { summary: 'undefined' },
|
|
517
|
+
},
|
|
518
|
+
blogAuthorImage: {
|
|
519
|
+
control: 'text',
|
|
520
|
+
description: 'Set this value when you need a blog author',
|
|
521
|
+
defaultValue: { summary: "''" },
|
|
522
|
+
},
|
|
523
|
+
blogAuthorImageAlt: {
|
|
524
|
+
control: 'text',
|
|
525
|
+
description: 'Set this value when you need a blog author',
|
|
526
|
+
defaultValue: { summary: "''" },
|
|
527
|
+
},
|
|
528
|
+
blogAuthorName: {
|
|
529
|
+
control: 'text',
|
|
530
|
+
description: 'Set this value when you need a blog author',
|
|
531
|
+
defaultValue: { summary: "''" },
|
|
532
|
+
},
|
|
533
|
+
blogAuthorQueryHref: {
|
|
534
|
+
control: 'text',
|
|
535
|
+
description: 'Set this value when you need a blog author',
|
|
536
|
+
defaultValue: { summary: "''" },
|
|
537
|
+
},
|
|
538
|
+
blogAuthorQueryTarget: {
|
|
539
|
+
control: 'text',
|
|
540
|
+
description: 'Set this value when you need a blog author',
|
|
541
|
+
defaultValue: { summary: "''" },
|
|
542
|
+
},
|
|
543
|
+
buttonLocation: {
|
|
544
|
+
control: 'text',
|
|
545
|
+
description:
|
|
546
|
+
'Set the location of the play/pause button when the the background video is applied. Available values: top-left, top-right, bottom-left, bottom-right, allbp-bottom-right',
|
|
547
|
+
defaultValue: { summary: 'undefined' },
|
|
548
|
+
},
|
|
549
|
+
buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
|
|
550
|
+
|
|
551
|
+
jumbotronType: {
|
|
552
|
+
control: 'text',
|
|
553
|
+
description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
|
|
554
|
+
defaultValue: { summary: 'light' },
|
|
555
|
+
},
|
|
556
|
+
styles: {
|
|
557
|
+
control: 'text',
|
|
558
|
+
description: '(optional) Injected CSS styles',
|
|
559
|
+
defaultValue: { summary: 'undefined' },
|
|
560
|
+
},
|
|
561
|
+
slotContent: {
|
|
562
|
+
name: 'Default Slot',
|
|
563
|
+
description: 'Text Content between the <ptc-link> tags.',
|
|
564
|
+
control: 'text',
|
|
565
|
+
table: {
|
|
566
|
+
category: 'Default Slot',
|
|
567
|
+
type: {
|
|
568
|
+
summary: 'html',
|
|
569
|
+
},
|
|
570
|
+
},
|
|
571
|
+
},
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
// Popup Video jumbotron story
|
|
575
|
+
const PopupJumbotronTemplate = args => {
|
|
576
|
+
return html` <style>
|
|
577
|
+
ptc-svg-btn {
|
|
578
|
+
position: absolute;
|
|
579
|
+
left: 50%;
|
|
580
|
+
top: 0%;
|
|
581
|
+
transform: translate(-50%, -200%);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
@media screen and (min-width: 480px) {
|
|
585
|
+
ptc-svg-btn {
|
|
586
|
+
transform: translate(-50%, -260%);
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
@media screen and (min-width: 550px) {
|
|
591
|
+
ptc-svg-btn {
|
|
592
|
+
transform: translate(-50%, -235%);
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
@media screen and (min-width: 768px) {
|
|
597
|
+
ptc-svg-btn {
|
|
598
|
+
transform: translate(-50%, -306%);
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
@media screen and (min-width: 992px) {
|
|
603
|
+
ptc-svg-btn {
|
|
604
|
+
top: 50%;
|
|
605
|
+
left: 75%;
|
|
606
|
+
transform: translate(-50%, -50%);
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
</style>
|
|
610
|
+
<ptc-jumbotron jumbotron-type=${args.jumbotronType} sub-title=${args.subTitle} bg-src=${args.bgSrc} has-popup-video=${args.hasPopupVideo}>
|
|
611
|
+
${unsafeHTML(args.slotContent)}
|
|
612
|
+
</ptc-jumbotron>
|
|
613
|
+
<!-- for popup video -->
|
|
614
|
+
<script>
|
|
615
|
+
let videoBtn = document.querySelector('#j-modal-btn');
|
|
616
|
+
let modal = document.querySelector('#popup-modal');
|
|
617
|
+
|
|
618
|
+
if (videoBtn && modal) {
|
|
619
|
+
videoBtn.addEventListener('click', function () {
|
|
620
|
+
modal.show = true;
|
|
621
|
+
});
|
|
622
|
+
videojs.getPlayer('bcPlayer').ready(function () {
|
|
623
|
+
var bcPlayer = this;
|
|
624
|
+
modal.addEventListener('closed', function () {
|
|
625
|
+
bcPlayer.pause();
|
|
626
|
+
});
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
</script>`;
|
|
630
|
+
};
|
|
631
|
+
export const PopupVideo = PopupJumbotronTemplate.bind({});
|
|
632
|
+
PopupVideo.args = {
|
|
633
|
+
bgSrc:
|
|
634
|
+
'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80',
|
|
635
|
+
buttonTabIndex: '0',
|
|
636
|
+
jumbotronType: 'dark',
|
|
637
|
+
hasPopupVideo: true,
|
|
638
|
+
styles: 'undefined',
|
|
639
|
+
subTitle: 'totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo',
|
|
640
|
+
slotContent: `
|
|
641
|
+
<ptc-breadcrumb slot="breadcrumb" color="white" is-dark-mode>
|
|
642
|
+
<list-item list-type="breadcrumb" link-href="https://www.ptc.com/contact-us" color="light-gray"> PLM Video Hub </list-item>
|
|
643
|
+
<list-item list-type="breadcrumb" color="light-gray"> Current Page </list-item>
|
|
644
|
+
</ptc-breadcrumb>
|
|
645
|
+
<ptc-title
|
|
646
|
+
slot="main-title"
|
|
647
|
+
type="h1"
|
|
648
|
+
upperline="no-upperline"
|
|
649
|
+
title-size="xxxx-large"
|
|
650
|
+
title-height="densest"
|
|
651
|
+
title-weight="w-8"
|
|
652
|
+
title-margin="margin-flush"
|
|
653
|
+
text-align="left"
|
|
654
|
+
title-color="gray-1"
|
|
655
|
+
ellipsis-line-cutoff="3"
|
|
656
|
+
>
|
|
657
|
+
<ptc-tooltip text-lines="3" description="Sed ut perspiciatis unde omnis iste natus" position="right"></ptc-tooltip>
|
|
658
|
+
</ptc-title>
|
|
659
|
+
<ptc-button slot="j-cta" type="link" color="ptc-primary" link-href="https://www.ptc.com" dark-focus-state target="_blank"> CTA 1 </ptc-button>
|
|
660
|
+
<ptc-button slot="j-cta" type="link" color="ptc-secondary" link-href="https://www.ptc.com" dark-focus-state target="_blank"> CTA 2 </ptc-button>
|
|
661
|
+
<ptc-svg-btn id="j-modal-btn" slot="video" svg-name="play" display="block" z-index="2"></ptc-svg-btn>
|
|
662
|
+
<ptc-modal id="popup-modal" slot="video" show="false" size="xl" fixed styles=".overlay{backdrop-filter: blur(10px);}" close-on-blur="true">
|
|
663
|
+
<div class="is-grid has-col-6 has-col-12-xs has-col-gap-lg has-row-gap-md has-m has-p has-col-gap-lg">
|
|
664
|
+
<div class="is-col-6 is-col-12-xs grid-order-1-md">
|
|
665
|
+
<div style="position: relative;">
|
|
666
|
+
<div style="padding-top: 56.25%;">
|
|
667
|
+
<video-js
|
|
668
|
+
id="bcPlayer"
|
|
669
|
+
data-account="1532789042001"
|
|
670
|
+
data-player="dNyUv9zZ6"
|
|
671
|
+
data-embed="default"
|
|
672
|
+
data-video-id="6307196876112"
|
|
673
|
+
controls=""
|
|
674
|
+
data-application-id=""
|
|
675
|
+
class="vjs-fill"
|
|
676
|
+
style="top:0; position:absolute;"
|
|
677
|
+
>
|
|
678
|
+
</video-js>
|
|
679
|
+
</div>
|
|
680
|
+
<script src="//players.brightcove.net/1532789042001/dNyUv9zZ6_default/index.min.js"></script>
|
|
681
|
+
</div>
|
|
682
|
+
</div>
|
|
683
|
+
</div>
|
|
684
|
+
</ptc-modal>
|
|
685
|
+
`
|
|
686
|
+
};
|
|
687
|
+
PopupVideo.argTypes = {
|
|
688
|
+
bgSrc: {
|
|
689
|
+
control: 'text',
|
|
690
|
+
description: 'Set this value when the jubmotron type is dark or light',
|
|
691
|
+
defaultValue: { summary: '' },
|
|
692
|
+
},
|
|
693
|
+
buttonTabIndex: { control: 'number', description: 'Set button tab index for tab navigation, default value is 0', defaultValue: { summary: '0' } },
|
|
694
|
+
jumbotronType: {
|
|
695
|
+
control: 'text',
|
|
696
|
+
description: 'jumbotron types. light, dark, light-video, dark-video, png, text, blog, gif',
|
|
697
|
+
defaultValue: { summary: 'light' },
|
|
698
|
+
},
|
|
699
|
+
hasPopupVideo: {
|
|
700
|
+
control: 'boolean',
|
|
701
|
+
description: 'Set this value to true when you need a pop up video on the right side, add ptc-svg-btn & ptc-modal for the play button and video',
|
|
702
|
+
defaultValue: { summary: 'false' },
|
|
703
|
+
},
|
|
704
|
+
subTitle: {
|
|
705
|
+
control: 'text',
|
|
706
|
+
description: 'Set the sub title',
|
|
707
|
+
defaultValue: {
|
|
708
|
+
summary: 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet',
|
|
709
|
+
},
|
|
710
|
+
},
|
|
711
|
+
styles: {
|
|
712
|
+
control: 'text',
|
|
713
|
+
description: '(optional) Injected CSS styles',
|
|
714
|
+
defaultValue: { summary: 'undefined' },
|
|
715
|
+
},
|
|
716
|
+
slotContent: {
|
|
717
|
+
name: 'Default Slot',
|
|
718
|
+
description: 'Text Content between the <ptc-link> tags.',
|
|
719
|
+
control: 'text',
|
|
720
|
+
table: {
|
|
721
|
+
category: 'Default Slot',
|
|
722
|
+
type: {
|
|
723
|
+
summary: 'html',
|
|
724
|
+
},
|
|
725
|
+
},
|
|
726
|
+
},
|
|
727
|
+
};
|