@ptcwebops/ptcw-design 6.4.17 → 6.4.18-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/blogs-search-section.cjs.entry.js +4 -1
- package/dist/cjs/buying-option-card.cjs.entry.js +1 -1
- package/dist/cjs/buying-option-cards-slider.cjs.entry.js +15 -8
- package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +3 -1
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +1 -1
- package/dist/cjs/featured-events-slider-example.cjs.entry.js +1 -1
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +3 -1
- package/dist/cjs/{icon-asset_2.cjs.entry.js → icon-asset.cjs.entry.js} +0 -89
- 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 +109 -0
- package/dist/cjs/ptc-announcement.cjs.entry.js +2 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +2 -12
- package/dist/cjs/ptc-button.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +3 -17
- package/dist/cjs/ptc-card-content.cjs.entry.js +1 -7
- package/dist/cjs/ptc-card_2.cjs.entry.js +5 -4
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +27 -34
- 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-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +723 -5
- package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +1 -1
- package/dist/cjs/ptc-img.cjs.entry.js +87 -7
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +11 -5
- package/dist/cjs/ptc-modal-quiz.cjs.entry.js +4 -1
- package/dist/cjs/ptc-overlay.cjs.entry.js +1 -1
- package/dist/cjs/ptc-para.cjs.entry.js +1 -1
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-preloader.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -2
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +37 -21
- 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-search-field.cjs.entry.js +95 -0
- package/dist/cjs/ptc-subnav-v2.cjs.entry.js +84 -165
- 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 +19 -9
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +1 -1
- package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -3
- package/dist/collection/components/buying-option-card/buying-option-card.css +2 -0
- package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.css +9 -26
- package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.js +14 -7
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +3 -1
- package/dist/collection/components/icon-asset/media/designer-v6.0.7.svg +30 -2
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +24 -4
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +4 -1
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +24 -4
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +16 -11
- package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +16 -11
- 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 +114 -0
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +16 -11
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +3 -1
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +16 -11
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +16 -11
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +2 -1
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +24 -4
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +2 -29
- package/dist/collection/components/ptc-button/ptc-button.css +0 -47
- package/dist/collection/components/ptc-card-content/ptc-card-content.css +1 -25
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +0 -24
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +3 -17
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +40 -15
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +24 -4
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +24 -4
- package/dist/collection/components/ptc-img/ptc-img.css +76 -0
- package/dist/collection/components/ptc-img/ptc-img.js +132 -7
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +26 -7
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +28 -4
- package/dist/collection/components/ptc-modal/ptc-modal.css +5 -10
- package/dist/collection/components/ptc-modal/ptc-modal.js +28 -71
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +4 -1
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +0 -4
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +1 -1
- 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 +24 -4
- package/dist/collection/components/ptc-preloader/ptc-preloader.css +147 -111
- package/dist/collection/components/ptc-preloader/ptc-preloader.js +1 -1
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +6 -18
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -3
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +28 -1
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +37 -21
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +24 -18
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +24 -4
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +24 -4
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +24 -4
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +24 -4
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
- package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.css +19 -31
- package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.js +86 -166
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +3 -5
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +24 -4
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +24 -4
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +27 -7
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +18 -8
- 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/stories/organisms/ptc/E Store Build Product/preview.stories.js +2 -13
- package/dist/custom-elements/index.d.ts +6 -18
- package/dist/custom-elements/index.js +459 -474
- package/dist/esm/academic-form-test.entry.js +1 -1
- package/dist/esm/author-listing-example.entry.js +1 -1
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +5 -2
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/buying-option-card.entry.js +2 -2
- package/dist/esm/buying-option-cards-slider.entry.js +16 -9
- package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +4 -2
- package/dist/esm/embedded-form.entry.js +1 -1
- package/dist/esm/event-jumbotron-example.entry.js +1 -1
- package/dist/esm/event-podcast-slider-example.entry.js +2 -2
- package/dist/esm/featured-events-slider-example.entry.js +2 -2
- 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 +4 -2
- package/dist/esm/{icon-asset_2.entry.js → icon-asset.entry.js} +2 -90
- 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/list-item.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 +105 -0
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/news-search-result.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +3 -2
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +2 -2
- package/dist/esm/ptc-breadcrumb.entry.js +3 -13
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +2 -2
- package/dist/esm/ptc-card-bottom_2.entry.js +4 -18
- package/dist/esm/ptc-card-content.entry.js +2 -8
- package/dist/esm/ptc-card_2.entry.js +6 -5
- 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-close-icon_2.entry.js +28 -35
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-countdown.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +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-enhanced-product-listing-card.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 -1
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +723 -7
- package/dist/esm/ptc-form-radio-button.entry.js +1 -1
- package/dist/esm/ptc-form-radio-group.entry.js +1 -1
- package/dist/esm/ptc-form.entry.js +1 -1
- package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
- package/dist/esm/ptc-hero.entry.js +1 -1
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-icon-card-slider-example.entry.js +2 -2
- package/dist/esm/ptc-icon-card.entry.js +1 -1
- package/dist/esm/ptc-icon-component.entry.js +1 -1
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +1 -1
- package/dist/esm/ptc-image-download-strip.entry.js +1 -1
- package/dist/esm/ptc-img.entry.js +88 -8
- 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 +12 -6
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-minimized-nav.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +1 -1
- package/dist/esm/ptc-modal-quiz.entry.js +5 -2
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-nav-tile.entry.js +1 -1
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +1 -1
- package/dist/esm/ptc-office-locations.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +2 -2
- package/dist/esm/ptc-para.entry.js +2 -2
- 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-preloader.entry.js +2 -2
- package/dist/esm/ptc-previous-url.entry.js +12 -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 +38 -22
- 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 +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-scroll-button.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +91 -0
- package/dist/esm/ptc-seo-title.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +1 -1
- package/dist/esm/ptc-showcase-card.entry.js +1 -1
- package/dist/esm/ptc-skeleton.entry.js +1 -1
- package/dist/esm/ptc-slit-card.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-social-icons.entry.js +1 -1
- package/dist/esm/ptc-spacer.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-v2.entry.js +85 -166
- 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-title.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 +1 -1
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptc-value-led-card.entry.js +1 -1
- package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +1 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +2 -2
- package/dist/esm/ptc-value-prop-card.entry.js +1 -1
- package/dist/esm/ptc-video-embed.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +20 -10
- 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/storefront-enhanced-product-list-alt-example.entry.js +2 -2
- package/dist/esm/storefront-enhanced-product-list-example.entry.js +2 -2
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/ptcw-design/media/designer-v6.0.7.svg +30 -2
- package/dist/ptcw-design/{p-8482f517.entry.js → p-0451b768.entry.js} +1 -1
- package/dist/ptcw-design/p-04891836.entry.js +1 -0
- package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
- package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
- package/dist/ptcw-design/p-0a86d91a.entry.js +1 -0
- package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
- package/dist/ptcw-design/{p-ec22d0b8.entry.js → p-0c69ea52.entry.js} +1 -1
- package/dist/ptcw-design/{p-c80265d9.entry.js → p-0c914932.entry.js} +1 -1
- package/dist/ptcw-design/{p-f004e5de.entry.js → p-0ddf2a09.entry.js} +1 -1
- package/dist/ptcw-design/p-0fbdcd78.entry.js +1 -0
- package/dist/ptcw-design/{p-2f7b6437.entry.js → p-13963d40.entry.js} +1 -1
- package/dist/ptcw-design/{p-36d6e662.entry.js → p-13e338a5.entry.js} +1 -1
- package/dist/ptcw-design/{p-8cdcfb51.entry.js → p-15e36f30.entry.js} +1 -1
- package/dist/ptcw-design/p-17b8281a.entry.js +1 -0
- package/dist/ptcw-design/p-187ef77b.entry.js +1 -0
- package/dist/ptcw-design/{p-f418ef26.entry.js → p-18d699f0.entry.js} +1 -1
- package/dist/ptcw-design/{p-4313edfb.entry.js → p-1a853854.entry.js} +1 -1
- package/dist/ptcw-design/{p-7815e38b.entry.js → p-1bffeaed.entry.js} +1 -1
- package/dist/ptcw-design/{p-908ad455.entry.js → p-1c63c812.entry.js} +1 -1
- package/dist/ptcw-design/p-1d789cd7.entry.js +1 -0
- package/dist/ptcw-design/{p-d428ba40.entry.js → p-1f0daed2.entry.js} +1 -1
- package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
- package/dist/ptcw-design/{p-c9762c88.entry.js → p-23cb5b5b.entry.js} +1 -1
- package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
- package/dist/ptcw-design/{p-d9ec506c.entry.js → p-260ecfef.entry.js} +1 -1
- package/dist/ptcw-design/p-2670ac97.entry.js +1 -0
- package/dist/ptcw-design/p-26b70120.entry.js +1 -0
- package/dist/ptcw-design/{p-5b00a563.entry.js → p-26e8ad2e.entry.js} +1 -1
- package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
- package/dist/ptcw-design/{p-f20e4230.entry.js → p-2a22123e.entry.js} +1 -1
- package/dist/ptcw-design/{p-f4ae5a99.entry.js → p-2b08a37d.entry.js} +1 -1
- package/dist/ptcw-design/{p-315b7885.entry.js → p-2c287230.entry.js} +1 -1
- package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
- package/dist/ptcw-design/p-2c8faf9a.entry.js +1 -0
- package/dist/ptcw-design/p-312c41b8.entry.js +1 -0
- package/dist/ptcw-design/p-349f43d5.entry.js +1 -0
- package/dist/ptcw-design/p-37f92bb4.entry.js +1 -0
- package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
- package/dist/ptcw-design/p-390c0dee.entry.js +1 -0
- package/dist/ptcw-design/p-3b40bfbf.entry.js +68 -0
- package/dist/ptcw-design/{p-a318a793.entry.js → p-3cb011c9.entry.js} +1 -1
- package/dist/ptcw-design/{p-d3c11c68.entry.js → p-3cfe0126.entry.js} +1 -1
- package/dist/ptcw-design/p-3ddb6c50.entry.js +1 -0
- package/dist/ptcw-design/{p-3c941935.entry.js → p-3e4861a2.entry.js} +1 -1
- package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
- package/dist/ptcw-design/{p-2e288e60.entry.js → p-4703e417.entry.js} +1 -1
- package/dist/ptcw-design/p-4ab3249d.entry.js +1 -0
- package/dist/ptcw-design/{p-804dac0c.entry.js → p-4c89d63d.entry.js} +1 -1
- package/dist/ptcw-design/{p-a1dc7ae5.entry.js → p-4f3dea53.entry.js} +1 -1
- package/dist/ptcw-design/{p-ed5a467e.entry.js → p-4f4f97a6.entry.js} +1 -1
- package/dist/ptcw-design/p-502f534b.entry.js +1 -0
- package/dist/ptcw-design/{p-91e5c8d4.entry.js → p-506dac1f.entry.js} +1 -1
- package/dist/ptcw-design/{p-850e6e8c.entry.js → p-53dee19b.entry.js} +1 -1
- package/dist/ptcw-design/{p-bca81995.entry.js → p-560b05a5.entry.js} +1 -1
- package/dist/ptcw-design/{p-674c828e.entry.js → p-567535fb.entry.js} +1 -1
- package/dist/ptcw-design/{p-c8de7309.entry.js → p-575861b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-ec395ae9.entry.js → p-5877f093.entry.js} +1 -1
- package/dist/ptcw-design/{p-07b46e6e.entry.js → p-58909b95.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-83dabf2e.entry.js → p-5a2ed8fb.entry.js} +1 -1
- package/dist/ptcw-design/{p-7c6d6a5e.entry.js → p-5dd538c4.entry.js} +1 -1
- package/dist/ptcw-design/p-5e4c1edf.entry.js +1 -0
- package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
- package/dist/ptcw-design/{p-3e13f29c.entry.js → p-66ecd7b9.entry.js} +1 -1
- package/dist/ptcw-design/p-672a349f.js +336 -0
- package/dist/ptcw-design/p-6a561487.entry.js +1 -0
- package/dist/ptcw-design/{p-575c7fc0.entry.js → p-6aa9ed95.entry.js} +1 -1
- package/dist/ptcw-design/{p-5877ab67.entry.js → p-6b9e4a18.entry.js} +1 -1
- package/dist/ptcw-design/p-6f9f55b3.entry.js +1 -0
- package/dist/ptcw-design/p-7218fe2c.entry.js +1 -0
- package/dist/ptcw-design/{p-9220308d.entry.js → p-7235425a.entry.js} +1 -1
- package/dist/ptcw-design/p-74097f89.entry.js +1 -0
- package/dist/ptcw-design/{p-522cb451.entry.js → p-757954b2.entry.js} +1 -1
- package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
- package/dist/ptcw-design/{p-2fdd81d4.entry.js → p-7714bbaf.entry.js} +1 -1
- package/dist/ptcw-design/p-7834cfee.entry.js +1 -0
- 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-183ba1ca.entry.js → p-7d29a418.entry.js} +1 -1
- package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
- package/dist/ptcw-design/{p-ff369ed7.entry.js → p-84c15835.entry.js} +1 -1
- package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
- package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
- package/dist/ptcw-design/{p-ce39cff2.entry.js → p-8b480abd.entry.js} +1 -1
- package/dist/ptcw-design/p-8b5549b2.entry.js +1 -0
- package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
- package/dist/ptcw-design/p-9027d2d9.entry.js +1 -0
- package/dist/ptcw-design/{p-cf0f6559.entry.js → p-927373d4.entry.js} +1 -1
- package/dist/ptcw-design/{p-e1bd2c43.entry.js → p-92e76318.entry.js} +1 -1
- package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
- package/dist/ptcw-design/{p-2ba77e9d.entry.js → p-9354b7fd.entry.js} +1 -1
- package/dist/ptcw-design/p-96f346c4.entry.js +1 -0
- package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
- package/dist/ptcw-design/{p-ce125ef2.entry.js → p-98610430.entry.js} +1 -1
- package/dist/ptcw-design/{p-1acd3617.entry.js → p-99daf693.entry.js} +1 -1
- package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
- package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
- package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
- package/dist/ptcw-design/p-9c6cad16.entry.js +1 -0
- package/dist/ptcw-design/p-9da57f76.entry.js +1 -0
- package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
- package/dist/ptcw-design/{p-6251a6d6.entry.js → p-9e4e21a4.entry.js} +1 -1
- package/dist/ptcw-design/p-9efa8199.entry.js +1 -0
- package/dist/ptcw-design/p-9fca5392.entry.js +1 -0
- package/dist/ptcw-design/{p-afb5bdb9.entry.js → p-a04bedc2.entry.js} +1 -1
- package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
- package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
- package/dist/ptcw-design/{p-b6cc4c2a.entry.js → p-a41c7e39.entry.js} +1 -1
- package/dist/ptcw-design/{p-9df3c31f.entry.js → p-a4dd4e83.entry.js} +1 -1
- 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-ed53cb3a.entry.js → p-a8304a3e.entry.js} +1 -1
- package/dist/ptcw-design/{p-de663192.entry.js → p-a8504f11.entry.js} +1 -1
- package/dist/ptcw-design/p-a993c0a6.entry.js +1 -0
- package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
- package/dist/ptcw-design/{p-6f1cc5e5.entry.js → p-ab4906a7.entry.js} +1 -1
- package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
- package/dist/ptcw-design/p-ac766cb3.entry.js +1 -0
- package/dist/ptcw-design/{p-e249cd90.entry.js → p-ac7b2779.entry.js} +1 -1
- package/dist/ptcw-design/{p-709cc1f0.entry.js → p-ad0e7843.entry.js} +1 -1
- package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
- package/dist/ptcw-design/p-b06bc0a1.entry.js +1 -0
- package/dist/ptcw-design/{p-b82dd7f9.entry.js → p-b19cda95.entry.js} +1 -1
- package/dist/ptcw-design/{p-79762cf6.entry.js → p-b436f56d.entry.js} +1 -1
- package/dist/ptcw-design/p-b684ca9d.entry.js +1 -0
- package/dist/ptcw-design/p-b8ee8699.entry.js +1 -0
- package/dist/ptcw-design/{p-ca039722.entry.js → p-baeee2b4.entry.js} +1 -1
- package/dist/ptcw-design/p-bb9a879f.entry.js +1 -0
- package/dist/ptcw-design/{p-73293d32.entry.js → p-bf84ecc0.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
- package/dist/ptcw-design/{p-b154bbdb.entry.js → p-bfadd78e.entry.js} +1 -1
- package/dist/ptcw-design/{p-fb0c3eeb.entry.js → p-c061b32d.entry.js} +1 -1
- package/dist/ptcw-design/p-c09a8288.entry.js +1 -0
- package/dist/ptcw-design/p-c3b27836.entry.js +1 -0
- package/dist/ptcw-design/{p-5344a1f4.entry.js → p-c4674bc8.entry.js} +1 -1
- package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
- package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
- package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
- package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
- package/dist/ptcw-design/p-c89030e4.entry.js +1 -0
- package/dist/ptcw-design/p-cb0e3ec2.entry.js +1 -0
- package/dist/ptcw-design/p-cbbe2bba.entry.js +1 -0
- package/dist/ptcw-design/{p-384548ef.entry.js → p-cc652ebe.entry.js} +1 -1
- package/dist/ptcw-design/p-d6ee094b.entry.js +1 -0
- package/dist/ptcw-design/{p-75d8b6ec.entry.js → p-d74ccb19.entry.js} +1 -1
- package/dist/ptcw-design/{p-81736d6a.entry.js → p-d77531c8.entry.js} +1 -1
- package/dist/ptcw-design/{p-f5665cfe.entry.js → p-d8b2466d.entry.js} +1 -1
- package/dist/ptcw-design/p-d9df1a16.entry.js +1 -0
- package/dist/ptcw-design/{p-e880b556.entry.js → p-db0fc94d.entry.js} +1 -1
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/p-e01173ca.entry.js +1 -0
- package/dist/ptcw-design/p-e0e87d61.entry.js +1 -0
- package/dist/ptcw-design/{p-0bb3ea9a.entry.js → p-e235bf27.entry.js} +1 -1
- package/dist/ptcw-design/{p-53d2547b.entry.js → p-e3867512.entry.js} +1 -1
- package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
- package/dist/ptcw-design/p-e5e1e8fb.entry.js +1 -0
- package/dist/ptcw-design/p-e7220c36.entry.js +1 -0
- package/dist/ptcw-design/{p-b1053240.entry.js → p-e73a1a0b.entry.js} +1 -1
- package/dist/ptcw-design/{p-fe56e336.entry.js → p-ee91170c.entry.js} +1 -1
- package/dist/ptcw-design/p-ef870202.entry.js +1 -0
- package/dist/ptcw-design/{p-6f29592a.entry.js → p-f010c07f.entry.js} +1 -1
- package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
- package/dist/ptcw-design/{p-d6271974.entry.js → p-f5d8a3b1.entry.js} +1 -1
- package/dist/ptcw-design/p-f6b70f68.entry.js +1 -0
- package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
- package/dist/ptcw-design/{p-973c69d8.entry.js → p-fbd9c8fc.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/ptcw-design.css +4 -3
- 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-breadcrumb/ptc-breadcrumb.d.ts +0 -1
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +0 -1
- package/dist/types/components/ptc-img/ptc-img.d.ts +29 -1
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +4 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -9
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +1 -1
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +0 -1
- package/dist/types/components/ptc-subnav-v2/ptc-subnav-v2.d.ts +5 -12
- package/dist/types/components.d.ts +113 -127
- package/package.json +1 -1
- package/readme.md +7 -3
- package/dist/cjs/component-1b8ad4d2.js +0 -1819
- package/dist/cjs/ptc-blue-pill-announcement-bar.cjs.entry.js +0 -19
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
- package/dist/cjs/ptc-store-card-list.cjs.entry.js +0 -110
- package/dist/cjs/ptc-store-card.cjs.entry.js +0 -24
- package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.css +0 -93
- package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.js +0 -18
- package/dist/collection/components/ptc-store-card/ptc-store-card.css +0 -100
- package/dist/collection/components/ptc-store-card/ptc-store-card.js +0 -25
- package/dist/collection/components/ptc-store-card-list/ptc-store-card-list.css +0 -1173
- package/dist/collection/components/ptc-store-card-list/ptc-store-card-list.js +0 -108
- package/dist/collection/stories/BluePillAnnouncementBar.stories.js +0 -20
- package/dist/collection/stories/organisms/ptc/E Store Creo Extension/preview.stories.js +0 -798
- package/dist/esm/component-9beac35b.js +0 -1802
- package/dist/esm/ptc-blue-pill-announcement-bar.entry.js +0 -15
- package/dist/esm/ptc-multi-select_2.entry.js +0 -725
- package/dist/esm/ptc-store-card-list.entry.js +0 -106
- package/dist/esm/ptc-store-card.entry.js +0 -20
- package/dist/ptcw-design/p-03a1e1a5.entry.js +0 -1
- package/dist/ptcw-design/p-068b64a1.entry.js +0 -1
- package/dist/ptcw-design/p-0ec2a26d.entry.js +0 -1
- package/dist/ptcw-design/p-11e86045.entry.js +0 -1
- package/dist/ptcw-design/p-17890eea.entry.js +0 -1
- package/dist/ptcw-design/p-19832538.entry.js +0 -68
- package/dist/ptcw-design/p-1b3394a7.entry.js +0 -1
- package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
- package/dist/ptcw-design/p-22222e85.entry.js +0 -1
- package/dist/ptcw-design/p-23411b93.entry.js +0 -1
- package/dist/ptcw-design/p-2365412f.entry.js +0 -1
- package/dist/ptcw-design/p-2bc4bf65.entry.js +0 -1
- package/dist/ptcw-design/p-2e1c6701.entry.js +0 -1
- package/dist/ptcw-design/p-2efd18d8.entry.js +0 -1
- package/dist/ptcw-design/p-2f82de8f.entry.js +0 -1
- package/dist/ptcw-design/p-32a1c28b.entry.js +0 -1
- package/dist/ptcw-design/p-39255f59.entry.js +0 -1
- package/dist/ptcw-design/p-3b481342.entry.js +0 -1
- package/dist/ptcw-design/p-47aa1583.entry.js +0 -1
- package/dist/ptcw-design/p-561a622f.entry.js +0 -1
- package/dist/ptcw-design/p-5bbfd7b3.entry.js +0 -1
- package/dist/ptcw-design/p-6785dc81.entry.js +0 -1
- package/dist/ptcw-design/p-7123abad.entry.js +0 -1
- package/dist/ptcw-design/p-73650c8e.entry.js +0 -1
- package/dist/ptcw-design/p-752159e2.entry.js +0 -1
- package/dist/ptcw-design/p-75c8fceb.entry.js +0 -1
- package/dist/ptcw-design/p-7777753a.entry.js +0 -1
- package/dist/ptcw-design/p-79a6e764.entry.js +0 -1
- package/dist/ptcw-design/p-7b89a8e1.entry.js +0 -1
- package/dist/ptcw-design/p-8234aa2a.entry.js +0 -1
- package/dist/ptcw-design/p-83c3d6c9.entry.js +0 -1
- package/dist/ptcw-design/p-87215e3a.entry.js +0 -1
- package/dist/ptcw-design/p-87e4c337.entry.js +0 -1
- package/dist/ptcw-design/p-87f07d6b.entry.js +0 -1
- package/dist/ptcw-design/p-89da867f.entry.js +0 -1
- package/dist/ptcw-design/p-8efaac1b.entry.js +0 -1
- package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
- package/dist/ptcw-design/p-98426799.js +0 -203
- package/dist/ptcw-design/p-98844b50.js +0 -134
- package/dist/ptcw-design/p-991465fb.entry.js +0 -1
- package/dist/ptcw-design/p-9a07b9e3.entry.js +0 -1
- package/dist/ptcw-design/p-9d8a9a72.entry.js +0 -1
- package/dist/ptcw-design/p-a28ff90b.entry.js +0 -1
- package/dist/ptcw-design/p-a81833cd.entry.js +0 -1
- package/dist/ptcw-design/p-ad4f4f33.entry.js +0 -1
- package/dist/ptcw-design/p-af32c90a.entry.js +0 -1
- package/dist/ptcw-design/p-b3cd2410.entry.js +0 -1
- package/dist/ptcw-design/p-c101aeb5.entry.js +0 -1
- package/dist/ptcw-design/p-c33fd408.entry.js +0 -1
- package/dist/ptcw-design/p-c389eb7d.entry.js +0 -1
- package/dist/ptcw-design/p-c9c55caf.entry.js +0 -1
- package/dist/ptcw-design/p-d1ff12d2.entry.js +0 -1
- package/dist/ptcw-design/p-e00c5964.entry.js +0 -1
- package/dist/ptcw-design/p-e1373325.entry.js +0 -1
- package/dist/ptcw-design/p-e2e357e7.entry.js +0 -1
- package/dist/ptcw-design/p-e65cbdb9.entry.js +0 -1
- package/dist/ptcw-design/p-fab2fc8d.entry.js +0 -1
- package/dist/ptcw-design/p-fef688c2.entry.js +0 -1
- package/dist/types/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.d.ts +0 -3
- package/dist/types/components/ptc-store-card/ptc-store-card.d.ts +0 -6
- package/dist/types/components/ptc-store-card-list/ptc-store-card-list.d.ts +0 -18
|
@@ -5,7 +5,6 @@ export class PtcSubnavV2 {
|
|
|
5
5
|
this.isSticky = false;
|
|
6
6
|
this.originalTop = 0;
|
|
7
7
|
this.placeholderElement = null;
|
|
8
|
-
this.measurementElement = null;
|
|
9
8
|
this.handleClickOutside = (event) => {
|
|
10
9
|
if (!this.el.contains(event.target)) {
|
|
11
10
|
this.showOverflowMenu = false;
|
|
@@ -45,6 +44,13 @@ export class PtcSubnavV2 {
|
|
|
45
44
|
// Only update if different from current active
|
|
46
45
|
if (activeSection !== this.currentActive) {
|
|
47
46
|
this.currentActive = activeSection;
|
|
47
|
+
// Update mobile selected item if in mobile mode
|
|
48
|
+
if (this.isMobile) {
|
|
49
|
+
const activeItem = navItems.find((item) => item.id === activeSection);
|
|
50
|
+
if (activeItem) {
|
|
51
|
+
this.selectedMobileItem = activeItem;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
48
54
|
}
|
|
49
55
|
this.scrollThrottleTimeout = null;
|
|
50
56
|
}, 16); // ~60fps throttling
|
|
@@ -117,9 +123,6 @@ export class PtcSubnavV2 {
|
|
|
117
123
|
// Update placeholder height if sticky and resized
|
|
118
124
|
const currentHeight = this.el.offsetHeight;
|
|
119
125
|
this.placeholderElement.style.height = `${currentHeight}px`;
|
|
120
|
-
// Update originalTop based on placeholder position (layout may have changed)
|
|
121
|
-
const placeholderRect = this.placeholderElement.getBoundingClientRect();
|
|
122
|
-
this.originalTop = placeholderRect.top + window.scrollY;
|
|
123
126
|
}
|
|
124
127
|
};
|
|
125
128
|
this.setupIntersectionObserver = () => {
|
|
@@ -156,6 +159,13 @@ export class PtcSubnavV2 {
|
|
|
156
159
|
const sectionId = mostVisibleSection.target.id;
|
|
157
160
|
if (sectionId && sectionId !== this.currentActive) {
|
|
158
161
|
this.currentActive = sectionId;
|
|
162
|
+
// Update mobile selected item if in mobile mode
|
|
163
|
+
if (this.isMobile) {
|
|
164
|
+
const activeItem = navItems.find((item) => item.id === sectionId);
|
|
165
|
+
if (activeItem) {
|
|
166
|
+
this.selectedMobileItem = activeItem;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
159
169
|
}
|
|
160
170
|
}
|
|
161
171
|
}, 100); // Increased debounce time for better performance
|
|
@@ -172,24 +182,6 @@ export class PtcSubnavV2 {
|
|
|
172
182
|
}
|
|
173
183
|
});
|
|
174
184
|
};
|
|
175
|
-
this.setupResizeObserver = () => {
|
|
176
|
-
// Observe the parent element for layout changes
|
|
177
|
-
this.resizeObserver = new ResizeObserver(() => {
|
|
178
|
-
// Recalculate sticky position when parent layout changes
|
|
179
|
-
if (!this.isSticky) {
|
|
180
|
-
this.initializeStickyPosition();
|
|
181
|
-
}
|
|
182
|
-
else if (this.placeholderElement) {
|
|
183
|
-
// If sticky, update originalTop based on placeholder position
|
|
184
|
-
const placeholderRect = this.placeholderElement.getBoundingClientRect();
|
|
185
|
-
this.originalTop = placeholderRect.top + window.scrollY;
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
// Observe the element's parent or the element itself
|
|
189
|
-
if (this.el.parentElement) {
|
|
190
|
-
this.resizeObserver.observe(this.el.parentElement);
|
|
191
|
-
}
|
|
192
|
-
};
|
|
193
185
|
this.extractNavItemsFromSlots = () => {
|
|
194
186
|
const slotElement = this.el.querySelector('[slot="nav-items"]');
|
|
195
187
|
if (!slotElement)
|
|
@@ -229,6 +221,9 @@ export class PtcSubnavV2 {
|
|
|
229
221
|
console.warn("No navigation items found in slots or props for ptc-subnav-v2");
|
|
230
222
|
return [];
|
|
231
223
|
};
|
|
224
|
+
this.calculateMobileDropdownItems = () => {
|
|
225
|
+
this.mobileDropdownItems = this.getNavItems();
|
|
226
|
+
};
|
|
232
227
|
this.hasActiveOverflowItem = () => {
|
|
233
228
|
return this.overflowItems.some((item) => item.id === this.currentActive);
|
|
234
229
|
};
|
|
@@ -242,6 +237,7 @@ export class PtcSubnavV2 {
|
|
|
242
237
|
if (navItems.length === 0) {
|
|
243
238
|
this.visibleItems = [];
|
|
244
239
|
this.overflowItems = [];
|
|
240
|
+
this.selectedMobileItem = null;
|
|
245
241
|
return;
|
|
246
242
|
}
|
|
247
243
|
// Check if we're in mobile mode (below 767px)
|
|
@@ -255,6 +251,7 @@ export class PtcSubnavV2 {
|
|
|
255
251
|
// On mobile, show only the current active item
|
|
256
252
|
const activeItem = navItems.find((item) => item.id === this.currentActive) ||
|
|
257
253
|
navItems[0];
|
|
254
|
+
this.selectedMobileItem = activeItem;
|
|
258
255
|
this.visibleItems = [activeItem];
|
|
259
256
|
this.overflowItems = navItems.filter((item) => item.id !== activeItem.id);
|
|
260
257
|
}
|
|
@@ -275,21 +272,19 @@ export class PtcSubnavV2 {
|
|
|
275
272
|
}
|
|
276
273
|
let visibleCount = 0;
|
|
277
274
|
let totalWidth = 0;
|
|
278
|
-
// Create
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}
|
|
288
|
-
document.body.appendChild(this.measurementElement);
|
|
275
|
+
// Create temporary elements to measure width
|
|
276
|
+
const tempContainer = document.createElement("div");
|
|
277
|
+
tempContainer.style.position = "absolute";
|
|
278
|
+
tempContainer.style.visibility = "hidden";
|
|
279
|
+
tempContainer.style.whiteSpace = "nowrap";
|
|
280
|
+
tempContainer.style.fontSize = "14px";
|
|
281
|
+
tempContainer.style.fontWeight = "700";
|
|
282
|
+
tempContainer.style.padding = "20px 0 20px 0";
|
|
283
|
+
document.body.appendChild(tempContainer);
|
|
289
284
|
for (let i = 0; i < navItems.length; i++) {
|
|
290
285
|
const item = navItems[i];
|
|
291
|
-
|
|
292
|
-
const itemWidth =
|
|
286
|
+
tempContainer.textContent = item.label;
|
|
287
|
+
const itemWidth = tempContainer.offsetWidth + 32; // 32px for gap
|
|
293
288
|
if (totalWidth + itemWidth <= availableWidth) {
|
|
294
289
|
totalWidth += itemWidth;
|
|
295
290
|
visibleCount++;
|
|
@@ -298,7 +293,7 @@ export class PtcSubnavV2 {
|
|
|
298
293
|
break;
|
|
299
294
|
}
|
|
300
295
|
}
|
|
301
|
-
document.body.removeChild(
|
|
296
|
+
document.body.removeChild(tempContainer);
|
|
302
297
|
this.visibleItems = navItems.slice(0, visibleCount);
|
|
303
298
|
this.overflowItems = navItems.slice(visibleCount);
|
|
304
299
|
}
|
|
@@ -307,33 +302,29 @@ export class PtcSubnavV2 {
|
|
|
307
302
|
};
|
|
308
303
|
this.toggleOverflowMenu = () => {
|
|
309
304
|
this.showOverflowMenu = !this.showOverflowMenu;
|
|
310
|
-
// After opening, measure and decide alignment to avoid viewport overflow
|
|
311
|
-
if (!this.showOverflowMenu) {
|
|
312
|
-
return;
|
|
313
|
-
}
|
|
314
|
-
requestAnimationFrame(() => {
|
|
315
|
-
const container = this.overflowMenuContainer;
|
|
316
|
-
const dropdown = this.overflowDropdownEl;
|
|
317
|
-
if (!container || !dropdown)
|
|
318
|
-
return;
|
|
319
|
-
const containerRect = container.getBoundingClientRect();
|
|
320
|
-
// Default positioning is right: -2px inside container
|
|
321
|
-
const dropdownWidth = dropdown.offsetWidth || 0;
|
|
322
|
-
const rightEdge = containerRect.right + 2;
|
|
323
|
-
const leftEdge = rightEdge - dropdownWidth;
|
|
324
|
-
// If left edge would be off the viewport, flip to left aligned
|
|
325
|
-
this.overflowDropdownAlignLeft = leftEdge < 8; // keep a small gutter
|
|
326
|
-
});
|
|
327
305
|
};
|
|
328
306
|
this.handleNavClick = (event, section) => {
|
|
329
307
|
event.preventDefault();
|
|
330
308
|
this.currentActive = section;
|
|
309
|
+
// Update mobile selected item if in mobile mode
|
|
310
|
+
if (this.isMobile) {
|
|
311
|
+
const navItems = this.getNavItems();
|
|
312
|
+
const activeItem = navItems.find((item) => item.id === section);
|
|
313
|
+
if (activeItem) {
|
|
314
|
+
this.selectedMobileItem = activeItem;
|
|
315
|
+
this.calculateMobileDropdownItems();
|
|
316
|
+
}
|
|
317
|
+
}
|
|
331
318
|
// Set manual navigation flag to prevent intersection observer from overriding
|
|
332
319
|
this.isManualNavigation = true;
|
|
333
320
|
// Clear any existing manual navigation timeout
|
|
334
321
|
if (this.manualNavigationTimeout) {
|
|
335
322
|
clearTimeout(this.manualNavigationTimeout);
|
|
336
323
|
}
|
|
324
|
+
// Reset manual navigation flag after scroll animation completes
|
|
325
|
+
this.manualNavigationTimeout = window.setTimeout(() => {
|
|
326
|
+
this.isManualNavigation = false;
|
|
327
|
+
}, 1500); // Give enough time for smooth scroll to complete
|
|
337
328
|
// Emit custom event for parent components
|
|
338
329
|
const customEvent = new CustomEvent("sectionChange", {
|
|
339
330
|
detail: { section },
|
|
@@ -341,77 +332,13 @@ export class PtcSubnavV2 {
|
|
|
341
332
|
composed: true,
|
|
342
333
|
});
|
|
343
334
|
this.el.dispatchEvent(customEvent);
|
|
344
|
-
// Smooth scroll to section if it exists
|
|
335
|
+
// Smooth scroll to section if it exists
|
|
345
336
|
const targetElement = document.querySelector(`#${section}`);
|
|
346
337
|
if (targetElement) {
|
|
347
|
-
|
|
348
|
-
const navHeight = this.el.offsetHeight;
|
|
349
|
-
// Calculate the target position with offset
|
|
350
|
-
const targetPosition = targetElement.getBoundingClientRect().top +
|
|
351
|
-
window.scrollY -
|
|
352
|
-
navHeight;
|
|
353
|
-
// Smooth scroll to the adjusted position
|
|
354
|
-
window.scrollTo({
|
|
355
|
-
top: targetPosition,
|
|
338
|
+
targetElement.scrollIntoView({
|
|
356
339
|
behavior: "smooth",
|
|
340
|
+
block: "start",
|
|
357
341
|
});
|
|
358
|
-
// Reset manual navigation flag and correct scroll position after animation
|
|
359
|
-
this.manualNavigationTimeout = window.setTimeout(() => {
|
|
360
|
-
this.isManualNavigation = false;
|
|
361
|
-
// Re-check position to account for lazy-loaded images
|
|
362
|
-
const finalNavHeight = this.el.offsetHeight;
|
|
363
|
-
const finalTargetPosition = targetElement.getBoundingClientRect().top +
|
|
364
|
-
window.scrollY -
|
|
365
|
-
finalNavHeight;
|
|
366
|
-
// If we're off by more than a small threshold, correct it instantly.
|
|
367
|
-
if (Math.abs(window.scrollY - finalTargetPosition) > 5) {
|
|
368
|
-
window.scrollTo({
|
|
369
|
-
top: finalTargetPosition,
|
|
370
|
-
behavior: "smooth",
|
|
371
|
-
});
|
|
372
|
-
}
|
|
373
|
-
}, 800); // Give enough time for smooth scroll to complete
|
|
374
|
-
}
|
|
375
|
-
else {
|
|
376
|
-
// Fallback timeout if the element doesn't exist
|
|
377
|
-
this.manualNavigationTimeout = window.setTimeout(() => {
|
|
378
|
-
this.isManualNavigation = false;
|
|
379
|
-
}, 1500);
|
|
380
|
-
}
|
|
381
|
-
};
|
|
382
|
-
this.handleInitialLoadWithHash = () => {
|
|
383
|
-
if (window.location.hash) {
|
|
384
|
-
if (document.readyState === "complete") {
|
|
385
|
-
// If the page is already loaded, scroll immediately
|
|
386
|
-
this.handleHashChange();
|
|
387
|
-
}
|
|
388
|
-
else {
|
|
389
|
-
// Otherwise, wait for the page to fully load before scrolling
|
|
390
|
-
window.addEventListener("load", this.boundHandleHashChange, {
|
|
391
|
-
once: true,
|
|
392
|
-
});
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
};
|
|
396
|
-
this.handleHashChange = () => {
|
|
397
|
-
const hash = window.location.hash;
|
|
398
|
-
if (hash) {
|
|
399
|
-
const sectionId = hash.substring(1);
|
|
400
|
-
this.scrollToSection(sectionId);
|
|
401
|
-
}
|
|
402
|
-
};
|
|
403
|
-
this.scrollToSection = (sectionId, smooth = true) => {
|
|
404
|
-
const targetElement = document.getElementById(sectionId);
|
|
405
|
-
if (targetElement) {
|
|
406
|
-
const navHeight = this.el.offsetHeight;
|
|
407
|
-
const targetPosition = targetElement.getBoundingClientRect().top +
|
|
408
|
-
window.scrollY -
|
|
409
|
-
navHeight;
|
|
410
|
-
window.scrollTo({
|
|
411
|
-
top: targetPosition,
|
|
412
|
-
behavior: smooth ? "smooth" : "auto",
|
|
413
|
-
});
|
|
414
|
-
this.currentActive = sectionId;
|
|
415
342
|
}
|
|
416
343
|
};
|
|
417
344
|
this.activeSection = "overview";
|
|
@@ -420,21 +347,31 @@ export class PtcSubnavV2 {
|
|
|
420
347
|
this.visibleItems = [];
|
|
421
348
|
this.overflowItems = [];
|
|
422
349
|
this.showOverflowMenu = false;
|
|
423
|
-
this.overflowDropdownAlignLeft = false;
|
|
424
350
|
this.isMobile = false;
|
|
351
|
+
this.selectedMobileItem = null;
|
|
425
352
|
this.isManualNavigation = false;
|
|
353
|
+
this.mobileDropdownItems = [];
|
|
426
354
|
}
|
|
427
355
|
componentWillLoad() {
|
|
428
356
|
this.currentActive = this.activeSection;
|
|
357
|
+
this.initializeMobileItem();
|
|
358
|
+
this.calculateMobileDropdownItems();
|
|
359
|
+
}
|
|
360
|
+
initializeMobileItem() {
|
|
361
|
+
const navItems = this.getNavItems();
|
|
362
|
+
this.selectedMobileItem =
|
|
363
|
+
navItems.length > 0
|
|
364
|
+
? navItems.find((item) => item.id === this.activeSection) ||
|
|
365
|
+
navItems[0]
|
|
366
|
+
: null;
|
|
429
367
|
}
|
|
430
368
|
componentDidLoad() {
|
|
431
369
|
this.bindEventHandlers();
|
|
370
|
+
this.calculateMobileDropdownItems();
|
|
432
371
|
this.handleResize();
|
|
433
372
|
this.addEventListeners();
|
|
434
373
|
this.setupIntersectionObserver();
|
|
435
|
-
this.setupResizeObserver();
|
|
436
374
|
this.initializeStickyPosition();
|
|
437
|
-
this.handleInitialLoadWithHash();
|
|
438
375
|
}
|
|
439
376
|
bindEventHandlers() {
|
|
440
377
|
this.boundHandleResize = this.handleResize.bind(this);
|
|
@@ -442,7 +379,6 @@ export class PtcSubnavV2 {
|
|
|
442
379
|
this.boundHandleScroll = this.handleScroll.bind(this);
|
|
443
380
|
this.boundHandleKeyDown = this.handleKeyDown.bind(this);
|
|
444
381
|
this.boundHandleStickyScroll = this.handleStickyScroll.bind(this);
|
|
445
|
-
this.boundHandleHashChange = this.handleHashChange.bind(this);
|
|
446
382
|
}
|
|
447
383
|
addEventListeners() {
|
|
448
384
|
window.addEventListener("resize", this.boundHandleResize);
|
|
@@ -454,17 +390,12 @@ export class PtcSubnavV2 {
|
|
|
454
390
|
window.addEventListener("scroll", this.boundHandleStickyScroll, {
|
|
455
391
|
passive: true,
|
|
456
392
|
});
|
|
457
|
-
window.addEventListener("hashchange", this.boundHandleHashChange);
|
|
458
|
-
window.addEventListener("load", this.boundHandleHashChange, {
|
|
459
|
-
once: true,
|
|
460
|
-
});
|
|
461
393
|
}
|
|
462
394
|
disconnectedCallback() {
|
|
463
395
|
this.removeEventListeners();
|
|
464
396
|
this.cleanupTimeouts();
|
|
465
397
|
this.cleanupIntersectionObserver();
|
|
466
|
-
this.
|
|
467
|
-
this.cleanupElements();
|
|
398
|
+
this.cleanupPlaceholder();
|
|
468
399
|
}
|
|
469
400
|
removeEventListeners() {
|
|
470
401
|
window.removeEventListener("resize", this.boundHandleResize);
|
|
@@ -472,38 +403,27 @@ export class PtcSubnavV2 {
|
|
|
472
403
|
document.removeEventListener("keydown", this.boundHandleKeyDown);
|
|
473
404
|
window.removeEventListener("scroll", this.boundHandleScroll);
|
|
474
405
|
window.removeEventListener("scroll", this.boundHandleStickyScroll);
|
|
475
|
-
window.removeEventListener("hashchange", this.boundHandleHashChange);
|
|
476
|
-
window.removeEventListener("load", this.boundHandleHashChange);
|
|
477
406
|
}
|
|
478
407
|
cleanupTimeouts() {
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
clearTimeout(
|
|
408
|
+
[
|
|
409
|
+
this.scrollTimeout,
|
|
410
|
+
this.scrollThrottleTimeout,
|
|
411
|
+
this.manualNavigationTimeout,
|
|
412
|
+
this.stickyScrollTimeout,
|
|
413
|
+
]
|
|
414
|
+
.filter(Boolean)
|
|
415
|
+
.forEach((timeout) => clearTimeout(timeout));
|
|
487
416
|
}
|
|
488
417
|
cleanupIntersectionObserver() {
|
|
489
418
|
if (this.intersectionObserver) {
|
|
490
419
|
this.intersectionObserver.disconnect();
|
|
491
420
|
}
|
|
492
421
|
}
|
|
493
|
-
|
|
494
|
-
if (this.resizeObserver) {
|
|
495
|
-
this.resizeObserver.disconnect();
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
cleanupElements() {
|
|
422
|
+
cleanupPlaceholder() {
|
|
499
423
|
if (this.placeholderElement) {
|
|
500
424
|
this.placeholderElement.remove();
|
|
501
425
|
this.placeholderElement = null;
|
|
502
426
|
}
|
|
503
|
-
if (this.measurementElement) {
|
|
504
|
-
this.measurementElement.remove();
|
|
505
|
-
this.measurementElement = null;
|
|
506
|
-
}
|
|
507
427
|
}
|
|
508
428
|
parsePropNavItems() {
|
|
509
429
|
var _a;
|
|
@@ -524,16 +444,14 @@ export class PtcSubnavV2 {
|
|
|
524
444
|
return null;
|
|
525
445
|
}
|
|
526
446
|
render() {
|
|
447
|
+
var _a, _b;
|
|
527
448
|
const navItems = this.getNavItems();
|
|
528
|
-
const hasRightContent = this.hasSubnavMenuRightContent();
|
|
529
|
-
const selectedMobileItem = this.isMobile
|
|
530
|
-
? navItems.find((item) => item.id === this.currentActive) ||
|
|
531
|
-
navItems[0]
|
|
532
|
-
: null;
|
|
533
449
|
// If no navigation items, don't render the navigation
|
|
534
450
|
if (navItems.length === 0) {
|
|
451
|
+
const hasRightContent = this.hasSubnavMenuRightContent();
|
|
535
452
|
return (h(Host, null, h("div", { class: `subnav-container ${!hasRightContent ? "full-width" : ""}` }, hasRightContent && (h("div", { class: "subnav-menu-right" }, h("slot", { name: "subnav-menu-right" }))))));
|
|
536
453
|
}
|
|
454
|
+
const hasRightContent = this.hasSubnavMenuRightContent();
|
|
537
455
|
return (h(Host, null, h("div", { class: `subnav-container ${!hasRightContent ? "full-width" : ""}` }, h("nav", { class: `subnav-menu-left ${!hasRightContent ? "full-width" : ""}`, role: "navigation", "aria-label": "Sub navigation", ref: (el) => (this.navContainer = el) }, this.isMobile ? (
|
|
538
456
|
// Mobile layout - dropdown with arrows
|
|
539
457
|
h("div", { class: "mobile-dropdown-container" }, h("button", { class: "mobile-dropdown-button", onClick: this.toggleOverflowMenu, onKeyDown: (e) => {
|
|
@@ -542,31 +460,32 @@ export class PtcSubnavV2 {
|
|
|
542
460
|
e.preventDefault();
|
|
543
461
|
this.toggleOverflowMenu();
|
|
544
462
|
}
|
|
545
|
-
}, "aria-expanded": this.showOverflowMenu, "aria-haspopup": "true", "aria-label": `${(selectedMobileItem === null ||
|
|
546
|
-
"Select Section"), h("span", { class: `mobile-arrow ${this.showOverflowMenu ? "rotated" : ""}`, "aria-hidden": "true" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", "aria-hidden": "true" }, h("path", { d: "M1 1.5L5.94975 6.44975L10.8995 1.5", stroke: "#00890B", "stroke-width": "2", "stroke-linecap": "round" })))), this.showOverflowMenu && (h("ul", { class: "mobile-dropdown", role: "menu", "aria-label": "Navigation sections" },
|
|
547
|
-
|
|
463
|
+
}, "aria-expanded": this.showOverflowMenu, "aria-haspopup": "true", "aria-label": `${((_a = this.selectedMobileItem) === null || _a === void 0 ? void 0 : _a.label) || "Select Section"} - Choose navigation section`, "tracker-id": "mobile-dropdown-button", ref: (el) => (this.overflowButton = el) }, h("span", { class: "mobile-selected-item" }, ((_b = this.selectedMobileItem) === null || _b === void 0 ? void 0 : _b.label) ||
|
|
464
|
+
"Select Section"), h("span", { class: `mobile-arrow ${this.showOverflowMenu ? "rotated" : ""}`, "aria-hidden": "true" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", "aria-hidden": "true" }, h("path", { d: "M1 1.5L5.94975 6.44975L10.8995 1.5", stroke: "#00890B", "stroke-width": "2", "stroke-linecap": "round" })))), this.showOverflowMenu && (h("ul", { class: "mobile-dropdown", role: "menu", "aria-label": "Navigation sections" }, this.mobileDropdownItems.map((item) => (h("li", { key: item.id }, h("a", { href: `#${item.id}`, class: `mobile-dropdown-item mf-listen ${this
|
|
465
|
+
.currentActive ===
|
|
548
466
|
item.id
|
|
549
467
|
? "active"
|
|
550
|
-
: ""}`, role: "menuitem", "aria-current": this
|
|
468
|
+
: ""}`, role: "menuitem", "aria-current": this
|
|
469
|
+
.currentActive ===
|
|
551
470
|
item.id
|
|
552
471
|
? "page"
|
|
553
|
-
: undefined,
|
|
472
|
+
: undefined, "tracker-id": item.trackerId ||
|
|
473
|
+
`mobile-nav-${item.id}`, title: item.title || "", onClick: (e) => {
|
|
554
474
|
this.handleNavClick(e, item.id);
|
|
555
475
|
this.showOverflowMenu = false;
|
|
556
476
|
} }, item.label)))))))) : (
|
|
557
477
|
// Desktop layout - original behavior
|
|
558
|
-
h("ul", { class: "desktop-menu" }, this.visibleItems.map((item) => (h("li", { key: item.id, class: "mf-listen", id: item.trackerId || `nav-${item.id}` }, h("a", { href: `#${item.id}`, class: this.currentActive === item.id
|
|
478
|
+
h("ul", { class: "desktop-menu" }, this.visibleItems.map((item) => (h("li", { key: item.id, class: "mf-listen", "tracker-id": item.trackerId || `nav-${item.id}` }, h("a", { href: `#${item.id}`, class: this.currentActive === item.id
|
|
559
479
|
? "active"
|
|
560
480
|
: "", title: item.title || "", onClick: (e) => this.handleNavClick(e, item.id), "aria-current": this.currentActive === item.id
|
|
561
481
|
? "page"
|
|
562
|
-
: undefined }, item.label)))), this.overflowItems.length > 0 && (h("li", { class: "overflow-menu-container mf-listen", id: "overflow-menu"
|
|
482
|
+
: undefined }, item.label)))), this.overflowItems.length > 0 && (h("li", { class: "overflow-menu-container mf-listen", "tracker-id": "overflow-menu" }, h("button", { class: `overflow-button ${this.hasActiveOverflowItem() ? "selected-active" : ""}`, onClick: this.toggleOverflowMenu, onKeyDown: (e) => {
|
|
563
483
|
if (e.key === "Enter" ||
|
|
564
484
|
e.key === " ") {
|
|
565
485
|
e.preventDefault();
|
|
566
486
|
this.toggleOverflowMenu();
|
|
567
487
|
}
|
|
568
|
-
}, "aria-expanded": this.showOverflowMenu, "aria-haspopup": "true", "aria-label": "Show more navigation items", "tracker-id": "overflow-button", ref: (el) => (this.overflowButton = el) }, h("span", { class: "overflow-dots", "aria-hidden": "true" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", "aria-hidden": "true" }, h("circle", { cx: "1.25", cy: "5", r: "1.25", fill: "#617480" }), h("circle", { cx: "5", cy: "5", r: "1.25", fill: "#617480" }), h("circle", { cx: "8.75", cy: "5", r: "1.25", fill: "#617480" })))), this.showOverflowMenu && (h("div", { class:
|
|
569
|
-
el) }, this.overflowItems.map((item) => (h("a", { key: item.id, href: `#${item.id}`, class: `mf-listen ${this
|
|
488
|
+
}, "aria-expanded": this.showOverflowMenu, "aria-haspopup": "true", "aria-label": "Show more navigation items", "tracker-id": "overflow-button", ref: (el) => (this.overflowButton = el) }, h("span", { class: "overflow-dots", "aria-hidden": "true" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", "aria-hidden": "true" }, h("circle", { cx: "1.25", cy: "5", r: "1.25", fill: "#617480" }), h("circle", { cx: "5", cy: "5", r: "1.25", fill: "#617480" }), h("circle", { cx: "8.75", cy: "5", r: "1.25", fill: "#617480" })))), this.showOverflowMenu && (h("div", { class: "overflow-dropdown", role: "menu", "aria-label": "Additional navigation sections" }, this.overflowItems.map((item) => (h("a", { key: item.id, href: `#${item.id}`, class: `mf-listen ${this
|
|
570
489
|
.currentActive ===
|
|
571
490
|
item.id
|
|
572
491
|
? "active"
|
|
@@ -638,9 +557,10 @@ export class PtcSubnavV2 {
|
|
|
638
557
|
"visibleItems": {},
|
|
639
558
|
"overflowItems": {},
|
|
640
559
|
"showOverflowMenu": {},
|
|
641
|
-
"overflowDropdownAlignLeft": {},
|
|
642
560
|
"isMobile": {},
|
|
643
|
-
"
|
|
561
|
+
"selectedMobileItem": {},
|
|
562
|
+
"isManualNavigation": {},
|
|
563
|
+
"mobileDropdownItems": {}
|
|
644
564
|
};
|
|
645
565
|
}
|
|
646
566
|
static get elementRef() { return "el"; }
|
|
@@ -204,15 +204,13 @@ export class PtcTextfield {
|
|
|
204
204
|
this.helpertext = await this.getValidationMessage("tel");
|
|
205
205
|
}
|
|
206
206
|
else if (!this.iti.isValidNumber()) {
|
|
207
|
-
this.helpertext =
|
|
208
|
-
await this.getValidationMessage("validtel");
|
|
207
|
+
this.helpertext = await this.getValidationMessage("validtel");
|
|
209
208
|
}
|
|
210
209
|
}
|
|
211
210
|
}
|
|
212
211
|
else if (this.fieldId === "confirm-email") {
|
|
213
212
|
if (!this.matchStatus && !!this.customInput.value) {
|
|
214
|
-
this.helpertext =
|
|
215
|
-
await this.getValidationMessage("confirmemail");
|
|
213
|
+
this.helpertext = await this.getValidationMessage("confirmemail");
|
|
216
214
|
}
|
|
217
215
|
}
|
|
218
216
|
}
|
|
@@ -568,7 +566,7 @@ export class PtcTextfield {
|
|
|
568
566
|
"type": "unknown",
|
|
569
567
|
"mutable": false,
|
|
570
568
|
"complexType": {
|
|
571
|
-
"original": "(\r\n\t\tinput: HTMLInputElement | HTMLTextAreaElement
|
|
569
|
+
"original": "(\r\n\t\tinput: HTMLInputElement | HTMLTextAreaElement\r\n\t) => string",
|
|
572
570
|
"resolved": "(input: HTMLInputElement | HTMLTextAreaElement) => string",
|
|
573
571
|
"references": {
|
|
574
572
|
"HTMLInputElement": {
|
|
@@ -88,14 +88,17 @@ a:focus-visible {
|
|
|
88
88
|
|
|
89
89
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
90
90
|
ptc-modal inline-form a,
|
|
91
|
+
.podcast-cta-section a,
|
|
91
92
|
.vjs-social-share-links a),
|
|
92
93
|
.light-links a.light-link,
|
|
93
94
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
94
95
|
ptc-modal inline-form a,
|
|
96
|
+
.podcast-cta-section a,
|
|
95
97
|
.vjs-social-share-links a),
|
|
96
98
|
.background-grey-10 a.light-link,
|
|
97
99
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
98
100
|
ptc-modal inline-form a,
|
|
101
|
+
.podcast-cta-section a,
|
|
99
102
|
.vjs-social-share-links a),
|
|
100
103
|
.background-plm-grey a.light-link {
|
|
101
104
|
color: var(--color-blue-04);
|
|
@@ -104,38 +107,47 @@ ptc-modal inline-form a,
|
|
|
104
107
|
}
|
|
105
108
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
106
109
|
ptc-modal inline-form a,
|
|
110
|
+
.podcast-cta-section a,
|
|
107
111
|
.vjs-social-share-links a):visited,
|
|
108
112
|
.light-links a.light-link:visited,
|
|
109
113
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
110
114
|
ptc-modal inline-form a,
|
|
115
|
+
.podcast-cta-section a,
|
|
111
116
|
.vjs-social-share-links a):visited,
|
|
112
117
|
.background-grey-10 a.light-link:visited,
|
|
113
118
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
114
119
|
ptc-modal inline-form a,
|
|
120
|
+
.podcast-cta-section a,
|
|
115
121
|
.vjs-social-share-links a):visited,
|
|
116
122
|
.background-plm-grey a.light-link:visited {
|
|
117
123
|
color: var(--color-blue-06);
|
|
118
124
|
}
|
|
119
125
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
120
126
|
ptc-modal inline-form a,
|
|
127
|
+
.podcast-cta-section a,
|
|
121
128
|
.vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a,
|
|
122
129
|
ptc-modal inline-form a,
|
|
130
|
+
.podcast-cta-section a,
|
|
123
131
|
.vjs-social-share-links a):visited:active,
|
|
124
132
|
.light-links a.light-link:active,
|
|
125
133
|
.light-links a.light-link:visited:active,
|
|
126
134
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
127
135
|
ptc-modal inline-form a,
|
|
136
|
+
.podcast-cta-section a,
|
|
128
137
|
.vjs-social-share-links a):active,
|
|
129
138
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
130
139
|
ptc-modal inline-form a,
|
|
140
|
+
.podcast-cta-section a,
|
|
131
141
|
.vjs-social-share-links a):visited:active,
|
|
132
142
|
.background-grey-10 a.light-link:active,
|
|
133
143
|
.background-grey-10 a.light-link:visited:active,
|
|
134
144
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
135
145
|
ptc-modal inline-form a,
|
|
146
|
+
.podcast-cta-section a,
|
|
136
147
|
.vjs-social-share-links a):active,
|
|
137
148
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
138
149
|
ptc-modal inline-form a,
|
|
150
|
+
.podcast-cta-section a,
|
|
139
151
|
.vjs-social-share-links a):visited:active,
|
|
140
152
|
.background-plm-grey a.light-link:active,
|
|
141
153
|
.background-plm-grey a.light-link:visited:active {
|
|
@@ -144,24 +156,30 @@ ptc-modal inline-form a,
|
|
|
144
156
|
}
|
|
145
157
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
146
158
|
ptc-modal inline-form a,
|
|
159
|
+
.podcast-cta-section a,
|
|
147
160
|
.vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a,
|
|
148
161
|
ptc-modal inline-form a,
|
|
162
|
+
.podcast-cta-section a,
|
|
149
163
|
.vjs-social-share-links a):visited:hover,
|
|
150
164
|
.light-links a.light-link:hover,
|
|
151
165
|
.light-links a.light-link:visited:hover,
|
|
152
166
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
153
167
|
ptc-modal inline-form a,
|
|
168
|
+
.podcast-cta-section a,
|
|
154
169
|
.vjs-social-share-links a):hover,
|
|
155
170
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
156
171
|
ptc-modal inline-form a,
|
|
172
|
+
.podcast-cta-section a,
|
|
157
173
|
.vjs-social-share-links a):visited:hover,
|
|
158
174
|
.background-grey-10 a.light-link:hover,
|
|
159
175
|
.background-grey-10 a.light-link:visited:hover,
|
|
160
176
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
161
177
|
ptc-modal inline-form a,
|
|
178
|
+
.podcast-cta-section a,
|
|
162
179
|
.vjs-social-share-links a):hover,
|
|
163
180
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
164
181
|
ptc-modal inline-form a,
|
|
182
|
+
.podcast-cta-section a,
|
|
165
183
|
.vjs-social-share-links a):visited:hover,
|
|
166
184
|
.background-plm-grey a.light-link:hover,
|
|
167
185
|
.background-plm-grey a.light-link:visited:hover {
|
|
@@ -169,14 +187,17 @@ ptc-modal inline-form a,
|
|
|
169
187
|
}
|
|
170
188
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
171
189
|
ptc-modal inline-form a,
|
|
190
|
+
.podcast-cta-section a,
|
|
172
191
|
.vjs-social-share-links a).disabled,
|
|
173
192
|
.light-links a.light-link.disabled,
|
|
174
193
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
175
194
|
ptc-modal inline-form a,
|
|
195
|
+
.podcast-cta-section a,
|
|
176
196
|
.vjs-social-share-links a).disabled,
|
|
177
197
|
.background-grey-10 a.light-link.disabled,
|
|
178
198
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
179
199
|
ptc-modal inline-form a,
|
|
200
|
+
.podcast-cta-section a,
|
|
180
201
|
.vjs-social-share-links a).disabled,
|
|
181
202
|
.background-plm-grey a.light-link.disabled {
|
|
182
203
|
color: var(--color-gray-04) !important;
|
|
@@ -184,14 +205,17 @@ ptc-modal inline-form a,
|
|
|
184
205
|
}
|
|
185
206
|
.light-links a:not(.hero-footer-form-wrapper a,
|
|
186
207
|
ptc-modal inline-form a,
|
|
208
|
+
.podcast-cta-section a,
|
|
187
209
|
.vjs-social-share-links a):focus-visible,
|
|
188
210
|
.light-links a.light-link:focus-visible,
|
|
189
211
|
.background-grey-10 a:not(.hero-footer-form-wrapper a,
|
|
190
212
|
ptc-modal inline-form a,
|
|
213
|
+
.podcast-cta-section a,
|
|
191
214
|
.vjs-social-share-links a):focus-visible,
|
|
192
215
|
.background-grey-10 a.light-link:focus-visible,
|
|
193
216
|
.background-plm-grey a:not(.hero-footer-form-wrapper a,
|
|
194
217
|
ptc-modal inline-form a,
|
|
218
|
+
.podcast-cta-section a,
|
|
195
219
|
.vjs-social-share-links a):focus-visible,
|
|
196
220
|
.background-plm-grey a.light-link:focus-visible {
|
|
197
221
|
border-radius: var(--ptc-border-radius-standard);
|
|
@@ -211,10 +235,6 @@ ptc-modal inline-form a,
|
|
|
211
235
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
212
236
|
}
|
|
213
237
|
|
|
214
|
-
.white-links a {
|
|
215
|
-
color: var(--color-white) !important;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
238
|
.ptc-link {
|
|
219
239
|
color: var(--color-gray-10);
|
|
220
240
|
text-decoration: underline;
|