@ptcwebops/ptcw-design 6.3.31 → 6.3.32-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +1 -1
- 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 +1 -3
- package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -16
- package/dist/cjs/ptc-bio-card.cjs.entry.js +3 -20
- package/dist/cjs/ptc-button.cjs.entry.js +87 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +5 -7
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +6 -2
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +28 -29
- package/dist/cjs/ptc-countdown.cjs.entry.js +10 -7
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
- 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-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +9 -40
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +3 -18
- package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +800 -18
- package/dist/cjs/ptc-info-tile.cjs.entry.js +1 -2
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -4
- package/dist/cjs/ptc-nav-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +3 -28
- package/dist/cjs/ptc-para.cjs.entry.js +127 -0
- package/dist/cjs/ptc-picture.cjs.entry.js +162 -0
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
- package/dist/cjs/ptc-pricing-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 +1 -11
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +6 -38
- 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 +38 -42
- package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +0 -9
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +0 -7
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +8 -42
- package/dist/cjs/ptc-title.cjs.entry.js +152 -0
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +14 -15
- package/dist/cjs/ptcw-design.cjs.js +1 -3
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- 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.7.svg → designer-v6.0.6.svg} +30 -17
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +0 -1
- package/dist/collection/components/list-item/list-item.css +0 -4
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +0 -4
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +0 -15
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -10
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +2 -19
- package/dist/collection/components/ptc-button/ptc-button.css +0 -100
- package/dist/collection/components/ptc-button/ptc-button.js +4 -24
- 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 +5 -1
- package/dist/collection/components/ptc-countdown/ptc-countdown.js +10 -7
- 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 +0 -12
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +3 -29
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +13 -34
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +2 -17
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +1 -20
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +0 -3
- package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
- package/dist/collection/components/ptc-modal/ptc-modal.js +29 -30
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +0 -7
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +2 -78
- package/dist/collection/components/ptc-para/ptc-para.css +3 -0
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -109
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -6
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -10
- 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 +0 -8
- 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 +1 -11
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +0 -12
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +5 -37
- 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 +38 -63
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +0 -9
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +0 -7
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +33 -52
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +0 -6
- 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 +0 -15
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +9 -67
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +3 -8
- 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 +13 -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/stories/Card.stories.js +148 -3
- package/dist/collection/stories/Link.stories.js +13 -25
- package/dist/collection/stories/Paragraph.stories.js +10 -18
- package/dist/collection/stories/Select.stories.js +8 -5
- package/dist/collection/stories/Textfield.stories.js +28 -71
- package/dist/collection/stories/Title.stories.js +16 -28
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
- package/dist/collection/utils/validation-messages.js +2 -49
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +408 -586
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +1 -1
- package/dist/esm/homepage-toggled-content.entry.js +1 -1
- package/dist/esm/icon-asset.entry.js +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/loader.js +1 -3
- package/dist/esm/modal-form-example.entry.js +90 -0
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-back-to-top.entry.js +1 -16
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +3 -20
- package/dist/esm/ptc-button.entry.js +83 -0
- package/dist/esm/ptc-card_2.entry.js +5 -7
- package/dist/esm/ptc-case-studies-slider.entry.js +6 -2
- package/dist/esm/ptc-close-icon_2.entry.js +28 -29
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-countdown.entry.js +10 -7
- package/dist/esm/ptc-data-lookup.entry.js +1 -2
- package/dist/esm/ptc-dynamic-card.entry.js +1 -1
- package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-dropdown_4.entry.js +9 -40
- package/dist/esm/ptc-filter-level-theater.entry.js +3 -18
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +799 -19
- 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 +1 -1
- package/dist/esm/ptc-info-tile.entry.js +1 -2
- package/dist/esm/ptc-jumbotron.entry.js +1 -4
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +1 -1
- package/dist/esm/ptc-nav-skip-to-content.entry.js +3 -28
- package/dist/esm/ptc-para.entry.js +123 -0
- package/dist/esm/ptc-picture.entry.js +158 -0
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +10 -2
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
- package/dist/esm/ptc-product-card.entry.js +2 -2
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-dropdown.entry.js +2 -2
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-product-list.entry.js +1 -11
- package/dist/esm/ptc-product-sidebar.entry.js +6 -38
- package/dist/esm/ptc-quote.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-related-card-rail.entry.js +38 -42
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-spacer.entry.js +34 -0
- package/dist/esm/ptc-sticky-icons.entry.js +0 -9
- package/dist/esm/ptc-text-copy-with-background.entry.js +1 -8
- package/dist/esm/ptc-theater-video-modal.entry.js +9 -43
- package/dist/esm/ptc-title.entry.js +148 -0
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +14 -15
- package/dist/esm/ptcw-design.js +1 -3
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/esm/{utils-7c68b88a.js → utils-2f12c081.js} +1 -1
- package/dist/ptcw-design/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
- package/dist/ptcw-design/p-0529caaa.entry.js +1 -0
- package/dist/ptcw-design/p-077839d5.entry.js +1 -0
- package/dist/ptcw-design/p-092e50c9.entry.js +1 -0
- package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
- package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
- package/dist/ptcw-design/p-0d223232.entry.js +1 -0
- package/dist/ptcw-design/p-0e5932f0.entry.js +1 -0
- package/dist/ptcw-design/p-0ef61b44.entry.js +1 -0
- package/dist/ptcw-design/{p-dffcfa42.entry.js → p-14b7693f.entry.js} +1 -1
- package/dist/ptcw-design/{p-30bfb2f9.entry.js → p-1eb40265.entry.js} +1 -1
- package/dist/ptcw-design/p-21aa746d.entry.js +1 -0
- package/dist/ptcw-design/{p-673cfd2e.entry.js → p-257267e3.entry.js} +1 -1
- package/dist/ptcw-design/p-282b7d4e.entry.js +1 -0
- package/dist/ptcw-design/{p-4056c365.entry.js → p-297a14cb.entry.js} +1 -1
- package/dist/ptcw-design/p-2a20d4a6.entry.js +1 -0
- package/dist/ptcw-design/p-2cc7e2a8.entry.js +1 -0
- package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
- package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
- package/dist/ptcw-design/{p-5ca42138.entry.js → p-3ed4a7ed.entry.js} +1 -1
- package/dist/ptcw-design/p-3ee2a531.entry.js +1 -0
- package/dist/ptcw-design/p-445329ed.entry.js +1 -0
- package/dist/ptcw-design/{p-16d47ac5.entry.js → p-45b1f3fc.entry.js} +1 -1
- package/dist/ptcw-design/{p-81e65926.entry.js → p-4702c233.entry.js} +1 -1
- package/dist/ptcw-design/p-4b192f5e.entry.js +1 -0
- package/dist/ptcw-design/{p-531caca4.entry.js → p-4ca956c1.entry.js} +1 -1
- package/dist/ptcw-design/p-4f93c631.entry.js +1 -0
- package/dist/ptcw-design/{p-55e344bc.entry.js → p-52e17d34.entry.js} +1 -1
- package/dist/ptcw-design/p-5311c6e1.entry.js +1 -0
- package/dist/ptcw-design/p-58e91cb8.entry.js +1 -0
- package/dist/ptcw-design/p-5db7f70b.entry.js +1 -0
- package/dist/ptcw-design/p-672a349f.js +336 -0
- package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
- package/dist/ptcw-design/{p-9e4e21a4.entry.js → p-71360e29.entry.js} +1 -1
- package/dist/ptcw-design/p-75390f63.entry.js +1 -0
- package/dist/ptcw-design/{p-e813ea2b.entry.js → p-76dab076.entry.js} +1 -1
- package/dist/ptcw-design/{p-e3b1af2b.entry.js → p-7793babb.entry.js} +1 -1
- package/dist/ptcw-design/p-799afee5.entry.js +1 -0
- package/dist/ptcw-design/p-7bdf1e64.entry.js +1 -0
- package/dist/ptcw-design/{p-826c17e8.js → p-80122e26.js} +1 -1
- package/dist/ptcw-design/p-8038bf31.entry.js +1 -0
- package/dist/ptcw-design/p-85b3ca2b.entry.js +1 -0
- package/dist/ptcw-design/p-85bdb2d5.entry.js +68 -0
- package/dist/ptcw-design/{p-a5ad0eff.entry.js → p-8c121480.entry.js} +1 -1
- package/dist/ptcw-design/{p-5bd8b4be.entry.js → p-8cea8943.entry.js} +1 -1
- package/dist/ptcw-design/{p-757e3edb.entry.js → p-8e42a22d.entry.js} +1 -1
- package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
- package/dist/ptcw-design/{p-0252726c.entry.js → p-901c31b3.entry.js} +1 -1
- package/dist/ptcw-design/p-9501995f.entry.js +1 -0
- package/dist/ptcw-design/p-97b9f41b.entry.js +1 -0
- package/dist/ptcw-design/{p-884c335c.entry.js → p-99355e65.entry.js} +1 -1
- package/dist/ptcw-design/p-99ee8a0e.entry.js +1 -0
- package/dist/ptcw-design/{p-2ba1ef9d.entry.js → p-9dbcfcee.entry.js} +1 -1
- package/dist/ptcw-design/{p-27c26d50.entry.js → p-9df7489b.entry.js} +1 -1
- package/dist/ptcw-design/{p-24a6eefa.entry.js → p-a5fc048f.entry.js} +1 -1
- package/dist/ptcw-design/p-a8872ce3.entry.js +1 -0
- package/dist/ptcw-design/p-b50f71dd.entry.js +1 -0
- package/dist/ptcw-design/{p-50770cc0.entry.js → p-b647f7a1.entry.js} +1 -1
- package/dist/ptcw-design/{p-f5d8a3b1.entry.js → p-bab5bb88.entry.js} +1 -1
- package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
- package/dist/ptcw-design/{p-80588c84.entry.js → p-d51438de.entry.js} +1 -1
- package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/p-e4eb925f.entry.js +1 -0
- package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
- package/dist/ptcw-design/p-f0abe922.entry.js +1 -0
- package/dist/ptcw-design/p-f1734520.entry.js +1 -0
- package/dist/ptcw-design/{p-0ddf2a09.entry.js → p-f867ebe6.entry.js} +1 -1
- package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
- package/dist/ptcw-design/p-fe907670.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +1 -1
- package/dist/types/components/ptc-button/ptc-button.d.ts +1 -2
- package/dist/types/components/ptc-countdown/ptc-countdown.d.ts +1 -0
- package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +1 -2
- 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 +0 -1
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -1
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -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 +0 -6
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +3 -6
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +0 -3
- 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 +0 -2
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +2 -56
- package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +1 -6
- 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 +22 -133
- package/dist/types/utils/validation-messages.d.ts +123 -4
- package/package.json +2 -6
- package/readme.md +5 -1
- package/dist/cjs/component-1b8ad4d2.js +0 -1819
- package/dist/cjs/global-418c14b4.js +0 -33
- package/dist/cjs/ptc-button_5.cjs.entry.js +0 -542
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
- package/dist/cjs/validation-messages-f1d373e7.js +0 -172
- package/dist/collection/global/global.js +0 -7
- package/dist/collection/stories/Jumbotron.stories.js +0 -727
- package/dist/collection/utils/fef-logger.js +0 -23
- package/dist/esm/component-9beac35b.js +0 -1802
- package/dist/esm/global-1a5f28d5.js +0 -31
- package/dist/esm/ptc-button_5.entry.js +0 -534
- package/dist/esm/ptc-multi-select_2.entry.js +0 -665
- package/dist/esm/validation-messages-1379b825.js +0 -169
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-02822616.entry.js +0 -1
- package/dist/ptcw-design/p-05c29cc2.entry.js +0 -1
- package/dist/ptcw-design/p-0efedf59.js +0 -1
- package/dist/ptcw-design/p-13e338a5.entry.js +0 -1
- package/dist/ptcw-design/p-1454ba84.entry.js +0 -1
- package/dist/ptcw-design/p-15a40f78.entry.js +0 -1
- package/dist/ptcw-design/p-18851303.entry.js +0 -1
- package/dist/ptcw-design/p-1feb2812.entry.js +0 -1
- package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
- package/dist/ptcw-design/p-3b9fbbaa.js +0 -1
- package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
- package/dist/ptcw-design/p-66ecd7b9.entry.js +0 -1
- package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
- package/dist/ptcw-design/p-77fb3a86.entry.js +0 -1
- package/dist/ptcw-design/p-7aa1faef.entry.js +0 -1
- package/dist/ptcw-design/p-829855f5.entry.js +0 -1
- package/dist/ptcw-design/p-945d3ea1.entry.js +0 -68
- package/dist/ptcw-design/p-98426799.js +0 -203
- package/dist/ptcw-design/p-98844b50.js +0 -134
- package/dist/ptcw-design/p-a2c7df64.entry.js +0 -1
- package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
- package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
- package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
- package/dist/ptcw-design/p-b6255525.entry.js +0 -1
- package/dist/ptcw-design/p-bb9a879f.entry.js +0 -1
- package/dist/ptcw-design/p-bc146844.entry.js +0 -1
- package/dist/ptcw-design/p-bf84ecc0.entry.js +0 -1
- package/dist/ptcw-design/p-c82eaf9d.entry.js +0 -1
- package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
- package/dist/ptcw-design/p-d6845e91.entry.js +0 -1
- package/dist/ptcw-design/p-db1dcce0.entry.js +0 -1
- package/dist/ptcw-design/p-ddb898c7.entry.js +0 -1
- package/dist/ptcw-design/p-e3867512.entry.js +0 -1
- package/dist/ptcw-design/p-e6619d63.entry.js +0 -1
- package/dist/ptcw-design/p-e8c275a1.entry.js +0 -1
- package/dist/ptcw-design/p-eaa0597a.entry.js +0 -1
- package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
- package/dist/ptcw-design/p-fbd9c8fc.entry.js +0 -1
- package/dist/types/global/global.d.ts +0 -4
- package/dist/types/utils/fef-logger.d.ts +0 -10
|
@@ -5659,26 +5659,26 @@ a:focus-visible {
|
|
|
5659
5659
|
border-radius: var(--ptc-border-radius-standard);
|
|
5660
5660
|
}
|
|
5661
5661
|
|
|
5662
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), .background-plm-grey a.light-link {
|
|
5662
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .light-links a.light-link, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .background-grey-10 a.light-link, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), .background-plm-grey a.light-link {
|
|
5663
5663
|
color: var(--color-blue-04);
|
|
5664
5664
|
margin: -2px;
|
|
5665
5665
|
border: 2px solid transparent;
|
|
5666
5666
|
}
|
|
5667
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
|
|
5667
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .light-links a.light-link:visited, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .background-grey-10 a.light-link:visited, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
|
|
5668
5668
|
color: var(--color-blue-06);
|
|
5669
5669
|
}
|
|
5670
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .light-links a.light-link:active, .light-links a.light-link:visited:active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-grey-10 a.light-link:active, .background-grey-10 a.light-link:visited:active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
5670
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .light-links a.light-link:active, .light-links a.light-link:visited:active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .background-grey-10 a.light-link:active, .background-grey-10 a.light-link:visited:active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
5671
5671
|
transition: none;
|
|
5672
5672
|
color: var(--color-blue-07);
|
|
5673
5673
|
}
|
|
5674
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .light-links a.light-link:hover, .light-links a.light-link:visited:hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-grey-10 a.light-link:hover, .background-grey-10 a.light-link:visited:hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
5674
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .light-links a.light-link:hover, .light-links a.light-link:visited:hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .background-grey-10 a.light-link:hover, .background-grey-10 a.light-link:visited:hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
5675
5675
|
color: var(--color-blue-05);
|
|
5676
5676
|
}
|
|
5677
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
|
|
5677
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .light-links a.light-link.disabled, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .background-grey-10 a.light-link.disabled, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
|
|
5678
5678
|
color: var(--color-gray-04) !important;
|
|
5679
5679
|
cursor: not-allowed;
|
|
5680
5680
|
}
|
|
5681
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .light-links a.light-link:focus-visible, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .background-grey-10 a.light-link:focus-visible, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
|
|
5681
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .light-links a.light-link:focus-visible, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .background-grey-10 a.light-link:focus-visible, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
|
|
5682
5682
|
border-radius: var(--ptc-border-radius-standard);
|
|
5683
5683
|
border: 2px solid white;
|
|
5684
5684
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
@@ -84,29 +84,28 @@ export class PtcWhitePaper {
|
|
|
84
84
|
}
|
|
85
85
|
renderContent(item, index) {
|
|
86
86
|
const components = Object.values(item);
|
|
87
|
-
return (h("div", { class: "content-wrapper", key: index }, components.map((comp, i) =>
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
return (h("div", { class: "content-wrapper", key: index }, components.map((comp, i) => {
|
|
88
|
+
var _a, _b;
|
|
89
|
+
let heading = this.el.querySelector(`[slot="heading-page${this.currentPage}-comp${i + 1}"]`);
|
|
90
|
+
let subHeading = this.el.querySelector(`[slot="subheading-page${this.currentPage}-comp${i + 1}"]`);
|
|
91
|
+
return h("div", { key: i }, (heading && heading.innerText && ((_a = heading.innerText) === null || _a === void 0 ? void 0 : _a.trim()) !== '') ? (this.currentPage == 1
|
|
92
|
+
? (h("ptc-title", { type: "h1", upperline: comp.isStyledHeading ? 'dotted' : 'no-upperline', "title-height": "densest", "title-margin": "margin-flush" }, h("slot", { name: `heading-page${this.currentPage}-comp${i + 1}` }), h("ptc-spacer", { size: "large" })))
|
|
93
|
+
: (h("ptc-title", { type: "h2", upperline: comp.isStyledHeading ? 'dotted' : 'no-upperline', "title-height": "densest", "title-margin": "margin-flush" }, h("slot", { name: `heading-page${this.currentPage}-comp${i + 1}` }), h("ptc-spacer", { size: "large" })))) : "", (subHeading && subHeading.innerText && ((_b = subHeading.innerText) === null || _b === void 0 ? void 0 : _b.trim()) !== '') ? (h("div", { class: "sub-heading rich-content-text-editor" }, h("slot", { name: `subheading-page${this.currentPage}-comp${i + 1}` }))) : '', comp.componentType === 'two-column-with-text-media' && this.renderTwoColumnText(comp, i), comp.componentType === 'fullspan-media' && this.renderfullspanMedia(comp, i), comp.componentType === 'fullspan-text' && this.renderFullspanText(comp, i));
|
|
94
|
+
})));
|
|
95
|
+
}
|
|
96
|
+
renderTwoColumnText(comp, index) {
|
|
97
|
+
return (h("div", null, comp.leftColumnContent && (h("div", { class: "is-grid has-col-gap-xl has-row-gap-sm wp-component", key: index }, h("div", { class: "is-col-6-md" }, h("div", { class: "left-content", innerHTML: comp.leftColumnContent })), h("div", { class: "is-col-6-md" }, h("div", { class: "right-content", innerHTML: comp.rightColumnContent }))))));
|
|
95
98
|
}
|
|
96
99
|
renderfullspanMedia(comp, index) {
|
|
97
|
-
|
|
98
|
-
const componentNumber = index + 1;
|
|
99
|
-
return (h("div", { class: "wp-component wp-media", key: index }, comp.mainImage && (h("ptc-picture", { alt: comp.mainImageAlt, "display-image": "inline-block", "image-alignment": "center", "image-position": "relative", "object-fit": "cover", src: comp.mainImage })), h("div", { class: "image-description" }, h("slot", { name: `main-image-description-page${pageNumber}-comp${componentNumber}` }))));
|
|
100
|
+
return (h("div", { class: "wp-component wp-media", key: index }, comp.mainImage && (h("ptc-picture", { alt: comp.mainImageAlt, "display-image": "inline-block", "image-alignment": "center", "image-position": "relative", "object-fit": "cover", src: comp.mainImage })), comp.mainImageDescription && h("div", { class: "image-description", innerHTML: comp.mainImageDescription })));
|
|
100
101
|
}
|
|
101
102
|
renderFullspanText(comp, index) {
|
|
102
|
-
const pageNumber = this.currentPage;
|
|
103
|
-
const componentNumber = index + 1;
|
|
104
103
|
const classes = {
|
|
105
104
|
'wp-component': true,
|
|
106
105
|
'wp-fullspan-text': true,
|
|
107
106
|
'text-center': comp.isCenterText,
|
|
108
107
|
};
|
|
109
|
-
return (h("div", { class: classes, key: index }, h("div", { class: ""
|
|
108
|
+
return (h("div", { class: classes, key: index }, comp.mainContent && h("div", { class: "", innerHTML: comp.mainContent }), comp.mainContentMultiLine && h("div", { class: "", innerHTML: comp.mainContentMultiLine }), comp.mainContentChart && (h("div", { class: "" }, h("ptc-spacer", { size: "large" }), h("object", { id: "", type: "text/html", width: "100%", height: comp.mainContentChartHeight, "data-dw-widget": "Edge", data: comp.mainContentChart, tabindex: "-1" }), h("ptc-spacer", { size: "large" })))));
|
|
110
109
|
}
|
|
111
110
|
render() {
|
|
112
111
|
const startIndex = (this.currentPage - 1) * this.itemsPerPage;
|
|
@@ -28,7 +28,7 @@ export class PtcNavLink {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (h(Host, null, h("div", { class: "tracker-div" }, h("a", {
|
|
31
|
+
return (h(Host, null, h("div", { class: "tracker-div", id: this.trackerId }, h("a", { href: this.href, target: this.isOutsideLink ? '_blank' : '_self', title: this.titleText, onClick: event => {
|
|
32
32
|
this.handleClick(event);
|
|
33
33
|
} }, h("slot", null), !this.href.startsWith('#') && (h("svg", { class: "icon-arrow-right", xmlns: "http://www.w3.org/2000/svg", width: "14", height: "10", viewBox: "0 0 14 10", fill: "none" }, h("path", { d: "M8.84921 0.77792L8.81313 3.41153L0.51545 3.55584L0.515449 6.5863L8.81313 6.44199L8.81313 9.40029L13.1424 5.07107L8.84921 0.77792Z", fill: "#AEB8BD" })))))));
|
|
34
34
|
}
|
|
@@ -63,7 +63,7 @@ export class TabHeader {
|
|
|
63
63
|
'tab-header-selected': this.isSelected
|
|
64
64
|
};
|
|
65
65
|
return [
|
|
66
|
-
h("
|
|
66
|
+
h("h2", { class: classes, onClick: this.onClick.bind(this) }, h("slot", { name: "seo-content" }), h("span", { class: "header-content" }, h("span", { class: "text-cont" }, this.tabHeaderText))),
|
|
67
67
|
];
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "tab-header"; }
|
|
@@ -14,17 +14,42 @@ export default {
|
|
|
14
14
|
description: 'Card Link URL (Optional)',
|
|
15
15
|
defaultValue: { summary: 'undefined' }
|
|
16
16
|
},
|
|
17
|
+
// cardLogo: {
|
|
18
|
+
// control: '',
|
|
19
|
+
// description: 'Card Logo',
|
|
20
|
+
// defaultValue: { summary: 'undefined' }
|
|
21
|
+
// },
|
|
17
22
|
cardType: {
|
|
18
23
|
control: 'select',
|
|
19
24
|
options: ["hightlight-card", "horizontal-card", "listing-card"],
|
|
20
25
|
description: 'Card Type Specify Card Type, default to simple card',
|
|
21
26
|
defaultValue: { summary: 'custom-card' }
|
|
22
27
|
},
|
|
28
|
+
// country: {
|
|
29
|
+
// control: 'text',
|
|
30
|
+
// description: 'Card Date',
|
|
31
|
+
// defaultValue: { summary: 'undefined' }
|
|
32
|
+
// },
|
|
33
|
+
// eventType: {
|
|
34
|
+
// control: '',
|
|
35
|
+
// description: 'Event Type',
|
|
36
|
+
// defaultValue: { summary: 'undefined' }
|
|
37
|
+
// },
|
|
23
38
|
hasImage: {
|
|
24
39
|
control: 'boolean',
|
|
25
40
|
description: 'If this card has Image',
|
|
26
41
|
defaultValue: { summary: 'false' }
|
|
27
42
|
},
|
|
43
|
+
// hasLottie: {
|
|
44
|
+
// control: '',
|
|
45
|
+
// description: 'If this card has Lottie Image',
|
|
46
|
+
// defaultValue: { summary: 'false' }
|
|
47
|
+
// },
|
|
48
|
+
// hasVideo: {
|
|
49
|
+
// control: '',
|
|
50
|
+
// description: 'If this card has Video',
|
|
51
|
+
// defaultValue: { summary: 'false' }
|
|
52
|
+
// },
|
|
28
53
|
heading: {
|
|
29
54
|
control: 'text',
|
|
30
55
|
description: 'Card heading',
|
|
@@ -36,24 +61,144 @@ export default {
|
|
|
36
61
|
description: 'Card heading text transform',
|
|
37
62
|
defaultValue: { summary: 'none' }
|
|
38
63
|
},
|
|
64
|
+
// rel: {
|
|
65
|
+
// control: '',
|
|
66
|
+
// description: '(optional) Link card rel',
|
|
67
|
+
// defaultValue: { summary: 'undefined' }
|
|
68
|
+
// },
|
|
39
69
|
ribbonText: {
|
|
40
70
|
control: 'text',
|
|
41
71
|
description: 'Ribbon will show on listing card if this field has any value',
|
|
42
72
|
defaultValue: { summary: 'undefined' }
|
|
43
73
|
},
|
|
74
|
+
// styles: {
|
|
75
|
+
// control: '',
|
|
76
|
+
// description: '(optional) Injected CSS styles',
|
|
77
|
+
// defaultValue: { summary: 'undefined' }
|
|
78
|
+
// },
|
|
44
79
|
target: {
|
|
45
80
|
control: '',
|
|
46
81
|
description: '(optional) Link card target',
|
|
47
82
|
defaultValue: { summary: '_self' }
|
|
48
83
|
},
|
|
84
|
+
// titleLineCutOff: {
|
|
85
|
+
// control: 'number',
|
|
86
|
+
// description: 'Title Line Cut off',
|
|
87
|
+
// defaultValue: { summary: 'undefined' }
|
|
88
|
+
// }
|
|
49
89
|
}
|
|
50
90
|
};
|
|
51
91
|
|
|
92
|
+
// const Template = args => { return html `<ptc-card
|
|
93
|
+
// card-date=${args.cardDate}
|
|
94
|
+
// card-href=${args.cardHref}
|
|
95
|
+
// card-logo=${args.cardLogo}
|
|
96
|
+
// card-type=${args.cardType}
|
|
97
|
+
// country=${args.country}
|
|
98
|
+
// event-type=${args.eventType}
|
|
99
|
+
// has-image=${args.hasImage}
|
|
100
|
+
// has-lottie=${args.hasLottie}
|
|
101
|
+
// has-video=${args.hasVideo}
|
|
102
|
+
// heading=${args.heading}
|
|
103
|
+
// heading-transform=${args.headingTransform}
|
|
104
|
+
// rel=${args.rel}
|
|
105
|
+
// ribbon-text=${args.ribbonText}
|
|
106
|
+
// styles=${args.styles}
|
|
107
|
+
// target=${args.target}
|
|
108
|
+
// title-line-cut-off=${args.titleLineCutOff}
|
|
109
|
+
// ></ptc-card>`;}
|
|
110
|
+
|
|
111
|
+
// Example.args = {
|
|
112
|
+
// cardDate: 'undefined',
|
|
113
|
+
// cardHref: 'undefined',
|
|
114
|
+
// cardLogo: 'undefined',
|
|
115
|
+
// cardType: 'custom-card',
|
|
116
|
+
// country: 'undefined',
|
|
117
|
+
// eventType: 'undefined',
|
|
118
|
+
// hasImage: 'false',
|
|
119
|
+
// hasLottie: 'false',
|
|
120
|
+
// hasVideo: 'false',
|
|
121
|
+
// heading: 'undefined',
|
|
122
|
+
// headingTransform: 'none',
|
|
123
|
+
// rel: 'undefined',
|
|
124
|
+
// ribbonText: 'undefined',
|
|
125
|
+
// styles: 'undefined',
|
|
126
|
+
// target: '_self',
|
|
127
|
+
// titleLineCutOff: 'undefined',
|
|
128
|
+
// }
|
|
129
|
+
|
|
130
|
+
// ** Highlight Card **
|
|
131
|
+
|
|
132
|
+
const HighlightCardTemplate = args => { return html `
|
|
133
|
+
<div class="is-grid">
|
|
134
|
+
<div class="is-col-8">
|
|
135
|
+
<ptc-card
|
|
136
|
+
card-date=${args.cardDate}
|
|
137
|
+
card-href=${args.cardHref}
|
|
138
|
+
card-type=${args.cardType}
|
|
139
|
+
has-image=${args.hasImage}
|
|
140
|
+
heading=${args.heading}
|
|
141
|
+
heading-transform=${args.headingTransform}
|
|
142
|
+
target=${args.target}
|
|
143
|
+
>
|
|
144
|
+
<ptc-img slot="slot-image" img-url="http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" size-xs="600x450" size-sm="600x450" size-md="1108x658" size-lg="1108x658" image-type="smart-img" load-mode="lazy-bg"></ptc-img>
|
|
145
|
+
<ptc-span slot="slot-before-heading" styles="::part(part-ptc-span){font-size:18px!important}" span-style="tag-style" display="block">Augmented Reality</ptc-span>
|
|
146
|
+
<div slot="slot-description">
|
|
147
|
+
<ptc-para font-size="xx-small" font-weight="w-6" para-line-h="line-height-dense">
|
|
148
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing. Lorem ipsum dolor sit amet, consectetur adipiscing. Lorem ipsum dolor sit amet, consectetur adipiscing.
|
|
149
|
+
</ptc-para>
|
|
150
|
+
</div>
|
|
151
|
+
</ptc-card>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
`;}
|
|
155
|
+
|
|
156
|
+
export const HighlightCard = HighlightCardTemplate.bind({});
|
|
157
|
+
|
|
158
|
+
HighlightCard.args = {
|
|
159
|
+
cardDate: '2022-1-2',
|
|
160
|
+
cardHref: 'http://www.ptc.com',
|
|
161
|
+
cardType: 'hightlight-card',
|
|
162
|
+
hasImage: true,
|
|
163
|
+
heading: 'Lorem ipsum dolor sit amet, consectetur adipiscing',
|
|
164
|
+
headingTransform: 'none',
|
|
165
|
+
target: '_blank',
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// ** Horizontal Card **
|
|
169
|
+
|
|
170
|
+
const HorizontalCardTemplate = args => { return html `
|
|
171
|
+
<ptc-card
|
|
172
|
+
card-href=${args.cardHref}
|
|
173
|
+
card-type=${args.cardType}
|
|
174
|
+
has-image=${args.hasImage}
|
|
175
|
+
heading=${args.heading}
|
|
176
|
+
heading-transform=${args.headingTransform}
|
|
177
|
+
target=${args.target}
|
|
178
|
+
>
|
|
179
|
+
<ptc-picture slot="slot-image" alt="image-test" is-full-width="true" src="https://www.ptc.com/-/media/Images/new-org/510x340/PLM/BOM-Management.jpg"></ptc-picture>
|
|
180
|
+
<div class="" slot="slot-description">
|
|
181
|
+
<ptc-para font-size="xx-small" para-line-h="line-height-dense" para-margin="margin-flush">Get full digital associativity across engineering, supply chain, manufacturing, sales, and service.</ptc-para>
|
|
182
|
+
</div>
|
|
183
|
+
</ptc-card>
|
|
184
|
+
`; }
|
|
185
|
+
|
|
186
|
+
export const HorizontalCard = HorizontalCardTemplate.bind({});
|
|
187
|
+
|
|
188
|
+
HorizontalCard.args = {
|
|
189
|
+
cardHref: 'https://www.ptc.com/en/technologies/plm/bill-of-materials',
|
|
190
|
+
cardType: 'horizontal-card',
|
|
191
|
+
hasImage: true,
|
|
192
|
+
heading: 'BOM management',
|
|
193
|
+
headingTransform: 'none',
|
|
194
|
+
target: '_blank',
|
|
195
|
+
}
|
|
196
|
+
|
|
52
197
|
// ** Listing Card **
|
|
53
198
|
|
|
54
199
|
const ListingCardTemplate = args => { return html `
|
|
55
200
|
<div class="is-grid">
|
|
56
|
-
<div class="is-col-
|
|
201
|
+
<div class="is-col-3">
|
|
57
202
|
<ptc-card
|
|
58
203
|
card-date=${args.cardDate}
|
|
59
204
|
card-href=${args.cardHref}
|
|
@@ -66,7 +211,7 @@ const ListingCardTemplate = args => { return html `
|
|
|
66
211
|
>
|
|
67
212
|
<ptc-img slot="slot-image" img-url="http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" size-xs="600x450" size-sm="600x450" size-md="1108x658" size-lg="1108x658" image-type="smart-img" load-mode="lazy-bg"></ptc-img>
|
|
68
213
|
<div slot="slot-description">
|
|
69
|
-
<ptc-para font-size="
|
|
214
|
+
<ptc-para font-size="medium" font-weight="w-4" para-line-h="line-height-19">
|
|
70
215
|
Join us for live presentations and hear about the latest updates for Creo, Windchill PLM, and Thingworx IOT and Augmented Reality.
|
|
71
216
|
</ptc-para>
|
|
72
217
|
</div>
|
|
@@ -86,4 +231,4 @@ ListingCard.args = {
|
|
|
86
231
|
headingTransform: 'none',
|
|
87
232
|
ribbonText: 'eBook',
|
|
88
233
|
target: '_blank',
|
|
89
|
-
}
|
|
234
|
+
}
|
|
@@ -74,33 +74,22 @@ export default {
|
|
|
74
74
|
'underline',
|
|
75
75
|
],
|
|
76
76
|
},
|
|
77
|
-
slotContent: {
|
|
78
|
-
name: 'Default Slot',
|
|
79
|
-
description: 'Text Content between the <ptc-link> tags.',
|
|
80
|
-
control: 'text',
|
|
81
|
-
table: {
|
|
82
|
-
category: 'Default Slot',
|
|
83
|
-
type: {
|
|
84
|
-
summary: 'plain text',
|
|
85
|
-
},
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
77
|
},
|
|
89
78
|
};
|
|
90
79
|
|
|
91
|
-
const Template = args => {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
80
|
+
const Template = args => {
|
|
81
|
+
return html`<ptc-link
|
|
82
|
+
disabled=${args.disabled}
|
|
83
|
+
external=${args.external}
|
|
84
|
+
font-size=${args.fontSize}
|
|
85
|
+
font-weight=${args.fontWeight}
|
|
86
|
+
href=${args.href}
|
|
87
|
+
link-area=${args.linkArea}
|
|
88
|
+
link-title=${args.linkTitle}
|
|
89
|
+
target=${args.target}
|
|
90
|
+
theme=${args.theme}
|
|
91
|
+
>Link Text</ptc-link
|
|
92
|
+
>`;
|
|
104
93
|
};
|
|
105
94
|
|
|
106
95
|
export const Example = Template.bind({});
|
|
@@ -115,5 +104,4 @@ Example.args = {
|
|
|
115
104
|
linkTitle: 'Title attribute goes here',
|
|
116
105
|
target: '_blank',
|
|
117
106
|
theme: 'simple',
|
|
118
|
-
slotContent:'Link text goes here',
|
|
119
107
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
|
-
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
title: 'Atoms/ptc-para',
|
|
@@ -46,24 +45,18 @@ export default {
|
|
|
46
45
|
description: 'Paragraph Margin',
|
|
47
46
|
defaultValue: { summary: 'undefined' }
|
|
48
47
|
},
|
|
49
|
-
|
|
48
|
+
// paraStyle: {
|
|
49
|
+
// control: 'select',
|
|
50
|
+
// options: ["announcement", "default", "flush-style", "intro", "main", "small"],
|
|
51
|
+
// description: 'Paragraph Style',
|
|
52
|
+
// defaultValue: { summary: 'default' }
|
|
53
|
+
// },
|
|
50
54
|
paraZIndex: {
|
|
51
55
|
control: 'select',
|
|
52
56
|
options: ["z-1", "z-2", "z-3", "z-99", "z-999", "z-auto"],
|
|
53
57
|
description: 'sep z-index',
|
|
54
58
|
defaultValue: { summary: 'undefined' }
|
|
55
59
|
},
|
|
56
|
-
slotContent: {
|
|
57
|
-
name: 'Default Slot',
|
|
58
|
-
description: 'Text Content between the <ptc-para> tags.',
|
|
59
|
-
control: 'text',
|
|
60
|
-
table: {
|
|
61
|
-
category: 'Default Slot',
|
|
62
|
-
type: {
|
|
63
|
-
summary: 'html',
|
|
64
|
-
},
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
60
|
// styles: {
|
|
68
61
|
// control: '',
|
|
69
62
|
// description: '(optional) Injected CSS Styles',
|
|
@@ -72,7 +65,7 @@ export default {
|
|
|
72
65
|
}
|
|
73
66
|
};
|
|
74
67
|
|
|
75
|
-
|
|
68
|
+
let paragraphContent = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
|
|
76
69
|
|
|
77
70
|
const Template = args => { return html `<ptc-para
|
|
78
71
|
ellipsis-line-cutoff=${args.ellipsisLineCutoff}
|
|
@@ -85,9 +78,7 @@ const Template = args => { return html `<ptc-para
|
|
|
85
78
|
para-style=${args.paraStyle}
|
|
86
79
|
para-z-index=${args.paraZIndex}
|
|
87
80
|
styles=${args.styles}
|
|
88
|
-
|
|
89
|
-
${unsafeHTML(args.slotContent)}
|
|
90
|
-
</ptc-para>`;}
|
|
81
|
+
>${paragraphContent}</ptc-para>`;}
|
|
91
82
|
|
|
92
83
|
export const Example = Template.bind({});
|
|
93
84
|
|
|
@@ -99,6 +90,7 @@ Example.args = {
|
|
|
99
90
|
paraColor: 'primary-grey',
|
|
100
91
|
paraLineH: 'line-height-normal',
|
|
101
92
|
paraMargin: 'margin-5',
|
|
102
|
-
|
|
93
|
+
// paraStyle: 'default',
|
|
103
94
|
paraZIndex: 'z-1',
|
|
95
|
+
// styles: 'undefined'
|
|
104
96
|
}
|
|
@@ -6,27 +6,27 @@ export default {
|
|
|
6
6
|
argTypes: {
|
|
7
7
|
disabled: {
|
|
8
8
|
control: 'boolean',
|
|
9
|
-
description: '
|
|
9
|
+
description: '',
|
|
10
10
|
defaultValue: { summary: 'false' },
|
|
11
11
|
},
|
|
12
12
|
helpertext: {
|
|
13
13
|
control: 'text',
|
|
14
|
-
description: '
|
|
14
|
+
description: '',
|
|
15
15
|
defaultValue: { summary: 'Please select a value!' },
|
|
16
16
|
},
|
|
17
17
|
isRequired: {
|
|
18
18
|
control: 'boolean',
|
|
19
|
-
description: '
|
|
19
|
+
description: '',
|
|
20
20
|
defaultValue: { summary: 'true' },
|
|
21
21
|
},
|
|
22
22
|
label: {
|
|
23
23
|
control: 'text',
|
|
24
|
-
description: '
|
|
24
|
+
description: '',
|
|
25
25
|
defaultValue: { summary: 'undefined' },
|
|
26
26
|
},
|
|
27
27
|
name: {
|
|
28
28
|
control: 'text',
|
|
29
|
-
description: '
|
|
29
|
+
description: '',
|
|
30
30
|
defaultValue: { summary: 'undefined' },
|
|
31
31
|
},
|
|
32
32
|
ptcDataEloquaName: {
|
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
description: 'Eloqua Data',
|
|
35
35
|
defaultValue: { summary: 'undefined' },
|
|
36
36
|
},
|
|
37
|
+
selectedValue: { control: 'text', description: '', defaultValue: { summary: '' } },
|
|
37
38
|
},
|
|
38
39
|
};
|
|
39
40
|
|
|
@@ -45,6 +46,7 @@ const Template = args => {
|
|
|
45
46
|
label=${args.label}
|
|
46
47
|
name=${args.name}
|
|
47
48
|
ptc-data-eloqua-name=${args.ptcDataEloquaName}
|
|
49
|
+
selected-value=${args.selectedValue}
|
|
48
50
|
>
|
|
49
51
|
<ul class="mdc-list">
|
|
50
52
|
<li class="mdc-list-item" data-value="">
|
|
@@ -75,4 +77,5 @@ Example.args = {
|
|
|
75
77
|
label: 'Lable Name',
|
|
76
78
|
name: 'examplename',
|
|
77
79
|
ptcDataEloquaName: 'data-eloqua-value',
|
|
80
|
+
selectedValue: '',
|
|
78
81
|
};
|
|
@@ -4,122 +4,79 @@ export default {
|
|
|
4
4
|
title: 'Atoms/ptc-textfield',
|
|
5
5
|
tags: [ 'autodocs' ],
|
|
6
6
|
argTypes: {
|
|
7
|
-
alertText: {
|
|
8
|
-
control: 'text',
|
|
9
|
-
description: 'Alert text (blue)',
|
|
10
|
-
defaultValue: { summary: '' }
|
|
11
|
-
},
|
|
12
|
-
alertTextContent: {
|
|
13
|
-
control: 'text',
|
|
14
|
-
description: 'Alert text content - below alert text (grey)',
|
|
15
|
-
defaultValue: { summary: '' }
|
|
16
|
-
},
|
|
17
7
|
disabled: {
|
|
18
8
|
control: 'boolean',
|
|
19
|
-
description: '
|
|
9
|
+
description: '',
|
|
20
10
|
defaultValue: { summary: 'false' }
|
|
21
11
|
},
|
|
22
12
|
fieldId: {
|
|
23
13
|
control: 'text',
|
|
24
|
-
description: '
|
|
25
|
-
defaultValue: { summary: '' }
|
|
14
|
+
description: '',
|
|
15
|
+
defaultValue: { summary: 'undefined' }
|
|
26
16
|
},
|
|
27
|
-
|
|
17
|
+
helpertext: {
|
|
28
18
|
control: 'text',
|
|
29
|
-
description: '
|
|
30
|
-
defaultValue: { summary: '
|
|
31
|
-
},
|
|
32
|
-
helpertext: { control: 'text', description: 'Validation text (red)', defaultValue: { summary: '' } },
|
|
33
|
-
ignoreBlindSubmit: {
|
|
34
|
-
control: 'boolean',
|
|
35
|
-
description: 'Ignore Blind Submit?',
|
|
36
|
-
defaultValue: { summary: 'false' }
|
|
19
|
+
description: '',
|
|
20
|
+
defaultValue: { summary: 'Please enter a value' }
|
|
37
21
|
},
|
|
38
|
-
|
|
39
|
-
control: 'text',
|
|
40
|
-
description: 'Info Text (black)',
|
|
41
|
-
defaultValue: { summary: '' }
|
|
42
|
-
},
|
|
43
|
-
// inputValue: { control: 'text', description: '', defaultValue: { summary: '' } },
|
|
22
|
+
inputValue: { control: 'text', description: '', defaultValue: { summary: '' } },
|
|
44
23
|
labelText: {
|
|
45
24
|
control: 'text',
|
|
46
|
-
description: '
|
|
25
|
+
description: '',
|
|
47
26
|
defaultValue: { summary: 'Email' }
|
|
48
27
|
},
|
|
49
|
-
|
|
28
|
+
name: {
|
|
50
29
|
control: 'text',
|
|
51
|
-
description: '
|
|
52
|
-
defaultValue: { summary: '' }
|
|
30
|
+
description: '',
|
|
31
|
+
defaultValue: { summary: 'email' }
|
|
53
32
|
},
|
|
54
33
|
ptcDataEloquaName: {
|
|
55
34
|
control: 'text',
|
|
56
|
-
description: '
|
|
57
|
-
defaultValue: { summary: '' }
|
|
58
|
-
},
|
|
59
|
-
ptcDataTargetEloquaName: {
|
|
60
|
-
control: 'text',
|
|
61
|
-
description: 'Eloqua Target Data Name (for the eloqua)',
|
|
62
|
-
defaultValue: { summary: '' }
|
|
35
|
+
description: '',
|
|
36
|
+
defaultValue: { summary: 'undefined' }
|
|
63
37
|
},
|
|
64
38
|
ptcMaxLength: {
|
|
65
|
-
control: '
|
|
66
|
-
description: '
|
|
67
|
-
defaultValue: { summary: '' }
|
|
39
|
+
control: '',
|
|
40
|
+
description: '',
|
|
41
|
+
defaultValue: { summary: 'undefined' }
|
|
68
42
|
},
|
|
69
43
|
required: {
|
|
70
44
|
control: 'boolean',
|
|
71
|
-
description: '
|
|
45
|
+
description: '',
|
|
72
46
|
defaultValue: { summary: 'true' }
|
|
73
47
|
},
|
|
74
|
-
styles: {
|
|
75
|
-
control: 'text',
|
|
76
|
-
description: 'Inject styles for customization',
|
|
77
|
-
defaultValue: { summary: '' }
|
|
78
|
-
},
|
|
79
48
|
type: {
|
|
80
49
|
control: 'text',
|
|
81
|
-
description: '
|
|
50
|
+
description: 'button, email, file and etc. ',
|
|
82
51
|
defaultValue: { summary: 'text' }
|
|
83
52
|
}
|
|
84
53
|
}
|
|
85
54
|
};
|
|
86
55
|
|
|
87
56
|
const Template = args => { return html `<ptc-textfield
|
|
88
|
-
alert-text=${args.alertText}
|
|
89
|
-
alert-text-content=${args.alertTextContent}
|
|
90
57
|
disabled=${args.disabled}
|
|
91
58
|
field-id=${args.fieldId}
|
|
92
|
-
field-name=${args.fieldName}
|
|
93
59
|
helpertext=${args.helpertext}
|
|
94
|
-
|
|
95
|
-
info-text=${args.infoText}
|
|
60
|
+
input-value=${args.inputValue}
|
|
96
61
|
label-text=${args.labelText}
|
|
97
|
-
|
|
62
|
+
name=${args.name}
|
|
98
63
|
ptc-data-eloqua-name=${args.ptcDataEloquaName}
|
|
99
|
-
ptc-data-target-eloqua-name=${args.ptcDataTargetEloquaName}
|
|
100
64
|
ptc-max-length=${args.ptcMaxLength}
|
|
101
65
|
required=${args.required}
|
|
102
|
-
styles=${args.styles}
|
|
103
66
|
type=${args.type}
|
|
104
67
|
></ptc-textfield>`;}
|
|
105
68
|
|
|
106
69
|
export const Example = Template.bind({});
|
|
107
70
|
|
|
108
71
|
Example.args = {
|
|
109
|
-
alertText: 'Alert text',
|
|
110
|
-
alertTextContent: 'Alert text content',
|
|
111
72
|
disabled: 'false',
|
|
112
|
-
fieldId: '
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
ptcDataEloquaName: 'C_EmailAddress',
|
|
120
|
-
ptcDataTargetEloquaName: '',
|
|
121
|
-
ptcMaxLength: '',
|
|
73
|
+
fieldId: 'ptc-field-name',
|
|
74
|
+
helpertext: 'Please enter a value',
|
|
75
|
+
inputValue: '',
|
|
76
|
+
labelText: 'Email',
|
|
77
|
+
name: 'email',
|
|
78
|
+
ptcDataEloquaName: 'data-eloqua-name-value',
|
|
79
|
+
ptcMaxLength: 'undefined',
|
|
122
80
|
required: 'true',
|
|
123
|
-
|
|
124
|
-
type: 'text'
|
|
81
|
+
type: 'email'
|
|
125
82
|
}
|