@ikas/bp-storefront 0.61.0 → 0.63.0

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.
@@ -4,5 +4,8 @@ interface IkasComponentRendererProps {
4
4
  }
5
5
  export declare function IkasComponentRenderer({ components, parentProps }: IkasComponentRendererProps): import("preact").VNode<import("preact").ClassAttributes<HTMLDivElement> & {
6
6
  ref: (el: HTMLDivElement | null) => void;
7
+ style: {
8
+ display: string;
9
+ };
7
10
  }> | null;
8
11
  export {};
@@ -1 +1 @@
1
- import{createElement as r}from'./../ext/preact/dist/preact.mjs.js';import{useRef as t,useCallback as e}from'./../ext/preact/hooks/dist/hooks.mjs.js';var n={};function o(o){var a=o.components,c=o.parentProps,i=void 0===c?n:c,s=t([]),u=t(a),d=t(i);u.current=a,d.current=i;var f=e(function(r){var t=u.current,e=d.current;if(r&&Array.isArray(t)){s.current.forEach(function(r){return r()}),s.current=[],r.innerHTML="";for(var n=0,o=t;n<o.length;n++){var a=o[n],c=document.createElement("div"),i="test-".concat(Math.random().toString(36).substring(2,15));if(c.innerHTML=a.r(e,{},{id:i}),r.appendChild(c),a.l){var f=a.l('[id="'.concat(i,'"]'),e,{},{id:'[id="'.concat(i,'"]')});"function"==typeof f&&s.current.push(f)}}}},[]);return a&&0!==a.length?r("div",{ref:f}):null}export{o as IkasComponentRenderer};
1
+ import{createElement as r}from'./../ext/preact/dist/preact.mjs.js';import{useRef as t,useCallback as e}from'./../ext/preact/hooks/dist/hooks.mjs.js';var n={};function o(o){var a=o.components,c=o.parentProps,s=void 0===c?n:c,i=t([]),u=t(a),d=t(s);u.current=a,d.current=s;var l=e(function(r){var t=u.current,e=d.current;if(r&&Array.isArray(t)){i.current.forEach(function(r){return r()}),i.current=[],r.innerHTML="";for(var n=0,o=t;n<o.length;n++){var a=o[n],c=document.createElement("template"),s="test-".concat(Math.random().toString(36).substring(2,15));if(c.innerHTML=a.r(e,{},{id:s}),r.appendChild(c.content),a.l){var l=a.l('[id="'.concat(s,'"]'),e,{},{id:'[id="'.concat(s,'"]')});"function"==typeof l&&i.current.push(l)}}}},[]);return a&&0!==a.length?r("div",{ref:l,style:{display:"contents"}}):null}export{o as IkasComponentRenderer};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/bp-storefront",
3
- "version": "0.61.0",
3
+ "version": "0.63.0",
4
4
  "description": "A framework for the ikas blueprint storefronts.",
5
5
  "author": "ikas",
6
6
  "license": "ISC",