@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
|
@@ -1,54 +1,60 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
2
|
export class PtcPreviousUrl {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.href = undefined;
|
|
5
|
+
this.text = undefined;
|
|
6
|
+
}
|
|
3
7
|
render() {
|
|
4
|
-
return (h(Host, null,
|
|
5
|
-
h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": this.href },
|
|
6
|
-
h("ptc-svg-btn", { class: "backarrow", "svg-name": "back-arrow", display: "inline-block" }),
|
|
7
|
-
h("a", { class: "back-to-videos" }, this.text)),
|
|
8
|
-
h("slot", null)));
|
|
8
|
+
return (h(Host, null, h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": this.href }, h("ptc-svg-btn", { class: "backarrow", "svg-name": "back-arrow", display: "inline-block" }), h("a", { class: "back-to-videos" }, this.text)), h("slot", null)));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "ptc-previous-url"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
12
|
-
static get originalStyleUrls() {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"original": "string | undefined",
|
|
41
|
-
"resolved": "string",
|
|
42
|
-
"references": {}
|
|
43
|
-
},
|
|
44
|
-
"required": false,
|
|
45
|
-
"optional": false,
|
|
46
|
-
"docs": {
|
|
47
|
-
"tags": [],
|
|
48
|
-
"text": ""
|
|
12
|
+
static get originalStyleUrls() {
|
|
13
|
+
return {
|
|
14
|
+
"$": ["ptc-previous-url.scss"]
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
static get styleUrls() {
|
|
18
|
+
return {
|
|
19
|
+
"$": ["ptc-previous-url.css"]
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
static get properties() {
|
|
23
|
+
return {
|
|
24
|
+
"href": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"mutable": false,
|
|
27
|
+
"complexType": {
|
|
28
|
+
"original": "string | undefined",
|
|
29
|
+
"resolved": "string",
|
|
30
|
+
"references": {}
|
|
31
|
+
},
|
|
32
|
+
"required": false,
|
|
33
|
+
"optional": false,
|
|
34
|
+
"docs": {
|
|
35
|
+
"tags": [],
|
|
36
|
+
"text": ""
|
|
37
|
+
},
|
|
38
|
+
"attribute": "href",
|
|
39
|
+
"reflect": false
|
|
49
40
|
},
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
41
|
+
"text": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"mutable": false,
|
|
44
|
+
"complexType": {
|
|
45
|
+
"original": "string | undefined",
|
|
46
|
+
"resolved": "string",
|
|
47
|
+
"references": {}
|
|
48
|
+
},
|
|
49
|
+
"required": false,
|
|
50
|
+
"optional": false,
|
|
51
|
+
"docs": {
|
|
52
|
+
"tags": [],
|
|
53
|
+
"text": ""
|
|
54
|
+
},
|
|
55
|
+
"attribute": "text",
|
|
56
|
+
"reflect": false
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
54
60
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Host } from '@stencil/core';
|
|
2
2
|
export class PtcPricingBlock {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.active = undefined;
|
|
5
|
+
}
|
|
3
6
|
render() {
|
|
4
7
|
const classMap = this.getCssClassMap();
|
|
5
|
-
return (h(Host, null,
|
|
6
|
-
h("div", { class: classMap },
|
|
7
|
-
h("span", { class: "left-text" },
|
|
8
|
-
h("slot", { name: "left-text" })),
|
|
9
|
-
h("span", { class: "right-text" },
|
|
10
|
-
h("slot", { name: "right-text" })))));
|
|
8
|
+
return (h(Host, null, h("div", { class: classMap }, h("span", { class: "left-text" }, h("slot", { name: "left-text" })), h("span", { class: "right-text" }, h("slot", { name: "right-text" })))));
|
|
11
9
|
}
|
|
12
10
|
getCssClassMap() {
|
|
13
11
|
return {
|
|
@@ -17,29 +15,35 @@ export class PtcPricingBlock {
|
|
|
17
15
|
}
|
|
18
16
|
static get is() { return "ptc-pricing-block"; }
|
|
19
17
|
static get encapsulation() { return "shadow"; }
|
|
20
|
-
static get originalStyleUrls() {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
18
|
+
static get originalStyleUrls() {
|
|
19
|
+
return {
|
|
20
|
+
"$": ["ptc-pricing-block.scss"]
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
static get styleUrls() {
|
|
24
|
+
return {
|
|
25
|
+
"$": ["ptc-pricing-block.css"]
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
static get properties() {
|
|
29
|
+
return {
|
|
30
|
+
"active": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"mutable": false,
|
|
33
|
+
"complexType": {
|
|
34
|
+
"original": "\"active\"",
|
|
35
|
+
"resolved": "\"active\"",
|
|
36
|
+
"references": {}
|
|
37
|
+
},
|
|
38
|
+
"required": false,
|
|
39
|
+
"optional": false,
|
|
40
|
+
"docs": {
|
|
41
|
+
"tags": [],
|
|
42
|
+
"text": ""
|
|
43
|
+
},
|
|
44
|
+
"attribute": "active",
|
|
45
|
+
"reflect": false
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
45
49
|
}
|
|
@@ -1,36 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
2
|
import QuotationMark from '../../media/svg-imgs/quotation-mark.svg';
|
|
3
3
|
export class PtcQuote {
|
|
4
4
|
constructor() {
|
|
5
|
-
/**
|
|
6
|
-
* Quote Type
|
|
7
|
-
*/
|
|
8
5
|
this.quoteType = "image-quote";
|
|
9
|
-
/**
|
|
10
|
-
* Quote Name
|
|
11
|
-
*/
|
|
12
6
|
this.quoteName = 'John Smith';
|
|
7
|
+
this.ctaText = undefined;
|
|
8
|
+
this.ctaUrl = undefined;
|
|
9
|
+
this.imgSrc = undefined;
|
|
10
|
+
this.imgTitle = undefined;
|
|
13
11
|
}
|
|
14
12
|
getImageTitle() {
|
|
15
|
-
return (h("div", { class: "our-leadership" },
|
|
16
|
-
h("div", { class: "line" },
|
|
17
|
-
h("div", { class: "green-line" }),
|
|
18
|
-
h("div", { class: "grey-line" })),
|
|
19
|
-
h("p", null, this.imgTitle)));
|
|
13
|
+
return (h("div", { class: "our-leadership" }, h("div", { class: "line" }, h("div", { class: "green-line" }), h("div", { class: "grey-line" })), h("p", null, this.imgTitle)));
|
|
20
14
|
}
|
|
21
15
|
render() {
|
|
22
16
|
const classMap = this.getCssClassMap();
|
|
23
|
-
return (h(Host, { class: classMap },
|
|
24
|
-
this.imgSrc ? (h("div", { class: "quote-media" },
|
|
25
|
-
this.imgSrc ? h("img", { src: this.imgSrc, alt: this.imgTitle ? this.imgTitle : 'quote Image' }) : null,
|
|
26
|
-
this.imgTitle ? this.getImageTitle() : null)) : null,
|
|
27
|
-
h("div", { class: "quote-content" },
|
|
28
|
-
this.quoteType == 'image-quote' ? h("div", { class: 'quotemarks', innerHTML: QuotationMark }) : null,
|
|
29
|
-
h("blockquote", null,
|
|
30
|
-
h("p", null,
|
|
31
|
-
h("slot", null)),
|
|
32
|
-
h("span", { class: "quote-name" }, this.quoteName ? this.quoteName : null),
|
|
33
|
-
this.ctaText && this.ctaUrl ? (h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": this.ctaUrl }, this.ctaText)) : null))));
|
|
17
|
+
return (h(Host, { class: classMap }, this.imgSrc ? (h("div", { class: "quote-media" }, this.imgSrc ? h("img", { src: this.imgSrc, alt: this.imgTitle ? this.imgTitle : 'quote Image' }) : null, this.imgTitle ? this.getImageTitle() : null)) : null, h("div", { class: "quote-content" }, this.quoteType == 'image-quote' ? h("div", { class: 'quotemarks', innerHTML: QuotationMark }) : null, h("blockquote", null, h("p", null, h("slot", null)), h("span", { class: "quote-name" }, this.quoteName ? this.quoteName : null), this.ctaText && this.ctaUrl ? (h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": this.ctaUrl }, this.ctaText)) : null))));
|
|
34
18
|
}
|
|
35
19
|
getCssClassMap() {
|
|
36
20
|
return {
|
|
@@ -39,116 +23,122 @@ export class PtcQuote {
|
|
|
39
23
|
}
|
|
40
24
|
static get is() { return "ptc-quote"; }
|
|
41
25
|
static get encapsulation() { return "shadow"; }
|
|
42
|
-
static get originalStyleUrls() {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"original": "string",
|
|
72
|
-
"resolved": "string",
|
|
73
|
-
"references": {}
|
|
74
|
-
},
|
|
75
|
-
"required": false,
|
|
76
|
-
"optional": false,
|
|
77
|
-
"docs": {
|
|
78
|
-
"tags": [],
|
|
79
|
-
"text": "Quote Name"
|
|
80
|
-
},
|
|
81
|
-
"attribute": "quote-name",
|
|
82
|
-
"reflect": false,
|
|
83
|
-
"defaultValue": "'John Smith'"
|
|
84
|
-
},
|
|
85
|
-
"ctaText": {
|
|
86
|
-
"type": "string",
|
|
87
|
-
"mutable": false,
|
|
88
|
-
"complexType": {
|
|
89
|
-
"original": "string",
|
|
90
|
-
"resolved": "string",
|
|
91
|
-
"references": {}
|
|
92
|
-
},
|
|
93
|
-
"required": false,
|
|
94
|
-
"optional": true,
|
|
95
|
-
"docs": {
|
|
96
|
-
"tags": [],
|
|
97
|
-
"text": "Button CTA Text"
|
|
98
|
-
},
|
|
99
|
-
"attribute": "cta-text",
|
|
100
|
-
"reflect": false
|
|
101
|
-
},
|
|
102
|
-
"ctaUrl": {
|
|
103
|
-
"type": "string",
|
|
104
|
-
"mutable": false,
|
|
105
|
-
"complexType": {
|
|
106
|
-
"original": "string",
|
|
107
|
-
"resolved": "string",
|
|
108
|
-
"references": {}
|
|
109
|
-
},
|
|
110
|
-
"required": false,
|
|
111
|
-
"optional": true,
|
|
112
|
-
"docs": {
|
|
113
|
-
"tags": [],
|
|
114
|
-
"text": "CTA Url"
|
|
26
|
+
static get originalStyleUrls() {
|
|
27
|
+
return {
|
|
28
|
+
"$": ["ptc-quote.scss"]
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
static get styleUrls() {
|
|
32
|
+
return {
|
|
33
|
+
"$": ["ptc-quote.css"]
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
static get properties() {
|
|
37
|
+
return {
|
|
38
|
+
"quoteType": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"mutable": true,
|
|
41
|
+
"complexType": {
|
|
42
|
+
"original": "\"image-quote\" | \"plain-quote\"",
|
|
43
|
+
"resolved": "\"image-quote\" | \"plain-quote\"",
|
|
44
|
+
"references": {}
|
|
45
|
+
},
|
|
46
|
+
"required": false,
|
|
47
|
+
"optional": false,
|
|
48
|
+
"docs": {
|
|
49
|
+
"tags": [],
|
|
50
|
+
"text": "Quote Type"
|
|
51
|
+
},
|
|
52
|
+
"attribute": "quote-type",
|
|
53
|
+
"reflect": false,
|
|
54
|
+
"defaultValue": "\"image-quote\""
|
|
115
55
|
},
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
"
|
|
125
|
-
"
|
|
56
|
+
"quoteName": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"mutable": true,
|
|
59
|
+
"complexType": {
|
|
60
|
+
"original": "string",
|
|
61
|
+
"resolved": "string",
|
|
62
|
+
"references": {}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": false,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [],
|
|
68
|
+
"text": "Quote Name"
|
|
69
|
+
},
|
|
70
|
+
"attribute": "quote-name",
|
|
71
|
+
"reflect": false,
|
|
72
|
+
"defaultValue": "'John Smith'"
|
|
126
73
|
},
|
|
127
|
-
"
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"
|
|
131
|
-
|
|
74
|
+
"ctaText": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"mutable": false,
|
|
77
|
+
"complexType": {
|
|
78
|
+
"original": "string",
|
|
79
|
+
"resolved": "string",
|
|
80
|
+
"references": {}
|
|
81
|
+
},
|
|
82
|
+
"required": false,
|
|
83
|
+
"optional": true,
|
|
84
|
+
"docs": {
|
|
85
|
+
"tags": [],
|
|
86
|
+
"text": "Button CTA Text"
|
|
87
|
+
},
|
|
88
|
+
"attribute": "cta-text",
|
|
89
|
+
"reflect": false
|
|
132
90
|
},
|
|
133
|
-
"
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"
|
|
142
|
-
"
|
|
91
|
+
"ctaUrl": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"mutable": false,
|
|
94
|
+
"complexType": {
|
|
95
|
+
"original": "string",
|
|
96
|
+
"resolved": "string",
|
|
97
|
+
"references": {}
|
|
98
|
+
},
|
|
99
|
+
"required": false,
|
|
100
|
+
"optional": true,
|
|
101
|
+
"docs": {
|
|
102
|
+
"tags": [],
|
|
103
|
+
"text": "CTA Url"
|
|
104
|
+
},
|
|
105
|
+
"attribute": "cta-url",
|
|
106
|
+
"reflect": false
|
|
143
107
|
},
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
"
|
|
148
|
-
|
|
108
|
+
"imgSrc": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"mutable": false,
|
|
111
|
+
"complexType": {
|
|
112
|
+
"original": "string",
|
|
113
|
+
"resolved": "string",
|
|
114
|
+
"references": {}
|
|
115
|
+
},
|
|
116
|
+
"required": false,
|
|
117
|
+
"optional": true,
|
|
118
|
+
"docs": {
|
|
119
|
+
"tags": [],
|
|
120
|
+
"text": "Image Src"
|
|
121
|
+
},
|
|
122
|
+
"attribute": "img-src",
|
|
123
|
+
"reflect": false
|
|
149
124
|
},
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
125
|
+
"imgTitle": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"mutable": false,
|
|
128
|
+
"complexType": {
|
|
129
|
+
"original": "string",
|
|
130
|
+
"resolved": "string",
|
|
131
|
+
"references": {}
|
|
132
|
+
},
|
|
133
|
+
"required": false,
|
|
134
|
+
"optional": true,
|
|
135
|
+
"docs": {
|
|
136
|
+
"tags": [],
|
|
137
|
+
"text": "Image Title"
|
|
138
|
+
},
|
|
139
|
+
"attribute": "img-title",
|
|
140
|
+
"reflect": false
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
}
|
|
154
144
|
}
|