@janbox/storefront-builder 2.0.22 → 2.0.24

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.
@@ -5969,7 +5969,7 @@ const i6 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
5969
5969
  size: "lg",
5970
5970
  name: "Desktop"
5971
5971
  }
5972
- ], u6 = "px", d6 = Gy(() => import("./index-DBQ5OjJh.js").then((e) => ({ default: e.WbTooltip }))), J = Qe(
5972
+ ], u6 = "px", d6 = Gy(() => import("./index-BPG8gpQT.js").then((e) => ({ default: e.WbTooltip }))), J = Qe(
5973
5973
  ({ tooltip: e, size: t = "24", type: n = "button", isHighlighted: r, ...o }, i) => {
5974
5974
  const s = /* @__PURE__ */ u(
5975
5975
  "button",
@@ -6661,6 +6661,13 @@ const Ls = (e, t) => {
6661
6661
  focusTab: a
6662
6662
  }), [i]);
6663
6663
  return /* @__PURE__ */ u(G2.Provider, { value: l, children: /* @__PURE__ */ u("div", { css: { display: "flex", flexDirection: "column" }, ...o, children: n }) });
6664
+ }, $e = ({ children: e, ...t }) => {
6665
+ const n = Eo.toArray(e).filter((r) => Lt(r));
6666
+ return /* @__PURE__ */ u("ul", { css: [{ display: "flex", alignItems: "center" }], ...t, children: n.map(
6667
+ (r, o) => Un(r, {
6668
+ "data-tab-index": o
6669
+ })
6670
+ ) });
6664
6671
  }, te = ({ fill: e = !1, ...t }) => {
6665
6672
  const { activeIndex: n, focusTab: r } = Z2(), o = Number(Bn(t, "data-tab-index")), i = (s) => {
6666
6673
  r(o), t.onClick?.(s);
@@ -6691,17 +6698,8 @@ const Ls = (e, t) => {
6691
6698
  onClick: i
6692
6699
  }
6693
6700
  );
6694
- }, $e = ({ children: e, ...t }) => {
6695
- const n = Eo.toArray(e).filter(
6696
- (r) => Lt(r) && r.type === te
6697
- );
6698
- return /* @__PURE__ */ u("ul", { css: [{ display: "flex", alignItems: "center" }], ...t, children: n.map(
6699
- (r, o) => Un(r, {
6700
- "data-tab-index": o
6701
- })
6702
- ) });
6703
- }, ne = ({ ...e }) => /* @__PURE__ */ u("div", { ...e }), Fe = ({ children: e, ...t }) => {
6704
- const { activeIndex: n } = Z2(), r = Eo.toArray(e).filter((o) => Lt(o) && o.type === ne).find((o, i) => i === n);
6701
+ }, Fe = ({ children: e, ...t }) => {
6702
+ const { activeIndex: n } = Z2(), r = Eo.toArray(e).filter((o) => Lt(o)).find((o, i) => i === n);
6705
6703
  return /* @__PURE__ */ u(
6706
6704
  "div",
6707
6705
  {
@@ -6710,7 +6708,7 @@ const Ls = (e, t) => {
6710
6708
  children: r
6711
6709
  }
6712
6710
  );
6713
- }, p6 = ({ children: e, options: t, ...n }) => /* @__PURE__ */ u(
6711
+ }, ne = ({ ...e }) => /* @__PURE__ */ u("div", { ...e }), p6 = ({ children: e, options: t, ...n }) => /* @__PURE__ */ u(
6714
6712
  Xb,
6715
6713
  {
6716
6714
  options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@janbox/storefront-builder",
3
- "version": "2.0.22",
3
+ "version": "2.0.24",
4
4
  "description": "Standalone storefront builder library extracted from craft-layers-portal",
5
5
  "type": "module",
6
6
  "files": [
@@ -1,4 +0,0 @@
1
- import { W as p } from "./toaster-Bls2Iq-H.js";
2
- export {
3
- p as WbTooltip
4
- };