@ptcwebops/ptcw-design 6.3.32-beta → 6.3.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/component-1b8ad4d2.js +1819 -0
- package/dist/cjs/{component-6a178a16.js → component-35540bfb.js} +1494 -3305
- package/dist/cjs/embedded-form.cjs.entry.js +1 -1
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/global-418c14b4.js +33 -0
- package/dist/cjs/icon-asset.cjs.entry.js +1 -1
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
- package/dist/cjs/list-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -1
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +16 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +20 -3
- package/dist/cjs/ptc-button.cjs.entry.js +5 -3
- package/dist/cjs/ptc-card_2.cjs.entry.js +7 -5
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +2 -6
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +29 -28
- package/dist/cjs/ptc-countdown.cjs.entry.js +7 -10
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +1 -1
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +40 -9
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +18 -3
- package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +39 -803
- package/dist/cjs/ptc-info-tile.cjs.entry.js +2 -1
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +4 -1
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +674 -0
- package/dist/cjs/ptc-nav-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +28 -3
- package/dist/cjs/ptc-para.cjs.entry.js +1 -1
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -10
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-list.cjs.entry.js +11 -1
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +38 -6
- package/dist/cjs/ptc-quote.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +42 -38
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +9 -0
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +7 -0
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +42 -8
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +15 -14
- package/dist/cjs/ptcw-design.cjs.js +3 -1
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- package/dist/cjs/validation-messages-f1d373e7.js +172 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/icon-asset/icon-asset.js +1 -1
- package/dist/{ptcw-design/media/designer-v6.0.6.svg → collection/components/icon-asset/media/designer-v6.0.7.svg} +17 -30
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +1 -0
- package/dist/collection/components/list-item/list-item.css +4 -0
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +1 -1
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +4 -0
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +15 -0
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +10 -6
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +19 -2
- package/dist/collection/components/ptc-button/ptc-button.css +100 -0
- package/dist/collection/components/ptc-button/ptc-button.js +24 -4
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +1 -5
- package/dist/collection/components/ptc-countdown/ptc-countdown.js +7 -10
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +1 -1
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +1 -1
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +12 -0
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +29 -3
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +34 -13
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +17 -2
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +20 -1
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +3 -0
- package/dist/collection/components/ptc-modal/ptc-modal.css +0 -4
- package/dist/collection/components/ptc-modal/ptc-modal.js +30 -29
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +7 -0
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +78 -2
- package/dist/collection/components/ptc-para/ptc-para.css +0 -3
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +109 -0
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +6 -4
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +0 -16
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +1 -27
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +2 -2
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +10 -6
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +1 -1
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +8 -0
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +1 -1
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +11 -1
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +12 -0
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +37 -5
- package/dist/collection/components/ptc-quote/ptc-quote.js +1 -1
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +63 -38
- package/dist/collection/components/ptc-select/ptc-select.js +8 -4
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +9 -0
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +7 -0
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +69 -4
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +77 -37
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +6 -0
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +1 -1
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +15 -0
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +67 -9
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +8 -3
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +14 -13
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +1 -1
- package/dist/collection/components/tab-header/tab-header.js +1 -1
- package/dist/collection/global/global.js +7 -0
- package/dist/collection/stories/Card.stories.js +3 -148
- package/dist/collection/stories/Jumbotron.stories.js +727 -0
- package/dist/collection/stories/Link.stories.js +25 -13
- package/dist/collection/stories/MinimizedFooter.stories.js +18 -0
- package/dist/collection/stories/Paragraph.stories.js +18 -10
- package/dist/collection/stories/ResponsiveWrapper.stories.js +21 -0
- package/dist/collection/stories/Select.stories.js +5 -8
- package/dist/collection/stories/Textfield.stories.js +71 -28
- package/dist/collection/stories/Title.stories.js +28 -16
- package/dist/collection/stories/organisms/ptc/Academic Form/preview.stories.js +22 -0
- package/dist/collection/stories/organisms/ptc/All Products/preview.stories.js +1616 -0
- package/dist/collection/stories/organisms/ptc/Announcement/preview.stories.js +58 -0
- package/dist/collection/stories/organisms/ptc/Background Video/preview.stories.js +58 -0
- package/dist/collection/stories/organisms/ptc/Blog Author Listing/preview.stories.js +32 -0
- package/dist/collection/stories/organisms/ptc/Blog Content/preview.stories.js +317 -0
- package/dist/collection/stories/organisms/ptc/Blog Detail/preview.stories.js +500 -0
- package/dist/collection/stories/organisms/ptc/Blogs Listing Page/preview.stories.js +368 -0
- package/dist/collection/stories/organisms/ptc/Bureau New Dynamic/preview.stories.js +54 -0
- package/dist/collection/stories/organisms/ptc/Case Studies/preview.stories.js +243 -0
- package/dist/collection/stories/organisms/ptc/Case Studies Detail Page/preview.stories.js +456 -0
- package/dist/collection/stories/organisms/ptc/Case Studies Slider/preview.stories.js +384 -0
- package/dist/collection/stories/organisms/ptc/Case Studies Slider New/preview.stories.js +171 -0
- package/dist/collection/stories/organisms/ptc/Clq Modal Quiz/preview.stories.js +100 -0
- package/dist/collection/stories/organisms/ptc/Contact Free Trial Form/preview.stories.js +22 -0
- package/dist/collection/stories/organisms/ptc/Countdown Example/preview.stories.js +29 -0
- package/dist/collection/stories/organisms/ptc/E Store Build Listing/preview.stories.js +543 -0
- package/dist/collection/stories/organisms/ptc/E Store Build Product/preview.stories.js +427 -0
- package/dist/collection/stories/organisms/ptc/Eloqua Library Contact Info/preview.stories.js +168 -0
- package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor PCenter/preview.stories.js +60 -0
- package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor Recipient Id/preview.stories.js +59 -0
- package/dist/collection/stories/organisms/ptc/Embedded Form/preview.stories.js +23 -0
- package/dist/collection/stories/organisms/ptc/Embedded Form Floating/preview.stories.js +165 -0
- package/dist/collection/stories/organisms/ptc/Event Detail/preview.stories.js +16 -0
- package/dist/collection/stories/organisms/ptc/Event Jumbotron/preview.stories.js +470 -0
- package/dist/collection/stories/organisms/ptc/Event Podcast Slider/preview.stories.js +142 -0
- package/dist/collection/stories/organisms/ptc/Events Listing Cards/preview.stories.js +169 -0
- package/dist/collection/stories/organisms/ptc/Events Listing Cards Horizontal/preview.stories.js +169 -0
- package/dist/collection/stories/organisms/ptc/Featured Events Slider/preview.stories.js +165 -0
- package/dist/collection/stories/organisms/ptc/Featured List/preview.stories.js +16 -0
- package/dist/collection/stories/organisms/ptc/Filter Level Theater/preview.stories.js +18 -0
- package/dist/collection/stories/organisms/ptc/Five Card Value Prop/preview.stories.js +64 -0
- package/dist/collection/stories/organisms/ptc/Footer Form/preview.stories.js +18 -0
- package/dist/collection/stories/organisms/ptc/Footer V2/preview.stories.js +138 -0
- package/dist/collection/stories/organisms/ptc/Footer V2 Cn/preview.stories.js +146 -0
- package/dist/collection/stories/organisms/ptc/Form Radio Button/preview.stories.js +42 -0
- package/dist/collection/stories/organisms/ptc/Framed Video 16 9/preview.stories.js +31 -0
- package/dist/collection/stories/organisms/ptc/Homepage Image Feature/preview.stories.js +41 -0
- package/dist/collection/stories/organisms/ptc/Homepage Jumbotron/preview.stories.js +166 -0
- package/dist/collection/stories/organisms/ptc/Homepage Toggled Content/preview.stories.js +227 -0
- package/dist/collection/stories/organisms/ptc/Hub Of Hubs/preview.stories.js +417 -0
- package/dist/collection/stories/organisms/ptc/Intro/preview.stories.js +41 -0
- package/dist/collection/stories/organisms/ptc/Jumbotron/preview.stories.js +431 -0
- package/dist/collection/stories/organisms/ptc/Jumbotron With Logos/preview.stories.js +431 -0
- package/dist/collection/stories/organisms/ptc/Large Bulleted List/preview.stories.js +224 -0
- package/dist/collection/stories/organisms/ptc/Large Bulleted List V2/preview.stories.js +326 -0
- package/dist/collection/stories/organisms/ptc/Listing Filter/preview.stories.js +256 -0
- package/dist/collection/stories/organisms/ptc/Main Nav Product Solutions Tab/preview.stories.js +200 -0
- package/dist/collection/stories/organisms/ptc/Mathcad Start Page/preview.stories.js +100 -0
- package/dist/collection/stories/organisms/ptc/Media Kit Speed Bump/preview.stories.js +39 -0
- package/dist/collection/stories/organisms/ptc/Most Popular News/preview.stories.js +28 -0
- package/dist/collection/stories/organisms/ptc/Mvc Form/preview.stories.js +22 -0
- package/dist/collection/stories/organisms/ptc/New Buttons/preview.stories.js +125 -0
- package/dist/collection/stories/organisms/ptc/Partners Detail/preview.stories.js +151 -0
- package/dist/collection/stories/organisms/ptc/Partners Listing/preview.stories.js +394 -0
- package/dist/collection/stories/organisms/ptc/Pdf Portal/preview.stories.js +140 -0
- package/dist/collection/stories/organisms/ptc/Plm On Demand 1/preview.stories.js +205 -0
- package/dist/collection/stories/organisms/ptc/Plm On Demand 2/preview.stories.js +180 -0
- package/dist/collection/stories/organisms/ptc/Podcast List/preview.stories.js +175 -0
- package/dist/collection/stories/organisms/ptc/Preference Center/preview.stories.js +235 -0
- package/dist/collection/stories/organisms/ptc/Preference Center Exit Page/preview.stories.js +85 -0
- package/dist/collection/stories/organisms/ptc/Preference Center Update Email/preview.stories.js +54 -0
- package/dist/collection/stories/organisms/ptc/Preference Center Update Personal Info/preview.stories.js +59 -0
- package/dist/collection/stories/organisms/ptc/Pricing Packaging Table/preview.stories.js +399 -0
- package/dist/collection/stories/organisms/ptc/Pricing Packaging Table Subnav/preview.stories.js +179 -0
- package/dist/collection/stories/organisms/ptc/Ptc 3 Card Value Prop/preview.stories.js +46 -0
- package/dist/collection/stories/organisms/ptc/Ptc Bio Cards/preview.stories.js +741 -0
- package/dist/collection/stories/organisms/ptc/Ptc Creo Start Page/preview.stories.js +111 -0
- package/dist/collection/stories/organisms/ptc/Ptc Editorial/preview.stories.js +84 -0
- package/dist/collection/stories/organisms/ptc/Ptc Form/preview.stories.js +18 -0
- package/dist/collection/stories/organisms/ptc/Ptc Icon Card Slider/preview.stories.js +121 -0
- package/dist/collection/stories/organisms/ptc/Ptc Icon Component/preview.stories.js +185 -0
- package/dist/collection/stories/organisms/ptc/Ptc Icon Sprites/preview.stories.js +150 -0
- package/dist/collection/stories/organisms/ptc/Ptc Innovator Toggle/preview.stories.js +421 -0
- package/dist/collection/stories/organisms/ptc/Ptc Media Cards/preview.stories.js +133 -0
- package/dist/collection/stories/organisms/ptc/Ptc News Detail/preview.stories.js +142 -0
- package/dist/collection/stories/organisms/ptc/Ptc News Detail Alternate/preview.stories.js +140 -0
- package/dist/collection/stories/organisms/ptc/Ptc Offices/preview.stories.js +405 -0
- package/dist/collection/stories/organisms/ptc/Ptc Readmore V3/preview.stories.js +71 -0
- package/dist/collection/stories/organisms/ptc/Ptc Showcase Card/preview.stories.js +177 -0
- package/dist/collection/stories/organisms/ptc/Ptc Sticky Share Icons/preview.stories.js +184 -0
- package/dist/collection/stories/organisms/ptc/Ptc Subnav V1/preview.stories.js +149 -0
- package/dist/collection/stories/organisms/ptc/Ptc Subnav V2/preview.stories.js +91 -0
- package/dist/collection/stories/organisms/ptc/Ptc Text Copy With Background/preview.stories.js +226 -0
- package/dist/collection/stories/organisms/ptc/Ptc Title Demo/preview.stories.js +24 -0
- package/dist/collection/stories/organisms/ptc/Ptc Tooltip V3/preview.stories.js +85 -0
- package/dist/collection/stories/organisms/ptc/Ptc Two Column Two Media/preview.stories.js +126 -0
- package/dist/collection/stories/organisms/ptc/Read More/preview.stories.js +278 -0
- package/dist/collection/stories/organisms/ptc/Related Cards/preview.stories.js +107 -0
- package/dist/collection/stories/organisms/ptc/Resource Center/preview.stories.js +149 -0
- package/dist/collection/stories/organisms/ptc/Search Result/preview.stories.js +62 -0
- package/dist/collection/stories/organisms/ptc/Search Result News/preview.stories.js +72 -0
- package/dist/collection/stories/organisms/ptc/Searchbar Plm On Demand/preview.stories.js +62 -0
- package/dist/collection/stories/organisms/ptc/Seo Test/preview.stories.js +215 -0
- package/dist/collection/stories/organisms/ptc/Sequential Slider/preview.stories.js +38 -0
- package/dist/collection/stories/organisms/ptc/Sequential Slider Mobile/preview.stories.js +90 -0
- package/dist/collection/stories/organisms/ptc/Shortform Agileworx/preview.stories.js +22 -0
- package/dist/collection/stories/organisms/ptc/Storefront Enhanced Product Listing/preview.stories.js +132 -0
- package/dist/collection/stories/organisms/ptc/Success Path Details Page/preview.stories.js +236 -0
- package/dist/collection/stories/organisms/ptc/Three Column Text/preview.stories.js +75 -0
- package/dist/collection/stories/organisms/ptc/Three Up Text Cards/preview.stories.js +134 -0
- package/dist/collection/stories/organisms/ptc/Two Column Media/preview.stories.js +181 -0
- package/dist/collection/stories/organisms/ptc/Two Column With Toggle/preview.stories.js +549 -0
- package/dist/collection/stories/organisms/ptc/Value Led Resource/preview.stories.js +479 -0
- package/dist/collection/stories/organisms/ptc/Volvo Three Col/preview.stories.js +115 -0
- package/dist/collection/stories/organisms/ptc/Vuforia Quiz/preview.stories.js +26 -0
- package/dist/collection/stories/organisms/ptc/White Paper/preview.stories.js +174 -0
- package/dist/collection/utils/fef-logger.js +23 -0
- package/dist/collection/utils/validation-messages.js +49 -2
- package/dist/custom-elements/index.d.ts +0 -6
- package/dist/custom-elements/index.js +617 -417
- package/dist/esm/{component-80f298b4.js → component-8c53e377.js} +1482 -3281
- package/dist/esm/component-9beac35b.js +1802 -0
- package/dist/esm/embedded-form.entry.js +1 -1
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/global-1a5f28d5.js +31 -0
- package/dist/esm/icon-asset.entry.js +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/loader.js +3 -1
- package/dist/esm/ptc-back-to-top.entry.js +16 -1
- package/dist/esm/ptc-bio-card.entry.js +20 -3
- package/dist/esm/ptc-button.entry.js +5 -3
- package/dist/esm/ptc-card_2.entry.js +7 -5
- package/dist/esm/ptc-case-studies-slider.entry.js +2 -6
- package/dist/esm/ptc-close-icon_2.entry.js +29 -28
- package/dist/esm/ptc-countdown.entry.js +7 -10
- package/dist/esm/ptc-data-lookup.entry.js +2 -1
- package/dist/esm/ptc-dynamic-card.entry.js +1 -1
- package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-dropdown_4.entry.js +40 -9
- package/dist/esm/ptc-filter-level-theater.entry.js +18 -3
- package/dist/esm/{ptc-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +39 -801
- package/dist/esm/ptc-info-tile.entry.js +2 -1
- package/dist/esm/ptc-jumbotron.entry.js +4 -1
- package/dist/esm/ptc-multi-select_2.entry.js +669 -0
- package/dist/esm/ptc-nav-link.entry.js +1 -1
- package/dist/esm/ptc-nav-skip-to-content.entry.js +28 -3
- package/dist/esm/ptc-para.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +2 -10
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-product-card.entry.js +2 -2
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-dropdown.entry.js +2 -2
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-product-list.entry.js +11 -1
- package/dist/esm/ptc-product-sidebar.entry.js +38 -6
- package/dist/esm/ptc-quote.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +1 -1
- package/dist/esm/ptc-related-card-rail.entry.js +42 -38
- package/dist/esm/ptc-sticky-icons.entry.js +9 -0
- package/dist/esm/ptc-text-copy-with-background.entry.js +8 -1
- package/dist/esm/ptc-theater-video-modal.entry.js +43 -9
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +15 -14
- package/dist/esm/ptcw-design.js +3 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/esm/validation-messages-1379b825.js +169 -0
- package/dist/{collection/components/icon-asset/media/designer-v6.0.6.svg → ptcw-design/media/designer-v6.0.7.svg} +17 -30
- package/dist/ptcw-design/p-00e21489.entry.js +1 -0
- package/dist/ptcw-design/p-02822616.entry.js +1 -0
- package/dist/ptcw-design/p-05c29cc2.entry.js +1 -0
- package/dist/ptcw-design/{p-f867ebe6.entry.js → p-0ddf2a09.entry.js} +1 -1
- package/dist/ptcw-design/p-0efedf59.js +1 -0
- package/dist/ptcw-design/p-13e338a5.entry.js +1 -0
- package/dist/ptcw-design/p-1454ba84.entry.js +1 -0
- package/dist/ptcw-design/p-15a40f78.entry.js +1 -0
- package/dist/ptcw-design/p-18851303.entry.js +1 -0
- package/dist/ptcw-design/{p-d73cc053.entry.js → p-18ac526f.entry.js} +1 -1
- package/dist/ptcw-design/p-1feb2812.entry.js +1 -0
- package/dist/ptcw-design/{p-2cc7e2a8.entry.js → p-24776ca2.entry.js} +1 -1
- package/dist/ptcw-design/{p-4ca956c1.entry.js → p-260e573b.entry.js} +1 -1
- package/dist/ptcw-design/{p-9df7489b.entry.js → p-27c26d50.entry.js} +1 -1
- package/dist/ptcw-design/p-352e87c0.entry.js +1 -0
- package/dist/ptcw-design/p-38e5e590.entry.js +1 -0
- package/dist/ptcw-design/p-3b9fbbaa.js +1 -0
- package/dist/ptcw-design/p-539639ff.entry.js +1 -0
- package/dist/ptcw-design/p-593b8eff.entry.js +1 -0
- package/dist/ptcw-design/p-66ecd7b9.entry.js +1 -0
- package/dist/ptcw-design/p-73a853fc.entry.js +1 -0
- package/dist/ptcw-design/p-77fb3a86.entry.js +1 -0
- package/dist/ptcw-design/p-7e8daa35.entry.js +1 -0
- package/dist/ptcw-design/{p-99355e65.entry.js → p-884c335c.entry.js} +1 -1
- package/dist/ptcw-design/p-98426799.js +203 -0
- package/dist/ptcw-design/p-98844b50.js +134 -0
- package/dist/ptcw-design/{p-71360e29.entry.js → p-9e4e21a4.entry.js} +1 -1
- package/dist/ptcw-design/p-a2c7df64.entry.js +1 -0
- package/dist/ptcw-design/p-a58698ca.entry.js +1 -0
- package/dist/ptcw-design/{p-0b515839.entry.js → p-a791c53a.entry.js} +1 -1
- package/dist/ptcw-design/p-acdd9a1d.entry.js +1 -0
- package/dist/ptcw-design/p-ad821a01.entry.js +1 -0
- package/dist/ptcw-design/p-b6255525.entry.js +1 -0
- package/dist/ptcw-design/{p-fd87fcd5.entry.js → p-b863b296.entry.js} +1 -1
- package/dist/ptcw-design/p-bb9a879f.entry.js +1 -0
- package/dist/ptcw-design/p-bc146844.entry.js +1 -0
- package/dist/ptcw-design/p-bf84ecc0.entry.js +1 -0
- package/dist/ptcw-design/p-c82eaf9d.entry.js +1 -0
- package/dist/ptcw-design/p-cad4b517.entry.js +1 -0
- package/dist/ptcw-design/{p-3dd0ded9.entry.js → p-d089dc37.entry.js} +1 -1
- package/dist/ptcw-design/p-d6845e91.entry.js +1 -0
- package/dist/ptcw-design/p-db1dcce0.entry.js +1 -0
- package/dist/ptcw-design/p-ddb898c7.entry.js +1 -0
- package/dist/ptcw-design/p-e3867512.entry.js +1 -0
- package/dist/ptcw-design/{p-7793babb.entry.js → p-e3b1af2b.entry.js} +1 -1
- package/dist/ptcw-design/p-e6619d63.entry.js +1 -0
- package/dist/ptcw-design/p-e8c275a1.entry.js +1 -0
- package/dist/ptcw-design/{p-bab5bb88.entry.js → p-f5d8a3b1.entry.js} +1 -1
- package/dist/ptcw-design/p-f60f42ff.entry.js +68 -0
- package/dist/ptcw-design/p-f9256e3d.entry.js +1 -0
- package/dist/ptcw-design/p-fbd9c8fc.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +1 -1
- package/dist/types/components/ptc-button/ptc-button.d.ts +2 -1
- package/dist/types/components/ptc-countdown/ptc-countdown.d.ts +0 -1
- package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +2 -1
- package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +1 -1
- package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +1 -0
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +1 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
- package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +1 -1
- package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +6 -0
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -2
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +6 -3
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +3 -0
- package/dist/types/components/ptc-select/ptc-select.d.ts +2 -1
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +2 -0
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +58 -4
- package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +6 -1
- package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +1 -1
- package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -1
- package/dist/types/components.d.ts +135 -24
- package/dist/types/global/global.d.ts +4 -0
- package/dist/types/utils/fef-logger.d.ts +10 -0
- package/dist/types/utils/validation-messages.d.ts +4 -123
- package/package.json +6 -2
- package/readme.md +1 -5
- package/dist/cjs/modal-form-example.cjs.entry.js +0 -94
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -99
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
- package/dist/esm/modal-form-example.entry.js +0 -90
- package/dist/ptcw-design/p-0529caaa.entry.js +0 -1
- package/dist/ptcw-design/p-077839d5.entry.js +0 -1
- package/dist/ptcw-design/p-092e50c9.entry.js +0 -1
- package/dist/ptcw-design/p-0d223232.entry.js +0 -1
- package/dist/ptcw-design/p-0e5932f0.entry.js +0 -1
- package/dist/ptcw-design/p-0ef61b44.entry.js +0 -1
- package/dist/ptcw-design/p-21aa746d.entry.js +0 -1
- package/dist/ptcw-design/p-282b7d4e.entry.js +0 -1
- package/dist/ptcw-design/p-2a20d4a6.entry.js +0 -1
- package/dist/ptcw-design/p-32f64f48.entry.js +0 -1
- package/dist/ptcw-design/p-3ee2a531.entry.js +0 -1
- package/dist/ptcw-design/p-445329ed.entry.js +0 -1
- package/dist/ptcw-design/p-4b192f5e.entry.js +0 -1
- package/dist/ptcw-design/p-4f93c631.entry.js +0 -1
- package/dist/ptcw-design/p-5311c6e1.entry.js +0 -1
- package/dist/ptcw-design/p-58e91cb8.entry.js +0 -1
- package/dist/ptcw-design/p-5db7f70b.entry.js +0 -1
- package/dist/ptcw-design/p-672a349f.js +0 -336
- package/dist/ptcw-design/p-75390f63.entry.js +0 -1
- package/dist/ptcw-design/p-799afee5.entry.js +0 -1
- package/dist/ptcw-design/p-7bdf1e64.entry.js +0 -1
- package/dist/ptcw-design/p-8038bf31.entry.js +0 -1
- package/dist/ptcw-design/p-85b3ca2b.entry.js +0 -1
- package/dist/ptcw-design/p-85bdb2d5.entry.js +0 -68
- package/dist/ptcw-design/p-8fb48953.entry.js +0 -1
- package/dist/ptcw-design/p-9501995f.entry.js +0 -1
- package/dist/ptcw-design/p-97b9f41b.entry.js +0 -1
- package/dist/ptcw-design/p-99ee8a0e.entry.js +0 -1
- package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
- package/dist/ptcw-design/p-baff4d44.entry.js +0 -1
- package/dist/ptcw-design/p-de960790.entry.js +0 -1
- package/dist/ptcw-design/p-e6a272d9.entry.js +0 -1
- package/dist/ptcw-design/p-f0abe922.entry.js +0 -1
- package/dist/ptcw-design/p-f1734520.entry.js +0 -1
- package/dist/ptcw-design/p-fe40421e.entry.js +0 -1
- package/dist/ptcw-design/p-fe907670.entry.js +0 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Organisms/ptc/Ptc Showcase Card'
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
const AlertsPage = args => {
|
|
8
|
+
return html`
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<div class="ptc-section">
|
|
12
|
+
<div class="ptc-container">
|
|
13
|
+
<div class="is-grid showcase-section-col-gap has-row-gap-md">
|
|
14
|
+
<div class="is-col is-col-4-md">
|
|
15
|
+
<ptc-showcase-card
|
|
16
|
+
heading-icon-url="https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/ec135adea74e444f8842936d16bb9647?v=aebbe658"
|
|
17
|
+
heading-icon-alt-text="Awards icon"
|
|
18
|
+
>
|
|
19
|
+
<ptc-title slot="heading" seo-compatibility-mode upperline="no-upperline" title-margin="margin-flush">
|
|
20
|
+
<h3>Awards</h3>
|
|
21
|
+
</ptc-title>
|
|
22
|
+
|
|
23
|
+
<ptc-link
|
|
24
|
+
disabled="false"
|
|
25
|
+
external="false"
|
|
26
|
+
font-size="medium-large"
|
|
27
|
+
font-weight="w-semibold"
|
|
28
|
+
href="https://www.ptc.com"
|
|
29
|
+
link-title="Winner of Gainsight Dream Team Award"
|
|
30
|
+
target="_blank"
|
|
31
|
+
theme="global"
|
|
32
|
+
styles="a{ text-decoration: none !important; color: #323B42 !important; }"
|
|
33
|
+
seo-compatibility-mode
|
|
34
|
+
><a href="href">Winner of Gainsight Dream Team Award</a>
|
|
35
|
+
</ptc-link>
|
|
36
|
+
|
|
37
|
+
<ptc-link
|
|
38
|
+
disabled="false"
|
|
39
|
+
external="false"
|
|
40
|
+
font-size="medium-large"
|
|
41
|
+
font-weight="w-semibold"
|
|
42
|
+
href="https://www.ptc.com"
|
|
43
|
+
link-title="Ranked a Leader on Forrester Research’s Industrial IoT Software Platforms Report"
|
|
44
|
+
target="_blank"
|
|
45
|
+
theme="global"
|
|
46
|
+
styles="a{ text-decoration: none !important; color: #323B42 !important; }"
|
|
47
|
+
seo-compatibility-mode
|
|
48
|
+
><a href="href">Ranked a Leader on Forrester Research’s Industrial IoT Software Platforms Report</a>
|
|
49
|
+
</ptc-link>
|
|
50
|
+
|
|
51
|
+
<ptc-link
|
|
52
|
+
disabled="false"
|
|
53
|
+
external="false"
|
|
54
|
+
font-size="medium-large"
|
|
55
|
+
font-weight="w-semibold"
|
|
56
|
+
href="https://www.ptc.com"
|
|
57
|
+
link-title="Ranked Top 4 on IDC’s MarketScape Report for Industrial IoT Platforms"
|
|
58
|
+
target="_blank"
|
|
59
|
+
theme="global"
|
|
60
|
+
styles="a{ text-decoration: none !important; color: #323B42 !important; }"
|
|
61
|
+
seo-compatibility-mode
|
|
62
|
+
><a href="href">Ranked Top 4 on IDC’s MarketScape Report for Industrial IoT Platforms</a>
|
|
63
|
+
</ptc-link>
|
|
64
|
+
</ptc-showcase-card>
|
|
65
|
+
</div>
|
|
66
|
+
<div class="is-col is-col-4-md">
|
|
67
|
+
<ptc-showcase-card
|
|
68
|
+
heading-icon-url="https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/598db5670068495fa33975fe808b28f0?v=257efb97"
|
|
69
|
+
heading-icon-alt-text="Awards icon"
|
|
70
|
+
>
|
|
71
|
+
<ptc-title slot="heading" seo-compatibility-mode upperline="no-upperline" title-margin="margin-flush">
|
|
72
|
+
<h3>Podcasts</h3>
|
|
73
|
+
</ptc-title>
|
|
74
|
+
|
|
75
|
+
<ptc-link
|
|
76
|
+
disabled="false"
|
|
77
|
+
external="false"
|
|
78
|
+
font-size="medium-large"
|
|
79
|
+
font-weight="w-semibold"
|
|
80
|
+
href="https://www.ptc.com"
|
|
81
|
+
link-title="Connected Engineer Series"
|
|
82
|
+
target="_blank"
|
|
83
|
+
theme="global"
|
|
84
|
+
styles="a{ text-decoration: none !important; color: #323B42 !important; }"
|
|
85
|
+
seo-compatibility-mode
|
|
86
|
+
><a href="href">Connected Engineer Series</a>
|
|
87
|
+
</ptc-link>
|
|
88
|
+
|
|
89
|
+
<ptc-link
|
|
90
|
+
disabled="false"
|
|
91
|
+
external="false"
|
|
92
|
+
font-size="medium-large"
|
|
93
|
+
font-weight="w-semibold"
|
|
94
|
+
href="https://www.ptc.com"
|
|
95
|
+
link-title="Speaking of Service Series"
|
|
96
|
+
target="_blank"
|
|
97
|
+
theme="global"
|
|
98
|
+
styles="a{ text-decoration: none !important; color: #323B42 !important; }"
|
|
99
|
+
seo-compatibility-mode
|
|
100
|
+
><a href="href">Speaking of Service Series</a>
|
|
101
|
+
</ptc-link>
|
|
102
|
+
|
|
103
|
+
<ptc-link
|
|
104
|
+
disabled="false"
|
|
105
|
+
external="false"
|
|
106
|
+
font-size="medium-large"
|
|
107
|
+
font-weight="w-semibold"
|
|
108
|
+
href="https://www.ptc.com"
|
|
109
|
+
link-title="Third Angle Podcast"
|
|
110
|
+
target="_blank"
|
|
111
|
+
theme="global"
|
|
112
|
+
styles="a{ text-decoration: none !important; color: #323B42 !important; }"
|
|
113
|
+
seo-compatibility-mode
|
|
114
|
+
><a href="href">Third Angle Podcast</a>
|
|
115
|
+
</ptc-link>
|
|
116
|
+
</ptc-showcase-card>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="is-col is-col-4-md">
|
|
119
|
+
<ptc-showcase-card
|
|
120
|
+
heading-icon-url="https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/7ccfaa4ff952417b945c1cfe3851479b?v=a5b8757d"
|
|
121
|
+
heading-icon-alt-text="Awards icon"
|
|
122
|
+
>
|
|
123
|
+
<ptc-title slot="heading" seo-compatibility-mode upperline="no-upperline" title-margin="margin-flush">
|
|
124
|
+
<h3>Events</h3>
|
|
125
|
+
</ptc-title>
|
|
126
|
+
|
|
127
|
+
<ptc-link
|
|
128
|
+
disabled="false"
|
|
129
|
+
external="false"
|
|
130
|
+
font-size="medium-large"
|
|
131
|
+
font-weight="w-semibold"
|
|
132
|
+
href="https://www.ptc.com"
|
|
133
|
+
link-title="Webinar: Agile Product Development: How to Develop Hardware Like Software"
|
|
134
|
+
target="_blank"
|
|
135
|
+
theme="global"
|
|
136
|
+
styles="a{ text-decoration: none !important; color: #323B42 !important; }"
|
|
137
|
+
seo-compatibility-mode
|
|
138
|
+
><a href="href">Webinar: Agile Product Development: How to Develop Hardware Like Software</a>
|
|
139
|
+
</ptc-link>
|
|
140
|
+
|
|
141
|
+
<ptc-link
|
|
142
|
+
disabled="false"
|
|
143
|
+
external="false"
|
|
144
|
+
font-size="medium-large"
|
|
145
|
+
font-weight="w-semibold"
|
|
146
|
+
href="https://www.ptc.com"
|
|
147
|
+
link-title="CAD on Tap"
|
|
148
|
+
target="_blank"
|
|
149
|
+
theme="global"
|
|
150
|
+
styles="a{ text-decoration: none !important; color: #323B42 !important; }"
|
|
151
|
+
seo-compatibility-mode
|
|
152
|
+
><a href="href">CAD on Tap</a>
|
|
153
|
+
</ptc-link>
|
|
154
|
+
|
|
155
|
+
<ptc-link
|
|
156
|
+
disabled="false"
|
|
157
|
+
external="false"
|
|
158
|
+
font-size="medium-large"
|
|
159
|
+
font-weight="w-semibold"
|
|
160
|
+
href="https://www.ptc.com"
|
|
161
|
+
link-title="[Virtual Roundtable] Power Your Technical Development with PTCU LEARN Online"
|
|
162
|
+
target="_blank"
|
|
163
|
+
theme="global"
|
|
164
|
+
styles="a{ text-decoration: none !important; color: #323B42 !important; }"
|
|
165
|
+
seo-compatibility-mode
|
|
166
|
+
><a href="href">[Virtual Roundtable] Power Your Technical Development with PTCU LEARNOnline</a>
|
|
167
|
+
</ptc-link>
|
|
168
|
+
</ptc-showcase-card>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
173
|
+
|
|
174
|
+
`;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
export const Preview = AlertsPage.bind();
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Organisms/ptc/Ptc Sticky Share Icons'
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
const AlertsPage = args => {
|
|
8
|
+
return html`
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<section style="min-height: 400px; background-color: rgb(204, 204, 251);">
|
|
12
|
+
</section>
|
|
13
|
+
<br><br>
|
|
14
|
+
<section>
|
|
15
|
+
<div class="ptc-container">
|
|
16
|
+
<div class="is-grid has-col-gap-md has-row-gap-md">
|
|
17
|
+
<div class="is-col-3-md">The standard Lorem Ipsum passage, used since the 1500s
|
|
18
|
+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
19
|
+
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
|
|
20
|
+
aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
|
|
21
|
+
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
|
|
22
|
+
culpa qui officia deserunt mollit anim id est laborum."
|
|
23
|
+
|
|
24
|
+
Section 1.10.32 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC
|
|
25
|
+
"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,
|
|
26
|
+
totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae
|
|
27
|
+
dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,
|
|
28
|
+
sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam
|
|
29
|
+
est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius
|
|
30
|
+
modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima
|
|
31
|
+
veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea
|
|
32
|
+
commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil
|
|
33
|
+
molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"</div>
|
|
34
|
+
<div class="is-col-9-md">
|
|
35
|
+
<ptc-sticky-icons>
|
|
36
|
+
<ptc-social-share display="inline-block" share-type="facebook" text="summary" icon-color="primary-gray"
|
|
37
|
+
url="https://www.ptc.com" title="title goes here" source="linkedin source"
|
|
38
|
+
recipient="yqiantest@ptc.com"></ptc-social-share>
|
|
39
|
+
<ptc-social-share display="inline-block" share-type="twitter" text="summary" icon-color="primary-gray"
|
|
40
|
+
url="https://www.ptc.com" title="title goes here" source="linkedin source"
|
|
41
|
+
recipient="yqiantest@ptc.com"></ptc-social-share>
|
|
42
|
+
<ptc-social-share display="inline-block" share-type="linkedin" text="summary" icon-color="primary-gray"
|
|
43
|
+
url="https://www.ptc.com" title="title goes here" source="linkedin source"
|
|
44
|
+
recipient="yqiantest@ptc.com"></ptc-social-share>
|
|
45
|
+
<ptc-social-share display="inline-block" share-type="mail" text="summary" icon-color="primary-gray"
|
|
46
|
+
url="https://www.ptc.com" title="title goes here" source="linkedin source"
|
|
47
|
+
recipient="yqiantest@ptc.com"></ptc-social-share>
|
|
48
|
+
<ptc-social-share display="inline-block" share-type="share-api" text="summary"
|
|
49
|
+
icon-color="primary-gray" url="https://www.ptc.com" title="title goes here"
|
|
50
|
+
source="linkedin source" recipient="yqiantest@ptc.com"></ptc-social-share>
|
|
51
|
+
</ptc-sticky-icons>
|
|
52
|
+
The standard Lorem Ipsum passage, used since the 1500s
|
|
53
|
+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
54
|
+
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
|
|
55
|
+
aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
|
|
56
|
+
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
|
|
57
|
+
culpa qui officia deserunt mollit anim id est laborum."
|
|
58
|
+
|
|
59
|
+
Section 1.10.32 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC
|
|
60
|
+
"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,
|
|
61
|
+
totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae
|
|
62
|
+
dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,
|
|
63
|
+
sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam
|
|
64
|
+
est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius
|
|
65
|
+
modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima
|
|
66
|
+
veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea
|
|
67
|
+
commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil
|
|
68
|
+
molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"
|
|
69
|
+
|
|
70
|
+
1914 translation by H. Rackham
|
|
71
|
+
"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was
|
|
72
|
+
born and I will give you a complete account of the system, and expound the actual teachings of the
|
|
73
|
+
great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or
|
|
74
|
+
avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue
|
|
75
|
+
pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who
|
|
76
|
+
loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally
|
|
77
|
+
circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial
|
|
78
|
+
example, which of us ever undertakes laborious physical exercise, except to obtain some advantage
|
|
79
|
+
from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no
|
|
80
|
+
annoying consequences, or one who avoids a pain that produces no resultant pleasure?"
|
|
81
|
+
|
|
82
|
+
Section 1.10.33 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC
|
|
83
|
+
"At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum
|
|
84
|
+
deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non
|
|
85
|
+
provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum
|
|
86
|
+
fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis
|
|
87
|
+
est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis
|
|
88
|
+
voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis
|
|
89
|
+
aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non
|
|
90
|
+
recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus
|
|
91
|
+
maiores alias consequatur aut perferendis doloribus asperiores repellat."
|
|
92
|
+
The standard Lorem Ipsum passage, used since the 1500s
|
|
93
|
+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
94
|
+
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
|
|
95
|
+
aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
|
|
96
|
+
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
|
|
97
|
+
culpa qui officia deserunt mollit anim id est laborum."
|
|
98
|
+
|
|
99
|
+
Section 1.10.32 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC
|
|
100
|
+
"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,
|
|
101
|
+
totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae
|
|
102
|
+
dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,
|
|
103
|
+
sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam
|
|
104
|
+
est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius
|
|
105
|
+
modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima
|
|
106
|
+
veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea
|
|
107
|
+
commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil
|
|
108
|
+
molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"
|
|
109
|
+
|
|
110
|
+
1914 translation by H. Rackham
|
|
111
|
+
"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was
|
|
112
|
+
born and I will give you a complete account of the system, and expound the actual teachings of the
|
|
113
|
+
great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or
|
|
114
|
+
avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue
|
|
115
|
+
pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who
|
|
116
|
+
loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally
|
|
117
|
+
circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial
|
|
118
|
+
example, which of us ever undertakes laborious physical exercise, except to obtain some advantage
|
|
119
|
+
from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no
|
|
120
|
+
annoying consequences, or one who avoids a pain that produces no resultant pleasure?"
|
|
121
|
+
|
|
122
|
+
Section 1.10.33 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC
|
|
123
|
+
"At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum
|
|
124
|
+
deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non
|
|
125
|
+
provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum
|
|
126
|
+
fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis
|
|
127
|
+
est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis
|
|
128
|
+
voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis
|
|
129
|
+
aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non
|
|
130
|
+
recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus
|
|
131
|
+
maiores alias consequatur aut perferendis doloribus asperiores repellat."
|
|
132
|
+
The standard Lorem Ipsum passage, used since the 1500s
|
|
133
|
+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
134
|
+
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
|
|
135
|
+
aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
|
|
136
|
+
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
|
|
137
|
+
culpa qui officia deserunt mollit anim id est laborum."
|
|
138
|
+
|
|
139
|
+
Section 1.10.32 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC
|
|
140
|
+
"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,
|
|
141
|
+
totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae
|
|
142
|
+
dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,
|
|
143
|
+
sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam
|
|
144
|
+
est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius
|
|
145
|
+
modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima
|
|
146
|
+
veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea
|
|
147
|
+
commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil
|
|
148
|
+
molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"
|
|
149
|
+
|
|
150
|
+
1914 translation by H. Rackham
|
|
151
|
+
"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was
|
|
152
|
+
born and I will give you a complete account of the system, and expound the actual teachings of the
|
|
153
|
+
great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or
|
|
154
|
+
avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue
|
|
155
|
+
pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who
|
|
156
|
+
loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally
|
|
157
|
+
circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial
|
|
158
|
+
example, which of us ever undertakes laborious physical exercise, except to obtain some advantage
|
|
159
|
+
from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no
|
|
160
|
+
annoying consequences, or one who avoids a pain that produces no resultant pleasure?"
|
|
161
|
+
|
|
162
|
+
Section 1.10.33 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC
|
|
163
|
+
"At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum
|
|
164
|
+
deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non
|
|
165
|
+
provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum
|
|
166
|
+
fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis
|
|
167
|
+
est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis
|
|
168
|
+
voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis
|
|
169
|
+
aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non
|
|
170
|
+
recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus
|
|
171
|
+
maiores alias consequatur aut perferendis doloribus asperiores repellat."
|
|
172
|
+
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
</section>
|
|
177
|
+
<br><br><br>
|
|
178
|
+
<section style="min-height: 400px; background-color: #323b42;">
|
|
179
|
+
</section>
|
|
180
|
+
|
|
181
|
+
`;
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
export const Preview = AlertsPage.bind();
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Organisms/ptc/Ptc Subnav V1'
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
const AlertsPage = args => {
|
|
8
|
+
return html`
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<ptc-jumbotron jumbotron-type="light" bg-src="/-/media/Images/Redesign/all-products/arena/Arena-Jumbotron-2.ashx" png-src="" gif-src="" bg-video-src="" poster-src="" sub-title="Streamline product development and deliver innovative products fast in the Cloud. Explore the benefits of Arena’s cloud-native product lifecycle management (PLM) and quality management system (QMS) solutions." play-button-title="play" pause-button-title="pause" class="hydrated"><ptc-breadcrumb slot="breadcrumb" class="hydrated"><list-item list-type="breadcrumb" class="breadcrumb primary-gray hydrated">arena</list-item></ptc-breadcrumb><ptc-title slot="main-title" class="jumbotron-title sc-ptc-title-h sc-ptc-title-s hydrated" title-size="xxxx-large" title-height="densest" title-weight="w-8" title-margin="margin-flush"><div class="left no-upperline is-standard margin-flush w-8 xxxx-large densest gray inline-block sc-ptc-title"><h1 class="sc-ptc-title sc-ptc-title-s">Arena PLM and QMS Solutions </h1></div></ptc-title><ptc-button slot="j-cta" link-title="Explore Arena PLM and QMS solutions" link-href="#" class="hydrated">Explore Arena</ptc-button></ptc-jumbotron>
|
|
12
|
+
|
|
13
|
+
<ptc-sticky-section>
|
|
14
|
+
<ptc-subnav>
|
|
15
|
+
<div slot="subnav-menu-left" class="menu-left" id="slider">
|
|
16
|
+
<ptc-nav-slider>
|
|
17
|
+
<ptc-nav-link title-text="" class="slide subnav-first-item" href="#.">Life at PTC</ptc-nav-link>
|
|
18
|
+
<ptc-nav-link title-text="" class="slide" href="#test">Culture </ptc-nav-link>
|
|
19
|
+
<ptc-nav-submenu class="slide dropdown-btn" label="Locations">
|
|
20
|
+
<div class="dropdown-content">
|
|
21
|
+
<ptc-nav-slider>
|
|
22
|
+
<ptc-nav-link title-text="" href="" class="subnav-first-item">China</ptc-nav-link>
|
|
23
|
+
<ptc-nav-link title-text="" href="">Germany</ptc-nav-link>
|
|
24
|
+
<ptc-nav-link title-text="" href="">India</ptc-nav-link>
|
|
25
|
+
<ptc-nav-link title-text="" href="">Romania</ptc-nav-link>
|
|
26
|
+
<ptc-nav-link title-text="" href="">Spain</ptc-nav-link>
|
|
27
|
+
<ptc-nav-link title-text="" href="">United States</ptc-nav-link>
|
|
28
|
+
<ptc-nav-link title-text="" href="">Other Locations</ptc-nav-link>
|
|
29
|
+
</ptc-nav-slider>
|
|
30
|
+
</div>
|
|
31
|
+
</ptc-nav-submenu>
|
|
32
|
+
<ptc-nav-submenu class="slide dropdown-btn" label="Teams">
|
|
33
|
+
<div class="dropdown-content">
|
|
34
|
+
<ptc-nav-slider>
|
|
35
|
+
<ptc-nav-link title-text="" href="" class="subnav-first-item">Customer Success</ptc-nav-link>
|
|
36
|
+
<ptc-nav-link title-text="" href="">Finance</ptc-nav-link>
|
|
37
|
+
<ptc-nav-link title-text="" href="">Marketing</ptc-nav-link>
|
|
38
|
+
<ptc-nav-link title-text="" href="">People Team</ptc-nav-link>
|
|
39
|
+
<ptc-nav-link title-text="" href="">R&D and Products</ptc-nav-link>
|
|
40
|
+
<ptc-nav-link title-text="" href="">Sales</ptc-nav-link>
|
|
41
|
+
<ptc-nav-link title-text="" href="">Strategy</ptc-nav-link>
|
|
42
|
+
|
|
43
|
+
</ptc-nav-slider>
|
|
44
|
+
</div>
|
|
45
|
+
</ptc-nav-submenu>
|
|
46
|
+
<ptc-nav-link title-text="" class="slide" href="/en/careers/students">Students</ptc-nav-link>
|
|
47
|
+
<ptc-nav-link title-text="" class="slide"
|
|
48
|
+
href="/en/careers/diversity-equity-and-inclusion">Diversity, Equity & Inclusion</ptc-nav-link>
|
|
49
|
+
<ptc-nav-submenu class="slide dropdown-btn" label="Teams">
|
|
50
|
+
<div class="dropdown-content">
|
|
51
|
+
<ptc-nav-slider>
|
|
52
|
+
<ptc-nav-link title-text="" href="">Customer Success</ptc-nav-link>
|
|
53
|
+
<ptc-nav-link title-text="" href="">Finance</ptc-nav-link>
|
|
54
|
+
<ptc-nav-link title-text="" href="">Marketing</ptc-nav-link>
|
|
55
|
+
<ptc-nav-link title-text="" href="">People Team</ptc-nav-link>
|
|
56
|
+
<ptc-nav-link title-text="" href="">R&D and Products</ptc-nav-link>
|
|
57
|
+
<ptc-nav-link title-text="" href="">Sales</ptc-nav-link>
|
|
58
|
+
<ptc-nav-link title-text="" href="">Strategy</ptc-nav-link>
|
|
59
|
+
|
|
60
|
+
</ptc-nav-slider>
|
|
61
|
+
</div>
|
|
62
|
+
</ptc-nav-submenu>
|
|
63
|
+
<ptc-nav-link title-text="" class="slide" href="/en/careers/students">Students</ptc-nav-link>
|
|
64
|
+
<ptc-nav-link title-text="" class="slide"
|
|
65
|
+
href="/en/careers/diversity-equity-and-inclusion">Diversity, Equity & Inclusion</ptc-nav-link>
|
|
66
|
+
</ptc-nav-slider>
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
<div slot="subnav-menu-right" class="menu-right u-flex-lg">
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
<ptc-nav-submenu label="Other links" class="short-dropdown dropdown-btn" icon-asset-name="doc">
|
|
73
|
+
<div class="dropdown-content">
|
|
74
|
+
<ptc-subnav-card card-title="Read “What is Spatial Computing?”" card-href="https://www.ptc.com"
|
|
75
|
+
card-image-src="https://www-dev.ptc.com/-/media/test/asset-doc.svg"
|
|
76
|
+
card-image-alt="Doc Image" cta-text="Download Asset"
|
|
77
|
+
cta-icon-asset-name="download-arrow"></ptc-subnav-card>
|
|
78
|
+
</div>
|
|
79
|
+
</ptc-nav-submenu>
|
|
80
|
+
</div>
|
|
81
|
+
</ptc-subnav>
|
|
82
|
+
</ptc-sticky-section>
|
|
83
|
+
<div class="ptc-container">
|
|
84
|
+
<ptc-title><h2>Default Title</h2></ptc-title></div>
|
|
85
|
+
<section style="height: 700px;">
|
|
86
|
+
<div class="ptc-container">
|
|
87
|
+
<p>this is test para text </p>
|
|
88
|
+
</div>
|
|
89
|
+
</section>
|
|
90
|
+
<section
|
|
91
|
+
style="height: 400px; background-image: url(https://www.ptc.com/-/media/Images/new-org/1240x496/CAD/Design-And-Innovate-With-Creo-1200x496.jpg); background-size: cover;">
|
|
92
|
+
</section>
|
|
93
|
+
<section style="height: 700px;" id="test"></section>
|
|
94
|
+
<section style="height: 400px; background-color: #323b42"></section>
|
|
95
|
+
<script>
|
|
96
|
+
// Get all dropdown buttons and content
|
|
97
|
+
const dropdownBtns = document.querySelectorAll('.dropdown-btn');
|
|
98
|
+
const dropdownContents = document.querySelectorAll('.dropdown-content');
|
|
99
|
+
|
|
100
|
+
const closeAllDropdowns = () => {
|
|
101
|
+
for (const element of dropdownContents) {
|
|
102
|
+
element.classList.remove('open');
|
|
103
|
+
}
|
|
104
|
+
for (const ele of dropdownBtns) {
|
|
105
|
+
ele.classList.remove('active');
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
// Add click event listener to menu
|
|
110
|
+
document.querySelector('ptc-subnav').addEventListener('click', (event) => {
|
|
111
|
+
const target = event.target;
|
|
112
|
+
// console.log(target.classList);
|
|
113
|
+
if (target.classList.contains('dropdown-btn')) {
|
|
114
|
+
const dropdownContent = target.children[0];
|
|
115
|
+
const isOpen = dropdownContent.classList.contains('open');
|
|
116
|
+
|
|
117
|
+
closeAllDropdowns();
|
|
118
|
+
if (!isOpen) {
|
|
119
|
+
dropdownContent.classList.add('open');
|
|
120
|
+
target.classList.add('active');
|
|
121
|
+
}
|
|
122
|
+
} else if (target.classList.contains('nav-slider')) {
|
|
123
|
+
|
|
124
|
+
} else {
|
|
125
|
+
closeAllDropdowns();
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
// Create a media condition that targets viewports at least 768px wide
|
|
131
|
+
const mediaQuery = window.matchMedia('(max-width: 1199px)')
|
|
132
|
+
// Check if the media query is true
|
|
133
|
+
if (mediaQuery.matches) {
|
|
134
|
+
// Then trigger an alert
|
|
135
|
+
// alert('Media Query Matched!')
|
|
136
|
+
if (target.classList.contains('short-dropdown') && target.classList.contains('active')) {
|
|
137
|
+
// console.log(target);
|
|
138
|
+
document.querySelector('.menu-left').style.display = "none";
|
|
139
|
+
} else {
|
|
140
|
+
document.querySelector('.menu-left').style.display = "block";
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
</script>
|
|
145
|
+
|
|
146
|
+
`;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
export const Preview = AlertsPage.bind();
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Organisms/ptc/Ptc Subnav V2'
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
const AlertsPage = args => {
|
|
8
|
+
return html`
|
|
9
|
+
|
|
10
|
+
<style>
|
|
11
|
+
html {
|
|
12
|
+
scroll-behavior: smooth;
|
|
13
|
+
}
|
|
14
|
+
</style>
|
|
15
|
+
<ptc-jumbotron jumbotron-type="light" bg-src="/-/media/Images/Redesign/all-products/arena/Arena-Jumbotron-2.ashx" png-src="" gif-src="" bg-video-src="" poster-src="" sub-title="Streamline product development and deliver innovative products fast in the Cloud. Explore the benefits of Arena’s cloud-native product lifecycle management (PLM) and quality management system (QMS) solutions." play-button-title="play" pause-button-title="pause" class="hydrated"><ptc-breadcrumb slot="breadcrumb" class="hydrated"><list-item list-type="breadcrumb" class="breadcrumb primary-gray hydrated">arena</list-item></ptc-breadcrumb><ptc-title slot="main-title" class="jumbotron-title sc-ptc-title-h sc-ptc-title-s hydrated" title-size="xxxx-large" title-height="densest" title-weight="w-8" title-margin="margin-flush"><div class="left no-upperline is-standard margin-flush w-8 xxxx-large densest gray inline-block sc-ptc-title"><h1 class="sc-ptc-title sc-ptc-title-s">Arena PLM and QMS Solutions </h1></div></ptc-title><ptc-button slot="j-cta" link-title="Explore Arena PLM and QMS solutions" link-href="#" class="hydrated">Explore Arena</ptc-button></ptc-jumbotron>
|
|
16
|
+
|
|
17
|
+
<ptc-sticky-section>
|
|
18
|
+
<ptc-subnav>
|
|
19
|
+
<div slot="subnav-menu-left" class="menu-left" id="slider">
|
|
20
|
+
<ptc-nav-slider>
|
|
21
|
+
<ptc-nav-link class="slide" href="#overview">Overview</ptc-nav-link>
|
|
22
|
+
<ptc-nav-link class="slide" href="#features-and-benefits">Features & Benefits </ptc-nav-link>
|
|
23
|
+
<ptc-nav-link class="slide" href="#portfolio">Portfolio</ptc-nav-link>
|
|
24
|
+
<ptc-nav-link class="slide" href="#extensions">Extensions</ptc-nav-link>
|
|
25
|
+
<ptc-nav-link class="slide" href="#contact-us">Contact Us</ptc-nav-link>
|
|
26
|
+
</ptc-nav-slider>
|
|
27
|
+
</div>
|
|
28
|
+
</ptc-subnav>
|
|
29
|
+
</ptc-sticky-section>
|
|
30
|
+
|
|
31
|
+
<section id="overview" style="height: 700px;"></section>
|
|
32
|
+
<section id="features-and-benefits"
|
|
33
|
+
style="height: 400px; background-image: url(https://www.ptc.com/-/media/Images/new-org/1240x496/CAD/Design-And-Innovate-With-Creo-1200x496.jpg); background-size: cover;">
|
|
34
|
+
</section>
|
|
35
|
+
<section id="portfolio" style="height: 700px;"></section>
|
|
36
|
+
<section id="extensions" style="height: 400px; background-color: #323b42"></section>
|
|
37
|
+
<script>
|
|
38
|
+
// Get all dropdown buttons and content
|
|
39
|
+
const dropdownBtns = document.querySelectorAll('.dropdown-btn');
|
|
40
|
+
const dropdownContents = document.querySelectorAll('.dropdown-content');
|
|
41
|
+
|
|
42
|
+
const closeAllDropdowns = () => {
|
|
43
|
+
for (const element of dropdownContents) {
|
|
44
|
+
element.classList.remove('open');
|
|
45
|
+
}
|
|
46
|
+
for (const ele of dropdownBtns) {
|
|
47
|
+
ele.classList.remove('active');
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
// Add click event listener to menu
|
|
52
|
+
document.querySelector('ptc-subnav').addEventListener('click', (event) => {
|
|
53
|
+
const target = event.target;
|
|
54
|
+
console.log(target.classList);
|
|
55
|
+
if (target.classList.contains('dropdown-btn')) {
|
|
56
|
+
const dropdownContent = target.children[0];
|
|
57
|
+
const isOpen = dropdownContent.classList.contains('open');
|
|
58
|
+
|
|
59
|
+
closeAllDropdowns();
|
|
60
|
+
if (!isOpen) {
|
|
61
|
+
dropdownContent.classList.add('open');
|
|
62
|
+
target.classList.add('active');
|
|
63
|
+
}
|
|
64
|
+
} else if (target.classList.contains('nav-slider')) {
|
|
65
|
+
|
|
66
|
+
} else {
|
|
67
|
+
closeAllDropdowns();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
// Create a media condition that targets viewports at least 768px wide
|
|
73
|
+
const mediaQuery = window.matchMedia('(max-width: 1199px)')
|
|
74
|
+
// Check if the media query is true
|
|
75
|
+
if (mediaQuery.matches) {
|
|
76
|
+
// Then trigger an alert
|
|
77
|
+
// alert('Media Query Matched!')
|
|
78
|
+
if (target.classList.contains('short-dropdown') && target.classList.contains('active')) {
|
|
79
|
+
console.log(target);
|
|
80
|
+
document.querySelector('.menu-left').style.display = "none";
|
|
81
|
+
} else {
|
|
82
|
+
document.querySelector('.menu-left').style.display = "block";
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
</script>
|
|
87
|
+
|
|
88
|
+
`;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export const Preview = AlertsPage.bind();
|