@ppg_pl/pallete 0.0.2 → 0.0.4

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.
Files changed (98) hide show
  1. package/README.md +11 -0
  2. package/dist/pallete/app-globals-0f993ce5.js +3 -0
  3. package/dist/pallete/css-shim-60f618b9.js +4 -0
  4. package/dist/pallete/dom-4eeb3fee.js +73 -0
  5. package/dist/pallete/index-1ac7471e.js +3059 -0
  6. package/dist/pallete/index.esm.js +1 -0
  7. package/dist/pallete/my-backdrop.entry.js +15 -0
  8. package/dist/pallete/my-colorbox.entry.js +40 -0
  9. package/dist/{components/my-colorinfo2.js → pallete/my-colorinfo.entry.js} +7 -35
  10. package/dist/{components/my-component.js → pallete/my-component.entry.js} +10 -72
  11. package/dist/pallete/my-loader.entry.js +15 -0
  12. package/dist/{components/my-modal2.js → pallete/my-modal.entry.js} +84 -76
  13. package/dist/pallete/my-search.entry.js +36 -0
  14. package/dist/pallete/my-slider.entry.js +11333 -0
  15. package/dist/pallete/pallete.css +3 -1
  16. package/dist/pallete/pallete.esm.js +129 -1
  17. package/dist/pallete/shadow-css-02866686.js +387 -0
  18. package/package.json +1 -1
  19. package/www/build/app-globals-0f993ce5.js +3 -0
  20. package/www/build/css-shim-60f618b9.js +4 -0
  21. package/www/build/dom-4eeb3fee.js +73 -0
  22. package/www/build/gtmUtils-dcdac4ce.js +5 -0
  23. package/www/build/index-1ac7471e.js +3059 -0
  24. package/www/build/index.esm.js +1 -0
  25. package/www/build/my-backdrop.entry.js +15 -0
  26. package/www/build/my-colorbox.entry.js +40 -0
  27. package/www/build/my-colorinfo.entry.js +36 -0
  28. package/www/build/my-component.entry.js +154 -0
  29. package/www/build/my-loader.entry.js +15 -0
  30. package/www/build/my-modal.entry.js +2459 -0
  31. package/www/build/my-search.entry.js +36 -0
  32. package/www/build/my-slider.entry.js +11333 -0
  33. package/www/build/pallete.css +3 -1
  34. package/www/build/pallete.esm.js +129 -1
  35. package/www/build/shadow-css-02866686.js +387 -0
  36. package/www/index.html +40 -2
  37. package/dist/cjs/index-029079e0.js +0 -1365
  38. package/dist/cjs/index.cjs.js +0 -2
  39. package/dist/cjs/loader.cjs.js +0 -21
  40. package/dist/cjs/my-backdrop_8.cjs.entry.js +0 -8109
  41. package/dist/cjs/pallete.cjs.js +0 -19
  42. package/dist/collection/collection-manifest.json +0 -19
  43. package/dist/collection/components/api/index.js +0 -19
  44. package/dist/collection/components/api/services.js +0 -81
  45. package/dist/collection/components/my-backdrop/my-backdrop.css +0 -21
  46. package/dist/collection/components/my-backdrop/my-backdrop.js +0 -13
  47. package/dist/collection/components/my-colorbox/my-colorbox.css +0 -60
  48. package/dist/collection/components/my-colorbox/my-colorbox.js +0 -145
  49. package/dist/collection/components/my-colorinfo/my-colorinfo.js +0 -197
  50. package/dist/collection/components/my-component/my-component.css +0 -6
  51. package/dist/collection/components/my-component/my-component.js +0 -107
  52. package/dist/collection/components/my-loader/my-loader.css +0 -85
  53. package/dist/collection/components/my-loader/my-loader.js +0 -18
  54. package/dist/collection/components/my-modal/assets/arrow_down.png +0 -0
  55. package/dist/collection/components/my-modal/assets/close.png +0 -0
  56. package/dist/collection/components/my-modal/my-modal.css +0 -323
  57. package/dist/collection/components/my-modal/my-modal.js +0 -430
  58. package/dist/collection/components/my-search/assets/search.svg +0 -15
  59. package/dist/collection/components/my-search/my-search.css +0 -43
  60. package/dist/collection/components/my-search/my-search.js +0 -113
  61. package/dist/collection/components/my-slider/index.js +0 -145
  62. package/dist/collection/components/my-slider/my-slider.css +0 -96
  63. package/dist/collection/gtmUtils.js +0 -3
  64. package/dist/collection/index.js +0 -1
  65. package/dist/collection/types.js +0 -1
  66. package/dist/components/index.js +0 -9
  67. package/dist/components/index2.js +0 -5458
  68. package/dist/components/my-backdrop.js +0 -6
  69. package/dist/components/my-backdrop2.js +0 -29
  70. package/dist/components/my-colorbox.js +0 -6
  71. package/dist/components/my-colorbox2.js +0 -61
  72. package/dist/components/my-colorinfo.js +0 -6
  73. package/dist/components/my-loader.js +0 -6
  74. package/dist/components/my-loader2.js +0 -29
  75. package/dist/components/my-modal.js +0 -6
  76. package/dist/components/my-search.js +0 -6
  77. package/dist/components/my-search2.js +0 -55
  78. package/dist/components/my-slider.js +0 -6
  79. package/dist/esm/index-faf4241e.js +0 -1337
  80. package/dist/esm/index.js +0 -1
  81. package/dist/esm/loader.js +0 -17
  82. package/dist/esm/my-backdrop_8.entry.js +0 -8098
  83. package/dist/esm/pallete.js +0 -17
  84. package/dist/esm/polyfills/core-js.js +0 -11
  85. package/dist/esm/polyfills/css-shim.js +0 -1
  86. package/dist/esm/polyfills/dom.js +0 -79
  87. package/dist/esm/polyfills/es5-html-element.js +0 -1
  88. package/dist/esm/polyfills/index.js +0 -34
  89. package/dist/esm/polyfills/system.js +0 -6
  90. package/dist/index.cjs.js +0 -1
  91. package/dist/index.js +0 -1
  92. package/dist/pallete/p-562ae52f.js +0 -2
  93. package/dist/pallete/p-e260bfb9.entry.js +0 -1
  94. package/www/build/p-562ae52f.js +0 -2
  95. package/www/build/p-b6a676fa.css +0 -11
  96. package/www/build/p-e260bfb9.entry.js +0 -1
  97. package/www/build/p-ef55983a.js +0 -129
  98. /package/dist/{components/gtmUtils.js → pallete/gtmUtils-dcdac4ce.js} +0 -0
@@ -1,107 +0,0 @@
1
- import { Component, Prop, Method, Element, State, Listen, h } from '@stencil/core';
2
- import Helmet from '@stencil/helmet';
3
- export class MyModalBundle {
4
- constructor() {
5
- this.show = false;
6
- }
7
- async open() {
8
- this.show = true;
9
- }
10
- closeModalHandler() {
11
- this.show = false;
12
- }
13
- render() {
14
- let content = null;
15
- if (this.show) {
16
- content = [h("my-backdrop", null), h("my-modal", { shop: this.shop, product: this.product })];
17
- }
18
- return (h("div", null,
19
- h(Helmet, null,
20
- h("script", null, `(function (w, d, s, l, i) {
21
- w[l] = w[l] || [];
22
- w[l].push({ 'gtm.start': new Date().getTime(), 'event': 'gtm.js' });
23
- var f = d.getElementsByTagName(s)[0],
24
- j = d.createElement(s),
25
- dl = l != 'dataLayer' ? '&l=' + l : '';
26
- j.async = true;
27
- j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
28
- f.parentNode.insertBefore(j, f);
29
- })(window, document, 'script', 'dataLayer', 'GTM-PMTKHDX');`)),
30
- h("div", { class: "pallete-wrapper" }, content),
31
- h("noscript", null,
32
- h("iframe", { src: "https://www.googletagmanager.com/ns.html?id=GTM-PMTKHDX", height: "0", width: "0", style: { display: 'none', visibility: 'hidden' } }))));
33
- }
34
- static get is() { return "my-component"; }
35
- static get encapsulation() { return "scoped"; }
36
- static get originalStyleUrls() { return {
37
- "$": ["my-component.scss"]
38
- }; }
39
- static get styleUrls() { return {
40
- "$": ["my-component.css"]
41
- }; }
42
- static get properties() { return {
43
- "shop": {
44
- "type": "string",
45
- "mutable": false,
46
- "complexType": {
47
- "original": "string",
48
- "resolved": "string",
49
- "references": {}
50
- },
51
- "required": false,
52
- "optional": false,
53
- "docs": {
54
- "tags": [],
55
- "text": ""
56
- },
57
- "attribute": "shop",
58
- "reflect": false
59
- },
60
- "product": {
61
- "type": "string",
62
- "mutable": false,
63
- "complexType": {
64
- "original": "string",
65
- "resolved": "string",
66
- "references": {}
67
- },
68
- "required": false,
69
- "optional": false,
70
- "docs": {
71
- "tags": [],
72
- "text": ""
73
- },
74
- "attribute": "product",
75
- "reflect": false
76
- }
77
- }; }
78
- static get states() { return {
79
- "show": {}
80
- }; }
81
- static get methods() { return {
82
- "open": {
83
- "complexType": {
84
- "signature": "() => Promise<void>",
85
- "parameters": [],
86
- "references": {
87
- "Promise": {
88
- "location": "global"
89
- }
90
- },
91
- "return": "Promise<void>"
92
- },
93
- "docs": {
94
- "text": "",
95
- "tags": []
96
- }
97
- }
98
- }; }
99
- static get elementRef() { return "modalEl"; }
100
- static get listeners() { return [{
101
- "name": "close",
102
- "method": "closeModalHandler",
103
- "target": undefined,
104
- "capture": false,
105
- "passive": false
106
- }]; }
107
- }
@@ -1,85 +0,0 @@
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
- }
@@ -1,18 +0,0 @@
1
- import { Component, h } from '@stencil/core';
2
- export class MyLoader {
3
- render() {
4
- return (h("div", { class: "container" },
5
- h("div", { class: "item" }),
6
- h("div", { class: "item" }),
7
- h("div", { class: "item" }),
8
- h("div", { class: "item" }),
9
- h("div", { class: "item" })));
10
- }
11
- static get is() { return "my-loader"; }
12
- static get originalStyleUrls() { return {
13
- "$": ["my-loader.scss"]
14
- }; }
15
- static get styleUrls() { return {
16
- "$": ["my-loader.css"]
17
- }; }
18
- }
@@ -1,323 +0,0 @@
1
- html {
2
- font-size: 62.5%;
3
- }
4
-
5
- body {
6
- font-size: 1.5rem;
7
- }
8
-
9
- * {
10
- font-family: "Galatea", sans-serif;
11
- }
12
-
13
- .my-modal {
14
- box-shadow: 1px 1px 1px #ccc;
15
- background-color: #fff;
16
- position: fixed;
17
- top: 50%;
18
- left: 50%;
19
- transform: translate(-50%, -50%);
20
- max-width: 1555px;
21
- width: 90%;
22
- z-index: 1000;
23
- text-align: center;
24
- padding: 35px 40px;
25
- max-height: calc(100vh - 100px);
26
- overflow-y: auto;
27
- }
28
- @media (max-width: 1024px) {
29
- .my-modal {
30
- padding: 80px 20px 20px;
31
- }
32
- }
33
- .my-modal::-webkit-scrollbar {
34
- display: none;
35
- }
36
- .my-modal .loader {
37
- display: flex;
38
- flex-direction: column;
39
- align-items: center;
40
- justify-content: center;
41
- height: 300px;
42
- }
43
- .my-modal > img {
44
- width: 300px;
45
- object-fit: cover;
46
- }
47
- @media (max-width: 768px) {
48
- .my-modal > img {
49
- width: 200px;
50
- }
51
- }
52
- .my-modal__close {
53
- position: absolute;
54
- right: 20px;
55
- top: 20px;
56
- background: transparent;
57
- border: none;
58
- }
59
- .my-modal__close > img {
60
- width: 45px;
61
- height: 45px;
62
- object-fit: cover;
63
- cursor: pointer;
64
- }
65
- @media (max-width: 1024px) {
66
- .my-modal__close {
67
- top: 65px;
68
- }
69
- }
70
- .my-modal__see-more {
71
- font-size: 2.2rem;
72
- margin-bottom: 27px;
73
- display: flex;
74
- justify-content: center;
75
- align-items: center;
76
- }
77
- @media (max-width: 1024px) {
78
- .my-modal__see-more {
79
- font-size: 1.8rem;
80
- }
81
- }
82
- .my-modal__see-more img {
83
- width: 45px;
84
- height: 45px;
85
- }
86
- @media (max-width: 1024px) {
87
- .my-modal__see-more img {
88
- display: none;
89
- }
90
- }
91
- .my-modal__wrapper {
92
- display: flex;
93
- flex-direction: column;
94
- position: relative;
95
- }
96
- .my-modal__wrapper .boxes {
97
- display: flex;
98
- flex-direction: column;
99
- flex-wrap: wrap;
100
- }
101
- .my-modal__wrapper .boxes__list {
102
- display: flex;
103
- flex-wrap: wrap;
104
- gap: 5px 5px;
105
- }
106
- .my-modal__wrapper .boxes__box-content {
107
- width: 100%;
108
- margin-bottom: 5px;
109
- height: 500px;
110
- text-align: left;
111
- display: flex;
112
- flex-direction: row;
113
- justify-content: space-between;
114
- position: relative;
115
- }
116
- .my-modal__wrapper .boxes__box-content .closebtn {
117
- position: absolute;
118
- right: 10px;
119
- top: 10px;
120
- width: 53px;
121
- height: 53px;
122
- cursor: pointer;
123
- object-fit: cover;
124
- z-index: 9999;
125
- }
126
- @media (max-width: 1024px) {
127
- .my-modal__wrapper .boxes__box-content {
128
- flex-direction: column-reverse;
129
- height: 350px;
130
- }
131
- }
132
- .my-modal__wrapper .boxes__box-content__info {
133
- width: 40%;
134
- padding: 50px 40px;
135
- position: relative;
136
- }
137
- @media (max-width: 1024px) {
138
- .my-modal__wrapper .boxes__box-content__info {
139
- width: 100%;
140
- padding: 15px;
141
- min-height: 100px;
142
- }
143
- }
144
- .my-modal__wrapper .boxes__box-content__info h2 {
145
- font-size: 3.5rem;
146
- font-weight: normal;
147
- text-transform: capitalize;
148
- margin-bottom: 7px;
149
- color: #232323;
150
- }
151
- .my-modal__wrapper .boxes__box-content__info h4 {
152
- margin-top: 0px;
153
- margin-bottom: 15px;
154
- font-size: 1.6rem;
155
- color: #4c4c4c;
156
- }
157
- .my-modal__wrapper .boxes__box-content__info .divider {
158
- border: 1px solid #4c4c4c;
159
- opacity: 0.2;
160
- margin-bottom: 20px;
161
- }
162
- .my-modal__wrapper .boxes__box-content__info__value {
163
- display: flex;
164
- flex-direction: row;
165
- justify-content: flex-start;
166
- }
167
- @media (max-width: 1024px) {
168
- .my-modal__wrapper .boxes__box-content__info__value {
169
- justify-content: flex-start;
170
- }
171
- }
172
- .my-modal__wrapper .boxes__box-content__info__value-image img {
173
- width: 114px;
174
- object-fit: cover;
175
- }
176
- @media (max-width: 1024px) {
177
- .my-modal__wrapper .boxes__box-content__info__value-image img {
178
- width: 75px;
179
- }
180
- }
181
- .my-modal__wrapper .boxes__box-content__info__value-product {
182
- color: #232323;
183
- margin-left: 10px;
184
- }
185
- @media (max-width: 1024px) {
186
- .my-modal__wrapper .boxes__box-content__info__value-product h2 {
187
- font-size: 2.6rem;
188
- margin: 0;
189
- margin-right: 10px;
190
- }
191
- }
192
- @media (max-width: 768px) {
193
- .my-modal__wrapper .boxes__box-content__info__value-product h2 {
194
- font-size: 1.6rem;
195
- }
196
- }
197
- .my-modal__wrapper .boxes__box-content__info__value-product p {
198
- font-size: 2rem;
199
- margin-top: 0px;
200
- margin-bottom: 0px;
201
- }
202
- .my-modal__wrapper .boxes__box-content__info__value-product p:last-of-type {
203
- margin-bottom: 20px;
204
- }
205
- @media (max-width: 1024px) {
206
- .my-modal__wrapper .boxes__box-content__info__value-product p:last-of-type {
207
- margin-bottom: 0;
208
- }
209
- }
210
- @media (max-width: 768px) {
211
- .my-modal__wrapper .boxes__box-content__info__value-product p {
212
- font-size: 1rem;
213
- }
214
- }
215
- .my-modal__wrapper .boxes__box-content__info__value-product a {
216
- background-color: #fff;
217
- font-size: 1.6rem;
218
- box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
219
- border-radius: 22.5px;
220
- padding: 15px 30px;
221
- color: #232323;
222
- text-decoration: none;
223
- display: block;
224
- text-align: center;
225
- transition: all 0.7s ease-in-out;
226
- }
227
- @media (max-width: 1024px) {
228
- .my-modal__wrapper .boxes__box-content__info__value-product a {
229
- max-width: 150px;
230
- font-size: 1.3rem;
231
- padding: 12px 25px;
232
- }
233
- }
234
- .my-modal__wrapper .boxes__box-content__info__value-product a:hover {
235
- color: #fff;
236
- background-color: #232323;
237
- }
238
- .my-modal__wrapper .boxes__box-content__info__value-product a.inverse {
239
- background-color: #232323;
240
- color: #fff;
241
- }
242
- .my-modal__wrapper .boxes__box-content__info__value-product a.inverse:hover {
243
- color: #232323;
244
- background-color: #fff;
245
- }
246
- @media (max-width: 1024px) {
247
- .my-modal__wrapper .boxes__box-content__info__value-product > div {
248
- display: flex;
249
- justify-content: flex-start;
250
- align-items: center;
251
- }
252
- }
253
- .my-modal__wrapper .boxes__box-content__slider {
254
- width: 60%;
255
- position: relative;
256
- }
257
- @media (max-width: 1024px) {
258
- .my-modal__wrapper .boxes__box-content__slider {
259
- width: 100%;
260
- display: block;
261
- }
262
- }
263
- .my-modal__wrapper .boxes__box-content__white * {
264
- color: #fff;
265
- }
266
- .my-modal__wrapper .boxes__box-content__white h2 {
267
- color: #fff;
268
- }
269
- .my-modal__wrapper .pagination {
270
- margin: 10px 0px;
271
- font-size: 16px;
272
- display: flex;
273
- flex-direction: row;
274
- align-items: center;
275
- justify-content: center;
276
- }
277
- .my-modal__wrapper .pagination > span {
278
- margin: 0 3px;
279
- cursor: pointer;
280
- min-width: 20px;
281
- padding: 5px;
282
- box-shadow: 1px 1px 1px #ccc;
283
- }
284
- .my-modal__wrapper .pagination .current {
285
- background-color: wheat;
286
- }
287
- .my-modal .categories {
288
- padding-bottom: 20px;
289
- margin-bottom: 20px;
290
- border-bottom: 1px solid #dfdfdf;
291
- display: flex;
292
- flex-direction: column;
293
- align-items: flex-start;
294
- }
295
- .my-modal .categories__container {
296
- display: flex;
297
- flex-wrap: nowrap;
298
- gap: 5px 5px;
299
- overflow-x: auto;
300
- width: 100%;
301
- }
302
- @media (max-width: 1024px) {
303
- .my-modal .categories__container {
304
- padding-bottom: 5px;
305
- }
306
- }
307
- .my-modal .categories__slide-information {
308
- display: flex;
309
- flex-direction: row;
310
- align-items: center;
311
- justify-content: space-between;
312
- }
313
- .my-modal .categories__slide-information span {
314
- color: #4c4c4c;
315
- font-size: 1.6rem;
316
- font-weight: normal;
317
- }
318
- .my-modal .categories__slide-information span:first-of-type {
319
- margin-left: 7px;
320
- }
321
- .my-modal .categories__slide-information span:last-of-type {
322
- margin-right: 7px;
323
- }