@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.
Files changed (154) hide show
  1. package/dist/cjs/index-160fcb6c.js +1661 -0
  2. package/dist/cjs/index-160fcb6c.js.map +1 -0
  3. package/dist/cjs/index.cjs.js +4 -0
  4. package/dist/cjs/index.cjs.js.map +1 -0
  5. package/dist/cjs/loader.cjs.js +24 -0
  6. package/dist/cjs/loader.cjs.js.map +1 -0
  7. package/dist/cjs/my-backdrop_8.cjs.entry.js +7985 -0
  8. package/dist/cjs/my-backdrop_8.cjs.entry.js.map +1 -0
  9. package/dist/cjs/pallete.cjs.js +28 -0
  10. package/dist/cjs/pallete.cjs.js.map +1 -0
  11. package/dist/collection/collection-manifest.json +19 -0
  12. package/dist/collection/components/api/index.js +20 -0
  13. package/dist/collection/components/api/index.js.map +1 -0
  14. package/dist/collection/components/api/services.js +82 -0
  15. package/dist/collection/components/api/services.js.map +1 -0
  16. package/dist/collection/components/my-backdrop/my-backdrop.css +13 -0
  17. package/dist/collection/components/my-backdrop/my-backdrop.js +17 -0
  18. package/dist/collection/components/my-backdrop/my-backdrop.js.map +1 -0
  19. package/dist/collection/components/my-colorbox/my-colorbox.css +52 -0
  20. package/dist/collection/components/my-colorbox/my-colorbox.js +157 -0
  21. package/dist/collection/components/my-colorbox/my-colorbox.js.map +1 -0
  22. package/dist/collection/components/my-colorinfo/my-colorinfo.js +187 -0
  23. package/dist/collection/components/my-colorinfo/my-colorinfo.js.map +1 -0
  24. package/dist/collection/components/my-component/my-component.css +6 -0
  25. package/dist/collection/components/my-component/my-component.js +133 -0
  26. package/dist/collection/components/my-component/my-component.js.map +1 -0
  27. package/dist/collection/components/my-loader/my-loader.css +85 -0
  28. package/dist/collection/components/my-loader/my-loader.js +19 -0
  29. package/dist/collection/components/my-loader/my-loader.js.map +1 -0
  30. package/dist/collection/components/my-modal/__mocks__/index.js +759 -0
  31. package/dist/collection/components/my-modal/__mocks__/index.js.map +1 -0
  32. package/dist/collection/components/my-modal/assets/arrow_down.png +0 -0
  33. package/dist/collection/components/my-modal/assets/close.png +0 -0
  34. package/dist/collection/components/my-modal/my-modal.css +367 -0
  35. package/dist/collection/components/my-modal/my-modal.js +448 -0
  36. package/dist/collection/components/my-modal/my-modal.js.map +1 -0
  37. package/dist/collection/components/my-search/assets/search.svg +15 -0
  38. package/dist/collection/components/my-search/my-search.css +35 -0
  39. package/dist/collection/components/my-search/my-search.js +125 -0
  40. package/dist/collection/components/my-search/my-search.js.map +1 -0
  41. package/dist/collection/components/my-slider/index.js +148 -0
  42. package/dist/collection/components/my-slider/index.js.map +1 -0
  43. package/dist/collection/components/my-slider/my-slider.css +88 -0
  44. package/dist/collection/gtmUtils.js +4 -0
  45. package/dist/collection/gtmUtils.js.map +1 -0
  46. package/dist/collection/index.js +2 -0
  47. package/dist/collection/index.js.map +1 -0
  48. package/dist/collection/types.js +2 -0
  49. package/dist/collection/types.js.map +1 -0
  50. package/{www/build/gtmUtils-dcdac4ce.js → dist/components/gtmUtils.js} +2 -0
  51. package/dist/components/gtmUtils.js.map +1 -0
  52. package/dist/components/index.d.ts +9 -11
  53. package/dist/components/index.js +3 -0
  54. package/dist/components/index.js.map +1 -0
  55. package/dist/components/index2.js +5305 -0
  56. package/dist/components/index2.js.map +1 -0
  57. package/dist/components/my-backdrop.js +8 -0
  58. package/dist/components/my-backdrop.js.map +1 -0
  59. package/dist/components/my-backdrop2.js +31 -0
  60. package/dist/components/my-backdrop2.js.map +1 -0
  61. package/dist/components/my-colorbox.js +8 -0
  62. package/dist/components/my-colorbox.js.map +1 -0
  63. package/dist/{pallete/my-colorbox.entry.js → components/my-colorbox2.js} +37 -8
  64. package/dist/components/my-colorbox2.js.map +1 -0
  65. package/dist/components/my-colorinfo.js +8 -0
  66. package/dist/components/my-colorinfo.js.map +1 -0
  67. package/dist/{pallete/my-colorinfo.entry.js → components/my-colorinfo2.js} +44 -10
  68. package/dist/components/my-colorinfo2.js.map +1 -0
  69. package/dist/{pallete/my-component.entry.js → components/my-component.js} +87 -11
  70. package/dist/components/my-component.js.map +1 -0
  71. package/dist/components/my-loader.js +8 -0
  72. package/dist/components/my-loader.js.map +1 -0
  73. package/{www/build/my-loader.entry.js → dist/components/my-loader2.js} +23 -7
  74. package/dist/components/my-loader2.js.map +1 -0
  75. package/dist/components/my-modal.js +8 -0
  76. package/dist/components/my-modal.js.map +1 -0
  77. package/dist/{pallete/my-modal.entry.js → components/my-modal2.js} +120 -120
  78. package/dist/components/my-modal2.js.map +1 -0
  79. package/dist/components/my-search.js +8 -0
  80. package/dist/components/my-search.js.map +1 -0
  81. package/{www/build/my-search.entry.js → dist/components/my-search2.js} +32 -9
  82. package/dist/components/my-search2.js.map +1 -0
  83. package/dist/components/my-slider.js +8 -0
  84. package/dist/components/my-slider.js.map +1 -0
  85. package/dist/esm/index-943c259f.js +1632 -0
  86. package/dist/esm/index-943c259f.js.map +1 -0
  87. package/dist/esm/index.js +3 -0
  88. package/dist/esm/index.js.map +1 -0
  89. package/dist/esm/loader.js +20 -0
  90. package/dist/esm/loader.js.map +1 -0
  91. package/dist/esm/my-backdrop_8.entry.js +7974 -0
  92. package/dist/esm/my-backdrop_8.entry.js.map +1 -0
  93. package/dist/esm/pallete.js +23 -0
  94. package/dist/esm/pallete.js.map +1 -0
  95. package/dist/esm/polyfills/core-js.js +11 -0
  96. package/dist/esm/polyfills/css-shim.js +1 -0
  97. package/dist/esm/polyfills/dom.js +79 -0
  98. package/dist/esm/polyfills/es5-html-element.js +1 -0
  99. package/dist/esm/polyfills/index.js +34 -0
  100. package/dist/esm/polyfills/system.js +6 -0
  101. package/dist/index.cjs.js +1 -0
  102. package/dist/index.js +1 -0
  103. package/dist/pallete/index.esm.js +1 -0
  104. package/dist/pallete/index.esm.js.map +1 -0
  105. package/dist/pallete/p-9a7eff4f.entry.js +2 -0
  106. package/dist/pallete/p-9a7eff4f.entry.js.map +1 -0
  107. package/dist/pallete/p-c77aaa54.js +3 -0
  108. package/dist/pallete/p-c77aaa54.js.map +1 -0
  109. package/dist/pallete/pallete.css +1 -3
  110. package/dist/pallete/pallete.esm.js +2 -129
  111. package/dist/pallete/pallete.esm.js.map +1 -0
  112. package/dist/types/components/api/services.d.ts +1 -1
  113. package/dist/types/components/my-component/my-component.d.ts +2 -0
  114. package/dist/types/components/my-modal/__mocks__/index.d.ts +415 -0
  115. package/dist/types/components/my-modal/my-modal.d.ts +3 -1
  116. package/dist/types/components.d.ts +2 -0
  117. package/dist/types/stencil-public-runtime.d.ts +91 -19
  118. package/dist/types/types.d.ts +8 -8
  119. package/loader/index.d.ts +9 -0
  120. package/loader/package.json +1 -0
  121. package/package.json +21 -5
  122. package/www/build/index.esm.js +1 -0
  123. package/www/build/index.esm.js.map +1 -0
  124. package/www/build/p-825a7d1d.js +163 -0
  125. package/www/build/p-9a7eff4f.entry.js +2 -0
  126. package/www/build/p-9a7eff4f.entry.js.map +1 -0
  127. package/www/build/p-c77aaa54.js +3 -0
  128. package/www/build/p-c77aaa54.js.map +1 -0
  129. package/www/build/p-fd390eef.css +3 -0
  130. package/www/build/pallete.css +1 -3
  131. package/www/build/pallete.esm.js +2 -129
  132. package/www/build/pallete.esm.js.map +1 -0
  133. package/www/index.html +2 -40
  134. package/dist/pallete/app-globals-0f993ce5.js +0 -3
  135. package/dist/pallete/css-shim-60f618b9.js +0 -4
  136. package/dist/pallete/dom-4eeb3fee.js +0 -73
  137. package/dist/pallete/gtmUtils-dcdac4ce.js +0 -5
  138. package/dist/pallete/index-1ac7471e.js +0 -3059
  139. package/dist/pallete/my-backdrop.entry.js +0 -15
  140. package/dist/pallete/my-loader.entry.js +0 -15
  141. package/dist/pallete/my-search.entry.js +0 -36
  142. package/dist/pallete/my-slider.entry.js +0 -11333
  143. package/dist/pallete/shadow-css-02866686.js +0 -387
  144. package/www/build/app-globals-0f993ce5.js +0 -3
  145. package/www/build/css-shim-60f618b9.js +0 -4
  146. package/www/build/dom-4eeb3fee.js +0 -73
  147. package/www/build/index-1ac7471e.js +0 -3059
  148. package/www/build/my-backdrop.entry.js +0 -15
  149. package/www/build/my-colorbox.entry.js +0 -40
  150. package/www/build/my-colorinfo.entry.js +0 -36
  151. package/www/build/my-component.entry.js +0 -154
  152. package/www/build/my-modal.entry.js +0 -2459
  153. package/www/build/my-slider.entry.js +0 -11333
  154. package/www/build/shadow-css-02866686.js +0 -387
@@ -1,15 +0,0 @@
1
- import { r as registerInstance } from './index-1ac7471e.js';
2
-
3
- const myBackdropCss = ".pallete-wrapper *{font-family:\"Galatea\", sans-serif}my-backdrop{width:100%;height:100%;background-color:rgba(0, 0, 0, 0.7);position:fixed;z-index:100;left:0;top:0}";
4
-
5
- const MyBackdrop = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- render() {
10
- return null;
11
- }
12
- };
13
- MyBackdrop.style = myBackdropCss;
14
-
15
- export { MyBackdrop as my_backdrop };
@@ -1,15 +0,0 @@
1
- import { r as registerInstance, h } from './index-1ac7471e.js';
2
-
3
- const myLoaderCss = ".container.sc-my-loader{display:flex;justify-content:center;align-items:center;height:100px;overflow:hidden}.item.sc-my-loader{width:20px;height:20px;margin:3px;list-style-type:none;transition:0.5s all ease}.item.sc-my-loader:nth-child(1){animation:right-1 1s infinite alternate;background-color:#b8cf40;animation-delay:20ms}@keyframes right-1{0%{transform:translateY(-18px)}100%{transform:translateY(18px)}}.item.sc-my-loader:nth-child(2){animation:right-2 1s infinite alternate;background-color:#ee4b5e;animation-delay:40ms}@keyframes right-2{0%{transform:translateY(-21px)}100%{transform:translateY(21px)}}.item.sc-my-loader:nth-child(3){animation:right-3 1s infinite alternate;background-color:#ea0f47;animation-delay:60ms}@keyframes right-3{0%{transform:translateY(-24px)}100%{transform:translateY(24px)}}.item.sc-my-loader:nth-child(4){animation:right-4 1s infinite alternate;background-color:#d42840;animation-delay:80ms}@keyframes right-4{0%{transform:translateY(-27px)}100%{transform:translateY(27px)}}.item.sc-my-loader:nth-child(5){animation:right-5 1s infinite alternate;background-color:#8b2850;animation-delay:100ms}@keyframes right-5{0%{transform:translateY(-30px)}100%{transform:translateY(30px)}}";
4
-
5
- const MyLoader = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- render() {
10
- 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" })));
11
- }
12
- };
13
- MyLoader.style = myLoaderCss;
14
-
15
- export { MyLoader as my_loader };
@@ -1,36 +0,0 @@
1
- import { r as registerInstance, e as createEvent, h, f as getAssetPath } from './index-1ac7471e.js';
2
-
3
- const mySearchCss = ".pallete-wrapper.sc-my-search *.sc-my-search{font-family:\"Galatea\", sans-serif}.search.sc-my-search{position:relative;width:400px}@media (max-width: 768px){.search.sc-my-search{width:100%}}.search.sc-my-search input.sc-my-search{margin-bottom:12px;font-size:16px;padding:19px;border-radius:27.35px;border:1px solid #dfdfdf;width:100%}.search.sc-my-search button.sc-my-search{position:absolute;border:none;background-color:transparent;right:-20px;top:0;width:50px;height:calc(100% - 12px);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}";
4
-
5
- const MySearch = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.searchColors = createEvent(this, "searchColors", 7);
9
- this.searchIcon = 'search.svg';
10
- this.searchText = null;
11
- this.fetchColorsByName = (text) => {
12
- this.searchColors.emit(text);
13
- };
14
- }
15
- onInputChangeValue(event) {
16
- const value = event.target.value;
17
- this.searchColors.emit(value);
18
- this.searchText = value;
19
- }
20
- fetchColorsByNameHandle(newValue) {
21
- this.fetchColorsByName(newValue);
22
- }
23
- render() {
24
- return (h("div", { class: 'search' }, h("input", { placeholder: this.isMobile ? 'Wyszukaj kolor' : 'Wyszukaj kolor po nazwie bądź numerze', value: this.searchText || '', type: "text", onInput: this.onInputChangeValue.bind(this) }), h("button", { onClick: () => {
25
- this.searchText && this.fetchColorsByName(this.searchText);
26
- this.searchText = '';
27
- } }, h("img", { src: getAssetPath(`./assets/${this.searchIcon}`), alt: "arrow_down" }))));
28
- }
29
- static get assetsDirs() { return ["assets"]; }
30
- static get watchers() { return {
31
- "searchText": ["fetchColorsByNameHandle"]
32
- }; }
33
- };
34
- MySearch.style = mySearchCss;
35
-
36
- export { MySearch as my_search };