@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
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
|
|
3
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
4
|
-
*/
|
|
5
|
-
.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}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
|
|
3
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
4
|
-
*/
|
|
5
|
-
.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}
|
|
6
|
-
icon-asset {
|
|
7
|
-
vertical-align: middle;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
svg.small {
|
|
11
|
-
width: var(--ptc-font-size-x-small);
|
|
12
|
-
height: var(--ptc-font-size-x-small);
|
|
13
|
-
}
|
|
14
|
-
svg.large {
|
|
15
|
-
width: var(--ptc-font-size-large);
|
|
16
|
-
height: var(--ptc-font-size-large);
|
|
17
|
-
}
|
|
18
|
-
svg.white {
|
|
19
|
-
fill: var(--color-white);
|
|
20
|
-
}
|
|
21
|
-
svg.black {
|
|
22
|
-
fill: var(--color-black);
|
|
23
|
-
}
|
|
24
|
-
svg.ptc-green {
|
|
25
|
-
fill: var(--color-primary-green);
|
|
26
|
-
}
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import { Component, getAssetPath, h, Prop, Host } from '@stencil/core';
|
|
2
|
-
export class IconAsset {
|
|
3
|
-
constructor() {
|
|
4
|
-
/**
|
|
5
|
-
* Icon Size
|
|
6
|
-
*/
|
|
7
|
-
this.size = 'small';
|
|
8
|
-
/**
|
|
9
|
-
* Icon Type
|
|
10
|
-
*/
|
|
11
|
-
this.type = 'regular';
|
|
12
|
-
/**
|
|
13
|
-
* Icon Spin Animation (not valid for ptc type)
|
|
14
|
-
*/
|
|
15
|
-
this.spin = '';
|
|
16
|
-
/**
|
|
17
|
-
* Icon Pulse Animation (not valid for ptc type)
|
|
18
|
-
*/
|
|
19
|
-
this.pulse = '';
|
|
20
|
-
/**
|
|
21
|
-
* Icon Color
|
|
22
|
-
*/
|
|
23
|
-
this.color = 'black';
|
|
24
|
-
this.regularSprite = getAssetPath('./assets/regular.svg');
|
|
25
|
-
this.solidSprite = getAssetPath('./assets/solid.svg');
|
|
26
|
-
this.brandSprite = getAssetPath('./assets/brands.svg');
|
|
27
|
-
this.ptcSprite = getAssetPath('./assets/ptc-sprite.svg');
|
|
28
|
-
}
|
|
29
|
-
render() {
|
|
30
|
-
const classMap = this.getCssClassMap();
|
|
31
|
-
if (this.type == 'brands') {
|
|
32
|
-
return (h(Host, null,
|
|
33
|
-
h("svg", { class: classMap },
|
|
34
|
-
h("use", { href: `${this.brandSprite}#${this.name}` }))));
|
|
35
|
-
}
|
|
36
|
-
else if (this.type == 'solid') {
|
|
37
|
-
return (h(Host, null,
|
|
38
|
-
h("svg", { class: classMap },
|
|
39
|
-
h("use", { href: `${this.solidSprite}#${this.name}` }))));
|
|
40
|
-
}
|
|
41
|
-
else if (this.type == 'ptc') {
|
|
42
|
-
return (h(Host, null,
|
|
43
|
-
h("svg", { class: classMap },
|
|
44
|
-
h("use", { href: `${this.ptcSprite}#${this.name}` }))));
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
return (h(Host, null,
|
|
48
|
-
h("svg", { class: classMap },
|
|
49
|
-
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 is() { return "icon-asset"; }
|
|
61
|
-
static get originalStyleUrls() { return {
|
|
62
|
-
"$": ["icon-asset.scss"]
|
|
63
|
-
}; }
|
|
64
|
-
static get styleUrls() { return {
|
|
65
|
-
"$": ["icon-asset.css"]
|
|
66
|
-
}; }
|
|
67
|
-
static get assetsDirs() { return ["assets"]; }
|
|
68
|
-
static get properties() { return {
|
|
69
|
-
"name": {
|
|
70
|
-
"type": "string",
|
|
71
|
-
"mutable": false,
|
|
72
|
-
"complexType": {
|
|
73
|
-
"original": "string",
|
|
74
|
-
"resolved": "string",
|
|
75
|
-
"references": {}
|
|
76
|
-
},
|
|
77
|
-
"required": false,
|
|
78
|
-
"optional": false,
|
|
79
|
-
"docs": {
|
|
80
|
-
"tags": [],
|
|
81
|
-
"text": "Icon ID name"
|
|
82
|
-
},
|
|
83
|
-
"attribute": "name",
|
|
84
|
-
"reflect": false
|
|
85
|
-
},
|
|
86
|
-
"size": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"mutable": false,
|
|
89
|
-
"complexType": {
|
|
90
|
-
"original": "'small' | 'large'",
|
|
91
|
-
"resolved": "\"large\" | \"small\"",
|
|
92
|
-
"references": {}
|
|
93
|
-
},
|
|
94
|
-
"required": false,
|
|
95
|
-
"optional": false,
|
|
96
|
-
"docs": {
|
|
97
|
-
"tags": [],
|
|
98
|
-
"text": "Icon Size"
|
|
99
|
-
},
|
|
100
|
-
"attribute": "size",
|
|
101
|
-
"reflect": false,
|
|
102
|
-
"defaultValue": "'small'"
|
|
103
|
-
},
|
|
104
|
-
"type": {
|
|
105
|
-
"type": "string",
|
|
106
|
-
"mutable": false,
|
|
107
|
-
"complexType": {
|
|
108
|
-
"original": "'solid' | 'brands' | 'ptc' | 'regular'",
|
|
109
|
-
"resolved": "\"brands\" | \"ptc\" | \"regular\" | \"solid\"",
|
|
110
|
-
"references": {}
|
|
111
|
-
},
|
|
112
|
-
"required": false,
|
|
113
|
-
"optional": false,
|
|
114
|
-
"docs": {
|
|
115
|
-
"tags": [],
|
|
116
|
-
"text": "Icon Type"
|
|
117
|
-
},
|
|
118
|
-
"attribute": "type",
|
|
119
|
-
"reflect": false,
|
|
120
|
-
"defaultValue": "'regular'"
|
|
121
|
-
},
|
|
122
|
-
"spin": {
|
|
123
|
-
"type": "string",
|
|
124
|
-
"mutable": false,
|
|
125
|
-
"complexType": {
|
|
126
|
-
"original": "'fa-spin' | ''",
|
|
127
|
-
"resolved": "\"\" | \"fa-spin\"",
|
|
128
|
-
"references": {}
|
|
129
|
-
},
|
|
130
|
-
"required": false,
|
|
131
|
-
"optional": false,
|
|
132
|
-
"docs": {
|
|
133
|
-
"tags": [],
|
|
134
|
-
"text": "Icon Spin Animation (not valid for ptc type)"
|
|
135
|
-
},
|
|
136
|
-
"attribute": "spin",
|
|
137
|
-
"reflect": false,
|
|
138
|
-
"defaultValue": "''"
|
|
139
|
-
},
|
|
140
|
-
"pulse": {
|
|
141
|
-
"type": "string",
|
|
142
|
-
"mutable": false,
|
|
143
|
-
"complexType": {
|
|
144
|
-
"original": "'fa-pulse' | ''",
|
|
145
|
-
"resolved": "\"\" | \"fa-pulse\"",
|
|
146
|
-
"references": {}
|
|
147
|
-
},
|
|
148
|
-
"required": false,
|
|
149
|
-
"optional": false,
|
|
150
|
-
"docs": {
|
|
151
|
-
"tags": [],
|
|
152
|
-
"text": "Icon Pulse Animation (not valid for ptc type)"
|
|
153
|
-
},
|
|
154
|
-
"attribute": "pulse",
|
|
155
|
-
"reflect": false,
|
|
156
|
-
"defaultValue": "''"
|
|
157
|
-
},
|
|
158
|
-
"color": {
|
|
159
|
-
"type": "string",
|
|
160
|
-
"mutable": false,
|
|
161
|
-
"complexType": {
|
|
162
|
-
"original": "'black' | 'white' | 'ptc-green'",
|
|
163
|
-
"resolved": "\"black\" | \"ptc-green\" | \"white\"",
|
|
164
|
-
"references": {}
|
|
165
|
-
},
|
|
166
|
-
"required": false,
|
|
167
|
-
"optional": false,
|
|
168
|
-
"docs": {
|
|
169
|
-
"tags": [],
|
|
170
|
-
"text": "Icon Color"
|
|
171
|
-
},
|
|
172
|
-
"attribute": "color",
|
|
173
|
-
"reflect": false,
|
|
174
|
-
"defaultValue": "'black'"
|
|
175
|
-
}
|
|
176
|
-
}; }
|
|
177
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Component, Host, h, Prop } from '@stencil/core';
|
|
2
|
-
export class ListItem {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.listType = 'para-list';
|
|
5
|
-
this.linkHref = undefined;
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
const classMap = this.getCssClassMap();
|
|
9
|
-
return (h(Host, { class: classMap },
|
|
10
|
-
h("li", null, this.linkHref ? (h("a", Object.assign({}, (this.linkHref ? { href: this.linkHref } : {})),
|
|
11
|
-
h("slot", null))) : (h("slot", null)))));
|
|
12
|
-
}
|
|
13
|
-
getCssClassMap() {
|
|
14
|
-
return {
|
|
15
|
-
[this.listType]: true,
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
static get is() { return "list-item"; }
|
|
19
|
-
static get originalStyleUrls() { return {
|
|
20
|
-
"$": ["list-item.scss"]
|
|
21
|
-
}; }
|
|
22
|
-
static get styleUrls() { return {
|
|
23
|
-
"$": ["list-item.css"]
|
|
24
|
-
}; }
|
|
25
|
-
static get properties() { return {
|
|
26
|
-
"listType": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"mutable": false,
|
|
29
|
-
"complexType": {
|
|
30
|
-
"original": "'link-primary' | 'link-sub' | 'icon' | 'para-list'",
|
|
31
|
-
"resolved": "\"icon\" | \"link-primary\" | \"link-sub\" | \"para-list\"",
|
|
32
|
-
"references": {}
|
|
33
|
-
},
|
|
34
|
-
"required": false,
|
|
35
|
-
"optional": false,
|
|
36
|
-
"docs": {
|
|
37
|
-
"tags": [],
|
|
38
|
-
"text": ""
|
|
39
|
-
},
|
|
40
|
-
"attribute": "list-type",
|
|
41
|
-
"reflect": false,
|
|
42
|
-
"defaultValue": "'para-list'"
|
|
43
|
-
},
|
|
44
|
-
"linkHref": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"mutable": false,
|
|
47
|
-
"complexType": {
|
|
48
|
-
"original": "string",
|
|
49
|
-
"resolved": "string",
|
|
50
|
-
"references": {}
|
|
51
|
-
},
|
|
52
|
-
"required": false,
|
|
53
|
-
"optional": true,
|
|
54
|
-
"docs": {
|
|
55
|
-
"tags": [],
|
|
56
|
-
"text": ""
|
|
57
|
-
},
|
|
58
|
-
"attribute": "link-href",
|
|
59
|
-
"reflect": false,
|
|
60
|
-
"defaultValue": "undefined"
|
|
61
|
-
}
|
|
62
|
-
}; }
|
|
63
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { Component, Prop, h } from '@stencil/core';
|
|
2
|
-
import { format } from '../../utils/utils';
|
|
3
|
-
export class MyComponent {
|
|
4
|
-
getText() {
|
|
5
|
-
return format(this.first, this.middle, this.last);
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return h("div", null,
|
|
9
|
-
h("h4", null,
|
|
10
|
-
"Hello, World! I'm ",
|
|
11
|
-
this.getText()));
|
|
12
|
-
}
|
|
13
|
-
static get is() { return "my-component"; }
|
|
14
|
-
static get encapsulation() { return "shadow"; }
|
|
15
|
-
static get originalStyleUrls() { return {
|
|
16
|
-
"$": ["my-component.css"]
|
|
17
|
-
}; }
|
|
18
|
-
static get styleUrls() { return {
|
|
19
|
-
"$": ["my-component.css"]
|
|
20
|
-
}; }
|
|
21
|
-
static get properties() { return {
|
|
22
|
-
"first": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"mutable": false,
|
|
25
|
-
"complexType": {
|
|
26
|
-
"original": "string",
|
|
27
|
-
"resolved": "string",
|
|
28
|
-
"references": {}
|
|
29
|
-
},
|
|
30
|
-
"required": false,
|
|
31
|
-
"optional": false,
|
|
32
|
-
"docs": {
|
|
33
|
-
"tags": [],
|
|
34
|
-
"text": "The first name"
|
|
35
|
-
},
|
|
36
|
-
"attribute": "first",
|
|
37
|
-
"reflect": false
|
|
38
|
-
},
|
|
39
|
-
"middle": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"mutable": false,
|
|
42
|
-
"complexType": {
|
|
43
|
-
"original": "string",
|
|
44
|
-
"resolved": "string",
|
|
45
|
-
"references": {}
|
|
46
|
-
},
|
|
47
|
-
"required": false,
|
|
48
|
-
"optional": false,
|
|
49
|
-
"docs": {
|
|
50
|
-
"tags": [],
|
|
51
|
-
"text": "The middle name"
|
|
52
|
-
},
|
|
53
|
-
"attribute": "middle",
|
|
54
|
-
"reflect": false
|
|
55
|
-
},
|
|
56
|
-
"last": {
|
|
57
|
-
"type": "string",
|
|
58
|
-
"mutable": false,
|
|
59
|
-
"complexType": {
|
|
60
|
-
"original": "string",
|
|
61
|
-
"resolved": "string",
|
|
62
|
-
"references": {}
|
|
63
|
-
},
|
|
64
|
-
"required": false,
|
|
65
|
-
"optional": false,
|
|
66
|
-
"docs": {
|
|
67
|
-
"tags": [],
|
|
68
|
-
"text": "The last name"
|
|
69
|
-
},
|
|
70
|
-
"attribute": "last",
|
|
71
|
-
"reflect": false
|
|
72
|
-
}
|
|
73
|
-
}; }
|
|
74
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
button:disabled {
|
|
2
|
-
pointer-events: none;
|
|
3
|
-
opacity: 0.6;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
button {
|
|
7
|
-
background-color: var(--color-primary-uigrey);
|
|
8
|
-
display: inline-block;
|
|
9
|
-
border-style: solid;
|
|
10
|
-
border-width: 1px;
|
|
11
|
-
white-space: normal;
|
|
12
|
-
position: relative;
|
|
13
|
-
text-decoration: none;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
padding: 9.4px 17.5px;
|
|
16
|
-
border-radius: 3px;
|
|
17
|
-
}
|
|
18
|
-
button.animation-right svg, button.animation-down svg {
|
|
19
|
-
transition: all ease-out 0.25s;
|
|
20
|
-
position: relative;
|
|
21
|
-
}
|
|
22
|
-
button:hover.animation-right svg {
|
|
23
|
-
transform: translateX(var(--ptc-element-spacing-02));
|
|
24
|
-
}
|
|
25
|
-
button:hover.animation-down svg {
|
|
26
|
-
transform: translateY(var(--ptc-element-spacing-02));
|
|
27
|
-
}
|
|
28
|
-
button span {
|
|
29
|
-
font-size: var(--ptc-font-size-small);
|
|
30
|
-
font-weight: bold;
|
|
31
|
-
line-height: 0.86;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.icon-left svg {
|
|
35
|
-
margin-right: var(--ptc-element-spacing-01);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.icon-right svg {
|
|
39
|
-
margin-left: var(--ptc-element-spacing-01);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.blackgrey {
|
|
43
|
-
box-shadow: var(--ptc-shadow-x-small);
|
|
44
|
-
border: solid 1px var(--color-primary-uigrey);
|
|
45
|
-
background-image: linear-gradient(285deg, var(--color-primary-uigrey) 155%, #6e717c 62%);
|
|
46
|
-
}
|
|
47
|
-
.blackgrey:hover {
|
|
48
|
-
box-shadow: var(--ptc-shadow-x-large);
|
|
49
|
-
}
|
|
50
|
-
.blackgrey span {
|
|
51
|
-
color: var(--color-white);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.turtlegreen {
|
|
55
|
-
box-shadow: var(--ptc-shadow-x-small);
|
|
56
|
-
border: solid 1px #5bb73b;
|
|
57
|
-
background-image: linear-gradient(285deg, #5bb73b 155%, #178642 62%);
|
|
58
|
-
}
|
|
59
|
-
.turtlegreen:hover {
|
|
60
|
-
box-shadow: var(--ptc-shadow-x-large);
|
|
61
|
-
}
|
|
62
|
-
.turtlegreen span {
|
|
63
|
-
color: var(--color-white);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.offwhite {
|
|
67
|
-
box-shadow: var(--ptc-shadow-x-small);
|
|
68
|
-
border: solid 1px var(--color-primary-uigrey);
|
|
69
|
-
background-image: linear-gradient(to right, #ffffff, #d3d3d3, #e5e5e5);
|
|
70
|
-
}
|
|
71
|
-
.offwhite:hover {
|
|
72
|
-
box-shadow: var(--ptc-shadow-x-large);
|
|
73
|
-
}
|
|
74
|
-
.offwhite span {
|
|
75
|
-
color: var(--color-primary-uigrey);
|
|
76
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { Component, Prop, h, Event, Host } from '@stencil/core';
|
|
2
|
-
export class PtcButton {
|
|
3
|
-
constructor() {
|
|
4
|
-
/**
|
|
5
|
-
* Button type
|
|
6
|
-
*/
|
|
7
|
-
this.type = 'button';
|
|
8
|
-
/**
|
|
9
|
-
* Button theme color
|
|
10
|
-
*/
|
|
11
|
-
this.color = 'blackgrey';
|
|
12
|
-
/**
|
|
13
|
-
* Icon Animation
|
|
14
|
-
*/
|
|
15
|
-
this.iconAnimation = '';
|
|
16
|
-
/**
|
|
17
|
-
* Icon Position
|
|
18
|
-
*/
|
|
19
|
-
this.iconPosition = 'icon-right';
|
|
20
|
-
}
|
|
21
|
-
clickEventHandler() {
|
|
22
|
-
this.clickEvent.emit();
|
|
23
|
-
console.log('click!');
|
|
24
|
-
}
|
|
25
|
-
render() {
|
|
26
|
-
const classMap = this.getCssClassMap();
|
|
27
|
-
return (h(Host, null,
|
|
28
|
-
h("button", { type: this.type, class: classMap, disabled: this.disabled, onClick: this.clickEventHandler.bind(this) },
|
|
29
|
-
h("span", null,
|
|
30
|
-
h("slot", null)))));
|
|
31
|
-
}
|
|
32
|
-
getCssClassMap() {
|
|
33
|
-
return {
|
|
34
|
-
[this.color]: true,
|
|
35
|
-
[this.iconAnimation]: true,
|
|
36
|
-
[this.iconPosition]: true,
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
static get is() { return "ptc-button"; }
|
|
40
|
-
static get originalStyleUrls() { return {
|
|
41
|
-
"$": ["ptc-button.scss"]
|
|
42
|
-
}; }
|
|
43
|
-
static get styleUrls() { return {
|
|
44
|
-
"$": ["ptc-button.css"]
|
|
45
|
-
}; }
|
|
46
|
-
static get properties() { return {
|
|
47
|
-
"disabled": {
|
|
48
|
-
"type": "boolean",
|
|
49
|
-
"mutable": false,
|
|
50
|
-
"complexType": {
|
|
51
|
-
"original": "boolean | undefined",
|
|
52
|
-
"resolved": "boolean",
|
|
53
|
-
"references": {}
|
|
54
|
-
},
|
|
55
|
-
"required": false,
|
|
56
|
-
"optional": true,
|
|
57
|
-
"docs": {
|
|
58
|
-
"tags": [],
|
|
59
|
-
"text": "Disabled button"
|
|
60
|
-
},
|
|
61
|
-
"attribute": "disabled",
|
|
62
|
-
"reflect": true
|
|
63
|
-
},
|
|
64
|
-
"type": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"mutable": false,
|
|
67
|
-
"complexType": {
|
|
68
|
-
"original": "'button' | 'reset' | 'submit' | 'link'",
|
|
69
|
-
"resolved": "\"button\" | \"link\" | \"reset\" | \"submit\"",
|
|
70
|
-
"references": {}
|
|
71
|
-
},
|
|
72
|
-
"required": false,
|
|
73
|
-
"optional": false,
|
|
74
|
-
"docs": {
|
|
75
|
-
"tags": [],
|
|
76
|
-
"text": "Button type"
|
|
77
|
-
},
|
|
78
|
-
"attribute": "type",
|
|
79
|
-
"reflect": false,
|
|
80
|
-
"defaultValue": "'button'"
|
|
81
|
-
},
|
|
82
|
-
"color": {
|
|
83
|
-
"type": "string",
|
|
84
|
-
"mutable": false,
|
|
85
|
-
"complexType": {
|
|
86
|
-
"original": "'offwhite' | 'blackgrey' | 'turtlegreen' | 'neon'",
|
|
87
|
-
"resolved": "\"blackgrey\" | \"neon\" | \"offwhite\" | \"turtlegreen\"",
|
|
88
|
-
"references": {}
|
|
89
|
-
},
|
|
90
|
-
"required": false,
|
|
91
|
-
"optional": false,
|
|
92
|
-
"docs": {
|
|
93
|
-
"tags": [],
|
|
94
|
-
"text": "Button theme color"
|
|
95
|
-
},
|
|
96
|
-
"attribute": "color",
|
|
97
|
-
"reflect": false,
|
|
98
|
-
"defaultValue": "'blackgrey'"
|
|
99
|
-
},
|
|
100
|
-
"iconAnimation": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"mutable": false,
|
|
103
|
-
"complexType": {
|
|
104
|
-
"original": "'animation-right' | 'animation-down' | ''",
|
|
105
|
-
"resolved": "\"\" | \"animation-down\" | \"animation-right\"",
|
|
106
|
-
"references": {}
|
|
107
|
-
},
|
|
108
|
-
"required": false,
|
|
109
|
-
"optional": false,
|
|
110
|
-
"docs": {
|
|
111
|
-
"tags": [],
|
|
112
|
-
"text": "Icon Animation"
|
|
113
|
-
},
|
|
114
|
-
"attribute": "icon-animation",
|
|
115
|
-
"reflect": false,
|
|
116
|
-
"defaultValue": "''"
|
|
117
|
-
},
|
|
118
|
-
"iconPosition": {
|
|
119
|
-
"type": "string",
|
|
120
|
-
"mutable": false,
|
|
121
|
-
"complexType": {
|
|
122
|
-
"original": "'icon-left' | 'icon-right'",
|
|
123
|
-
"resolved": "\"icon-left\" | \"icon-right\"",
|
|
124
|
-
"references": {}
|
|
125
|
-
},
|
|
126
|
-
"required": false,
|
|
127
|
-
"optional": false,
|
|
128
|
-
"docs": {
|
|
129
|
-
"tags": [],
|
|
130
|
-
"text": "Icon Position"
|
|
131
|
-
},
|
|
132
|
-
"attribute": "icon-position",
|
|
133
|
-
"reflect": false,
|
|
134
|
-
"defaultValue": "'icon-right'"
|
|
135
|
-
}
|
|
136
|
-
}; }
|
|
137
|
-
static get events() { return [{
|
|
138
|
-
"method": "clickEvent",
|
|
139
|
-
"name": "clickEvent",
|
|
140
|
-
"bubbles": true,
|
|
141
|
-
"cancelable": true,
|
|
142
|
-
"composed": true,
|
|
143
|
-
"docs": {
|
|
144
|
-
"tags": [],
|
|
145
|
-
"text": "Emitted when the button has focus."
|
|
146
|
-
},
|
|
147
|
-
"complexType": {
|
|
148
|
-
"original": "void",
|
|
149
|
-
"resolved": "void",
|
|
150
|
-
"references": {}
|
|
151
|
-
}
|
|
152
|
-
}]; }
|
|
153
|
-
}
|