@xola/ui-kit 2.0.0-87 → 2.0.0-88

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/build/ui-kit.mjs CHANGED
@@ -93,8 +93,8 @@ const vt = {
93
93
  }
94
94
  }, to = {
95
95
  tiny: "px-2 py-0.5 text-xs leading-xs",
96
- small: "px-3 py-2 h-[30px] text-sm leading-sm",
97
- medium: "px-4.5 py-3 h-[40px] text-base leading-base",
96
+ small: "px-3 py-2 h-7.5 text-sm leading-sm",
97
+ medium: "px-4.5 py-3 h-10 text-base leading-base",
98
98
  large: "px-6 py-4 h-[50px] text-md leading-md"
99
99
  }, fe = ({
100
100
  as: e = "button",
@@ -195,7 +195,7 @@ const U1 = {
195
195
  }, /* @__PURE__ */ n.createElement(st, {
196
196
  size: "current",
197
197
  color: "current",
198
- className: "relative top-[-1px] text-white"
198
+ className: "relative -top-0.25 text-white"
199
199
  }))), /* @__PURE__ */ n.createElement("span", {
200
200
  className: C(t ? "flex-shrink flex-grow opacity-0" : "opacity-100")
201
201
  }, a));
@@ -263,7 +263,7 @@ const ir = {
263
263
  large: "w-6 h-6"
264
264
  }, p = (e) => {
265
265
  const t = ({ size: o = "small", className: a, ...r }) => /* @__PURE__ */ n.createElement(e, {
266
- className: C(ir[o], "relative top-[-1px] inline-block", a),
266
+ className: C(ir[o], "relative -top-0.25 inline-block", a),
267
267
  ...r
268
268
  });
269
269
  return t.propTypes = {
@@ -916,10 +916,10 @@ kn.propTypes = {
916
916
  };
917
917
  bt.Item = kn;
918
918
  const ua = {
919
- small: "max-w-[400px]",
920
- medium: "max-w-[500px]",
921
- large: "max-w-[600px]",
922
- huge: "max-w-[800px]"
919
+ small: "max-w-100",
920
+ medium: "max-w-125",
921
+ large: "max-w-150",
922
+ huge: "max-w-200"
923
923
  }, An = ({
924
924
  size: e = "medium",
925
925
  isOpen: t = !1,
@@ -1335,7 +1335,7 @@ const ui = li((e, t) => e(t), 500), Eo = ({
1335
1335
  }, /* @__PURE__ */ n.createElement("div", {
1336
1336
  ...j({ className: "w-full relative rounded-md" })
1337
1337
  }, /* @__PURE__ */ n.createElement("div", {
1338
- className: "pointer-events-none absolute inset-y-0 top-[-2px] left-0 hidden items-center md:flex"
1338
+ className: "pointer-events-none absolute inset-y-0 -top-0.5 left-0 hidden items-center md:flex"
1339
1339
  }, /* @__PURE__ */ n.createElement(xo, {
1340
1340
  className: "h-4 w-4 text-gray-darker"
1341
1341
  })), /* @__PURE__ */ n.createElement("input", {
@@ -5900,13 +5900,13 @@ const C1 = {
5900
5900
  className: C("ui-tabs", "flex overflow-x-auto", C1[t], e),
5901
5901
  ...i
5902
5902
  }, t === "default" ? /* @__PURE__ */ n.createElement("div", {
5903
- className: "min-w-[40px] flex-shrink-0 border-b border-gray-light"
5903
+ className: "min-w-10 flex-shrink-0 border-b border-gray-light"
5904
5904
  }) : null, c.map((d, m) => it(d, {
5905
5905
  variant: t,
5906
5906
  isActive: m === o,
5907
5907
  onClick: () => a == null ? void 0 : a(m)
5908
5908
  })), t === "default" ? /* @__PURE__ */ n.createElement("div", {
5909
- className: "min-w-[40px] flex-grow border-b border-gray-light"
5909
+ className: "min-w-10 flex-grow border-b border-gray-light"
5910
5910
  }) : null), u[o]);
5911
5911
  };
5912
5912
  at.propTypes = {
@@ -6543,7 +6543,7 @@ const ft = {
6543
6543
  key: T.toString(),
6544
6544
  value: !0,
6545
6545
  className: C(
6546
- "mx-6 mt-3 flex min-w-[160px] cursor-pointer items-center justify-center rounded border border-gray py-3 hover:border-blue hover:bg-blue hover:text-white",
6546
+ "mx-6 mt-3 flex min-w-40 cursor-pointer items-center justify-center rounded border border-gray py-3 hover:border-blue hover:bg-blue hover:text-white",
6547
6547
  {
6548
6548
  "border-blue bg-blue text-white": V(N).isSame(
6549
6549
  V(t),
@@ -6555,7 +6555,7 @@ const ft = {
6555
6555
  E(N, {}, D), B(N);
6556
6556
  }
6557
6557
  }, V(N).format("ddd DD MMMM")))) : /* @__PURE__ */ n.createElement("div", {
6558
- className: "mx-6 mt-7 max-w-[160px] items-center justify-center rounded bg-yellow-lighter p-3"
6558
+ className: "mx-6 mt-7 max-w-40 items-center justify-center rounded bg-yellow-lighter p-3"
6559
6559
  }, "There is no future availability for this product.")) : null, /* @__PURE__ */ n.createElement(j1, {
6560
6560
  showOutsideDays: !0,
6561
6561
  className: C(
@@ -7210,11 +7210,18 @@ const ic = {
7210
7210
  56: "224px",
7211
7211
  60: "240px",
7212
7212
  64: "256px",
7213
+ 65: "260px",
7213
7214
  72: "288px",
7214
7215
  75: "300px",
7215
7216
  80: "320px",
7216
7217
  82: "350px",
7217
7218
  96: "384px",
7219
+ 100: "400px",
7220
+ 105: "420px",
7221
+ 125: "500px",
7222
+ 140: "560px",
7223
+ 150: "600px",
7224
+ 200: "800px",
7218
7225
  "0.25": "1px",
7219
7226
  "0.5": "2px",
7220
7227
  "0.75": "3px",
@@ -7341,11 +7348,18 @@ const ic = {
7341
7348
  56: "224px",
7342
7349
  60: "240px",
7343
7350
  64: "256px",
7351
+ 65: "260px",
7344
7352
  72: "288px",
7345
7353
  75: "300px",
7346
7354
  80: "320px",
7347
7355
  82: "350px",
7348
7356
  96: "384px",
7357
+ 100: "400px",
7358
+ 105: "420px",
7359
+ 125: "500px",
7360
+ 140: "560px",
7361
+ 150: "600px",
7362
+ 200: "800px",
7349
7363
  "0.25": "1px",
7350
7364
  "0.5": "2px",
7351
7365
  "0.75": "3px",
@@ -7387,11 +7401,18 @@ const ic = {
7387
7401
  56: "224px",
7388
7402
  60: "240px",
7389
7403
  64: "256px",
7404
+ 65: "260px",
7390
7405
  72: "288px",
7391
7406
  75: "300px",
7392
7407
  80: "320px",
7393
7408
  82: "350px",
7394
7409
  96: "384px",
7410
+ 100: "400px",
7411
+ 105: "420px",
7412
+ 125: "500px",
7413
+ 140: "560px",
7414
+ 150: "600px",
7415
+ 200: "800px",
7395
7416
  "0.25": "1px",
7396
7417
  "0.5": "2px",
7397
7418
  "0.75": "3px",
@@ -8175,7 +8196,7 @@ const g4 = p(({ className: e, ...t }) => /* @__PURE__ */ n.createElement("svg",
8175
8196
  height: "24",
8176
8197
  fill: "none",
8177
8198
  viewBox: "0 0 96 24",
8178
- className: C("h-[24px] w-[96px]", e),
8199
+ className: C("h-6 w-24", e),
8179
8200
  ...t
8180
8201
  }, /* @__PURE__ */ n.createElement("path", {
8181
8202
  stroke: "#BDC0C6",
@@ -8217,7 +8238,7 @@ const g4 = p(({ className: e, ...t }) => /* @__PURE__ */ n.createElement("svg",
8217
8238
  height: "24",
8218
8239
  fill: "none",
8219
8240
  viewBox: "0 0 96 24",
8220
- className: C("h-[24px] w-[96px]", e),
8241
+ className: C("h-6 w-24", e),
8221
8242
  ...t
8222
8243
  }, /* @__PURE__ */ n.createElement("path", {
8223
8244
  stroke: "#BDC0C6",