@ptcwebops/ptcw-design 0.7.6 → 0.7.7
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/dropdown-item.cjs.entry.js +2 -2
- package/dist/cjs/icon-asset.cjs.entry.js +9 -21
- package/dist/cjs/{index-b3fabe79.js → index-8745a0a3.js} +486 -255
- package/dist/cjs/list-item.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/lottie-player.cjs.entry.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +5 -2
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +2 -16
- package/dist/cjs/ptc-accordion.cjs.entry.js +2 -5
- package/dist/cjs/ptc-announcement.cjs.entry.js +11 -22
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/ptc-button.cjs.entry.js +3 -34
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +4 -2
- package/dist/cjs/ptc-card-content.cjs.entry.js +4 -2
- package/dist/cjs/ptc-card-plm.cjs.entry.js +5 -2
- package/dist/cjs/ptc-card_6.cjs.entry.js +27 -135
- package/dist/cjs/ptc-checkbox.cjs.entry.js +5 -3
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +13 -2
- package/dist/cjs/ptc-container.cjs.entry.js +2 -5
- package/dist/cjs/ptc-dropdown.cjs.entry.js +7 -7
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +32 -25
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +3 -2
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +4 -3
- package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +5 -2
- package/dist/cjs/ptc-hero.cjs.entry.js +3 -5
- package/dist/cjs/ptc-icon-list.cjs.entry.js +2 -14
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +3 -2
- package/dist/cjs/ptc-link.cjs.entry.js +4 -20
- package/dist/cjs/ptc-list.cjs.entry.js +2 -2
- package/dist/cjs/ptc-lottie.cjs.entry.js +3 -5
- package/dist/cjs/ptc-minimized-footer.cjs.entry.js +2 -2
- package/dist/cjs/ptc-minimized-header.cjs.entry.js +2 -2
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +5 -20
- package/dist/cjs/ptc-modal.cjs.entry.js +5 -23
- package/dist/cjs/ptc-overlay.cjs.entry.js +5 -5
- package/dist/cjs/ptc-pagenation.cjs.entry.js +13 -12
- package/dist/cjs/ptc-previous-url.cjs.entry.js +4 -2
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +3 -2
- package/dist/cjs/ptc-quote.cjs.entry.js +6 -8
- package/dist/cjs/ptc-readmore_2.cjs.entry.js +4 -37
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +2 -2
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +3 -2
- package/dist/cjs/ptc-social-share.cjs.entry.js +5 -12
- package/dist/cjs/ptc-span.cjs.entry.js +3 -8
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +3 -5
- package/dist/cjs/ptc-tab-list.cjs.entry.js +3 -2
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +5 -9
- package/dist/cjs/ptc-title.cjs.entry.js +9 -17
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +3 -2
- package/dist/cjs/ptcw-design.cjs.js +3 -3
- package/dist/cjs/tab-content.cjs.entry.js +3 -2
- package/dist/cjs/tab-header.cjs.entry.js +3 -2
- package/dist/collection/collection-manifest.json +2 -4
- package/dist/collection/components/dropdown-item/dropdown-item.js +51 -46
- package/dist/collection/components/icon-asset/icon-asset.js +167 -185
- package/dist/collection/components/list-item/list-item.js +85 -81
- package/dist/collection/components/my-component/my-component.js +70 -61
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +199 -208
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +43 -39
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +199 -209
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +12 -11
- package/dist/collection/components/ptc-button/ptc-button.js +221 -250
- package/dist/collection/components/ptc-card/ptc-card.css +167 -6
- package/dist/collection/components/ptc-card/ptc-card.js +261 -291
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +85 -76
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +85 -76
- package/dist/collection/components/ptc-card-plm/ptc-card-plm.js +85 -78
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +86 -82
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +238 -225
- package/dist/collection/components/ptc-container/ptc-container.js +85 -84
- package/dist/collection/components/ptc-date/ptc-date.js +160 -171
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +108 -103
- package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +16 -0
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +4 -0
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +158 -131
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +89 -82
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +58 -50
- package/dist/collection/components/ptc-hero/ptc-hero.js +51 -51
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +70 -69
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +102 -121
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +51 -50
- package/dist/collection/components/ptc-img/ptc-img.js +162 -179
- package/dist/collection/components/ptc-link/ptc-link.js +160 -174
- package/dist/collection/components/ptc-list/ptc-list.js +51 -46
- package/dist/collection/components/ptc-lottie/ptc-lottie.js +50 -46
- package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +12 -11
- package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +68 -67
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +156 -168
- package/dist/collection/components/ptc-modal/ptc-modal.js +206 -224
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +84 -78
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +221 -216
- package/dist/collection/components/ptc-para/ptc-para.js +136 -145
- package/dist/collection/components/ptc-picture/ptc-picture.js +319 -340
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +53 -47
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +36 -32
- package/dist/collection/components/ptc-quote/ptc-quote.js +120 -130
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +97 -107
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +12 -9
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +51 -45
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +141 -146
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +67 -70
- package/dist/collection/components/ptc-span/ptc-span.js +68 -70
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +52 -51
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +35 -30
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +103 -109
- package/dist/collection/components/ptc-title/ptc-title.js +221 -227
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +119 -136
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +36 -28
- package/dist/collection/components/tab-content/tab-content.js +57 -47
- package/dist/collection/components/tab-header/tab-header.js +74 -62
- package/dist/custom-elements/index.d.ts +0 -12
- package/dist/custom-elements/index.js +212 -582
- package/dist/esm/dropdown-item.entry.js +2 -2
- package/dist/esm/icon-asset.entry.js +9 -21
- package/dist/esm/{index-5ff11327.js → index-0c73b51e.js} +486 -255
- package/dist/esm/list-item.entry.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/lottie-player.entry.js +2 -2
- package/dist/esm/my-component.entry.js +5 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +2 -16
- package/dist/esm/ptc-accordion.entry.js +2 -5
- package/dist/esm/ptc-announcement.entry.js +11 -22
- package/dist/esm/ptc-breadcrumb.entry.js +2 -2
- package/dist/esm/ptc-button.entry.js +3 -34
- package/dist/esm/ptc-card-bottom.entry.js +4 -2
- package/dist/esm/ptc-card-content.entry.js +4 -2
- package/dist/esm/ptc-card-plm.entry.js +5 -2
- package/dist/esm/ptc-card_6.entry.js +27 -135
- package/dist/esm/ptc-checkbox.entry.js +5 -3
- package/dist/esm/ptc-collapse-list.entry.js +13 -2
- package/dist/esm/ptc-container.entry.js +2 -5
- package/dist/esm/ptc-dropdown.entry.js +7 -7
- package/dist/esm/ptc-dynamic-card.entry.js +32 -25
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +3 -2
- package/dist/esm/ptc-filter-tag.entry.js +4 -3
- package/dist/esm/ptc-hero-footer-cta.entry.js +5 -2
- package/dist/esm/ptc-hero.entry.js +3 -5
- package/dist/esm/ptc-icon-list.entry.js +2 -14
- package/dist/esm/ptc-icon-minimize.entry.js +3 -2
- package/dist/esm/ptc-link.entry.js +4 -20
- package/dist/esm/ptc-list.entry.js +2 -2
- package/dist/esm/ptc-lottie.entry.js +3 -5
- package/dist/esm/ptc-minimized-footer.entry.js +2 -2
- package/dist/esm/ptc-minimized-header.entry.js +2 -2
- package/dist/esm/ptc-mobile-select.entry.js +5 -20
- package/dist/esm/ptc-modal.entry.js +5 -23
- package/dist/esm/ptc-overlay.entry.js +5 -5
- package/dist/esm/ptc-pagenation.entry.js +13 -12
- package/dist/esm/ptc-previous-url.entry.js +4 -2
- package/dist/esm/ptc-pricing-block.entry.js +3 -2
- package/dist/esm/ptc-quote.entry.js +6 -8
- package/dist/esm/ptc-readmore_2.entry.js +4 -37
- package/dist/esm/ptc-responsive-wrapper.entry.js +2 -2
- package/dist/esm/ptc-shopping-cart.entry.js +3 -2
- package/dist/esm/ptc-social-share.entry.js +5 -12
- package/dist/esm/ptc-span.entry.js +3 -8
- package/dist/esm/ptc-svg-btn.entry.js +3 -5
- package/dist/esm/ptc-tab-list.entry.js +3 -2
- package/dist/esm/ptc-text-copy-with-background.entry.js +5 -9
- package/dist/esm/ptc-title.entry.js +9 -17
- package/dist/esm/ptc-two-column-media.entry.js +3 -2
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/tab-content.entry.js +3 -2
- package/dist/esm/tab-header.entry.js +3 -2
- package/dist/ptcw-design/media/nav-active-dotslick.svg +16 -0
- package/dist/ptcw-design/p-009001dc.js +2 -0
- package/dist/ptcw-design/p-00c1343b.entry.js +1 -0
- package/dist/ptcw-design/p-188d69d9.entry.js +1 -0
- package/dist/ptcw-design/p-1964f1f4.entry.js +1 -0
- package/dist/ptcw-design/p-1cd396ab.entry.js +1 -0
- package/dist/ptcw-design/p-1e80c01f.entry.js +1 -0
- package/dist/ptcw-design/p-21e27f2b.entry.js +1 -0
- package/dist/ptcw-design/p-24321c52.entry.js +1 -0
- package/dist/ptcw-design/p-2b6244ad.entry.js +1 -0
- package/dist/ptcw-design/{p-7599491c.entry.js → p-2dcea9db.entry.js} +1 -1
- package/dist/ptcw-design/p-36a453d4.entry.js +1 -0
- package/dist/ptcw-design/p-3db835e4.entry.js +1 -0
- package/dist/ptcw-design/p-3f85b469.entry.js +1 -0
- package/dist/ptcw-design/p-482a8bc9.entry.js +1 -0
- package/dist/ptcw-design/p-4de70656.entry.js +1 -0
- package/dist/ptcw-design/p-5105d9e5.entry.js +1 -0
- package/dist/ptcw-design/p-58e06eee.entry.js +1 -0
- package/dist/ptcw-design/p-5bb7354a.entry.js +1 -0
- package/dist/ptcw-design/p-5d585b54.entry.js +1 -0
- package/dist/ptcw-design/p-5dbf98a9.entry.js +1 -0
- package/dist/ptcw-design/p-60843852.entry.js +1 -0
- package/dist/ptcw-design/p-6131b9a1.entry.js +1 -0
- package/dist/ptcw-design/p-6b1fdce6.entry.js +1 -0
- package/dist/ptcw-design/p-6d713986.entry.js +1 -0
- package/dist/ptcw-design/p-8637cefc.entry.js +1 -0
- package/dist/ptcw-design/p-8808ecc8.entry.js +1 -0
- package/dist/ptcw-design/p-8b197833.entry.js +1 -0
- package/dist/ptcw-design/p-8b5b5614.entry.js +1 -0
- package/dist/ptcw-design/p-8bb41e7c.entry.js +1 -0
- package/dist/ptcw-design/p-9311ee3f.entry.js +1 -0
- package/dist/ptcw-design/p-97e00dfa.entry.js +1 -0
- package/dist/ptcw-design/p-a05fe3d0.entry.js +1 -0
- package/dist/ptcw-design/p-a0f25c98.entry.js +1 -0
- package/dist/ptcw-design/p-a4900673.entry.js +1 -0
- package/dist/ptcw-design/p-a749c353.entry.js +1 -0
- package/dist/ptcw-design/p-adcc9906.entry.js +1 -0
- package/dist/ptcw-design/p-b420e81a.entry.js +1 -0
- package/dist/ptcw-design/p-b701bbc0.entry.js +1 -0
- package/dist/ptcw-design/p-bbbced85.entry.js +1 -0
- package/dist/ptcw-design/p-c3f73953.entry.js +1 -0
- package/dist/ptcw-design/p-c4e20f99.entry.js +1 -0
- package/dist/ptcw-design/p-ca9efc42.entry.js +1 -0
- package/dist/ptcw-design/p-d56b953e.entry.js +1 -0
- package/dist/ptcw-design/{p-5e845a15.entry.js → p-d910c9d6.entry.js} +2 -2
- package/dist/ptcw-design/p-e3280772.entry.js +1 -0
- package/dist/ptcw-design/p-e34d194d.entry.js +1 -0
- package/dist/ptcw-design/p-e87bc2cd.entry.js +1 -0
- package/dist/ptcw-design/p-f2cb8bc4.entry.js +1 -0
- package/dist/ptcw-design/p-f9694131.entry.js +1 -0
- package/dist/ptcw-design/p-fbd43055.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +11 -3
- package/dist/types/components.d.ts +86 -111
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/loader/package.json +1 -0
- package/package.json +4 -3
- package/readme.md +1 -1
- package/dist/cjs/ptc-nav-item.cjs.entry.js +0 -94
- package/dist/cjs/ptc-nav.cjs.entry.js +0 -19
- package/dist/collection/components/ptc-nav/ptc-nav.css +0 -29
- package/dist/collection/components/ptc-nav/ptc-nav.js +0 -21
- package/dist/collection/components/ptc-nav-item/ptc-nav-item.css +0 -81
- package/dist/collection/components/ptc-nav-item/ptc-nav-item.js +0 -252
- package/dist/esm/ptc-nav-item.entry.js +0 -90
- package/dist/esm/ptc-nav.entry.js +0 -15
- package/dist/ptcw-design/p-09351f78.entry.js +0 -1
- package/dist/ptcw-design/p-10385027.entry.js +0 -1
- package/dist/ptcw-design/p-15ec8469.entry.js +0 -1
- package/dist/ptcw-design/p-1743d0ef.entry.js +0 -1
- package/dist/ptcw-design/p-1a77a824.entry.js +0 -1
- package/dist/ptcw-design/p-1ec512ea.entry.js +0 -1
- package/dist/ptcw-design/p-2de688ba.entry.js +0 -1
- package/dist/ptcw-design/p-2f6ecdf8.entry.js +0 -1
- package/dist/ptcw-design/p-39b8d25b.entry.js +0 -1
- package/dist/ptcw-design/p-3a4bb2b1.entry.js +0 -1
- package/dist/ptcw-design/p-3b87cd6f.entry.js +0 -1
- package/dist/ptcw-design/p-3b994b78.entry.js +0 -1
- package/dist/ptcw-design/p-4355ed7c.js +0 -1
- package/dist/ptcw-design/p-446423fc.entry.js +0 -1
- package/dist/ptcw-design/p-493b2571.entry.js +0 -1
- package/dist/ptcw-design/p-4ab335ac.entry.js +0 -1
- package/dist/ptcw-design/p-4da25d67.entry.js +0 -1
- package/dist/ptcw-design/p-53790fb4.entry.js +0 -1
- package/dist/ptcw-design/p-5bf5932c.entry.js +0 -1
- package/dist/ptcw-design/p-5c02f876.entry.js +0 -1
- package/dist/ptcw-design/p-5c5c8f25.entry.js +0 -1
- package/dist/ptcw-design/p-5fd37a0e.entry.js +0 -1
- package/dist/ptcw-design/p-5fd60b15.entry.js +0 -1
- package/dist/ptcw-design/p-6ab5aee9.entry.js +0 -1
- package/dist/ptcw-design/p-70d2c46d.entry.js +0 -1
- package/dist/ptcw-design/p-74a31734.entry.js +0 -1
- package/dist/ptcw-design/p-7a37d762.entry.js +0 -1
- package/dist/ptcw-design/p-83a9720c.entry.js +0 -1
- package/dist/ptcw-design/p-85e7bbc3.entry.js +0 -1
- package/dist/ptcw-design/p-87f9430f.entry.js +0 -1
- package/dist/ptcw-design/p-8ba6cef7.entry.js +0 -1
- package/dist/ptcw-design/p-8c0ba2d5.entry.js +0 -1
- package/dist/ptcw-design/p-8c594b35.entry.js +0 -1
- package/dist/ptcw-design/p-8d46a06e.entry.js +0 -1
- package/dist/ptcw-design/p-8e2e81c8.entry.js +0 -1
- package/dist/ptcw-design/p-96bfb95b.entry.js +0 -1
- package/dist/ptcw-design/p-baa7d351.entry.js +0 -1
- package/dist/ptcw-design/p-bcfd05dc.entry.js +0 -1
- package/dist/ptcw-design/p-be32e928.entry.js +0 -1
- package/dist/ptcw-design/p-c05f0c98.entry.js +0 -1
- package/dist/ptcw-design/p-c267b720.entry.js +0 -1
- package/dist/ptcw-design/p-c460a62d.entry.js +0 -1
- package/dist/ptcw-design/p-c91a875b.entry.js +0 -1
- package/dist/ptcw-design/p-cd2404f0.entry.js +0 -1
- package/dist/ptcw-design/p-ce5ee58d.entry.js +0 -1
- package/dist/ptcw-design/p-d39668ca.entry.js +0 -1
- package/dist/ptcw-design/p-e955c833.entry.js +0 -1
- package/dist/ptcw-design/p-f0cd0fb4.entry.js +0 -1
- package/dist/ptcw-design/p-f7d18b93.entry.js +0 -1
- package/dist/ptcw-design/p-fce72f70.entry.js +0 -1
- package/dist/types/components/ptc-nav/ptc-nav.d.ts +0 -3
- package/dist/types/components/ptc-nav-item/ptc-nav-item.d.ts +0 -53
|
@@ -2,46 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8745a0a3.js');
|
|
6
6
|
|
|
7
|
-
const ptcCardCss = ":host{display:block}:host(.lottie-card) .card-border{box-shadow:var(--ptc-shadow-small);border:1px solid var(--color-gray-03);border-radius:10px;position:relative;overflow:hidden}:host(.lottie-card) .card-border::after{content:\"\";height:40%;width:4px;position:absolute;top:30%;right:-2px;background-color:var(--color-green-06);z-index:2;display:block}:host(.lottie-card) .card-border:hover{box-shadow:var(--ptc-shadow-x-large)}:host(.lottie-card) .card-border:hover .card-body h3{border-bottom:2px solid var(--color-green-07)}:host(.lottie-card) .card-layout{display:block}@media only screen and (min-width: 768px){:host(.lottie-card) .card-layout{display:flex;flex-flow:nowrap row;justify-content:center}}:host(.lottie-card) .link-wrapper{outline:none;text-decoration:none}:host(.lottie-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.lottie-card) .card-media{flex-basis:40%;border-right:1px solid var(--color-gray-03);display:flex}:host(.lottie-card) .card-body{flex-basis:60%;align-self:center;padding:0 30px 10px}:host(.lottie-card) .card-body h3{display:inline-block;line-height:var(--ptc-line-height-densest);color:var(--color-gray-10);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);border-bottom:2px solid transparent;margin-bottom:var(--ptc-element-spacing-02)}:host(.simple-card) .card-layout{display:block}:host(.simple-card) .link-wrapper{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover .card-body h3::before{width:100%}:host(.simple-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-04)}:host(.simple-card) .card-body h3{color:var(--color-gray-10);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-black);line-height:var(--ptc-line-height-dense);position:relative;margin-bottom:var(--ptc-element-spacing-02);display:inline-block}:host(.simple-card) .card-body h3::before{display:block;position:absolute;content:\"\";width:var(--ptc-element-spacing-07);border-bottom:2px solid var(--color-green-06);bottom:1px;transition:width var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.simple-card) ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-01);transition:margin-left var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .card-border{overflow:hidden;filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 3px 6px);width:100%}:host(.clip-edge-card) .card-border:hover{filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 6px 12px)}:host(.clip-edge-card) .card-layout{display:block}:host(.clip-edge-card) .link-wrapper{outline:none;text-decoration:none}:host(.clip-edge-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.clip-edge-card) .card-media{position:relative;width:100%;height:124px;overflow:hidden;border-radius:var(--ptc-border-radius-standard)}:host(.clip-edge-card) .card-body{transform:translateY(calc((-1) * var(--ptc-element-spacing-04)));overflow:hidden;width:calc(95% - var(--ptc-element-spacing-04) - var(--ptc-element-spacing-04));font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);clip-path:var(--ptc-clip-path-bottom-right);background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}:host(.clip-edge-card) .card-body h3{display:inline-block;margin:0px;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);text-decoration:none;border-bottom:2px solid transparent;transition:border-bottom var(--ptc-transition-medium) var(--ptc-ease-inout), margin var(--ptc-transition-medium) var(--ptc-ease-inout);margin:var(--ptc-element-spacing-03) 0 var(--ptc-element-spacing-03) 0}:host(.clip-edge-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-image]){display:block;width:100%;height:100%;transform:scale(1);transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transform-origin:top center}:host(.clip-edge-card) ::slotted([slot=slot-after-heading]){position:absolute;top:var(--ptc-element-spacing-03);left:var(--ptc-element-spacing-04);opacity:1;transform:scale(1);height:44px;transform-origin:bottom center;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-before-heading]){display:block;opacity:0;height:24px;transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .link-wrapper:hover .card-body h3{border-bottom:2px solid var(--color-green-06)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:60px;opacity:1}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-image]){transform:scale(1.1)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){opacity:0;transform:scale(0);height:0}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-before-heading]){opacity:1}:host(.hightlight-card) .card-border{width:100%;border-radius:var(--ptc-border-radius-standard);overflow:hidden}:host(.hightlight-card) .card-border:hover .card-media{transform:scale(1.1)}:host(.hightlight-card) .card-layout{display:block;position:relative}:host(.hightlight-card) .link-wrapper{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:96px;opacity:1}@media only screen and (min-width: 768px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-06)}}@media only screen and (min-width: 1440px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}:host(.hightlight-card) .card-media{width:100%;height:auto;min-height:450px;position:relative;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.hightlight-card) .card-body{position:absolute;bottom:0;top:auto;left:0;right:auto;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-07);background-color:var(--color-white);box-sizing:border-box}:host(.hightlight-card) .card-body h3{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-bold);color:var(--color-gray-10);margin:var(--ptc-element-spacing-04) 0}:host(.hightlight-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-fast) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.horizontal-card){margin-bottom:var(--ptc-layout-spacing-02)}:host(.horizontal-card) .card-layout{position:relative}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-layout{display:grid;grid-template-columns:42% 58%;direction:ltr;grid-auto-rows:1fr}}:host(.horizontal-card) .link-wrapper{outline:none;text-decoration:none;transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .link-wrapper:hover{box-shadow:var(--ptc-shadow-large);transition:var(--ptc-transition-slow) linear;background-color:var(--color-white)}:host(.horizontal-card) .link-wrapper:hover h3{border-color:var(--color-green-06);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .card-media{display:flex;align-self:center}:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-05) var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-07)}}:host(.horizontal-card) .card-body h3{margin-top:0;font-size:var(--ptc-font-size-x-small);color:var(--color-gray-10);border-bottom:1px solid transparent;padding-bottom:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-02);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) ::slotted([slot=slot-image]){box-shadow:var(--ptc-shadow-medium);width:100%}:host(.listing-card) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:487px;display:flex;flex-direction:row;margin-bottom:0.5rem}:host(.listing-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card) .card-border:hover .card-media{background:var(--color-white)}:host(.listing-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.listing-card) .card-border{width:432px;height:487px}}@media (min-width: 768px){:host(.listing-card) .card-border{margin-left:4px;margin-right:4px;width:348px;height:456px}}@media (min-width: 992px){:host(.listing-card) .card-border{width:288px;height:440px}}@media (min-width: 1200px){:host(.listing-card) .card-border{width:260px;height:420px}}@media (min-width: 1440px){:host(.listing-card) .card-border{width:260px;height:420px}}:host(.listing-card) .card-layout{display:block;position:relative;width:100%;height:100%}:host(.listing-card) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card) .card-media{width:100%;height:288px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.listing-card) .card-media .smart-img{height:288px}@media (min-width: 768px){:host(.listing-card) .card-media .smart-img{height:232px}}@media (min-width: 992px){:host(.listing-card) .card-media .smart-img{height:192px}}@media (min-width: 1200px){:host(.listing-card) .card-media .smart-img{height:170px}}@media (min-width: 768px){:host(.listing-card) .card-media{height:232px}}@media (min-width: 992px){:host(.listing-card) .card-media{height:192px}}@media (min-width: 1200px){:host(.listing-card) .card-media{height:170px}}:host(.listing-card) .card-body{padding:16px 20px 0px 20px}:host(.listing-card) .card-body .card-date-text{display:flex;flex-direction:row}:host(.listing-card) .card-body .card-date-text p{font-size:var(--ptc-font-size-xx-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block;margin-top:0rem}:host(.listing-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}:host(.listing-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:14px;margin-top:0rem}:host(.listing-card) ::slotted([slot=slot-date]){font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}:host(.listing-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.listing-card-horizontal) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:220px}:host(.listing-card-horizontal) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card-horizontal) .card-border:hover .card-media{background:var(--color-white)}:host(.listing-card-horizontal) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.listing-card-horizontal) .card-border{width:432px;height:178px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-border{width:704px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-border{width:688px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-border{width:779px;height:170px}}:host(.listing-card-horizontal) .card-layout{display:flex;flex-direction:row;width:325px;height:220px}@media (min-width: 480px){:host(.listing-card-horizontal) .card-layout{width:432px;height:178px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-layout{width:704px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-layout{width:688px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-layout{width:779px;height:170px}}:host(.listing-card-horizontal) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card-horizontal) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card-horizontal) .card-media{width:325px;height:224px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium);display:none}:host(.listing-card-horizontal) .card-media .smart-img{height:224px;width:325px}@media (min-width: 768px){:host(.listing-card-horizontal) .card-media .smart-img{width:275px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-media .smart-img{width:224px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-media .smart-img{width:260px;height:170px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-media{display:block;width:275px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-media{width:224px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-media{width:260px;height:170px}}:host(.listing-card-horizontal) .card-body{padding:16px 24px 0px 24px}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) .card-body{width:505px}}@media only screen and (min-width: 1440px){:host(.listing-card-horizontal) .card-body{padding:24px 38px 0px 31px}}:host(.listing-card-horizontal) .card-body .card-date-text{display:flex;flex-direction:row}:host(.listing-card-horizontal) .card-body .card-date-text p{font-size:var(--ptc-font-size-xx-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:12px;display:inline-block;margin-top:0rem;margin-block-start:0rem}@media only screen and (min-width: 1200px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:20px}}@media only screen and (min-width: 1440px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:24px}}@media only screen and (min-width: 1600px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:32px}}:host(.listing-card-horizontal) .card-body .small{font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:12px;display:inline-block}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body .small{margin-bottom:4px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body .small{margin-bottom:8px}}:host(.listing-card-horizontal) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:19px;color:var(--color-gray-11);margin-bottom:8px;margin-top:0rem}@media (min-width: 768px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:16px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:12px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:16px}}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:8px;margin-top:0rem}}:host(.listing-card-horizontal) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:19px;margin-top:0rem;margin-block-start:0rem}:host(.listing-card-horizontal) ::slotted([slot=slot-description]) p{margin-block-start:0rem}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) ::slotted([slot=slot-description]){font-weight:400;font-size:14px;line-height:16px}}:host(.resource-center-card) .card-border{width:320px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:450px;display:flex;flex-direction:row;margin-bottom:1rem}:host(.resource-center-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.resource-center-card) .card-border:hover .card-media{background:var(--color-white)}:host(.resource-center-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media only screen and (min-width: 768px){:host(.resource-center-card) .card-border{margin-left:4px;margin-right:4px}}:host(.resource-center-card) .card-layout{display:block;position:relative}:host(.resource-center-card) .card-layout .ribbon-text{position:absolute;top:0;left:0;margin-right:100px;margin-top:24px;background-color:var(--color-white);padding:4px 24px;max-width:80%;font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);color:var(--color-gray-11);border-radius:0px 3px 3px 0px;box-shadow:var(--ptc-shadow-small)}:host(.resource-center-card) .link-wrapper{outline:none;text-decoration:none}:host(.resource-center-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.resource-center-card) .card-media{width:100%;height:210px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.resource-center-card) .card-media .smart-img{height:210px}:host(.resource-center-card) .card-body{padding:32px 20px 0px 20px}:host(.resource-center-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.resource-center-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:14px;margin-top:0rem}:host(.resource-center-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.case-studies-card) .card-border{width:320px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:447px;display:flex;flex-direction:row;margin-bottom:1rem}:host(.case-studies-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.case-studies-card) .card-border:hover .card-media{background:var(--color-white)}:host(.case-studies-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media only screen and (min-width: 768px){:host(.case-studies-card) .card-border{margin-left:4px;margin-right:4px}}:host(.case-studies-card) .card-layout{display:block;position:relative}:host(.case-studies-card) .link-wrapper{outline:none;text-decoration:none}:host(.case-studies-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.case-studies-card) .card-media{width:100%;height:200px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.case-studies-card) .card-media .smart-img{height:200px}:host(.case-studies-card) .card-body .card-logo-container{padding:8px 20px;border-bottom:1px solid #E4E7E9}:host(.case-studies-card) .card-body .card-logo-none{padding-top:16px}:host(.case-studies-card) .card-body .card-logo{max-width:280px;width:auto;height:40px;object-fit:cover;border:1px solid #E4E7E9;margin-bottom:8px}:host(.case-studies-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.case-studies-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin:8px 20px 12px 20px}:host(.case-studies-card) ::slotted([slot=slot-date]){font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.case-studies-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin:0px 20px 39px 20px}.ptc-h3.uppercase{text-transform:uppercase}.ptc-h3.capitalize{text-transform:capitalize}.ptc-h3.lowercase{text-transform:lowercase}.ptc-h3.none{text-transform:none}";
|
|
7
|
+
const ptcCardCss = ":host{display:block}:host(.lottie-card) .card-border{box-shadow:var(--ptc-shadow-small);border:1px solid var(--color-gray-03);border-radius:10px;position:relative;overflow:hidden}:host(.lottie-card) .card-border::after{content:\"\";height:40%;width:4px;position:absolute;top:30%;right:-2px;background-color:var(--color-green-06);z-index:2;display:block}:host(.lottie-card) .card-border:hover{box-shadow:var(--ptc-shadow-x-large)}:host(.lottie-card) .card-border:hover .card-body h3{border-bottom:2px solid var(--color-green-07)}:host(.lottie-card) .card-layout{display:block}@media only screen and (min-width: 768px){:host(.lottie-card) .card-layout{display:flex;flex-flow:nowrap row;justify-content:center}}:host(.lottie-card) .link-wrapper{outline:none;text-decoration:none}:host(.lottie-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.lottie-card) .card-media{flex-basis:40%;border-right:1px solid var(--color-gray-03);display:flex}:host(.lottie-card) .card-body{flex-basis:60%;align-self:center;padding:0 30px 10px}:host(.lottie-card) .card-body h3{display:inline-block;line-height:var(--ptc-line-height-densest);color:var(--color-gray-10);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);border-bottom:2px solid transparent;margin-bottom:var(--ptc-element-spacing-02)}:host(.simple-card) .card-layout{display:block}:host(.simple-card) .link-wrapper{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover .card-body h3::before{width:100%}:host(.simple-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-04)}:host(.simple-card) .card-body h3{color:var(--color-gray-10);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-black);line-height:var(--ptc-line-height-dense);position:relative;margin-bottom:var(--ptc-element-spacing-02);display:inline-block}:host(.simple-card) .card-body h3::before{display:block;position:absolute;content:\"\";width:var(--ptc-element-spacing-07);border-bottom:2px solid var(--color-green-06);bottom:1px;transition:width var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.simple-card) ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-01);transition:margin-left var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .card-border{overflow:hidden;filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 3px 6px);width:100%}:host(.clip-edge-card) .card-border:hover{filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 6px 12px)}:host(.clip-edge-card) .card-layout{display:block}:host(.clip-edge-card) .link-wrapper{outline:none;text-decoration:none}:host(.clip-edge-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.clip-edge-card) .card-media{position:relative;width:100%;height:124px;overflow:hidden;border-radius:var(--ptc-border-radius-standard)}:host(.clip-edge-card) .card-body{transform:translateY(calc((-1) * var(--ptc-element-spacing-04)));overflow:hidden;width:calc(95% - var(--ptc-element-spacing-04) - var(--ptc-element-spacing-04));font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);clip-path:var(--ptc-clip-path-bottom-right);background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}:host(.clip-edge-card) .card-body h3{display:inline-block;margin:0px;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);text-decoration:none;border-bottom:2px solid transparent;transition:border-bottom var(--ptc-transition-medium) var(--ptc-ease-inout), margin var(--ptc-transition-medium) var(--ptc-ease-inout);margin:var(--ptc-element-spacing-03) 0 var(--ptc-element-spacing-03) 0}:host(.clip-edge-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-image]){display:block;width:100%;height:100%;transform:scale(1);transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transform-origin:top center}:host(.clip-edge-card) ::slotted([slot=slot-after-heading]){position:absolute;top:var(--ptc-element-spacing-03);left:var(--ptc-element-spacing-04);opacity:1;transform:scale(1);height:44px;transform-origin:bottom center;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-before-heading]){display:block;opacity:0;height:24px;transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .link-wrapper:hover .card-body h3{border-bottom:2px solid var(--color-green-06)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:60px;opacity:1}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-image]){transform:scale(1.1)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){opacity:0;transform:scale(0);height:0}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-before-heading]){opacity:1}:host(.hightlight-card) .card-border{width:100%;border-radius:var(--ptc-border-radius-standard);overflow:hidden}:host(.hightlight-card) .card-border:hover .card-media{transform:scale(1.1)}:host(.hightlight-card) .card-layout{display:block;position:relative}:host(.hightlight-card) .link-wrapper{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:96px;opacity:1}@media only screen and (min-width: 768px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-06)}}@media only screen and (min-width: 1440px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}:host(.hightlight-card) .card-media{width:100%;height:auto;min-height:450px;position:relative;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.hightlight-card) .card-body{position:absolute;bottom:0;top:auto;left:0;right:auto;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-07);background-color:var(--color-white);box-sizing:border-box}:host(.hightlight-card) .card-body h3{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-bold);color:var(--color-gray-10);margin:var(--ptc-element-spacing-04) 0}:host(.hightlight-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-fast) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.horizontal-card){margin-bottom:var(--ptc-layout-spacing-02)}:host(.horizontal-card) .card-layout{position:relative}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-layout{display:grid;grid-template-columns:42% 58%;direction:ltr;grid-auto-rows:1fr}}:host(.horizontal-card) .link-wrapper{outline:none;text-decoration:none;transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .link-wrapper:hover{box-shadow:var(--ptc-shadow-large);transition:var(--ptc-transition-slow) linear;background-color:var(--color-white)}:host(.horizontal-card) .link-wrapper:hover h3{border-color:var(--color-green-06);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .card-media{display:flex;align-self:center}:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-05) var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-07)}}:host(.horizontal-card) .card-body h3{margin-top:0;font-size:var(--ptc-font-size-x-small);color:var(--color-gray-10);border-bottom:1px solid transparent;padding-bottom:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-02);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) ::slotted([slot=slot-image]){box-shadow:var(--ptc-shadow-medium);width:100%}:host(.listing-card) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:487px;display:flex;flex-direction:row;margin-bottom:0.5rem}:host(.listing-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card) .card-border:hover .card-media{background:var(--color-white)}:host(.listing-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.listing-card) .card-border{width:432px;height:487px}}@media (min-width: 768px){:host(.listing-card) .card-border{margin-left:4px;margin-right:4px;width:348px;height:456px}}@media (min-width: 992px){:host(.listing-card) .card-border{width:288px;height:440px}}@media (min-width: 1200px){:host(.listing-card) .card-border{width:260px;height:420px}}@media (min-width: 1440px){:host(.listing-card) .card-border{width:260px;height:420px}}:host(.listing-card) .card-layout{display:block;position:relative;width:100%;height:100%}:host(.listing-card) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card) .card-media{width:100%;height:288px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.listing-card) .card-media .smart-img{height:288px}@media (min-width: 768px){:host(.listing-card) .card-media .smart-img{height:232px}}@media (min-width: 992px){:host(.listing-card) .card-media .smart-img{height:192px}}@media (min-width: 1200px){:host(.listing-card) .card-media .smart-img{height:170px}}@media (min-width: 768px){:host(.listing-card) .card-media{height:232px}}@media (min-width: 992px){:host(.listing-card) .card-media{height:192px}}@media (min-width: 1200px){:host(.listing-card) .card-media{height:170px}}:host(.listing-card) .card-body{padding:16px 20px 0px 20px}:host(.listing-card) .card-body .card-date-text{display:flex;flex-direction:row}:host(.listing-card) .card-body .card-date-text p{font-size:var(--ptc-font-size-xx-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block;margin-top:0rem}:host(.listing-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}:host(.listing-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:14px;margin-top:0rem}:host(.listing-card) ::slotted([slot=slot-date]){font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}:host(.listing-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.listing-card-horizontal) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:220px}:host(.listing-card-horizontal) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card-horizontal) .card-border:hover .card-media{background:var(--color-white)}:host(.listing-card-horizontal) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.listing-card-horizontal) .card-border{width:432px;height:178px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-border{width:704px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-border{width:688px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-border{width:779px;height:170px}}:host(.listing-card-horizontal) .card-layout{display:flex;flex-direction:row;width:325px;height:220px}@media (min-width: 480px){:host(.listing-card-horizontal) .card-layout{width:432px;height:178px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-layout{width:704px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-layout{width:688px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-layout{width:779px;height:170px}}:host(.listing-card-horizontal) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card-horizontal) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card-horizontal) .card-media{width:325px;height:224px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium);display:none}:host(.listing-card-horizontal) .card-media .smart-img{height:224px;width:325px}@media (min-width: 768px){:host(.listing-card-horizontal) .card-media .smart-img{width:275px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-media .smart-img{width:224px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-media .smart-img{width:260px;height:170px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-media{display:block;width:275px;height:184px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-media{width:224px;height:166px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-media{width:260px;height:170px}}:host(.listing-card-horizontal) .card-body{padding:16px 24px 0px 24px}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) .card-body{width:505px}}@media only screen and (min-width: 1440px){:host(.listing-card-horizontal) .card-body{padding:24px 38px 0px 31px}}:host(.listing-card-horizontal) .card-body .card-date-text{display:flex;flex-direction:row}:host(.listing-card-horizontal) .card-body .card-date-text p{font-size:var(--ptc-font-size-xx-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:12px;display:inline-block;margin-top:0rem;margin-block-start:0rem}@media only screen and (min-width: 1200px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:20px}}@media only screen and (min-width: 1440px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:24px}}@media only screen and (min-width: 1600px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:32px}}:host(.listing-card-horizontal) .card-body .small{font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:12px;display:inline-block}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body .small{margin-bottom:4px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body .small{margin-bottom:8px}}:host(.listing-card-horizontal) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:19px;color:var(--color-gray-11);margin-bottom:8px;margin-top:0rem}@media (min-width: 768px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:16px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:12px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:16px}}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:8px;margin-top:0rem}}:host(.listing-card-horizontal) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:19px;margin-top:0rem;margin-block-start:0rem}:host(.listing-card-horizontal) ::slotted([slot=slot-description]) p{margin-block-start:0rem}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) ::slotted([slot=slot-description]){font-weight:400;font-size:14px;line-height:16px}}:host(.resource-center-card) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:442px;display:flex;flex-direction:row;margin-bottom:1rem}:host(.resource-center-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.resource-center-card) .card-border:hover .card-media{background:var(--color-white)}:host(.resource-center-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.resource-center-card) .card-border{width:433px;height:442px}}@media (min-width: 768px){:host(.resource-center-card) .card-border{width:336px;height:396px}}@media (min-width: 992px){:host(.resource-center-card) .card-border{width:287px;height:396px}}@media (min-width: 1200px){:host(.resource-center-card) .card-border{width:260px;height:396px}}@media (min-width: 1440px){:host(.resource-center-card) .card-border{width:260px;height:396px}}@media only screen and (min-width: 768px){:host(.resource-center-card) .card-border{margin-left:4px;margin-right:4px}}:host(.resource-center-card) .card-layout{display:block;position:relative}:host(.resource-center-card) .card-layout .ribbon-text{position:absolute;top:0;left:0;margin-right:100px;margin-top:24px;background-color:var(--color-white);padding:4px 24px;max-width:80%;font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);color:var(--color-gray-11);border-radius:0px 3px 3px 0px;box-shadow:var(--ptc-shadow-small)}:host(.resource-center-card) .link-wrapper{outline:none;text-decoration:none}:host(.resource-center-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.resource-center-card) .card-media{width:100%;height:250px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.resource-center-card) .card-media .smart-img{height:250px}@media (min-width: 480px){:host(.resource-center-card) .card-media .smart-img{height:285px}}@media (min-width: 768px){:host(.resource-center-card) .card-media .smart-img{height:221px}}@media (min-width: 992px){:host(.resource-center-card) .card-media .smart-img{height:189px}}@media (min-width: 1200px){:host(.resource-center-card) .card-media .smart-img{height:173px}}@media (min-width: 1440px){:host(.resource-center-card) .card-media .smart-img{height:173px}}@media (min-width: 480px){:host(.resource-center-card) .card-media{height:285px}}@media (min-width: 768px){:host(.resource-center-card) .card-media{height:221px}}@media (min-width: 992px){:host(.resource-center-card) .card-media{height:189px}}@media (min-width: 1200px){:host(.resource-center-card) .card-media{height:173px}}@media (min-width: 1440px){:host(.resource-center-card) .card-media{height:173px}}:host(.resource-center-card) .card-body{padding:14px 20px 0px 20px}:host(.resource-center-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.resource-center-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:12px;margin-top:0rem}:host(.resource-center-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.case-studies-card) .card-border{width:320px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:447px;display:flex;flex-direction:row;margin-bottom:1rem}:host(.case-studies-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.case-studies-card) .card-border:hover .card-media{background:var(--color-white)}:host(.case-studies-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.case-studies-card) .card-border{width:431px;height:536px}}@media (min-width: 768px){:host(.case-studies-card) .card-border{width:335px;height:452px}}@media (min-width: 992px){:host(.case-studies-card) .card-border{width:288px;height:452px}}@media (min-width: 1200px){:host(.case-studies-card) .card-border{width:260px;height:452px}}@media (min-width: 1440px){:host(.case-studies-card) .card-border{width:260px;height:452px}}@media only screen and (min-width: 768px){:host(.case-studies-card) .card-border{margin-left:4px;margin-right:4px}}:host(.case-studies-card) .card-layout{display:block;position:relative}:host(.case-studies-card) .link-wrapper{outline:none;text-decoration:none}:host(.case-studies-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.case-studies-card) .card-media{width:100%;height:200px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.case-studies-card) .card-media .smart-img{width:100%;height:200px}@media (min-width: 480px){:host(.case-studies-card) .card-media .smart-img{height:286px}}@media (min-width: 768px){:host(.case-studies-card) .card-media .smart-img{height:224px}}@media (min-width: 992px){:host(.case-studies-card) .card-media .smart-img{height:192px}}@media (min-width: 1200px){:host(.case-studies-card) .card-media .smart-img{height:173px}}@media (min-width: 1440px){:host(.case-studies-card) .card-media .smart-img{height:170px}}@media (min-width: 480px){:host(.case-studies-card) .card-media{height:286px}}@media (min-width: 768px){:host(.case-studies-card) .card-media{height:224px}}@media (min-width: 992px){:host(.case-studies-card) .card-media{height:192px}}@media (min-width: 1200px){:host(.case-studies-card) .card-media{height:173px}}@media (min-width: 1440px){:host(.case-studies-card) .card-media{height:170px}}:host(.case-studies-card) .card-body .card-logo-container{padding:8px 20px;border-bottom:1px solid #E4E7E9}:host(.case-studies-card) .card-body .card-logo-none{padding-top:16px}:host(.case-studies-card) .card-body .card-logo{max-width:280px;width:auto;height:40px;object-fit:cover;border:1px solid #E4E7E9;margin-bottom:8px}:host(.case-studies-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.case-studies-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin:8px 20px 12px 20px}:host(.case-studies-card) ::slotted([slot=slot-date]){font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.case-studies-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin:0px 20px 39px 20px}.ptc-h3.uppercase{text-transform:uppercase}.ptc-h3.capitalize{text-transform:capitalize}.ptc-h3.lowercase{text-transform:lowercase}.ptc-h3.none{text-transform:none}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const PtcCard = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
-
/**
|
|
13
|
-
* Card Type
|
|
14
|
-
* Specify Card Type, default to simple card
|
|
15
|
-
*/
|
|
16
12
|
this.cardType = 'custom-card';
|
|
17
|
-
/**
|
|
18
|
-
* Card Link URL (Optional)
|
|
19
|
-
*/
|
|
20
13
|
this.cardHref = undefined;
|
|
21
|
-
/**
|
|
22
|
-
* (optional) Link card target
|
|
23
|
-
* */
|
|
24
14
|
this.target = '_self';
|
|
25
|
-
/**
|
|
26
|
-
* (optional) Link card rel
|
|
27
|
-
* */
|
|
28
15
|
this.rel = undefined;
|
|
29
|
-
/**
|
|
30
|
-
* If this card has Image
|
|
31
|
-
*/
|
|
32
16
|
this.hasImage = false;
|
|
33
|
-
/**
|
|
34
|
-
* If this card has Video
|
|
35
|
-
*/
|
|
36
17
|
this.hasVideo = false;
|
|
37
|
-
/**
|
|
38
|
-
* If this card has Lottie Image
|
|
39
|
-
*/
|
|
40
18
|
this.hasLottie = false;
|
|
41
|
-
|
|
42
|
-
* Card heading text transform
|
|
43
|
-
*/
|
|
19
|
+
this.heading = undefined;
|
|
44
20
|
this.headingTransform = 'none';
|
|
21
|
+
this.cardDate = undefined;
|
|
22
|
+
this.styles = undefined;
|
|
23
|
+
this.ribbonText = undefined;
|
|
24
|
+
this.eventType = undefined;
|
|
25
|
+
this.cardLogo = undefined;
|
|
45
26
|
}
|
|
46
27
|
render() {
|
|
47
28
|
const Tag = !!this.cardHref ? 'a' : 'div';
|
|
@@ -79,31 +60,16 @@ PtcCard.style = ptcCardCss;
|
|
|
79
60
|
|
|
80
61
|
const ptcDateCss = ":host{display:block}:host(.small) span{font-size:var(--ptc-font-size-xx-small)}:host(.medium) span{font-size:var(--ptc-font-size-x-small)}:host(.primary-grey){color:var(--color-primary-gray-new)}:host(.white) span{color:var(--color-white)}:host(.date-m-top){margin-top:var(--ptc-element-spacing-01)}";
|
|
81
62
|
|
|
82
|
-
|
|
63
|
+
const PtcDate = class {
|
|
83
64
|
constructor(hostRef) {
|
|
84
65
|
index.registerInstance(this, hostRef);
|
|
85
|
-
/**
|
|
86
|
-
* Year
|
|
87
|
-
*/
|
|
88
66
|
this.year = 1900;
|
|
89
|
-
/**
|
|
90
|
-
* Month
|
|
91
|
-
* An integer between 1 (January) and 12 (December) representing the month.If omitted, defaults to 0.
|
|
92
|
-
*/
|
|
93
67
|
this.month = 0;
|
|
94
|
-
/**
|
|
95
|
-
* Day
|
|
96
|
-
* An integer between 1 and 31 representing the day of the month. If omitted, defaults to 1.
|
|
97
|
-
*/
|
|
98
68
|
this.day = 1;
|
|
99
|
-
/**
|
|
100
|
-
* Country
|
|
101
|
-
* examples: en-US, zh-CN, zh-TW, fr-FR, ja-JP, ru-RU, de-DE, ko-KR, it-IT, es-ES
|
|
102
|
-
*/
|
|
103
69
|
this.country = 'en-US';
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
70
|
+
this.dateString = undefined;
|
|
71
|
+
this.dateColor = undefined;
|
|
72
|
+
this.dateStyles = undefined;
|
|
107
73
|
this.dataSize = 'small';
|
|
108
74
|
}
|
|
109
75
|
render() {
|
|
@@ -142,40 +108,16 @@ let ResponsivePictureVariables = {
|
|
|
142
108
|
|
|
143
109
|
const ptcImgCss = ".smart-bg{width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.smart-img{position:absolute;display:block;width:100%;height:100%;top:0;left:0;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.lazy-bg{background-image:none !important;background-color:var(--color-gray-03)}@media only screen and (min-width: 768px){.hidden-xs{display:none !important}}@media (min-width: 768px) and (max-width: 991px){.hidden-sm{display:none !important}}@media (min-width: 992px) and (max-width: 1199px){.hidden-md{display:none !important}}@media only screen and (min-width: 768px){.hidden-lg{display:none !important}}";
|
|
144
110
|
|
|
145
|
-
|
|
111
|
+
const PtcImg = class {
|
|
146
112
|
constructor(hostRef) {
|
|
147
113
|
index.registerInstance(this, hostRef);
|
|
148
|
-
/**
|
|
149
|
-
* Image size for smallest screen
|
|
150
|
-
* <=767px
|
|
151
|
-
*/
|
|
152
114
|
this.sizeXs = '510x340';
|
|
153
|
-
/**
|
|
154
|
-
* Image size for small screen
|
|
155
|
-
* >=768px and <=991px
|
|
156
|
-
*/
|
|
157
115
|
this.sizeSm = '1240x496';
|
|
158
|
-
/**
|
|
159
|
-
* Image size for medium screen
|
|
160
|
-
* >=992px and <=1199px
|
|
161
|
-
*/
|
|
162
116
|
this.sizeMd = '1366x500';
|
|
163
|
-
/**
|
|
164
|
-
* Image solution for large screen
|
|
165
|
-
* >=1200px
|
|
166
|
-
*/
|
|
167
117
|
this.sizeLg = '1920x1080';
|
|
168
|
-
|
|
169
|
-
* Image type
|
|
170
|
-
*/
|
|
118
|
+
this.imgUrl = undefined;
|
|
171
119
|
this.imageType = 'smart-bg';
|
|
172
|
-
/**
|
|
173
|
-
* Image border shape
|
|
174
|
-
*/
|
|
175
120
|
this.borderRadius = '';
|
|
176
|
-
/**
|
|
177
|
-
* Lazy loading option
|
|
178
|
-
*/
|
|
179
121
|
this.loadMode = 'lazy-bg';
|
|
180
122
|
}
|
|
181
123
|
/**
|
|
@@ -293,29 +235,16 @@ PtcImg.style = ptcImgCss;
|
|
|
293
235
|
|
|
294
236
|
const ptcParaCss = ":host{z-index:1}:host(.white){color:var(--color-white)}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}";
|
|
295
237
|
|
|
296
|
-
|
|
238
|
+
const PtcPara = class {
|
|
297
239
|
constructor(hostRef) {
|
|
298
240
|
index.registerInstance(this, hostRef);
|
|
299
|
-
/**
|
|
300
|
-
* Paragraph font size
|
|
301
|
-
**/
|
|
302
241
|
this.fontSize = "x-small";
|
|
303
|
-
/**
|
|
304
|
-
* Paragraph font weight
|
|
305
|
-
**/
|
|
306
242
|
this.fontWeight = 'w-4';
|
|
307
|
-
/**
|
|
308
|
-
* Paragraph Style
|
|
309
|
-
**/
|
|
310
243
|
this.paraStyle = 'default';
|
|
311
|
-
/**
|
|
312
|
-
* Paragraph Color
|
|
313
|
-
*/
|
|
314
244
|
this.paraColor = 'primary-grey';
|
|
315
|
-
/**
|
|
316
|
-
* line height
|
|
317
|
-
*/
|
|
318
245
|
this.paraLineH = 'line-height-normal';
|
|
246
|
+
this.paraMargin = undefined;
|
|
247
|
+
this.ellipsisLineCutoff = undefined;
|
|
319
248
|
}
|
|
320
249
|
render() {
|
|
321
250
|
const classMap = this.getCssClassMap();
|
|
@@ -356,54 +285,26 @@ PtcPara.style = ptcParaCss;
|
|
|
356
285
|
|
|
357
286
|
const ptcPictureCss = ":host{display:block;overflow:hidden}:host img{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
|
|
358
287
|
|
|
359
|
-
|
|
288
|
+
const PtcPicture = class {
|
|
360
289
|
constructor(hostRef) {
|
|
361
290
|
index.registerInstance(this, hostRef);
|
|
362
|
-
|
|
363
|
-
* Image alt
|
|
364
|
-
*/
|
|
291
|
+
this.src = undefined;
|
|
365
292
|
this.alt = "image";
|
|
366
|
-
/**
|
|
367
|
-
* Image size for smallest screen
|
|
368
|
-
* <=767px
|
|
369
|
-
*/
|
|
370
293
|
this.sizeXs = '510x340';
|
|
371
|
-
/**
|
|
372
|
-
* Image size for small screen
|
|
373
|
-
* >=768px and <=991px
|
|
374
|
-
*/
|
|
375
294
|
this.sizeSm = '1240x496';
|
|
376
|
-
/**
|
|
377
|
-
* Image size for medium screen
|
|
378
|
-
* >=992px and <=1199px
|
|
379
|
-
*/
|
|
380
295
|
this.sizeMd = '1366x500';
|
|
381
|
-
/**
|
|
382
|
-
* Image solution for large screen
|
|
383
|
-
* >=1200px
|
|
384
|
-
*/
|
|
385
296
|
this.sizeLg = '1920x1080';
|
|
386
|
-
|
|
387
|
-
* Image Position
|
|
388
|
-
*/
|
|
297
|
+
this.oldSrc = undefined;
|
|
389
298
|
this.imagePosition = 'static';
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
*/
|
|
299
|
+
this.borderRadius = undefined;
|
|
300
|
+
this.height = undefined;
|
|
301
|
+
this.width = undefined;
|
|
394
302
|
this.objectFit = 'cover';
|
|
395
|
-
/**
|
|
396
|
-
* Stretch height to 100%?
|
|
397
|
-
*/
|
|
398
303
|
this.isFullHeight = false;
|
|
399
|
-
/**
|
|
400
|
-
* Stretch width to 100%?
|
|
401
|
-
*/
|
|
402
304
|
this.isFullWidth = false;
|
|
403
|
-
|
|
404
|
-
* (optional) Image alignment
|
|
405
|
-
**/
|
|
305
|
+
this.styles = undefined;
|
|
406
306
|
this.imageAlignment = 'left';
|
|
307
|
+
this.maxWidth = undefined;
|
|
407
308
|
}
|
|
408
309
|
WindowResize() {
|
|
409
310
|
this.addIntersectionObserver();
|
|
@@ -527,20 +428,11 @@ PtcPicture.style = ptcPictureCss;
|
|
|
527
428
|
|
|
528
429
|
const ptcSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.ptc-spacer-xx-large){display:block}}";
|
|
529
430
|
|
|
530
|
-
|
|
431
|
+
const PtcSpacer = class {
|
|
531
432
|
constructor(hostRef) {
|
|
532
433
|
index.registerInstance(this, hostRef);
|
|
533
|
-
/**
|
|
534
|
-
* Breakpoint
|
|
535
|
-
*/
|
|
536
434
|
this.breakpoint = '';
|
|
537
|
-
/**
|
|
538
|
-
* Spacing Size
|
|
539
|
-
*/
|
|
540
435
|
this.size = 'medium';
|
|
541
|
-
/**
|
|
542
|
-
* Direction
|
|
543
|
-
*/
|
|
544
436
|
this.direction = 'vertical';
|
|
545
437
|
}
|
|
546
438
|
render() {
|
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8745a0a3.js');
|
|
6
6
|
|
|
7
7
|
const ptcCheckboxCss = ":host{display:block}:host .ptc-checkbox{display:block;position:relative;user-select:none;cursor:pointer;font-family:var(--ptc-font-latin);font-style:normal;color:var(--color-gray-10);padding-left:var(--spacing-lg);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-x-small);height:1.375rem}:host .ptc-checkbox input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}:host .ptc-checkbox .check{position:absolute;top:0;left:0;height:1.375rem;width:1.375rem;background-color:var(--color-white);border:1px solid var(--color-gray-07);line-height:var(--ptc-line-height-densest);box-sizing:border-box;border-radius:4px}:host .ptc-checkbox .check .mark{position:absolute;transition:opacity ease-out 250ms;opacity:0;left:3px;top:2px;width:1.375rem;height:1.375rem}:host .ptc-checkbox input:checked~.check{background-color:var(--color-gray-12)}:host .ptc-checkbox input:checked~.check .mark{opacity:1}:host .ptc-checkbox:hover input~.check{background-color:var(--color-gray-02)}:host .ptc-checkbox:hover input:checked~.check{background-color:var(--color-gray-12)}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const PtcCheckbox = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.checkedChanged = index.createEvent(this, "checkedChanged", 7);
|
|
13
|
-
this.checked = 'unchecked';
|
|
14
13
|
this.handleClick = (e) => {
|
|
15
14
|
let input = this.host.shadowRoot.querySelector('input');
|
|
16
15
|
if (this.checked == 'unchecked') {
|
|
@@ -27,6 +26,9 @@ let PtcCheckbox = class {
|
|
|
27
26
|
};
|
|
28
27
|
this.checkedChanged.emit(parameter);
|
|
29
28
|
};
|
|
29
|
+
this.checked = 'unchecked';
|
|
30
|
+
this.value = undefined;
|
|
31
|
+
this.inputName = undefined;
|
|
30
32
|
}
|
|
31
33
|
componentDidLoad() {
|
|
32
34
|
let input = this.host.shadowRoot.querySelector('input');
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8745a0a3.js');
|
|
6
6
|
const utils = require('./utils-5245e89c.js');
|
|
7
7
|
|
|
8
8
|
const ptcCollapseListCss = ":host{display:block;height:100%}.container{border-right:1px solid rgba(112, 112, 112, 0.25);position:relative;height:100%}.container>ul{overflow:visible}a{transition:color ease-out 250ms}ul{transition:max-height ease-out 250ms, padding ease-out 250ms;overflow:hidden;list-style:none;padding:0;margin:0}li{cursor:pointer}.level-1>ul{max-height:0}.level-1>ul>li{margin:12px 0}.level-1>ul>li:first-child{margin-top:20px}.level-1>ul>li:last-child{margin-bottom:10px}.level-2>ul,.level-3>ul,.level-4>ul,.level-5>ul{max-height:0}.level-2>ul>li,.level-3>ul>li,.level-4>ul>li,.level-5>ul>li{margin:8px 0}.level-2>ul{padding-left:2.25rem}.level-3>ul{padding-left:3rem}.level-4>ul{padding-left:3.75rem}.level-5>ul{padding-left:4.5rem}.level-1{position:relative}.level-1>a{position:relative;padding:16px 20px 17.5px 0;display:block;font-size:18px;letter-spacing:0.45px;font-weight:800;color:var(--color-gray-08);text-decoration:none;border-bottom:1px solid rgba(112, 112, 112, 0.25)}.level-1>a:hover,.level-1>a:active,.level-1>a:focus{text-decoration:none}.level-1>a>icon-asset{transition:transform var(--ptc-ease-out) var(--ptc-transition-medium), padding var(--ptc-ease-out) var(--ptc-transition-medium);position:absolute;right:20px;padding-top:2px}.level-1>a:after{content:\"\";display:block;position:absolute;bottom:-2px;left:0;height:3px;width:40px;background-color:var(--color-green-07);transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium)}.level-1.expanded a>icon-asset{transform:rotate(-180deg);padding-top:0}.level-1.expanded a>ul{padding-top:14px}.level-1.expanded a:after{background-color:var(--color-gray-11)}.level-1>ul{padding-top:0}.level-1:first-child>a{padding-top:20px}.level-2,.level-3,.level-4,.level-5{position:relative}.level-2>a,.level-3>a,.level-4>a,.level-5>a{font-size:15px;font-weight:500;letter-spacing:0.4px;color:var(--color-gray-10);text-decoration:none;display:inline-block;margin-left:20px}.level-2>a:hover,.level-2>a:active,.level-3>a:hover,.level-3>a:active,.level-4>a:hover,.level-4>a:active,.level-5>a:hover,.level-5>a:active{font-weight:800;color:var(--color-green-07);text-decoration:none}.level-2 .expander-icon,.level-3 .expander-icon,.level-4 .expander-icon,.level-5 .expander-icon{position:absolute;left:-18px;top:2px}.level-3:before,.level-4:before,.level-5:before{position:absolute;content:\"\";width:2rem;height:1px;display:block;left:0;top:9px;background-color:var(--color-gray-02)}.level-3:before{width:2rem;left:-2.25rem}.level-4:before{width:2.75rem;left:-3rem}.level-5:before{width:3.5rem;left:-3.75rem}.search-box{display:flex;width:100%}.search-box input[type=text]{font-family:var(--ptc-font-latin);padding:8px 45px 8px 18px;font-size:1rem;font-weight:400;color:var(--color-gray-12);box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-06);transition:border var(--ptc-transition-medium) var(--ptc-ease-out), box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);background-color:var(--color-white);width:100%;margin-right:2rem}.search-box input[type=text]::-ms-clear{display:none}.search-box input[type=text]:focus{outline:none;box-shadow:var(--ptc-shadow-small);border:solid 1px var(--color-gray-12)}.search-box input[type=text]::placeholder{color:var(--color-gray-07)}";
|
|
9
9
|
|
|
10
10
|
class CollapseListItem {
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
const PtcCollapseList = class {
|
|
13
13
|
constructor(hostRef) {
|
|
14
14
|
index.registerInstance(this, hostRef);
|
|
15
15
|
this.itemSelected = index.createEvent(this, "itemSelected", 7);
|
|
@@ -19,6 +19,17 @@ let PtcCollapseList = class {
|
|
|
19
19
|
this.ready = index.createEvent(this, "ready", 7);
|
|
20
20
|
this.viewUpdated = index.createEvent(this, "viewUpdated", 7);
|
|
21
21
|
this.changed = index.createEvent(this, "changed", 7);
|
|
22
|
+
this.data = undefined;
|
|
23
|
+
this.searchText = undefined;
|
|
24
|
+
this.header = undefined;
|
|
25
|
+
this.selectedValue = undefined;
|
|
26
|
+
this.selectedItems = undefined;
|
|
27
|
+
this.hashMap = undefined;
|
|
28
|
+
this.debouncedUpdatedEvent = undefined;
|
|
29
|
+
this.refreshBuffer = undefined;
|
|
30
|
+
this.listItems = undefined;
|
|
31
|
+
this.placeholderText = undefined;
|
|
32
|
+
this.debounceUpdateDelay = undefined;
|
|
22
33
|
}
|
|
23
34
|
componentWillLoad() {
|
|
24
35
|
this.loadListItems();
|
|
@@ -2,16 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8745a0a3.js');
|
|
6
6
|
|
|
7
7
|
const ptcContainerCss = ":host{display:block;position:relative}.white{border-radius:4px;background-color:var(--color-white)}.gray{border-radius:4px;background-color:var(--color-white-gray)}.content-wrapper{font-family:Raleway;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0;text-align:left}.content-wrapper.x-small{box-shadow:var(--ptc-shadow-x-small)}.content-wrapper.small{box-shadow:var(--ptc-shadow-small)}.content-wrapper.medium{box-shadow:var(--ptc-shadow-medium)}.content-wrapper.large{box-shadow:var(--ptc-shadow-large)}.content-wrapper.x-large{box-shadow:var(--ptc-shadow-x-large)}.content-wrapper.spacing-xx-small{padding:var(--ptc-element-spacing-01)}.content-wrapper.spacing-x-small{padding:var(--ptc-element-spacing-02)}.content-wrapper.spacing-small{padding:var(--ptc-element-spacing-03)}.content-wrapper.spacing-medium{padding:var(--ptc-element-spacing-04)}.content-wrapper.spacing-large{padding:var(--ptc-element-spacing-05)}.content-wrapper.spacing-x-large{padding:var(--ptc-element-spacing-06)}.content-wrapper.spacing-xx-large{padding:var(--ptc-element-spacing-07)}.content-wrapper.spacing-xxx-large{padding:var(--ptc-element-spacing-08)}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const PtcContainer = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
-
/**
|
|
13
|
-
* Theme
|
|
14
|
-
*/
|
|
15
12
|
this.backgroundColor = 'white';
|
|
16
13
|
this.elevation = 'small';
|
|
17
14
|
this.containerType = 'normal';
|
|
@@ -2,19 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8745a0a3.js');
|
|
6
6
|
|
|
7
7
|
const ptcDropdownCss = "@charset \"UTF-8\";:host{position:relative}:host .dropdown__header{cursor:pointer;transition:background-color ease-out 250ms, border-color ease-out 250ms;background-color:var(--color-white);display:flex;align-items:center;align-content:center;border:1px solid var(--color-gray-05);padding:0.25rem 0.75rem 0.25rem 0.75rem;border-radius:4px;font-family:Raleway;font-size:16px;font-weight:400;line-height:27px;letter-spacing:0em;text-align:left}:host .dropdown__header b{font-weight:600}:host .dropdown__header icon-asset{width:1rem;height:1rem;margin-left:0.5rem}:host .dropdown__header:hover{background-color:var(--color-gray-02)}:host .dropdown__list{display:table;border:1px solid rgba(0, 0, 0, 0.24);border-radius:8px}:host ul{display:block;top:0.2rem;right:0.2rem;margin:0;list-style-type:none;padding-inline-start:0;padding:0.25rem 0.25rem;background-color:var(--color-gray-02);cursor:pointer;position:absolute;z-index:500}:host ul li{white-space:nowrap;padding:3px 1rem;font-weight:500}:host ul li.selected:before{content:\"✓\";display:block;position:absolute;left:0.4rem}:host ul li:hover{color:#fff;background-color:#699af8;border-radius:4px}.ptc-dropdown{position:relative;height:37px}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const PtcDropdown = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.clickedItem = index.createEvent(this, "clickedItem", 7);
|
|
13
|
-
/**
|
|
14
|
-
* Theme
|
|
15
|
-
*/
|
|
16
|
-
this.theme = 'sort';
|
|
17
|
-
this.toggle = false;
|
|
18
13
|
this.handleClick = (item) => {
|
|
19
14
|
this.listItems.forEach((item) => item.selected = undefined);
|
|
20
15
|
item.selected = true;
|
|
@@ -25,6 +20,11 @@ let PtcDropdown = class {
|
|
|
25
20
|
this.toggleList = () => {
|
|
26
21
|
this.toggle = !this.toggle;
|
|
27
22
|
};
|
|
23
|
+
this.theme = 'sort';
|
|
24
|
+
this.label = undefined;
|
|
25
|
+
this.listItems = undefined;
|
|
26
|
+
this.toggle = false;
|
|
27
|
+
this.selectedItem = undefined;
|
|
28
28
|
}
|
|
29
29
|
offClick(e) {
|
|
30
30
|
if (e && !this.host.contains(e.target) && this.toggle) {
|
|
@@ -2,49 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8745a0a3.js');
|
|
6
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;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 .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}";
|
|
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
8
|
|
|
9
|
-
|
|
9
|
+
const PtcDynamicCard = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
-
|
|
12
|
+
this.dotSvg = index.getAssetPath('./media/nav-active-dotslick.svg');
|
|
13
13
|
this.cardType = 'sequential';
|
|
14
|
-
/** Card Title */
|
|
15
14
|
this.cardTitle = 'Card Title Goes Here';
|
|
16
|
-
|
|
15
|
+
this.cardImgSrc = undefined;
|
|
16
|
+
this.cardImgAlt = undefined;
|
|
17
|
+
this.outCardState = undefined;
|
|
17
18
|
this.cardStatus = 'desktop-closed';
|
|
19
|
+
this.overlayExists = true;
|
|
18
20
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
this.cardStatus = 'desktop-expanded';
|
|
22
|
-
}
|
|
23
|
-
else if (this.cardStatus === 'desktop-expanded') {
|
|
24
|
-
this.cardStatus = 'desktop-closed';
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
console.log('mobile state!');
|
|
28
|
-
}
|
|
21
|
+
cardStateChanged(newState) {
|
|
22
|
+
this.cardStatus = newState;
|
|
29
23
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
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);
|
|
38
31
|
}
|
|
39
32
|
render() {
|
|
40
33
|
const classMap = this.getCssClassMap();
|
|
41
|
-
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" }, index.h("ptc-overlay", { "filter-color": "black-3" })), 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" })))))));
|
|
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}` })))));
|
|
42
35
|
}
|
|
43
36
|
getCssClassMap() {
|
|
44
37
|
return {
|
|
45
38
|
[this.cardType]: true,
|
|
46
39
|
};
|
|
47
40
|
}
|
|
41
|
+
handleResize() {
|
|
42
|
+
//console.log('window width:', window.innerWidth);
|
|
43
|
+
if (window.innerWidth < 1200) {
|
|
44
|
+
this.cardStatus = 'mobile';
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
this.cardStatus = 'desktop-closed';
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
static get assetsDirs() { return ["media"]; }
|
|
51
|
+
get el() { return index.getElement(this); }
|
|
52
|
+
static get watchers() { return {
|
|
53
|
+
"outCardState": ["cardStateChanged"]
|
|
54
|
+
}; }
|
|
48
55
|
};
|
|
49
56
|
PtcDynamicCard.style = ptcDynamicCardCss;
|
|
50
57
|
|
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8745a0a3.js');
|
|
6
6
|
|
|
7
7
|
const ptcEllipsisDropdownCss = ".ellipsis-icon{border:1px solid #6E717C;border-radius:2px;vertical-align:middle;height:18px;width:18px;text-align:center;display:flex;align-items:center;justify-content:center;transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium), border-color var(--ptc-ease-out) var(--ptc-transition-medium)}.ellipsis-icon:hover{background-color:var(--color-gray-04);border-color:var(--color-gray-04)}.ellipsis-icon icon-asset{display:inline-block}.ellipsis-icon icon-asset svg{margin:0 auto;display:block}.ellipsis-icon.active{background-color:var(--color-green-07);border-color:var(--color-green-07)}.ptc-ellipsis-dropdown{position:relative;display:inline-block;padding:7px;cursor:pointer}.dropdown-container{display:none;margin-top:16px;box-shadow:0 6px 16px rgba(0, 0, 0, 0.24);border-radius:4px;position:absolute;z-index:1010;background:var(--color-white);padding:0.8rem 0;right:0;left:auto;min-width:max-content;width:100%}.show .dropdown-container{display:inline-block}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const PtcEllipsisDropdown = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.itemSelected = index.createEvent(this, "itemSelected", 7);
|
|
13
13
|
this.dataItems = [];
|
|
14
|
+
this.selectedTab = undefined;
|
|
14
15
|
this.isDropdownOpen = false;
|
|
15
16
|
}
|
|
16
17
|
dropdownToggle(e) {
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8745a0a3.js');
|
|
6
6
|
|
|
7
7
|
const ptcFilterTagCss = ".ptc-filter-tag{display:block;cursor:pointer;position:relative;margin:0.25rem}.ptc-filter-tag.bubble{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;align-items:center;transition:border-color ease-out 250ms;border:1px solid var(--color-gray-05);border-radius:999px;padding:0.375rem 1.875rem 0.375rem 0.875rem;background:var(--color-white)}.ptc-filter-tag.bubble:hover{border:1px solid var(--color-gray-12)}.ptc-filter-tag.bubble .cls{display:block;position:absolute;top:0.35rem;right:0.8rem}.ptc-filter-tag.link,.ptc-filter-tag.link-lg{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:right;border-bottom:1px solid transparent;background:var(--color-white)}.ptc-filter-tag.link:hover,.ptc-filter-tag.link-lg:hover{text-decoration:underline}.ptc-filter-tag.link .cls,.ptc-filter-tag.link-lg .cls{display:none}.ptc-filter-tag.link-lg{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold)}.ptc-filter-tag.button{background:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0.625rem 1rem;font-family:\"Raleway\";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);color:var(--color-white)}.ptc-filter-tag.button:hover{background-color:var(--color-gray-12)}.ptc-filter-tag.button:active{background-color:var(--color-black)}.ptc-filter-tag.button .cls{display:none}.ptc-filter-tag.standard{display:inline-flex;background:var(--color-gray-10);font-family:\"Raleway\";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-denser);color:var(--color-green-07);background-color:transparent}.ptc-filter-tag.standard .cls{display:block;margin-left:0.25rem}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const PtcFilterTag = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.clicked = index.createEvent(this, "clicked", 7);
|
|
13
|
-
this.theme = 'bubble';
|
|
14
13
|
this.handleClick = () => {
|
|
15
14
|
this.clicked.emit(this);
|
|
16
15
|
};
|
|
16
|
+
this.theme = 'bubble';
|
|
17
|
+
this.iconColorMap = undefined;
|
|
17
18
|
}
|
|
18
19
|
componentWillLoad() {
|
|
19
20
|
this.iconColorMap = {
|