@ptcwebops/ptcw-design 0.9.1 → 0.9.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/bundle-example.cjs.entry.js +26 -0
- package/dist/cjs/dropdown-item.cjs.entry.js +10 -10
- package/dist/cjs/icon-asset.cjs.entry.js +42 -42
- package/dist/cjs/list-item.cjs.entry.js +19 -19
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/lottie-player.cjs.entry.js +354 -354
- package/dist/cjs/max-width-container.cjs.entry.js +29 -29
- 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 +35 -35
- package/dist/cjs/ptc-announcement.cjs.entry.js +50 -50
- package/dist/cjs/ptc-background-video.cjs.entry.js +16 -16
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +12 -12
- package/dist/cjs/ptc-button.cjs.entry.js +35 -35
- package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +151 -0
- package/dist/cjs/ptc-card-content.cjs.entry.js +50 -50
- package/dist/cjs/ptc-card_6.cjs.entry.js +442 -442
- package/dist/cjs/ptc-checkbox.cjs.entry.js +33 -33
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +346 -346
- package/dist/cjs/ptc-container.cjs.entry.js +32 -32
- package/dist/cjs/ptc-dropdown.cjs.entry.js +64 -64
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +46 -46
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +38 -38
- 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-list.cjs.entry.js +21 -21
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +36 -36
- package/dist/cjs/ptc-link.cjs.entry.js +28 -28
- package/dist/cjs/ptc-list.cjs.entry.js +49 -49
- package/dist/cjs/ptc-lottie.cjs.entry.js +10 -10
- package/dist/cjs/ptc-media-card.cjs.entry.js +24 -24
- package/dist/cjs/ptc-minimized-footer.cjs.entry.js +8 -8
- package/dist/cjs/ptc-minimized-header.cjs.entry.js +11 -11
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +53 -53
- package/dist/cjs/ptc-modal.cjs.entry.js +143 -143
- package/dist/cjs/ptc-overlay.cjs.entry.js +23 -23
- package/dist/cjs/ptc-pagenation.cjs.entry.js +105 -105
- package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -10
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +20 -20
- package/dist/cjs/ptc-pricing-options-component.cjs.entry.js +22 -22
- package/dist/cjs/ptc-quote.cjs.entry.js +23 -23
- package/dist/cjs/ptc-readmore_2.cjs.entry.js +109 -109
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
- package/dist/cjs/ptc-search-field.cjs.entry.js +43 -36
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +50 -50
- package/dist/cjs/ptc-social-share.cjs.entry.js +59 -59
- package/dist/cjs/ptc-span.cjs.entry.js +18 -18
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +32 -32
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +73 -73
- package/dist/cjs/ptc-tab-list.cjs.entry.js +125 -125
- 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 +27 -27
- package/dist/cjs/ptc-title.cjs.entry.js +67 -67
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +15 -15
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/tab-content.cjs.entry.js +27 -27
- package/dist/cjs/tab-header.cjs.entry.js +45 -45
- package/dist/cjs/{utils-416c94fe.js → utils-9eb22041.js} +90 -90
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/bundle-example/bundle-example.css +6 -0
- package/dist/collection/components/bundle-example/bundle-example.js +32 -0
- package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
- 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 +387 -387
- package/dist/collection/components/icon-asset/media/regular.svg +463 -463
- package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
- package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
- package/dist/collection/components/list-item/list-item.js +107 -107
- package/dist/collection/components/max-width-container/max-width-container.css +7 -7
- package/dist/collection/components/max-width-container/max-width-container.js +80 -80
- 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/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +2 -5
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +287 -287
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +78 -78
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +238 -238
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +102 -102
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +22 -22
- package/dist/collection/components/ptc-button/ptc-button.js +283 -283
- package/dist/collection/components/ptc-card/ptc-card.css +20 -20
- package/dist/collection/components/ptc-card/ptc-card.js +344 -344
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +187 -187
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +197 -197
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +118 -118
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +586 -586
- package/dist/collection/components/ptc-container/ptc-container.js +120 -120
- package/dist/collection/components/ptc-date/ptc-date.js +190 -190
- 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 +182 -182
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +122 -122
- 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-list/ptc-icon-list.js +127 -127
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +87 -87
- package/dist/collection/components/ptc-img/ptc-img.js +293 -293
- package/dist/collection/components/ptc-link/ptc-link.js +203 -203
- package/dist/collection/components/ptc-list/ptc-list.js +99 -99
- package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
- package/dist/collection/components/ptc-lottie/ptc-lottie.js +62 -62
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +216 -216
- package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +18 -18
- package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +81 -81
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
- package/dist/collection/components/ptc-modal/ptc-modal.js +347 -347
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +322 -322
- package/dist/collection/components/ptc-para/ptc-para.js +224 -224
- package/dist/collection/components/ptc-picture/ptc-picture.js +450 -450
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +60 -60
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
- package/dist/collection/components/ptc-pricing-options-component/ptc-pricing-options-component.js +39 -39
- package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +277 -277
- 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.css +17 -0
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +140 -116
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +34 -0
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +146 -0
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +239 -239
- 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 +87 -87
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +72 -72
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +177 -177
- 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 +166 -166
- package/dist/collection/components/ptc-title/ptc-title.js +310 -310
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +228 -228
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
- package/dist/collection/components/tab-content/tab-content.js +84 -84
- package/dist/collection/components/tab-header/tab-header.js +136 -136
- 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/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/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.d.ts +12 -0
- package/dist/custom-elements/index.js +3624 -3563
- package/dist/esm/bundle-example.entry.js +22 -0
- package/dist/esm/dropdown-item.entry.js +10 -10
- package/dist/esm/icon-asset.entry.js +42 -42
- package/dist/esm/list-item.entry.js +19 -19
- package/dist/esm/loader.js +1 -1
- package/dist/esm/lottie-player.entry.js +354 -354
- package/dist/esm/max-width-container.entry.js +29 -29
- 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 +35 -35
- package/dist/esm/ptc-announcement.entry.js +50 -50
- package/dist/esm/ptc-background-video.entry.js +16 -16
- package/dist/esm/ptc-breadcrumb.entry.js +12 -12
- package/dist/esm/ptc-button.entry.js +35 -35
- package/dist/esm/ptc-card-bottom_3.entry.js +145 -0
- package/dist/esm/ptc-card-content.entry.js +50 -50
- package/dist/esm/ptc-card_6.entry.js +442 -442
- package/dist/esm/ptc-checkbox.entry.js +33 -33
- package/dist/esm/ptc-collapse-list.entry.js +346 -346
- package/dist/esm/ptc-container.entry.js +32 -32
- package/dist/esm/ptc-dropdown.entry.js +64 -64
- package/dist/esm/ptc-dynamic-card.entry.js +46 -46
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +38 -38
- 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-list.entry.js +21 -21
- package/dist/esm/ptc-icon-minimize.entry.js +36 -36
- package/dist/esm/ptc-link.entry.js +28 -28
- package/dist/esm/ptc-list.entry.js +49 -49
- package/dist/esm/ptc-lottie.entry.js +10 -10
- package/dist/esm/ptc-media-card.entry.js +24 -24
- package/dist/esm/ptc-minimized-footer.entry.js +8 -8
- package/dist/esm/ptc-minimized-header.entry.js +11 -11
- package/dist/esm/ptc-mobile-select.entry.js +53 -53
- package/dist/esm/ptc-modal.entry.js +143 -143
- package/dist/esm/ptc-overlay.entry.js +23 -23
- package/dist/esm/ptc-pagenation.entry.js +105 -105
- package/dist/esm/ptc-previous-url.entry.js +10 -10
- package/dist/esm/ptc-pricing-block.entry.js +20 -20
- package/dist/esm/ptc-pricing-options-component.entry.js +22 -22
- package/dist/esm/ptc-quote.entry.js +23 -23
- package/dist/esm/ptc-readmore_2.entry.js +109 -109
- package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
- package/dist/esm/ptc-search-field.entry.js +44 -37
- package/dist/esm/ptc-shopping-cart.entry.js +50 -50
- package/dist/esm/ptc-social-share.entry.js +59 -59
- package/dist/esm/ptc-span.entry.js +18 -18
- package/dist/esm/ptc-sticky-icons.entry.js +32 -32
- package/dist/esm/ptc-svg-btn.entry.js +73 -73
- package/dist/esm/ptc-tab-list.entry.js +125 -125
- 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 +27 -27
- package/dist/esm/ptc-title.entry.js +67 -67
- package/dist/esm/ptc-two-column-media.entry.js +15 -15
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/tab-content.entry.js +27 -27
- package/dist/esm/tab-header.entry.js +45 -45
- 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 +387 -387
- 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 +3013 -3013
- package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
- package/dist/ptcw-design/p-294df3ac.entry.js +1 -0
- package/dist/ptcw-design/{p-163fcfc1.entry.js → p-4882c5fc.entry.js} +1 -1
- package/dist/ptcw-design/p-631238df.entry.js +1 -0
- package/dist/ptcw-design/{p-32b81dde.entry.js → p-8bcb2fab.entry.js} +1 -1
- package/dist/ptcw-design/{p-45c0076d.entry.js → p-b48a3e6f.entry.js} +1 -1
- package/dist/ptcw-design/{p-049964f4.entry.js → p-bbeb95bd.entry.js} +1 -1
- package/dist/ptcw-design/p-c177667e.entry.js +1 -0
- package/dist/ptcw-design/{p-8d210676.entry.js → p-fa17a02e.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/bundle-example/bundle-example.d.ts +5 -0
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
- package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
- package/dist/types/components/list-item/list-item.d.ts +8 -8
- package/dist/types/components/max-width-container/max-width-container.d.ts +9 -9
- package/dist/types/components/my-component/my-component.d.ts +16 -16
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +59 -59
- package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +13 -13
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +51 -51
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +26 -26
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -4
- package/dist/types/components/ptc-button/ptc-button.d.ts +60 -60
- package/dist/types/components/ptc-card/ptc-card.d.ts +67 -67
- 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 +18 -18
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +23 -23
- package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +11 -11
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +56 -56
- package/dist/types/components/ptc-container/ptc-container.d.ts +12 -12
- package/dist/types/components/ptc-date/ptc-date.d.ts +41 -41
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +24 -24
- package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.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-list/ptc-icon-list.d.ts +21 -21
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +9 -9
- package/dist/types/components/ptc-img/ptc-img.d.ts +51 -51
- 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-lottie/ptc-lottie.d.ts +12 -12
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +45 -45
- package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +3 -3
- package/dist/types/components/ptc-minimized-header/ptc-minimized-header.d.ts +6 -6
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +59 -59
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +27 -27
- package/dist/types/components/ptc-para/ptc-para.d.ts +43 -43
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +93 -93
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +5 -5
- package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
- package/dist/types/components/ptc-pricing-options-component/ptc-pricing-options-component.d.ts +6 -6
- package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
- package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +56 -56
- 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 +14 -12
- 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 -0
- package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +33 -33
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
- package/dist/types/components/ptc-span/ptc-span.d.ts +16 -16
- package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +12 -12
- package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +19 -19
- 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 +33 -33
- package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +42 -42
- package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
- package/dist/types/components/tab-content/tab-content.d.ts +12 -12
- package/dist/types/components/tab-header/tab-header.d.ts +14 -14
- package/dist/types/components.d.ts +148 -108
- 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 +31 -31
- package/dist/types/utils/utils.d.ts +5 -5
- package/package.json +61 -61
- package/readme.md +18 -18
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -46
- package/dist/cjs/ptc-card-wrapper.cjs.entry.js +0 -83
- package/dist/esm/ptc-card-bottom.entry.js +0 -42
- package/dist/esm/ptc-card-wrapper.entry.js +0 -79
- package/dist/ptcw-design/p-20cc9c39.entry.js +0 -1
- package/dist/ptcw-design/p-5f20876d.entry.js +0 -1
- package/dist/ptcw-design/p-a5f20c41.entry.js +0 -1
- /package/dist/ptcw-design/{p-ea875d9e.js → p-36665caa.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,31 +1,31 @@
|
|
|
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
|
-
}
|
|
23
|
-
export interface ITabHeaderData extends ITabData {
|
|
24
|
-
id: string;
|
|
25
|
-
}
|
|
26
|
-
export interface ITabContentData extends ITabData {
|
|
27
|
-
}
|
|
28
|
-
export interface ITabGroup {
|
|
29
|
-
header: ITabHeaderData;
|
|
30
|
-
content: ITabContentData;
|
|
31
|
-
}
|
|
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
|
+
}
|
|
23
|
+
export interface ITabHeaderData extends ITabData {
|
|
24
|
+
id: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ITabContentData extends ITabData {
|
|
27
|
+
}
|
|
28
|
+
export interface ITabGroup {
|
|
29
|
+
header: ITabHeaderData;
|
|
30
|
+
content: ITabContentData;
|
|
31
|
+
}
|
|
@@ -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,61 +1,61 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ptcwebops/ptcw-design",
|
|
3
|
-
"version": "0.9.
|
|
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
|
-
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"@daveberning/griddle": "^0.3.0",
|
|
30
|
-
"@stencil/core": "^2.20.0",
|
|
31
|
-
"@teamhive/lottie-player": "^1.0.0",
|
|
32
|
-
"ellipsize": "^0.5.1",
|
|
33
|
-
"enquire.js": "^2.1.6",
|
|
34
|
-
"npmrc": "^1.1.1",
|
|
35
|
-
"resize-observer-polyfill": "^1.5.1"
|
|
36
|
-
},
|
|
37
|
-
"license": "MIT",
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"@stencil/sass": "^1.4.1",
|
|
40
|
-
"@types/jest": "^27.0.3",
|
|
41
|
-
"jest": "^27.4.5",
|
|
42
|
-
"jest-cli": "^27.4.5",
|
|
43
|
-
"mobile-select": "^1.1.2",
|
|
44
|
-
"puppeteer": "^10.0.0",
|
|
45
|
-
"stencil-inline-svg": "^1.1.0"
|
|
46
|
-
},
|
|
47
|
-
"directories": {
|
|
48
|
-
"doc": "docs"
|
|
49
|
-
},
|
|
50
|
-
"repository": {
|
|
51
|
-
"type": "git",
|
|
52
|
-
"url": "git+https://@bitbucket.org/ptc-sitecore-workspace/ptc-design-system.git"
|
|
53
|
-
},
|
|
54
|
-
"keywords": [
|
|
55
|
-
"design system",
|
|
56
|
-
"web components",
|
|
57
|
-
"stenciljs"
|
|
58
|
-
],
|
|
59
|
-
"author": "Yunfeng Qian",
|
|
60
|
-
"homepage": "https://bitbucket.org/ptc-sitecore-workspace/ptc-design-system#readme"
|
|
61
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ptcwebops/ptcw-design",
|
|
3
|
+
"version": "0.9.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
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@daveberning/griddle": "^0.3.0",
|
|
30
|
+
"@stencil/core": "^2.20.0",
|
|
31
|
+
"@teamhive/lottie-player": "^1.0.0",
|
|
32
|
+
"ellipsize": "^0.5.1",
|
|
33
|
+
"enquire.js": "^2.1.6",
|
|
34
|
+
"npmrc": "^1.1.1",
|
|
35
|
+
"resize-observer-polyfill": "^1.5.1"
|
|
36
|
+
},
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@stencil/sass": "^1.4.1",
|
|
40
|
+
"@types/jest": "^27.0.3",
|
|
41
|
+
"jest": "^27.4.5",
|
|
42
|
+
"jest-cli": "^27.4.5",
|
|
43
|
+
"mobile-select": "^1.1.2",
|
|
44
|
+
"puppeteer": "^10.0.0",
|
|
45
|
+
"stencil-inline-svg": "^1.1.0"
|
|
46
|
+
},
|
|
47
|
+
"directories": {
|
|
48
|
+
"doc": "docs"
|
|
49
|
+
},
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "git+https://@bitbucket.org/ptc-sitecore-workspace/ptc-design-system.git"
|
|
53
|
+
},
|
|
54
|
+
"keywords": [
|
|
55
|
+
"design system",
|
|
56
|
+
"web components",
|
|
57
|
+
"stenciljs"
|
|
58
|
+
],
|
|
59
|
+
"author": "Yunfeng Qian",
|
|
60
|
+
"homepage": "https://bitbucket.org/ptc-sitecore-workspace/ptc-design-system#readme"
|
|
61
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
# PTC Design 0.9.
|
|
4
|
-
The site is the place for documentation on PTC Design System
|
|
5
|
-
|
|
6
|
-
## Building the Site
|
|
7
|
-
|
|
8
|
-
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.
|
|
9
|
-
|
|
10
|
-
## Project Tools
|
|
11
|
-
|
|
12
|
-
* stenciljs 2.20.0
|
|
13
|
-
* Node 18.13.0
|
|
14
|
-
* npm 8.19.3
|
|
15
|
-
* jest 27.4.5
|
|
16
|
-
* puppeteer 10.0.0
|
|
17
|
-
|
|
18
|
-
## License
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# PTC Design 0.9.2
|
|
4
|
+
The site is the place for documentation on PTC Design System
|
|
5
|
+
|
|
6
|
+
## Building the Site
|
|
7
|
+
|
|
8
|
+
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.
|
|
9
|
+
|
|
10
|
+
## Project Tools
|
|
11
|
+
|
|
12
|
+
* stenciljs 2.20.0
|
|
13
|
+
* Node 18.13.0
|
|
14
|
+
* npm 8.19.3
|
|
15
|
+
* jest 27.4.5
|
|
16
|
+
* puppeteer 10.0.0
|
|
17
|
+
|
|
18
|
+
## License
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-c27e52b2.js');
|
|
6
|
-
|
|
7
|
-
const ptcCardBottomCss = ":host{display:block}:host(.card-tall) .ptc-card-bottom-wrapper,:host(.card-wide) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0 var(--ptc-element-spacing-07) var(--ptc-element-spacing-07) var(--ptc-element-spacing-06);z-index:2}:host(.card-2up) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0px 24px 24px 16px}:host(.card-playlist){flex:72% 2 1;align-self:center}:host(.mouse-hover-card-bottom) .ptc-card-bottom-wrapper{z-index:5;cursor:pointer}:host(.extra-tall){position:absolute;top:0;left:0}:host(.extra-tall) .ptc-card-bottom-wrapper{position:relative;top:0px;left:0px;bottom:0px;right:0px;display:flex;flex-direction:column;align-items:center;width:calc(100% - 64px);padding:var(--ptc-layout-spacing-05) var(--ptc-element-spacing-07);padding-bottom:calc(var(--ptc-layout-spacing-03) + var(--ptc-layout-spacing-05));z-index:2}@media only screen and (min-width: 768px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-bottom:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-04) + var(--ptc-layout-spacing-05))}}@media only screen and (min-width: 1440px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-05) * 2)}}:host(.color-outlined) .ptc-card-bottom-wrapper{position:absolute;top:50%;transform:translateY(-50%);display:flex;justify-content:center;flex-direction:column;align-items:center;width:calc(100% - 80px);height:100%;padding:0px var(--ptc-element-spacing-08)}@media only screen and (min-width: 768px){:host(.card-2up) .ptc-card-bottom-wrapper{padding:0 32px 32px 24px}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:20% 2 1;justify-content:flex-end}:host(.card-video-intro) .ptc-card-bottom-wrapper{display:flex;justify-content:flex-end}}@media only screen and (min-width: 1440px){:host(.card-2up) .ptc-card-bottom-wrapper{width:70%}}@media only screen and (min-width: 1980px){:host(.card-2up) .ptc-card-bottom-wrapper{width:60%}}";
|
|
8
|
-
|
|
9
|
-
const PtcCardBottom = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.hoverEvent = index.createEvent(this, "hoverEvent", 7);
|
|
13
|
-
this.leaveEvent = index.createEvent(this, "leaveEvent", 7);
|
|
14
|
-
this.cardType = undefined;
|
|
15
|
-
this.styles = undefined;
|
|
16
|
-
}
|
|
17
|
-
hoverEventHandler() {
|
|
18
|
-
this.hoverEvent.emit();
|
|
19
|
-
//if statement: the card type that doesn't need a hover event
|
|
20
|
-
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
|
|
21
|
-
this.el.previousElementSibling.classList.add('mouse-hover');
|
|
22
|
-
this.el.classList.add('mouse-hover-card-bottom');
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
leaveEventHandler() {
|
|
26
|
-
this.hoverEvent.emit();
|
|
27
|
-
//if statement: the card type that doesn't need a hover event
|
|
28
|
-
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
|
|
29
|
-
this.el.previousElementSibling.classList.remove('mouse-hover');
|
|
30
|
-
this.el.classList.remove('mouse-hover-card-bottom');
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
render() {
|
|
34
|
-
const classMap = this.getCssClassMap();
|
|
35
|
-
return (index.h(index.Host, { part: "card-bottom", class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && index.h("style", null, this.styles), index.h("div", { class: "ptc-card-bottom-wrapper" }, index.h("slot", null))));
|
|
36
|
-
}
|
|
37
|
-
getCssClassMap() {
|
|
38
|
-
return {
|
|
39
|
-
[this.cardType]: this.cardType ? true : false,
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
get el() { return index.getElement(this); }
|
|
43
|
-
};
|
|
44
|
-
PtcCardBottom.style = ptcCardBottomCss;
|
|
45
|
-
|
|
46
|
-
exports.ptc_card_bottom = PtcCardBottom;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-c27e52b2.js');
|
|
6
|
-
|
|
7
|
-
const ptcCardWrapperCss = ":host{display:block}:host(.card-tall),:host(.card-wide),:host(.card-video),:host(.card-playlist),:host(.card-2up){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a,:host(.card-playlist) a,:host(.card-2up) a{text-decoration:none !important}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover,:host(.card-playlist) a:hover,:host(.card-2up) a:hover{text-decoration:none}:host(.card-tall) a:focus,:host(.card-wide) a:focus,:host(.card-video) a:focus,:host(.card-playlist) a:focus,:host(.card-2up) a:focus{outline:none;text-decoration:none}:host(.card-tall) a:focus-visible,:host(.card-wide) a:focus-visible,:host(.card-video) a:focus-visible,:host(.card-playlist) a:focus-visible,:host(.card-2up) a:focus-visible{outline:none;text-decoration:none}:host(.card-playlist) div,:host(.card-playlist) a{display:flex;text-decoration:none;outline:none}:host(.card-playlist) div:hover,:host(.card-playlist) a:hover{text-decoration:none;outline:none}:host(.card-video-intro){border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host(.card-video-intro) div{display:block}:host(.card-video-shadow){box-shadow:var(--ptc-shadow-x-small)}:host(.extra-tall){position:relative}:host(.extra-tall) a{position:relative;display:block;width:100%;height:100%;inset:0px}:host(.color-outlined){position:relative;border-radius:var(--ptc-border-radius-large)}:host(.card-video-p){padding:var(--ptc-element-spacing-05);padding-bottom:var(--ptc-element-spacing-06)}:host(.card-m-right){margin-right:var(--ptc-element-spacing-02)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-02)}:host(.extraT-overlay) a::after{content:\"\";position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0.6);bottom:0;left:0;border-radius:var(--ptc-border-radius-large)}@media only screen and (min-width: 768px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-03)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-04)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro) div{display:flex}}";
|
|
8
|
-
|
|
9
|
-
const PtcCardPlm = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.hoverEvent = index.createEvent(this, "hoverEvent", 7);
|
|
13
|
-
this.leaveEvent = index.createEvent(this, "leaveEvent", 7);
|
|
14
|
-
this.cardType = undefined;
|
|
15
|
-
this.cardLink = undefined;
|
|
16
|
-
this.linkTitle = undefined;
|
|
17
|
-
this.linkTarget = '_self';
|
|
18
|
-
}
|
|
19
|
-
/** Internal Screen Size State */
|
|
20
|
-
// @State() mql: MediaQueryList;
|
|
21
|
-
handleResize() {
|
|
22
|
-
this.checkScreenSize();
|
|
23
|
-
}
|
|
24
|
-
hoverEventHandler() {
|
|
25
|
-
if (this.el.classList.contains('extra-tall')) {
|
|
26
|
-
this.hoverEvent.emit();
|
|
27
|
-
this.el.classList.add('extraT-overlay');
|
|
28
|
-
}
|
|
29
|
-
if (this.el.classList.contains('color-outlined')) {
|
|
30
|
-
this.hoverEvent.emit();
|
|
31
|
-
const cardOverlay = this.el.querySelector('ptc-overlay');
|
|
32
|
-
cardOverlay.setOverlay('black-5');
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
leaveEventHandler() {
|
|
36
|
-
if (this.el.classList.contains('extra-tall')) {
|
|
37
|
-
this.hoverEvent.emit();
|
|
38
|
-
this.el.classList.remove('extraT-overlay');
|
|
39
|
-
}
|
|
40
|
-
if (this.el.classList.contains('color-outlined')) {
|
|
41
|
-
this.hoverEvent.emit();
|
|
42
|
-
const cardOverlay = this.el.querySelector('ptc-overlay');
|
|
43
|
-
cardOverlay.setOverlay('black-4');
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
componentDidLoad() {
|
|
47
|
-
this.checkScreenSize();
|
|
48
|
-
}
|
|
49
|
-
render() {
|
|
50
|
-
const classMap = this.getCssClassMap();
|
|
51
|
-
const Tag = !!this.cardLink ? 'a' : 'div';
|
|
52
|
-
return (index.h(index.Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, index.h(Tag, Object.assign({}, (!!this.cardLink ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink ? { target: this.linkTarget } : {}), (!!this.cardLink ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), index.h("slot", null))));
|
|
53
|
-
}
|
|
54
|
-
getCssClassMap() {
|
|
55
|
-
return {
|
|
56
|
-
[this.cardType]: this.cardType ? true : false,
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
getBtmContentHeight() {
|
|
60
|
-
const bottomContent = this.el.querySelector('ptc-card-bottom');
|
|
61
|
-
return bottomContent.offsetHeight;
|
|
62
|
-
}
|
|
63
|
-
checkScreenSize() {
|
|
64
|
-
if (window.innerWidth < 768) {
|
|
65
|
-
if (this.cardType === 'extra-tall') {
|
|
66
|
-
const cardContent = this.el.querySelector('ptc-card-content');
|
|
67
|
-
if (cardContent) {
|
|
68
|
-
cardContent.setHeight(this.getBtmContentHeight());
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
const cardContent = this.el.querySelector('ptc-card-content');
|
|
74
|
-
if (cardContent) {
|
|
75
|
-
cardContent.removeInlineHeight();
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
get el() { return index.getElement(this); }
|
|
80
|
-
};
|
|
81
|
-
PtcCardPlm.style = ptcCardWrapperCss;
|
|
82
|
-
|
|
83
|
-
exports.ptc_card_wrapper = PtcCardPlm;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-40bc29fc.js';
|
|
2
|
-
|
|
3
|
-
const ptcCardBottomCss = ":host{display:block}:host(.card-tall) .ptc-card-bottom-wrapper,:host(.card-wide) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0 var(--ptc-element-spacing-07) var(--ptc-element-spacing-07) var(--ptc-element-spacing-06);z-index:2}:host(.card-2up) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0px 24px 24px 16px}:host(.card-playlist){flex:72% 2 1;align-self:center}:host(.mouse-hover-card-bottom) .ptc-card-bottom-wrapper{z-index:5;cursor:pointer}:host(.extra-tall){position:absolute;top:0;left:0}:host(.extra-tall) .ptc-card-bottom-wrapper{position:relative;top:0px;left:0px;bottom:0px;right:0px;display:flex;flex-direction:column;align-items:center;width:calc(100% - 64px);padding:var(--ptc-layout-spacing-05) var(--ptc-element-spacing-07);padding-bottom:calc(var(--ptc-layout-spacing-03) + var(--ptc-layout-spacing-05));z-index:2}@media only screen and (min-width: 768px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-bottom:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-04) + var(--ptc-layout-spacing-05))}}@media only screen and (min-width: 1440px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-05) * 2)}}:host(.color-outlined) .ptc-card-bottom-wrapper{position:absolute;top:50%;transform:translateY(-50%);display:flex;justify-content:center;flex-direction:column;align-items:center;width:calc(100% - 80px);height:100%;padding:0px var(--ptc-element-spacing-08)}@media only screen and (min-width: 768px){:host(.card-2up) .ptc-card-bottom-wrapper{padding:0 32px 32px 24px}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:20% 2 1;justify-content:flex-end}:host(.card-video-intro) .ptc-card-bottom-wrapper{display:flex;justify-content:flex-end}}@media only screen and (min-width: 1440px){:host(.card-2up) .ptc-card-bottom-wrapper{width:70%}}@media only screen and (min-width: 1980px){:host(.card-2up) .ptc-card-bottom-wrapper{width:60%}}";
|
|
4
|
-
|
|
5
|
-
const PtcCardBottom = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.hoverEvent = createEvent(this, "hoverEvent", 7);
|
|
9
|
-
this.leaveEvent = createEvent(this, "leaveEvent", 7);
|
|
10
|
-
this.cardType = undefined;
|
|
11
|
-
this.styles = undefined;
|
|
12
|
-
}
|
|
13
|
-
hoverEventHandler() {
|
|
14
|
-
this.hoverEvent.emit();
|
|
15
|
-
//if statement: the card type that doesn't need a hover event
|
|
16
|
-
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
|
|
17
|
-
this.el.previousElementSibling.classList.add('mouse-hover');
|
|
18
|
-
this.el.classList.add('mouse-hover-card-bottom');
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
leaveEventHandler() {
|
|
22
|
-
this.hoverEvent.emit();
|
|
23
|
-
//if statement: the card type that doesn't need a hover event
|
|
24
|
-
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
|
|
25
|
-
this.el.previousElementSibling.classList.remove('mouse-hover');
|
|
26
|
-
this.el.classList.remove('mouse-hover-card-bottom');
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
render() {
|
|
30
|
-
const classMap = this.getCssClassMap();
|
|
31
|
-
return (h(Host, { part: "card-bottom", class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-bottom-wrapper" }, h("slot", null))));
|
|
32
|
-
}
|
|
33
|
-
getCssClassMap() {
|
|
34
|
-
return {
|
|
35
|
-
[this.cardType]: this.cardType ? true : false,
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
get el() { return getElement(this); }
|
|
39
|
-
};
|
|
40
|
-
PtcCardBottom.style = ptcCardBottomCss;
|
|
41
|
-
|
|
42
|
-
export { PtcCardBottom as ptc_card_bottom };
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-40bc29fc.js';
|
|
2
|
-
|
|
3
|
-
const ptcCardWrapperCss = ":host{display:block}:host(.card-tall),:host(.card-wide),:host(.card-video),:host(.card-playlist),:host(.card-2up){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a,:host(.card-playlist) a,:host(.card-2up) a{text-decoration:none !important}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover,:host(.card-playlist) a:hover,:host(.card-2up) a:hover{text-decoration:none}:host(.card-tall) a:focus,:host(.card-wide) a:focus,:host(.card-video) a:focus,:host(.card-playlist) a:focus,:host(.card-2up) a:focus{outline:none;text-decoration:none}:host(.card-tall) a:focus-visible,:host(.card-wide) a:focus-visible,:host(.card-video) a:focus-visible,:host(.card-playlist) a:focus-visible,:host(.card-2up) a:focus-visible{outline:none;text-decoration:none}:host(.card-playlist) div,:host(.card-playlist) a{display:flex;text-decoration:none;outline:none}:host(.card-playlist) div:hover,:host(.card-playlist) a:hover{text-decoration:none;outline:none}:host(.card-video-intro){border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host(.card-video-intro) div{display:block}:host(.card-video-shadow){box-shadow:var(--ptc-shadow-x-small)}:host(.extra-tall){position:relative}:host(.extra-tall) a{position:relative;display:block;width:100%;height:100%;inset:0px}:host(.color-outlined){position:relative;border-radius:var(--ptc-border-radius-large)}:host(.card-video-p){padding:var(--ptc-element-spacing-05);padding-bottom:var(--ptc-element-spacing-06)}:host(.card-m-right){margin-right:var(--ptc-element-spacing-02)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-02)}:host(.extraT-overlay) a::after{content:\"\";position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0.6);bottom:0;left:0;border-radius:var(--ptc-border-radius-large)}@media only screen and (min-width: 768px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-03)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-04)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro) div{display:flex}}";
|
|
4
|
-
|
|
5
|
-
const PtcCardPlm = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.hoverEvent = createEvent(this, "hoverEvent", 7);
|
|
9
|
-
this.leaveEvent = createEvent(this, "leaveEvent", 7);
|
|
10
|
-
this.cardType = undefined;
|
|
11
|
-
this.cardLink = undefined;
|
|
12
|
-
this.linkTitle = undefined;
|
|
13
|
-
this.linkTarget = '_self';
|
|
14
|
-
}
|
|
15
|
-
/** Internal Screen Size State */
|
|
16
|
-
// @State() mql: MediaQueryList;
|
|
17
|
-
handleResize() {
|
|
18
|
-
this.checkScreenSize();
|
|
19
|
-
}
|
|
20
|
-
hoverEventHandler() {
|
|
21
|
-
if (this.el.classList.contains('extra-tall')) {
|
|
22
|
-
this.hoverEvent.emit();
|
|
23
|
-
this.el.classList.add('extraT-overlay');
|
|
24
|
-
}
|
|
25
|
-
if (this.el.classList.contains('color-outlined')) {
|
|
26
|
-
this.hoverEvent.emit();
|
|
27
|
-
const cardOverlay = this.el.querySelector('ptc-overlay');
|
|
28
|
-
cardOverlay.setOverlay('black-5');
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
leaveEventHandler() {
|
|
32
|
-
if (this.el.classList.contains('extra-tall')) {
|
|
33
|
-
this.hoverEvent.emit();
|
|
34
|
-
this.el.classList.remove('extraT-overlay');
|
|
35
|
-
}
|
|
36
|
-
if (this.el.classList.contains('color-outlined')) {
|
|
37
|
-
this.hoverEvent.emit();
|
|
38
|
-
const cardOverlay = this.el.querySelector('ptc-overlay');
|
|
39
|
-
cardOverlay.setOverlay('black-4');
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
componentDidLoad() {
|
|
43
|
-
this.checkScreenSize();
|
|
44
|
-
}
|
|
45
|
-
render() {
|
|
46
|
-
const classMap = this.getCssClassMap();
|
|
47
|
-
const Tag = !!this.cardLink ? 'a' : 'div';
|
|
48
|
-
return (h(Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, h(Tag, Object.assign({}, (!!this.cardLink ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink ? { target: this.linkTarget } : {}), (!!this.cardLink ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), h("slot", null))));
|
|
49
|
-
}
|
|
50
|
-
getCssClassMap() {
|
|
51
|
-
return {
|
|
52
|
-
[this.cardType]: this.cardType ? true : false,
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
getBtmContentHeight() {
|
|
56
|
-
const bottomContent = this.el.querySelector('ptc-card-bottom');
|
|
57
|
-
return bottomContent.offsetHeight;
|
|
58
|
-
}
|
|
59
|
-
checkScreenSize() {
|
|
60
|
-
if (window.innerWidth < 768) {
|
|
61
|
-
if (this.cardType === 'extra-tall') {
|
|
62
|
-
const cardContent = this.el.querySelector('ptc-card-content');
|
|
63
|
-
if (cardContent) {
|
|
64
|
-
cardContent.setHeight(this.getBtmContentHeight());
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
const cardContent = this.el.querySelector('ptc-card-content');
|
|
70
|
-
if (cardContent) {
|
|
71
|
-
cardContent.removeInlineHeight();
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
get el() { return getElement(this); }
|
|
76
|
-
};
|
|
77
|
-
PtcCardPlm.style = ptcCardWrapperCss;
|
|
78
|
-
|
|
79
|
-
export { PtcCardPlm as ptc_card_wrapper };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,c as t,h as e,g as a}from"./p-9fb2ab8c.js";const s=class{constructor(e){r(this,e),this.valueChanged=t(this,"valueChanged",7),this.clicked=t(this,"clicked",7),this.textValue=void 0,this.placeholderLabel=void 0}textChangedHandler(r){this.valueChanged.emit({sender:this,event:r,searchTerm:this.getSearchValue()})}buttonClickHandler(r){this.clicked.emit({sender:this,event:r,searchTerm:this.getSearchValue()})}getSearchValue(){let r="",t=this.el.shadowRoot.querySelector("input");return t&&(r=t.value),r}render(){return e("div",{class:"search-div"},e("input",{type:"text",value:this.textValue,placeholder:this.placeholderLabel,onChange:r=>{this.textChangedHandler(r)}}),e("button",{type:"button",color:"blackgrey",class:"search-btn",onClick:r=>{this.buttonClickHandler(r)}},e("icon-asset",{type:"ptc",size:"medium",name:"new-search",color:"white"})))}get el(){return a(this)}};s.style=":host .search-div{display:flex;align-items:center;justify-content:space-between;height:51px;box-shadow:var(--ptc-shadow-small);border-radius:var(--ptc-border-radius-standard)}:host .search-div input{height:-webkit-fill-available;border:0px solid var(--color-gray-12);border-radius:var(--ptc-border-radius-standard) 0px 0px var(--ptc-border-radius-standard);flex-grow:2;padding-left:var(--ptc-element-spacing-04);line-height:var(--ptc-line-height-loose)}:host .search-div input:focus-visible{border-radius:var(--ptc-border-radius-standard) 0px 0px var(--ptc-border-radius-standard);outline:none}:host .search-div input::placeholder{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-small);position:relative;top:1px;color:var(--color-gray-10)}:host .search-div .search-btn{cursor:pointer;height:51px;width:51px;border-radius:0px var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px;background-color:var(--color-gray-12);border:0px solid var(--color-gray-12);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium)}:host .search-div .search-btn:active{background-color:var(--color-black)}:host .search-div .search-btn:hover{background-color:var(--color-gray-10)}:host .search-div .search-btn:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}";export{s as ptc_search_field}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as a,h as e,H as o,g as i}from"./p-9fb2ab8c.js";const s=class{constructor(e){t(this,e),this.hoverEvent=a(this,"hoverEvent",7),this.leaveEvent=a(this,"leaveEvent",7),this.cardType=void 0,this.cardLink=void 0,this.linkTitle=void 0,this.linkTarget="_self"}handleResize(){this.checkScreenSize()}hoverEventHandler(){this.el.classList.contains("extra-tall")&&(this.hoverEvent.emit(),this.el.classList.add("extraT-overlay")),this.el.classList.contains("color-outlined")&&(this.hoverEvent.emit(),this.el.querySelector("ptc-overlay").setOverlay("black-5"))}leaveEventHandler(){this.el.classList.contains("extra-tall")&&(this.hoverEvent.emit(),this.el.classList.remove("extraT-overlay")),this.el.classList.contains("color-outlined")&&(this.hoverEvent.emit(),this.el.querySelector("ptc-overlay").setOverlay("black-4"))}componentDidLoad(){this.checkScreenSize()}render(){const t=this.getCssClassMap(),a=this.cardLink?"a":"div";return e(o,{class:t,onMouseEnter:this.hoverEventHandler.bind(this),onMouseLeave:this.leaveEventHandler.bind(this)},e(a,Object.assign({},this.cardLink?{href:this.cardLink}:{},this.linkTarget&&this.cardLink?{target:this.linkTarget}:{},this.cardLink?{title:this.linkTitle?this.linkTitle:this.cardLink}:{}),e("slot",null)))}getCssClassMap(){return{[this.cardType]:!!this.cardType}}getBtmContentHeight(){return this.el.querySelector("ptc-card-bottom").offsetHeight}checkScreenSize(){if(window.innerWidth<768){if("extra-tall"===this.cardType){const t=this.el.querySelector("ptc-card-content");t&&t.setHeight(this.getBtmContentHeight())}}else{const t=this.el.querySelector("ptc-card-content");t&&t.removeInlineHeight()}}get el(){return i(this)}};s.style=':host{display:block}:host(.card-tall),:host(.card-wide),:host(.card-video),:host(.card-playlist),:host(.card-2up){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a,:host(.card-playlist) a,:host(.card-2up) a{text-decoration:none !important}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover,:host(.card-playlist) a:hover,:host(.card-2up) a:hover{text-decoration:none}:host(.card-tall) a:focus,:host(.card-wide) a:focus,:host(.card-video) a:focus,:host(.card-playlist) a:focus,:host(.card-2up) a:focus{outline:none;text-decoration:none}:host(.card-tall) a:focus-visible,:host(.card-wide) a:focus-visible,:host(.card-video) a:focus-visible,:host(.card-playlist) a:focus-visible,:host(.card-2up) a:focus-visible{outline:none;text-decoration:none}:host(.card-playlist) div,:host(.card-playlist) a{display:flex;text-decoration:none;outline:none}:host(.card-playlist) div:hover,:host(.card-playlist) a:hover{text-decoration:none;outline:none}:host(.card-video-intro){border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host(.card-video-intro) div{display:block}:host(.card-video-shadow){box-shadow:var(--ptc-shadow-x-small)}:host(.extra-tall){position:relative}:host(.extra-tall) a{position:relative;display:block;width:100%;height:100%;inset:0px}:host(.color-outlined){position:relative;border-radius:var(--ptc-border-radius-large)}:host(.card-video-p){padding:var(--ptc-element-spacing-05);padding-bottom:var(--ptc-element-spacing-06)}:host(.card-m-right){margin-right:var(--ptc-element-spacing-02)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-02)}:host(.extraT-overlay) a::after{content:"";position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0.6);bottom:0;left:0;border-radius:var(--ptc-border-radius-large)}@media only screen and (min-width: 768px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-03)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-04)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro) div{display:flex}}';export{s as ptc_card_wrapper}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as a,h as o,H as e,g as r}from"./p-9fb2ab8c.js";const p=class{constructor(o){t(this,o),this.hoverEvent=a(this,"hoverEvent",7),this.leaveEvent=a(this,"leaveEvent",7),this.cardType=void 0,this.styles=void 0}hoverEventHandler(){this.hoverEvent.emit(),this.el.classList.contains("card-video")||this.el.classList.contains("card-playlist")||this.el.classList.contains("extra-tall")||(this.el.previousElementSibling.classList.add("mouse-hover"),this.el.classList.add("mouse-hover-card-bottom"))}leaveEventHandler(){this.hoverEvent.emit(),this.el.classList.contains("card-video")||this.el.classList.contains("card-playlist")||this.el.classList.contains("extra-tall")||(this.el.previousElementSibling.classList.remove("mouse-hover"),this.el.classList.remove("mouse-hover-card-bottom"))}render(){const t=this.getCssClassMap();return o(e,{part:"card-bottom",class:t,onMouseEnter:this.hoverEventHandler.bind(this),onMouseLeave:this.leaveEventHandler.bind(this)},this.styles&&o("style",null,this.styles),o("div",{class:"ptc-card-bottom-wrapper"},o("slot",null)))}getCssClassMap(){return{[this.cardType]:!!this.cardType}}get el(){return r(this)}};p.style=":host{display:block}:host(.card-tall) .ptc-card-bottom-wrapper,:host(.card-wide) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0 var(--ptc-element-spacing-07) var(--ptc-element-spacing-07) var(--ptc-element-spacing-06);z-index:2}:host(.card-2up) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0px 24px 24px 16px}:host(.card-playlist){flex:72% 2 1;align-self:center}:host(.mouse-hover-card-bottom) .ptc-card-bottom-wrapper{z-index:5;cursor:pointer}:host(.extra-tall){position:absolute;top:0;left:0}:host(.extra-tall) .ptc-card-bottom-wrapper{position:relative;top:0px;left:0px;bottom:0px;right:0px;display:flex;flex-direction:column;align-items:center;width:calc(100% - 64px);padding:var(--ptc-layout-spacing-05) var(--ptc-element-spacing-07);padding-bottom:calc(var(--ptc-layout-spacing-03) + var(--ptc-layout-spacing-05));z-index:2}@media only screen and (min-width: 768px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-bottom:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-04) + var(--ptc-layout-spacing-05))}}@media only screen and (min-width: 1440px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-05) * 2)}}:host(.color-outlined) .ptc-card-bottom-wrapper{position:absolute;top:50%;transform:translateY(-50%);display:flex;justify-content:center;flex-direction:column;align-items:center;width:calc(100% - 80px);height:100%;padding:0px var(--ptc-element-spacing-08)}@media only screen and (min-width: 768px){:host(.card-2up) .ptc-card-bottom-wrapper{padding:0 32px 32px 24px}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:20% 2 1;justify-content:flex-end}:host(.card-video-intro) .ptc-card-bottom-wrapper{display:flex;justify-content:flex-end}}@media only screen and (min-width: 1440px){:host(.card-2up) .ptc-card-bottom-wrapper{width:70%}}@media only screen and (min-width: 1980px){:host(.card-2up) .ptc-card-bottom-wrapper{width:60%}}";export{p as ptc_card_bottom}
|
|
File without changes
|