@ptcwebops/ptcw-design 6.2.22 → 6.2.23-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-06dda623.js → component-4dd13907.js} +2643 -832
- package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +1430 -0
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +7 -13
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
- package/dist/cjs/ptc-announcement.cjs.entry.js +2 -2
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +67 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +4 -9
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +512 -0
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +0 -15
- package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +786 -4
- package/dist/cjs/ptc-icon-component.cjs.entry.js +2 -45
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +3 -50
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +1 -2
- package/dist/cjs/ptc-nav-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tooltip.cjs.entry.js +107 -0
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +2 -2
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/icon-asset/icon-asset.css +0 -6
- package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -13
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +2 -9
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +3 -25
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +1 -3
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +71 -23
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +30 -12
- 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-announcement/ptc-announcement.css +0 -6
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -1
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -13
- package/dist/collection/components/ptc-card/ptc-card.css +0 -1
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +0 -2
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +1 -20
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -13
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +1 -1
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -13
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -13
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +0 -12
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +1 -44
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +0 -8
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +2 -67
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -26
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +1 -19
- package/dist/collection/components/ptc-modal/ptc-modal.css +6 -13
- package/dist/collection/components/ptc-modal/ptc-modal.js +99 -27
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +0 -29
- 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 -13
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +47 -220
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +2 -7
- 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.css +0 -13
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -13
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -13
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -13
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -13
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -13
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -13
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -13
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -13
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +1 -1
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +1 -14
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +0 -8
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +1 -1
- 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/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +233 -202
- 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 +2 -2
- package/dist/esm/blog-detail-layout.entry.js +2 -2
- package/dist/esm/blogs-search-section.entry.js +2 -2
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/{component-274da230.js → component-9c921cc6.js} +2592 -793
- 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_15.entry.js +1412 -0
- package/dist/esm/event-podcast-slider-example.entry.js +8 -14
- 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/homepage-clickable-tab.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +2 -2
- package/dist/esm/homepage-toggled-content.entry.js +2 -2
- package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +2 -2
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/max-width-container.entry.js +1 -1
- package/dist/esm/modal-form-example.entry.js +90 -0
- package/dist/esm/most-popular-news.entry.js +2 -2
- package/dist/esm/my-component.entry.js +2 -2
- package/dist/esm/news-search-result.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +2 -2
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +3 -3
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +2 -2
- package/dist/esm/ptc-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +2 -2
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-card-bottom.entry.js +63 -0
- package/dist/esm/ptc-card_2.entry.js +5 -10
- package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
- package/dist/esm/ptc-checkbox-group.entry.js +1 -1
- package/dist/esm/ptc-checkbox.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +508 -0
- 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 +2 -3
- 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 +1 -1
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
- package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
- package/dist/esm/ptc-featured-list.entry.js +2 -2
- package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +2 -2
- package/dist/esm/ptc-filter-tag_2.entry.js +1 -16
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +785 -5
- 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 +2 -2
- package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
- package/dist/esm/ptc-icon-card.entry.js +2 -2
- package/dist/esm/ptc-icon-component.entry.js +3 -46
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +4 -51
- package/dist/esm/ptc-image-download-strip.entry.js +1 -1
- package/dist/esm/ptc-info-tile.entry.js +1 -1
- package/dist/esm/ptc-inline-cta.entry.js +1 -1
- package/dist/esm/ptc-jumbotron.entry.js +2 -2
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +2 -2
- package/dist/esm/ptc-minimized-nav.entry.js +2 -3
- package/dist/esm/ptc-mobile-select.entry.js +1 -1
- package/dist/esm/ptc-modal-quiz.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/ptc-nav-slider.entry.js +3 -3
- 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-picture.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 +11 -3
- 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 +2 -2
- package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
- package/dist/esm/ptc-product-card.entry.js +2 -2
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
- package/dist/esm/ptc-product-list.entry.js +1 -1
- package/dist/esm/ptc-product-sidebar.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/ptc-responsive-wrapper.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 +2 -2
- 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 +1 -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 +1 -1
- package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
- 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 +103 -0
- 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 +3 -3
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle-example.entry.js +1 -1
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/esm/{utils-355f1d70.js → utils-ff65c75b.js} +1 -1
- package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
- package/dist/ptcw-design/{p-02f0460b.entry.js → p-03a917f8.entry.js} +1 -1
- 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-ef0079b0.entry.js → p-071a6109.entry.js} +1 -1
- package/dist/ptcw-design/{p-7b75091d.entry.js → p-081e969d.entry.js} +1 -1
- 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-788c2859.entry.js → p-0d806031.entry.js} +1 -1
- package/dist/ptcw-design/{p-b3b63f67.entry.js → p-0e5932f0.entry.js} +1 -1
- package/dist/ptcw-design/{p-d4207d86.entry.js → p-0ee01112.entry.js} +1 -1
- package/dist/ptcw-design/p-0fdfd4ad.entry.js +68 -0
- package/dist/ptcw-design/{p-30ec0036.entry.js → p-11e0edaf.entry.js} +1 -1
- package/dist/ptcw-design/{p-d113403b.entry.js → p-1a6759a4.entry.js} +1 -1
- package/dist/ptcw-design/{p-1056fdc7.entry.js → p-1b257420.entry.js} +1 -1
- package/dist/ptcw-design/p-21ee77ab.entry.js +1 -0
- package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
- package/dist/ptcw-design/p-246df0d6.entry.js +1 -0
- package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
- package/dist/ptcw-design/p-257deac0.entry.js +1 -0
- package/dist/ptcw-design/{p-d9ec506c.entry.js → p-260ecfef.entry.js} +1 -1
- package/dist/ptcw-design/{p-132f71c3.entry.js → p-2657df50.entry.js} +1 -1
- package/dist/ptcw-design/{p-6b7d2579.entry.js → p-2749c178.entry.js} +1 -1
- package/dist/ptcw-design/{p-eef5d58b.entry.js → p-27a4ee73.entry.js} +1 -1
- package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
- package/dist/ptcw-design/{p-78252282.entry.js → p-282b7d4e.entry.js} +1 -1
- package/dist/ptcw-design/p-2ac5ed9c.entry.js +1 -0
- package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
- package/dist/ptcw-design/p-2c6fc745.entry.js +1 -0
- package/dist/ptcw-design/{p-00ccc051.entry.js → p-34c50b3e.entry.js} +1 -1
- package/dist/ptcw-design/p-36007a57.entry.js +1 -0
- package/dist/ptcw-design/{p-794eebdb.entry.js → p-3738a01f.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-7edef9ed.entry.js → p-3c3a7b54.entry.js} +1 -1
- package/dist/ptcw-design/{p-9dde477c.entry.js → p-3ee2a531.entry.js} +1 -1
- package/dist/ptcw-design/p-40b8c884.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-88379d69.entry.js → p-48815ee0.entry.js} +1 -1
- package/dist/ptcw-design/{p-7e19be10.entry.js → p-4b192f5e.entry.js} +1 -1
- package/dist/ptcw-design/p-4cee12b8.entry.js +1 -0
- package/dist/ptcw-design/{p-f77c7c78.entry.js → p-4f93c631.entry.js} +1 -1
- package/dist/ptcw-design/p-50d68602.entry.js +1 -0
- package/dist/ptcw-design/{p-3c72e82d.entry.js → p-58e91cb8.entry.js} +1 -1
- 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-9d32f1bc.entry.js → p-5db7f70b.entry.js} +1 -1
- package/dist/ptcw-design/p-5ef23b5c.entry.js +1 -0
- package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
- package/dist/ptcw-design/p-69686408.entry.js +1 -0
- package/dist/ptcw-design/{p-1ec32cbc.entry.js → p-6b32020a.entry.js} +1 -1
- package/dist/ptcw-design/{p-66ddc281.entry.js → p-6d3326da.entry.js} +1 -1
- package/dist/ptcw-design/{p-379fcc72.entry.js → p-6e8ed2ee.entry.js} +1 -1
- package/dist/ptcw-design/{p-0b182300.entry.js → p-71360e29.entry.js} +1 -1
- package/dist/ptcw-design/{p-d21cf742.entry.js → p-72825cf6.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-799afee5.entry.js +1 -0
- package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
- package/dist/ptcw-design/{p-cb2b87bb.entry.js → p-7a9611b4.entry.js} +1 -1
- 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-779c3f21.entry.js → p-8038bf31.entry.js} +1 -1
- package/dist/ptcw-design/{p-455bdea0.entry.js → p-808ec62a.entry.js} +1 -1
- package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
- package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
- package/dist/ptcw-design/p-85c29073.entry.js +1 -0
- package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
- package/dist/ptcw-design/{p-3b6c2a79.entry.js → p-867a808f.entry.js} +1 -1
- package/dist/ptcw-design/{p-ead9ebbc.js → p-8872161f.js} +1 -1
- 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-212d0145.entry.js → p-8c49d736.entry.js} +1 -1
- package/dist/ptcw-design/p-8c692bd6.entry.js +1 -0
- package/dist/ptcw-design/p-90c4f08b.entry.js +1 -0
- package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
- package/dist/ptcw-design/{p-e77d2204.entry.js → p-95187918.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5886b7b.entry.js → p-97b9f41b.entry.js} +1 -1
- package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
- package/dist/ptcw-design/{p-139ca5d2.entry.js → p-99b45d23.entry.js} +1 -1
- package/dist/ptcw-design/p-99daf693.entry.js +1 -0
- package/dist/ptcw-design/{p-761f71c4.entry.js → p-99ee8a0e.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-9c1057ce.entry.js +1 -0
- 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-9fe0c27d.entry.js +1 -0
- package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac78409e.entry.js → p-a25578e9.entry.js} +1 -1
- package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
- package/dist/ptcw-design/p-a3b57ede.entry.js +1 -0
- package/dist/ptcw-design/p-a4f65d28.entry.js +1 -0
- package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
- package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.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-ae970a60.entry.js +1 -0
- package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
- package/dist/ptcw-design/p-b0be7066.entry.js +1 -0
- package/dist/ptcw-design/p-b1ebac6f.entry.js +1 -0
- package/dist/ptcw-design/p-b50f71dd.entry.js +1 -0
- package/dist/ptcw-design/p-ba8c58a7.entry.js +1 -0
- package/dist/ptcw-design/p-bb902570.entry.js +1 -0
- package/dist/ptcw-design/p-bcab66bf.js +336 -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-13131b4d.entry.js → p-c0bb1ad0.entry.js} +1 -1
- package/dist/ptcw-design/{p-3815217a.entry.js → p-c37a3bd2.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-c66b8926.entry.js +1 -0
- 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-c89030e4.entry.js +1 -0
- package/dist/ptcw-design/{p-c811bca6.entry.js → p-c95f423e.entry.js} +1 -1
- package/dist/ptcw-design/p-d10cb999.entry.js +1 -0
- package/dist/ptcw-design/{p-aaf8fb04.entry.js → p-d20cf3c5.entry.js} +1 -1
- package/dist/ptcw-design/p-d2cc0297.entry.js +1 -0
- package/dist/ptcw-design/p-d2e26642.entry.js +1 -0
- package/dist/ptcw-design/{p-e1242dd4.entry.js → p-d7275289.entry.js} +1 -1
- package/dist/ptcw-design/{p-2ab0f25c.entry.js → p-d756db27.entry.js} +1 -1
- package/dist/ptcw-design/{p-57360be3.entry.js → p-d9abe7e8.entry.js} +1 -1
- package/dist/ptcw-design/{p-f05be87f.entry.js → p-da02913d.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5631974.entry.js → p-da82dc93.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf439f9b.entry.js → p-dbbe35bf.entry.js} +1 -1
- package/dist/ptcw-design/{p-afbe8e2c.entry.js → p-dc85c302.entry.js} +1 -1
- package/dist/ptcw-design/{p-37899461.entry.js → p-dc8c0a06.entry.js} +1 -1
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/p-e0b873d0.entry.js +1 -0
- package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
- package/dist/ptcw-design/{p-b1d85ece.entry.js → p-e3f8e5d5.entry.js} +1 -1
- package/dist/ptcw-design/{p-e78596eb.entry.js → p-e4000363.entry.js} +1 -1
- package/dist/ptcw-design/p-e89ce54f.entry.js +1 -0
- package/dist/ptcw-design/{p-2a3735a5.entry.js → p-e90fbbad.entry.js} +1 -1
- package/dist/ptcw-design/p-e9f12e0d.entry.js +1 -0
- package/dist/ptcw-design/{p-e6cb2dce.entry.js → p-ea7369e9.entry.js} +1 -1
- package/dist/ptcw-design/{p-4b23b4c3.entry.js → p-ee534211.entry.js} +1 -1
- package/dist/ptcw-design/p-f4699d4e.entry.js +1 -0
- 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-f8512dc9.entry.js +1 -0
- package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
- package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
- package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
- package/dist/ptcw-design/{p-4335d7f3.entry.js → p-fe907670.entry.js} +1 -1
- package/dist/ptcw-design/{p-c415ab42.entry.js → p-ffb0ff97.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/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +1 -0
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +0 -2
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +0 -5
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +0 -2
- package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +0 -1
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +10 -3
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +0 -3
- 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.d.ts +23 -17
- package/package.json +1 -1
- package/readme.md +5 -1
- package/dist/cjs/component-5b5b6a98.js +0 -1819
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +0 -148
- package/dist/cjs/icon-asset_4.cjs.entry.js +0 -817
- package/dist/cjs/list-item.cjs.entry.js +0 -48
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -47
- package/dist/cjs/ptc-button.cjs.entry.js +0 -87
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +0 -156
- package/dist/cjs/ptc-card-content.cjs.entry.js +0 -76
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +0 -222
- package/dist/cjs/ptc-img.cjs.entry.js +0 -133
- package/dist/cjs/ptc-link.cjs.entry.js +0 -87
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
- package/dist/cjs/ptc-para.cjs.entry.js +0 -127
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +0 -136
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/cjs/validation-messages-33a4f26b.js +0 -126
- package/dist/esm/component-341e4eaa.js +0 -1802
- package/dist/esm/event-jumbotron-example.entry.js +0 -144
- package/dist/esm/icon-asset_4.entry.js +0 -810
- package/dist/esm/list-item.entry.js +0 -44
- package/dist/esm/ptc-breadcrumb.entry.js +0 -43
- package/dist/esm/ptc-button.entry.js +0 -83
- package/dist/esm/ptc-card-bottom_2.entry.js +0 -151
- package/dist/esm/ptc-card-content.entry.js +0 -72
- package/dist/esm/ptc-close-icon_2.entry.js +0 -217
- package/dist/esm/ptc-img.entry.js +0 -129
- package/dist/esm/ptc-link.entry.js +0 -83
- package/dist/esm/ptc-multi-select_2.entry.js +0 -665
- package/dist/esm/ptc-para.entry.js +0 -123
- package/dist/esm/ptc-scroll-button.entry.js +0 -132
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/esm/validation-messages-adbb6518.js +0 -124
- package/dist/ptcw-design/p-07b1afd5.entry.js +0 -1
- package/dist/ptcw-design/p-09def480.entry.js +0 -1
- package/dist/ptcw-design/p-0f32883f.entry.js +0 -1
- package/dist/ptcw-design/p-11eb4dd1.entry.js +0 -1
- package/dist/ptcw-design/p-18a5a338.js +0 -1
- package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
- package/dist/ptcw-design/p-235149b5.entry.js +0 -1
- package/dist/ptcw-design/p-29ae44dd.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-39ec04d4.entry.js +0 -1
- package/dist/ptcw-design/p-3b6826c3.entry.js +0 -1
- package/dist/ptcw-design/p-3d3328f9.entry.js +0 -1
- package/dist/ptcw-design/p-3f935e06.entry.js +0 -1
- package/dist/ptcw-design/p-483e20af.entry.js +0 -1
- package/dist/ptcw-design/p-4ee29b78.entry.js +0 -1
- package/dist/ptcw-design/p-4f523245.entry.js +0 -1
- package/dist/ptcw-design/p-520542e2.entry.js +0 -1
- package/dist/ptcw-design/p-53d15f85.entry.js +0 -1
- package/dist/ptcw-design/p-53d88f2b.entry.js +0 -1
- package/dist/ptcw-design/p-57d86f12.entry.js +0 -1
- package/dist/ptcw-design/p-647dee4f.entry.js +0 -1
- package/dist/ptcw-design/p-66f319f0.entry.js +0 -1
- package/dist/ptcw-design/p-69ef15d4.entry.js +0 -1
- package/dist/ptcw-design/p-6d0f7580.entry.js +0 -1
- package/dist/ptcw-design/p-6f8858c3.entry.js +0 -1
- package/dist/ptcw-design/p-72681e91.entry.js +0 -1
- package/dist/ptcw-design/p-770b269c.entry.js +0 -1
- package/dist/ptcw-design/p-79762cf6.entry.js +0 -1
- package/dist/ptcw-design/p-7a5c0d47.entry.js +0 -1
- package/dist/ptcw-design/p-88ff7bc5.entry.js +0 -1
- package/dist/ptcw-design/p-8da51d65.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-9ae901e2.entry.js +0 -1
- package/dist/ptcw-design/p-9d8a9a72.entry.js +0 -1
- package/dist/ptcw-design/p-a4c68b6d.entry.js +0 -1
- package/dist/ptcw-design/p-ad4f4f33.entry.js +0 -1
- package/dist/ptcw-design/p-b0c99e8e.entry.js +0 -1
- package/dist/ptcw-design/p-b29e43cf.entry.js +0 -1
- package/dist/ptcw-design/p-b9dd37cc.entry.js +0 -1
- package/dist/ptcw-design/p-be533f0d.js +0 -134
- package/dist/ptcw-design/p-bf04c250.entry.js +0 -1
- package/dist/ptcw-design/p-c1513c3f.js +0 -203
- package/dist/ptcw-design/p-c2ab3f44.entry.js +0 -68
- package/dist/ptcw-design/p-e05b1f0e.entry.js +0 -1
- package/dist/ptcw-design/p-e487b592.entry.js +0 -1
- package/dist/ptcw-design/p-ec22d0b8.entry.js +0 -1
- package/dist/ptcw-design/p-edcad0f1.entry.js +0 -1
- package/dist/ptcw-design/p-f093f6f8.entry.js +0 -1
- package/dist/ptcw-design/p-f31e17d9.entry.js +0 -1
- package/dist/ptcw-design/p-f6bfbe18.entry.js +0 -1
- package/dist/ptcw-design/p-ffd5c822.entry.js +0 -1
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { Host, h } from '@stencil/core';
|
|
2
2
|
export class PtcModal {
|
|
3
3
|
constructor() {
|
|
4
|
+
this.handleKeyPress = (event) => {
|
|
5
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
6
|
+
this.openedByKeyboard = true;
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
this.handleMouseDown = () => {
|
|
10
|
+
this.openedByKeyboard = false;
|
|
11
|
+
};
|
|
4
12
|
this.iframeUrl = undefined;
|
|
5
13
|
this.size = 'sm';
|
|
6
14
|
this.customClass = undefined;
|
|
@@ -22,6 +30,8 @@ export class PtcModal {
|
|
|
22
30
|
this.headerOnlyText1 = undefined;
|
|
23
31
|
this.headerOnlyText2 = undefined;
|
|
24
32
|
this.bottomCloseBtn = undefined;
|
|
33
|
+
this.initialFocus = true;
|
|
34
|
+
this.openedByKeyboard = false;
|
|
25
35
|
this.bodyOverflowSetting = undefined;
|
|
26
36
|
}
|
|
27
37
|
fireOnClosed(modal) {
|
|
@@ -34,6 +44,23 @@ export class PtcModal {
|
|
|
34
44
|
const wrapperEle = this.el.shadowRoot.querySelector('.wrapper');
|
|
35
45
|
wrapperEle && wrapperEle.focus();
|
|
36
46
|
}, 100);
|
|
47
|
+
if (this.openedByKeyboard) {
|
|
48
|
+
this.initialFocus &&
|
|
49
|
+
setTimeout(() => {
|
|
50
|
+
this.setInitialFocus();
|
|
51
|
+
}, 150);
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
this.openedByKeyboard = false;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
connectedCallback() {
|
|
58
|
+
document.addEventListener('keydown', this.handleKeyPress);
|
|
59
|
+
document.addEventListener('mousedown', this.handleMouseDown);
|
|
60
|
+
}
|
|
61
|
+
disconnectedCallback() {
|
|
62
|
+
document.removeEventListener('keydown', this.handleKeyPress);
|
|
63
|
+
document.removeEventListener('mousedown', this.handleMouseDown);
|
|
37
64
|
}
|
|
38
65
|
componentWillLoad() {
|
|
39
66
|
let body = document.querySelector('body');
|
|
@@ -108,14 +135,17 @@ export class PtcModal {
|
|
|
108
135
|
var scrollHeight = body.scrollHeight;
|
|
109
136
|
var scrollTop = body.scrollTop;
|
|
110
137
|
var offset = body.offsetHeight;
|
|
111
|
-
if (height < scrollHeight) {
|
|
112
|
-
|
|
138
|
+
if (height < scrollHeight) {
|
|
139
|
+
//has scrollbar
|
|
140
|
+
if (scrollTop > 0) {
|
|
141
|
+
//can scroll up
|
|
113
142
|
modal.classList.add('scroll-top');
|
|
114
143
|
}
|
|
115
144
|
else {
|
|
116
145
|
modal.classList.remove('scroll-top');
|
|
117
146
|
}
|
|
118
|
-
if (offset + scrollTop < scrollHeight) {
|
|
147
|
+
if (offset + scrollTop < scrollHeight) {
|
|
148
|
+
//can scroll down
|
|
119
149
|
modal.classList.add('scroll-bottom');
|
|
120
150
|
}
|
|
121
151
|
else {
|
|
@@ -127,52 +157,75 @@ export class PtcModal {
|
|
|
127
157
|
close() {
|
|
128
158
|
this.show = false;
|
|
129
159
|
}
|
|
160
|
+
setInitialFocus() {
|
|
161
|
+
var _a, _b, _c;
|
|
162
|
+
const firstFocusableElement = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('button, a, input, select, textarea, [tabindex]:not([tabindex="-1"]), ptc-close-icon');
|
|
163
|
+
const closeIcon = (_b = this.el.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('ptc-close-icon');
|
|
164
|
+
const closeSvg = (_c = closeIcon === null || closeIcon === void 0 ? void 0 : closeIcon.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('svg');
|
|
165
|
+
if (closeSvg) {
|
|
166
|
+
closeSvg.focus();
|
|
167
|
+
}
|
|
168
|
+
else if (firstFocusableElement) {
|
|
169
|
+
firstFocusableElement.focus();
|
|
170
|
+
}
|
|
171
|
+
}
|
|
130
172
|
render() {
|
|
131
173
|
let content;
|
|
132
174
|
let overlay;
|
|
133
175
|
let type = this.iframeUrl ? 'frame' : 'html';
|
|
134
|
-
let closebtn = (h("div", { class: "close", id: "modal-close" }, h("ptc-close-icon", { onClick:
|
|
135
|
-
|
|
176
|
+
let closebtn = (h("div", { class: "close", id: "modal-close" }, h("ptc-close-icon", { onClick: e => {
|
|
177
|
+
e.preventDefault();
|
|
178
|
+
this.close();
|
|
179
|
+
}, onKeyPress: e => {
|
|
180
|
+
e.preventDefault();
|
|
181
|
+
this.close();
|
|
182
|
+
} })));
|
|
183
|
+
let bottomCloseBtnEle = (h("div", { class: "bottom-close", id: "modal-bottom-close", onClick: e => {
|
|
184
|
+
e.preventDefault();
|
|
185
|
+
this.close();
|
|
186
|
+
}, onKeyPress: e => {
|
|
187
|
+
e.preventDefault();
|
|
188
|
+
this.close();
|
|
189
|
+
} }, h("span", null, this.bottomCloseBtn)));
|
|
136
190
|
if (this.iframeUrl) {
|
|
137
|
-
content =
|
|
191
|
+
content = h("iframe", { src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: '100%', width: '100%', scrolling: "no", onLoad: this.resizeIframe });
|
|
138
192
|
}
|
|
139
193
|
else {
|
|
140
194
|
if (this.showHeaderFooter) {
|
|
141
|
-
content =
|
|
195
|
+
content = h("slot", { name: "body" });
|
|
142
196
|
}
|
|
143
197
|
else {
|
|
144
|
-
content =
|
|
198
|
+
content = h("slot", null);
|
|
145
199
|
}
|
|
146
200
|
}
|
|
147
201
|
if (this.overlay) {
|
|
148
202
|
if (this.closeOnBlur) {
|
|
149
|
-
overlay = h("div", { class: "overlay", onClick:
|
|
203
|
+
overlay = h("div", { class: "overlay", onClick: _ => this.close() });
|
|
150
204
|
}
|
|
151
205
|
else {
|
|
152
206
|
overlay = h("div", { class: "overlay" });
|
|
153
207
|
}
|
|
154
208
|
}
|
|
155
|
-
return (h(Host, { class: this.getCssClassMap() }, this.styles && h("style", null, this.styles), h("div", { class: `wrapper ${this.show ?
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
bottomCloseBtnEle
|
|
166
|
-
] : null))));
|
|
209
|
+
return (h(Host, { class: this.getCssClassMap() }, this.styles && h("style", null, this.styles), h("div", { class: `wrapper ${this.show ? 'show' : 'hide'} ${this.fixed ? 'fixed' : ''} ` }, overlay, h("div", { class: `modal-popup ${this.customClass ? this.customClass : ''} ${this.size} ${type} ${this.rounded ? 'rounded' : ''} ${this.showHeaderFooter ? 'shadow-scroller' : ''} ` }, this.modalType === 'event-listing' && this.headerOnlyBg
|
|
210
|
+
? [
|
|
211
|
+
h("div", { class: "event-list-header" }, h("ptc-img", { "img-url": this.headerOnlyBg, "image-type": "smart-img", styles: ".ptc-img{border-radius: var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;}" }), h("div", { class: "text-wrapper" }, h("span", null, this.headerOnlyText1 ? this.headerOnlyText1 : ''), h("span", null, this.headerOnlyText2 ? this.headerOnlyText2 : ''))),
|
|
212
|
+
]
|
|
213
|
+
: null, this.showHeaderFooter
|
|
214
|
+
? [
|
|
215
|
+
h("div", { class: "modal-header" }, h("slot", { name: "header" }), closebtn),
|
|
216
|
+
h("div", { class: "modal-body", onScroll: () => this.handleScroll() }, content),
|
|
217
|
+
h("div", { class: "modal-footer" }, h("slot", { name: "footer" })),
|
|
218
|
+
]
|
|
219
|
+
: [closebtn, h("div", { class: "modal-body" }, content)], this.modalType === 'event-listing' && this.bottomCloseBtn ? [bottomCloseBtnEle] : null))));
|
|
167
220
|
}
|
|
168
221
|
getCssClassMap() {
|
|
169
222
|
return {
|
|
170
|
-
[
|
|
171
|
-
[
|
|
172
|
-
[
|
|
223
|
+
['no-container']: this.hideContainer,
|
|
224
|
+
['bio-modal']: this.isBioModal,
|
|
225
|
+
['enclose-modal']: !this.isBioModal && this.keepInViewport,
|
|
173
226
|
[this.borderRadius]: true,
|
|
174
227
|
[this.modalType]: true,
|
|
175
|
-
['vh-center']: this.vhCenter
|
|
228
|
+
['vh-center']: this.vhCenter,
|
|
176
229
|
};
|
|
177
230
|
}
|
|
178
231
|
async showModal() {
|
|
@@ -227,8 +280,8 @@ export class PtcModal {
|
|
|
227
280
|
"type": "string",
|
|
228
281
|
"mutable": true,
|
|
229
282
|
"complexType": {
|
|
230
|
-
"original": "'sm' | 'md' | 'lg' | 'xl' | 'max'| 'sm-modal'",
|
|
231
|
-
"resolved": "\"lg\" | \"max\" | \"md\" | \"sm\" | \"sm-modal\" | \"xl\"",
|
|
283
|
+
"original": "'sm' | 'md' | 'lg' | 'xl' | 'fit-content' | 'max'| 'sm-modal'",
|
|
284
|
+
"resolved": "\"fit-content\" | \"lg\" | \"max\" | \"md\" | \"sm\" | \"sm-modal\" | \"xl\"",
|
|
232
285
|
"references": {}
|
|
233
286
|
},
|
|
234
287
|
"required": false,
|
|
@@ -558,12 +611,31 @@ export class PtcModal {
|
|
|
558
611
|
},
|
|
559
612
|
"attribute": "bottom-close-btn",
|
|
560
613
|
"reflect": false
|
|
614
|
+
},
|
|
615
|
+
"initialFocus": {
|
|
616
|
+
"type": "boolean",
|
|
617
|
+
"mutable": false,
|
|
618
|
+
"complexType": {
|
|
619
|
+
"original": "boolean",
|
|
620
|
+
"resolved": "boolean",
|
|
621
|
+
"references": {}
|
|
622
|
+
},
|
|
623
|
+
"required": false,
|
|
624
|
+
"optional": true,
|
|
625
|
+
"docs": {
|
|
626
|
+
"tags": [],
|
|
627
|
+
"text": ""
|
|
628
|
+
},
|
|
629
|
+
"attribute": "initial-focus",
|
|
630
|
+
"reflect": false,
|
|
631
|
+
"defaultValue": "true"
|
|
561
632
|
}
|
|
562
633
|
};
|
|
563
634
|
}
|
|
564
635
|
static get states() {
|
|
565
636
|
return {
|
|
566
637
|
"overlayHeight": {},
|
|
638
|
+
"openedByKeyboard": {},
|
|
567
639
|
"bodyOverflowSetting": {}
|
|
568
640
|
};
|
|
569
641
|
}
|
|
@@ -165,19 +165,6 @@ export class PtcPagenation {
|
|
|
165
165
|
this.setupEventPresets();
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
componentDidLoad() {
|
|
169
|
-
const filterContainer = this.el.shadowRoot.querySelector(".standard-filter");
|
|
170
|
-
if (!filterContainer)
|
|
171
|
-
return;
|
|
172
|
-
filterContainer.addEventListener("keydown", (event) => {
|
|
173
|
-
if (event.key === "Enter") {
|
|
174
|
-
const target = event.target;
|
|
175
|
-
if (target.tagName === "A") {
|
|
176
|
-
this.paginationItemKeydown.emit();
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
168
|
setupStandardPresets() {
|
|
182
169
|
if (this.clickedPageNumber < 1) {
|
|
183
170
|
this.clickedPageNumber == 1;
|
|
@@ -558,21 +545,6 @@ export class PtcPagenation {
|
|
|
558
545
|
}
|
|
559
546
|
static get events() {
|
|
560
547
|
return [{
|
|
561
|
-
"method": "paginationItemKeydown",
|
|
562
|
-
"name": "paginationItemKeydown",
|
|
563
|
-
"bubbles": true,
|
|
564
|
-
"cancelable": true,
|
|
565
|
-
"composed": true,
|
|
566
|
-
"docs": {
|
|
567
|
-
"tags": [],
|
|
568
|
-
"text": ""
|
|
569
|
-
},
|
|
570
|
-
"complexType": {
|
|
571
|
-
"original": "number",
|
|
572
|
-
"resolved": "number",
|
|
573
|
-
"references": {}
|
|
574
|
-
}
|
|
575
|
-
}, {
|
|
576
548
|
"method": "pageClicked",
|
|
577
549
|
"name": "pageClicked",
|
|
578
550
|
"bubbles": true,
|
|
@@ -589,7 +561,6 @@ export class PtcPagenation {
|
|
|
589
561
|
}
|
|
590
562
|
}];
|
|
591
563
|
}
|
|
592
|
-
static get elementRef() { return "el"; }
|
|
593
564
|
static get listeners() {
|
|
594
565
|
return [{
|
|
595
566
|
"name": "resize",
|
|
@@ -185,8 +185,8 @@ export class PtcPara {
|
|
|
185
185
|
"type": "string",
|
|
186
186
|
"mutable": false,
|
|
187
187
|
"complexType": {
|
|
188
|
-
"original": "'primary-grey' | 'white' | 'gray-darker'",
|
|
189
|
-
"resolved": "\"gray-darker\" | \"primary-grey\" | \"white\"",
|
|
188
|
+
"original": "'primary-grey' | 'primary-green' | 'white' | 'gray-darker'",
|
|
189
|
+
"resolved": "\"gray-darker\" | \"primary-green\" | \"primary-grey\" | \"white\"",
|
|
190
190
|
"references": {}
|
|
191
191
|
},
|
|
192
192
|
"required": false,
|
|
@@ -5602,26 +5602,26 @@ a:focus-visible {
|
|
|
5602
5602
|
border-radius: var(--ptc-border-radius-standard);
|
|
5603
5603
|
}
|
|
5604
5604
|
|
|
5605
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
5605
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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), .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), .background-plm-grey a.light-link {
|
|
5606
5606
|
color: var(--color-blue-04);
|
|
5607
5607
|
margin: -2px;
|
|
5608
5608
|
border: 2px solid transparent;
|
|
5609
5609
|
}
|
|
5610
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
5610
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):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):visited, .background-plm-grey a.light-link:visited {
|
|
5611
5611
|
color: var(--color-blue-06);
|
|
5612
5612
|
}
|
|
5613
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
5613
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
5614
5614
|
transition: none;
|
|
5615
5615
|
color: var(--color-blue-07);
|
|
5616
5616
|
}
|
|
5617
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
5617
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
5618
5618
|
color: var(--color-blue-05);
|
|
5619
5619
|
}
|
|
5620
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
5620
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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).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).disabled, .background-plm-grey a.light-link.disabled {
|
|
5621
5621
|
color: var(--color-gray-04) !important;
|
|
5622
5622
|
cursor: not-allowed;
|
|
5623
5623
|
}
|
|
5624
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .
|
|
5624
|
+
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section 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):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):focus-visible, .background-plm-grey a.light-link:focus-visible {
|
|
5625
5625
|
border-radius: var(--ptc-border-radius-standard);
|
|
5626
5626
|
border: 2px solid white;
|
|
5627
5627
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
@@ -5679,13 +5679,6 @@ a:focus-visible {
|
|
|
5679
5679
|
color: var(--color-green-06);
|
|
5680
5680
|
}
|
|
5681
5681
|
|
|
5682
|
-
.vjs-social-share-links a {
|
|
5683
|
-
color: var(--color-white);
|
|
5684
|
-
}
|
|
5685
|
-
.vjs-social-share-links a:hover {
|
|
5686
|
-
color: var(--color-white);
|
|
5687
|
-
}
|
|
5688
|
-
|
|
5689
5682
|
:host {
|
|
5690
5683
|
display: block;
|
|
5691
5684
|
padding: 2rem 0;
|