@ppg_pl/tinting 0.0.3 → 0.0.5

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.
@@ -1,2 +1,2 @@
1
- import{p as e,b as o}from"./p-b135c76f.js";export{s as setNonce}from"./p-b135c76f.js";const l=()=>{const o=import.meta.url;const l={};if(o!==""){l.resourcesUrl=new URL(".",o).href}return e(l)};l().then((e=>o([["p-1028bea2",[[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]}]]]],e)));
1
+ import{p as e,b as o}from"./p-b135c76f.js";export{s as setNonce}from"./p-b135c76f.js";const l=()=>{const o=import.meta.url;const l={};if(o!==""){l.resourcesUrl=new URL(".",o).href}return e(l)};l().then((e=>o([["p-398633de",[[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]}]]]],e)));
2
2
  //# sourceMappingURL=tinting.esm.js.map
@@ -1,7 +1,7 @@
1
1
  export declare const limit = 200;
2
2
  export declare const fetchColorsQuery: (filters: Record<string, any>) => string;
3
3
  export declare const fetchColors: (filters: Record<string, any>) => Promise<any>;
4
- export declare const fetchSamplesColors: (filters: Record<string, any>) => Promise<any>;
4
+ export declare const fetchSamplesColors: (filters: Record<string, any>) => Promise<any[]>;
5
5
  export declare const fetchProductData: (filters: Record<string, any>) => Promise<any>;
6
6
  export declare const fetchColorFamilies: () => Promise<any>;
7
7
  export declare const updateFilters: (filters: Record<string, any>, newFilter: Record<string, any>) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ppg_pl/tinting",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "Color-Selector-Tinting WebComponent",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",