@ptcwebops/ptcw-design 2.6.1 → 2.6.2
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/LICENSE +21 -21
- package/dist/cjs/author-listing-example.cjs.entry.js +232 -232
- package/dist/cjs/bundle-example.cjs.entry.js +30 -30
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +39 -39
- package/dist/cjs/dropdown-item.cjs.entry.js +10 -10
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +25 -25
- package/dist/cjs/featured-list.cjs.entry.js +83 -83
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +40 -40
- package/dist/cjs/icon-asset.cjs.entry.js +42 -42
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +21 -21
- package/dist/cjs/{interfaces-0ecd8027.js → interfaces-574e6df7.js} +9 -9
- package/dist/cjs/list-item.cjs.entry.js +22 -22
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/max-width-container.cjs.entry.js +43 -43
- package/dist/cjs/my-component.cjs.entry.js +15 -15
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +84 -84
- package/dist/cjs/ptc-accordion.cjs.entry.js +39 -39
- package/dist/cjs/ptc-announcement.cjs.entry.js +52 -52
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +35 -35
- package/dist/cjs/ptc-background-video.cjs.entry.js +57 -57
- package/dist/cjs/ptc-bio-card.cjs.entry.js +24 -24
- package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +120 -120
- package/dist/cjs/ptc-button.cjs.entry.js +39 -39
- package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +123 -123
- package/dist/cjs/ptc-card-content.cjs.entry.js +57 -57
- package/dist/cjs/ptc-card.cjs.entry.js +77 -77
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +77 -77
- package/dist/cjs/ptc-checkbox.cjs.entry.js +50 -50
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +397 -397
- package/dist/cjs/ptc-container.cjs.entry.js +33 -33
- package/dist/cjs/ptc-date.cjs.entry.js +50 -50
- package/dist/cjs/ptc-dropdown.cjs.entry.js +64 -64
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +47 -47
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +46 -46
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +90 -82
- package/dist/cjs/ptc-featured-list.cjs.entry.js +82 -82
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +57 -57
- package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +11 -11
- package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
- package/dist/cjs/ptc-icon-component.cjs.entry.js +60 -60
- package/dist/cjs/ptc-icon-list.cjs.entry.js +21 -21
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +43 -43
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +18 -18
- package/dist/cjs/ptc-img.cjs.entry.js +122 -122
- package/dist/cjs/ptc-link.cjs.entry.js +33 -33
- package/dist/cjs/ptc-list.cjs.entry.js +49 -49
- package/dist/cjs/ptc-media-card.cjs.entry.js +58 -58
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +12 -12
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +62 -62
- package/dist/cjs/ptc-modal.cjs.entry.js +150 -150
- package/dist/cjs/ptc-nav-card.cjs.entry.js +36 -36
- package/dist/cjs/ptc-nav-link.cjs.entry.js +36 -36
- package/dist/cjs/ptc-nav-pills.cjs.entry.js +8 -8
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +90 -90
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +37 -37
- package/dist/cjs/ptc-news.cjs.entry.js +24 -24
- package/dist/cjs/ptc-overlay.cjs.entry.js +23 -23
- package/dist/cjs/ptc-pagenation.cjs.entry.js +306 -306
- package/dist/cjs/ptc-para.cjs.entry.js +51 -51
- package/dist/cjs/ptc-picture.cjs.entry.js +152 -152
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +11 -11
- package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -11
- package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +16 -16
- package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +39 -39
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +20 -20
- package/dist/cjs/ptc-pricing-table.cjs.entry.js +509 -509
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +124 -124
- package/dist/cjs/ptc-product-card.cjs.entry.js +22 -22
- package/dist/cjs/ptc-product-category.cjs.entry.js +10 -10
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +69 -69
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +12 -12
- package/dist/cjs/ptc-product-list.cjs.entry.js +140 -140
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +128 -128
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +16 -16
- package/dist/cjs/ptc-quote.cjs.entry.js +23 -23
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +24 -24
- package/dist/cjs/ptc-readmore.cjs.entry.js +77 -77
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +149 -149
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
- package/dist/cjs/ptc-search-field.cjs.entry.js +71 -71
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +50 -50
- package/dist/cjs/ptc-slit-card.cjs.entry.js +25 -25
- package/dist/cjs/ptc-social-share.cjs.entry.js +69 -69
- package/dist/cjs/ptc-spacer.cjs.entry.js +27 -27
- package/dist/cjs/ptc-span.cjs.entry.js +20 -20
- package/dist/cjs/ptc-square-card.cjs.entry.js +10 -10
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +32 -32
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +30 -30
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +23 -23
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +15 -15
- package/dist/cjs/ptc-subnav.cjs.entry.js +48 -48
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +95 -95
- package/dist/cjs/ptc-tab-list.cjs.entry.js +143 -143
- package/dist/cjs/ptc-tab.cjs.entry.js +20 -20
- package/dist/cjs/ptc-tabs.cjs.entry.js +47 -47
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +43 -43
- package/dist/cjs/ptc-title.cjs.entry.js +67 -67
- package/dist/cjs/ptc-tooltip.cjs.entry.js +95 -95
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +15 -15
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +13 -13
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +108 -108
- package/dist/cjs/sequential-bundle.cjs.entry.js +88 -88
- package/dist/cjs/tab-content.cjs.entry.js +27 -27
- package/dist/cjs/tab-header.cjs.entry.js +65 -65
- package/dist/cjs/{utils-416c94fe.js → utils-9eb22041.js} +90 -90
- package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
- package/dist/collection/components/icon-asset/icon-asset.css +4 -4
- package/dist/collection/components/icon-asset/icon-asset.js +199 -199
- package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
- package/dist/collection/components/icon-asset/media/designer.svg +489 -489
- package/dist/collection/components/icon-asset/media/regular.svg +463 -463
- package/dist/collection/components/icon-asset/media/solid.svg +3016 -3016
- package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
- package/dist/collection/components/list-item/list-item.js +144 -144
- package/dist/collection/components/max-width-container/max-width-container.css +11 -11
- package/dist/collection/components/max-width-container/max-width-container.js +146 -146
- package/dist/collection/components/my-component/my-component.css +3 -3
- package/dist/collection/components/my-component/my-component.js +82 -82
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +69 -69
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +282 -282
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +58 -58
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +218 -218
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +115 -115
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +90 -90
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +306 -306
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +61 -61
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
- package/dist/collection/components/ptc-button/ptc-button.js +304 -304
- package/dist/collection/components/ptc-card/ptc-card.js +442 -442
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +232 -232
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
- package/dist/collection/components/ptc-container/ptc-container.js +138 -138
- package/dist/collection/components/ptc-date/ptc-date.js +224 -224
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
- package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +174 -174
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +148 -139
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +105 -105
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +115 -115
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
- package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
- package/dist/collection/components/ptc-img/ptc-img.js +311 -311
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +326 -326
- package/dist/collection/components/ptc-link/ptc-link.js +207 -207
- package/dist/collection/components/ptc-list/ptc-list.js +99 -99
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +199 -199
- package/dist/collection/components/ptc-modal/ptc-modal.js +407 -407
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
- package/dist/collection/components/ptc-news/ptc-news.js +176 -176
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
- package/dist/collection/components/ptc-para/ptc-para.js +242 -242
- package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +120 -120
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +76 -76
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
- package/dist/collection/components/ptc-pricing-table/ptc-pricing-table.js +664 -664
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
- package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
- package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +302 -302
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +190 -190
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
- package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
- package/dist/collection/components/ptc-span/ptc-span.js +107 -107
- package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +214 -214
- package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
- package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +199 -199
- package/dist/collection/components/ptc-title/ptc-title.js +310 -310
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +342 -342
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +117 -117
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +114 -114
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +96 -96
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +133 -133
- package/dist/collection/components/tab-content/tab-content.js +84 -84
- package/dist/collection/components/tab-header/tab-header.js +183 -183
- package/dist/collection/index.js +1 -1
- package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
- package/dist/collection/media/svg-imgs/close.svg +10 -10
- package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
- package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
- package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
- package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
- package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
- package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
- package/dist/collection/media/svg-imgs/union.svg +3 -3
- package/dist/collection/stories/Accordian.stories.js +205 -205
- package/dist/collection/stories/Announcement.stories.js +64 -64
- package/dist/collection/stories/BackgroundImage.stories.js +81 -81
- package/dist/collection/stories/Breadcrumb.stories.js +50 -50
- package/dist/collection/stories/Button.stories.js +119 -119
- package/dist/collection/stories/Card.stories.js +234 -234
- package/dist/collection/stories/CardWrapper.stories.js +270 -270
- package/dist/collection/stories/Checkbox.stories.js +52 -52
- package/dist/collection/stories/Date.stories.js +81 -81
- package/dist/collection/stories/Dropdown.stories.js +48 -48
- package/dist/collection/stories/DynamicCard.stories.js +68 -68
- package/dist/collection/stories/FilterTag.stories.js +73 -73
- package/dist/collection/stories/Hero.stories.js +119 -119
- package/dist/collection/stories/Icon.stories.js +71 -71
- package/dist/collection/stories/IconList.stories.js +114 -114
- package/dist/collection/stories/IconMinimize.stories.js +40 -40
- package/dist/collection/stories/Link.stories.js +101 -101
- package/dist/collection/stories/ListItem.stories.js +59 -59
- package/dist/collection/stories/MaxWidthContainer.stories.js +32 -32
- package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
- package/dist/collection/stories/MobileSelect.stories.js +79 -79
- package/dist/collection/stories/Modal.stories.js +105 -105
- package/dist/collection/stories/Overlay.stories.js +48 -48
- package/dist/collection/stories/Pagination.stories.js +101 -101
- package/dist/collection/stories/Paragraph.stories.js +95 -95
- package/dist/collection/stories/Picture.stories.js +139 -139
- package/dist/collection/stories/Quote.stories.js +107 -107
- package/dist/collection/stories/ReadMore.stories.js +100 -100
- package/dist/collection/stories/SocialShare.stories.js +66 -66
- package/dist/collection/stories/Spacer.stories.js +48 -48
- package/dist/collection/stories/Span.stories.js +57 -57
- package/dist/collection/stories/SvgButton.stories.js +34 -34
- package/dist/collection/stories/Tabs.stories.js +213 -213
- package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
- package/dist/collection/stories/Title.stories.js +115 -115
- package/dist/collection/stories/Tooltip.stories.js +112 -112
- package/dist/collection/utils/component.js +3 -3
- package/dist/collection/utils/interfaces.js +11 -11
- package/dist/collection/utils/utils.js +92 -92
- package/dist/custom-elements/index.js +6743 -6735
- package/dist/esm/author-listing-example.entry.js +232 -232
- package/dist/esm/bundle-example.entry.js +30 -30
- package/dist/esm/bundle-jumbotron-example.entry.js +39 -39
- package/dist/esm/dropdown-item.entry.js +10 -10
- package/dist/esm/dynamic-box-bundle.entry.js +25 -25
- package/dist/esm/featured-list.entry.js +83 -83
- package/dist/esm/fl-tab-content_3.entry.js +40 -40
- package/dist/esm/icon-asset.entry.js +42 -42
- package/dist/esm/innovator-toggle-container.entry.js +21 -21
- package/dist/esm/{interfaces-3cb94654.js → interfaces-4caedd26.js} +9 -9
- package/dist/esm/list-item.entry.js +22 -22
- package/dist/esm/loader.js +1 -1
- package/dist/esm/max-width-container.entry.js +43 -43
- package/dist/esm/my-component.entry.js +15 -15
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/ptc-accordion-item.entry.js +84 -84
- package/dist/esm/ptc-accordion.entry.js +39 -39
- package/dist/esm/ptc-announcement.entry.js +52 -52
- package/dist/esm/ptc-back-to-top.entry.js +35 -35
- package/dist/esm/ptc-background-video.entry.js +57 -57
- package/dist/esm/ptc-bio-card.entry.js +24 -24
- package/dist/esm/ptc-breadcrumb_2.entry.js +120 -120
- package/dist/esm/ptc-button.entry.js +39 -39
- package/dist/esm/ptc-card-bottom_3.entry.js +123 -123
- package/dist/esm/ptc-card-content.entry.js +57 -57
- package/dist/esm/ptc-card.entry.js +77 -77
- package/dist/esm/ptc-case-studies-slider.entry.js +77 -77
- package/dist/esm/ptc-checkbox.entry.js +50 -50
- package/dist/esm/ptc-collapse-list.entry.js +397 -397
- package/dist/esm/ptc-container.entry.js +33 -33
- package/dist/esm/ptc-date.entry.js +50 -50
- package/dist/esm/ptc-dropdown.entry.js +64 -64
- package/dist/esm/ptc-dynamic-card.entry.js +47 -47
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +46 -46
- package/dist/esm/ptc-embedded-quiz.entry.js +90 -82
- package/dist/esm/ptc-featured-list.entry.js +82 -82
- package/dist/esm/ptc-filter-tag.entry.js +57 -57
- package/dist/esm/ptc-hero-footer-cta.entry.js +11 -11
- package/dist/esm/ptc-hero.entry.js +18 -18
- package/dist/esm/ptc-icon-component.entry.js +60 -60
- package/dist/esm/ptc-icon-list.entry.js +21 -21
- package/dist/esm/ptc-icon-minimize.entry.js +43 -43
- package/dist/esm/ptc-image-download-strip.entry.js +18 -18
- package/dist/esm/ptc-img.entry.js +122 -122
- package/dist/esm/ptc-link.entry.js +33 -33
- package/dist/esm/ptc-list.entry.js +49 -49
- package/dist/esm/ptc-media-card.entry.js +58 -58
- package/dist/esm/ptc-minimized-nav.entry.js +12 -12
- package/dist/esm/ptc-mobile-select.entry.js +62 -62
- package/dist/esm/ptc-modal.entry.js +150 -150
- package/dist/esm/ptc-nav-card.entry.js +36 -36
- package/dist/esm/ptc-nav-link.entry.js +36 -36
- package/dist/esm/ptc-nav-pills.entry.js +8 -8
- package/dist/esm/ptc-nav-slider.entry.js +90 -90
- package/dist/esm/ptc-nav-submenu.entry.js +37 -37
- package/dist/esm/ptc-news.entry.js +24 -24
- package/dist/esm/ptc-overlay.entry.js +23 -23
- package/dist/esm/ptc-pagenation.entry.js +306 -306
- package/dist/esm/ptc-para.entry.js +51 -51
- package/dist/esm/ptc-picture.entry.js +152 -152
- package/dist/esm/ptc-podcast-card.entry.js +11 -11
- package/dist/esm/ptc-previous-url.entry.js +11 -11
- package/dist/esm/ptc-pricing-add-on-card.entry.js +16 -16
- package/dist/esm/ptc-pricing-add-on-section.entry.js +39 -39
- package/dist/esm/ptc-pricing-block.entry.js +20 -20
- package/dist/esm/ptc-pricing-table.entry.js +509 -509
- package/dist/esm/ptc-pricing-tabs.entry.js +124 -124
- package/dist/esm/ptc-product-card.entry.js +22 -22
- package/dist/esm/ptc-product-category.entry.js +10 -10
- package/dist/esm/ptc-product-dropdown.entry.js +69 -69
- package/dist/esm/ptc-product-highlight-card.entry.js +12 -12
- package/dist/esm/ptc-product-list.entry.js +140 -140
- package/dist/esm/ptc-product-sidebar.entry.js +128 -128
- package/dist/esm/ptc-progress-bar.entry.js +16 -16
- package/dist/esm/ptc-quote.entry.js +23 -23
- package/dist/esm/ptc-readmore-char.entry.js +24 -24
- package/dist/esm/ptc-readmore.entry.js +77 -77
- package/dist/esm/ptc-related-card-rail.entry.js +149 -149
- package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
- package/dist/esm/ptc-search-field.entry.js +71 -71
- package/dist/esm/ptc-shopping-cart.entry.js +50 -50
- package/dist/esm/ptc-slit-card.entry.js +25 -25
- package/dist/esm/ptc-social-share.entry.js +69 -69
- package/dist/esm/ptc-spacer.entry.js +27 -27
- package/dist/esm/ptc-span.entry.js +20 -20
- package/dist/esm/ptc-square-card.entry.js +10 -10
- package/dist/esm/ptc-sticky-icons.entry.js +32 -32
- package/dist/esm/ptc-sticky-section.entry.js +30 -30
- package/dist/esm/ptc-sticky-title.entry.js +23 -23
- package/dist/esm/ptc-subnav-card.entry.js +15 -15
- package/dist/esm/ptc-subnav.entry.js +48 -48
- package/dist/esm/ptc-svg-btn.entry.js +95 -95
- package/dist/esm/ptc-tab-list.entry.js +143 -143
- package/dist/esm/ptc-tab.entry.js +20 -20
- package/dist/esm/ptc-tabs.entry.js +47 -47
- package/dist/esm/ptc-text-copy-with-background.entry.js +43 -43
- package/dist/esm/ptc-title.entry.js +67 -67
- package/dist/esm/ptc-tooltip.entry.js +95 -95
- package/dist/esm/ptc-two-column-media.entry.js +15 -15
- package/dist/esm/ptc-value-prop-card.entry.js +13 -13
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/sequential-bundle-example.entry.js +108 -108
- package/dist/esm/sequential-bundle.entry.js +88 -88
- package/dist/esm/tab-content.entry.js +27 -27
- package/dist/esm/tab-header.entry.js +65 -65
- package/dist/esm/{utils-f937097d.js → utils-38decc43.js} +90 -90
- package/dist/ptcw-design/media/brands.svg +1381 -1381
- package/dist/ptcw-design/media/designer.svg +489 -489
- package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
- package/dist/ptcw-design/media/regular.svg +463 -463
- package/dist/ptcw-design/media/solid.svg +3016 -3016
- package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
- package/dist/ptcw-design/{p-d0bb26ab.entry.js → p-06f99e11.entry.js} +1 -1
- package/dist/ptcw-design/{p-63147b0a.entry.js → p-0f3f83d3.entry.js} +1 -1
- package/dist/ptcw-design/{p-804fa554.entry.js → p-1c631848.entry.js} +1 -1
- package/dist/ptcw-design/p-34d67b3b.entry.js +1 -0
- package/dist/ptcw-design/{p-c49293f0.entry.js → p-7b34bb69.entry.js} +1 -1
- package/dist/ptcw-design/{p-d72c0973.entry.js → p-8bf3dad0.entry.js} +1 -1
- package/dist/ptcw-design/{p-d3c22e96.entry.js → p-b036ef99.entry.js} +1 -1
- package/dist/ptcw-design/{p-726a8b6f.entry.js → p-cf7dc448.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
- package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
- package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
- package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
- package/dist/types/components/list-item/list-item.d.ts +16 -16
- package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
- package/dist/types/components/my-component/my-component.d.ts +16 -16
- package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -12
- package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +10 -10
- package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
- package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
- package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
- package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +63 -63
- package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
- package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +9 -9
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
- package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
- package/dist/types/components/ptc-button/ptc-button.d.ts +64 -64
- package/dist/types/components/ptc-card/ptc-card.d.ts +84 -84
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +28 -28
- package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
- package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
- package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
- package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +23 -23
- package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
- package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +22 -21
- package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
- package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +10 -10
- package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
- package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
- package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
- package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
- package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
- package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
- package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
- package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +24 -24
- package/dist/types/components/ptc-link/ptc-link.d.ts +40 -40
- package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
- package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +71 -71
- package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
- package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
- package/dist/types/components/ptc-news/ptc-news.d.ts +36 -36
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
- package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
- package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +15 -15
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
- package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +27 -27
- package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +21 -21
- package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
- package/dist/types/components/ptc-pricing-table/ptc-pricing-table.d.ts +109 -109
- package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
- package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
- package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
- package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
- package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
- package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
- package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
- package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
- package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +30 -30
- package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
- package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
- package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
- package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
- package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
- package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
- package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
- package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
- package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
- package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
- package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +23 -23
- package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
- package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +38 -38
- package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +59 -59
- package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
- package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +23 -23
- package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +21 -21
- package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
- package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
- package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +14 -14
- package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +27 -27
- package/dist/types/components/tab-content/tab-content.d.ts +12 -12
- package/dist/types/components/tab-header/tab-header.d.ts +22 -22
- package/dist/types/components.d.ts +134 -134
- package/dist/types/global.d.ts +1072 -1072
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/component.d.ts +1 -1
- package/dist/types/utils/interfaces.d.ts +32 -32
- package/dist/types/utils/utils.d.ts +5 -5
- package/package.json +82 -82
- package/readme.md +19 -19
- package/dist/ptcw-design/p-84e61cf0.entry.js +0 -1
- /package/dist/ptcw-design/{p-ea875d9e.js → p-36665caa.js} +0 -0
- /package/dist/ptcw-design/{p-240733ce.js → p-711bcdad.js} +0 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Components, JSX } from './components';
|
|
1
|
+
export { Components, JSX } from './components';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const hasSlot: (HTMLElement: any, string?: any) => boolean;
|
|
1
|
+
export declare const hasSlot: (HTMLElement: any, string?: any) => boolean;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
type CssClassMap = {
|
|
2
|
-
[className: string]: boolean;
|
|
3
|
-
};
|
|
4
|
-
type StylesMap = {
|
|
5
|
-
[key: string]: string;
|
|
6
|
-
};
|
|
7
|
-
declare let ResponsiveBgVariables: {
|
|
8
|
-
envs: string[];
|
|
9
|
-
selector: string;
|
|
10
|
-
interval: number;
|
|
11
|
-
};
|
|
12
|
-
declare let ResponsivePictureVariables: {
|
|
13
|
-
envs: string[];
|
|
14
|
-
selector: string;
|
|
15
|
-
interval: number;
|
|
16
|
-
};
|
|
17
|
-
export { StylesMap, CssClassMap, ResponsiveBgVariables, ResponsivePictureVariables };
|
|
18
|
-
export interface ITabData {
|
|
19
|
-
select: () => void;
|
|
20
|
-
unselect: () => void;
|
|
21
|
-
name: string;
|
|
22
|
-
text: string;
|
|
23
|
-
}
|
|
24
|
-
export interface ITabHeaderData extends ITabData {
|
|
25
|
-
id: string;
|
|
26
|
-
}
|
|
27
|
-
export interface ITabContentData extends ITabData {
|
|
28
|
-
}
|
|
29
|
-
export interface ITabGroup {
|
|
30
|
-
header: ITabHeaderData;
|
|
31
|
-
content: ITabContentData;
|
|
32
|
-
}
|
|
1
|
+
type CssClassMap = {
|
|
2
|
+
[className: string]: boolean;
|
|
3
|
+
};
|
|
4
|
+
type StylesMap = {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
declare let ResponsiveBgVariables: {
|
|
8
|
+
envs: string[];
|
|
9
|
+
selector: string;
|
|
10
|
+
interval: number;
|
|
11
|
+
};
|
|
12
|
+
declare let ResponsivePictureVariables: {
|
|
13
|
+
envs: string[];
|
|
14
|
+
selector: string;
|
|
15
|
+
interval: number;
|
|
16
|
+
};
|
|
17
|
+
export { StylesMap, CssClassMap, ResponsiveBgVariables, ResponsivePictureVariables };
|
|
18
|
+
export interface ITabData {
|
|
19
|
+
select: () => void;
|
|
20
|
+
unselect: () => void;
|
|
21
|
+
name: string;
|
|
22
|
+
text: string;
|
|
23
|
+
}
|
|
24
|
+
export interface ITabHeaderData extends ITabData {
|
|
25
|
+
id: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ITabContentData extends ITabData {
|
|
28
|
+
}
|
|
29
|
+
export interface ITabGroup {
|
|
30
|
+
header: ITabHeaderData;
|
|
31
|
+
content: ITabContentData;
|
|
32
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare function format(first: string, middle: string, last: string): string;
|
|
2
|
-
export declare function MapDOM(domElement: HTMLElement, selector?: string, toString?: boolean): any;
|
|
3
|
-
export declare function generateUUID(): string;
|
|
4
|
-
export declare function debounce(func: Function, wait: number, referer?: any): (e: any) => void;
|
|
5
|
-
export declare function getFileExtension(filePath: string): string;
|
|
1
|
+
export declare function format(first: string, middle: string, last: string): string;
|
|
2
|
+
export declare function MapDOM(domElement: HTMLElement, selector?: string, toString?: boolean): any;
|
|
3
|
+
export declare function generateUUID(): string;
|
|
4
|
+
export declare function debounce(func: Function, wait: number, referer?: any): (e: any) => void;
|
|
5
|
+
export declare function getFileExtension(filePath: string): string;
|
package/package.json
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ptcwebops/ptcw-design",
|
|
3
|
-
"version": "2.6.
|
|
4
|
-
"description": "Stencil Component Starter",
|
|
5
|
-
"main": "dist/index.cjs.js",
|
|
6
|
-
"module": "./dist/index.js",
|
|
7
|
-
"es2015": "dist/esm/index.mjs",
|
|
8
|
-
"es2017": "dist/esm/index.mjs",
|
|
9
|
-
"types": "dist/custom-elements/index.d.ts",
|
|
10
|
-
"collection": "dist/collection/collection-manifest.json",
|
|
11
|
-
"collection:main": "dist/collection/index.js",
|
|
12
|
-
"unpkg": "dist/ptcw-design/ptcw-design.esm.js",
|
|
13
|
-
"files": [
|
|
14
|
-
"dist/",
|
|
15
|
-
"loader/"
|
|
16
|
-
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"build": "stencil build --docs",
|
|
19
|
-
"start": "stencil build --dev --watch --serve",
|
|
20
|
-
"test": "stencil test --spec --e2e",
|
|
21
|
-
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
22
|
-
"test.unit": "stencil test --spec",
|
|
23
|
-
"test.end-to-end": "stencil test --e2e",
|
|
24
|
-
"test.unit.watch": "stencil test --spec --watch",
|
|
25
|
-
"generate": "stencil generate",
|
|
26
|
-
"prepare": "stencil build --docs",
|
|
27
|
-
"storybook": "storybook dev -p 6006",
|
|
28
|
-
"build-storybook": "storybook build",
|
|
29
|
-
"generate-story": "node scripts/storyGenerator",
|
|
30
|
-
"generate-unit-tests": "node scripts/unitTestGenerator"
|
|
31
|
-
},
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"@daveberning/griddle": "^0.3.0",
|
|
34
|
-
"@stencil/core": "^2.20.0",
|
|
35
|
-
"@teamhive/lottie-player": "^1.0.0",
|
|
36
|
-
"npmrc": "^1.1.1",
|
|
37
|
-
"resize-observer-polyfill": "^1.5.1",
|
|
38
|
-
"swiper": "^9.1.1"
|
|
39
|
-
},
|
|
40
|
-
"license": "MIT",
|
|
41
|
-
"devDependencies": {
|
|
42
|
-
"@babel/preset-env": "^7.22.4",
|
|
43
|
-
"@stencil/sass": "^1.4.1",
|
|
44
|
-
"@storybook/addon-essentials": "^7.1.0-alpha.29",
|
|
45
|
-
"@storybook/addon-links": "^7.1.0-alpha.29",
|
|
46
|
-
"@storybook/blocks": "^7.1.0-alpha.29",
|
|
47
|
-
"@storybook/web-components": "^7.1.0-alpha.29",
|
|
48
|
-
"@storybook/web-components-webpack5": "^7.1.0-alpha.29",
|
|
49
|
-
"@types/jest": "^27.0.3",
|
|
50
|
-
"ejs": "^3.1.9",
|
|
51
|
-
"jest": "^27.4.5",
|
|
52
|
-
"jest-cli": "^27.4.5",
|
|
53
|
-
"lit": "^2.7.4",
|
|
54
|
-
"marked": "^5.1.0",
|
|
55
|
-
"mobile-select": "^1.1.2",
|
|
56
|
-
"node-html-parser": "^6.1.5",
|
|
57
|
-
"puppeteer": "^10.0.0",
|
|
58
|
-
"react": "^18.2.0",
|
|
59
|
-
"react-dom": "^18.2.0",
|
|
60
|
-
"stencil-inline-svg": "^1.1.0",
|
|
61
|
-
"storybook": "^7.1.0-alpha.29",
|
|
62
|
-
"util": "^0.12.5",
|
|
63
|
-
"yargs": "^17.7.2"
|
|
64
|
-
},
|
|
65
|
-
"directories": {
|
|
66
|
-
"doc": "docs"
|
|
67
|
-
},
|
|
68
|
-
"repository": {
|
|
69
|
-
"type": "git",
|
|
70
|
-
"url": "git+https://@bitbucket.org/ptc-sitecore-workspace/ptc-design-system.git"
|
|
71
|
-
},
|
|
72
|
-
"keywords": [
|
|
73
|
-
"design system",
|
|
74
|
-
"web components",
|
|
75
|
-
"stenciljs"
|
|
76
|
-
],
|
|
77
|
-
"author": "Yunfeng Qian",
|
|
78
|
-
"homepage": "https://bitbucket.org/ptc-sitecore-workspace/ptc-design-system#readme",
|
|
79
|
-
"publishConfig": {
|
|
80
|
-
"registry": "https://registry.npmjs.org/"
|
|
81
|
-
}
|
|
82
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ptcwebops/ptcw-design",
|
|
3
|
+
"version": "2.6.2",
|
|
4
|
+
"description": "Stencil Component Starter",
|
|
5
|
+
"main": "dist/index.cjs.js",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"es2015": "dist/esm/index.mjs",
|
|
8
|
+
"es2017": "dist/esm/index.mjs",
|
|
9
|
+
"types": "dist/custom-elements/index.d.ts",
|
|
10
|
+
"collection": "dist/collection/collection-manifest.json",
|
|
11
|
+
"collection:main": "dist/collection/index.js",
|
|
12
|
+
"unpkg": "dist/ptcw-design/ptcw-design.esm.js",
|
|
13
|
+
"files": [
|
|
14
|
+
"dist/",
|
|
15
|
+
"loader/"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "stencil build --docs",
|
|
19
|
+
"start": "stencil build --dev --watch --serve",
|
|
20
|
+
"test": "stencil test --spec --e2e",
|
|
21
|
+
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
22
|
+
"test.unit": "stencil test --spec",
|
|
23
|
+
"test.end-to-end": "stencil test --e2e",
|
|
24
|
+
"test.unit.watch": "stencil test --spec --watch",
|
|
25
|
+
"generate": "stencil generate",
|
|
26
|
+
"prepare": "stencil build --docs",
|
|
27
|
+
"storybook": "storybook dev -p 6006",
|
|
28
|
+
"build-storybook": "storybook build",
|
|
29
|
+
"generate-story": "node scripts/storyGenerator",
|
|
30
|
+
"generate-unit-tests": "node scripts/unitTestGenerator"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@daveberning/griddle": "^0.3.0",
|
|
34
|
+
"@stencil/core": "^2.20.0",
|
|
35
|
+
"@teamhive/lottie-player": "^1.0.0",
|
|
36
|
+
"npmrc": "^1.1.1",
|
|
37
|
+
"resize-observer-polyfill": "^1.5.1",
|
|
38
|
+
"swiper": "^9.1.1"
|
|
39
|
+
},
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@babel/preset-env": "^7.22.4",
|
|
43
|
+
"@stencil/sass": "^1.4.1",
|
|
44
|
+
"@storybook/addon-essentials": "^7.1.0-alpha.29",
|
|
45
|
+
"@storybook/addon-links": "^7.1.0-alpha.29",
|
|
46
|
+
"@storybook/blocks": "^7.1.0-alpha.29",
|
|
47
|
+
"@storybook/web-components": "^7.1.0-alpha.29",
|
|
48
|
+
"@storybook/web-components-webpack5": "^7.1.0-alpha.29",
|
|
49
|
+
"@types/jest": "^27.0.3",
|
|
50
|
+
"ejs": "^3.1.9",
|
|
51
|
+
"jest": "^27.4.5",
|
|
52
|
+
"jest-cli": "^27.4.5",
|
|
53
|
+
"lit": "^2.7.4",
|
|
54
|
+
"marked": "^5.1.0",
|
|
55
|
+
"mobile-select": "^1.1.2",
|
|
56
|
+
"node-html-parser": "^6.1.5",
|
|
57
|
+
"puppeteer": "^10.0.0",
|
|
58
|
+
"react": "^18.2.0",
|
|
59
|
+
"react-dom": "^18.2.0",
|
|
60
|
+
"stencil-inline-svg": "^1.1.0",
|
|
61
|
+
"storybook": "^7.1.0-alpha.29",
|
|
62
|
+
"util": "^0.12.5",
|
|
63
|
+
"yargs": "^17.7.2"
|
|
64
|
+
},
|
|
65
|
+
"directories": {
|
|
66
|
+
"doc": "docs"
|
|
67
|
+
},
|
|
68
|
+
"repository": {
|
|
69
|
+
"type": "git",
|
|
70
|
+
"url": "git+https://@bitbucket.org/ptc-sitecore-workspace/ptc-design-system.git"
|
|
71
|
+
},
|
|
72
|
+
"keywords": [
|
|
73
|
+
"design system",
|
|
74
|
+
"web components",
|
|
75
|
+
"stenciljs"
|
|
76
|
+
],
|
|
77
|
+
"author": "Yunfeng Qian",
|
|
78
|
+
"homepage": "https://bitbucket.org/ptc-sitecore-workspace/ptc-design-system#readme",
|
|
79
|
+
"publishConfig": {
|
|
80
|
+
"registry": "https://registry.npmjs.org/"
|
|
81
|
+
}
|
|
82
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
# PTC Design 2.6.
|
|
4
|
-
|
|
5
|
-
The site is the place for documentation on PTC Design System
|
|
6
|
-
|
|
7
|
-
## Building the Site
|
|
8
|
-
|
|
9
|
-
To build the site from the source, ensure you're using the most recent versions of Node and Npm, and pull the latest from master. Next, run `npm install`, `npm run docs` to build the docs files and `npm run start` to launch the site in development mode.
|
|
10
|
-
|
|
11
|
-
## Project Tools
|
|
12
|
-
|
|
13
|
-
- stenciljs 2.20.0
|
|
14
|
-
- Node 18.13.0
|
|
15
|
-
- npm 8.19.3
|
|
16
|
-
- jest 27.4.5
|
|
17
|
-
- puppeteer 10.0.0
|
|
18
|
-
|
|
19
|
-
## License
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# PTC Design 2.6.2
|
|
4
|
+
|
|
5
|
+
The site is the place for documentation on PTC Design System
|
|
6
|
+
|
|
7
|
+
## Building the Site
|
|
8
|
+
|
|
9
|
+
To build the site from the source, ensure you're using the most recent versions of Node and Npm, and pull the latest from master. Next, run `npm install`, `npm run docs` to build the docs files and `npm run start` to launch the site in development mode.
|
|
10
|
+
|
|
11
|
+
## Project Tools
|
|
12
|
+
|
|
13
|
+
- stenciljs 2.20.0
|
|
14
|
+
- Node 18.13.0
|
|
15
|
+
- npm 8.19.3
|
|
16
|
+
- jest 27.4.5
|
|
17
|
+
- puppeteer 10.0.0
|
|
18
|
+
|
|
19
|
+
## License
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as a,g as n,F as l}from"./p-ce0e4c5c.js";const s=class{constructor(e){t(this,e),this.optionClick=i(this,"optionClick",7),this.getQuizEndpoint=void 0,this.quiz=null,this.slide=null,this.traversal=[]}handleStartButtonClick(){this.slide=this.slide.next,this.traversal.push("next")}handleRestartButtonClick(){this.slide=this.quiz,this.traversal=[]}handlePreviousButtonClick(){let t=this.quiz;for(let i of this.traversal.slice(0,this.traversal.length-3))t=t[i];this.slide=t,this.traversal=this.traversal.slice(0,this.traversal.length-3)}handleQuestionOptionClick(t){let[i,e]=[null,null],a=this.slide.options;for(let n in a)if(a[n]["data-model-id"]===t){i=a[n],e=n;break}this.optionClick.emit(i),this.traversal=[...this.traversal,"options",e,"next"];let n=new Image;n.src=i.next.image,n.onload=()=>{this.slide=i.next}}componentWillLoad(){fetch(this.getQuizEndpoint).then((t=>t.json())).then((t=>{this.quiz=t,this.slide=this.quiz})).catch((t=>console.log("Quiz retireval error: ",t)))}render(){const t=()=>e("div",{class:"right-button-container"},e("div",{class:"restart-quiz-button",onClick:()=>this.handleRestartButtonClick()},e("icon-asset",{id:"restart-arrow",type:"ptc",size:"small",name:"quiz-arrow-restart"}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"small","font-weight":"w-6","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-densest","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},"Restart"))),i=()=>e("div",{class:"center-button-container"},e("div",{class:"previous-slide-button",onClick:()=>this.handlePreviousButtonClick()},e("icon-asset",{id:"left-arrow",type:"ptc",size:"medium",name:"quiz-arrow-left",onClick:()=>{}}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"small","font-weight":"w-6","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-densest","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},"Previous"))),n=()=>e("div",{class:"quiz-slide-initial"},e("div",{class:"quiz-slide-content"},e("div",{id:"initial-quiz-h2",class:"quiz-slide-text-container"},e("ptc-title",{type:"h2","text-align":"center","title-size":"x-large","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-8","is-plm-hub":"false"},this.slide.h2)),e("ptc-spacer",{size:"medium",breakpoint:"small"}),e("ptc-spacer",{size:"large",breakpoint:"x-small"}),e("div",{id:"initial-quiz-h3",class:"quiz-slide-text-container"},e("ptc-title",{type:"h3","text-align":"center","title-size":"medium","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.h3)),e("ptc-spacer",{size:"x-large",breakpoint:"small"}),e("ptc-spacer",{size:"xx-large",breakpoint:"x-small"}),e("div",{id:"initial-quiz-p",class:"quiz-slide-text-container"},e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-5","para-align":"center","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.slide.p)),e("div",{class:"center-button-container"},e("div",{id:"quiz-start-button",onClick:()=>this.handleStartButtonClick()},e("ptc-button",{type:"link",color:"ptc-tertiary","link-href":"",target:"_blank"},"Start"))))),s=()=>e("div",{class:"quiz-slide-question"},e("div",{class:"quiz-slide-content"},e("div",{class:"quiz-slide-dual-layout"},e("div",{class:"image-container"},e("img",{alt:"",src:this.slide.image})),e("div",{class:"content-container"},e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"medium","font-weight":"w-7","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-denser","para-margin":"margin-bottom-6","para-style":"","para-z-index":"z-1",styles:""},this.slide.question),e("div",{class:"options-container"},this.slide.options.map((t=>e("div",{class:"radio-input"},e("input",{type:"radio",name:"test",id:`${t["data-value"]}`,onClick:()=>this.handleQuestionOptionClick(t["data-model-id"]),"data-model-id":`${t["data-model-id"]}`}),e("label",{class:"option-label",htmlFor:`${t["data-value"]}`},e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-6","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-densest","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},t["data-value"])))))))))),r=()=>e("div",{class:"quiz-slide-result"},e("div",{class:"quiz-slide-content"},e("div",{class:"quiz-slide-dual-layout"},e("div",{class:"image-container"},e("img",{alt:"",src:this.slide.image})),e("div",{class:"content-container"},e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"medium","font-weight":"w-7","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-denser","para-margin":"margin-bottom-6","para-style":"","para-z-index":"z-1",styles:""},this.slide.title),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-5","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-bottom-6","para-style":"","para-z-index":"z-1",styles:""},this.slide.description),e("div",{class:"cta-container"},this.slide["cta-quaternary"]&&e("ptc-button",{type:"link",color:"ptc-quaternary","link-href":this.slide["cta-quaternary"].href,target:"_blank"},this.slide["cta-quaternary"].text),this.slide["cta-tertiary"]&&e("ptc-button",{type:"link",color:"ptc-tertiary","link-href":this.slide["cta-tertiary"].href,target:"_blank"},this.slide["cta-tertiary"].text))))));return e(a,null,this.quiz&&e("div",{class:"quiz-slide-container"},e("div",{class:"quiz-slide-background"}),(()=>{switch(this.slide["slide-type"]){case"initial":return e(n,null);case"question":return e(l,null,e(t,null),e(s,null),this.traversal.length>1?e(i,null):null);case"result":return e(l,null,e(t,null),e(r,null),e(i,null));default:return null}})()))}get el(){return n(this)}};s.style=':host{display:block}@media only screen and (min-width: 360px){:host .quiz-slide-container{position:relative;width:100%;border:1px solid var(--color-gray-12);background-color:white}:host .quiz-slide-container .quiz-slide-text-container{max-width:calc(24 * var(--ptc-element-spacing-07))}:host .quiz-slide-background{position:absolute;top:0;left:0;width:100%;height:100%;background:url("https://www.ptc.com/-/media/Development/Embedded-Vuforia-Quiz/vuforia-background-guide-01.svg");background-size:cover;background-position:center;opacity:0.25}:host .quiz-slide-initial{padding:var(--ptc-element-spacing-08);display:flex;justify-content:center}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-result .cta-container{display:flex;flex-direction:column;align-items:center}:host .quiz-slide-result .cta-container ptc-button{flex:1 0 100%;margin:0 0 var(--ptc-element-spacing-05) 0}:host .right-button-container{display:flex;justify-content:right}:host .right-button-container .restart-quiz-button{display:flex;margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) 0 0;transition:var(--ptc-transition-slow)}:host .right-button-container .restart-quiz-button #restart-arrow{display:flex;align-items:center}:host .right-button-container .restart-quiz-button #restart-arrow svg{margin-right:var(--ptc-element-spacing-03)}:host .right-button-container .restart-quiz-button:hover{cursor:pointer}:host .right-button-container .restart-quiz-button:hover #restart-arrow svg{transform:rotate(270deg)}:host .right-button-container .restart-quiz-button:hover ptc-para{opacity:0.7}:host .center-button-container{display:flex;justify-content:center}:host .previous-slide-button{display:flex;align-items:center;margin:0 0 var(--ptc-element-spacing-06) 0;transition:var(--ptc-transition-slow)}:host .previous-slide-button icon-asset{display:flex;align-items:center;margin-right:var(--ptc-element-spacing-03)}:host .previous-slide-button:hover{cursor:pointer}:host .previous-slide-button:hover icon-asset svg{transform:translateX(-8px)}:host .previous-slide-button:hover ptc-para{opacity:0.7}:host .quiz-slide-dual-layout .image-container{padding-top:var(--ptc-element-spacing-06);display:flex;justify-content:center;height:calc(4 * var(--ptc-element-spacing-08));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:100%}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .content-container .options-container{padding-left:var(--ptc-element-spacing-05);display:flex;flex-wrap:wrap}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 100%;margin-bottom:var(--ptc-element-spacing-06);display:flex;align-items:start}:host .quiz-slide-dual-layout .content-container .options-container .radio-input input[type=radio]{width:16px;height:16px}:host .quiz-slide-dual-layout .content-container .options-container .radio-input input[type=radio]:hover{cursor:pointer}:host .quiz-slide-dual-layout .content-container .options-container .radio-input input[type=radio]:hover:before{box-shadow:0px 0px 0px 2px var(--color-gray-05);border-radius:50%;opacity:0.7}:host .quiz-slide-dual-layout .content-container .options-container .radio-input input[type=radio]:before{content:"";display:block;width:60%;height:60%;margin:10%;padding:10%;border-radius:50%}:host .quiz-slide-dual-layout .content-container .options-container .radio-input input[type=radio]:checked:before{background:inherit}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .option-label{padding:0 var(--ptc-element-spacing-02) 0 var(--ptc-element-spacing-03)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .option-label:hover{cursor:pointer}}@media only screen and (min-width: 768px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout{margin:0 var(--ptc-element-spacing-06) 0 var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .image-container{height:calc(9 * var(--ptc-element-spacing-06));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:auto}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 48%}}@media only screen and (min-width: 992px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout .image-container{height:calc(8 * var(--ptc-element-spacing-07));width:auto}}@media only screen and (min-width: 1200px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-01) + var(--ptc-element-spacing-06)) 0}:host .quiz-slide-result .cta-container{flex-direction:row}:host .quiz-slide-result .cta-container ptc-button{flex:none;margin:0 var(--ptc-element-spacing-05) 0 0}:host .quiz-slide-dual-layout{display:flex;margin-bottom:var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .image-container{display:flex;align-items:center;height:calc(7 * var(--ptc-element-spacing-07));width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .image-container img{height:100%;max-height:calc(7 * var(--ptc-element-spacing-07));max-width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .content-container .options-container{padding-left:0}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:nth-of-type(odd){margin-right:4%}}@media only screen and (min-width: 1440px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 var(--ptc-element-spacing-07) 0}}';export{s as ptc_embedded_quiz}
|
|
File without changes
|
|
File without changes
|