@ptcwebops/ptcw-design 6.4.3 → 6.4.4-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/blog-detail-content_2.cjs.entry.js +1 -1
- package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
- package/dist/cjs/blogs-search-section.cjs.entry.js +5 -2
- package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +3 -1
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +4 -2
- package/dist/cjs/icon-asset.cjs.entry.js +1 -1
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +40 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/modal-form-example.cjs.entry.js +109 -0
- package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/ptc-announcement.cjs.entry.js +2 -1
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ptc-background-video.cjs.entry.js +92 -28
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-button_5.cjs.entry.js +597 -0
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +3 -1
- package/dist/cjs/ptc-card_2.cjs.entry.js +5 -4
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +24 -24
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
- package/dist/cjs/ptc-date.cjs.entry.js +1 -1
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +724 -6
- package/dist/cjs/ptc-form-radio-button.cjs.entry.js +0 -13
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-img.cjs.entry.js +87 -7
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +11 -5
- package/dist/cjs/ptc-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-media-card.cjs.entry.js +74 -6
- package/dist/cjs/ptc-modal-quiz.cjs.entry.js +4 -1
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-preloader.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -2
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +27 -11
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +1 -1
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +19 -9
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/{utils-b63aef52.js → utils-0ff09a53.js} +13 -0
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +3 -1
- package/dist/collection/components/icon-asset/icon-asset.css +0 -8
- package/dist/collection/components/icon-asset/icon-asset.js +2 -2
- package/dist/collection/components/icon-asset/media/designer-v6.0.7.svg +30 -2
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +24 -0
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +39 -3
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +4 -1
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +5 -4
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +114 -0
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +3 -1
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +2 -1
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +0 -1
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +21 -0
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +103 -43
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +24 -0
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +3 -1
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +24 -0
- package/dist/collection/components/ptc-date/ptc-date.js +2 -2
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +24 -0
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +24 -0
- package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.js +2 -18
- package/dist/collection/components/ptc-img/ptc-img.css +76 -0
- package/dist/collection/components/ptc-img/ptc-img.js +132 -7
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +24 -0
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +28 -4
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +78 -7
- package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
- package/dist/collection/components/ptc-modal/ptc-modal.js +25 -25
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +4 -1
- package/dist/collection/components/ptc-para/ptc-para.css +3 -0
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +24 -0
- package/dist/collection/components/ptc-preloader/ptc-preloader.css +147 -111
- package/dist/collection/components/ptc-preloader/ptc-preloader.js +1 -1
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +14 -0
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -3
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +28 -1
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +26 -10
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +24 -0
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +24 -0
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +24 -0
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +24 -0
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +24 -0
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +6 -0
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +19 -0
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +3 -5
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +24 -0
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +24 -0
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +27 -3
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +18 -8
- package/dist/collection/stories/Announcement.stories.js +7 -0
- package/dist/collection/stories/BackgroundImage.stories.js +7 -0
- package/dist/collection/stories/Breadcrumb.stories.js +37 -44
- package/dist/collection/stories/Breadcrumb2.stories.js +62 -0
- package/dist/collection/stories/BrightcovVideo.stories.js +21 -0
- package/dist/collection/stories/Button.stories.js +204 -0
- package/dist/collection/stories/CardWrapper.stories.js +32 -0
- package/dist/collection/stories/Checkbox.stories.js +21 -0
- package/dist/collection/stories/CheckboxGroup.stories.js +27 -0
- package/dist/collection/stories/CloseIcon.stories.js +10 -0
- package/dist/collection/stories/CollapseList.stories.js +14 -0
- package/dist/collection/stories/Countdown.stories.js +6 -67
- package/dist/collection/stories/DataLookup.stories.js +21 -0
- package/dist/collection/stories/Date.stories.js +42 -26
- package/dist/collection/stories/EllipsisDropdown.stories.js +14 -0
- package/dist/collection/stories/FormCheckbox.stories.js +3 -3
- package/dist/collection/stories/FormRadioButton.stories.js +3 -3
- package/dist/collection/stories/Hero.stories.js +35 -0
- package/dist/collection/stories/HeroFooterCTA.stories.js +21 -0
- package/dist/collection/stories/Icon.stories.js +30 -6
- package/dist/collection/stories/Jumbotron.stories.js +36 -0
- package/dist/collection/stories/Link.stories.js +3 -3
- package/dist/collection/stories/ListItem.stories.js +7 -1
- package/dist/collection/stories/MinimizedFooter.stories.js +18 -0
- package/dist/collection/stories/MinimizedHeader.stories.js +37 -0
- package/dist/collection/stories/MobileSelect.stories.js +1 -1
- package/dist/collection/stories/MultiSelect.stories.js +10 -0
- package/dist/collection/stories/Paragraph.stories.js +104 -0
- package/dist/collection/stories/ReadMore.stories.js +100 -0
- package/dist/collection/stories/ReadmoreV2.stories.js +37 -0
- package/dist/collection/stories/ScrollButton.stories.js +14 -0
- package/dist/collection/stories/SearchField.stories.js +21 -0
- package/dist/collection/stories/Select.stories.js +21 -33
- package/dist/collection/stories/SocialShare.stories.js +83 -0
- package/dist/collection/stories/Span.stories.js +10 -4
- package/dist/collection/stories/SvgBtn.stories.js +36 -0
- package/dist/collection/stories/SvgButton.stories.js +1 -1
- package/dist/collection/stories/TextCopyWithBackground.stories.js +100 -0
- package/dist/collection/stories/Textfield.stories.js +14 -0
- package/dist/collection/stories/TheaterVideo.stories.js +21 -0
- package/dist/collection/stories/Title.stories.js +127 -0
- package/dist/collection/stories/Tooltip.stories.js +112 -0
- package/dist/collection/stories/VideoEmbed.stories.js +10 -0
- package/dist/collection/stories/backToTop.stories.js +10 -0
- package/dist/collection/stories/backgroundVideo.stories.js +115 -0
- package/dist/collection/stories/jumbotronSubMenu.stories.js +14 -0
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
- package/dist/collection/stories/ptcLink2.stories.js +142 -0
- package/dist/collection/utils/utils.js +11 -0
- package/dist/custom-elements/index.d.ts +6 -12
- package/dist/custom-elements/index.js +8043 -7952
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +5 -2
- package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
- package/dist/esm/dynamic-box-bundle.entry.js +3 -1
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +1 -1
- package/dist/esm/homepage-toggled-content.entry.js +4 -2
- package/dist/esm/icon-asset.entry.js +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +40 -4
- package/dist/esm/{interfaces-4caedd26.js → interfaces-7c0243be.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/modal-form-example.entry.js +105 -0
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +2 -1
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +92 -28
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/ptc-button_5.entry.js +589 -0
- package/dist/esm/ptc-card-bottom_2.entry.js +3 -1
- package/dist/esm/ptc-card_2.entry.js +5 -4
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +24 -24
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +1 -2
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +723 -7
- package/dist/esm/ptc-form-radio-button.entry.js +0 -13
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +1 -1
- package/dist/esm/ptc-img.entry.js +88 -8
- package/dist/esm/ptc-jumbotron.entry.js +11 -5
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +74 -6
- package/dist/esm/ptc-modal-quiz.entry.js +4 -1
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-preloader.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +11 -2
- package/dist/esm/ptc-pricing-packaging-table.entry.js +27 -11
- package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
- package/dist/esm/ptc-product-card.entry.js +1 -1
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.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-skeleton.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
- 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 +19 -9
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/{utils-2f12c081.js → utils-a64ba942.js} +12 -1
- package/dist/ptcw-design/media/designer-v6.0.7.svg +30 -2
- package/dist/ptcw-design/{p-9dbcfcee.entry.js → p-01497d7a.entry.js} +1 -1
- package/dist/ptcw-design/p-043be054.entry.js +1 -0
- package/dist/ptcw-design/{p-257267e3.entry.js → p-0df868d2.entry.js} +1 -1
- package/dist/ptcw-design/p-1519b36f.entry.js +1 -0
- package/dist/ptcw-design/{p-fe8392c4.entry.js → p-1c52250d.entry.js} +1 -1
- package/dist/ptcw-design/p-1e3bf09c.entry.js +1 -0
- package/dist/ptcw-design/p-22cf00e7.js +1 -0
- package/dist/ptcw-design/p-2670ac97.entry.js +1 -0
- package/dist/ptcw-design/p-2b89cc16.entry.js +1 -0
- package/dist/ptcw-design/{p-d0fb9bfb.entry.js → p-2f21b69b.entry.js} +1 -1
- package/dist/ptcw-design/{p-4b41fe4e.entry.js → p-312c41b8.entry.js} +1 -1
- package/dist/ptcw-design/p-349f43d5.entry.js +1 -0
- package/dist/ptcw-design/p-390c0dee.entry.js +1 -0
- package/dist/ptcw-design/{p-a3868e6a.entry.js → p-3a40c41f.entry.js} +1 -1
- package/dist/ptcw-design/{p-45b1f3fc.entry.js → p-456c5cbb.entry.js} +1 -1
- package/dist/ptcw-design/p-4c852c9c.entry.js +1 -0
- package/dist/ptcw-design/p-50308f02.entry.js +1 -0
- package/dist/ptcw-design/{p-c3022c48.entry.js → p-54b589a6.entry.js} +1 -1
- package/dist/ptcw-design/{p-9b0df204.entry.js → p-5877f093.entry.js} +1 -1
- package/dist/ptcw-design/{p-78370e3d.entry.js → p-5a8e7557.entry.js} +1 -1
- package/dist/ptcw-design/p-5c81c755.entry.js +1 -0
- package/dist/ptcw-design/{p-901c31b3.entry.js → p-5cf5b9f8.entry.js} +1 -1
- package/dist/ptcw-design/p-672a349f.js +336 -0
- package/dist/ptcw-design/p-684ef1e5.entry.js +1 -0
- package/dist/ptcw-design/{p-2a3c8a30.entry.js → p-7235425a.entry.js} +1 -1
- package/dist/ptcw-design/p-74097f89.entry.js +1 -0
- package/dist/ptcw-design/p-799afee5.entry.js +1 -0
- package/dist/ptcw-design/{p-f7c47857.entry.js → p-81bcde85.entry.js} +1 -1
- package/dist/ptcw-design/{p-a5fc048f.entry.js → p-82f766d2.entry.js} +1 -1
- package/dist/ptcw-design/{p-37f92bb4.entry.js → p-884c335c.entry.js} +1 -1
- package/dist/ptcw-design/{p-76dab076.entry.js → p-8aca7181.entry.js} +1 -1
- package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
- package/dist/ptcw-design/{p-52e17d34.entry.js → p-92ad78c5.entry.js} +1 -1
- package/dist/ptcw-design/p-938db2fd.entry.js +68 -0
- package/dist/ptcw-design/p-af831c13.entry.js +1 -0
- package/dist/ptcw-design/p-b684ca9d.entry.js +1 -0
- package/dist/ptcw-design/{p-abadbe5b.entry.js → p-bd9d995b.entry.js} +1 -1
- package/dist/ptcw-design/p-c09a8288.entry.js +1 -0
- package/dist/ptcw-design/{p-8c121480.entry.js → p-c160bda4.entry.js} +1 -1
- package/dist/ptcw-design/p-c555a45c.entry.js +1 -0
- package/dist/ptcw-design/p-cb0e3ec2.entry.js +1 -0
- package/dist/ptcw-design/{p-db0fc94d.entry.js → p-d3ac3758.entry.js} +1 -1
- package/dist/ptcw-design/{p-23cb5b5b.entry.js → p-db1dcce0.entry.js} +1 -1
- package/dist/ptcw-design/p-dc85c302.entry.js +1 -0
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/p-dec9c2a0.entry.js +1 -0
- package/dist/ptcw-design/p-e196f008.entry.js +1 -0
- package/dist/ptcw-design/{p-54f5a5be.entry.js → p-e23bc4a1.entry.js} +1 -1
- package/dist/ptcw-design/{p-81e5fa38.entry.js → p-e784a338.entry.js} +1 -1
- package/dist/ptcw-design/{p-711bcdad.js → p-ee1183b2.js} +1 -1
- package/dist/ptcw-design/{p-9f01419b.entry.js → p-f2675bb0.entry.js} +1 -1
- package/dist/ptcw-design/{p-5dec76bd.entry.js → p-f57f32ee.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +4 -3
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/icon-asset/icon-asset.d.ts +1 -1
- package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +3 -0
- package/dist/types/components/organism-bundles/blogs-search-section/blogs-search-section.d.ts +1 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +31 -47
- package/dist/types/components/ptc-form-radio-button/ptc-form-radio-button.d.ts +0 -2
- package/dist/types/components/ptc-img/ptc-img.d.ts +29 -1
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +4 -0
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +8 -2
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +1 -1
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components.d.ts +139 -130
- package/dist/types/utils/utils.d.ts +2 -0
- package/package.json +1 -1
- package/readme.md +5 -1
- package/dist/cjs/buying-option-card.cjs.entry.js +0 -184
- package/dist/cjs/buying-option-cards-slider.cjs.entry.js +0 -140
- package/dist/cjs/component-1b8ad4d2.js +0 -1819
- package/dist/cjs/ptc-button.cjs.entry.js +0 -117
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
- package/dist/cjs/ptc-para.cjs.entry.js +0 -139
- package/dist/cjs/ptc-picture.cjs.entry.js +0 -168
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/cjs/ptc-title.cjs.entry.js +0 -161
- package/dist/collection/components/buying-option-card/buying-option-card.css +0 -124
- package/dist/collection/components/buying-option-card/buying-option-card.js +0 -227
- package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.css +0 -1148
- package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.js +0 -135
- package/dist/collection/stories/organisms/ptc/Buying Options Cards Slider/preview.stories.js +0 -264
- package/dist/esm/buying-option-card.entry.js +0 -180
- package/dist/esm/buying-option-cards-slider.entry.js +0 -136
- package/dist/esm/component-9beac35b.js +0 -1802
- package/dist/esm/ptc-button.entry.js +0 -113
- package/dist/esm/ptc-multi-select_2.entry.js +0 -725
- package/dist/esm/ptc-para.entry.js +0 -135
- package/dist/esm/ptc-picture.entry.js +0 -164
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/esm/ptc-title.entry.js +0 -157
- package/dist/ptcw-design/p-009fbf1f.entry.js +0 -1
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-0a7cc9e4.entry.js +0 -1
- package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
- package/dist/ptcw-design/p-19a407ff.entry.js +0 -68
- package/dist/ptcw-design/p-1f15239e.entry.js +0 -1
- package/dist/ptcw-design/p-214d9da6.entry.js +0 -1
- package/dist/ptcw-design/p-24776ca2.entry.js +0 -1
- package/dist/ptcw-design/p-2bfd8371.entry.js +0 -1
- package/dist/ptcw-design/p-2e6e2a9d.entry.js +0 -1
- package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
- package/dist/ptcw-design/p-38e5e590.entry.js +0 -1
- package/dist/ptcw-design/p-3ed4a7ed.entry.js +0 -1
- package/dist/ptcw-design/p-56a73429.entry.js +0 -1
- package/dist/ptcw-design/p-605b13a2.entry.js +0 -1
- package/dist/ptcw-design/p-64026649.entry.js +0 -1
- package/dist/ptcw-design/p-80122e26.js +0 -1
- package/dist/ptcw-design/p-8cea8943.entry.js +0 -1
- package/dist/ptcw-design/p-9493dfa0.entry.js +0 -1
- package/dist/ptcw-design/p-96163196.entry.js +0 -1
- package/dist/ptcw-design/p-9681188f.entry.js +0 -1
- package/dist/ptcw-design/p-98426799.js +0 -203
- package/dist/ptcw-design/p-98844b50.js +0 -134
- package/dist/ptcw-design/p-a7ac0ecb.entry.js +0 -1
- package/dist/ptcw-design/p-a8872ce3.entry.js +0 -1
- package/dist/ptcw-design/p-abca6130.entry.js +0 -1
- package/dist/ptcw-design/p-b44f4fb1.entry.js +0 -1
- package/dist/ptcw-design/p-bbbfd2e5.entry.js +0 -1
- package/dist/ptcw-design/p-c6431ebc.entry.js +0 -1
- package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
- package/dist/ptcw-design/p-d51438de.entry.js +0 -1
- package/dist/ptcw-design/p-d875f96d.entry.js +0 -1
- package/dist/ptcw-design/p-e4eb925f.entry.js +0 -1
- package/dist/types/components/buying-option-card/buying-option-card.d.ts +0 -44
- package/dist/types/components/buying-option-cards-slider/buying-option-cards-slider.d.ts +0 -10
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'New/ptc-search-field',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
argTypes: {
|
|
7
|
+
styles: {
|
|
8
|
+
description: ' (optional) Injected CSS styles ',
|
|
9
|
+
defaultValue: { summary: '' },
|
|
10
|
+
control: 'text'
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
const Template = (args) => {
|
|
15
|
+
return html`<ptc-search-field
|
|
16
|
+
styles=${args.styles}
|
|
17
|
+
>
|
|
18
|
+
</ptc-search-field>`;
|
|
19
|
+
};
|
|
20
|
+
export const Example = Template.bind({});
|
|
21
|
+
Example.args = { styles: '' };
|
|
@@ -1,39 +1,27 @@
|
|
|
1
|
-
import { html } from
|
|
2
|
-
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
1
|
+
import { html } from 'lit';
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
title: 'New/ptc-select',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
argTypes: {
|
|
7
|
+
ptcDataEloquaName: {
|
|
8
|
+
description: ' Eloqua Data',
|
|
9
|
+
defaultValue: { summary: '' },
|
|
10
|
+
control: 'text'
|
|
11
|
+
},
|
|
12
|
+
default: {
|
|
13
|
+
description: 'Default slot content',
|
|
14
|
+
control: 'text',
|
|
15
|
+
table: { category: 'slots' }
|
|
16
|
+
}
|
|
17
|
+
}
|
|
14
18
|
};
|
|
15
19
|
const Template = (args) => {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
ptcDataEloquaName=${args.ptcDataEloquaName}
|
|
22
|
-
>
|
|
23
|
-
<ul class="mdc-list">
|
|
24
|
-
<li class="mdc-list-item" data-value="">
|
|
25
|
-
<span class="mdc-list-item__ripple"></span>
|
|
26
|
-
</li>
|
|
27
|
-
<li class="mdc-list-item" data-value="USA">
|
|
28
|
-
<span class="mdc-list-item__ripple"></span>
|
|
29
|
-
<span class="mdc-list-item__text"> USA </span>
|
|
30
|
-
</li>
|
|
31
|
-
<li class="mdc-list-item" data-value="Canada">
|
|
32
|
-
<span class="mdc-list-item__ripple"></span>
|
|
33
|
-
<span class="mdc-list-item__text"> Canada </span>
|
|
34
|
-
</li>
|
|
35
|
-
</ul>
|
|
36
|
-
</ptc-select>`;
|
|
20
|
+
return html`<ptc-select
|
|
21
|
+
ptcDataEloquaName=${args.ptcDataEloquaName}
|
|
22
|
+
>
|
|
23
|
+
${args.default}
|
|
24
|
+
</ptc-select>`;
|
|
37
25
|
};
|
|
38
26
|
export const Example = Template.bind({});
|
|
39
|
-
Example.args = { ptcDataEloquaName:
|
|
27
|
+
Example.args = { ptcDataEloquaName: '', default: 'Lorem ipsum text' };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'New/ptc-social-share',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
argTypes: {
|
|
7
|
+
source: {
|
|
8
|
+
description: ' Optional - source for linkedin',
|
|
9
|
+
defaultValue: { summary: '' },
|
|
10
|
+
control: 'text'
|
|
11
|
+
},
|
|
12
|
+
recipient: {
|
|
13
|
+
description: ' Email recipient. If you want to use mail share, you need to use this property',
|
|
14
|
+
defaultValue: { summary: '' },
|
|
15
|
+
control: 'text'
|
|
16
|
+
},
|
|
17
|
+
iconColor: {
|
|
18
|
+
description: ' Icon asset color',
|
|
19
|
+
defaultValue: { summary: 'white' },
|
|
20
|
+
control: 'select',
|
|
21
|
+
options: [
|
|
22
|
+
'black',
|
|
23
|
+
'white',
|
|
24
|
+
'ptc-green',
|
|
25
|
+
'gray',
|
|
26
|
+
'primary-gray',
|
|
27
|
+
'inherit'
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
iconHoverColor: {
|
|
31
|
+
description: ' Icon asset hover color',
|
|
32
|
+
defaultValue: { summary: 'gray' },
|
|
33
|
+
control: 'select',
|
|
34
|
+
options: [
|
|
35
|
+
'black',
|
|
36
|
+
'white',
|
|
37
|
+
'ptc-green',
|
|
38
|
+
'gray',
|
|
39
|
+
'primary-gray',
|
|
40
|
+
'inherit'
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
iconSize: {
|
|
44
|
+
description: ' is hover or not / @State() isHover: boolean = false; / Icon Size',
|
|
45
|
+
defaultValue: { summary: 'large' },
|
|
46
|
+
control: 'select',
|
|
47
|
+
options: [
|
|
48
|
+
'small',
|
|
49
|
+
'medium',
|
|
50
|
+
'large',
|
|
51
|
+
'x-large',
|
|
52
|
+
'xx-large',
|
|
53
|
+
'xxx-large',
|
|
54
|
+
'xxxx-large'
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
darkFocusState: {
|
|
58
|
+
description: ' darkFocusState for dark background',
|
|
59
|
+
defaultValue: { summary: 'false' },
|
|
60
|
+
control: 'boolean'
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
const Template = (args) => {
|
|
65
|
+
return html`<ptc-social-share
|
|
66
|
+
source=${args.source}
|
|
67
|
+
recipient=${args.recipient}
|
|
68
|
+
iconColor=${args.iconColor}
|
|
69
|
+
iconHoverColor=${args.iconHoverColor}
|
|
70
|
+
iconSize=${args.iconSize}
|
|
71
|
+
darkFocusState=${args.darkFocusState}
|
|
72
|
+
>
|
|
73
|
+
</ptc-social-share>`;
|
|
74
|
+
};
|
|
75
|
+
export const Example = Template.bind({});
|
|
76
|
+
Example.args = {
|
|
77
|
+
source: '',
|
|
78
|
+
recipient: '',
|
|
79
|
+
iconColor: 'white',
|
|
80
|
+
iconHoverColor: 'gray',
|
|
81
|
+
iconSize: 'large',
|
|
82
|
+
darkFocusState: 'false'
|
|
83
|
+
};
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
tags: [ 'autodocs' ],
|
|
6
6
|
argTypes: {
|
|
7
7
|
display: {
|
|
8
|
-
description: "Display
|
|
8
|
+
description: "Display",
|
|
9
9
|
defaultValue: { summary: 'inline' },
|
|
10
10
|
control: 'select',
|
|
11
11
|
options: [ 'block', 'inline-block', 'inline' ]
|
|
@@ -21,6 +21,11 @@ export default {
|
|
|
21
21
|
'w-9'
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
|
+
styles: {
|
|
25
|
+
description: ' Injected Styles',
|
|
26
|
+
defaultValue: { summary: '' },
|
|
27
|
+
control: 'text'
|
|
28
|
+
},
|
|
24
29
|
default: {
|
|
25
30
|
description: 'Default slot content',
|
|
26
31
|
control: 'text',
|
|
@@ -30,9 +35,9 @@ export default {
|
|
|
30
35
|
};
|
|
31
36
|
const Template = (args) => {
|
|
32
37
|
return html`<ptc-span
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
display=${args.display}
|
|
39
|
+
fontWeight=${args.fontWeight}
|
|
40
|
+
styles=${args.styles}
|
|
36
41
|
>
|
|
37
42
|
${args.default}
|
|
38
43
|
</ptc-span>`;
|
|
@@ -41,5 +46,6 @@ export const Example = Template.bind({});
|
|
|
41
46
|
Example.args = {
|
|
42
47
|
display: 'inline',
|
|
43
48
|
fontWeight: 'w-4',
|
|
49
|
+
styles: '',
|
|
44
50
|
default: 'Lorem ipsum text'
|
|
45
51
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'New/ptc-svg-btn',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
argTypes: {
|
|
7
|
+
svgName: {
|
|
8
|
+
description: ' Options: "close", "slider-left", "slider-right", "back-arrow"',
|
|
9
|
+
defaultValue: { summary: 'close' },
|
|
10
|
+
control: 'text'
|
|
11
|
+
},
|
|
12
|
+
display: {
|
|
13
|
+
description: ' Display',
|
|
14
|
+
defaultValue: { summary: 'block' },
|
|
15
|
+
control: 'select',
|
|
16
|
+
options: [ 'block', 'inline', 'inline-block', 'flex' ]
|
|
17
|
+
},
|
|
18
|
+
zIndex: {
|
|
19
|
+
description: ' Z-Index',
|
|
20
|
+
defaultValue: { summary: '' },
|
|
21
|
+
control: 'text'
|
|
22
|
+
},
|
|
23
|
+
styles: { description: ' Injected Styles', defaultValue: { summary: '' } }
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const Template = (args) => {
|
|
27
|
+
return html`<ptc-svg-btn
|
|
28
|
+
svgName=${args.svgName}
|
|
29
|
+
display=${args.display}
|
|
30
|
+
zIndex=${args.zIndex}
|
|
31
|
+
styles=${args.styles}
|
|
32
|
+
>
|
|
33
|
+
</ptc-svg-btn>`;
|
|
34
|
+
};
|
|
35
|
+
export const Example = Template.bind({});
|
|
36
|
+
Example.args = { svgName: 'close', display: 'block', zIndex: '', styles: '' };
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
display: {
|
|
9
9
|
control: { type: 'select' },
|
|
10
10
|
options: ["block", "flex", "inline", "inline-block"],
|
|
11
|
-
description: 'Display
|
|
11
|
+
description: 'Display',
|
|
12
12
|
defaultValue: { summary: "block" },
|
|
13
13
|
},
|
|
14
14
|
svgName: {
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'New/ptc-text-copy-with-background',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
argTypes: {
|
|
7
|
+
type: {
|
|
8
|
+
description: ' Type Specify Type, default is text-copy-with-background',
|
|
9
|
+
defaultValue: { summary: 'text-copy-with-background' },
|
|
10
|
+
control: 'select',
|
|
11
|
+
options: [
|
|
12
|
+
'text-copy-with-background',
|
|
13
|
+
'hero-footer-cta',
|
|
14
|
+
'tab-cta-with-background',
|
|
15
|
+
'case-studies'
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
backgroundImage: {
|
|
19
|
+
description: ' Background image',
|
|
20
|
+
defaultValue: { summary: '' },
|
|
21
|
+
control: 'text'
|
|
22
|
+
},
|
|
23
|
+
ImageAltText: {
|
|
24
|
+
description: ' (optional) Image alt text',
|
|
25
|
+
defaultValue: { summary: '' },
|
|
26
|
+
control: 'text'
|
|
27
|
+
},
|
|
28
|
+
topSlitBackgroundColor: {
|
|
29
|
+
description: ' (optional) topSlitBackgroundColor: It will be color value which should match the background of the body. Entering in "auto" will grab the background color of the body on page load.',
|
|
30
|
+
defaultValue: { summary: '' },
|
|
31
|
+
control: 'text'
|
|
32
|
+
},
|
|
33
|
+
slitPosition: {
|
|
34
|
+
description: ' (optional) topSlitPosition: It will decide the position of .',
|
|
35
|
+
defaultValue: { summary: 'top-right' },
|
|
36
|
+
control: 'select',
|
|
37
|
+
options: [ 'top-left', 'top-right', 'bottom-left', 'bottom-right' ]
|
|
38
|
+
},
|
|
39
|
+
isBackgroundBlur: {
|
|
40
|
+
description: ' (optional) isBackgroundBlur: If true,it will add background blur image effect',
|
|
41
|
+
defaultValue: { summary: 'false' },
|
|
42
|
+
control: 'boolean'
|
|
43
|
+
},
|
|
44
|
+
overlay: {
|
|
45
|
+
description: ' (optional) overlay: If true,it will add black overlay with 0.55 opacity',
|
|
46
|
+
defaultValue: { summary: 'true' },
|
|
47
|
+
control: 'boolean'
|
|
48
|
+
},
|
|
49
|
+
disableLightLinks: {
|
|
50
|
+
description: ' (optional) disableLightLinks: If true, it will not add class for links to be lighter for ADA compliance',
|
|
51
|
+
defaultValue: { summary: 'false' },
|
|
52
|
+
control: 'boolean'
|
|
53
|
+
},
|
|
54
|
+
styles: {
|
|
55
|
+
description: ' (optional) Injected CSS Styles',
|
|
56
|
+
defaultValue: { summary: '' },
|
|
57
|
+
control: 'text'
|
|
58
|
+
},
|
|
59
|
+
default: {
|
|
60
|
+
description: 'Default slot content',
|
|
61
|
+
control: 'text',
|
|
62
|
+
table: { category: 'slots' }
|
|
63
|
+
},
|
|
64
|
+
'card-content': {
|
|
65
|
+
description: 'Slot: card-content',
|
|
66
|
+
control: 'text',
|
|
67
|
+
table: { category: 'slots' }
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
const Template = (args) => {
|
|
72
|
+
return html`<ptc-text-copy-with-background
|
|
73
|
+
type=${args.type}
|
|
74
|
+
backgroundImage=${args.backgroundImage}
|
|
75
|
+
ImageAltText=${args.ImageAltText}
|
|
76
|
+
topSlitBackgroundColor=${args.topSlitBackgroundColor}
|
|
77
|
+
slitPosition=${args.slitPosition}
|
|
78
|
+
isBackgroundBlur=${args.isBackgroundBlur}
|
|
79
|
+
overlay=${args.overlay}
|
|
80
|
+
disableLightLinks=${args.disableLightLinks}
|
|
81
|
+
styles=${args.styles}
|
|
82
|
+
>
|
|
83
|
+
${args.default}
|
|
84
|
+
<span slot="card-content">${args.card-content}</span>
|
|
85
|
+
</ptc-text-copy-with-background>`;
|
|
86
|
+
};
|
|
87
|
+
export const Example = Template.bind({});
|
|
88
|
+
Example.args = {
|
|
89
|
+
type: 'text-copy-with-background',
|
|
90
|
+
backgroundImage: '',
|
|
91
|
+
ImageAltText: '',
|
|
92
|
+
topSlitBackgroundColor: '',
|
|
93
|
+
slitPosition: 'top-right',
|
|
94
|
+
isBackgroundBlur: 'false',
|
|
95
|
+
overlay: 'true',
|
|
96
|
+
disableLightLinks: 'false',
|
|
97
|
+
styles: '',
|
|
98
|
+
default: 'Lorem ipsum text',
|
|
99
|
+
'card-content': 'Lorem for card-content'
|
|
100
|
+
};
|
|
@@ -14,6 +14,11 @@ export default {
|
|
|
14
14
|
description: 'Alert text content - below alert text (grey)',
|
|
15
15
|
defaultValue: { summary: '' }
|
|
16
16
|
},
|
|
17
|
+
disabled: {
|
|
18
|
+
control: 'boolean',
|
|
19
|
+
description: 'Disable the field?',
|
|
20
|
+
defaultValue: { summary: 'false' }
|
|
21
|
+
},
|
|
17
22
|
fieldId: {
|
|
18
23
|
control: 'text',
|
|
19
24
|
description: 'ID',
|
|
@@ -66,6 +71,11 @@ export default {
|
|
|
66
71
|
description: 'Is this a mandatory field?',
|
|
67
72
|
defaultValue: { summary: 'true' }
|
|
68
73
|
},
|
|
74
|
+
styles: {
|
|
75
|
+
control: 'text',
|
|
76
|
+
description: 'Inject styles for customization',
|
|
77
|
+
defaultValue: { summary: '' }
|
|
78
|
+
},
|
|
69
79
|
type: {
|
|
70
80
|
control: 'text',
|
|
71
81
|
description: 'text, button, email, file and etc. This value triggers different validation',
|
|
@@ -77,6 +87,7 @@ export default {
|
|
|
77
87
|
const Template = args => { return html `<ptc-textfield
|
|
78
88
|
alert-text=${args.alertText}
|
|
79
89
|
alert-text-content=${args.alertTextContent}
|
|
90
|
+
disabled=${args.disabled}
|
|
80
91
|
field-id=${args.fieldId}
|
|
81
92
|
field-name=${args.fieldName}
|
|
82
93
|
helpertext=${args.helpertext}
|
|
@@ -88,6 +99,7 @@ const Template = args => { return html `<ptc-textfield
|
|
|
88
99
|
ptc-data-target-eloqua-name=${args.ptcDataTargetEloquaName}
|
|
89
100
|
ptc-max-length=${args.ptcMaxLength}
|
|
90
101
|
required=${args.required}
|
|
102
|
+
styles=${args.styles}
|
|
91
103
|
type=${args.type}
|
|
92
104
|
></ptc-textfield>`;}
|
|
93
105
|
|
|
@@ -96,6 +108,7 @@ export const Example = Template.bind({});
|
|
|
96
108
|
Example.args = {
|
|
97
109
|
alertText: 'Alert text',
|
|
98
110
|
alertTextContent: 'Alert text content',
|
|
111
|
+
disabled: 'false',
|
|
99
112
|
fieldId: 'ID',
|
|
100
113
|
fieldName: 'company field',
|
|
101
114
|
helpertext: 'Helper text',
|
|
@@ -107,5 +120,6 @@ Example.args = {
|
|
|
107
120
|
ptcDataTargetEloquaName: '',
|
|
108
121
|
ptcMaxLength: '',
|
|
109
122
|
required: 'true',
|
|
123
|
+
styles: '',
|
|
110
124
|
type: 'text'
|
|
111
125
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'New/ptc-theater-video',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
argTypes: {
|
|
7
|
+
default: {
|
|
8
|
+
description: 'Default slot content',
|
|
9
|
+
control: 'text',
|
|
10
|
+
table: { category: 'slots' }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
const Template = (args) => {
|
|
15
|
+
return html`<ptc-theater-video
|
|
16
|
+
>
|
|
17
|
+
${args.default}
|
|
18
|
+
</ptc-theater-video>`;
|
|
19
|
+
};
|
|
20
|
+
export const Example = Template.bind({});
|
|
21
|
+
Example.args = { default: 'Lorem ipsum text' };
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Atoms/ptc-title',
|
|
6
|
+
tags: ['autodocs'],
|
|
7
|
+
|
|
8
|
+
argTypes: {
|
|
9
|
+
type: {
|
|
10
|
+
control: { type: 'inline-radio' },
|
|
11
|
+
options: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'],
|
|
12
|
+
description: 'H tag',
|
|
13
|
+
defaultValue: { summary: 'h2' },
|
|
14
|
+
},
|
|
15
|
+
textAlign: {
|
|
16
|
+
control: { type: 'inline-radio' },
|
|
17
|
+
options: ['left', 'center', 'right', 'inherit'],
|
|
18
|
+
description: 'Title alignment',
|
|
19
|
+
},
|
|
20
|
+
titleDisplay: {
|
|
21
|
+
control: { type: 'select' },
|
|
22
|
+
options: ['block', 'inline-block'],
|
|
23
|
+
description: 'Title heading display',
|
|
24
|
+
defaultValue: { summary: 'inline-block' },
|
|
25
|
+
},
|
|
26
|
+
titleSize: {
|
|
27
|
+
control: { type: 'select' },
|
|
28
|
+
options: [
|
|
29
|
+
'xx-small',
|
|
30
|
+
'x-small',
|
|
31
|
+
'small',
|
|
32
|
+
'medium',
|
|
33
|
+
'large',
|
|
34
|
+
'x-large',
|
|
35
|
+
'xx-large',
|
|
36
|
+
'xxx-large',
|
|
37
|
+
'xxxx-large',
|
|
38
|
+
'xxxx-large-allbp',
|
|
39
|
+
'xx-large-allbp',
|
|
40
|
+
'xxxx-large-desktop',
|
|
41
|
+
'xxxx-large-store',
|
|
42
|
+
],
|
|
43
|
+
description: 'Title size',
|
|
44
|
+
},
|
|
45
|
+
titleColor: {
|
|
46
|
+
control: { type: 'select' },
|
|
47
|
+
options: ['black', 'white', 'gray', 'gray-darker', 'gray-1'],
|
|
48
|
+
description: 'Title color',
|
|
49
|
+
defaultValue: { summary: 'gray' },
|
|
50
|
+
},
|
|
51
|
+
upperline: {
|
|
52
|
+
control: { type: 'inline-radio' },
|
|
53
|
+
options: ['dotted', 'solid', 'no-upperline'],
|
|
54
|
+
description: 'The style of the decorative upperline',
|
|
55
|
+
defaultValue: { summary: 'dotted' },
|
|
56
|
+
},
|
|
57
|
+
titleShadow: {
|
|
58
|
+
control: { type: 'inline-radio' },
|
|
59
|
+
options: ['blue', 'red', 'green', 'orange', 'slate-grey'],
|
|
60
|
+
description: 'Shadow Color',
|
|
61
|
+
},
|
|
62
|
+
titleHeight: {
|
|
63
|
+
control: { type: 'select' },
|
|
64
|
+
options: ['densest', 'denser', 'dense', 'normal', 'loose', 'looser', 'paragraph'],
|
|
65
|
+
description: 'Title Height',
|
|
66
|
+
defaultValue: { summary: 'paragraph' },
|
|
67
|
+
},
|
|
68
|
+
titleWeight: {
|
|
69
|
+
control: { type: 'select' },
|
|
70
|
+
options: ['w-3', 'w-4', 'w-5', 'w-6', 'w-7', 'w-8', 'w-9'],
|
|
71
|
+
description: 'Title Weight',
|
|
72
|
+
},
|
|
73
|
+
titleMargin: {
|
|
74
|
+
control: {type: 'select'},
|
|
75
|
+
options: ['margin-flush' ,'margin-top-3', 'margin-top-4', 'margin-top-5', 'margin-top-6', 'margin-bottom-3', 'margin-bottom-4', 'margin-bottom-5', 'margin-bottom-6', 'margin-3', 'margin-4', 'margin-5', 'margin-6'],
|
|
76
|
+
description: 'title margins'
|
|
77
|
+
},
|
|
78
|
+
isPlmHub: {
|
|
79
|
+
description: "is it a title for PLM Hub page?",
|
|
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
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
|
|
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>`;
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
export const Example = Template.bind({});
|
|
114
|
+
Example.args = {
|
|
115
|
+
type: 'h2',
|
|
116
|
+
titleDisplay: 'inline-block',
|
|
117
|
+
titleSize: 'x-large',
|
|
118
|
+
textAlign: 'center',
|
|
119
|
+
titleHeight: 'densest',
|
|
120
|
+
titleMargin: 'margin-3',
|
|
121
|
+
titleColor: 'gray',
|
|
122
|
+
upperline: 'no-upperline',
|
|
123
|
+
titleWeight: 'w-8',
|
|
124
|
+
titleShadow: '',
|
|
125
|
+
isPlmHub: false,
|
|
126
|
+
slotContent:'Lorem ipsum',
|
|
127
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Atoms/ptc-tooltip',
|
|
5
|
+
tags: ['autodocs'],
|
|
6
|
+
argTypes: {
|
|
7
|
+
textLines: {
|
|
8
|
+
name: 'Maximum lines',
|
|
9
|
+
description: "Set maximum length in lines of content",
|
|
10
|
+
|
|
11
|
+
},
|
|
12
|
+
maxLength: {
|
|
13
|
+
name: 'Maximum chars',
|
|
14
|
+
description: "Set maximum length in chars of content",
|
|
15
|
+
defaultValue: { summary: 45 }
|
|
16
|
+
},
|
|
17
|
+
position: {
|
|
18
|
+
name: 'Position',
|
|
19
|
+
description: "Set position of the the tooltip box",
|
|
20
|
+
control: { type: 'select' },
|
|
21
|
+
options: ['left', 'right', 'bottom', 'bottom-right', 'top'],
|
|
22
|
+
defaultValue: { summary: 'bottom' }
|
|
23
|
+
},
|
|
24
|
+
width: {
|
|
25
|
+
name: 'width',
|
|
26
|
+
description: "Fill-width will make the tooltip box full-width relative to its parent",
|
|
27
|
+
control: { type: 'select' },
|
|
28
|
+
options: ['full-width', 'default'],
|
|
29
|
+
defaultValue: { summary: 'default' }
|
|
30
|
+
|
|
31
|
+
},
|
|
32
|
+
theme: {
|
|
33
|
+
name: 'Theme',
|
|
34
|
+
description: "Set the theme",
|
|
35
|
+
control: { type: 'select' },
|
|
36
|
+
options: ['standard', 'danger'],
|
|
37
|
+
defaultValue: { summary: 'standard' },
|
|
38
|
+
},
|
|
39
|
+
zIndex: {
|
|
40
|
+
name: 'zIndex',
|
|
41
|
+
description: "Set the zIndex of tooltip box",
|
|
42
|
+
control: { type: 'select' },
|
|
43
|
+
options: ['z-auto', 'z-1', 'z-2', 'z-3', 'z-999'],
|
|
44
|
+
defaultValue: { summary: 'z-auto' },
|
|
45
|
+
},
|
|
46
|
+
hideOnMobile: {
|
|
47
|
+
name: 'Hide tooltip box on mobile',
|
|
48
|
+
description: "Set true to hide the tooltip on mobile",
|
|
49
|
+
control: { type: 'boolean' },
|
|
50
|
+
defaultValue: { summary: false },
|
|
51
|
+
},
|
|
52
|
+
textDisplay: {
|
|
53
|
+
name: 'Text Display css property',
|
|
54
|
+
description: "Set textDisplay propety inline or block for tooltip text",
|
|
55
|
+
control: { type: 'select' },
|
|
56
|
+
options: ['inline', 'block'],
|
|
57
|
+
defaultValue: { summary: 'inline' },
|
|
58
|
+
},
|
|
59
|
+
description: {
|
|
60
|
+
name: 'Tooltip content',
|
|
61
|
+
description: "Set content in the follwing textarea",
|
|
62
|
+
defaultValue: { summary: 'This is a tooltip text placeholder' },
|
|
63
|
+
},
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
const Template = args => {
|
|
69
|
+
return html `<ptc-tooltip
|
|
70
|
+
text-display="${args.textDisplay}"
|
|
71
|
+
text-lines="${args.textLines}"
|
|
72
|
+
max-length="${args.maxLength}"
|
|
73
|
+
description="${args.description}"
|
|
74
|
+
position="${args.position}"
|
|
75
|
+
width="${args.width}"
|
|
76
|
+
zIndex="${args.zIndex}"
|
|
77
|
+
theme="${args.theme}"
|
|
78
|
+
hide-on-mobile="${args.hideOnMobile}"
|
|
79
|
+
></ptc-tooltip>`
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
export const TooltipWithLinesLimit = Template.bind({});
|
|
84
|
+
TooltipWithLinesLimit.args = {
|
|
85
|
+
textLines: 2,
|
|
86
|
+
position: 'bottom',
|
|
87
|
+
width: "default",
|
|
88
|
+
theme: "standard",
|
|
89
|
+
hideOnMobile: false,
|
|
90
|
+
zIndex: "z-auto",
|
|
91
|
+
textDisplay: "inline",
|
|
92
|
+
description: "Nulla ut nunc id nulla aliquam feugiat. Maecenas quis dui rhoncus, mattis risus ac, tincidunt massa. Cras dictum aliquet eleifend. Etiam condimentum suscipit vulputate. In tempus ante at eros elementum volutpat. Ut aliquam mattis velit, sed malesuada lorem. Donec eu posuere nisl, eget scelerisque lectus. Donec id nibh quis lectus euismod semper eget in sem. Ut vulputate cursus libero ut pharetra. Aliquam convallis vulputate dignissim. Mauris vel elit sit amet nibh porta cursus eu id urna.",
|
|
93
|
+
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
export const TooltipWithCharLimit = Template.bind({});
|
|
98
|
+
TooltipWithCharLimit.args = {
|
|
99
|
+
maxLength: 45,
|
|
100
|
+
position: 'bottom',
|
|
101
|
+
width: "default",
|
|
102
|
+
theme: "standard",
|
|
103
|
+
hideOnMobile: false,
|
|
104
|
+
zIndex: "z-auto",
|
|
105
|
+
textDisplay: "inline",
|
|
106
|
+
description: "Nulla ut nunc id nulla aliquam feugiat. Maecenas quis dui rhoncus, mattis risus ac, tincidunt massa. Cras dictum ",
|
|
107
|
+
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default { title: 'New/ptc-video-embed', tags: [ 'autodocs' ], argTypes: {} };
|
|
4
|
+
const Template = (args) => {
|
|
5
|
+
return html`<ptc-video-embed
|
|
6
|
+
>
|
|
7
|
+
</ptc-video-embed>`;
|
|
8
|
+
};
|
|
9
|
+
export const Example = Template.bind({});
|
|
10
|
+
Example.args = {};
|