@ppg_pl/pallete 0.0.4 → 0.0.6
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/index-160fcb6c.js +1661 -0
- package/dist/cjs/index-160fcb6c.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +24 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/my-backdrop_8.cjs.entry.js +7985 -0
- package/dist/cjs/my-backdrop_8.cjs.entry.js.map +1 -0
- package/dist/cjs/pallete.cjs.js +28 -0
- package/dist/cjs/pallete.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +19 -0
- package/dist/collection/components/api/index.js +20 -0
- package/dist/collection/components/api/index.js.map +1 -0
- package/dist/collection/components/api/services.js +82 -0
- package/dist/collection/components/api/services.js.map +1 -0
- package/dist/collection/components/my-backdrop/my-backdrop.css +13 -0
- package/dist/collection/components/my-backdrop/my-backdrop.js +17 -0
- package/dist/collection/components/my-backdrop/my-backdrop.js.map +1 -0
- package/dist/collection/components/my-colorbox/my-colorbox.css +52 -0
- package/dist/collection/components/my-colorbox/my-colorbox.js +157 -0
- package/dist/collection/components/my-colorbox/my-colorbox.js.map +1 -0
- package/dist/collection/components/my-colorinfo/my-colorinfo.js +187 -0
- package/dist/collection/components/my-colorinfo/my-colorinfo.js.map +1 -0
- package/dist/collection/components/my-component/my-component.css +6 -0
- package/dist/collection/components/my-component/my-component.js +133 -0
- package/dist/collection/components/my-component/my-component.js.map +1 -0
- package/dist/collection/components/my-loader/my-loader.css +85 -0
- package/dist/collection/components/my-loader/my-loader.js +19 -0
- package/dist/collection/components/my-loader/my-loader.js.map +1 -0
- package/dist/collection/components/my-modal/__mocks__/index.js +759 -0
- package/dist/collection/components/my-modal/__mocks__/index.js.map +1 -0
- package/dist/collection/components/my-modal/assets/arrow_down.png +0 -0
- package/dist/collection/components/my-modal/assets/close.png +0 -0
- package/dist/collection/components/my-modal/my-modal.css +367 -0
- package/dist/collection/components/my-modal/my-modal.js +448 -0
- package/dist/collection/components/my-modal/my-modal.js.map +1 -0
- package/dist/collection/components/my-search/assets/search.svg +15 -0
- package/dist/collection/components/my-search/my-search.css +35 -0
- package/dist/collection/components/my-search/my-search.js +125 -0
- package/dist/collection/components/my-search/my-search.js.map +1 -0
- package/dist/collection/components/my-slider/index.js +148 -0
- package/dist/collection/components/my-slider/index.js.map +1 -0
- package/dist/collection/components/my-slider/my-slider.css +88 -0
- package/dist/collection/gtmUtils.js +4 -0
- package/dist/collection/gtmUtils.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/types.js +2 -0
- package/dist/collection/types.js.map +1 -0
- package/{www/build/gtmUtils-dcdac4ce.js → dist/components/gtmUtils.js} +2 -0
- package/dist/components/gtmUtils.js.map +1 -0
- package/dist/components/index.d.ts +9 -11
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +5305 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/components/my-backdrop.js +8 -0
- package/dist/components/my-backdrop.js.map +1 -0
- package/dist/components/my-backdrop2.js +31 -0
- package/dist/components/my-backdrop2.js.map +1 -0
- package/dist/components/my-colorbox.js +8 -0
- package/dist/components/my-colorbox.js.map +1 -0
- package/dist/{pallete/my-colorbox.entry.js → components/my-colorbox2.js} +37 -8
- package/dist/components/my-colorbox2.js.map +1 -0
- package/dist/components/my-colorinfo.js +8 -0
- package/dist/components/my-colorinfo.js.map +1 -0
- package/dist/{pallete/my-colorinfo.entry.js → components/my-colorinfo2.js} +44 -10
- package/dist/components/my-colorinfo2.js.map +1 -0
- package/dist/{pallete/my-component.entry.js → components/my-component.js} +87 -11
- package/dist/components/my-component.js.map +1 -0
- package/dist/components/my-loader.js +8 -0
- package/dist/components/my-loader.js.map +1 -0
- package/{www/build/my-loader.entry.js → dist/components/my-loader2.js} +23 -7
- package/dist/components/my-loader2.js.map +1 -0
- package/dist/components/my-modal.js +8 -0
- package/dist/components/my-modal.js.map +1 -0
- package/dist/{pallete/my-modal.entry.js → components/my-modal2.js} +120 -120
- package/dist/components/my-modal2.js.map +1 -0
- package/dist/components/my-search.js +8 -0
- package/dist/components/my-search.js.map +1 -0
- package/{www/build/my-search.entry.js → dist/components/my-search2.js} +32 -9
- package/dist/components/my-search2.js.map +1 -0
- package/dist/components/my-slider.js +8 -0
- package/dist/components/my-slider.js.map +1 -0
- package/dist/esm/index-943c259f.js +1632 -0
- package/dist/esm/index-943c259f.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +20 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/my-backdrop_8.entry.js +7974 -0
- package/dist/esm/my-backdrop_8.entry.js.map +1 -0
- package/dist/esm/pallete.js +23 -0
- package/dist/esm/pallete.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/pallete/index.esm.js +1 -0
- package/dist/pallete/index.esm.js.map +1 -0
- package/dist/pallete/p-9a7eff4f.entry.js +2 -0
- package/dist/pallete/p-9a7eff4f.entry.js.map +1 -0
- package/dist/pallete/p-c77aaa54.js +3 -0
- package/dist/pallete/p-c77aaa54.js.map +1 -0
- package/dist/pallete/pallete.css +1 -3
- package/dist/pallete/pallete.esm.js +2 -129
- package/dist/pallete/pallete.esm.js.map +1 -0
- package/dist/types/components/api/services.d.ts +1 -1
- package/dist/types/components/my-component/my-component.d.ts +2 -0
- package/dist/types/components/my-modal/__mocks__/index.d.ts +415 -0
- package/dist/types/components/my-modal/my-modal.d.ts +3 -1
- package/dist/types/components.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +91 -19
- package/dist/types/types.d.ts +8 -8
- package/loader/index.d.ts +9 -0
- package/loader/package.json +1 -0
- package/package.json +21 -5
- package/www/build/index.esm.js +1 -0
- package/www/build/index.esm.js.map +1 -0
- package/www/build/p-825a7d1d.js +163 -0
- package/www/build/p-9a7eff4f.entry.js +2 -0
- package/www/build/p-9a7eff4f.entry.js.map +1 -0
- package/www/build/p-c77aaa54.js +3 -0
- package/www/build/p-c77aaa54.js.map +1 -0
- package/www/build/p-fd390eef.css +3 -0
- package/www/build/pallete.css +1 -3
- package/www/build/pallete.esm.js +2 -129
- package/www/build/pallete.esm.js.map +1 -0
- package/www/index.html +2 -40
- package/dist/pallete/app-globals-0f993ce5.js +0 -3
- package/dist/pallete/css-shim-60f618b9.js +0 -4
- package/dist/pallete/dom-4eeb3fee.js +0 -73
- package/dist/pallete/gtmUtils-dcdac4ce.js +0 -5
- package/dist/pallete/index-1ac7471e.js +0 -3059
- package/dist/pallete/my-backdrop.entry.js +0 -15
- package/dist/pallete/my-loader.entry.js +0 -15
- package/dist/pallete/my-search.entry.js +0 -36
- package/dist/pallete/my-slider.entry.js +0 -11333
- package/dist/pallete/shadow-css-02866686.js +0 -387
- package/www/build/app-globals-0f993ce5.js +0 -3
- package/www/build/css-shim-60f618b9.js +0 -4
- package/www/build/dom-4eeb3fee.js +0 -73
- package/www/build/index-1ac7471e.js +0 -3059
- package/www/build/my-backdrop.entry.js +0 -15
- package/www/build/my-colorbox.entry.js +0 -40
- package/www/build/my-colorinfo.entry.js +0 -36
- package/www/build/my-component.entry.js +0 -154
- package/www/build/my-modal.entry.js +0 -2459
- package/www/build/my-slider.entry.js +0 -11333
- package/www/build/shadow-css-02866686.js +0 -387
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import Helmet from '@stencil/helmet';
|
|
2
|
+
import { h } from '@stencil/core';
|
|
3
|
+
export class MyModalBundle {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.shop = undefined;
|
|
6
|
+
this.product = undefined;
|
|
7
|
+
this.show = false;
|
|
8
|
+
this.readyToClose = false;
|
|
9
|
+
}
|
|
10
|
+
async open() {
|
|
11
|
+
this.show = true;
|
|
12
|
+
}
|
|
13
|
+
setReadyToCloseHandler(value) {
|
|
14
|
+
this.readyToClose = value.detail.observable;
|
|
15
|
+
}
|
|
16
|
+
closeModalHandler() {
|
|
17
|
+
this.show = false;
|
|
18
|
+
this.readyToClose = false;
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
let content = null;
|
|
22
|
+
if (this.show) {
|
|
23
|
+
content = [h("my-backdrop", null), h("my-modal", { shop: this.shop, product: this.product })];
|
|
24
|
+
}
|
|
25
|
+
return (h("div", { onClick: () => {
|
|
26
|
+
if (this.readyToClose) {
|
|
27
|
+
this.closeModalHandler();
|
|
28
|
+
}
|
|
29
|
+
} }, h(Helmet, null, h("script", null, `(function (w, d, s, l, i) {
|
|
30
|
+
w[l] = w[l] || [];
|
|
31
|
+
w[l].push({ 'gtm.start': new Date().getTime(), 'event': 'gtm.js' });
|
|
32
|
+
var f = d.getElementsByTagName(s)[0],
|
|
33
|
+
j = d.createElement(s),
|
|
34
|
+
dl = l != 'dataLayer' ? '&l=' + l : '';
|
|
35
|
+
j.async = true;
|
|
36
|
+
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
|
|
37
|
+
f.parentNode.insertBefore(j, f);
|
|
38
|
+
})(window, document, 'script', 'dataLayer', 'GTM-PMTKHDX');`)), h("div", { class: "pallete-wrapper" }, content), h("noscript", null, h("iframe", { src: "https://www.googletagmanager.com/ns.html?id=GTM-PMTKHDX", height: "0", width: "0", style: { display: 'none', visibility: 'hidden' } }))));
|
|
39
|
+
}
|
|
40
|
+
static get is() { return "my-component"; }
|
|
41
|
+
static get encapsulation() { return "scoped"; }
|
|
42
|
+
static get originalStyleUrls() {
|
|
43
|
+
return {
|
|
44
|
+
"$": ["my-component.scss"]
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static get styleUrls() {
|
|
48
|
+
return {
|
|
49
|
+
"$": ["my-component.css"]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static get properties() {
|
|
53
|
+
return {
|
|
54
|
+
"shop": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"mutable": false,
|
|
57
|
+
"complexType": {
|
|
58
|
+
"original": "string",
|
|
59
|
+
"resolved": "string",
|
|
60
|
+
"references": {}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": false,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": ""
|
|
67
|
+
},
|
|
68
|
+
"attribute": "shop",
|
|
69
|
+
"reflect": false
|
|
70
|
+
},
|
|
71
|
+
"product": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"mutable": false,
|
|
74
|
+
"complexType": {
|
|
75
|
+
"original": "string",
|
|
76
|
+
"resolved": "string",
|
|
77
|
+
"references": {}
|
|
78
|
+
},
|
|
79
|
+
"required": false,
|
|
80
|
+
"optional": false,
|
|
81
|
+
"docs": {
|
|
82
|
+
"tags": [],
|
|
83
|
+
"text": ""
|
|
84
|
+
},
|
|
85
|
+
"attribute": "product",
|
|
86
|
+
"reflect": false
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
static get states() {
|
|
91
|
+
return {
|
|
92
|
+
"show": {},
|
|
93
|
+
"readyToClose": {}
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
static get methods() {
|
|
97
|
+
return {
|
|
98
|
+
"open": {
|
|
99
|
+
"complexType": {
|
|
100
|
+
"signature": "() => Promise<void>",
|
|
101
|
+
"parameters": [],
|
|
102
|
+
"references": {
|
|
103
|
+
"Promise": {
|
|
104
|
+
"location": "global"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"return": "Promise<void>"
|
|
108
|
+
},
|
|
109
|
+
"docs": {
|
|
110
|
+
"text": "",
|
|
111
|
+
"tags": []
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
static get elementRef() { return "modalEl"; }
|
|
117
|
+
static get listeners() {
|
|
118
|
+
return [{
|
|
119
|
+
"name": "readyToCLose",
|
|
120
|
+
"method": "setReadyToCloseHandler",
|
|
121
|
+
"target": undefined,
|
|
122
|
+
"capture": false,
|
|
123
|
+
"passive": false
|
|
124
|
+
}, {
|
|
125
|
+
"name": "close",
|
|
126
|
+
"method": "closeModalHandler",
|
|
127
|
+
"target": undefined,
|
|
128
|
+
"capture": false,
|
|
129
|
+
"passive": false
|
|
130
|
+
}];
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
//# sourceMappingURL=my-component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"my-component.js","sourceRoot":"","sources":["../../../src/components/my-component/my-component.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOnF,MAAM,OAAO,aAAa;;;;gBAKR,KAAK;wBACG,KAAK;;EAG7B,KAAK,CAAC,IAAI;IACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;EACnB,CAAC;EAGD,sBAAsB,CAAC,KAAkB;IACvC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;EAC9C,CAAC;EAGD,iBAAiB;IACf,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IAClB,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;EAC5B,CAAC;EAED,MAAM;IACJ,IAAI,OAAO,GAAG,IAAI,CAAC;IACnB,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,OAAO,GAAG,CAAC,sBAA2B,EAAE,gBAAU,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,GAAa,CAAC,CAAC;KACxG;IACD,OAAO,CACL,WACE,OAAO,EAAE,GAAG,EAAE;QACZ,IAAI,IAAI,CAAC,YAAY,EAAE;UACrB,IAAI,CAAC,iBAAiB,EAAE,CAAC;SAC1B;MACH,CAAC;MAED,EAAC,MAAM;QACL,kBACG;;;;;;;;;kEASqD,CAC/C,CACF;MACT,WAAK,KAAK,EAAC,iBAAiB,IAAE,OAAO,CAAO;MAC5C;QACE,cAAQ,GAAG,EAAC,yDAAyD,EAAC,MAAM,EAAC,GAAG,EAAC,KAAK,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAW,CAC7I,CACP,CACP,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import Helmet from '@stencil/helmet';\nimport { Component, Prop, Method, Element, State, Listen, h } from '@stencil/core';\n\n@Component({\n tag: 'my-component',\n styleUrl: 'my-component.scss',\n scoped: true,\n})\nexport class MyModalBundle {\n @Element() modalEl: HTMLElement;\n\n @Prop() shop: string;\n @Prop() product: string;\n @State() show = false;\n @State() readyToClose = false;\n\n @Method()\n async open() {\n this.show = true;\n }\n\n @Listen('readyToCLose')\n setReadyToCloseHandler(value: CustomEvent) {\n this.readyToClose = value.detail.observable;\n }\n\n @Listen('close')\n closeModalHandler() {\n this.show = false;\n this.readyToClose = false;\n }\n\n render() {\n let content = null;\n if (this.show) {\n content = [<my-backdrop></my-backdrop>, <my-modal shop={this.shop} product={this.product}></my-modal>];\n }\n return (\n <div\n onClick={() => {\n if (this.readyToClose) {\n this.closeModalHandler();\n }\n }}\n >\n <Helmet>\n <script>\n {`(function (w, d, s, l, i) {\n w[l] = w[l] || [];\n w[l].push({ 'gtm.start': new Date().getTime(), 'event': 'gtm.js' });\n var f = d.getElementsByTagName(s)[0],\n j = d.createElement(s),\n dl = l != 'dataLayer' ? '&l=' + l : '';\n j.async = true;\n j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;\n f.parentNode.insertBefore(j, f);\n })(window, document, 'script', 'dataLayer', 'GTM-PMTKHDX');`}\n </script>\n </Helmet>\n <div class=\"pallete-wrapper\">{content}</div>\n <noscript>\n <iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-PMTKHDX\" height=\"0\" width=\"0\" style={{ display: 'none', visibility: 'hidden' }}></iframe>\n </noscript>\n </div>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: center;
|
|
4
|
+
align-items: center;
|
|
5
|
+
height: 100px;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.item {
|
|
10
|
+
width: 20px;
|
|
11
|
+
height: 20px;
|
|
12
|
+
margin: 3px;
|
|
13
|
+
list-style-type: none;
|
|
14
|
+
transition: 0.5s all ease;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.item:nth-child(1) {
|
|
18
|
+
animation: right-1 1s infinite alternate;
|
|
19
|
+
background-color: #b8cf40;
|
|
20
|
+
animation-delay: 20ms;
|
|
21
|
+
}
|
|
22
|
+
@keyframes right-1 {
|
|
23
|
+
0% {
|
|
24
|
+
transform: translateY(-18px);
|
|
25
|
+
}
|
|
26
|
+
100% {
|
|
27
|
+
transform: translateY(18px);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.item:nth-child(2) {
|
|
32
|
+
animation: right-2 1s infinite alternate;
|
|
33
|
+
background-color: #ee4b5e;
|
|
34
|
+
animation-delay: 40ms;
|
|
35
|
+
}
|
|
36
|
+
@keyframes right-2 {
|
|
37
|
+
0% {
|
|
38
|
+
transform: translateY(-21px);
|
|
39
|
+
}
|
|
40
|
+
100% {
|
|
41
|
+
transform: translateY(21px);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.item:nth-child(3) {
|
|
46
|
+
animation: right-3 1s infinite alternate;
|
|
47
|
+
background-color: #ea0f47;
|
|
48
|
+
animation-delay: 60ms;
|
|
49
|
+
}
|
|
50
|
+
@keyframes right-3 {
|
|
51
|
+
0% {
|
|
52
|
+
transform: translateY(-24px);
|
|
53
|
+
}
|
|
54
|
+
100% {
|
|
55
|
+
transform: translateY(24px);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.item:nth-child(4) {
|
|
60
|
+
animation: right-4 1s infinite alternate;
|
|
61
|
+
background-color: #d42840;
|
|
62
|
+
animation-delay: 80ms;
|
|
63
|
+
}
|
|
64
|
+
@keyframes right-4 {
|
|
65
|
+
0% {
|
|
66
|
+
transform: translateY(-27px);
|
|
67
|
+
}
|
|
68
|
+
100% {
|
|
69
|
+
transform: translateY(27px);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.item:nth-child(5) {
|
|
74
|
+
animation: right-5 1s infinite alternate;
|
|
75
|
+
background-color: #8b2850;
|
|
76
|
+
animation-delay: 100ms;
|
|
77
|
+
}
|
|
78
|
+
@keyframes right-5 {
|
|
79
|
+
0% {
|
|
80
|
+
transform: translateY(-30px);
|
|
81
|
+
}
|
|
82
|
+
100% {
|
|
83
|
+
transform: translateY(30px);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export class MyLoader {
|
|
3
|
+
render() {
|
|
4
|
+
return (h("div", { class: "container" }, h("div", { class: "item" }), h("div", { class: "item" }), h("div", { class: "item" }), h("div", { class: "item" }), h("div", { class: "item" })));
|
|
5
|
+
}
|
|
6
|
+
static get is() { return "my-loader"; }
|
|
7
|
+
static get encapsulation() { return "scoped"; }
|
|
8
|
+
static get originalStyleUrls() {
|
|
9
|
+
return {
|
|
10
|
+
"$": ["my-loader.scss"]
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
static get styleUrls() {
|
|
14
|
+
return {
|
|
15
|
+
"$": ["my-loader.css"]
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=my-loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"my-loader.js","sourceRoot":"","sources":["../../../src/components/my-loader/my-loader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAO7C,MAAM,OAAO,QAAQ;EACnB,MAAM;IACJ,OAAO,CACL,WAAK,KAAK,EAAC,WAAW;MACpB,WAAK,KAAK,EAAC,MAAM,GAAO;MACxB,WAAK,KAAK,EAAC,MAAM,GAAO;MACxB,WAAK,KAAK,EAAC,MAAM,GAAO;MACxB,WAAK,KAAK,EAAC,MAAM,GAAO;MACxB,WAAK,KAAK,EAAC,MAAM,GAAO,CACpB,CACP,CAAC;EACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, h } from '@stencil/core';\n\n@Component({\n tag: 'my-loader',\n styleUrl: 'my-loader.scss',\n scoped: true,\n})\nexport class MyLoader {\n render() {\n return (\n <div class=\"container\">\n <div class=\"item\"></div>\n <div class=\"item\"></div>\n <div class=\"item\"></div>\n <div class=\"item\"></div>\n <div class=\"item\"></div>\n </div>\n );\n }\n}\n"]}
|