sud-ui 0.2.5 → 0.2.6

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/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # React + Vite
2
-
3
- This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
-
5
- Currently, two official plugins are available:
6
-
7
- - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
8
- - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9
-
10
- ## Expanding the ESLint configuration
11
-
12
- If you are developing a production application, we recommend using TypeScript and enable type-aware lint rules. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
1
+ # React + Vite
2
+
3
+ This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
+
5
+ Currently, two official plugins are available:
6
+
7
+ - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
8
+ - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9
+
10
+ ## Expanding the ESLint configuration
11
+
12
+ If you are developing a production application, we recommend using TypeScript and enable type-aware lint rules. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
package/dist/index.js CHANGED
@@ -1338,8 +1338,8 @@ const r2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
1338
1338
  }), [E, A] = q(!1), G = u !== void 0, X = G ? u : x;
1339
1339
  v0(() => (U(!0), () => U(!1)), []);
1340
1340
  const c0 = Z0(
1341
- (s0) => {
1342
- if (G || F(s0), z == null || z(s0), !s0 && (A(!1), r.current)) {
1341
+ (r0) => {
1342
+ if (G || F(r0), z == null || z(r0), !r0 && (A(!1), r.current)) {
1343
1343
  const M0 = M1.get(r.current);
1344
1344
  M0 && M0.forEach((_0) => {
1345
1345
  var J0, H0;
@@ -1375,18 +1375,18 @@ const r2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
1375
1375
  };
1376
1376
  v0(() => {
1377
1377
  if (n !== "click" || !X) return;
1378
- const s0 = (M0) => {
1378
+ const r0 = (M0) => {
1379
1379
  var _0, $0;
1380
1380
  !((_0 = d.current) != null && _0.contains(M0.target)) && !(($0 = r.current) != null && $0.contains(M0.target)) && l0();
1381
1381
  };
1382
- return document.addEventListener("click", s0, !0), () => document.removeEventListener("mousedown", s0);
1382
+ return document.addEventListener("click", r0, !0), () => document.removeEventListener("mousedown", r0);
1383
1383
  }, [n, X, l0]);
1384
1384
  const { bgColor: d0, txtColor: C0, borColor: R0 } = i0({
1385
1385
  border: y,
1386
1386
  fallback: M
1387
1387
  }), w0 = f ? L(f, $) : d0, F0 = Z ? L(Z, $) : C0, S0 = O ? L(O, $) : R0, N0 = y && S0 ? `${w}px ${C} ${S0}` : "none", X0 = D0(R, $), I0 = G0(_), k0 = Z0(() => {
1388
1388
  if (!d.current || !r.current) return {};
1389
- const s0 = d.current.getBoundingClientRect(), M0 = r.current.getBoundingClientRect(), _0 = window.scrollY || document.documentElement.scrollTop, $0 = window.scrollX || document.documentElement.scrollLeft, J0 = {
1389
+ const r0 = d.current.getBoundingClientRect(), M0 = r.current.getBoundingClientRect(), _0 = window.scrollY || document.documentElement.scrollTop, $0 = window.scrollX || document.documentElement.scrollLeft, J0 = {
1390
1390
  position: "fixed",
1391
1391
  zIndex: 1e3,
1392
1392
  transition: "opacity 0.2s ease"
@@ -1395,29 +1395,29 @@ const r2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
1395
1395
  switch (a) {
1396
1396
  case "top":
1397
1397
  H0 = {
1398
- top: s0.top - M0.height - c1 - F1 + _0,
1399
- left: s0.left + s0.width / 2 + $0,
1398
+ top: r0.top - M0.height - c1 - F1 + _0,
1399
+ left: r0.left + r0.width / 2 + $0,
1400
1400
  transform: "translateX(-50%)"
1401
1401
  };
1402
1402
  break;
1403
1403
  case "bottom":
1404
1404
  H0 = {
1405
- top: s0.bottom + c1 + F1 + _0,
1406
- left: s0.left + s0.width / 2 + $0,
1405
+ top: r0.bottom + c1 + F1 + _0,
1406
+ left: r0.left + r0.width / 2 + $0,
1407
1407
  transform: "translateX(-50%)"
1408
1408
  };
1409
1409
  break;
1410
1410
  case "left":
1411
1411
  H0 = {
1412
- top: s0.top + s0.height / 2 + _0,
1413
- left: s0.left - M0.width - c1 - F1 + $0,
1412
+ top: r0.top + r0.height / 2 + _0,
1413
+ left: r0.left - M0.width - c1 - F1 + $0,
1414
1414
  transform: "translateY(-50%)"
1415
1415
  };
1416
1416
  break;
1417
1417
  case "right":
1418
1418
  H0 = {
1419
- top: s0.top + s0.height / 2 + _0,
1420
- left: s0.right + c1 + F1 + $0,
1419
+ top: r0.top + r0.height / 2 + _0,
1420
+ left: r0.right + c1 + F1 + $0,
1421
1421
  transform: "translateY(-50%)"
1422
1422
  };
1423
1423
  break;
@@ -1428,14 +1428,14 @@ const r2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
1428
1428
  }, [a]);
1429
1429
  o1(() => {
1430
1430
  if (X && r.current && d.current && !E) {
1431
- const s0 = k0();
1431
+ const r0 = k0();
1432
1432
  I({
1433
- ...s0,
1433
+ ...r0,
1434
1434
  opacity: 1,
1435
1435
  pointerEvents: "auto"
1436
1436
  }), A(!0);
1437
- } else X || I((s0) => ({
1438
- ...s0,
1437
+ } else X || I((r0) => ({
1438
+ ...r0,
1439
1439
  top: "-9999px",
1440
1440
  left: "-9999px",
1441
1441
  opacity: 0,
@@ -1443,7 +1443,7 @@ const r2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
1443
1443
  }));
1444
1444
  }, [X, E, k0]), v0(() => {
1445
1445
  if (!X) return;
1446
- const s0 = () => {
1446
+ const r0 = () => {
1447
1447
  const M0 = k0();
1448
1448
  I((_0) => ({
1449
1449
  ..._0,
@@ -1452,13 +1452,13 @@ const r2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
1452
1452
  pointerEvents: "auto"
1453
1453
  }));
1454
1454
  };
1455
- return window.addEventListener("scroll", s0, !0), window.addEventListener("resize", s0), () => {
1456
- window.removeEventListener("scroll", s0, !0), window.removeEventListener("resize", s0);
1455
+ return window.addEventListener("scroll", r0, !0), window.addEventListener("resize", r0), () => {
1456
+ window.removeEventListener("scroll", r0, !0), window.removeEventListener("resize", r0);
1457
1457
  };
1458
1458
  }, [X, k0]);
1459
1459
  const A0 = Z0(
1460
- ({ type: s0 = "background" }) => {
1461
- const M0 = s0 === "border", _0 = S0 && w > 0, $0 = c1 * 2 + (_0 ? w * 2 : 0), J0 = Math.sqrt(w * w * 2), H0 = !M0 && _0 ? J0 : 0, P0 = {
1460
+ ({ type: r0 = "background" }) => {
1461
+ const M0 = r0 === "border", _0 = S0 && w > 0, $0 = c1 * 2 + (_0 ? w * 2 : 0), J0 = Math.sqrt(w * w * 2), H0 = !M0 && _0 ? J0 : 0, P0 = {
1462
1462
  bottom: `linear-gradient(135deg, ${w0} 50%, transparent 50%)`,
1463
1463
  top: `linear-gradient(-45deg, ${w0} 50%, transparent 50%)`,
1464
1464
  left: `linear-gradient(225deg, ${w0} 50%, transparent 50%)`,
@@ -1509,7 +1509,7 @@ const r2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
1509
1509
  );
1510
1510
  return v0(() => {
1511
1511
  if (n !== "hover") return;
1512
- const s0 = (M0) => {
1512
+ const r0 = (M0) => {
1513
1513
  var P0, Q0;
1514
1514
  const _0 = document.elementFromPoint(M0.clientX, M0.clientY), $0 = (P0 = d.current) == null ? void 0 : P0.contains(_0), J0 = (Q0 = r.current) == null ? void 0 : Q0.contains(_0), H0 = I2(
1515
1515
  r,
@@ -1525,14 +1525,14 @@ const r2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
1525
1525
  l0();
1526
1526
  }, 100)) : (clearTimeout(p.current), p.current = null);
1527
1527
  };
1528
- return document.addEventListener("pointermove", s0), () => {
1529
- document.removeEventListener("pointermove", s0), clearTimeout(p.current);
1528
+ return document.addEventListener("pointermove", r0), () => {
1529
+ document.removeEventListener("pointermove", r0), clearTimeout(p.current);
1530
1530
  };
1531
1531
  }, [n, X, f0, l0]), v0(() => {
1532
1532
  if (n === "hover" && (z1.add(r), V)) {
1533
1533
  A1.set(r, V);
1534
- const s0 = M1.get(V) || /* @__PURE__ */ new Set();
1535
- s0.add(g.current), M1.set(V, s0);
1534
+ const r0 = M1.get(V) || /* @__PURE__ */ new Set();
1535
+ r0.add(g.current), M1.set(V, r0);
1536
1536
  }
1537
1537
  return r.current && (r.current.popupInstance = {
1538
1538
  show: f0,
@@ -1543,8 +1543,8 @@ const r2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
1543
1543
  }), () => {
1544
1544
  if (n === "hover") {
1545
1545
  if (z1.delete(r), A1.delete(r), V) {
1546
- const s0 = M1.get(V);
1547
- s0 && (s0.delete(g.current), s0.size === 0 && M1.delete(V));
1546
+ const r0 = M1.get(V);
1547
+ r0 && (r0.delete(g.current), r0.size === 0 && M1.delete(V));
1548
1548
  }
1549
1549
  p.current && (clearTimeout(p.current), p.current = null);
1550
1550
  }
@@ -1561,8 +1561,8 @@ const r2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
1561
1561
  {
1562
1562
  ref: d,
1563
1563
  onClick: n === "click" ? y0 : void 0,
1564
- onContextMenu: n === "contextMenu" ? (s0) => {
1565
- s0.preventDefault(), y0();
1564
+ onContextMenu: n === "contextMenu" ? (r0) => {
1565
+ r0.preventDefault(), y0();
1566
1566
  } : void 0,
1567
1567
  children: s
1568
1568
  }
@@ -1573,8 +1573,8 @@ const r2 = (s = "") => `loading-spinner ${s ? `${s}-spin` : ""}`, S1 = (s) => {
1573
1573
  {
1574
1574
  ref: r,
1575
1575
  style: T,
1576
- onClick: (s0) => {
1577
- s0.stopPropagation(), h && l0();
1576
+ onClick: (r0) => {
1577
+ r0.stopPropagation(), h && l0();
1578
1578
  },
1579
1579
  onMouseEnter: () => {
1580
1580
  p.current && (clearTimeout(p.current), p.current = null);
@@ -3744,7 +3744,7 @@ const i9 = {
3744
3744
  ] }),
3745
3745
  LogoutCircle: /* @__PURE__ */ e.jsxs("g", { children: [
3746
3746
  /* @__PURE__ */ e.jsx("path", { d: "M4.861024,14.9405509c.2828369-.1414186.2828368-.282837.4242552-.4242555l-.0000005-1.5556641,5.5154419-.0000019c.5656738-.0000002.9899291-.4242557.9899289-.9899295s-.4242557-.9899291-.9899295-.9899289l-5.5154419.0000019-.0000005-1.5556641c0-.2828369-.1414186-.4242553-.4242555-.4242552s-.4242554.0000001-.5656738.1414187l-1.9799186,2.5455939c-.1414184.1414185-.1414183.4242554.0000002.5656738l1.9799203,2.5455926c.1414185.1414184.282837.2828368.5656739.1414183Z" }),
3747
- /* @__PURE__ */ e.jsx("path", { d: "M17.4990234,22H6.5009766c-1.3789062,0-2.5009766-1.1220703-2.5009766-2.5009766v-2.4990234c0-.5522461.4477539-1,1-1s1,.4477539,1,1v2.4990234c0,.2763672.2246094.5009766.5009766.5009766h10.9980469c.2763672,0,.5009766-.2246094.5009766-.5009766V4.5009766c0-.2763672-.2246094-.5009766-.5009766-.5009766H6.5009766c-.2763672,0-.5009766.2246094-.5009766.5009766v2.4990234c0,.5522461-.4477539,1-1,1s-1-.4477539-1-1v-2.4990234c0-1.3789062,1.1220703-2.5009766,2.5009766-2.5009766h10.9980469c1.3789062,0,2.5009766,1.1220703,2.5009766,2.5009766v14.9980469c0,1.3789062-1.1220703,2.5009766-2.5009766,2.5009766Z" })
3747
+ /* @__PURE__ */ e.jsx("path", { d: "M12,2c-2.6713867,0-5.1826172,1.0405273-7.0708008,2.9291992-.390625.390625-.390625,1.0239258,0,1.4140625.390625.390625,1.0234375.390625,1.4140625,0,1.5107422-1.5112305,3.5195312-2.3432617,5.6567383-2.3432617,4.4111328,0,8,3.5888672,8,8s-3.5888672,8-8,8c-2.137207,0-4.1459961-.8320312-5.6567383-2.3432617-.390625-.390625-1.0234375-.390625-1.4140625,0-.390625.3901367-.390625,1.0234375,0,1.4140625,1.8881836,1.8886719,4.3994141,2.9291992,7.0708008,2.9291992,5.5141602,0,10-4.4858398,10-10S17.5141602,2,12,2Z" })
3748
3748
  ] }),
3749
3749
  LoginBox: /* @__PURE__ */ e.jsxs("g", { children: [
3750
3750
  /* @__PURE__ */ e.jsx("path", { d: "M9.1389922,9.0594305c-.2828369.1414185-.2828369.2828369-.4242554.4242554v1.5556641s-5.5154418.0000002-5.5154418.0000002c-.5656738,0-.9899292.4242554-.9899292.9899292,0,.5656738.4242554.9899292.9899292.9899292l5.5154419-.0000002v1.5556641c0,.2828369.1414185.4242554.4242554.4242554s.4242554,0,.5656738-.1414185l1.9799193-2.5455933c.1414185-.1414185.1414184-.4242554,0-.5656738l-1.9799195-2.5455932c-.1414185-.1414185-.2828369-.2828369-.5656738-.1414185Z" }),
@@ -4899,7 +4899,7 @@ const b9 = {
4899
4899
  /* @__PURE__ */ e.jsx("path", { d: "M14,19h-4c-.5522461,0-1-.4477539-1-1s.4477539-1,1-1h4c.5522461,0,1,.4477539,1,1s-.4477539,1-1,1Z" }),
4900
4900
  /* @__PURE__ */ e.jsx("path", { d: "M12,7c-.2602539,0-.5200195-.1103516-.7099609-.2900391-.1801758-.1899414-.2900391-.4399414-.2900391-.7099609s.1098633-.5200195.2900391-.7099609c.3696289-.3701172,1.0498047-.3701172,1.4199219,0,.1796875.1899414.2900391.4399414.2900391.7099609s-.1103516.5200195-.2900391.7099609c-.1899414.1796875-.4501953.2900391-.7099609.2900391Z" })
4901
4901
  ] })
4902
- }, r0 = Object.entries(b9).reduce((s, [c, o]) => {
4902
+ }, s0 = Object.entries(b9).reduce((s, [c, o]) => {
4903
4903
  const l = ({ size: n = 24, color: a, style: u = {}, ...v }) => /* @__PURE__ */ e.jsx(
4904
4904
  "svg",
4905
4905
  {
@@ -4916,63 +4916,63 @@ const b9 = {
4916
4916
  );
4917
4917
  return l.displayName = c, s[c] = l, s;
4918
4918
  }, {});
4919
- r0.ClockFill;
4920
- const M9 = r0.ClockOutline;
4921
- r0.TimerOutline;
4922
- r0.AngleDownBoxFill;
4923
- r0.AngleDownBoxOutline;
4924
- r0.AngleLeftBoxFill;
4925
- r0.AngleLeftBoxOutline;
4926
- r0.AngleRightBoxFill;
4927
- r0.AngleRightBoxOutline;
4928
- r0.AngleUpBoxFill;
4929
- r0.AngleUpBoxOutline;
4930
- r0.MinusBoxFill;
4931
- r0.MinusBoxOutline;
4932
- r0.PlusBoxFill;
4933
- r0.PlusBoxOutline;
4934
- r0.TriangleDownBoxFill;
4935
- r0.TriangleDownBoxOutline;
4936
- r0.TriangleLeftBoxFill;
4937
- r0.TriangleLeftBoxOutline;
4938
- r0.TriangleRightBoxFill;
4939
- r0.TriangleRightBoxOutline;
4940
- r0.TriangleUpBoxFill;
4941
- r0.TriangleUpBoxOutline;
4942
- r0.AngleDownCircleFill;
4943
- r0.AngleDownCircleOutline;
4944
- r0.AngleLeftCircleFill;
4945
- r0.AngleLeftCircleOutline;
4946
- r0.AngleRightCircleFill;
4947
- r0.AngleRightCircleOutline;
4948
- r0.AngleUpCircleFill;
4949
- r0.AngleUpCircleOutline;
4950
- r0.MinusCircleFill;
4951
- r0.MinusCircleOutline;
4952
- r0.PlusCircleFill;
4953
- r0.PlusCircleOutline;
4954
- r0.TriangleDownCircleFill;
4955
- r0.TriangleDownCircleOutline;
4956
- r0.TriangleLeftCircleFill;
4957
- r0.TriangleLeftCircleOutline;
4958
- r0.TriangleRightCircleFill;
4959
- r0.TriangleRightCircleOutline;
4960
- r0.TriangleUpCircleFill;
4961
- r0.TriangleUpCircleOutline;
4962
- r0.CopyFill;
4963
- r0.CopyOutline;
4964
- r0.XMarkBoxFill;
4965
- r0.XMarkBoxOutline;
4966
- r0.MonitorFill;
4967
- r0.MonitorOutline;
4968
- r0.MouseFill;
4969
- r0.MouseOutline;
4970
- r0.KeyboardFill;
4971
- r0.KeyboardOutline;
4972
- r0.PhoneFill;
4973
- r0.PhoneOutline;
4974
- r0.SmartphoneFill;
4975
- r0.SmartphoneOutline;
4919
+ s0.ClockFill;
4920
+ const M9 = s0.ClockOutline;
4921
+ s0.TimerOutline;
4922
+ s0.AngleDownBoxFill;
4923
+ s0.AngleDownBoxOutline;
4924
+ s0.AngleLeftBoxFill;
4925
+ s0.AngleLeftBoxOutline;
4926
+ s0.AngleRightBoxFill;
4927
+ s0.AngleRightBoxOutline;
4928
+ s0.AngleUpBoxFill;
4929
+ s0.AngleUpBoxOutline;
4930
+ s0.MinusBoxFill;
4931
+ s0.MinusBoxOutline;
4932
+ s0.PlusBoxFill;
4933
+ s0.PlusBoxOutline;
4934
+ s0.TriangleDownBoxFill;
4935
+ s0.TriangleDownBoxOutline;
4936
+ s0.TriangleLeftBoxFill;
4937
+ s0.TriangleLeftBoxOutline;
4938
+ s0.TriangleRightBoxFill;
4939
+ s0.TriangleRightBoxOutline;
4940
+ s0.TriangleUpBoxFill;
4941
+ s0.TriangleUpBoxOutline;
4942
+ s0.AngleDownCircleFill;
4943
+ s0.AngleDownCircleOutline;
4944
+ s0.AngleLeftCircleFill;
4945
+ s0.AngleLeftCircleOutline;
4946
+ s0.AngleRightCircleFill;
4947
+ s0.AngleRightCircleOutline;
4948
+ s0.AngleUpCircleFill;
4949
+ s0.AngleUpCircleOutline;
4950
+ s0.MinusCircleFill;
4951
+ s0.MinusCircleOutline;
4952
+ s0.PlusCircleFill;
4953
+ s0.PlusCircleOutline;
4954
+ s0.TriangleDownCircleFill;
4955
+ s0.TriangleDownCircleOutline;
4956
+ s0.TriangleLeftCircleFill;
4957
+ s0.TriangleLeftCircleOutline;
4958
+ s0.TriangleRightCircleFill;
4959
+ s0.TriangleRightCircleOutline;
4960
+ s0.TriangleUpCircleFill;
4961
+ s0.TriangleUpCircleOutline;
4962
+ s0.CopyFill;
4963
+ s0.CopyOutline;
4964
+ s0.XMarkBoxFill;
4965
+ s0.XMarkBoxOutline;
4966
+ s0.MonitorFill;
4967
+ s0.MonitorOutline;
4968
+ s0.MouseFill;
4969
+ s0.MouseOutline;
4970
+ s0.KeyboardFill;
4971
+ s0.KeyboardOutline;
4972
+ s0.PhoneFill;
4973
+ s0.PhoneOutline;
4974
+ s0.SmartphoneFill;
4975
+ s0.SmartphoneOutline;
4976
4976
  const C9 = {
4977
4977
  LogoDocker: /* @__PURE__ */ e.jsxs("g", { children: [
4978
4978
  /* @__PURE__ */ e.jsx(
@@ -6036,9 +6036,7 @@ const m1 = ({
6036
6036
  border: o,
6037
6037
  fallback: M ? "error" : G ? "focus" : "default",
6038
6038
  componentType: "input"
6039
- }), s0 = s ? L(s, r) : I0;
6040
- console.log("finalBgColor:", s0);
6041
- const M0 = c ? L(c, r) : k0, _0 = l ? L(l, r) : A0, $0 = o && _0 ? `${a}px ${n} ${_0}` : "none", J0 = G0(f, r), H0 = D0(Z, r), P0 = {
6039
+ }), r0 = s ? L(s, r) : I0, M0 = c ? L(c, r) : k0, _0 = l ? L(l, r) : A0, $0 = o && _0 ? `${a}px ${n} ${_0}` : "none", J0 = G0(f, r), H0 = D0(Z, r), P0 = {
6042
6040
  sm: { height: 32, fontSize: 14, padding: "4px" },
6043
6041
  md: { height: 38, fontSize: 16, padding: "6px" },
6044
6042
  lg: { height: 42, fontSize: 18, padding: "8px" }
@@ -6091,7 +6089,7 @@ const m1 = ({
6091
6089
  display: "flex",
6092
6090
  alignItems: "center",
6093
6091
  gap: 4,
6094
- backgroundColor: N ? L("cool-gray-1", r) : s0,
6092
+ backgroundColor: N ? L("cool-gray-1", r) : r0,
6095
6093
  color: N ? L("cool-gray-3", r) : M0,
6096
6094
  ...J0,
6097
6095
  width: "100%",
@@ -6270,7 +6268,7 @@ const m1 = ({
6270
6268
  boxShadow: D0("md", r),
6271
6269
  color: M0,
6272
6270
  zIndex: 1500,
6273
- background: s0,
6271
+ background: r0,
6274
6272
  ...V
6275
6273
  },
6276
6274
  onClick: (Q) => {
@@ -6311,7 +6309,7 @@ const m1 = ({
6311
6309
  padding: "8px 12px",
6312
6310
  cursor: N ? "not-allowed" : "pointer",
6313
6311
  fontSize: P0.fontSize,
6314
- backgroundColor: V0 ? L("sky-1", r) : s0,
6312
+ backgroundColor: V0 ? L("sky-1", r) : r0,
6315
6313
  transition: "background-color 0.2s ease"
6316
6314
  },
6317
6315
  onMouseEnter: (E0) => {
@@ -6321,7 +6319,7 @@ const m1 = ({
6321
6319
  ));
6322
6320
  },
6323
6321
  onMouseLeave: (E0) => {
6324
- V0 || (E0.currentTarget.style.backgroundColor = s0);
6322
+ V0 || (E0.currentTarget.style.backgroundColor = r0);
6325
6323
  },
6326
6324
  children: Q.label
6327
6325
  },
@@ -6724,7 +6722,7 @@ const m1 = ({
6724
6722
  }, N0 = (e0, x0, O0) => {
6725
6723
  const p0 = a0(new Date(e0, x0, O0));
6726
6724
  K(e0), d0(x0), R0(O0), p(p0), G(p0);
6727
- }, X0 = a0().year(), I0 = Array.from({ length: 201 }, (e0, x0) => X0 - 100 + x0), k0 = Array.from({ length: 12 }, (e0, x0) => x0), A0 = r.daysInMonth(), s0 = Array.from({ length: A0 }, (e0, x0) => x0 + 1);
6725
+ }, X0 = a0().year(), I0 = Array.from({ length: 201 }, (e0, x0) => X0 - 100 + x0), k0 = Array.from({ length: 12 }, (e0, x0) => x0), A0 = r.daysInMonth(), r0 = Array.from({ length: A0 }, (e0, x0) => x0 + 1);
6728
6726
  v0(() => {
6729
6727
  s && (G(a0(s)), p(a0(s)));
6730
6728
  }, [s]), v0(() => {
@@ -7055,7 +7053,7 @@ const m1 = ({
7055
7053
  {
7056
7054
  value: r.date(),
7057
7055
  onChange: (e0) => N0(y0, J, e0),
7058
- options: s0.map((e0) => ({ label: `${e0}`, value: e0 })),
7056
+ options: r0.map((e0) => ({ label: `${e0}`, value: e0 })),
7059
7057
  size: "sm",
7060
7058
  style: { maxWidth: 60 }
7061
7059
  }
@@ -10628,9 +10626,9 @@ const h2 = ({
10628
10626
  }, [o, b]);
10629
10627
  const C0 = Z0(
10630
10628
  (k0, A0) => {
10631
- const s0 = F.current.getBoundingClientRect();
10629
+ const r0 = F.current.getBoundingClientRect();
10632
10630
  let M0;
10633
- a ? M0 = 1 - (A0 - s0.top) / s0.height : M0 = (k0 - s0.left) / s0.width;
10631
+ a ? M0 = 1 - (A0 - r0.top) / r0.height : M0 = (k0 - r0.left) / r0.width;
10634
10632
  let _0 = s + M0 * (c - s);
10635
10633
  _0 = Math.round(_0 / l) * l, _0 = Math.min(c, Math.max(s, _0)), g(_0), n == null || n(_0);
10636
10634
  },