@engrate/components 0.1.6 → 0.1.7

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/dist/index.es.js CHANGED
@@ -29751,25 +29751,34 @@ function Nn(e, t, r) {
29751
29751
  return t[e];
29752
29752
  }
29753
29753
  const cZ = f.forwardRef(
29754
- ({ className: e, cols: t, gap: r, align: n, justify: o, asChild: i = !1, ...a }, s) => {
29755
- const l = i ? qt : "div", c = Nn(t, iZ, 1), u = Nn(r, aZ, "md"), d = Nn(n, sZ, "stretch"), p = Nn(
29754
+ ({
29755
+ className: e,
29756
+ cols: t,
29757
+ gap: r,
29758
+ align: n,
29759
+ justify: o,
29760
+ as: i = "div",
29761
+ asChild: a = !1,
29762
+ ...s
29763
+ }, l) => {
29764
+ const c = a ? qt : i, u = Nn(t, iZ, 1), d = Nn(r, aZ, "md"), p = Nn(n, sZ, "stretch"), v = Nn(
29756
29765
  o,
29757
29766
  lZ,
29758
29767
  "stretch"
29759
29768
  );
29760
29769
  return /* @__PURE__ */ b(
29761
- l,
29770
+ c,
29762
29771
  {
29763
29772
  className: L(
29764
29773
  "grid",
29765
- c,
29766
29774
  u,
29767
29775
  d,
29768
29776
  p,
29777
+ v,
29769
29778
  e
29770
29779
  ),
29771
- ref: s,
29772
- ...a
29780
+ ref: l,
29781
+ ...s
29773
29782
  }
29774
29783
  );
29775
29784
  }
@@ -29855,19 +29864,27 @@ const vte = oe("", {
29855
29864
  12: "col-start-12",
29856
29865
  auto: "col-start-auto"
29857
29866
  }, pZ = f.forwardRef(
29858
- ({ className: e, colSpan: t, rowSpan: r, colStart: n, asChild: o = !1, ...i }, a) => {
29859
- const s = o ? qt : "div", l = Nn(t, uZ), c = Nn(r, dZ), u = Nn(n, fZ);
29867
+ ({
29868
+ className: e,
29869
+ colSpan: t,
29870
+ rowSpan: r,
29871
+ colStart: n,
29872
+ as: o = "div",
29873
+ asChild: i = !1,
29874
+ ...a
29875
+ }, s) => {
29876
+ const l = i ? qt : o, c = Nn(t, uZ), u = Nn(r, dZ), d = Nn(n, fZ);
29860
29877
  return /* @__PURE__ */ b(
29861
- s,
29878
+ l,
29862
29879
  {
29863
29880
  className: L(
29864
- l,
29865
29881
  c,
29866
29882
  u,
29883
+ d,
29867
29884
  e
29868
29885
  ),
29869
- ref: a,
29870
- ...i
29886
+ ref: s,
29887
+ ...a
29871
29888
  }
29872
29889
  );
29873
29890
  }
@@ -31988,16 +32005,17 @@ const XJ = oe("flex", {
31988
32005
  align: n,
31989
32006
  justify: o,
31990
32007
  wrap: i,
31991
- asChild: a = !1,
31992
- ...s
31993
- }, l) => /* @__PURE__ */ b(
31994
- a ? qt : "div",
32008
+ as: a = "div",
32009
+ asChild: s = !1,
32010
+ ...l
32011
+ }, c) => /* @__PURE__ */ b(
32012
+ s ? qt : a,
31995
32013
  {
31996
32014
  className: L(
31997
32015
  XJ({ direction: t, gap: r, align: n, justify: o, wrap: i, className: e })
31998
32016
  ),
31999
- ref: l,
32000
- ...s
32017
+ ref: c,
32018
+ ...l
32001
32019
  }
32002
32020
  )
32003
32021
  );