@ptcwebops/ptcw-design 0.0.15 → 0.1.0
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/custom-elements/index.d.ts +12 -0
- package/dist/ptcw-design/app-globals-0f993ce5.js +3 -0
- package/dist/ptcw-design/assets/ptc-sprite.svg +67 -0
- package/dist/ptcw-design/css-shim-003e9264.js +4 -0
- package/dist/ptcw-design/dom-1b195079.js +73 -0
- package/dist/{esm → ptcw-design}/icon-asset.entry.js +2 -2
- package/dist/{cjs/index-ac192914.js → ptcw-design/index-f7043a90.js} +1311 -195
- package/dist/ptcw-design/index.esm.js +1 -0
- package/dist/{esm → ptcw-design}/list-item.entry.js +1 -1
- package/dist/{esm → ptcw-design}/lottie-player.entry.js +782 -31
- package/dist/{esm → ptcw-design}/my-component.entry.js +1 -1
- package/dist/ptcw-design/ptc-announcement.entry.js +31 -0
- package/dist/ptcw-design/ptc-button.entry.js +57 -0
- package/dist/{esm → ptcw-design}/ptc-card.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-date.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-footer.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-image.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-img.entry.js +12 -1
- package/dist/{esm → ptcw-design}/ptc-link.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-list.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-lottie.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-nav-item.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-nav.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-overlay.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-para.entry.js +2 -2
- package/dist/{esm → ptcw-design}/ptc-picture.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-spacer.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-span.entry.js +1 -1
- package/dist/ptcw-design/ptc-svg-btn.entry.js +27 -0
- package/dist/{esm → ptcw-design}/ptc-title.entry.js +1 -1
- package/dist/ptcw-design/ptcw-design.css +1030 -2
- package/dist/ptcw-design/ptcw-design.esm.js +122 -1
- package/dist/ptcw-design/shadow-css-c1ad5fdc.js +383 -0
- package/dist/types/components/icon-asset/icon-asset.d.ts +1 -1
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +27 -0
- package/dist/types/components/ptc-button/ptc-button.d.ts +13 -1
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +4 -0
- package/dist/types/components.d.ts +94 -6
- package/package.json +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +0 -64
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/list-item.cjs.entry.js +0 -27
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/lottie-player.cjs.entry.js +0 -13476
- package/dist/cjs/my-component.cjs.entry.js +0 -26
- package/dist/cjs/ptc-button.cjs.entry.js +0 -48
- package/dist/cjs/ptc-card.cjs.entry.js +0 -75
- package/dist/cjs/ptc-date.cjs.entry.js +0 -48
- package/dist/cjs/ptc-footer.cjs.entry.js +0 -19
- package/dist/cjs/ptc-image.cjs.entry.js +0 -58
- package/dist/cjs/ptc-img.cjs.entry.js +0 -163
- package/dist/cjs/ptc-link.cjs.entry.js +0 -53
- package/dist/cjs/ptc-list.cjs.entry.js +0 -32
- package/dist/cjs/ptc-lottie.cjs.entry.js +0 -23
- package/dist/cjs/ptc-nav-item.cjs.entry.js +0 -94
- package/dist/cjs/ptc-nav.cjs.entry.js +0 -19
- package/dist/cjs/ptc-overlay.cjs.entry.js +0 -19
- package/dist/cjs/ptc-para.cjs.entry.js +0 -40
- package/dist/cjs/ptc-picture.cjs.entry.js +0 -26
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -46
- package/dist/cjs/ptc-span.cjs.entry.js +0 -31
- package/dist/cjs/ptc-title.cjs.entry.js +0 -49
- package/dist/cjs/ptcw-design.cjs.js +0 -19
- package/dist/collection/assets/responsive-background-image.min.js +0 -1
- package/dist/collection/collection-manifest.json +0 -38
- package/dist/collection/components/icon-asset/assets/brands.svg +0 -1381
- package/dist/collection/components/icon-asset/assets/footer-social.svg +0 -0
- package/dist/collection/components/icon-asset/assets/ptc-sprite.svg +0 -77
- package/dist/collection/components/icon-asset/assets/regular.svg +0 -463
- package/dist/collection/components/icon-asset/assets/solid.svg +0 -3013
- package/dist/collection/components/icon-asset/assets/svg-with-js.min.css +0 -5
- package/dist/collection/components/icon-asset/icon-asset.css +0 -26
- package/dist/collection/components/icon-asset/icon-asset.js +0 -177
- package/dist/collection/components/list-item/list-item.css +0 -3
- package/dist/collection/components/list-item/list-item.js +0 -63
- package/dist/collection/components/my-component/my-component.css +0 -3
- package/dist/collection/components/my-component/my-component.js +0 -74
- package/dist/collection/components/ptc-button/ptc-button.css +0 -76
- package/dist/collection/components/ptc-button/ptc-button.js +0 -153
- package/dist/collection/components/ptc-card/ptc-card.css +0 -239
- package/dist/collection/components/ptc-card/ptc-card.js +0 -260
- package/dist/collection/components/ptc-date/ptc-date.css +0 -3
- package/dist/collection/components/ptc-date/ptc-date.js +0 -155
- package/dist/collection/components/ptc-footer/ptc-footer.css +0 -40
- package/dist/collection/components/ptc-footer/ptc-footer.js +0 -25
- package/dist/collection/components/ptc-image/ptc-image.css +0 -4
- package/dist/collection/components/ptc-image/ptc-image.js +0 -92
- package/dist/collection/components/ptc-img/ptc-img.css +0 -65
- package/dist/collection/components/ptc-img/ptc-img.js +0 -318
- package/dist/collection/components/ptc-link/ptc-link.css +0 -168
- package/dist/collection/components/ptc-link/ptc-link.js +0 -197
- package/dist/collection/components/ptc-list/ptc-list.css +0 -24
- package/dist/collection/components/ptc-list/ptc-list.js +0 -66
- package/dist/collection/components/ptc-lottie/ptc-lottie.css +0 -5
- package/dist/collection/components/ptc-lottie/ptc-lottie.js +0 -58
- 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/collection/components/ptc-overlay/ptc-overlay.css +0 -3
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +0 -14
- package/dist/collection/components/ptc-para/ptc-para.css +0 -57
- package/dist/collection/components/ptc-para/ptc-para.js +0 -111
- package/dist/collection/components/ptc-picture/ptc-picture.css +0 -3
- package/dist/collection/components/ptc-picture/ptc-picture.js +0 -44
- package/dist/collection/components/ptc-spacer/ptc-spacer.css +0 -307
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +0 -99
- package/dist/collection/components/ptc-span/ptc-span.css +0 -36
- package/dist/collection/components/ptc-span/ptc-span.js +0 -86
- package/dist/collection/components/ptc-title/ptc-title.css +0 -64
- package/dist/collection/components/ptc-title/ptc-title.js +0 -105
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/interfaces.js +0 -6
- package/dist/collection/utils/utils.js +0 -3
- package/dist/custom-elements/index.js +0 -14381
- package/dist/esm/index-5b1c792c.js +0 -1687
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -17
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/ptc-button.entry.js +0 -44
- package/dist/esm/ptcw-design.js +0 -17
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/node_modules/@teamhive/lottie-player/dist/collection/components/lottie-player/lottie-player.css +0 -187
- package/dist/ptcw-design/p-00b6c442.entry.js +0 -1
- package/dist/ptcw-design/p-01dc360c.entry.js +0 -1
- package/dist/ptcw-design/p-07624831.entry.js +0 -1
- package/dist/ptcw-design/p-0a44a2f7.entry.js +0 -1
- package/dist/ptcw-design/p-1a26bade.entry.js +0 -1
- package/dist/ptcw-design/p-2d357f92.entry.js +0 -1
- package/dist/ptcw-design/p-31f4bd0c.entry.js +0 -1
- package/dist/ptcw-design/p-3af43980.entry.js +0 -1
- package/dist/ptcw-design/p-4f366fc3.js +0 -1
- package/dist/ptcw-design/p-662ae9b6.entry.js +0 -1
- package/dist/ptcw-design/p-70adca2e.entry.js +0 -1
- package/dist/ptcw-design/p-76dfa56f.entry.js +0 -1
- package/dist/ptcw-design/p-77f87fa3.entry.js +0 -1
- package/dist/ptcw-design/p-7a63ca63.entry.js +0 -1
- package/dist/ptcw-design/p-83696cae.entry.js +0 -1
- package/dist/ptcw-design/p-83d98048.entry.js +0 -1
- package/dist/ptcw-design/p-85131a2a.entry.js +0 -1
- package/dist/ptcw-design/p-ac0ad25e.entry.js +0 -1
- package/dist/ptcw-design/p-c169281f.entry.js +0 -1
- package/dist/ptcw-design/p-ce8b8a72.entry.js +0 -1
- package/dist/ptcw-design/p-d4f117d2.entry.js +0 -1
- package/dist/ptcw-design/p-fe6a3ba5.entry.js +0 -1
|
@@ -22,7 +22,7 @@ export namespace Components {
|
|
|
22
22
|
/**
|
|
23
23
|
* Icon Size
|
|
24
24
|
*/
|
|
25
|
-
"size": 'small' | 'large';
|
|
25
|
+
"size": 'small' | 'large' | 'xx-large';
|
|
26
26
|
/**
|
|
27
27
|
* Icon Spin Animation (not valid for ptc type)
|
|
28
28
|
*/
|
|
@@ -50,11 +50,29 @@ export namespace Components {
|
|
|
50
50
|
*/
|
|
51
51
|
"middle": string;
|
|
52
52
|
}
|
|
53
|
+
interface PtcAnnouncement {
|
|
54
|
+
/**
|
|
55
|
+
* Btn Link
|
|
56
|
+
*/
|
|
57
|
+
"btnLink": string;
|
|
58
|
+
/**
|
|
59
|
+
* Btn Text
|
|
60
|
+
*/
|
|
61
|
+
"btnText": string;
|
|
62
|
+
/**
|
|
63
|
+
* Temp Container We plan to remove container in the future
|
|
64
|
+
*/
|
|
65
|
+
"tempContainer": boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Mutable Visibility
|
|
68
|
+
*/
|
|
69
|
+
"visible": boolean;
|
|
70
|
+
}
|
|
53
71
|
interface PtcButton {
|
|
54
72
|
/**
|
|
55
73
|
* Button theme color
|
|
56
74
|
*/
|
|
57
|
-
"color": 'offwhite' | 'blackgrey' | 'turtlegreen' | 'neon';
|
|
75
|
+
"color": 'offwhite' | 'blackgrey' | 'turtlegreen' | 'neon' | 'legacy-green';
|
|
58
76
|
/**
|
|
59
77
|
* Disabled button
|
|
60
78
|
*/
|
|
@@ -67,6 +85,18 @@ export namespace Components {
|
|
|
67
85
|
* Icon Position
|
|
68
86
|
*/
|
|
69
87
|
"iconPosition": 'icon-left' | 'icon-right';
|
|
88
|
+
/**
|
|
89
|
+
* Link URL (Optional)
|
|
90
|
+
*/
|
|
91
|
+
"linkHref"?: string;
|
|
92
|
+
/**
|
|
93
|
+
* (optional) Link rel
|
|
94
|
+
*/
|
|
95
|
+
"rel"?: string;
|
|
96
|
+
/**
|
|
97
|
+
* (optional) Link target
|
|
98
|
+
*/
|
|
99
|
+
"target"?: string;
|
|
70
100
|
/**
|
|
71
101
|
* Button type
|
|
72
102
|
*/
|
|
@@ -284,7 +314,7 @@ export namespace Components {
|
|
|
284
314
|
/**
|
|
285
315
|
* Paragraph Style
|
|
286
316
|
*/
|
|
287
|
-
"paraStyle": 'default' | 'intro' | 'small';
|
|
317
|
+
"paraStyle": 'default' | 'intro' | 'small' | 'announcement';
|
|
288
318
|
}
|
|
289
319
|
interface PtcPicture {
|
|
290
320
|
"lazy": 'lazy' | 'eager';
|
|
@@ -314,6 +344,9 @@ export namespace Components {
|
|
|
314
344
|
*/
|
|
315
345
|
"styles"?: string;
|
|
316
346
|
}
|
|
347
|
+
interface PtcSvgBtn {
|
|
348
|
+
"svgName"?: string;
|
|
349
|
+
}
|
|
317
350
|
interface PtcTitle {
|
|
318
351
|
/**
|
|
319
352
|
* Text Align
|
|
@@ -348,6 +381,12 @@ declare global {
|
|
|
348
381
|
prototype: HTMLMyComponentElement;
|
|
349
382
|
new (): HTMLMyComponentElement;
|
|
350
383
|
};
|
|
384
|
+
interface HTMLPtcAnnouncementElement extends Components.PtcAnnouncement, HTMLStencilElement {
|
|
385
|
+
}
|
|
386
|
+
var HTMLPtcAnnouncementElement: {
|
|
387
|
+
prototype: HTMLPtcAnnouncementElement;
|
|
388
|
+
new (): HTMLPtcAnnouncementElement;
|
|
389
|
+
};
|
|
351
390
|
interface HTMLPtcButtonElement extends Components.PtcButton, HTMLStencilElement {
|
|
352
391
|
}
|
|
353
392
|
var HTMLPtcButtonElement: {
|
|
@@ -444,6 +483,12 @@ declare global {
|
|
|
444
483
|
prototype: HTMLPtcSpanElement;
|
|
445
484
|
new (): HTMLPtcSpanElement;
|
|
446
485
|
};
|
|
486
|
+
interface HTMLPtcSvgBtnElement extends Components.PtcSvgBtn, HTMLStencilElement {
|
|
487
|
+
}
|
|
488
|
+
var HTMLPtcSvgBtnElement: {
|
|
489
|
+
prototype: HTMLPtcSvgBtnElement;
|
|
490
|
+
new (): HTMLPtcSvgBtnElement;
|
|
491
|
+
};
|
|
447
492
|
interface HTMLPtcTitleElement extends Components.PtcTitle, HTMLStencilElement {
|
|
448
493
|
}
|
|
449
494
|
var HTMLPtcTitleElement: {
|
|
@@ -454,6 +499,7 @@ declare global {
|
|
|
454
499
|
"icon-asset": HTMLIconAssetElement;
|
|
455
500
|
"list-item": HTMLListItemElement;
|
|
456
501
|
"my-component": HTMLMyComponentElement;
|
|
502
|
+
"ptc-announcement": HTMLPtcAnnouncementElement;
|
|
457
503
|
"ptc-button": HTMLPtcButtonElement;
|
|
458
504
|
"ptc-card": HTMLPtcCardElement;
|
|
459
505
|
"ptc-date": HTMLPtcDateElement;
|
|
@@ -470,6 +516,7 @@ declare global {
|
|
|
470
516
|
"ptc-picture": HTMLPtcPictureElement;
|
|
471
517
|
"ptc-spacer": HTMLPtcSpacerElement;
|
|
472
518
|
"ptc-span": HTMLPtcSpanElement;
|
|
519
|
+
"ptc-svg-btn": HTMLPtcSvgBtnElement;
|
|
473
520
|
"ptc-title": HTMLPtcTitleElement;
|
|
474
521
|
}
|
|
475
522
|
}
|
|
@@ -490,7 +537,7 @@ declare namespace LocalJSX {
|
|
|
490
537
|
/**
|
|
491
538
|
* Icon Size
|
|
492
539
|
*/
|
|
493
|
-
"size"?: 'small' | 'large';
|
|
540
|
+
"size"?: 'small' | 'large' | 'xx-large';
|
|
494
541
|
/**
|
|
495
542
|
* Icon Spin Animation (not valid for ptc type)
|
|
496
543
|
*/
|
|
@@ -518,11 +565,33 @@ declare namespace LocalJSX {
|
|
|
518
565
|
*/
|
|
519
566
|
"middle"?: string;
|
|
520
567
|
}
|
|
568
|
+
interface PtcAnnouncement {
|
|
569
|
+
/**
|
|
570
|
+
* Btn Link
|
|
571
|
+
*/
|
|
572
|
+
"btnLink"?: string;
|
|
573
|
+
/**
|
|
574
|
+
* Btn Text
|
|
575
|
+
*/
|
|
576
|
+
"btnText"?: string;
|
|
577
|
+
/**
|
|
578
|
+
* Close Event
|
|
579
|
+
*/
|
|
580
|
+
"onClose"?: (event: CustomEvent<any>) => void;
|
|
581
|
+
/**
|
|
582
|
+
* Temp Container We plan to remove container in the future
|
|
583
|
+
*/
|
|
584
|
+
"tempContainer"?: boolean;
|
|
585
|
+
/**
|
|
586
|
+
* Mutable Visibility
|
|
587
|
+
*/
|
|
588
|
+
"visible"?: boolean;
|
|
589
|
+
}
|
|
521
590
|
interface PtcButton {
|
|
522
591
|
/**
|
|
523
592
|
* Button theme color
|
|
524
593
|
*/
|
|
525
|
-
"color"?: 'offwhite' | 'blackgrey' | 'turtlegreen' | 'neon';
|
|
594
|
+
"color"?: 'offwhite' | 'blackgrey' | 'turtlegreen' | 'neon' | 'legacy-green';
|
|
526
595
|
/**
|
|
527
596
|
* Disabled button
|
|
528
597
|
*/
|
|
@@ -535,10 +604,22 @@ declare namespace LocalJSX {
|
|
|
535
604
|
* Icon Position
|
|
536
605
|
*/
|
|
537
606
|
"iconPosition"?: 'icon-left' | 'icon-right';
|
|
607
|
+
/**
|
|
608
|
+
* Link URL (Optional)
|
|
609
|
+
*/
|
|
610
|
+
"linkHref"?: string;
|
|
538
611
|
/**
|
|
539
612
|
* Emitted when the button has focus.
|
|
540
613
|
*/
|
|
541
614
|
"onClickEvent"?: (event: CustomEvent<void>) => void;
|
|
615
|
+
/**
|
|
616
|
+
* (optional) Link rel
|
|
617
|
+
*/
|
|
618
|
+
"rel"?: string;
|
|
619
|
+
/**
|
|
620
|
+
* (optional) Link target
|
|
621
|
+
*/
|
|
622
|
+
"target"?: string;
|
|
542
623
|
/**
|
|
543
624
|
* Button type
|
|
544
625
|
*/
|
|
@@ -760,7 +841,7 @@ declare namespace LocalJSX {
|
|
|
760
841
|
/**
|
|
761
842
|
* Paragraph Style
|
|
762
843
|
*/
|
|
763
|
-
"paraStyle"?: 'default' | 'intro' | 'small';
|
|
844
|
+
"paraStyle"?: 'default' | 'intro' | 'small' | 'announcement';
|
|
764
845
|
}
|
|
765
846
|
interface PtcPicture {
|
|
766
847
|
"lazy"?: 'lazy' | 'eager';
|
|
@@ -790,6 +871,9 @@ declare namespace LocalJSX {
|
|
|
790
871
|
*/
|
|
791
872
|
"styles"?: string;
|
|
792
873
|
}
|
|
874
|
+
interface PtcSvgBtn {
|
|
875
|
+
"svgName"?: string;
|
|
876
|
+
}
|
|
793
877
|
interface PtcTitle {
|
|
794
878
|
/**
|
|
795
879
|
* Text Align
|
|
@@ -808,6 +892,7 @@ declare namespace LocalJSX {
|
|
|
808
892
|
"icon-asset": IconAsset;
|
|
809
893
|
"list-item": ListItem;
|
|
810
894
|
"my-component": MyComponent;
|
|
895
|
+
"ptc-announcement": PtcAnnouncement;
|
|
811
896
|
"ptc-button": PtcButton;
|
|
812
897
|
"ptc-card": PtcCard;
|
|
813
898
|
"ptc-date": PtcDate;
|
|
@@ -824,6 +909,7 @@ declare namespace LocalJSX {
|
|
|
824
909
|
"ptc-picture": PtcPicture;
|
|
825
910
|
"ptc-spacer": PtcSpacer;
|
|
826
911
|
"ptc-span": PtcSpan;
|
|
912
|
+
"ptc-svg-btn": PtcSvgBtn;
|
|
827
913
|
"ptc-title": PtcTitle;
|
|
828
914
|
}
|
|
829
915
|
}
|
|
@@ -834,6 +920,7 @@ declare module "@stencil/core" {
|
|
|
834
920
|
"icon-asset": LocalJSX.IconAsset & JSXBase.HTMLAttributes<HTMLIconAssetElement>;
|
|
835
921
|
"list-item": LocalJSX.ListItem & JSXBase.HTMLAttributes<HTMLListItemElement>;
|
|
836
922
|
"my-component": LocalJSX.MyComponent & JSXBase.HTMLAttributes<HTMLMyComponentElement>;
|
|
923
|
+
"ptc-announcement": LocalJSX.PtcAnnouncement & JSXBase.HTMLAttributes<HTMLPtcAnnouncementElement>;
|
|
837
924
|
"ptc-button": LocalJSX.PtcButton & JSXBase.HTMLAttributes<HTMLPtcButtonElement>;
|
|
838
925
|
"ptc-card": LocalJSX.PtcCard & JSXBase.HTMLAttributes<HTMLPtcCardElement>;
|
|
839
926
|
"ptc-date": LocalJSX.PtcDate & JSXBase.HTMLAttributes<HTMLPtcDateElement>;
|
|
@@ -850,6 +937,7 @@ declare module "@stencil/core" {
|
|
|
850
937
|
"ptc-picture": LocalJSX.PtcPicture & JSXBase.HTMLAttributes<HTMLPtcPictureElement>;
|
|
851
938
|
"ptc-spacer": LocalJSX.PtcSpacer & JSXBase.HTMLAttributes<HTMLPtcSpacerElement>;
|
|
852
939
|
"ptc-span": LocalJSX.PtcSpan & JSXBase.HTMLAttributes<HTMLPtcSpanElement>;
|
|
940
|
+
"ptc-svg-btn": LocalJSX.PtcSvgBtn & JSXBase.HTMLAttributes<HTMLPtcSvgBtnElement>;
|
|
853
941
|
"ptc-title": LocalJSX.PtcTitle & JSXBase.HTMLAttributes<HTMLPtcTitleElement>;
|
|
854
942
|
}
|
|
855
943
|
}
|
package/package.json
CHANGED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-ac192914.js');
|
|
6
|
-
|
|
7
|
-
const iconAssetCss = "/*!\n * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */.svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg{vertical-align:-.225em}.svg-inline--fa.fa-w-1{width:.0625em}.svg-inline--fa.fa-w-2{width:.125em}.svg-inline--fa.fa-w-3{width:.1875em}.svg-inline--fa.fa-w-4{width:.25em}.svg-inline--fa.fa-w-5{width:.3125em}.svg-inline--fa.fa-w-6{width:.375em}.svg-inline--fa.fa-w-7{width:.4375em}.svg-inline--fa.fa-w-8{width:.5em}.svg-inline--fa.fa-w-9{width:.5625em}.svg-inline--fa.fa-w-10{width:.625em}.svg-inline--fa.fa-w-11{width:.6875em}.svg-inline--fa.fa-w-12{width:.75em}.svg-inline--fa.fa-w-13{width:.8125em}.svg-inline--fa.fa-w-14{width:.875em}.svg-inline--fa.fa-w-15{width:.9375em}.svg-inline--fa.fa-w-16{width:1em}.svg-inline--fa.fa-w-17{width:1.0625em}.svg-inline--fa.fa-w-18{width:1.125em}.svg-inline--fa.fa-w-19{width:1.1875em}.svg-inline--fa.fa-w-20{width:1.25em}.svg-inline--fa.fa-pull-left{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right{margin-left:.3em;width:auto}.svg-inline--fa.fa-border{height:1.5em}.svg-inline--fa.fa-li{width:2em}.svg-inline--fa.fa-fw{width:1.25em}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:#fff}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa .fa-secondary,.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fad.fa-inverse{color:#fff}icon-asset{vertical-align:middle}svg.small{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.large{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.white{fill:var(--color-white)}svg.black{fill:var(--color-black)}svg.ptc-green{fill:var(--color-primary-green)}";
|
|
8
|
-
|
|
9
|
-
const IconAsset = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
/**
|
|
13
|
-
* Icon Size
|
|
14
|
-
*/
|
|
15
|
-
this.size = 'small';
|
|
16
|
-
/**
|
|
17
|
-
* Icon Type
|
|
18
|
-
*/
|
|
19
|
-
this.type = 'regular';
|
|
20
|
-
/**
|
|
21
|
-
* Icon Spin Animation (not valid for ptc type)
|
|
22
|
-
*/
|
|
23
|
-
this.spin = '';
|
|
24
|
-
/**
|
|
25
|
-
* Icon Pulse Animation (not valid for ptc type)
|
|
26
|
-
*/
|
|
27
|
-
this.pulse = '';
|
|
28
|
-
/**
|
|
29
|
-
* Icon Color
|
|
30
|
-
*/
|
|
31
|
-
this.color = 'black';
|
|
32
|
-
this.regularSprite = index.getAssetPath('./assets/regular.svg');
|
|
33
|
-
this.solidSprite = index.getAssetPath('./assets/solid.svg');
|
|
34
|
-
this.brandSprite = index.getAssetPath('./assets/brands.svg');
|
|
35
|
-
this.ptcSprite = index.getAssetPath('./assets/ptc-sprite.svg');
|
|
36
|
-
}
|
|
37
|
-
render() {
|
|
38
|
-
const classMap = this.getCssClassMap();
|
|
39
|
-
if (this.type == 'brands') {
|
|
40
|
-
return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.brandSprite}#${this.name}` }))));
|
|
41
|
-
}
|
|
42
|
-
else if (this.type == 'solid') {
|
|
43
|
-
return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.solidSprite}#${this.name}` }))));
|
|
44
|
-
}
|
|
45
|
-
else if (this.type == 'ptc') {
|
|
46
|
-
return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.regularSprite}#${this.name}` }))));
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
getCssClassMap() {
|
|
53
|
-
return {
|
|
54
|
-
[this.size]: true,
|
|
55
|
-
[this.spin]: true,
|
|
56
|
-
[this.pulse]: true,
|
|
57
|
-
[this.color]: true,
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
static get assetsDirs() { return ["assets"]; }
|
|
61
|
-
};
|
|
62
|
-
IconAsset.style = iconAssetCss;
|
|
63
|
-
|
|
64
|
-
exports.icon_asset = IconAsset;
|
package/dist/cjs/index.cjs.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-ac192914.js');
|
|
6
|
-
|
|
7
|
-
const listItemCss = ":host{display:block}";
|
|
8
|
-
|
|
9
|
-
const ListItem = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.listType = 'para-list';
|
|
13
|
-
this.linkHref = undefined;
|
|
14
|
-
}
|
|
15
|
-
render() {
|
|
16
|
-
const classMap = this.getCssClassMap();
|
|
17
|
-
return (index.h(index.Host, { class: classMap }, index.h("li", null, this.linkHref ? (index.h("a", Object.assign({}, (this.linkHref ? { href: this.linkHref } : {})), index.h("slot", null))) : (index.h("slot", null)))));
|
|
18
|
-
}
|
|
19
|
-
getCssClassMap() {
|
|
20
|
-
return {
|
|
21
|
-
[this.listType]: true,
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
ListItem.style = listItemCss;
|
|
26
|
-
|
|
27
|
-
exports.list_item = ListItem;
|
package/dist/cjs/loader.cjs.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-ac192914.js');
|
|
6
|
-
|
|
7
|
-
/*
|
|
8
|
-
Stencil Client Patch Esm v2.6.0 | MIT Licensed | https://stenciljs.com
|
|
9
|
-
*/
|
|
10
|
-
const patchEsm = () => {
|
|
11
|
-
return index.promiseResolve();
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
const defineCustomElements = (win, options) => {
|
|
15
|
-
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
|
-
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["ptc-card.cjs",[[1,"ptc-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"hasImage":[4,"has-image"],"hasVideo":[4,"has-video"],"hasLottie":[4,"has-lottie"],"heading":[1],"cardDate":[1,"card-date"],"styles":[1]}]]],["ptc-link.cjs",[[1,"ptc-link",{"disabled":[516],"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"uppercase":[4],"fontSize":[1,"font-size"]}]]],["ptc-lottie.cjs",[[1,"ptc-lottie",{"jsonSrc":[1025,"json-src"],"speed":[1026]}]]],["list-item.cjs",[[4,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["ptc-button.cjs",[[4,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"]}]]],["ptc-footer.cjs",[[1,"ptc-footer"]]],["ptc-image.cjs",[[1,"ptc-image",{"src":[1],"alt":[1],"oldSrc":[32]}]]],["ptc-img.cjs",[[0,"ptc-img",{"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imgUrl":[1,"img-url"],"imageType":[1,"image-type"],"borderRadius":[1,"border-radius"],"loadMode":[1,"load-mode"]},[[9,"resize","WindowResize"]]]]],["ptc-list.cjs",[[0,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]]],["ptc-nav.cjs",[[1,"ptc-nav"]]],["ptc-nav-item.cjs",[[1,"ptc-nav-item",{"url":[1025],"label":[1025],"ariaExpanded":[1028,"aria-expanded"],"depth":[1538],"hasChildren":[1028,"has-children"],"parentExpanded":[1540,"parent-expanded"],"navType":[1,"nav-type"]},[[0,"handleClick","handleClick"],[9,"resize","handleResize"]]]]],["ptc-overlay.cjs",[[4,"ptc-overlay"]]],["ptc-para.cjs",[[1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraMargin":[1,"para-margin"]}]]],["ptc-picture.cjs",[[4,"ptc-picture",{"lazy":[1]}]]],["ptc-spacer.cjs",[[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}]]],["ptc-span.cjs",[[1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]]],["ptc-title.cjs",[[1,"ptc-title",{"type":[1],"textAlign":[1,"text-align"],"upperline":[1]}]]],["icon-asset.cjs",[[0,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1]}]]],["lottie-player.cjs",[[1,"lottie-player",{"mode":[1],"autoplay":[4],"background":[513],"controls":[4],"count":[2],"direction":[2],"hover":[4],"loop":[516],"renderer":[1],"speed":[2],"src":[1],"currentState":[1,"current-state"],"seeker":[8],"intermission":[2],"play":[64],"pause":[64],"stop":[64],"seek":[64],"getLottie":[64],"setSpeed":[64],"setDirection":[64],"setLooping":[64],"togglePlay":[64],"toggleLooping":[64]}]]],["ptc-date.cjs",[[1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateStyles":[1,"date-styles"]}]]]], options);
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
exports.defineCustomElements = defineCustomElements;
|