@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
|
@@ -74,22 +74,33 @@ export default {
|
|
|
74
74
|
'underline',
|
|
75
75
|
],
|
|
76
76
|
},
|
|
77
|
+
slotContent: {
|
|
78
|
+
name: 'Default Slot',
|
|
79
|
+
description: 'Text Content between the <ptc-link> tags.',
|
|
80
|
+
control: 'text',
|
|
81
|
+
table: {
|
|
82
|
+
category: 'Default Slot',
|
|
83
|
+
type: {
|
|
84
|
+
summary: 'plain text',
|
|
85
|
+
},
|
|
86
|
+
}
|
|
87
|
+
}
|
|
77
88
|
},
|
|
78
89
|
};
|
|
79
90
|
|
|
80
|
-
const Template = args => {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
const Template = args => { return html`<ptc-link
|
|
92
|
+
disabled=${args.disabled}
|
|
93
|
+
external=${args.external}
|
|
94
|
+
font-size=${args.fontSize}
|
|
95
|
+
font-weight=${args.fontWeight}
|
|
96
|
+
href=${args.href}
|
|
97
|
+
link-area=${args.linkArea}
|
|
98
|
+
link-title=${args.linkTitle}
|
|
99
|
+
target=${args.target}
|
|
100
|
+
theme=${args.theme}
|
|
101
|
+
>
|
|
102
|
+
${args.slotContent}
|
|
103
|
+
</ptc-link>`;
|
|
93
104
|
};
|
|
94
105
|
|
|
95
106
|
export const Example = Template.bind({});
|
|
@@ -104,4 +115,5 @@ Example.args = {
|
|
|
104
115
|
linkTitle: 'Title attribute goes here',
|
|
105
116
|
target: '_blank',
|
|
106
117
|
theme: 'simple',
|
|
118
|
+
slotContent:'Link text goes here',
|
|
107
119
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Molecules/ptc-minimized-footer',
|
|
5
|
+
tags: [ 'autodocs' ]
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
const Template = () => { return html `<ptc-minimized-footer class="ptc-min-footer mini-footer">
|
|
9
|
+
<list-item class="list-footer list-primary">© Copyright 2022 PTC</list-item>
|
|
10
|
+
<list-item class="list-footer list-primary" link-target="_blank" link-href=https://www.ptc.com/en/documents/policies>Legal</list-item>
|
|
11
|
+
<list-item class="list-footer list-primary" link-target="_blank" link-href=https://www.ptc.com/en/about/trust-center>Trust Center</list-item>
|
|
12
|
+
<list-item class="list-footer list-primary" link-target="_blank" link-href=https://www.ptc.com/en/documents/policies/privacy>Privacy Policy</list-item>
|
|
13
|
+
<list-item class="list-footer navbar--preheader-links homepage-secondary-link popup-link ot-sdk-show-settings list-primary hydrated" link-href="#">Cookies Settings</list-item>
|
|
14
|
+
</ptc-minimized-footer>
|
|
15
|
+
`;}
|
|
16
|
+
|
|
17
|
+
export const Example = Template.bind({});
|
|
18
|
+
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
|
+
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
2
3
|
|
|
3
4
|
export default {
|
|
4
5
|
title: 'Atoms/ptc-para',
|
|
@@ -45,18 +46,24 @@ export default {
|
|
|
45
46
|
description: 'Paragraph Margin',
|
|
46
47
|
defaultValue: { summary: 'undefined' }
|
|
47
48
|
},
|
|
48
|
-
|
|
49
|
-
// control: 'select',
|
|
50
|
-
// options: ["announcement", "default", "flush-style", "intro", "main", "small"],
|
|
51
|
-
// description: 'Paragraph Style',
|
|
52
|
-
// defaultValue: { summary: 'default' }
|
|
53
|
-
// },
|
|
49
|
+
|
|
54
50
|
paraZIndex: {
|
|
55
51
|
control: 'select',
|
|
56
52
|
options: ["z-1", "z-2", "z-3", "z-99", "z-999", "z-auto"],
|
|
57
53
|
description: 'sep z-index',
|
|
58
54
|
defaultValue: { summary: 'undefined' }
|
|
59
55
|
},
|
|
56
|
+
slotContent: {
|
|
57
|
+
name: 'Default Slot',
|
|
58
|
+
description: 'Text Content between the <ptc-para> tags.',
|
|
59
|
+
control: 'text',
|
|
60
|
+
table: {
|
|
61
|
+
category: 'Default Slot',
|
|
62
|
+
type: {
|
|
63
|
+
summary: 'html',
|
|
64
|
+
},
|
|
65
|
+
}
|
|
66
|
+
}
|
|
60
67
|
// styles: {
|
|
61
68
|
// control: '',
|
|
62
69
|
// description: '(optional) Injected CSS Styles',
|
|
@@ -65,7 +72,7 @@ export default {
|
|
|
65
72
|
}
|
|
66
73
|
};
|
|
67
74
|
|
|
68
|
-
let paragraphContent = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
|
|
75
|
+
//let paragraphContent = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
|
|
69
76
|
|
|
70
77
|
const Template = args => { return html `<ptc-para
|
|
71
78
|
ellipsis-line-cutoff=${args.ellipsisLineCutoff}
|
|
@@ -78,7 +85,9 @@ const Template = args => { return html `<ptc-para
|
|
|
78
85
|
para-style=${args.paraStyle}
|
|
79
86
|
para-z-index=${args.paraZIndex}
|
|
80
87
|
styles=${args.styles}
|
|
81
|
-
|
|
88
|
+
>
|
|
89
|
+
${unsafeHTML(args.slotContent)}
|
|
90
|
+
</ptc-para>`;}
|
|
82
91
|
|
|
83
92
|
export const Example = Template.bind({});
|
|
84
93
|
|
|
@@ -90,7 +99,6 @@ Example.args = {
|
|
|
90
99
|
paraColor: 'primary-grey',
|
|
91
100
|
paraLineH: 'line-height-normal',
|
|
92
101
|
paraMargin: 'margin-5',
|
|
93
|
-
|
|
102
|
+
slotContent:'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
|
|
94
103
|
paraZIndex: 'z-1',
|
|
95
|
-
// styles: 'undefined'
|
|
96
104
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Utilities/Responsive Wrapper',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
const Template = args => { return html `<ptc-responsive-wrapper>
|
|
9
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
10
|
+
</ptc-responsive-wrapper>`;}
|
|
11
|
+
|
|
12
|
+
export const Example = Template.bind({});
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
Example.parameters = {
|
|
16
|
+
docs: {
|
|
17
|
+
description: {
|
|
18
|
+
story: `<h4>Please note: This atom is based on the content’s width</h4>`,
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
};
|
|
@@ -6,27 +6,27 @@ export default {
|
|
|
6
6
|
argTypes: {
|
|
7
7
|
disabled: {
|
|
8
8
|
control: 'boolean',
|
|
9
|
-
description: '',
|
|
9
|
+
description: 'Disable the field?',
|
|
10
10
|
defaultValue: { summary: 'false' },
|
|
11
11
|
},
|
|
12
12
|
helpertext: {
|
|
13
13
|
control: 'text',
|
|
14
|
-
description: '',
|
|
14
|
+
description: 'Help text',
|
|
15
15
|
defaultValue: { summary: 'Please select a value!' },
|
|
16
16
|
},
|
|
17
17
|
isRequired: {
|
|
18
18
|
control: 'boolean',
|
|
19
|
-
description: '',
|
|
19
|
+
description: 'Is this field required?',
|
|
20
20
|
defaultValue: { summary: 'true' },
|
|
21
21
|
},
|
|
22
22
|
label: {
|
|
23
23
|
control: 'text',
|
|
24
|
-
description: '',
|
|
24
|
+
description: 'Label text',
|
|
25
25
|
defaultValue: { summary: 'undefined' },
|
|
26
26
|
},
|
|
27
27
|
name: {
|
|
28
28
|
control: 'text',
|
|
29
|
-
description: '',
|
|
29
|
+
description: 'Name attribute',
|
|
30
30
|
defaultValue: { summary: 'undefined' },
|
|
31
31
|
},
|
|
32
32
|
ptcDataEloquaName: {
|
|
@@ -34,7 +34,6 @@ export default {
|
|
|
34
34
|
description: 'Eloqua Data',
|
|
35
35
|
defaultValue: { summary: 'undefined' },
|
|
36
36
|
},
|
|
37
|
-
selectedValue: { control: 'text', description: '', defaultValue: { summary: '' } },
|
|
38
37
|
},
|
|
39
38
|
};
|
|
40
39
|
|
|
@@ -46,7 +45,6 @@ const Template = args => {
|
|
|
46
45
|
label=${args.label}
|
|
47
46
|
name=${args.name}
|
|
48
47
|
ptc-data-eloqua-name=${args.ptcDataEloquaName}
|
|
49
|
-
selected-value=${args.selectedValue}
|
|
50
48
|
>
|
|
51
49
|
<ul class="mdc-list">
|
|
52
50
|
<li class="mdc-list-item" data-value="">
|
|
@@ -77,5 +75,4 @@ Example.args = {
|
|
|
77
75
|
label: 'Lable Name',
|
|
78
76
|
name: 'examplename',
|
|
79
77
|
ptcDataEloquaName: 'data-eloqua-value',
|
|
80
|
-
selectedValue: '',
|
|
81
78
|
};
|
|
@@ -4,79 +4,122 @@ export default {
|
|
|
4
4
|
title: 'Atoms/ptc-textfield',
|
|
5
5
|
tags: [ 'autodocs' ],
|
|
6
6
|
argTypes: {
|
|
7
|
+
alertText: {
|
|
8
|
+
control: 'text',
|
|
9
|
+
description: 'Alert text (blue)',
|
|
10
|
+
defaultValue: { summary: '' }
|
|
11
|
+
},
|
|
12
|
+
alertTextContent: {
|
|
13
|
+
control: 'text',
|
|
14
|
+
description: 'Alert text content - below alert text (grey)',
|
|
15
|
+
defaultValue: { summary: '' }
|
|
16
|
+
},
|
|
7
17
|
disabled: {
|
|
8
18
|
control: 'boolean',
|
|
9
|
-
description: '',
|
|
19
|
+
description: 'Disable the field?',
|
|
10
20
|
defaultValue: { summary: 'false' }
|
|
11
21
|
},
|
|
12
22
|
fieldId: {
|
|
13
23
|
control: 'text',
|
|
14
|
-
description: '',
|
|
15
|
-
defaultValue: { summary: '
|
|
24
|
+
description: 'ID',
|
|
25
|
+
defaultValue: { summary: '' }
|
|
16
26
|
},
|
|
17
|
-
|
|
27
|
+
fieldName: {
|
|
18
28
|
control: 'text',
|
|
19
|
-
description: '',
|
|
20
|
-
defaultValue: { summary: '
|
|
29
|
+
description: 'input "name" value. e.g.: phone, email, firstname, lastname',
|
|
30
|
+
defaultValue: { summary: 'email' }
|
|
31
|
+
},
|
|
32
|
+
helpertext: { control: 'text', description: 'Validation text (red)', defaultValue: { summary: '' } },
|
|
33
|
+
ignoreBlindSubmit: {
|
|
34
|
+
control: 'boolean',
|
|
35
|
+
description: 'Ignore Blind Submit?',
|
|
36
|
+
defaultValue: { summary: 'false' }
|
|
21
37
|
},
|
|
22
|
-
|
|
38
|
+
infoText: {
|
|
39
|
+
control: 'text',
|
|
40
|
+
description: 'Info Text (black)',
|
|
41
|
+
defaultValue: { summary: '' }
|
|
42
|
+
},
|
|
43
|
+
// inputValue: { control: 'text', description: '', defaultValue: { summary: '' } },
|
|
23
44
|
labelText: {
|
|
24
45
|
control: 'text',
|
|
25
|
-
description: '',
|
|
46
|
+
description: 'Label Text',
|
|
26
47
|
defaultValue: { summary: 'Email' }
|
|
27
48
|
},
|
|
28
|
-
|
|
49
|
+
placeholderText: {
|
|
29
50
|
control: 'text',
|
|
30
|
-
description: '',
|
|
31
|
-
defaultValue: { summary: '
|
|
51
|
+
description: 'Place holder Text',
|
|
52
|
+
defaultValue: { summary: '' }
|
|
32
53
|
},
|
|
33
54
|
ptcDataEloquaName: {
|
|
34
55
|
control: 'text',
|
|
35
|
-
description: '',
|
|
36
|
-
defaultValue: { summary: '
|
|
56
|
+
description: 'Eloqua Data Name (for the eloqua)',
|
|
57
|
+
defaultValue: { summary: '' }
|
|
58
|
+
},
|
|
59
|
+
ptcDataTargetEloquaName: {
|
|
60
|
+
control: 'text',
|
|
61
|
+
description: 'Eloqua Target Data Name (for the eloqua)',
|
|
62
|
+
defaultValue: { summary: '' }
|
|
37
63
|
},
|
|
38
64
|
ptcMaxLength: {
|
|
39
|
-
control: '',
|
|
40
|
-
description: '',
|
|
41
|
-
defaultValue: { summary: '
|
|
65
|
+
control: 'number',
|
|
66
|
+
description: 'Text counter limit',
|
|
67
|
+
defaultValue: { summary: '' }
|
|
42
68
|
},
|
|
43
69
|
required: {
|
|
44
70
|
control: 'boolean',
|
|
45
|
-
description: '',
|
|
71
|
+
description: 'Is this a mandatory field?',
|
|
46
72
|
defaultValue: { summary: 'true' }
|
|
47
73
|
},
|
|
74
|
+
styles: {
|
|
75
|
+
control: 'text',
|
|
76
|
+
description: 'Inject styles for customization',
|
|
77
|
+
defaultValue: { summary: '' }
|
|
78
|
+
},
|
|
48
79
|
type: {
|
|
49
80
|
control: 'text',
|
|
50
|
-
description: 'button, email, file and etc. ',
|
|
81
|
+
description: 'text, button, email, file and etc. This value triggers different validation',
|
|
51
82
|
defaultValue: { summary: 'text' }
|
|
52
83
|
}
|
|
53
84
|
}
|
|
54
85
|
};
|
|
55
86
|
|
|
56
87
|
const Template = args => { return html `<ptc-textfield
|
|
88
|
+
alert-text=${args.alertText}
|
|
89
|
+
alert-text-content=${args.alertTextContent}
|
|
57
90
|
disabled=${args.disabled}
|
|
58
91
|
field-id=${args.fieldId}
|
|
92
|
+
field-name=${args.fieldName}
|
|
59
93
|
helpertext=${args.helpertext}
|
|
60
|
-
|
|
94
|
+
ignore-blind-submit=${args.ignoreBlindSubmit}
|
|
95
|
+
info-text=${args.infoText}
|
|
61
96
|
label-text=${args.labelText}
|
|
62
|
-
|
|
97
|
+
placeholder-text=${args.placeholderText}
|
|
63
98
|
ptc-data-eloqua-name=${args.ptcDataEloquaName}
|
|
99
|
+
ptc-data-target-eloqua-name=${args.ptcDataTargetEloquaName}
|
|
64
100
|
ptc-max-length=${args.ptcMaxLength}
|
|
65
101
|
required=${args.required}
|
|
102
|
+
styles=${args.styles}
|
|
66
103
|
type=${args.type}
|
|
67
104
|
></ptc-textfield>`;}
|
|
68
105
|
|
|
69
106
|
export const Example = Template.bind({});
|
|
70
107
|
|
|
71
108
|
Example.args = {
|
|
109
|
+
alertText: 'Alert text',
|
|
110
|
+
alertTextContent: 'Alert text content',
|
|
72
111
|
disabled: 'false',
|
|
73
|
-
fieldId: '
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
112
|
+
fieldId: 'ID',
|
|
113
|
+
fieldName: 'company field',
|
|
114
|
+
helpertext: 'Helper text',
|
|
115
|
+
ignoreBlindSubmit: 'false',
|
|
116
|
+
infoText: 'Info text',
|
|
117
|
+
labelText: 'Lable Name',
|
|
118
|
+
placeholderText: 'Place hoder text goes here',
|
|
119
|
+
ptcDataEloquaName: 'C_EmailAddress',
|
|
120
|
+
ptcDataTargetEloquaName: '',
|
|
121
|
+
ptcMaxLength: '',
|
|
80
122
|
required: 'true',
|
|
81
|
-
|
|
123
|
+
styles: '',
|
|
124
|
+
type: 'text'
|
|
82
125
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
|
+
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
2
3
|
|
|
3
4
|
export default {
|
|
4
5
|
title: 'Atoms/ptc-title',
|
|
@@ -77,26 +78,36 @@ export default {
|
|
|
77
78
|
isPlmHub: {
|
|
78
79
|
description: "is it a title for PLM Hub page?",
|
|
79
80
|
defaultValue: {summary: false}
|
|
81
|
+
},
|
|
82
|
+
slotContent: {
|
|
83
|
+
name: 'Default Slot',
|
|
84
|
+
description: 'Text Content between the <ptc-title> tags.',
|
|
85
|
+
control: 'text',
|
|
86
|
+
table: {
|
|
87
|
+
category: 'Default Slot',
|
|
88
|
+
type: {
|
|
89
|
+
summary: 'html',
|
|
90
|
+
},
|
|
91
|
+
}
|
|
80
92
|
}
|
|
81
93
|
},
|
|
82
94
|
};
|
|
83
95
|
|
|
84
|
-
const Template = args => {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
</ptc-title>`;
|
|
96
|
+
const Template = args => {return html`<ptc-title
|
|
97
|
+
type="${args.type}"
|
|
98
|
+
text-align="${args.textAlign}"
|
|
99
|
+
title-size="${args.titleSize}"
|
|
100
|
+
title-color="${args.titleColor}"
|
|
101
|
+
upperline="${args.upperline}"
|
|
102
|
+
title-display="${args.titleDisplay}"
|
|
103
|
+
title-shadow="${args.titleShadow}"
|
|
104
|
+
title-height="${args.titleHeight}"
|
|
105
|
+
title-margin="${args.titleMargin}"
|
|
106
|
+
title-weight="${args.titleWeight}"
|
|
107
|
+
is-plm-hub="${args.isPlmHub}"
|
|
108
|
+
>
|
|
109
|
+
${unsafeHTML(args.slotContent)}
|
|
110
|
+
</ptc-title>`;
|
|
100
111
|
};
|
|
101
112
|
|
|
102
113
|
export const Example = Template.bind({});
|
|
@@ -112,4 +123,5 @@ Example.args = {
|
|
|
112
123
|
titleWeight: 'w-8',
|
|
113
124
|
titleShadow: '',
|
|
114
125
|
isPlmHub: false,
|
|
126
|
+
slotContent:'Lorem ipsum',
|
|
115
127
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Organisms/ptc/Academic Form'
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
const AlertsPage = args => {
|
|
8
|
+
return html`
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<academic-form-test id="myForm"></academic-form-test>
|
|
12
|
+
<script>
|
|
13
|
+
const myForm = document.getElementById('myForm');
|
|
14
|
+
myForm.addEventListener('formSubmit', (event) => {
|
|
15
|
+
const formData = event.detail;
|
|
16
|
+
console.olog('Form submitted: ', formData)
|
|
17
|
+
})
|
|
18
|
+
</script>
|
|
19
|
+
`;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const Preview = AlertsPage.bind();
|