@krosoft/react 0.0.213 → 0.0.215

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.
@@ -21,7 +21,7 @@ import { D as ko, T as Ho, a as Ro, b as yo, c as No, d as Oo, e as Vo } from ".
21
21
  import { A as zo, a as Ko, b as jo, c as qo } from "../AppVerticalTabs-aJmAVu6F.js";
22
22
  import { T as _o } from "../ThemeSelector-BFC37dSl.js";
23
23
  import { A as Qo, a as Wo, b as Xo } from "../alert-B9F1N9Qk.js";
24
- import { A as Zo, C as $o, a as as, b as es, R as rs, c as os, d as ss, T as ts, e as ns } from "../toaster-BkgWp-w-.js";
24
+ import { A as Zo, C as $o, a as as, b as es, R as rs, c as os, d as ss, T as ts, e as ns } from "../toaster-B1J0puB_.js";
25
25
  import { B as ls, T as bs, a as ps, b as us, c as Cs, d as gs, e as ds, f as ms } from "../tooltip-DVeqVwqV.js";
26
26
  import { C as Ts, a as cs, b as Ds, c as Ms, d as xs, e as As, f as hs, g as fs, h as Ps, i as Is, j as ws, k as vs } from "../chart-DntJZGxB.js";
27
27
  import { S as Ls, a as Bs, b as Gs, c as ks, d as Hs, e as Rs, f as ys, g as Ns, h as Os, i as Vs } from "../select-BpjFWqAY.js";
@@ -1,6 +1,6 @@
1
1
  import { A as o, a as s, b as r, c as t, d as n, e as i, f as l, g as u, h as b, i as g, j as p, k as C, l as d, m, n as S, o as T, B as c, p as M, q as D, r as x, s as w, t as h, u as I, v as P, C as v, w as A, x as F, y as B, z as L, D as f, E as G, F as R, G as k, H, I as N, J as y, K as O, L as V, M as z, N as j, O as E, Q as q, R as U, S as J, T as K, U as Q, V as W, W as X, X as Y, Y as Z, Z as _, _ as $, $ as aa, a0 as ea, a1 as oa, a2 as sa, a3 as ra, a4 as ta, a5 as na, a6 as ia, a7 as la, a8 as ua, a9 as ba, aa as ga, ab as pa, ac as Ca, ad as da, ae as ma, af as Sa, ag as Ta, ah as ca, ai as Ma, aj as Da, ak as xa, al as wa, am as ha, an as Ia, ao as Pa, ap as va, aq as Aa, ar as Fa, as as Ba, at as La, au as fa, av as Ga, aw as Ra, ax as ka, ay as Ha, az as Na, aA as ya, aB as Oa, aC as Va, aD as za, aE as ja, aF as Ea, aG as qa, aH as Ua, aI as Ja, aJ as Ka, aK as Qa, aL as Wa, aM as Xa, aN as Ya, aO as Za, aP as _a, aQ as $a, aR as ae, aS as ee, aT as oe, aU as se, aV as re, aW as te, aX as ne, aY as ie, aZ as le, a_ as ue, a$ as be, b0 as ge, b1 as pe, b2 as Ce, P as de, b3 as me, b4 as Se, b5 as Te, b6 as ce, b7 as Me, b8 as De, b9 as xe, ba as we, bb as he, bc as Ie, bd as Pe, be as ve, bf as Ae, bg as Fe, bh as Be, bi as Le, bj as fe, bk as Ge, bl as Re, bm as ke, bn as He, bo as Ne, bp as ye, bq as Oe, br as Ve, bs as ze, bt as je, bu as Ee, bv as qe, bw as Ue, bx as Je, by as Ke, bz as Qe, bA as We } from "../../toggle-group-DLLrEwv2.js";
2
2
  import { A as Ye, a as Ze, b as _e } from "../../alert-B9F1N9Qk.js";
3
- import { A as ao, C as eo, a as oo, b as so, R as ro, c as to, d as no, T as io, e as lo } from "../../toaster-BkgWp-w-.js";
3
+ import { A as ao, C as eo, a as oo, b as so, R as ro, c as to, d as no, T as io, e as lo } from "../../toaster-B1J0puB_.js";
4
4
  import { B as bo, T as go, a as po, b as Co, c as mo, d as So, e as To, f as co } from "../../tooltip-DVeqVwqV.js";
5
5
  import { C as Do, a as xo, b as wo, c as ho, d as Io, e as Po, f as vo, g as Ao, h as Fo, i as Bo, j as Lo, k as fo } from "../../chart-DntJZGxB.js";
6
6
  import { C as Ro, j as ko, k as Ho, l as No, m as yo, n as Oo, o as Vo, p as zo, q as jo, D as Eo, a as qo, b as Uo, c as Jo, d as Ko, e as Qo, f as Wo, g as Xo, h as Yo, i as Zo, I as _o, S as $o, r as as, s as es, t as os, u as ss, v as rs, w as ts, x as ns, y as is, z as ls } from "../../sheet-BQmtrGf2.js";
@@ -1 +1 @@
1
- {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../src/components/ui/resizable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAG7D,QAAA,MAAM,mBAAmB,GAAI,yBAAyB,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,KAAK,CAAC,KAAG,KAAK,CAAC,YAEnH,CAAC;AAEF,QAAA,MAAM,cAAc,iCAA2B,CAAC;AAEhD,QAAA,MAAM,eAAe,GAAI,qCAItB,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,GAAG;IAC7D,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,gCAcA,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../src/components/ui/resizable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAO7D,QAAA,MAAM,mBAAmB,GAAI,yBAAyB,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,KAAK,CAAC,KAAG,KAAK,CAAC,YAEnH,CAAC;AAEF,QAAA,MAAM,cAAc,iCAA2B,CAAC;AAMhD,QAAA,MAAM,eAAe,GAAI,qCAItB,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,GAAG;IAC7D,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,gCAcA,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
@@ -1,35 +1,35 @@
1
- import * as u from "@radix-ui/react-aspect-ratio";
1
+ import * as p from "@radix-ui/react-aspect-ratio";
2
2
  import * as s from "@radix-ui/react-collapsible";
3
3
  import { jsx as t, jsxs as a } from "react/jsx-runtime";
4
- import { GripVertical as d, XIcon as f } from "lucide-react";
4
+ import { GripVertical as f, XIcon as m } from "lucide-react";
5
5
  import * as i from "react-resizable-panels";
6
- import { c as n } from "./tailwind.helper-B6yFEsav.js";
6
+ import { c as l } from "./tailwind.helper-B6yFEsav.js";
7
7
  import { useTheme as g } from "next-themes";
8
- import { Toaster as m } from "sonner";
9
- import { u as b } from "./useToast-BFTk4lWz.js";
10
- import { br as v, bn as h, bs as x, bq as T, bp as C, bt as w } from "./toggle-group-DLLrEwv2.js";
11
- const B = u.Root, G = s.Root, V = s.CollapsibleTrigger, $ = s.CollapsibleContent, k = ({ className: e, ...r }) => /* @__PURE__ */ t(i.Group, { className: n("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", e), ...r }), q = i.Panel, D = ({
12
- withHandle: e,
8
+ import { Toaster as b } from "sonner";
9
+ import { u as d } from "./useToast-BFTk4lWz.js";
10
+ import { br as h, bn as v, bs as T, bq as x, bp as z, bt as C } from "./toggle-group-DLLrEwv2.js";
11
+ const B = p.Root, G = s.Root, V = s.CollapsibleTrigger, $ = s.CollapsibleContent, k = ({ className: o, ...r }) => /* @__PURE__ */ t(i.Group, { className: l(o), ...r }), q = i.Panel, D = ({
12
+ withHandle: o,
13
13
  className: r,
14
- ...o
14
+ ...e
15
15
  }) => /* @__PURE__ */ t(
16
16
  i.Separator,
17
17
  {
18
- className: n(
19
- "relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
18
+ className: l(
19
+ "relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:-translate-y-1/2 aria-[orientation=horizontal]:after:translate-x-0 [&[aria-orientation=horizontal]>div]:rotate-90",
20
20
  r
21
21
  ),
22
- ...o,
23
- children: e && /* @__PURE__ */ t("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ t(d, { className: "h-2.5 w-2.5" }) })
22
+ ...e,
23
+ children: o && /* @__PURE__ */ t("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ t(f, { className: "h-2.5 w-2.5" }) })
24
24
  }
25
- ), H = ({ ...e }) => {
25
+ ), H = ({ ...o }) => {
26
26
  const { theme: r = "system" } = g();
27
27
  return /* @__PURE__ */ t(
28
- m,
28
+ b,
29
29
  {
30
30
  theme: r,
31
31
  className: "toaster group",
32
- icons: { close: /* @__PURE__ */ t(f, { className: "size-4" }) },
32
+ icons: { close: /* @__PURE__ */ t(m, { className: "size-4" }) },
33
33
  toastOptions: {
34
34
  classNames: {
35
35
  toast: "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
@@ -42,24 +42,24 @@ const B = u.Root, G = s.Root, V = s.CollapsibleTrigger, $ = s.CollapsibleContent
42
42
  closeButton: "!static !order-last !size-6 !transform-none !rounded-control !border-0 !bg-transparent !text-foreground/60 !opacity-100 hover:!bg-muted hover:!text-foreground focus-visible:!ring-2 focus-visible:!ring-ring"
43
43
  }
44
44
  },
45
- ...e
45
+ ...o
46
46
  }
47
47
  );
48
48
  };
49
49
  function I() {
50
- const { toasts: e } = b();
51
- return /* @__PURE__ */ a(v, { children: [
52
- e.map(function({ id: r, title: o, description: l, action: c, ...p }) {
53
- return /* @__PURE__ */ a(h, { ...p, children: [
50
+ const { toasts: o } = d();
51
+ return /* @__PURE__ */ a(h, { children: [
52
+ o.map(function({ id: r, title: e, description: n, action: c, ...u }) {
53
+ return /* @__PURE__ */ a(v, { ...u, children: [
54
54
  /* @__PURE__ */ a("div", { className: "grid gap-1", children: [
55
- o && /* @__PURE__ */ t(x, { children: o }),
56
- l && /* @__PURE__ */ t(T, { children: l })
55
+ e && /* @__PURE__ */ t(T, { children: e }),
56
+ n && /* @__PURE__ */ t(x, { children: n })
57
57
  ] }),
58
58
  c,
59
- /* @__PURE__ */ t(C, {})
59
+ /* @__PURE__ */ t(z, {})
60
60
  ] }, r);
61
61
  }),
62
- /* @__PURE__ */ t(w, {})
62
+ /* @__PURE__ */ t(C, {})
63
63
  ] });
64
64
  }
65
65
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krosoft/react",
3
- "version": "0.0.213",
3
+ "version": "0.0.215",
4
4
  "description": "Krosoft shared React package",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -95,7 +95,7 @@
95
95
  "zod": "^4.4.3"
96
96
  },
97
97
  "devDependencies": {
98
- "@krosoft/core": "^0.0.59",
98
+ "@krosoft/core": "^0.0.60",
99
99
  "@krosoft/tooling-eslint-react": "^0.0.27",
100
100
  "@krosoft/tooling-prettier": "^0.0.18",
101
101
  "@krosoft/tooling-tsconfig-react": "^0.0.10",