@appkit/dek-ui 0.22.0 → 0.24.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.
package/dist/index.es.js CHANGED
@@ -703,7 +703,7 @@ const I0 = () => 0, F9 = `
703
703
  Q(D), l1(D);
704
704
  }, W = () => {
705
705
  e || X();
706
- }, G = i || (r ? `dek-button-${t}-active` : `dek-button-${t}`);
706
+ }, G = i ? void 0 : r ? `dek-button-${t}-active` : `dek-button-${t}`;
707
707
  return i || (i = (J = A1.button[t]) == null ? void 0 : J.backColor), c || (c = (r1 = A1.button[t]) == null ? void 0 : r1.backColorActive), /* @__PURE__ */ z1.jsx(
708
708
  f7,
709
709
  {
@@ -33488,18 +33488,18 @@ body {
33488
33488
  onClick: o,
33489
33489
  onPressed: d = I0
33490
33490
  }) => {
33491
- const [g, p] = _0(!1), m = (C) => {
33492
- o && p(C), d(C);
33491
+ const [g, p] = _0(!1), m = (b) => {
33492
+ o && p(b), d(b);
33493
33493
  }, w = () => {
33494
33494
  o && o();
33495
- }, B = h !== void 0 ? h : t === "normal" ? "tile" : "clear";
33495
+ }, B = h ? void 0 : `dek-tile-${t}`, C = h !== void 0 ? h : t === "normal" ? "tile" : "clear";
33496
33496
  return /* @__PURE__ */ z1.jsxs(
33497
33497
  OG1,
33498
33498
  {
33499
33499
  style: l,
33500
33500
  "aria-label": c || "tile",
33501
33501
  $pressed: g,
33502
- $backColor: B,
33502
+ $backColor: C,
33503
33503
  $clickable: !!o,
33504
33504
  onClick: w,
33505
33505
  onMouseDown: () => m(!0),
@@ -33507,7 +33507,7 @@ body {
33507
33507
  onMouseLeave: () => m(!1),
33508
33508
  onTouchStart: () => m(!0),
33509
33509
  onTouchEnd: () => m(!1),
33510
- className: `dek-tile-${t}`,
33510
+ className: B,
33511
33511
  children: [
33512
33512
  !!e && /* @__PURE__ */ z1.jsx(SG1, { children: e }),
33513
33513
  !!r && /* @__PURE__ */ z1.jsx(AG1, { children: r }),
@@ -41473,7 +41473,7 @@ const pZ1 = ({
41473
41473
  display: !1
41474
41474
  }
41475
41475
  }, b = {
41476
- labels: m.data.map((N) => N.toString()),
41476
+ labels: m.data.map((X) => X.toString()),
41477
41477
  datasets: [
41478
41478
  {
41479
41479
  lineTension: 0.3,
@@ -41485,11 +41485,11 @@ const pZ1 = ({
41485
41485
  ...m
41486
41486
  }
41487
41487
  ]
41488
- }, F = i !== void 0 ? i : t === "normal" ? "tile" : "clear";
41488
+ }, F = i ? void 0 : `dek-tile-${t}`, N = i !== void 0 ? i : t === "normal" ? "tile" : "clear";
41489
41489
  return /* @__PURE__ */ z1.jsxs(
41490
41490
  f0,
41491
41491
  {
41492
- backColor: F,
41492
+ backColor: N,
41493
41493
  borderRadius: 8,
41494
41494
  width: c,
41495
41495
  height: l,
@@ -41497,7 +41497,7 @@ const pZ1 = ({
41497
41497
  vscroll: "hidden",
41498
41498
  hscroll: "hidden",
41499
41499
  style: { position: "relative" },
41500
- className: `dek-tile-${t}`,
41500
+ className: F,
41501
41501
  children: [
41502
41502
  /* @__PURE__ */ z1.jsx(
41503
41503
  f0,