reaxify 0.0.82 → 0.0.84

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.
@@ -1 +1 @@
1
- "use client";"use strict";const w=require("react/jsx-runtime"),a=require("../../helpers/cn.cjs.js"),h=require("../../hooks/useClasses.cjs.js"),u=require("react"),k=require("../../node_modules/tailwind-merge/dist/bundle-mjs.cjs.js");function q({as:x,variant:i="solid",color:n=null,size:s="md",className:c,children:l,...p}){const e=h(r=>r.badge),m=x||"span",f=u.useMemo(()=>{var t,b,g;if(!n)return"border-transparent";const r={primary:{solid:"bg-primary text-white border-primary",outline:"bg-transparent text-primary border-primary",soft:"bg-primary/10 text-primary border-primary/10"},secondary:{solid:"bg-secondary text-white border-secondary",outline:"bg-transparent text-secondary border-secondary",soft:"bg-secondary/10 text-secondary border-secondary/10"},success:{solid:"bg-success text-white border-success",outline:"bg-transparent text-success border-success",soft:"bg-success/10 text-success border-success/10"},info:{solid:"bg-info text-white border-info",outline:"bg-transparent text-info border-info",soft:"bg-info/10 text-info border-info/10"},warning:{solid:"bg-warning text-white border-warning",outline:"bg-transparent text-warning border-warning",soft:"bg-warning/10 text-warning border-warning/10"},danger:{solid:"bg-danger text-white border-danger",outline:"bg-transparent text-danger border-danger",soft:"bg-danger/10 text-danger border-danger/10"},dark:{solid:"bg-dark text-white border-dark",outline:"bg-transparent text-dark border-dark",soft:"bg-dark/10 text-dark border-dark/10"},light:{solid:"bg-light text-dark border-light",outline:"bg-transparent text-dark border-light",soft:"bg-light/10 text-dark border-light/10"}},o=(t=r==null?void 0:r[n])==null?void 0:t[i],d=(g=(b=e==null?void 0:e.color)==null?void 0:b[n])==null?void 0:g[i];return[o,d]},[n,i,e==null?void 0:e.color]),y=u.useMemo(()=>{var o,d,t;if(!s)return null;const r={sm:a("text-xs py-0.5 px-1.5",(o=e==null?void 0:e.size)==null?void 0:o.sm),md:a("text-sm py-[0.1875rem] px-2",(d=e==null?void 0:e.size)==null?void 0:d.md),lg:a("text-base py-1 px-3",(t=e==null?void 0:e.size)==null?void 0:t.lg)};return r==null?void 0:r[s]},[s,e==null?void 0:e.size]);return w.jsx(m,{className:k.twMerge("inline-flex border border-[#e8eaee] items-center text-center font-medium align-middle whitespace-nowrap rounded",e==null?void 0:e.base,f,y,c),...p,children:l})}module.exports=q;
1
+ "use client";"use strict";const w=require("react/jsx-runtime"),a=require("../../helpers/cn.cjs.js"),h=require("../../hooks/useClasses.cjs.js"),u=require("react"),k=require("../../node_modules/tailwind-merge/dist/bundle-mjs.cjs.js");function q({as:x,variant:i="solid",color:n="primary",size:s="md",className:c,children:p,...l}){const r=h(e=>e.badge),m=x||"span",f=u.useMemo(()=>{var t,b,g;if(!n)return"border-transparent";const e={primary:{solid:"bg-primary text-white border-primary",outline:"bg-transparent text-primary border-primary",soft:"bg-primary/10 text-primary border-primary/10"},secondary:{solid:"bg-secondary text-white border-secondary",outline:"bg-transparent text-secondary border-secondary",soft:"bg-secondary/10 text-secondary border-secondary/10"},success:{solid:"bg-success text-white border-success",outline:"bg-transparent text-success border-success",soft:"bg-success/10 text-success border-success/10"},info:{solid:"bg-info text-white border-info",outline:"bg-transparent text-info border-info",soft:"bg-info/10 text-info border-info/10"},warning:{solid:"bg-warning text-white border-warning",outline:"bg-transparent text-warning border-warning",soft:"bg-warning/10 text-warning border-warning/10"},danger:{solid:"bg-danger text-white border-danger",outline:"bg-transparent text-danger border-danger",soft:"bg-danger/10 text-danger border-danger/10"},dark:{solid:"bg-dark text-white border-dark",outline:"bg-transparent text-dark border-dark",soft:"bg-dark/10 text-dark border-dark/10"},light:{solid:"bg-light text-dark border-light",outline:"bg-transparent text-dark border-light",soft:"bg-light/10 text-dark border-light/10"}},o=(t=e==null?void 0:e[n])==null?void 0:t[i],d=(g=(b=r==null?void 0:r.color)==null?void 0:b[n])==null?void 0:g[i];return[o,d]},[n,i,r==null?void 0:r.color]),y=u.useMemo(()=>{var o,d,t;if(!s)return null;const e={sm:a("text-xs py-0.5 px-1.5",(o=r==null?void 0:r.size)==null?void 0:o.sm),md:a("text-sm py-[0.1875rem] px-2",(d=r==null?void 0:r.size)==null?void 0:d.md),lg:a("text-base py-1 px-3",(t=r==null?void 0:r.size)==null?void 0:t.lg)};return e==null?void 0:e[s]},[s,r==null?void 0:r.size]);return w.jsx(m,{className:k.twMerge("inline-flex border border-[#e8eaee] items-center text-center font-medium align-middle whitespace-nowrap rounded",r==null?void 0:r.base,f,y,c),...l,children:p})}module.exports=q;
@@ -7,15 +7,15 @@ import { twMerge as k } from "../../node_modules/tailwind-merge/dist/bundle-mjs.
7
7
  function B({
8
8
  as: p,
9
9
  variant: i = "solid",
10
- color: n = null,
10
+ color: o = "primary",
11
11
  size: a = "md",
12
12
  className: m,
13
13
  children: u,
14
- ...l
14
+ ...c
15
15
  }) {
16
- const r = h((e) => e.badge), c = p || "span", f = x(() => {
16
+ const r = h((e) => e.badge), f = p || "span", l = x(() => {
17
17
  var t, b, g;
18
- if (!n) return "border-transparent";
18
+ if (!o) return "border-transparent";
19
19
  const e = {
20
20
  primary: {
21
21
  solid: "bg-primary text-white border-primary",
@@ -57,29 +57,29 @@ function B({
57
57
  outline: "bg-transparent text-dark border-light",
58
58
  soft: "bg-light/10 text-dark border-light/10"
59
59
  }
60
- }, o = (t = e == null ? void 0 : e[n]) == null ? void 0 : t[i], d = (g = (b = r == null ? void 0 : r.color) == null ? void 0 : b[n]) == null ? void 0 : g[i];
61
- return [o, d];
62
- }, [n, i, r == null ? void 0 : r.color]), y = x(() => {
63
- var o, d, t;
60
+ }, n = (t = e == null ? void 0 : e[o]) == null ? void 0 : t[i], d = (g = (b = r == null ? void 0 : r.color) == null ? void 0 : b[o]) == null ? void 0 : g[i];
61
+ return [n, d];
62
+ }, [o, i, r == null ? void 0 : r.color]), y = x(() => {
63
+ var n, d, t;
64
64
  if (!a) return null;
65
65
  const e = {
66
- sm: s("text-xs py-0.5 px-1.5", (o = r == null ? void 0 : r.size) == null ? void 0 : o.sm),
66
+ sm: s("text-xs py-0.5 px-1.5", (n = r == null ? void 0 : r.size) == null ? void 0 : n.sm),
67
67
  md: s("text-sm py-[0.1875rem] px-2", (d = r == null ? void 0 : r.size) == null ? void 0 : d.md),
68
68
  lg: s("text-base py-1 px-3", (t = r == null ? void 0 : r.size) == null ? void 0 : t.lg)
69
69
  };
70
70
  return e == null ? void 0 : e[a];
71
71
  }, [a, r == null ? void 0 : r.size]);
72
72
  return /* @__PURE__ */ w(
73
- c,
73
+ f,
74
74
  {
75
75
  className: k(
76
76
  "inline-flex border border-[#e8eaee] items-center text-center font-medium align-middle whitespace-nowrap rounded",
77
77
  r == null ? void 0 : r.base,
78
- f,
78
+ l,
79
79
  y,
80
80
  m
81
81
  ),
82
- ...l,
82
+ ...c,
83
83
  children: u
84
84
  }
85
85
  );
@@ -1 +1 @@
1
- "use client";"use strict";const c=require("react/jsx-runtime"),z=require("../../helpers/cn.cjs.js"),B=require("../../hooks/useClasses.cjs.js"),n=require("react"),f=require("../../node_modules/tailwind-merge/dist/bundle-mjs.cjs.js"),F=require("../Portal/index.cjs.js"),N=require("../../node_modules/react-transition-group/esm/Transition.cjs.js");function P({title:h,color:l="dark",placement:i="top",duration:x=300,className:w,children:s,...b}){const o=B(e=>e.tooltip),m=n.useRef(null),g=n.useRef(null),[p,u]=n.useState(!1),[v,y]=n.useState({}),d=n.useMemo(()=>{var t;if(!l)return"border-transparent";const e={primary:"bg-primary text-white",secondary:"bg-secondary text-white",success:"bg-success text-white",info:"bg-info text-white",warning:"bg-warning text-white",danger:"bg-danger text-white",dark:"bg-dark text-white",light:"bg-light text-dark"};return[e==null?void 0:e[l],(t=o==null?void 0:o.color)==null?void 0:t[l]]},[l,o==null?void 0:o.color]),M=n.useMemo(()=>{var t;return[{top:"w-(--width) top-(--top) left-(--left) right-(--right) translate-y-[calc(-100%-0.5rem)] flex-col origin-bottom",end:"h-(--height) top-(--top) bottom-(--bottom) left-(--right) translate-x-[0.5rem] flex-row-reverse origin-start",bottom:"w-(--width) top-(--bottom) left-(--left) right-(--right) translate-y-[0.5rem] flex-col-reverse origin-top",start:"h-(--height) top-(--top) bottom-(--bottom) left-(--left) translate-x-[calc(var(--ratio)*-100%-0.5rem)] flex-row origin-start"}[i],(t=o==null?void 0:o.placement)==null?void 0:t[i]]},[i,o==null?void 0:o.placement]),j={entering:"scale-100 opacity-100",entered:"scale-100 opacity-100",exiting:"scale-75 opacity-0",exited:"scale-75 opacity-0",unmounted:""},k=n.useMemo(()=>({top:"mt-[-0.5rem]",end:"me-[-0.5rem]",bottom:"mb-[-0.5rem]",start:"ms-[-0.5rem]"})[i],[i]),E=n.useMemo(()=>s?n.cloneElement(s,{ref:e=>{g.current=e},onMouseEnter:e=>{var t,r;(r=(t=s.props).onMouseEnter)==null||r.call(t,e),u(!0)},onMouseLeave:e=>{var t,r;(r=(t=s.props).onMouseLeave)==null||r.call(t,e),u(!1)},onFocus:e=>{var t,r;(r=(t=s.props).onFocus)==null||r.call(t,e),u(!0)},onBlur:e=>{var t,r;(r=(t=s.props).onBlur)==null||r.call(t,e),u(!1)}}):null,[s]),a=n.useCallback(()=>{const e=g.current;if(!e)return;const t=e.getBoundingClientRect(),r=t.width,C=t.height,R=t.top,q=t.left,L=t.right,$=t.bottom;y({"--width":`${r}px`,"--height":`${C}px`,"--top":`${R}px`,"--left":`${q}px`,"--right":`${L}px`,"--bottom":`${$}px`})},[]);return n.useEffect(()=>(p&&a(),window.addEventListener("scroll",a),window.addEventListener("resize",a),()=>{window.removeEventListener("scroll",a),window.removeEventListener("resize",a)}),[p,i,a]),c.jsxs(n.Fragment,{children:[E,c.jsx(F,{children:c.jsx(N.default,{nodeRef:m,in:p,timeout:x,unmountOnExit:!0,children:e=>c.jsxs("div",{ref:m,style:v,className:z("fixed flex justify-center items-center z-10 pointer-events-none transition-[scale,opacity] [--ratio:1] rtl:[--ratio:-1]",...M,j[e]),children:[c.jsx("span",{className:f.twMerge("relative block w-fit h-fit bg-dark text-sm rounded px-2 py-px whitespace-nowrap z-[1]",o==null?void 0:o.base,d,w),...b,children:h}),c.jsx("span",{className:f.twMerge("block size-3 bg-dark rotate-45",k,d)})]})})})]})}module.exports=P;
1
+ "use client";"use strict";const c=require("react/jsx-runtime"),$=require("../../helpers/cn.cjs.js"),B=require("../../hooks/useClasses.cjs.js"),o=require("react"),f=require("../../node_modules/tailwind-merge/dist/bundle-mjs.cjs.js"),F=require("../Portal/index.cjs.js"),N=require("../../node_modules/react-transition-group/esm/Transition.cjs.js");function P({title:x,color:l="dark",placement:s="top",duration:h=300,className:w,children:i,...b}){const r=B(e=>e.tooltip),m=o.useRef(null),d=o.useRef(null),[p,u]=o.useState(!1),[v,y]=o.useState({}),g=o.useMemo(()=>{var t;if(!l)return"border-transparent";const e={primary:"bg-primary text-white",secondary:"bg-secondary text-white",success:"bg-success text-white",info:"bg-info text-white",warning:"bg-warning text-white",danger:"bg-danger text-white",dark:"bg-dark text-white",light:"bg-light text-dark"};return[e==null?void 0:e[l],(t=r==null?void 0:r.color)==null?void 0:t[l]]},[l,r==null?void 0:r.color]),M=o.useMemo(()=>{var n;return["size-0 min-w-(--width) min-h-(--height) top-(--top) right-(--right) bottom-(--bottom) left-(--left) justify-end items-center p-1.5",{top:"-translate-y-full flex-col origin-bottom",end:"translate-x-[calc(var(--ratio)*100%)] flex-row-reverse origin-left rtl:origin-right",bottom:"translate-y-full flex-col-reverse origin-top",start:"translate-x-[calc(var(--ratio)*-100%)] flex-row origin-right rtl:origin-left"}[s],(n=r==null?void 0:r.placement)==null?void 0:n[s]]},[s,r==null?void 0:r.placement]),j={entering:"scale-100 opacity-100",entered:"scale-100 opacity-100",exiting:"scale-75 opacity-0",exited:"scale-75 opacity-0",unmounted:""},k=o.useMemo(()=>({top:"mt-[-0.5rem]",end:"me-[-0.5rem]",bottom:"mb-[-0.5rem]",start:"ms-[-0.5rem]"})[s],[s]),E=o.useMemo(()=>i?o.cloneElement(i,{ref:e=>{d.current=e},onMouseEnter:e=>{var t,n;(n=(t=i.props).onMouseEnter)==null||n.call(t,e),u(!0)},onMouseLeave:e=>{var t,n;(n=(t=i.props).onMouseLeave)==null||n.call(t,e),u(!1)},onFocus:e=>{var t,n;(n=(t=i.props).onFocus)==null||n.call(t,e),u(!0)},onBlur:e=>{var t,n;(n=(t=i.props).onBlur)==null||n.call(t,e),u(!1)}}):null,[i]),a=o.useCallback(()=>{const e=d.current;if(!e)return;const t=e.getBoundingClientRect(),n=t.width,C=t.height,R=t.top,q=t.left,z=window.innerWidth-t.right,L=window.innerHeight-t.bottom;y({"--width":`${n}px`,"--height":`${C}px`,"--top":`${R}px`,"--left":`${q}px`,"--right":`${z}px`,"--bottom":`${L}px`})},[]);return o.useEffect(()=>(p&&a(),window.addEventListener("scroll",a),window.addEventListener("resize",a),()=>{window.removeEventListener("scroll",a),window.removeEventListener("resize",a)}),[p,s,a]),c.jsxs(o.Fragment,{children:[E,c.jsx(F,{children:c.jsx(N.default,{nodeRef:m,in:p,timeout:h,unmountOnExit:!0,children:e=>c.jsxs("div",{ref:m,style:v,className:$("fixed flex justify-center items-center z-10 pointer-events-none transition-[scale,opacity] [--ratio:1] rtl:[--ratio:-1]",...M,j[e]),children:[c.jsx("span",{className:f.twMerge("relative block size-fit min-w-fit min-h-fit bg-dark text-sm rounded px-2 py-px whitespace-nowrap z-[1]",r==null?void 0:r.base,g,w),...b,children:x}),c.jsx("span",{className:f.twMerge("block size-3 min-w-3 min-h-3 bg-dark rotate-45",k,g)})]})})})]})}module.exports=P;
@@ -1,24 +1,24 @@
1
1
  "use client";
2
- import { jsxs as d, jsx as p } from "react/jsx-runtime";
2
+ import { jsxs as g, jsx as c } from "react/jsx-runtime";
3
3
  import N from "../../helpers/cn.es.js";
4
4
  import O from "../../hooks/useClasses.es.js";
5
- import { useRef as h, useState as w, useMemo as c, cloneElement as T, useCallback as S, useEffect as q, Fragment as A } from "react";
5
+ import { useRef as h, useState as w, useMemo as p, cloneElement as T, useCallback as H, useEffect as S, Fragment as W } from "react";
6
6
  import { twMerge as x } from "../../node_modules/tailwind-merge/dist/bundle-mjs.es.js";
7
- import D from "../Portal/index.es.js";
8
- import G from "../../node_modules/react-transition-group/esm/Transition.es.js";
9
- function W({
7
+ import q from "../Portal/index.es.js";
8
+ import A from "../../node_modules/react-transition-group/esm/Transition.es.js";
9
+ function V({
10
10
  title: b,
11
11
  color: a = "dark",
12
12
  placement: i = "top",
13
13
  duration: v = 300,
14
14
  className: y,
15
- children: n,
15
+ children: r,
16
16
  ...k
17
17
  }) {
18
- const o = O((e) => e.tooltip), f = h(null), u = h(null), [m, l] = w(!1), [E, C] = w({}), g = c(() => {
19
- var t;
18
+ const n = O((t) => t.tooltip), u = h(null), f = h(null), [m, l] = w(!1), [E, C] = w({}), d = p(() => {
19
+ var e;
20
20
  if (!a) return "border-transparent";
21
- const e = {
21
+ const t = {
22
22
  primary: "bg-primary text-white",
23
23
  secondary: "bg-secondary text-white",
24
24
  success: "bg-success text-white",
@@ -28,94 +28,94 @@ function W({
28
28
  dark: "bg-dark text-white",
29
29
  light: "bg-light text-dark"
30
30
  };
31
- return [e == null ? void 0 : e[a], (t = o == null ? void 0 : o.color) == null ? void 0 : t[a]];
32
- }, [a, o == null ? void 0 : o.color]), L = c(() => {
33
- var t;
34
- return [{
35
- top: "w-(--width) top-(--top) left-(--left) right-(--right) translate-y-[calc(-100%-0.5rem)] flex-col origin-bottom",
36
- end: "h-(--height) top-(--top) bottom-(--bottom) left-(--right) translate-x-[0.5rem] flex-row-reverse origin-start",
37
- bottom: "w-(--width) top-(--bottom) left-(--left) right-(--right) translate-y-[0.5rem] flex-col-reverse origin-top",
38
- start: "h-(--height) top-(--top) bottom-(--bottom) left-(--left) translate-x-[calc(var(--ratio)*-100%-0.5rem)] flex-row origin-start"
39
- }[i], (t = o == null ? void 0 : o.placement) == null ? void 0 : t[i]];
40
- }, [i, o == null ? void 0 : o.placement]), M = {
31
+ return [t == null ? void 0 : t[a], (e = n == null ? void 0 : n.color) == null ? void 0 : e[a]];
32
+ }, [a, n == null ? void 0 : n.color]), z = p(() => {
33
+ var o;
34
+ return ["size-0 min-w-(--width) min-h-(--height) top-(--top) right-(--right) bottom-(--bottom) left-(--left) justify-end items-center p-1.5", {
35
+ top: "-translate-y-full flex-col origin-bottom",
36
+ end: "translate-x-[calc(var(--ratio)*100%)] flex-row-reverse origin-left rtl:origin-right",
37
+ bottom: "translate-y-full flex-col-reverse origin-top",
38
+ start: "translate-x-[calc(var(--ratio)*-100%)] flex-row origin-right rtl:origin-left"
39
+ }[i], (o = n == null ? void 0 : n.placement) == null ? void 0 : o[i]];
40
+ }, [i, n == null ? void 0 : n.placement]), L = {
41
41
  entering: "scale-100 opacity-100",
42
42
  entered: "scale-100 opacity-100",
43
43
  exiting: "scale-75 opacity-0",
44
44
  exited: "scale-75 opacity-0",
45
45
  unmounted: ""
46
- }, $ = c(() => ({
46
+ }, M = p(() => ({
47
47
  top: "mt-[-0.5rem]",
48
48
  end: "me-[-0.5rem]",
49
49
  bottom: "mb-[-0.5rem]",
50
50
  start: "ms-[-0.5rem]"
51
- })[i], [i]), z = c(() => n ? T(n, {
52
- ref: (e) => {
53
- u.current = e;
51
+ })[i], [i]), $ = p(() => r ? T(r, {
52
+ ref: (t) => {
53
+ f.current = t;
54
54
  },
55
- onMouseEnter: (e) => {
56
- var t, r;
57
- (r = (t = n.props).onMouseEnter) == null || r.call(t, e), l(!0);
55
+ onMouseEnter: (t) => {
56
+ var e, o;
57
+ (o = (e = r.props).onMouseEnter) == null || o.call(e, t), l(!0);
58
58
  },
59
- onMouseLeave: (e) => {
60
- var t, r;
61
- (r = (t = n.props).onMouseLeave) == null || r.call(t, e), l(!1);
59
+ onMouseLeave: (t) => {
60
+ var e, o;
61
+ (o = (e = r.props).onMouseLeave) == null || o.call(e, t), l(!1);
62
62
  },
63
- onFocus: (e) => {
64
- var t, r;
65
- (r = (t = n.props).onFocus) == null || r.call(t, e), l(!0);
63
+ onFocus: (t) => {
64
+ var e, o;
65
+ (o = (e = r.props).onFocus) == null || o.call(e, t), l(!0);
66
66
  },
67
- onBlur: (e) => {
68
- var t, r;
69
- (r = (t = n.props).onBlur) == null || r.call(t, e), l(!1);
67
+ onBlur: (t) => {
68
+ var e, o;
69
+ (o = (e = r.props).onBlur) == null || o.call(e, t), l(!1);
70
70
  }
71
- }) : null, [n]), s = S(() => {
72
- const e = u.current;
73
- if (!e) return;
74
- const t = e.getBoundingClientRect(), r = t.width, R = t.height, P = t.top, j = t.left, B = t.right, F = t.bottom;
71
+ }) : null, [r]), s = H(() => {
72
+ const t = f.current;
73
+ if (!t) return;
74
+ const e = t.getBoundingClientRect(), o = e.width, R = e.height, j = e.top, P = e.left, B = window.innerWidth - e.right, F = window.innerHeight - e.bottom;
75
75
  C({
76
- "--width": `${r}px`,
76
+ "--width": `${o}px`,
77
77
  "--height": `${R}px`,
78
- "--top": `${P}px`,
79
- "--left": `${j}px`,
78
+ "--top": `${j}px`,
79
+ "--left": `${P}px`,
80
80
  "--right": `${B}px`,
81
81
  "--bottom": `${F}px`
82
82
  });
83
83
  }, []);
84
- return q(() => (m && s(), window.addEventListener("scroll", s), window.addEventListener("resize", s), () => {
84
+ return S(() => (m && s(), window.addEventListener("scroll", s), window.addEventListener("resize", s), () => {
85
85
  window.removeEventListener("scroll", s), window.removeEventListener("resize", s);
86
- }), [m, i, s]), /* @__PURE__ */ d(A, { children: [
87
- z,
88
- /* @__PURE__ */ p(D, { children: /* @__PURE__ */ p(G, { nodeRef: f, in: m, timeout: v, unmountOnExit: !0, children: (e) => /* @__PURE__ */ d(
86
+ }), [m, i, s]), /* @__PURE__ */ g(W, { children: [
87
+ $,
88
+ /* @__PURE__ */ c(q, { children: /* @__PURE__ */ c(A, { nodeRef: u, in: m, timeout: v, unmountOnExit: !0, children: (t) => /* @__PURE__ */ g(
89
89
  "div",
90
90
  {
91
- ref: f,
91
+ ref: u,
92
92
  style: E,
93
93
  className: N(
94
94
  "fixed flex justify-center items-center z-10 pointer-events-none transition-[scale,opacity] [--ratio:1] rtl:[--ratio:-1]",
95
- ...L,
96
- M[e]
95
+ ...z,
96
+ L[t]
97
97
  ),
98
98
  children: [
99
- /* @__PURE__ */ p(
99
+ /* @__PURE__ */ c(
100
100
  "span",
101
101
  {
102
102
  className: x(
103
- "relative block w-fit h-fit bg-dark text-sm rounded px-2 py-px whitespace-nowrap z-[1]",
104
- o == null ? void 0 : o.base,
105
- g,
103
+ "relative block size-fit min-w-fit min-h-fit bg-dark text-sm rounded px-2 py-px whitespace-nowrap z-[1]",
104
+ n == null ? void 0 : n.base,
105
+ d,
106
106
  y
107
107
  ),
108
108
  ...k,
109
109
  children: b
110
110
  }
111
111
  ),
112
- /* @__PURE__ */ p(
112
+ /* @__PURE__ */ c(
113
113
  "span",
114
114
  {
115
115
  className: x(
116
- "block size-3 bg-dark rotate-45",
117
- $,
118
- g
116
+ "block size-3 min-w-3 min-h-3 bg-dark rotate-45",
117
+ M,
118
+ d
119
119
  )
120
120
  }
121
121
  )
@@ -125,5 +125,5 @@ function W({
125
125
  ] });
126
126
  }
127
127
  export {
128
- W as default
128
+ V as default
129
129
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "reaxify",
3
3
  "private": false,
4
- "version": "0.0.82",
4
+ "version": "0.0.84",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "files": [