@ptcwebops/ptcw-design 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/bundle-example.cjs.entry.js +1 -1
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +43 -0
- package/dist/cjs/core-fd18b67a.js +3771 -0
- package/dist/cjs/icon-asset.cjs.entry.js +53 -0
- package/dist/cjs/interfaces-0ecd8027.js +15 -0
- package/dist/cjs/list-item.cjs.entry.js +33 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/max-width-container_5.cjs.entry.js +452 -0
- package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +138 -0
- package/dist/cjs/ptc-button_8.cjs.entry.js +528 -0
- package/dist/cjs/ptc-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ptc-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +8 -1
- package/dist/cjs/ptc-pagenation.cjs.entry.js +5 -5
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ptc-tab-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tab.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-title.cjs.entry.js +78 -0
- package/dist/cjs/ptc-tooltip.cjs.entry.js +90 -0
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/sequential-bundle.cjs.entry.js +100 -0
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/{bundle-example → organism-bundles/bundle-example}/bundle-example.css +14 -4
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.css +22 -0
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -0
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +781 -0
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +152 -0
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +0 -1
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +1 -1
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +1 -1
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +4 -2
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +47 -55
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +3 -3
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +8 -4
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +32 -0
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +12 -5
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +4 -4
- package/dist/collection/components/ptc-picture/ptc-picture.js +8 -5
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +1 -0
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +6 -4
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +4 -0
- package/dist/collection/components/ptc-tabs/ptc-tabs.css +1 -0
- package/dist/collection/components/tab-header/tab-header.css +1 -1
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +4030 -47
- package/dist/esm/bundle-example.entry.js +2 -2
- package/dist/esm/bundle-jumbotron-example.entry.js +39 -0
- package/dist/esm/core-1c9d4889.js +3769 -0
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/icon-asset.entry.js +49 -0
- package/dist/esm/{index-8e63c32d.js → index-4afc9d28.js} +1 -1
- package/dist/esm/interfaces-c1c73092.js +12 -0
- package/dist/esm/list-item.entry.js +29 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/lottie-player.entry.js +1 -1
- package/dist/esm/max-width-container_5.entry.js +444 -0
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +1 -1
- package/dist/esm/ptc-breadcrumb_2.entry.js +133 -0
- package/dist/esm/ptc-button_8.entry.js +517 -0
- package/dist/esm/ptc-card-bottom_3.entry.js +1 -1
- package/dist/esm/ptc-card.entry.js +1 -1
- package/dist/esm/ptc-checkbox.entry.js +2 -2
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-dropdown.entry.js +2 -2
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
- package/dist/esm/ptc-filter-tag.entry.js +2 -2
- package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
- package/dist/esm/ptc-hero.entry.js +1 -1
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +9 -2
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-lottie.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-minimized-footer.entry.js +1 -1
- package/dist/esm/ptc-minimized-header.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +1 -1
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-pagenation.entry.js +6 -6
- package/dist/esm/ptc-previous-url.entry.js +1 -1
- package/dist/esm/ptc-pricing-block.entry.js +2 -2
- package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
- package/dist/esm/ptc-quote.entry.js +1 -1
- package/dist/esm/ptc-readmore.entry.js +1 -1
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +1 -1
- package/dist/esm/ptc-social-share.entry.js +1 -1
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-sticky-icons.entry.js +1 -1
- package/dist/esm/ptc-tab-list.entry.js +2 -2
- package/dist/esm/ptc-tab.entry.js +2 -2
- package/dist/esm/ptc-tabs.entry.js +2 -2
- package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
- package/dist/esm/ptc-title.entry.js +74 -0
- package/dist/esm/ptc-tooltip.entry.js +86 -0
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle.entry.js +96 -0
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +2 -2
- package/dist/ptcw-design/{p-f55984c2.entry.js → p-00b2c937.entry.js} +1 -1
- package/dist/ptcw-design/p-0335a2de.entry.js +1 -0
- package/dist/ptcw-design/p-07059441.entry.js +1 -0
- package/dist/ptcw-design/{p-462567d1.entry.js → p-08f40716.entry.js} +1 -1
- package/dist/ptcw-design/{p-8c6b069b.entry.js → p-09a6b0a7.entry.js} +1 -1
- package/dist/ptcw-design/{p-1bc06d03.entry.js → p-0c1e7f62.entry.js} +1 -1
- package/dist/ptcw-design/p-0eeebc10.entry.js +1 -0
- package/dist/ptcw-design/{p-366528df.entry.js → p-10555016.entry.js} +1 -1
- package/dist/ptcw-design/{p-b922e3a5.entry.js → p-2ac4eb02.entry.js} +1 -1
- package/dist/ptcw-design/{p-fa0e4fe3.entry.js → p-2d0de92a.entry.js} +1 -1
- package/dist/ptcw-design/p-36a3f48e.entry.js +1 -0
- package/dist/ptcw-design/{p-cdff68d4.entry.js → p-372a6bb1.entry.js} +1 -1
- package/dist/ptcw-design/{p-00c9ae79.entry.js → p-3bc3c801.entry.js} +1 -1
- package/dist/ptcw-design/{p-ca6d7814.entry.js → p-3f88508e.entry.js} +1 -1
- package/dist/ptcw-design/{p-6872e11b.entry.js → p-4132db6b.entry.js} +1 -1
- package/dist/ptcw-design/{p-3bb54c51.entry.js → p-42424ba0.entry.js} +1 -1
- package/dist/ptcw-design/p-4a0c9db2.entry.js +1 -0
- package/dist/ptcw-design/p-50e52c88.js +1 -0
- package/dist/ptcw-design/{p-61d91a69.entry.js → p-536abb90.entry.js} +1 -1
- package/dist/ptcw-design/{p-f958e8c7.entry.js → p-588eb1d3.entry.js} +1 -1
- package/dist/ptcw-design/{p-c64a3715.entry.js → p-603576bb.entry.js} +1 -1
- package/dist/ptcw-design/p-665a7d6a.entry.js +1 -0
- package/dist/ptcw-design/{p-a43f3c42.entry.js → p-6756c89e.entry.js} +1 -1
- package/dist/ptcw-design/p-69dddd51.js +1 -0
- package/dist/ptcw-design/{p-d7d6eff1.entry.js → p-6a0b0d0e.entry.js} +1 -1
- package/dist/ptcw-design/{p-d43ff8d4.entry.js → p-6ab6a1e2.entry.js} +1 -1
- package/dist/ptcw-design/{p-8a1c2577.entry.js → p-6acd380a.entry.js} +1 -1
- package/dist/ptcw-design/{p-609f7161.entry.js → p-6bbccda8.entry.js} +1 -1
- package/dist/ptcw-design/{p-de1ceba8.entry.js → p-6f244989.entry.js} +1 -1
- package/dist/ptcw-design/p-74422742.entry.js +1 -0
- package/dist/ptcw-design/p-7650e042.entry.js +1 -0
- package/dist/ptcw-design/{p-f81d880d.entry.js → p-77d3b816.entry.js} +1 -1
- package/dist/ptcw-design/{p-343f216f.entry.js → p-7f7594ee.entry.js} +1 -1
- package/dist/ptcw-design/{p-6e8222ce.entry.js → p-91db9d8a.entry.js} +1 -1
- package/dist/ptcw-design/p-91dc58c5.entry.js +1 -0
- package/dist/ptcw-design/{p-2181c8c7.entry.js → p-9805a542.entry.js} +1 -1
- package/dist/ptcw-design/p-9bbfeec6.entry.js +1 -0
- package/dist/ptcw-design/{p-63c06667.js → p-9dd25c18.js} +1 -1
- package/dist/ptcw-design/{p-8a6acf0d.entry.js → p-a76bf4d6.entry.js} +1 -1
- package/dist/ptcw-design/p-aa62ab8c.entry.js +1 -0
- package/dist/ptcw-design/{p-1c9ed21b.entry.js → p-aae3d333.entry.js} +1 -1
- package/dist/ptcw-design/p-ab9d5bb9.entry.js +1 -0
- package/dist/ptcw-design/{p-af975d78.entry.js → p-b2d0228f.entry.js} +1 -1
- package/dist/ptcw-design/{p-a7b20fe7.entry.js → p-b5064c43.entry.js} +1 -1
- package/dist/ptcw-design/{p-55d298f5.entry.js → p-b73ea53a.entry.js} +1 -1
- package/dist/ptcw-design/p-bcbf087c.entry.js +1 -0
- package/dist/ptcw-design/{p-2ae39c65.entry.js → p-c0b1c34c.entry.js} +1 -1
- package/dist/ptcw-design/p-c17514f5.entry.js +1 -0
- package/dist/ptcw-design/{p-12780f09.entry.js → p-c326164f.entry.js} +1 -1
- package/dist/ptcw-design/{p-0f8784e9.entry.js → p-c5975914.entry.js} +1 -1
- package/dist/ptcw-design/p-c80aebb8.entry.js +1 -0
- package/dist/ptcw-design/{p-574680c3.entry.js → p-c83efab5.entry.js} +1 -1
- package/dist/ptcw-design/{p-a24ecd75.entry.js → p-c9342bd2.entry.js} +1 -1
- package/dist/ptcw-design/{p-ea19d8f6.entry.js → p-cb7b03fb.entry.js} +1 -1
- package/dist/ptcw-design/{p-dd6501a8.entry.js → p-cff0b2b0.entry.js} +1 -1
- package/dist/ptcw-design/p-d8f8974f.entry.js +1 -0
- package/dist/ptcw-design/{p-59058faa.entry.js → p-deed8ef6.entry.js} +1 -1
- package/dist/ptcw-design/{p-c7bd4d99.entry.js → p-e282af3d.entry.js} +1 -1
- package/dist/ptcw-design/{p-e4f1e8fd.entry.js → p-f733dad8.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -0
- package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -0
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +5 -6
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +3 -0
- package/dist/types/components.d.ts +41 -5
- package/package.json +3 -4
- package/readme.md +1 -1
- package/dist/cjs/bundle-jumbotron-example_16.cjs.entry.js +0 -1131
- package/dist/cjs/ptc-card-content.cjs.entry.js +0 -68
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +0 -57
- package/dist/cjs/ptc-overlay.cjs.entry.js +0 -34
- package/dist/esm/bundle-jumbotron-example_16.entry.js +0 -1112
- package/dist/esm/ptc-card-content.entry.js +0 -64
- package/dist/esm/ptc-dynamic-card.entry.js +0 -53
- package/dist/esm/ptc-overlay.entry.js +0 -30
- package/dist/ptcw-design/p-46a6b69c.entry.js +0 -1
- package/dist/ptcw-design/p-46afd828.entry.js +0 -1
- package/dist/ptcw-design/p-47b2c76f.entry.js +0 -1
- package/dist/ptcw-design/p-598d16e5.entry.js +0 -1
- package/dist/ptcw-design/p-6b1eb02f.entry.js +0 -1
- package/dist/ptcw-design/p-a4e1afa5.entry.js +0 -1
- package/dist/ptcw-design/p-af3d5be7.entry.js +0 -1
- package/dist/ptcw-design/p-ce9f0355.entry.js +0 -1
- package/dist/ptcw-design/p-e91fbd67.entry.js +0 -1
- package/dist/ptcw-design/p-f6fe5efe.entry.js +0 -1
- package/dist/ptcw-design/p-fe1ff7d2.entry.js +0 -1
- /package/dist/collection/components/{bundle-example → organism-bundles/bundle-example}/bundle-example.js +0 -0
- /package/dist/collection/components/{bundle-jumbotron-example → organism-bundles/bundle-jumbotron-example}/bundle-jumbotron-example.css +0 -0
- /package/dist/collection/components/{bundle-jumbotron-example → organism-bundles/bundle-jumbotron-example}/bundle-jumbotron-example.js +0 -0
- /package/dist/types/components/{bundle-example → organism-bundles/bundle-example}/bundle-example.d.ts +0 -0
- /package/dist/types/components/{bundle-jumbotron-example → organism-bundles/bundle-jumbotron-example}/bundle-jumbotron-example.d.ts +0 -0
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-88135a6b.js');
|
|
6
|
-
|
|
7
|
-
const ptcCardContentCss = ":host{display:block;height:100%}:host(.speed-bump){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-06) 28px var(--ptc-element-spacing-06) 28px;text-align:center}:host(.speed-bump-2){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-07) var(--ptc-element-spacing-05);text-align:center}@media only screen and (min-width: 768px){:host(.speed-bump){text-align:left}}@media only screen and (min-width: 768px){:host(.speed-bump-2){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper,:host(.card-playlist) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-playlist) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after,:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.extra-tall) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.card-2up) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-2up) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-2up) .ptc-card-content-wrapper::after{content:\"\";position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='46' height='48' viewBox='0 0 46 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10337)'%3E%3Cpath d='M34 16L12 28V4L34 16Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10337' x='0' y='0' width='46' height='48' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10337'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10337' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");width:40px;height:30px;top:50%}:host(.thumbnail-video-preview) .ptc-card-content-wrapper{cursor:pointer;position:relative}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:1;top:60%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-video) .ptc-card-content-wrapper::after{top:59.5%}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-2up) .ptc-card-content-wrapper::before{height:100%}:host(.card-playlist){flex:1 2 0%;margin-right:var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-playlist) .ptc-card-content-wrapper{width:88px;height:88px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:88px;height:88px}}@media only screen and (min-width: 768px){:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}}@media screen and (min-width: 1981px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:80% 8 1}}:host(.card-video) .ptc-card-content-wrapper{padding-bottom:56.25%}:host(.card-video) .ptc-card-content-wrapper ::slotted(*){position:absolute;width:100%;height:100%;top:0;left:0}:host(.card-tall) .ptc-card-content-wrapper{height:322px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:322px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.extra-tall) .ptc-card-content-wrapper{height:auto}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:auto}:host(.color-outlined){border-radius:var(--ptc-border-radius-large);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.color-outlined) .ptc-card-content-wrapper{height:235px}:host(.color-outlined) .ptc-card-content-wrapper ::slotted(*){height:235px}@media only screen and (min-width: 480px){:host(.extra-tall) .ptc-card-content-wrapper{height:435px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:435px}}@media only screen and (min-width: 768px){:host(.card-tall) .ptc-card-content-wrapper{height:325px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:325px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:268px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.extra-tall) .ptc-card-content-wrapper{height:507px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:507px}}@media only screen and (min-width: 992px){:host(.card-tall) .ptc-card-content-wrapper{height:380px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:380px}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-content-wrapper{height:663px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:663px}}@media only screen and (min-width: 1980px){:host(.card-tall) .ptc-card-content-wrapper{height:546px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:546px}:host(.card-wide) .ptc-card-content-wrapper{height:376px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:376px}:host(.card-2up) .ptc-card-content-wrapper{height:376px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:376px}}:host(.o-red){border:2px solid var(--color-red-07)}:host(.o-green){border:2px solid var(--color-green-07)}:host(.o-slate-grey){border:2px solid var(--color-gray-07)}:host(.o-orange){border:2px solid var(--color-orange-07)}:host(.o-blue){border:2px solid var(--color-blue-07)}";
|
|
8
|
-
|
|
9
|
-
const PtcCardContent = 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.outlineColor = undefined;
|
|
16
|
-
this.styles = undefined;
|
|
17
|
-
this.isLoading = false;
|
|
18
|
-
}
|
|
19
|
-
hoverEventHandler() {
|
|
20
|
-
if (!this.el.classList.contains('speed-bump') &&
|
|
21
|
-
!this.el.classList.contains('card-video-intro') &&
|
|
22
|
-
!this.el.classList.contains('card-dynamic') &&
|
|
23
|
-
!this.el.classList.contains('extra-tall')) {
|
|
24
|
-
this.hoverEvent.emit();
|
|
25
|
-
this.el.classList.add('mouse-hover');
|
|
26
|
-
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
|
|
27
|
-
this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
leaveEventHandler() {
|
|
32
|
-
if (!this.el.classList.contains('speed-bump') &&
|
|
33
|
-
!this.el.classList.contains('card-video-intro') &&
|
|
34
|
-
!this.el.classList.contains('card-dynamic') &&
|
|
35
|
-
!this.el.classList.contains('extra-tall')) {
|
|
36
|
-
this.hoverEvent.emit();
|
|
37
|
-
this.el.classList.remove('mouse-hover');
|
|
38
|
-
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
|
|
39
|
-
this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
async setHeight(height) {
|
|
44
|
-
this.el.style.height = height + 'px';
|
|
45
|
-
const image = this.el.querySelector('ptc-picture');
|
|
46
|
-
image.style.height = height + 'px';
|
|
47
|
-
}
|
|
48
|
-
async removeInlineHeight() {
|
|
49
|
-
this.el.style.removeProperty('height');
|
|
50
|
-
const image = this.el.querySelector('ptc-picture');
|
|
51
|
-
if (image)
|
|
52
|
-
image.style.removeProperty('height');
|
|
53
|
-
}
|
|
54
|
-
render() {
|
|
55
|
-
const classMap = this.getCssClassMap();
|
|
56
|
-
return (index.h(index.Host, Object.assign({ part: "card-content", class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && index.h("style", null, this.styles), index.h("div", { class: "ptc-card-content-wrapper" }, index.h("slot", null))));
|
|
57
|
-
}
|
|
58
|
-
getCssClassMap() {
|
|
59
|
-
return {
|
|
60
|
-
[this.cardType]: !!this.cardType ? true : false,
|
|
61
|
-
[this.outlineColor]: !!this.outlineColor ? true : false,
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
get el() { return index.getElement(this); }
|
|
65
|
-
};
|
|
66
|
-
PtcCardContent.style = ptcCardContentCss;
|
|
67
|
-
|
|
68
|
-
exports.ptc_card_content = PtcCardContent;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-88135a6b.js');
|
|
6
|
-
|
|
7
|
-
const ptcDynamicCardCss = ":host{display:block}:host(.sequential) .card-wrapper{position:relative}:host(.sequential) .card{background-color:var(--color-gray-12);overflow:hidden}:host(.sequential) .card-mobile,:host(.sequential) .card-dt-open{display:block;border-top:5px solid var(--color-green-05);width:350px}:host(.sequential) .card-mobile ptc-card-content,:host(.sequential) .card-dt-open ptc-card-content{display:flex;flex-basis:38%;justify-content:center;align-items:center;padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-07) var(--ptc-element-spacing-06)}@media only screen and (min-width: 1440px){:host(.sequential) .card-mobile ptc-card-content,:host(.sequential) .card-dt-open ptc-card-content{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}:host(.sequential) .card-mobile ptc-picture,:host(.sequential) .card-dt-open ptc-picture{flex-basis:62%}:host(.sequential) .card-mobile .card-title h3,:host(.sequential) .card-dt-open .card-title h3{color:var(--color-white);font-size:var(--ptc-font-size-large);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin-bottom:0rem;margin-block-start:0rem;letter-spacing:var(--ptc-letter-spacing-normal)}:host(.sequential) .card-mobile .card-content,:host(.sequential) .card-dt-open .card-content{margin-top:var(--ptc-element-spacing-03)}:host(.sequential) .card-dt-closed{width:135px;height:424px}:host(.sequential) .card-dt-closed ptc-card-content{position:absolute;width:100%;height:100%;top:0;display:flex;align-items:center;justify-content:center}:host(.sequential) .card-dt-closed .card-title{text-align:center}:host(.sequential) .card-dt-closed .card-title h2{color:var(--color-white);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin-bottom:0rem;margin-block-start:0rem;letter-spacing:var(--ptc-letter-spacing-normal);padding-left:var(--ptc-element-spacing-03);padding-right:var(--ptc-element-spacing-03)}@media only screen and (min-width: 1440px){:host(.sequential) .card-dt-closed .card-title h2{font-size:var(--ptc-font-size-small)}}:host(.sequential) .card-dt-open{display:flex;width:45vw;height:480px}";
|
|
8
|
-
|
|
9
|
-
const PtcDynamicCard = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.dotSvg = index.getAssetPath('./media/nav-active-dotslick.svg');
|
|
13
|
-
this.cardType = 'sequential';
|
|
14
|
-
this.cardTitle = 'Card Title Goes Here';
|
|
15
|
-
this.cardImgSrc = undefined;
|
|
16
|
-
this.cardImgAlt = undefined;
|
|
17
|
-
this.outCardState = undefined;
|
|
18
|
-
this.cardStatus = 'desktop-closed';
|
|
19
|
-
this.overlayExists = true;
|
|
20
|
-
}
|
|
21
|
-
cardStateChanged(newState) {
|
|
22
|
-
this.cardStatus = newState;
|
|
23
|
-
}
|
|
24
|
-
async changeState(newState) {
|
|
25
|
-
this.outCardState = newState;
|
|
26
|
-
}
|
|
27
|
-
componentDidLoad() {
|
|
28
|
-
this.handleResize();
|
|
29
|
-
this.el.addEventListener('mouseenter', () => this.overlayExists = false);
|
|
30
|
-
this.el.addEventListener('mouseleave', () => this.overlayExists = true);
|
|
31
|
-
}
|
|
32
|
-
render() {
|
|
33
|
-
const classMap = this.getCssClassMap();
|
|
34
|
-
return (index.h(index.Host, { class: classMap }, index.h("div", { class: "card-wrapper" }, this.cardStatus == 'mobile' ? (index.h("div", { class: "card card-mobile" }, index.h("ptc-picture", { alt: this.cardImgAlt, src: this.cardImgSrc }), index.h("ptc-card-content", { "card-type": "card-dynamic" }, index.h("div", { class: "card-title" }, index.h("h3", null, this.cardTitle)), index.h("div", { class: "card-content" }, index.h("slot", null))))) : this.cardStatus == 'desktop-closed' ? (index.h("div", null, index.h("div", { class: "card card-dt-closed" }, index.h("ptc-picture", { alt: this.cardImgAlt, src: this.cardImgSrc, "image-position": "relative", width: "135", height: "424" }, this.overlayExists ? index.h("ptc-overlay", { "filter-color": "black-3" }) : index.h("ptc-overlay", { "filter-color": "black-2" })), index.h("ptc-card-content", { "card-type": "card-dynamic" }, index.h("div", { class: "card-title" }, index.h("h2", null, this.cardTitle)))))) : (index.h("div", null, index.h("div", { class: "card card-dt-open" }, index.h("ptc-card-content", { "card-type": "card-dynamic" }, index.h("div", { class: "card-title" }, index.h("h3", null, this.cardTitle)), index.h("div", { class: "card-content" }, index.h("slot", null))), index.h("ptc-picture", { alt: this.cardImgAlt, src: this.cardImgSrc, "is-full-height": "true", "image-alignment": "center" }))))), index.h("div", { hidden: true }, index.h("svg", null, index.h("use", { href: `${this.dotSvg}` })))));
|
|
35
|
-
}
|
|
36
|
-
getCssClassMap() {
|
|
37
|
-
return {
|
|
38
|
-
[this.cardType]: true,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
handleResize() {
|
|
42
|
-
if (window.innerWidth < 1200) {
|
|
43
|
-
this.cardStatus = 'mobile';
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
this.cardStatus = 'desktop-closed';
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
static get assetsDirs() { return ["media"]; }
|
|
50
|
-
get el() { return index.getElement(this); }
|
|
51
|
-
static get watchers() { return {
|
|
52
|
-
"outCardState": ["cardStateChanged"]
|
|
53
|
-
}; }
|
|
54
|
-
};
|
|
55
|
-
PtcDynamicCard.style = ptcDynamicCardCss;
|
|
56
|
-
|
|
57
|
-
exports.ptc_dynamic_card = PtcDynamicCard;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-88135a6b.js');
|
|
6
|
-
|
|
7
|
-
const ptcOverlayCss = ":host{display:block;position:absolute;top:0;left:0;width:100%;height:100%;transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.2) 0%, var(--color-blue-07) 100%)}:host(.red){background:linear-gradient(180deg, rgba(209, 44, 58, 0.2) 0%, var(--color-red-07) 100%)}:host(.orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.2) 0%, var(--color-orange-07) 100%)}:host(.green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.2) 0%, var(--color-green-07) 100%)}:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0.32) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}:host(.black-4){background:rgba(0, 0, 0, 0.66)}:host(.black-5){background:rgba(0, 0, 0, 0.76)}@media only screen and (min-width: 768px){:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}}:host(.black-3){background:linear-gradient(180deg, var(--color-gray-12) 0%, rgba(32, 38, 42, 0.55) 100%)}:host(.slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.2) 0%, var(--color-gray-07) 100%)}:host(.bright-blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.72) 0%, rgba(25, 123, 192, 0.85) 69.27%, rgba(25, 123, 192, 0.4) 100%)}:host(.bright-red){background:linear-gradient(180deg, rgba(211, 62, 62, 0.72) 0%, rgba(211, 62, 62, 0.85) 69.27%, rgba(211, 62, 62, 0.4) 100%)}:host(.bright-orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.72) 0%, rgba(195, 119, 41, 0.85) 69.27%, rgba(195, 119, 41, 0.4) 100%)}:host(.bright-green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.72) 0%, rgba(0, 137, 11, 0.85) 69.27%, rgba(0, 137, 11, 0.4) 100%)}:host(.bright-slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.72) 0%, rgba(97, 116, 128, 0.85) 69.27%, rgba(97, 116, 128, 0.4) 100%)}:host(.radius-standard){border-radius:var(--ptc-border-radius-standard)}:host(.radius-large){border-radius:var(--ptc-border-radius-large)}:host(.z-index-auto){z-index:auto}:host(.z-index-n-1){z-index:-1}:host(.z-index-n-2){z-index:-2}:host(.z-index-p-1){z-index:1}:host(.z-index-p-2){z-index:2}";
|
|
8
|
-
|
|
9
|
-
const PtcOverlay = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.filterColor = undefined;
|
|
13
|
-
this.borderRadius = undefined;
|
|
14
|
-
this.overlayZIndex = 'z-index-auto';
|
|
15
|
-
this.styles = undefined;
|
|
16
|
-
}
|
|
17
|
-
async setOverlay(overlayName) {
|
|
18
|
-
this.filterColor = overlayName;
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
const classMap = this.getCssClassMap();
|
|
22
|
-
return index.h(index.Host, { class: classMap });
|
|
23
|
-
}
|
|
24
|
-
getCssClassMap() {
|
|
25
|
-
return {
|
|
26
|
-
[this.filterColor]: !!this.filterColor ? true : false,
|
|
27
|
-
[this.borderRadius]: !!this.borderRadius ? true : false,
|
|
28
|
-
[this.overlayZIndex]: true,
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
PtcOverlay.style = ptcOverlayCss;
|
|
33
|
-
|
|
34
|
-
exports.ptc_overlay = PtcOverlay;
|