@ppg_pl/tinting 0.0.0 → 0.0.1
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/README.md +0 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{modal-header_10.cjs.entry.js → modal-header_9.cjs.entry.js} +9 -22
- package/dist/cjs/modal-header_9.cjs.entry.js.map +1 -0
- package/dist/cjs/tinting.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/components/index10.js +3921 -9
- package/dist/components/index10.js.map +1 -1
- package/dist/components/my-component.js +9 -15
- package/dist/components/my-component.js.map +1 -1
- package/dist/components/my-modal.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{modal-header_10.entry.js → modal-header_9.entry.js} +10 -22
- package/dist/esm/modal-header_9.entry.js.map +1 -0
- package/dist/esm/tinting.js +1 -1
- package/dist/tinting/{p-06cd865b.entry.js → p-fa35b3ef.entry.js} +3 -3
- package/dist/tinting/p-fa35b3ef.entry.js.map +1 -0
- package/dist/tinting/tinting.esm.js +1 -1
- package/dist/tinting/tinting.esm.js.map +1 -1
- package/dist/types/components.d.ts +0 -13
- package/package.json +1 -1
- package/www/build/{p-06cd865b.entry.js → p-fa35b3ef.entry.js} +3 -3
- package/www/build/p-fa35b3ef.entry.js.map +1 -0
- package/www/build/tinting.esm.js +1 -1
- package/www/build/tinting.esm.js.map +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/modal-header_10.cjs.entry.js.map +0 -1
- package/dist/collection/components/loader/index.css +0 -85
- package/dist/collection/components/loader/index.js +0 -19
- package/dist/collection/components/loader/index.js.map +0 -1
- package/dist/components/index11.js +0 -3949
- package/dist/components/index11.js.map +0 -1
- package/dist/components/my-loader.d.ts +0 -11
- package/dist/components/my-loader.js +0 -8
- package/dist/components/my-loader.js.map +0 -1
- package/dist/esm/modal-header_10.entry.js.map +0 -1
- package/dist/tinting/p-06cd865b.entry.js.map +0 -1
- package/dist/types/components/loader/index.d.ts +0 -3
- package/www/build/p-06cd865b.entry.js.map +0 -1
- package/www/build/p-a4907f5e.css +0 -4
- package/www/build/p-e2322b6c.js +0 -163
package/README.md
CHANGED
|
@@ -4,14 +4,6 @@ This documentation provides an overview of the project's architecture, technolog
|
|
|
4
4
|
|
|
5
5
|
## Backend
|
|
6
6
|
|
|
7
|
-
### Version 1.0.1
|
|
8
|
-
|
|
9
|
-
- **Framework**: The application backend is built using [Strapi](https://docs.strapi.io/developer-docs/latest/getting-started/introduction.html) version 4.
|
|
10
|
-
- **Database**: The staging environment is configured with a PostgreSQL database.
|
|
11
|
-
- **Collation Method**: Refer to the Strapi documentation for detailed information on collation.
|
|
12
|
-
|
|
13
|
-
### Version 2.0.0
|
|
14
|
-
|
|
15
7
|
- **Framework**: The application backend is built using [Directus](https://docs.directus.io/self-hosted/quickstart.html) version 10.10.4.
|
|
16
8
|
- **Database**: The staging environment is configured with a PostgreSQL database.
|
|
17
9
|
- **Collation Method**: Refer to the Directus documentation for detailed information on collation.
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["modal-
|
|
17
|
+
return index.bootstrapLazy([["modal-header_9.cjs",[[2,"my-component",{"shop":[1],"product":[1],"baselink":[1],"colorname":[1],"show":[32],"readyToClose":[32],"open":[64],"close":[64]},[[0,"readyToCLose","setReadyToCloseHandler"],[0,"close","closeModalHandler"],[0,"onSelectedColorEmit","handleSelectedColor"]]],[0,"my-modal",{"shop":[1],"product":[1],"baselink":[1],"selectedcolor":[1],"arrowDown":[1,"arrow-down"],"chunksNum":[32],"data":[32],"preloader":[32],"loading":[32],"currentColor":[32],"currentIndex":[32],"infoBoxWidth":[32],"boxWidth":[32],"padding":[32],"isMobile":[32],"showRange":[32],"colorCategories":[32],"selectedCategory":[32],"page":[32],"colorIsSelected":[32],"colorsList":[32],"hasMore":[32],"filters":[32],"open":[64]},[[0,"closeInfoBox","closeInfoBoxHandler"],[0,"onCurrentColor","handleEmitColor"],[9,"resize","handleResize"],[0,"colorFamilySelected","handleColorFamilySelected"],[0,"searchColors","searchColorsHandler"]]],[0,"my-backdrop"],[0,"modal-header",{"modalName":[1,"modal-name"],"modalLogo":[1,"modal-logo"],"modalDescription":[1,"modal-description"],"selectedColorFamily":[1,"selected-color-family"],"shop":[1],"productName":[1,"product-name"],"isMobile":[4,"is-mobile"],"closeImage":[1,"close-image"],"productSamples":[16],"colorFamilies":[32]}],[0,"my-colorinfo",{"currentColor":[16],"shop":[1],"product":[1],"baselink":[1],"data":[16],"isMobile":[4,"is-mobile"],"infoBoxWidth":[2,"info-box-width"],"closeImage":[1,"close-image"]}],[0,"my-colorbox",{"color":[1],"name":[1],"shop":[1],"product":[1],"isActive":[4,"is-active"],"isCategoryActive":[4,"is-category-active"],"isImageInsteadHex":[16]}],[2,"my-search",{"productname":[1],"shopname":[1],"isMobile":[4,"is-mobile"],"searchIcon":[1,"search-icon"],"searchText":[32]},[[4,"clearSearchText","clearSearchTextHandler"]]],[2,"my-select",{"options":[16],"placeholder":[1],"isMobile":[4,"is-mobile"],"searchIcon":[1,"search-icon"],"searchText":[32],"filteredOptions":[32],"showDropdown":[32],"selectedValue":[32]},[[4,"clearSearchText","clearSearchTextHandler"]]],[0,"my-slider",{"slides":[16],"shop":[1],"product":[1],"color":[1]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -2620,7 +2620,7 @@ const updateFilters = (filters, newFilter) => {
|
|
|
2620
2620
|
return Object.assign(Object.assign({}, filters), newFilter);
|
|
2621
2621
|
};
|
|
2622
2622
|
|
|
2623
|
-
const indexCss$
|
|
2623
|
+
const indexCss$7 = "@import url(\"https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap\"); .tinting-wrapper *{font-family:\"Poppins\", sans-serif}.my-modal__header{display:flex;justify-content:flex-start;flex-direction:column;margin-bottom:16px}@media (max-width: 905px){.my-modal__header{overflow-x:auto}}@media (max-width: 1024px){.my-modal__header{flex-direction:column;margin-bottom:12px;align-items:center;display:block}}.my-modal__header .image-wrapper{display:flex;margin-bottom:17px}@media (max-width: 768px){.my-modal__header .image-wrapper{margin-bottom:12px}}.my-modal__header .image-wrapper .modal-header__logo{max-width:400px;position:relative;max-height:130px;cursor:pointer}.my-modal__header .image-wrapper .modal-header__logo img{width:100%;height:100%;object-fit:cover}@media (max-width: 768px){.my-modal__header .image-wrapper .modal-header__logo{max-width:200px}}.my-modal__header .my-modal__see-more{margin-bottom:16px;text-align:left}.my-modal__header .search-wrapper{display:flex;align-items:center;justify-content:space-between;align-items:flex-end;gap:55px;align-items:center}@media (max-width: 1024px){.my-modal__header .search-wrapper{justify-content:center;width:92%;margin:0 auto;gap:21px}}@media (max-width: 768px){.my-modal__header .search-wrapper{flex-wrap:wrap}}.my-modal__header .search-wrapper .color-families{display:flex;gap:5px;flex-wrap:wrap;max-width:100%;overflow-x:auto;padding-bottom:5px;scrollbar-width:thin;scrollbar-color:#aaa transparent;flex-wrap:wrap}.my-modal__header .search-wrapper .color-families::-webkit-scrollbar{height:6px}.my-modal__header .search-wrapper .color-families::-webkit-scrollbar-thumb{background-color:#aaa;border-radius:3px}@media (max-width: 1024px){.my-modal__header .search-wrapper .color-families{flex-wrap:nowrap}}.my-modal__header .search-wrapper .color-families .color-family{flex:0 0 auto;width:125px;height:125px;display:flex;align-items:center;justify-content:center;color:#fff;position:relative;cursor:pointer;transition:transform 0.2s ease, box-shadow 0.2s ease}.my-modal__header .search-wrapper .color-families .color-family:hover{transform:scale(0.93);box-shadow:0 8px 16px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1)}.my-modal__header .search-wrapper .color-families .color-family.active{transform:scale(0.93);box-shadow:0 8px 16px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1)}@media (max-width: 1024px){.my-modal__header .search-wrapper .color-families .color-family{width:90px;height:90px;font-size:12px}}.my-modal__header .search-wrapper .color-families .color-family div{width:100%;height:100%;cursor:pointer;font-size:15px;z-index:-1;opacity:65%;position:absolute}.my-modal__header .search-wrapper .search-container{display:flex;align-items:baseline}.my-modal__header .search-wrapper .search-container .filters{display:flex;flex-direction:column;gap:10px}@media (max-width: 1024px){.my-modal__header .search-wrapper .search-container .filters{width:100%}}@media (max-width: 1024px){.my-modal__header .search-wrapper .search-container{width:100%}}@media (max-width: 1024px){.my-modal__header .search-wrapper .sc-my-search-h{width:100%;margin:0 auto}}.my-modal__header .search-wrapper .my-modal__close{position:absolute;top:50px;right:20px;background:transparent;border:none;margin-top:-20px}.my-modal__header .search-wrapper .my-modal__close>img{width:45px;height:45px;object-fit:cover;cursor:pointer}@media (max-width: 1024px){.my-modal__header .search-wrapper .my-modal__close{margin-top:0px;position:absolute;right:10px;top:10px}}";
|
|
2624
2624
|
|
|
2625
2625
|
const ModalHeader = class {
|
|
2626
2626
|
constructor(hostRef) {
|
|
@@ -2708,9 +2708,9 @@ const ModalHeader = class {
|
|
|
2708
2708
|
}
|
|
2709
2709
|
static get assetsDirs() { return ["assets"]; }
|
|
2710
2710
|
};
|
|
2711
|
-
ModalHeader.style = indexCss$
|
|
2711
|
+
ModalHeader.style = indexCss$7;
|
|
2712
2712
|
|
|
2713
|
-
const indexCss$
|
|
2713
|
+
const indexCss$6 = "@import url(\"https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap\"); .tinting-wrapper *{font-family:\"Poppins\", 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}";
|
|
2714
2714
|
|
|
2715
2715
|
const MyBackdrop = class {
|
|
2716
2716
|
constructor(hostRef) {
|
|
@@ -2720,13 +2720,13 @@ const MyBackdrop = class {
|
|
|
2720
2720
|
return null;
|
|
2721
2721
|
}
|
|
2722
2722
|
};
|
|
2723
|
-
MyBackdrop.style = indexCss$
|
|
2723
|
+
MyBackdrop.style = indexCss$6;
|
|
2724
2724
|
|
|
2725
2725
|
const setDataLayer = (obj) => {
|
|
2726
2726
|
return window.dataLayer.push(obj);
|
|
2727
2727
|
};
|
|
2728
2728
|
|
|
2729
|
-
const indexCss$
|
|
2729
|
+
const indexCss$5 = "@import url(\"https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap\"); .tinting-wrapper *{font-family:\"Poppins\", sans-serif}.my-color-box{width:125px;height:125px;display:block;margin-bottom:5px;cursor:pointer;display:flex;flex-direction:column;justify-content:flex-end;position:relative}@media (max-width: 1024px){.my-color-box{width:65px;height:65px}}.my-color-box .color-name{width:100%;background-color:#fff;padding:15px 0px 10px;border-top-left-radius:15px;border-top-right-radius:15px;opacity:0;transition:0.3s opacity ease-in-out;font-size:10px;color:#232323;text-transform:lowercase}.my-color-box.active .color-name{opacity:1}.my-color-box.categoryactive{width:120px;height:115px}.my-color-box.categoryactive .color-name{opacity:1}@media (max-width: 1024px){.my-color-box.categoryactive{width:72px;height:72px}}.my-color-box:hover .color-name{opacity:1}";
|
|
2730
2730
|
|
|
2731
2731
|
const MyColorBox = class {
|
|
2732
2732
|
constructor(hostRef) {
|
|
@@ -2770,7 +2770,7 @@ const MyColorBox = class {
|
|
|
2770
2770
|
} }, index$2.h("div", { class: "color-name" }, this.name)));
|
|
2771
2771
|
}
|
|
2772
2772
|
};
|
|
2773
|
-
MyColorBox.style = indexCss$
|
|
2773
|
+
MyColorBox.style = indexCss$5;
|
|
2774
2774
|
|
|
2775
2775
|
const MyColorInfo = class {
|
|
2776
2776
|
constructor(hostRef) {
|
|
@@ -2939,7 +2939,7 @@ const Helmet = (_props, children, utils) => {
|
|
|
2939
2939
|
return null;
|
|
2940
2940
|
};
|
|
2941
2941
|
|
|
2942
|
-
const indexCss$
|
|
2942
|
+
const indexCss$4 = ".tinting-wrapper.sc-my-component{display:flex;flex-direction:column;align-items:center;justify-content:center}";
|
|
2943
2943
|
|
|
2944
2944
|
const MyModalBundle = class {
|
|
2945
2945
|
constructor(hostRef) {
|
|
@@ -2990,19 +2990,7 @@ const MyModalBundle = class {
|
|
|
2990
2990
|
}
|
|
2991
2991
|
get modalEl() { return index$2.getElement(this); }
|
|
2992
2992
|
};
|
|
2993
|
-
MyModalBundle.style = indexCss$
|
|
2994
|
-
|
|
2995
|
-
const indexCss$4 = ".container.sc-my-loader{display:flex;justify-content:center;align-items:center;height:190px;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)}}";
|
|
2996
|
-
|
|
2997
|
-
const MyLoader = class {
|
|
2998
|
-
constructor(hostRef) {
|
|
2999
|
-
index$2.registerInstance(this, hostRef);
|
|
3000
|
-
}
|
|
3001
|
-
render() {
|
|
3002
|
-
return (index$2.h("div", { class: "container" }, index$2.h("div", { class: "item" }), index$2.h("div", { class: "item" }), index$2.h("div", { class: "item" }), index$2.h("div", { class: "item" }), index$2.h("div", { class: "item" })));
|
|
3003
|
-
}
|
|
3004
|
-
};
|
|
3005
|
-
MyLoader.style = indexCss$4;
|
|
2993
|
+
MyModalBundle.style = indexCss$4;
|
|
3006
2994
|
|
|
3007
2995
|
function debounce$1(func, wait) {
|
|
3008
2996
|
let timeout;
|
|
@@ -12304,10 +12292,9 @@ exports.my_backdrop = MyBackdrop;
|
|
|
12304
12292
|
exports.my_colorbox = MyColorBox;
|
|
12305
12293
|
exports.my_colorinfo = MyColorInfo;
|
|
12306
12294
|
exports.my_component = MyModalBundle;
|
|
12307
|
-
exports.my_loader = MyLoader;
|
|
12308
12295
|
exports.my_modal = Modal;
|
|
12309
12296
|
exports.my_search = MySearch;
|
|
12310
12297
|
exports.my_select = MySelect;
|
|
12311
12298
|
exports.my_slider = JcSwiper;
|
|
12312
12299
|
|
|
12313
|
-
//# sourceMappingURL=modal-
|
|
12300
|
+
//# sourceMappingURL=modal-header_9.cjs.entry.js.map
|