@eluan/core 0.4.1 → 0.5.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.
Files changed (139) hide show
  1. package/dist/{action-popover-DUJjIthU.js → action-popover-BVJQBuky.js} +1 -1
  2. package/dist/{action-popover-CCRZyXVl.cjs → action-popover-D6K9aVFk.cjs} +1 -1
  3. package/dist/action-popover.cjs +1 -1
  4. package/dist/action-popover.js +1 -1
  5. package/dist/{breadcrumb-Czu2XwgU.js → breadcrumb-Cm1nb9Xj.js} +1 -1
  6. package/dist/{breadcrumb-D6_IoicI.cjs → breadcrumb-NWXeCH5q.cjs} +1 -1
  7. package/dist/breadcrumb.cjs +1 -1
  8. package/dist/breadcrumb.js +1 -1
  9. package/dist/{calendar-Dd-Ud2zz.cjs → calendar-7LX5YGGT.cjs} +1 -1
  10. package/dist/{calendar-BUPsr0be.js → calendar-BpBsomy5.js} +1 -1
  11. package/dist/calendar.cjs +1 -1
  12. package/dist/calendar.js +1 -1
  13. package/dist/{command-C3oAkkaa.cjs → command-BCl0seLL.cjs} +1 -1
  14. package/dist/{command-D1iTMmyh.js → command-Chs5VlBL.js} +1 -1
  15. package/dist/command.cjs +1 -1
  16. package/dist/command.js +1 -1
  17. package/dist/components/context-menu.d.ts +14 -2
  18. package/dist/components/dialog.d.ts +10 -0
  19. package/dist/components/dropdown-menu.d.ts +14 -2
  20. package/dist/components/menubar.d.ts +14 -2
  21. package/dist/components/popover.d.ts +10 -0
  22. package/dist/components/select.d.ts +10 -0
  23. package/dist/components/sheet.d.ts +10 -0
  24. package/dist/components/tree-view.d.ts +5 -0
  25. package/dist/components/typography.d.ts +2 -2
  26. package/dist/context-menu-1WehRCpR.cjs +1 -0
  27. package/dist/{context-menu-BFvleIE-.js → context-menu-Bd6m1RYU.js} +40 -35
  28. package/dist/context-menu.cjs +1 -1
  29. package/dist/context-menu.js +1 -1
  30. package/dist/{date-picker-K5GcZ_Li.cjs → date-picker-DGBsfZXx.cjs} +1 -1
  31. package/dist/{date-picker-CISIHHyU.js → date-picker-ni8td8Ru.js} +2 -2
  32. package/dist/date-picker.cjs +1 -1
  33. package/dist/date-picker.js +1 -1
  34. package/dist/{datetime-picker-CP_fhCA-.cjs → datetime-picker-C1d63MaA.cjs} +1 -1
  35. package/dist/{datetime-picker-zTrUj815.js → datetime-picker-DsnHYRK-.js} +2 -2
  36. package/dist/datetime-picker.cjs +1 -1
  37. package/dist/datetime-picker.js +1 -1
  38. package/dist/dialog-B8eWKqzS.js +64 -0
  39. package/dist/dialog-DWYtFhZl.cjs +1 -0
  40. package/dist/dialog.cjs +1 -1
  41. package/dist/dialog.js +1 -1
  42. package/dist/dropdown-menu-_h_fqgvS.cjs +1 -0
  43. package/dist/dropdown-menu-p0NkOoTP.js +115 -0
  44. package/dist/dropdown-menu.cjs +1 -1
  45. package/dist/dropdown-menu.js +1 -1
  46. package/dist/{fieldset-D-hGYILF.js → fieldset-5V8wx-KE.js} +1 -1
  47. package/dist/fieldset-C3aAINhi.cjs +1 -0
  48. package/dist/fieldset.cjs +1 -1
  49. package/dist/fieldset.js +1 -1
  50. package/dist/{header-BqNWcy93.js → header-CDOWlOAR.js} +1 -1
  51. package/dist/{header-Dg6y6pKR.cjs → header-CiZQY_7S.cjs} +1 -1
  52. package/dist/header.cjs +1 -1
  53. package/dist/header.js +1 -1
  54. package/dist/index.cjs +5 -5
  55. package/dist/index.d.ts +1 -0
  56. package/dist/index.js +540 -500
  57. package/dist/input-otp-DcZ7wyjs.cjs +1 -0
  58. package/dist/input-otp-DmEGB1nu.js +95 -0
  59. package/dist/input-otp.cjs +1 -1
  60. package/dist/input-otp.js +1 -1
  61. package/dist/menubar-CKWQEl7c.cjs +1 -0
  62. package/dist/menubar-F1_bhmku.js +112 -0
  63. package/dist/menubar.cjs +1 -1
  64. package/dist/menubar.js +1 -1
  65. package/dist/multi-select-DPoOHWSC.js +74 -0
  66. package/dist/multi-select-fX5FXYEY.cjs +1 -0
  67. package/dist/multi-select.cjs +1 -1
  68. package/dist/multi-select.js +1 -1
  69. package/dist/{navigation-drawer-C99JVOby.js → navigation-drawer-BbeDYPhu.js} +1 -1
  70. package/dist/{navigation-drawer-CVxS6X5J.cjs → navigation-drawer-DOOHfbY3.cjs} +1 -1
  71. package/dist/navigation-drawer.cjs +1 -1
  72. package/dist/navigation-drawer.js +1 -1
  73. package/dist/{pagination-CVZk8eCM.cjs → pagination-4IuE_APs.cjs} +1 -1
  74. package/dist/{pagination-DhGezNeG.js → pagination-DTWRjiOm.js} +1 -1
  75. package/dist/pagination.cjs +1 -1
  76. package/dist/pagination.js +1 -1
  77. package/dist/{phone-input-DXkhw_4A.cjs → phone-input-BQjZj5jI.cjs} +1 -1
  78. package/dist/{phone-input-COi21JIl.js → phone-input-CSBpGHvI.js} +1 -1
  79. package/dist/phone-input.cjs +1 -1
  80. package/dist/phone-input.js +1 -1
  81. package/dist/popover-DPc4rRsR.js +70 -0
  82. package/dist/popover-Db6VOysz.cjs +1 -0
  83. package/dist/popover.cjs +1 -1
  84. package/dist/popover.js +1 -1
  85. package/dist/portal-container-BOjF64TG.js +31 -0
  86. package/dist/portal-container-C0jBwG4U.cjs +1 -0
  87. package/dist/providers/eluan-provider.d.ts +10 -1
  88. package/dist/providers/portal-container.d.ts +29 -0
  89. package/dist/{rich-text-CuJJFeUV.js → rich-text-BZSyuYSo.js} +53 -53
  90. package/dist/rich-text-DerWxzdn.cjs +73 -0
  91. package/dist/rich-text.cjs +1 -1
  92. package/dist/rich-text.js +1 -1
  93. package/dist/{search-input-BRf6r110.cjs → search-input-Dmmo-BEL.cjs} +1 -1
  94. package/dist/{search-input-DrO3-p4h.js → search-input-bFNW6oiE.js} +35 -28
  95. package/dist/search-input.cjs +1 -1
  96. package/dist/search-input.js +1 -1
  97. package/dist/select-1Eb3NSrR.cjs +1 -0
  98. package/dist/{select-3GU6G3YF.js → select-DDSYjKtj.js} +65 -60
  99. package/dist/select.cjs +1 -1
  100. package/dist/select.js +1 -1
  101. package/dist/sheet-7NP1LuHy.cjs +1 -0
  102. package/dist/sheet-D5HWF66e.js +140 -0
  103. package/dist/sheet.cjs +1 -1
  104. package/dist/sheet.js +1 -1
  105. package/dist/styles.css +230 -46
  106. package/dist/tabs-C9NKBmH0.js +22 -0
  107. package/dist/tabs-DztJ2iVc.cjs +1 -0
  108. package/dist/tabs.cjs +1 -1
  109. package/dist/tabs.js +1 -1
  110. package/dist/{tooltip-DTOC9Xwd.js → tooltip-BlCQKhUE.js} +1 -1
  111. package/dist/{tooltip-BZYIVbFE.cjs → tooltip-Cyu7fWYZ.cjs} +1 -1
  112. package/dist/tooltip.cjs +1 -1
  113. package/dist/tooltip.js +1 -1
  114. package/dist/tree-view-CNvEc1TT.cjs +1 -0
  115. package/dist/{tree-view-BE4eOyRw.js → tree-view-CyeJR7cW.js} +32 -31
  116. package/dist/tree-view.cjs +1 -1
  117. package/dist/tree-view.js +1 -1
  118. package/package.json +2 -2
  119. package/dist/context-menu-BZobMAds.cjs +0 -1
  120. package/dist/dialog-B8uNe51F.cjs +0 -1
  121. package/dist/dialog-BVe6-J_z.js +0 -59
  122. package/dist/dropdown-menu-BtU3Yhar.cjs +0 -1
  123. package/dist/dropdown-menu-CA2MpoMo.js +0 -110
  124. package/dist/fieldset-DAv2Ggd8.cjs +0 -1
  125. package/dist/input-otp-BWPRKJ4m.js +0 -95
  126. package/dist/input-otp-BYEy4XaO.cjs +0 -1
  127. package/dist/menubar-B82Hp9r0.cjs +0 -1
  128. package/dist/menubar-DMZxna8-.js +0 -107
  129. package/dist/multi-select-BM4Zxa3I.js +0 -76
  130. package/dist/multi-select-FXNBRmwx.cjs +0 -1
  131. package/dist/popover-B_Kfx06V.js +0 -65
  132. package/dist/popover-DJ5e6lwh.cjs +0 -1
  133. package/dist/rich-text-uAtn5CZk.cjs +0 -73
  134. package/dist/select-CGLm4HTg.cjs +0 -1
  135. package/dist/sheet-BX5CahuG.cjs +0 -1
  136. package/dist/sheet-C8A5eehq.js +0 -135
  137. package/dist/tabs-Bpm29QTI.cjs +0 -1
  138. package/dist/tabs-DNkc9RO6.js +0 -22
  139. package/dist/tree-view-B6pPS7dg.cjs +0 -1
@@ -2,7 +2,7 @@
2
2
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
3
3
  import * as n from "react";
4
4
  import { MoreHorizontal as c } from "lucide-react";
5
- import { D as p, n as u, b as h, d as m } from "./dropdown-menu-CA2MpoMo.js";
5
+ import { D as p, n as u, b as h, d as m } from "./dropdown-menu-p0NkOoTP.js";
6
6
  import { B as f } from "./button-ANAPDrvs.js";
7
7
  const x = n.forwardRef(({
8
8
  items: a,
@@ -1 +1 @@
1
- "use client";"use strict";const t=require("react/jsx-runtime"),u=require("react"),p=require("lucide-react"),i=require("./dropdown-menu-BtU3Yhar.cjs"),x=require("./button-Ny6OF8Un.cjs");function f(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const o in n)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(r,o,c.get?c:{enumerable:!0,get:()=>n[o]})}}return r.default=n,Object.freeze(r)}const s=f(u),a=s.forwardRef(({items:n,align:r="end",side:o="bottom","aria-label":c="Open actions menu"},l)=>t.jsxs(i.DropdownMenu,{children:[t.jsx(i.DropdownMenuTrigger,{asChild:!0,children:t.jsx(x.Button,{ref:l,variant:"ghost",size:"icon","aria-label":c,children:t.jsx(p.MoreHorizontal,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})})}),t.jsx(i.DropdownMenuContent,{align:r,side:o,children:n.map((e,d)=>t.jsxs(i.DropdownMenuItem,{onClick:e.onClick,disabled:e.disabled,tone:e.destructive?"destructive":"default",children:[e.icon&&t.jsx("span",{className:"x6s0dn4 x78zum5 x2lah0s xkive58 x1vfp87d",children:s.isValidElement(e.icon)?s.cloneElement(e.icon,{width:"100%",height:"100%"}):e.icon}),e.label]},d))})]}));a.displayName="ActionPopover";exports.ActionPopover=a;
1
+ "use client";"use strict";const t=require("react/jsx-runtime"),u=require("react"),p=require("lucide-react"),i=require("./dropdown-menu-_h_fqgvS.cjs"),x=require("./button-Ny6OF8Un.cjs");function f(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const o in n)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(r,o,c.get?c:{enumerable:!0,get:()=>n[o]})}}return r.default=n,Object.freeze(r)}const s=f(u),a=s.forwardRef(({items:n,align:r="end",side:o="bottom","aria-label":c="Open actions menu"},l)=>t.jsxs(i.DropdownMenu,{children:[t.jsx(i.DropdownMenuTrigger,{asChild:!0,children:t.jsx(x.Button,{ref:l,variant:"ghost",size:"icon","aria-label":c,children:t.jsx(p.MoreHorizontal,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})})}),t.jsx(i.DropdownMenuContent,{align:r,side:o,children:n.map((e,d)=>t.jsxs(i.DropdownMenuItem,{onClick:e.onClick,disabled:e.disabled,tone:e.destructive?"destructive":"default",children:[e.icon&&t.jsx("span",{className:"x6s0dn4 x78zum5 x2lah0s xkive58 x1vfp87d",children:s.isValidElement(e.icon)?s.cloneElement(e.icon,{width:"100%",height:"100%"}):e.icon}),e.label]},d))})]}));a.displayName="ActionPopover";exports.ActionPopover=a;
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./action-popover-CCRZyXVl.cjs");exports.ActionPopover=e.ActionPopover;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./action-popover-D6K9aVFk.cjs");exports.ActionPopover=e.ActionPopover;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { A as r } from "./action-popover-DUJjIthU.js";
2
+ import { A as r } from "./action-popover-BVJQBuky.js";
3
3
  export {
4
4
  r as ActionPopover
5
5
  };
@@ -4,7 +4,7 @@ import * as s from "react";
4
4
  import { Slot as l } from "@radix-ui/react-slot";
5
5
  import { MoreHorizontal as d, ChevronRight as i } from "lucide-react";
6
6
  import { B as m } from "./button-ANAPDrvs.js";
7
- import { D as c, n as t, b as x, d as u } from "./dropdown-menu-CA2MpoMo.js";
7
+ import { D as c, n as t, b as x, d as u } from "./dropdown-menu-p0NkOoTP.js";
8
8
  const p = s.forwardRef(({
9
9
  ...r
10
10
  }, a) => /* @__PURE__ */ e("nav", { ref: a, "aria-label": "breadcrumb", ...r }));
@@ -1 +1 @@
1
- "use client";"use strict";const a=require("react/jsx-runtime"),p=require("react"),f=require("@radix-ui/react-slot"),o=require("lucide-react"),j=require("./button-Ny6OF8Un.cjs"),c=require("./dropdown-menu-BtU3Yhar.cjs");function B(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>e[s]})}}return r.default=e,Object.freeze(r)}const n=B(p),i=n.forwardRef(({...e},r)=>a.jsx("nav",{ref:r,"aria-label":"breadcrumb",...e}));i.displayName="Breadcrumb";const l=n.forwardRef(({...e},r)=>a.jsx("ol",{ref:r,...e,className:"x6s0dn4 x1uuraw0 x78zum5 x1a02dak x1eqnyfr x1o29ju6 x1mzt3pk x13pp3z7"}));l.displayName="BreadcrumbList";const d=n.forwardRef(({...e},r)=>a.jsx("li",{ref:r,...e,className:"x6s0dn4 x3nfvp2 x1o29ju6"}));d.displayName="BreadcrumbItem";const u=n.forwardRef(({asChild:e,...r},s)=>{const t=e?f.Slot:"a";return a.jsx(t,{ref:s,...r,className:"xx6bhzk xt3l3uh xwwtwea x1leyzdx"})});u.displayName="BreadcrumbLink";const x=n.forwardRef(({...e},r)=>a.jsx("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",...e,className:"x1sjp1m2 xo1l8bm"}));x.displayName="BreadcrumbPage";const m=({children:e,...r})=>a.jsx("li",{role:"presentation","aria-hidden":"true",...r,children:e&&n.isValidElement(e)?n.cloneElement(e,{className:"x1us9z5t x1vty8ic"}):e??a.jsx(o.ChevronRight,{className:"x1us9z5t x1vty8ic"})});m.displayName="BreadcrumbSeparator";const b=({items:e=[]})=>e.length===0?a.jsxs("span",{role:"presentation","aria-hidden":"true",className:"x6s0dn4 x78zum5 xwfmp28 xl56j7k x2dhfp8",children:[a.jsx(o.MoreHorizontal,{className:"xkive58 x1vfp87d"}),a.jsx("span",{className:"xc342km xzpqnlu xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s",children:"More breadcrumbs"})]}):a.jsxs(c.DropdownMenu,{children:[a.jsx(c.DropdownMenuTrigger,{asChild:!0,children:a.jsx(j.Button,{variant:"ghost",size:"iconXs","aria-label":"Show more breadcrumbs",children:a.jsx(o.MoreHorizontal,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})})}),a.jsx(c.DropdownMenuContent,{align:"start",children:e.map((r,s)=>a.jsx(c.DropdownMenuItem,{disabled:!r.href&&!r.onClick,onClick:()=>{r.onClick?r.onClick():r.href&&(window.location.href=r.href)},children:r.label},s))})]});b.displayName="BreadcrumbEllipsis";exports.Breadcrumb=i;exports.BreadcrumbEllipsis=b;exports.BreadcrumbItem=d;exports.BreadcrumbLink=u;exports.BreadcrumbList=l;exports.BreadcrumbPage=x;exports.BreadcrumbSeparator=m;
1
+ "use client";"use strict";const a=require("react/jsx-runtime"),p=require("react"),f=require("@radix-ui/react-slot"),o=require("lucide-react"),j=require("./button-Ny6OF8Un.cjs"),c=require("./dropdown-menu-_h_fqgvS.cjs");function B(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>e[s]})}}return r.default=e,Object.freeze(r)}const n=B(p),i=n.forwardRef(({...e},r)=>a.jsx("nav",{ref:r,"aria-label":"breadcrumb",...e}));i.displayName="Breadcrumb";const l=n.forwardRef(({...e},r)=>a.jsx("ol",{ref:r,...e,className:"x6s0dn4 x1uuraw0 x78zum5 x1a02dak x1eqnyfr x1o29ju6 x1mzt3pk x13pp3z7"}));l.displayName="BreadcrumbList";const d=n.forwardRef(({...e},r)=>a.jsx("li",{ref:r,...e,className:"x6s0dn4 x3nfvp2 x1o29ju6"}));d.displayName="BreadcrumbItem";const u=n.forwardRef(({asChild:e,...r},s)=>{const t=e?f.Slot:"a";return a.jsx(t,{ref:s,...r,className:"xx6bhzk xt3l3uh xwwtwea x1leyzdx"})});u.displayName="BreadcrumbLink";const x=n.forwardRef(({...e},r)=>a.jsx("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",...e,className:"x1sjp1m2 xo1l8bm"}));x.displayName="BreadcrumbPage";const m=({children:e,...r})=>a.jsx("li",{role:"presentation","aria-hidden":"true",...r,children:e&&n.isValidElement(e)?n.cloneElement(e,{className:"x1us9z5t x1vty8ic"}):e??a.jsx(o.ChevronRight,{className:"x1us9z5t x1vty8ic"})});m.displayName="BreadcrumbSeparator";const b=({items:e=[]})=>e.length===0?a.jsxs("span",{role:"presentation","aria-hidden":"true",className:"x6s0dn4 x78zum5 xwfmp28 xl56j7k x2dhfp8",children:[a.jsx(o.MoreHorizontal,{className:"xkive58 x1vfp87d"}),a.jsx("span",{className:"xc342km xzpqnlu xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s",children:"More breadcrumbs"})]}):a.jsxs(c.DropdownMenu,{children:[a.jsx(c.DropdownMenuTrigger,{asChild:!0,children:a.jsx(j.Button,{variant:"ghost",size:"iconXs","aria-label":"Show more breadcrumbs",children:a.jsx(o.MoreHorizontal,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})})}),a.jsx(c.DropdownMenuContent,{align:"start",children:e.map((r,s)=>a.jsx(c.DropdownMenuItem,{disabled:!r.href&&!r.onClick,onClick:()=>{r.onClick?r.onClick():r.href&&(window.location.href=r.href)},children:r.label},s))})]});b.displayName="BreadcrumbEllipsis";exports.Breadcrumb=i;exports.BreadcrumbEllipsis=b;exports.BreadcrumbItem=d;exports.BreadcrumbLink=u;exports.BreadcrumbList=l;exports.BreadcrumbPage=x;exports.BreadcrumbSeparator=m;
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./breadcrumb-D6_IoicI.cjs");exports.Breadcrumb=r.Breadcrumb;exports.BreadcrumbEllipsis=r.BreadcrumbEllipsis;exports.BreadcrumbItem=r.BreadcrumbItem;exports.BreadcrumbLink=r.BreadcrumbLink;exports.BreadcrumbList=r.BreadcrumbList;exports.BreadcrumbPage=r.BreadcrumbPage;exports.BreadcrumbSeparator=r.BreadcrumbSeparator;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./breadcrumb-NWXeCH5q.cjs");exports.Breadcrumb=r.Breadcrumb;exports.BreadcrumbEllipsis=r.BreadcrumbEllipsis;exports.BreadcrumbItem=r.BreadcrumbItem;exports.BreadcrumbLink=r.BreadcrumbLink;exports.BreadcrumbList=r.BreadcrumbList;exports.BreadcrumbPage=r.BreadcrumbPage;exports.BreadcrumbSeparator=r.BreadcrumbSeparator;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { B as e, a as s, b as c, c as m, d as b, e as d, f as u } from "./breadcrumb-Czu2XwgU.js";
2
+ import { B as e, a as s, b as c, c as m, d as b, e as d, f as u } from "./breadcrumb-Cm1nb9Xj.js";
3
3
  export {
4
4
  e as Breadcrumb,
5
5
  s as BreadcrumbEllipsis,
@@ -1,4 +1,4 @@
1
- "use client";"use strict";const e=require("react/jsx-runtime"),S=require("react"),z=require("@stylexjs/stylex"),m=require("lucide-react"),M=require("react-day-picker"),v=require("./button-Ny6OF8Un.cjs"),d=require("./select-CGLm4HTg.cjs"),N=require("./use-controllable-state-D1HvlFwL.cjs"),q=require("./inject-stylesheet-j6SkUo-d.cjs");function y(n){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const o in n)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(t,o,c.get?c:{enumerable:!0,get:()=>n[o]})}}return t.default=n,Object.freeze(t)}const k=y(S),C=y(z),I=["January","February","March","April","May","June","July","August","September","October","November","December"],D=Array.from({length:10},(n,t)=>new Date().getFullYear()-5+t),b=k.createContext(null);function P({calendarMonth:n}){var c;const t=(c=k.useContext(b))==null?void 0:c.setMonth,o=n.date;return e.jsxs("div",{className:"x6s0dn4 x78zum5 xpfqfdi xl56j7k xl6wn3m",children:[e.jsxs(d.Select,{value:String(o.getMonth()),onValueChange:s=>{const l=new Date(o);l.setMonth(Number(s)),t==null||t(l)},children:[e.jsx(d.SelectTrigger,{variant:"calendarCaption",children:e.jsx(d.SelectValue,{})}),e.jsx(d.SelectContent,{layout:"auto",children:I.map((s,l)=>e.jsx(d.SelectItem,{value:String(l),size:"sm",children:s},l))})]}),e.jsxs(d.Select,{value:String(o.getFullYear()),onValueChange:s=>{const l=new Date(o);l.setFullYear(Number(s)),t==null||t(l)},children:[e.jsx(d.SelectTrigger,{variant:"calendarCaption",children:e.jsx(d.SelectValue,{})}),e.jsx(d.SelectContent,{layout:"auto",children:D.map(s=>e.jsx(d.SelectItem,{value:String(s),size:"sm",children:s},s))})]})]})}function p({showOutsideDays:n=!0,disabled:t,components:o,month:c,defaultMonth:s,onMonthChange:l,...h}){const[g,x]=N.useControllableState({value:c,defaultValue:s??new Date,onChange:l});k.useInsertionEffect(()=>{q.ensureStyleSheet("eluan-calendar-styles",T)},[]);const f=k.useMemo(()=>({setMonth:x}),[x]),j=()=>{const i=new Date(g);i.setMonth(i.getMonth()-1),x(i)},w=()=>{const i=new Date(g);i.setMonth(i.getMonth()+1),x(i)},u=h.selected,$=!!(h.mode==="range"&&u&&typeof u=="object"&&"from"in u&&"to"in u&&u.from&&u.to);return e.jsx(b.Provider,{value:f,children:e.jsxs("div",{...{0:{className:"x6s0dn4 x78zum5 xxhr3t xv0kgt4"},1:{className:"x6s0dn4 x78zum5 xxhr3t xv0kgt4 xbyyjgo x47corl"}}[!!t<<0],"aria-disabled":t||void 0,"data-range-complete":$?"":void 0,children:[e.jsx("span",{className:"x2lah0s xj3b58b",children:e.jsx(v.Button,{variant:"ghost",size:"iconXs",onClick:j,disabled:t,"aria-label":"Go to previous month",children:e.jsx(m.ChevronLeft,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})})}),e.jsx(M.DayPicker,{showOutsideDays:n,disabled:t||void 0,month:g,onMonthChange:t?void 0:x,hideNavigation:!0,...h,className:a(r.dayPicker),classNames:{months:a(r.months),month:a(r.month),month_caption:a(r.monthCaption),caption_label:a(r.captionLabel),month_grid:a(r.monthGrid),weekdays:a(r.weekdays),weekday:a(r.weekday),week:a(r.week),day:`${a(r.day)} eluan-calendar-day`,day_button:`${a(r.dayButton)} eluan-calendar-day-button`,range_start:`${a(r.rangeStart)} day-range-start eluan-calendar-range-start`,range_end:`${a(r.rangeEnd)} day-range-end eluan-calendar-range-end`,selected:`${a(r.selected)} eluan-calendar-selected`,today:`${a(r.today)} eluan-calendar-today`,outside:`${a(r.outside)} day-outside`,disabled:a(r.dayDisabled),range_middle:"eluan-calendar-range-middle",hidden:a(r.hidden)},components:{...o,MonthCaption:P}}),e.jsx("span",{className:"x2lah0s x1yf7rl7",children:e.jsx(v.Button,{variant:"ghost",size:"iconXs",onClick:w,disabled:t,"aria-label":"Go to next month",children:e.jsx(m.ChevronRight,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})})})]})})}p.displayName="Calendar";function a(...n){return C.props(...n).className??""}const r={dayPicker:{kzQI83:"x1iyjqo2",k7Eaqz:"xeuugli",k8WAf4:"x10dr8xq",kg3NbH:"xfn1xvj",$$css:!0},months:{k1xSpc:"x78zum5",kXwgrk:"xdt5ytf x2kc0e2",kOIVth:"x5p2hoq",kzqmXN:"xh8yej3",$$css:!0},month:{k1xSpc:"x78zum5",kCS8Yb:"x1r8uery",kXwgrk:"xdt5ytf",kzQI83:"x1iyjqo2",kOIVth:"x1e094fc",$$css:!0},monthCaption:{kGNEyG:"x6s0dn4",k1xSpc:"x78zum5",kOIVth:"x10ci2pi",kjj79g:"xl56j7k",kLKAdn:"x1dcz4t3",$$css:!0},captionLabel:{k1xSpc:"x1s85apg",$$css:!0},monthGrid:{kLvRdT:"x1mwwwfo",kzqmXN:"xh8yej3",$$css:!0},weekdays:{k1xSpc:"x78zum5",kzqmXN:"xh8yej3",$$css:!0},weekday:{kaIpWk:"x9nsp9x",kMwMTN:"x1uuraw0",kCS8Yb:"xygxfav",kzQI83:"x1iyjqo2",kmuXW:"x2lah0s",kGuDYH:"xboafo0",k63SB2:"x1iikomf",k7Eaqz:"xeuugli",k9WMMc:"x2b8uid",$$css:!0},week:{k1xSpc:"x78zum5",keoZOQ:"x1gslohp",kzqmXN:"xh8yej3",$$css:!0},day:{kCS8Yb:"xygxfav",kzQI83:"x1iyjqo2",kmuXW:"x2lah0s",kGuDYH:"x1eqnyfr",kZKoxP:"x1k4gd0d",k7Eaqz:"xeuugli",kmVPX3:"x1717udv",kVAEAm:"x1n2onr6",k9WMMc:"x2b8uid",$$css:!0},dayButton:{kGNEyG:"x6s0dn4",kaIpWk:"x1pjcqnp",k1xSpc:"x3nfvp2",kMv6JI:"xpw0y0u",kGuDYH:"x1eqnyfr",k63SB2:"xo1l8bm",kZKoxP:"x1k4gd0d",kjj79g:"xl56j7k",kmVPX3:"x1717udv",kIyJzY:"xx6bhzk",k1ekBW:"x1uwm30f",kAMwcw:"xwji4o3",khDVqt:"xuxw1ft",kzqmXN:"xh8yej3",kGzVvX:"x3wwfir",k4Z53h:"x1u0k1uu",kZs9gx:"x9hpe06",kiEn40:"x13iak60",k7shQP:"x9v5kkp",kPJHz1:"x4xl6zf",$$css:!0},rangeStart:{kWkggS:"x11tn5dx",kaIpWk:"x9nsp9x",kMwMTN:"x1vmo3ik",$$css:!0},rangeEnd:{kWkggS:"x11tn5dx",kqGeR4:"xfrllxf",kYm2EN:"x171lvyb",kIxVMA:"x1ia1hqs",ksF3WI:"x1lodlvp",kMwMTN:"x1vmo3ik",$$css:!0},selected:{kWkggS:"x11tn5dx",kaIpWk:"x9nsp9x",kMwMTN:"x1vmo3ik",$$css:!0},today:{k63SB2:"x1s688f",$$css:!0},outside:{kMwMTN:"x1vkukiw",$$css:!0},dayDisabled:{kMwMTN:"x1vkukiw",kkrTdU:"x1h6gzvc",$$css:!0},hidden:{k33iCy:"xlshs6z",$$css:!0}},T=`
1
+ "use client";"use strict";const e=require("react/jsx-runtime"),S=require("react"),z=require("@stylexjs/stylex"),m=require("lucide-react"),M=require("react-day-picker"),v=require("./button-Ny6OF8Un.cjs"),d=require("./select-1Eb3NSrR.cjs"),N=require("./use-controllable-state-D1HvlFwL.cjs"),q=require("./inject-stylesheet-j6SkUo-d.cjs");function y(n){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const o in n)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(t,o,c.get?c:{enumerable:!0,get:()=>n[o]})}}return t.default=n,Object.freeze(t)}const k=y(S),C=y(z),I=["January","February","March","April","May","June","July","August","September","October","November","December"],D=Array.from({length:10},(n,t)=>new Date().getFullYear()-5+t),b=k.createContext(null);function P({calendarMonth:n}){var c;const t=(c=k.useContext(b))==null?void 0:c.setMonth,o=n.date;return e.jsxs("div",{className:"x6s0dn4 x78zum5 xpfqfdi xl56j7k xl6wn3m",children:[e.jsxs(d.Select,{value:String(o.getMonth()),onValueChange:s=>{const l=new Date(o);l.setMonth(Number(s)),t==null||t(l)},children:[e.jsx(d.SelectTrigger,{variant:"calendarCaption",children:e.jsx(d.SelectValue,{})}),e.jsx(d.SelectContent,{layout:"auto",children:I.map((s,l)=>e.jsx(d.SelectItem,{value:String(l),size:"sm",children:s},l))})]}),e.jsxs(d.Select,{value:String(o.getFullYear()),onValueChange:s=>{const l=new Date(o);l.setFullYear(Number(s)),t==null||t(l)},children:[e.jsx(d.SelectTrigger,{variant:"calendarCaption",children:e.jsx(d.SelectValue,{})}),e.jsx(d.SelectContent,{layout:"auto",children:D.map(s=>e.jsx(d.SelectItem,{value:String(s),size:"sm",children:s},s))})]})]})}function p({showOutsideDays:n=!0,disabled:t,components:o,month:c,defaultMonth:s,onMonthChange:l,...h}){const[g,x]=N.useControllableState({value:c,defaultValue:s??new Date,onChange:l});k.useInsertionEffect(()=>{q.ensureStyleSheet("eluan-calendar-styles",T)},[]);const f=k.useMemo(()=>({setMonth:x}),[x]),j=()=>{const i=new Date(g);i.setMonth(i.getMonth()-1),x(i)},w=()=>{const i=new Date(g);i.setMonth(i.getMonth()+1),x(i)},u=h.selected,$=!!(h.mode==="range"&&u&&typeof u=="object"&&"from"in u&&"to"in u&&u.from&&u.to);return e.jsx(b.Provider,{value:f,children:e.jsxs("div",{...{0:{className:"x6s0dn4 x78zum5 xxhr3t xv0kgt4"},1:{className:"x6s0dn4 x78zum5 xxhr3t xv0kgt4 xbyyjgo x47corl"}}[!!t<<0],"aria-disabled":t||void 0,"data-range-complete":$?"":void 0,children:[e.jsx("span",{className:"x2lah0s xj3b58b",children:e.jsx(v.Button,{variant:"ghost",size:"iconXs",onClick:j,disabled:t,"aria-label":"Go to previous month",children:e.jsx(m.ChevronLeft,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})})}),e.jsx(M.DayPicker,{showOutsideDays:n,disabled:t||void 0,month:g,onMonthChange:t?void 0:x,hideNavigation:!0,...h,className:a(r.dayPicker),classNames:{months:a(r.months),month:a(r.month),month_caption:a(r.monthCaption),caption_label:a(r.captionLabel),month_grid:a(r.monthGrid),weekdays:a(r.weekdays),weekday:a(r.weekday),week:a(r.week),day:`${a(r.day)} eluan-calendar-day`,day_button:`${a(r.dayButton)} eluan-calendar-day-button`,range_start:`${a(r.rangeStart)} day-range-start eluan-calendar-range-start`,range_end:`${a(r.rangeEnd)} day-range-end eluan-calendar-range-end`,selected:`${a(r.selected)} eluan-calendar-selected`,today:`${a(r.today)} eluan-calendar-today`,outside:`${a(r.outside)} day-outside`,disabled:a(r.dayDisabled),range_middle:"eluan-calendar-range-middle",hidden:a(r.hidden)},components:{...o,MonthCaption:P}}),e.jsx("span",{className:"x2lah0s x1yf7rl7",children:e.jsx(v.Button,{variant:"ghost",size:"iconXs",onClick:w,disabled:t,"aria-label":"Go to next month",children:e.jsx(m.ChevronRight,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})})})]})})}p.displayName="Calendar";function a(...n){return C.props(...n).className??""}const r={dayPicker:{kzQI83:"x1iyjqo2",k7Eaqz:"xeuugli",k8WAf4:"x10dr8xq",kg3NbH:"xfn1xvj",$$css:!0},months:{k1xSpc:"x78zum5",kXwgrk:"xdt5ytf x2kc0e2",kOIVth:"x5p2hoq",kzqmXN:"xh8yej3",$$css:!0},month:{k1xSpc:"x78zum5",kCS8Yb:"x1r8uery",kXwgrk:"xdt5ytf",kzQI83:"x1iyjqo2",kOIVth:"x1e094fc",$$css:!0},monthCaption:{kGNEyG:"x6s0dn4",k1xSpc:"x78zum5",kOIVth:"x10ci2pi",kjj79g:"xl56j7k",kLKAdn:"x1dcz4t3",$$css:!0},captionLabel:{k1xSpc:"x1s85apg",$$css:!0},monthGrid:{kLvRdT:"x1mwwwfo",kzqmXN:"xh8yej3",$$css:!0},weekdays:{k1xSpc:"x78zum5",kzqmXN:"xh8yej3",$$css:!0},weekday:{kaIpWk:"x9nsp9x",kMwMTN:"x1uuraw0",kCS8Yb:"xygxfav",kzQI83:"x1iyjqo2",kmuXW:"x2lah0s",kGuDYH:"xboafo0",k63SB2:"x1iikomf",k7Eaqz:"xeuugli",k9WMMc:"x2b8uid",$$css:!0},week:{k1xSpc:"x78zum5",keoZOQ:"x1gslohp",kzqmXN:"xh8yej3",$$css:!0},day:{kCS8Yb:"xygxfav",kzQI83:"x1iyjqo2",kmuXW:"x2lah0s",kGuDYH:"x1eqnyfr",kZKoxP:"x1k4gd0d",k7Eaqz:"xeuugli",kmVPX3:"x1717udv",kVAEAm:"x1n2onr6",k9WMMc:"x2b8uid",$$css:!0},dayButton:{kGNEyG:"x6s0dn4",kaIpWk:"x1pjcqnp",k1xSpc:"x3nfvp2",kMv6JI:"xpw0y0u",kGuDYH:"x1eqnyfr",k63SB2:"xo1l8bm",kZKoxP:"x1k4gd0d",kjj79g:"xl56j7k",kmVPX3:"x1717udv",kIyJzY:"xx6bhzk",k1ekBW:"x1uwm30f",kAMwcw:"xwji4o3",khDVqt:"xuxw1ft",kzqmXN:"xh8yej3",kGzVvX:"x3wwfir",k4Z53h:"x1u0k1uu",kZs9gx:"x9hpe06",kiEn40:"x13iak60",k7shQP:"x9v5kkp",kPJHz1:"x4xl6zf",$$css:!0},rangeStart:{kWkggS:"x11tn5dx",kaIpWk:"x9nsp9x",kMwMTN:"x1vmo3ik",$$css:!0},rangeEnd:{kWkggS:"x11tn5dx",kqGeR4:"xfrllxf",kYm2EN:"x171lvyb",kIxVMA:"x1ia1hqs",ksF3WI:"x1lodlvp",kMwMTN:"x1vmo3ik",$$css:!0},selected:{kWkggS:"x11tn5dx",kaIpWk:"x9nsp9x",kMwMTN:"x1vmo3ik",$$css:!0},today:{k63SB2:"x1s688f",$$css:!0},outside:{kMwMTN:"x1vkukiw",$$css:!0},dayDisabled:{kMwMTN:"x1vkukiw",kkrTdU:"x1h6gzvc",$$css:!0},hidden:{k33iCy:"xlshs6z",$$css:!0}},T=`
2
2
  @media (min-width: 640px) {
3
3
  .${a(r.months)} > div + div {
4
4
  border-left: 1px solid var(--backgrounds-quaternary);
@@ -5,7 +5,7 @@ import * as N from "@stylexjs/stylex";
5
5
  import { ChevronLeft as C, ChevronRight as j } from "lucide-react";
6
6
  import { DayPicker as q } from "react-day-picker";
7
7
  import { B as g } from "./button-ANAPDrvs.js";
8
- import { S as v, h as y, i as b, a as p, c as f } from "./select-3GU6G3YF.js";
8
+ import { S as v, h as y, i as b, a as p, c as f } from "./select-DDSYjKtj.js";
9
9
  import { u as I } from "./use-controllable-state-COlF-tdU.js";
10
10
  import { e as X } from "./inject-stylesheet-BK5pOlkI.js";
11
11
  const D = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], W = Array.from({
package/dist/calendar.cjs CHANGED
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./calendar-Dd-Ud2zz.cjs");exports.Calendar=e.Calendar;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./calendar-7LX5YGGT.cjs");exports.Calendar=e.Calendar;
package/dist/calendar.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C as r } from "./calendar-BUPsr0be.js";
2
+ import { C as r } from "./calendar-BpBsomy5.js";
3
3
  export {
4
4
  r as Calendar
5
5
  };
@@ -1,4 +1,4 @@
1
- "use client";"use strict";const e=require("react/jsx-runtime"),k=require("react"),s=require("cmdk"),g=require("lucide-react"),t=require("./dialog-B8uNe51F.cjs"),N=require("./separator-CBuhe8MC.cjs");function b(a){const x=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const m in a)if(m!=="default"){const o=Object.getOwnPropertyDescriptor(a,m);Object.defineProperty(x,m,o.get?o:{enumerable:!0,get:()=>a[m]})}}return x.default=a,Object.freeze(x)}const n=b(k),r=n.createContext("default"),h=`
1
+ "use client";"use strict";const e=require("react/jsx-runtime"),k=require("react"),s=require("cmdk"),g=require("lucide-react"),t=require("./dialog-DWYtFhZl.cjs"),N=require("./separator-CBuhe8MC.cjs");function b(a){const x=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const m in a)if(m!=="default"){const o=Object.getOwnPropertyDescriptor(a,m);Object.defineProperty(x,m,o.get?o:{enumerable:!0,get:()=>a[m]})}}return x.default=a,Object.freeze(x)}const n=b(k),r=n.createContext("default"),h=`
2
2
  .eluan-command [cmdk-group-heading] {
3
3
  color: var(--container-fg-alt);
4
4
  font-size: var(--font-size-xs);
@@ -3,7 +3,7 @@ import { jsxs as t, jsx as e } from "react/jsx-runtime";
3
3
  import * as m from "react";
4
4
  import { Command as s } from "cmdk";
5
5
  import { Search as i } from "lucide-react";
6
- import { D as p, b as y, h as f, c as u } from "./dialog-BVe6-J_z.js";
6
+ import { D as p, b as y, h as f, c as u } from "./dialog-B8eWKqzS.js";
7
7
  import { S as k } from "./separator-DSnHDXVK.js";
8
8
  const n = m.createContext("default"), h = `
9
9
  .eluan-command [cmdk-group-heading] {
package/dist/command.cjs CHANGED
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./command-C3oAkkaa.cjs");exports.Command=m.Command;exports.CommandDialog=m.CommandDialog;exports.CommandEmpty=m.CommandEmpty;exports.CommandGroup=m.CommandGroup;exports.CommandInput=m.CommandInput;exports.CommandItem=m.CommandItem;exports.CommandList=m.CommandList;exports.CommandSeparator=m.CommandSeparator;exports.CommandShortcut=m.CommandShortcut;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./command-BCl0seLL.cjs");exports.Command=m.Command;exports.CommandDialog=m.CommandDialog;exports.CommandEmpty=m.CommandEmpty;exports.CommandGroup=m.CommandGroup;exports.CommandInput=m.CommandInput;exports.CommandItem=m.CommandItem;exports.CommandList=m.CommandList;exports.CommandSeparator=m.CommandSeparator;exports.CommandShortcut=m.CommandShortcut;
package/dist/command.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C as o, a as n, b as s, c as d, d as C, e as t, f as e, g as r, h as p } from "./command-D1iTMmyh.js";
2
+ import { C as o, a as n, b as s, c as d, d as C, e as t, f as e, g as r, h as p } from "./command-Chs5VlBL.js";
3
3
  export {
4
4
  o as Command,
5
5
  n as CommandDialog,
@@ -10,7 +10,13 @@ export type ContextMenuSubTriggerProps = Omit<React.ComponentPropsWithoutRef<typ
10
10
  inset?: boolean;
11
11
  };
12
12
  export type ContextMenuSubContentProps = Omit<React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>, "className" | "style">;
13
- export type ContextMenuContentProps = Omit<React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>, "className" | "style">;
13
+ export type ContextMenuContentProps = Omit<React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>, "className" | "style"> & {
14
+ /**
15
+ * Element to portal into, overriding `PortalContainerProvider`.
16
+ * Defaults to the nearest provider's container, then `document.body`.
17
+ */
18
+ container?: HTMLElement | null;
19
+ };
14
20
  export type ContextMenuItemProps = Omit<React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item>, "className" | "style"> & {
15
21
  inset?: boolean;
16
22
  };
@@ -25,7 +31,13 @@ declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<Omit<C
25
31
  inset?: boolean;
26
32
  } & React.RefAttributes<HTMLDivElement>>;
27
33
  declare const ContextMenuSubContent: React.ForwardRefExoticComponent<ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>>;
28
- declare const ContextMenuContent: React.ForwardRefExoticComponent<ContextMenuContentProps & React.RefAttributes<HTMLDivElement>>;
34
+ declare const ContextMenuContent: React.ForwardRefExoticComponent<Omit<Omit<ContextMenuPrimitive.ContextMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "style" | "className"> & {
35
+ /**
36
+ * Element to portal into, overriding `PortalContainerProvider`.
37
+ * Defaults to the nearest provider's container, then `document.body`.
38
+ */
39
+ container?: HTMLElement | null;
40
+ } & React.RefAttributes<HTMLDivElement>>;
29
41
  declare const ContextMenuItem: React.ForwardRefExoticComponent<Omit<Omit<ContextMenuPrimitive.ContextMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref">, "style" | "className"> & {
30
42
  inset?: boolean;
31
43
  } & React.RefAttributes<HTMLDivElement>>;
@@ -7,6 +7,11 @@ declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.Dialo
7
7
  export type DialogOverlayProps = Omit<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>, "className" | "style">;
8
8
  export type DialogContentProps = Omit<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, "className" | "style"> & {
9
9
  layout?: "default" | "command";
10
+ /**
11
+ * Element to portal into, overriding `PortalContainerProvider`.
12
+ * Defaults to the nearest provider's container, then `document.body`.
13
+ */
14
+ container?: HTMLElement | null;
10
15
  };
11
16
  export type DialogDivProps = Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style">;
12
17
  export type DialogTitleProps = Omit<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>, "className" | "style">;
@@ -14,6 +19,11 @@ export type DialogDescriptionProps = Omit<React.ComponentPropsWithoutRef<typeof
14
19
  declare const DialogOverlay: React.ForwardRefExoticComponent<DialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
15
20
  declare const DialogContent: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "style" | "className"> & {
16
21
  layout?: "default" | "command";
22
+ /**
23
+ * Element to portal into, overriding `PortalContainerProvider`.
24
+ * Defaults to the nearest provider's container, then `document.body`.
25
+ */
26
+ container?: HTMLElement | null;
17
27
  } & React.RefAttributes<HTMLDivElement>>;
18
28
  declare const DialogHeader: {
19
29
  ({ ...props }: DialogDivProps): import("react/jsx-runtime").JSX.Element;
@@ -10,7 +10,13 @@ export type DropdownMenuSubTriggerProps = Omit<React.ComponentPropsWithoutRef<ty
10
10
  inset?: boolean;
11
11
  };
12
12
  export type DropdownMenuSubContentProps = Omit<React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>, "className" | "style">;
13
- export type DropdownMenuContentProps = Omit<React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>, "className" | "style">;
13
+ export type DropdownMenuContentProps = Omit<React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>, "className" | "style"> & {
14
+ /**
15
+ * Element to portal into, overriding `PortalContainerProvider`.
16
+ * Defaults to the nearest provider's container, then `document.body`.
17
+ */
18
+ container?: HTMLElement | null;
19
+ };
14
20
  export type DropdownMenuItemProps = Omit<React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item>, "className" | "style"> & {
15
21
  inset?: boolean;
16
22
  tone?: "default" | "destructive";
@@ -26,7 +32,13 @@ declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<Omit<
26
32
  inset?: boolean;
27
33
  } & React.RefAttributes<HTMLDivElement>>;
28
34
  declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>>;
29
- declare const DropdownMenuContent: React.ForwardRefExoticComponent<DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>>;
35
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "style" | "className"> & {
36
+ /**
37
+ * Element to portal into, overriding `PortalContainerProvider`.
38
+ * Defaults to the nearest provider's container, then `document.body`.
39
+ */
40
+ container?: HTMLElement | null;
41
+ } & React.RefAttributes<HTMLDivElement>>;
30
42
  declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref">, "style" | "className"> & {
31
43
  inset?: boolean;
32
44
  tone?: "default" | "destructive";
@@ -10,7 +10,13 @@ export type MenubarTriggerProps = Omit<React.ComponentPropsWithoutRef<typeof Men
10
10
  export type MenubarSubTriggerProps = Omit<React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger>, "className" | "style"> & {
11
11
  inset?: boolean;
12
12
  };
13
- export type MenubarContentProps = Omit<React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>, "className" | "style">;
13
+ export type MenubarContentProps = Omit<React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>, "className" | "style"> & {
14
+ /**
15
+ * Element to portal into, overriding `PortalContainerProvider`.
16
+ * Defaults to the nearest provider's container, then `document.body`.
17
+ */
18
+ container?: HTMLElement | null;
19
+ };
14
20
  export type MenubarSubContentProps = Omit<React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>, "className" | "style">;
15
21
  export type MenubarItemProps = Omit<React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item>, "className" | "style"> & {
16
22
  inset?: boolean;
@@ -28,7 +34,13 @@ declare const MenubarSubTrigger: React.ForwardRefExoticComponent<Omit<Omit<Menub
28
34
  inset?: boolean;
29
35
  } & React.RefAttributes<HTMLDivElement>>;
30
36
  declare const MenubarSubContent: React.ForwardRefExoticComponent<MenubarSubContentProps & React.RefAttributes<HTMLDivElement>>;
31
- declare const MenubarContent: React.ForwardRefExoticComponent<MenubarContentProps & React.RefAttributes<HTMLDivElement>>;
37
+ declare const MenubarContent: React.ForwardRefExoticComponent<Omit<Omit<MenubarPrimitive.MenubarContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "style" | "className"> & {
38
+ /**
39
+ * Element to portal into, overriding `PortalContainerProvider`.
40
+ * Defaults to the nearest provider's container, then `document.body`.
41
+ */
42
+ container?: HTMLElement | null;
43
+ } & React.RefAttributes<HTMLDivElement>>;
32
44
  declare const MenubarItem: React.ForwardRefExoticComponent<Omit<Omit<MenubarPrimitive.MenubarItemProps & React.RefAttributes<HTMLDivElement>, "ref">, "style" | "className"> & {
33
45
  inset?: boolean;
34
46
  } & React.RefAttributes<HTMLDivElement>>;
@@ -4,9 +4,19 @@ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
4
4
  declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
5
  export type PopoverContentProps = Omit<React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>, "className" | "style"> & {
6
6
  layout?: "default" | "calendar" | "calendarSingle" | "matchTrigger";
7
+ /**
8
+ * Element to portal into, overriding `PortalContainerProvider`.
9
+ * Defaults to the nearest provider's container, then `document.body`.
10
+ */
11
+ container?: HTMLElement | null;
7
12
  };
8
13
  declare const PopoverContent: React.ForwardRefExoticComponent<Omit<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "style" | "className"> & {
9
14
  layout?: "default" | "calendar" | "calendarSingle" | "matchTrigger";
15
+ /**
16
+ * Element to portal into, overriding `PortalContainerProvider`.
17
+ * Defaults to the nearest provider's container, then `document.body`.
18
+ */
19
+ container?: HTMLElement | null;
10
20
  } & React.RefAttributes<HTMLDivElement>>;
11
21
  export { Popover, PopoverTrigger, PopoverContent };
12
22
  export type PopoverProps = React.ComponentProps<typeof Popover>;
@@ -8,6 +8,11 @@ export type SelectTriggerProps = Omit<React.ComponentPropsWithoutRef<typeof Sele
8
8
  };
9
9
  export type SelectContentProps = Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>, "className" | "style"> & {
10
10
  layout?: "default" | "auto" | "country";
11
+ /**
12
+ * Element to portal into, overriding `PortalContainerProvider`.
13
+ * Defaults to the nearest provider's container, then `document.body`.
14
+ */
15
+ container?: HTMLElement | null;
11
16
  };
12
17
  export type SelectLabelProps = Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>, "className" | "style">;
13
18
  export type SelectItemProps = Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>, "className" | "style"> & {
@@ -22,6 +27,11 @@ declare const SelectScrollUpButton: React.ForwardRefExoticComponent<SelectScroll
22
27
  declare const SelectScrollDownButton: React.ForwardRefExoticComponent<SelectScrollButtonProps & React.RefAttributes<HTMLDivElement>>;
23
28
  declare const SelectContent: React.ForwardRefExoticComponent<Omit<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "style" | "className"> & {
24
29
  layout?: "default" | "auto" | "country";
30
+ /**
31
+ * Element to portal into, overriding `PortalContainerProvider`.
32
+ * Defaults to the nearest provider's container, then `document.body`.
33
+ */
34
+ container?: HTMLElement | null;
25
35
  } & React.RefAttributes<HTMLDivElement>>;
26
36
  declare const SelectLabel: React.ForwardRefExoticComponent<SelectLabelProps & React.RefAttributes<HTMLDivElement>>;
27
37
  declare const SelectItem: React.ForwardRefExoticComponent<Omit<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref">, "style" | "className"> & {
@@ -9,6 +9,11 @@ type SheetSide = "top" | "bottom" | "left" | "right";
9
9
  export type SheetContentProps = Omit<React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, "className" | "style"> & {
10
10
  layout?: "default" | "headerNavigation" | "navigationDrawer";
11
11
  side?: SheetSide;
12
+ /**
13
+ * Element to portal into, overriding `PortalContainerProvider`.
14
+ * Defaults to the nearest provider's container, then `document.body`.
15
+ */
16
+ container?: HTMLElement | null;
12
17
  };
13
18
  export type SheetDivProps = Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style">;
14
19
  export type SheetTitleProps = Omit<React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>, "className" | "style">;
@@ -17,6 +22,11 @@ declare const SheetOverlay: React.ForwardRefExoticComponent<SheetOverlayProps &
17
22
  declare const SheetContent: React.ForwardRefExoticComponent<Omit<Omit<SheetPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "style" | "className"> & {
18
23
  layout?: "default" | "headerNavigation" | "navigationDrawer";
19
24
  side?: SheetSide;
25
+ /**
26
+ * Element to portal into, overriding `PortalContainerProvider`.
27
+ * Defaults to the nearest provider's container, then `document.body`.
28
+ */
29
+ container?: HTMLElement | null;
20
30
  } & React.RefAttributes<HTMLDivElement>>;
21
31
  declare const SheetHeader: {
22
32
  ({ ...props }: SheetDivProps): import("react/jsx-runtime").JSX.Element;
@@ -13,6 +13,11 @@ export interface TreeViewProps extends Omit<React.HTMLAttributes<HTMLDivElement>
13
13
  expandedIds?: string[];
14
14
  onExpandChange?: (ids: string[]) => void;
15
15
  showIcons?: boolean;
16
+ /**
17
+ * Indent per depth level, in px. Overrides the token-based default
18
+ * (one chevron slot plus the row gap), which keeps a child's icon aligned
19
+ * under its parent's label across every spacing density.
20
+ */
16
21
  indentSize?: number;
17
22
  }
18
23
  declare const TreeView: React.ForwardRefExoticComponent<TreeViewProps & React.RefAttributes<HTMLDivElement>>;
@@ -6,8 +6,8 @@ export type TypographyVariant = "display" | "title" | "heading" | "subheading" |
6
6
  */
7
7
  export type TypographyStep = "6" | "5" | "4" | "3" | "2" | "1" | "0" | "neg1" | "neg2" | "neg3";
8
8
  export type TypographyElement = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "div" | "blockquote" | "figcaption";
9
- /** Only up to medium — no face above 500 is loaded, so bolder would faux-bold. */
10
- export type TypographyWeight = "normal" | "medium";
9
+ /** The full Inter Variable weight axis — every step is a real face. */
10
+ export type TypographyWeight = "thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black";
11
11
  export type TypographyFamily = "heading" | "body" | "mono";
12
12
  export type TypographyTone = "default" | "muted" | "inverse";
13
13
  export type TypographyAlign = "start" | "center" | "end";
@@ -0,0 +1 @@
1
+ "use client";"use strict";const n=require("react/jsx-runtime"),b=require("react"),v=require("@radix-ui/react-context-menu"),s=require("lucide-react"),g=require("./portal-container-C0jBwG4U.cjs");function u(x){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(x){for(const a in x)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(x,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:()=>x[a]})}}return t.default=x,Object.freeze(t)}const r=u(b),e=u(v),j=e.Root,k=e.Trigger,N=e.Group,q=e.Portal,M=e.Sub,h=e.RadioGroup,m=r.forwardRef(({inset:x,children:t,...a},o)=>n.jsxs(e.SubTrigger,{ref:o,...a,...{0:{className:"x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x1t137rt x1n2onr6 x87ps6o xg8umi8 x1i4teta x1xttv3l x14e3mrv x7gqb9v x136oad8 x1wu0y3b xerqhm1 x4q0ykd"},1:{className:"x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x1t137rt x1n2onr6 x87ps6o xg8umi8 x1i4teta x1xttv3l x14e3mrv x7gqb9v x136oad8 x1wu0y3b xerqhm1 x4q0ykd x1lvzo9m"}}[!!x<<0],children:[t,n.jsx(s.ChevronRight,{"aria-hidden":"true",className:"xkive58 x8x9d4c x1vfp87d"})]}));m.displayName=e.SubTrigger.displayName;const c=r.forwardRef(({...x},t)=>n.jsx(e.SubContent,{ref:t,...x,className:"x1dyo0bm xsdfdjn x1brvnfc x1y0btm7 xmkeg23 x1g5awrf xa18zv3 xzhy1st xb3r6kr x38xony xa9119d x1mae58o"}));c.displayName=e.SubContent.displayName;const i=r.forwardRef(({container:x,...t},a)=>{const o=g.usePortalContainer();return n.jsx(e.Portal,{container:x??o,children:n.jsx(e.Content,{ref:a,...t,className:"x1dyo0bm xsdfdjn x1brvnfc x1y0btm7 xmkeg23 x1g5awrf xa18zv3 xzhy1st xb3r6kr x2k5h2x x38xony xa9119d"})})});i.displayName=e.Content.displayName;const d=r.forwardRef(({inset:x,...t},a)=>n.jsx(e.Item,{ref:a,...t,...{0:{className:"x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x1t137rt x1n2onr6 x87ps6o xg8umi8 x1i4teta x1xttv3l x14e3mrv x7gqb9v x136oad8 x1wu0y3b"},1:{className:"x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x1t137rt x1n2onr6 x87ps6o xg8umi8 x1i4teta x1xttv3l x14e3mrv x7gqb9v x136oad8 x1wu0y3b x1lvzo9m"}}[!!x<<0]}));d.displayName=e.Item.displayName;const l=r.forwardRef(({children:x,checked:t,...a},o)=>n.jsxs(e.CheckboxItem,{ref:o,checked:t,...a,className:"x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x1t137rt x1n2onr6 x87ps6o xg8umi8 x1i4teta x1xttv3l x14e3mrv x7gqb9v x1eqpsfy x1lvzo9m x2sdl3f xsa9d3k",children:[n.jsx("span",{className:"x6s0dn4 x78zum5 xisrx6s xl56j7k x14kcngk x10l6tqk xy0ew6l",children:n.jsx(e.ItemIndicator,{children:n.jsx(s.Check,{"aria-hidden":"true",className:"xkive58 x1vfp87d"})})}),x]}));l.displayName=e.CheckboxItem.displayName;const p=r.forwardRef(({children:x,...t},a)=>n.jsxs(e.RadioItem,{ref:a,...t,className:"x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x1t137rt x1n2onr6 x87ps6o xg8umi8 x1i4teta x1xttv3l x14e3mrv x7gqb9v x1eqpsfy x1lvzo9m x2sdl3f xsa9d3k",children:[n.jsx("span",{className:"x6s0dn4 x78zum5 xisrx6s xl56j7k x14kcngk x10l6tqk xy0ew6l",children:n.jsx(e.ItemIndicator,{children:n.jsx(s.Circle,{"aria-hidden":"true",className:"x117rol3 xl7j9bc x1y64zhs"})})}),x]}));p.displayName=e.RadioItem.displayName;const C=r.forwardRef(({inset:x,...t},a)=>n.jsx(e.Label,{ref:a,...t,...{0:{className:"x1sjp1m2 x1eqnyfr x1s688f x136oad8 x1wu0y3b"},1:{className:"x1sjp1m2 x1eqnyfr x1s688f x136oad8 x1wu0y3b x1lvzo9m"}}[!!x<<0]}));C.displayName=e.Label.displayName;const f=r.forwardRef(({...x},t)=>n.jsx(e.Separator,{ref:t,...x,className:"x2446hb xjm9jq1 xzmx5tx x1f0alcf"}));f.displayName=e.Separator.displayName;const y=({...x})=>n.jsx("span",{...x,className:"x1uuraw0 x51wmvv x1dor1uw x8x9d4c"});y.displayName="ContextMenuShortcut";exports.ContextMenu=j;exports.ContextMenuCheckboxItem=l;exports.ContextMenuContent=i;exports.ContextMenuGroup=N;exports.ContextMenuItem=d;exports.ContextMenuLabel=C;exports.ContextMenuPortal=q;exports.ContextMenuRadioGroup=h;exports.ContextMenuRadioItem=p;exports.ContextMenuSeparator=f;exports.ContextMenuShortcut=y;exports.ContextMenuSub=M;exports.ContextMenuSubContent=c;exports.ContextMenuSubTrigger=m;exports.ContextMenuTrigger=k;
@@ -3,7 +3,8 @@ import { jsxs as o, jsx as a } from "react/jsx-runtime";
3
3
  import * as n from "react";
4
4
  import * as x from "@radix-ui/react-context-menu";
5
5
  import { Check as m, Circle as d, ChevronRight as l } from "lucide-react";
6
- const C = x.Root, q = x.Trigger, h = x.Group, w = x.Portal, z = x.Sub, j = x.RadioGroup, i = n.forwardRef(({
6
+ import { u as i } from "./portal-container-BOjF64TG.js";
7
+ const h = x.Root, w = x.Trigger, z = x.Group, j = x.Portal, M = x.Sub, R = x.RadioGroup, c = n.forwardRef(({
7
8
  inset: e,
8
9
  children: t,
9
10
  ...s
@@ -18,16 +19,20 @@ const C = x.Root, q = x.Trigger, h = x.Group, w = x.Portal, z = x.Sub, j = x.Rad
18
19
  t,
19
20
  /* @__PURE__ */ a(l, { "aria-hidden": "true", className: "xkive58 x8x9d4c x1vfp87d" })
20
21
  ] }));
21
- i.displayName = x.SubTrigger.displayName;
22
- const c = n.forwardRef(({
23
- ...e
24
- }, t) => /* @__PURE__ */ a(x.SubContent, { ref: t, ...e, className: "x1dyo0bm xsdfdjn x1brvnfc x1y0btm7 xmkeg23 x1g5awrf xa18zv3 xzhy1st xb3r6kr x38xony xa9119d x1mae58o" }));
25
- c.displayName = x.SubContent.displayName;
22
+ c.displayName = x.SubTrigger.displayName;
26
23
  const u = n.forwardRef(({
27
24
  ...e
28
- }, t) => /* @__PURE__ */ a(x.Portal, { children: /* @__PURE__ */ a(x.Content, { ref: t, ...e, className: "x1dyo0bm xsdfdjn x1brvnfc x1y0btm7 xmkeg23 x1g5awrf xa18zv3 xzhy1st xb3r6kr x2k5h2x x38xony xa9119d" }) }));
29
- u.displayName = x.Content.displayName;
30
- const y = n.forwardRef(({
25
+ }, t) => /* @__PURE__ */ a(x.SubContent, { ref: t, ...e, className: "x1dyo0bm xsdfdjn x1brvnfc x1y0btm7 xmkeg23 x1g5awrf xa18zv3 xzhy1st xb3r6kr x38xony xa9119d x1mae58o" }));
26
+ u.displayName = x.SubContent.displayName;
27
+ const f = n.forwardRef(({
28
+ container: e,
29
+ ...t
30
+ }, s) => {
31
+ const r = i();
32
+ return /* @__PURE__ */ a(x.Portal, { container: e ?? r, children: /* @__PURE__ */ a(x.Content, { ref: s, ...t, className: "x1dyo0bm xsdfdjn x1brvnfc x1y0btm7 xmkeg23 x1g5awrf xa18zv3 xzhy1st xb3r6kr x2k5h2x x38xony xa9119d" }) });
33
+ });
34
+ f.displayName = x.Content.displayName;
35
+ const p = n.forwardRef(({
31
36
  inset: e,
32
37
  ...t
33
38
  }, s) => /* @__PURE__ */ a(x.Item, { ref: s, ...t, ...{
@@ -38,8 +43,8 @@ const y = n.forwardRef(({
38
43
  className: "x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x1t137rt x1n2onr6 x87ps6o xg8umi8 x1i4teta x1xttv3l x14e3mrv x7gqb9v x136oad8 x1wu0y3b x1lvzo9m"
39
44
  }
40
45
  }[!!e << 0] }));
41
- y.displayName = x.Item.displayName;
42
- const f = n.forwardRef(({
46
+ p.displayName = x.Item.displayName;
47
+ const y = n.forwardRef(({
43
48
  children: e,
44
49
  checked: t,
45
50
  ...s
@@ -47,16 +52,16 @@ const f = n.forwardRef(({
47
52
  /* @__PURE__ */ a("span", { className: "x6s0dn4 x78zum5 xisrx6s xl56j7k x14kcngk x10l6tqk xy0ew6l", children: /* @__PURE__ */ a(x.ItemIndicator, { children: /* @__PURE__ */ a(m, { "aria-hidden": "true", className: "xkive58 x1vfp87d" }) }) }),
48
53
  e
49
54
  ] }));
50
- f.displayName = x.CheckboxItem.displayName;
51
- const p = n.forwardRef(({
55
+ y.displayName = x.CheckboxItem.displayName;
56
+ const v = n.forwardRef(({
52
57
  children: e,
53
58
  ...t
54
59
  }, s) => /* @__PURE__ */ o(x.RadioItem, { ref: s, ...t, className: "x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x1t137rt x1n2onr6 x87ps6o xg8umi8 x1i4teta x1xttv3l x14e3mrv x7gqb9v x1eqpsfy x1lvzo9m x2sdl3f xsa9d3k", children: [
55
60
  /* @__PURE__ */ a("span", { className: "x6s0dn4 x78zum5 xisrx6s xl56j7k x14kcngk x10l6tqk xy0ew6l", children: /* @__PURE__ */ a(x.ItemIndicator, { children: /* @__PURE__ */ a(d, { "aria-hidden": "true", className: "x117rol3 xl7j9bc x1y64zhs" }) }) }),
56
61
  e
57
62
  ] }));
58
- p.displayName = x.RadioItem.displayName;
59
- const v = n.forwardRef(({
63
+ v.displayName = x.RadioItem.displayName;
64
+ const b = n.forwardRef(({
60
65
  inset: e,
61
66
  ...t
62
67
  }, s) => /* @__PURE__ */ a(x.Label, { ref: s, ...t, ...{
@@ -67,29 +72,29 @@ const v = n.forwardRef(({
67
72
  className: "x1sjp1m2 x1eqnyfr x1s688f x136oad8 x1wu0y3b x1lvzo9m"
68
73
  }
69
74
  }[!!e << 0] }));
70
- v.displayName = x.Label.displayName;
71
- const b = n.forwardRef(({
75
+ b.displayName = x.Label.displayName;
76
+ const k = n.forwardRef(({
72
77
  ...e
73
78
  }, t) => /* @__PURE__ */ a(x.Separator, { ref: t, ...e, className: "x2446hb xjm9jq1 xzmx5tx x1f0alcf" }));
74
- b.displayName = x.Separator.displayName;
75
- const k = ({
79
+ k.displayName = x.Separator.displayName;
80
+ const N = ({
76
81
  ...e
77
82
  }) => /* @__PURE__ */ a("span", { ...e, className: "x1uuraw0 x51wmvv x1dor1uw x8x9d4c" });
78
- k.displayName = "ContextMenuShortcut";
83
+ N.displayName = "ContextMenuShortcut";
79
84
  export {
80
- C,
81
- f as a,
82
- u as b,
83
- h as c,
84
- y as d,
85
- v as e,
86
- w as f,
87
- j as g,
88
- p as h,
89
- b as i,
90
- k as j,
91
- z as k,
92
- c as l,
93
- i as m,
94
- q as n
85
+ h as C,
86
+ y as a,
87
+ f as b,
88
+ z as c,
89
+ p as d,
90
+ b as e,
91
+ j as f,
92
+ R as g,
93
+ v as h,
94
+ k as i,
95
+ N as j,
96
+ M as k,
97
+ u as l,
98
+ c as m,
99
+ w as n
95
100
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./context-menu-BZobMAds.cjs");exports.ContextMenu=e.ContextMenu;exports.ContextMenuCheckboxItem=e.ContextMenuCheckboxItem;exports.ContextMenuContent=e.ContextMenuContent;exports.ContextMenuGroup=e.ContextMenuGroup;exports.ContextMenuItem=e.ContextMenuItem;exports.ContextMenuLabel=e.ContextMenuLabel;exports.ContextMenuPortal=e.ContextMenuPortal;exports.ContextMenuRadioGroup=e.ContextMenuRadioGroup;exports.ContextMenuRadioItem=e.ContextMenuRadioItem;exports.ContextMenuSeparator=e.ContextMenuSeparator;exports.ContextMenuShortcut=e.ContextMenuShortcut;exports.ContextMenuSub=e.ContextMenuSub;exports.ContextMenuSubContent=e.ContextMenuSubContent;exports.ContextMenuSubTrigger=e.ContextMenuSubTrigger;exports.ContextMenuTrigger=e.ContextMenuTrigger;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./context-menu-1WehRCpR.cjs");exports.ContextMenu=e.ContextMenu;exports.ContextMenuCheckboxItem=e.ContextMenuCheckboxItem;exports.ContextMenuContent=e.ContextMenuContent;exports.ContextMenuGroup=e.ContextMenuGroup;exports.ContextMenuItem=e.ContextMenuItem;exports.ContextMenuLabel=e.ContextMenuLabel;exports.ContextMenuPortal=e.ContextMenuPortal;exports.ContextMenuRadioGroup=e.ContextMenuRadioGroup;exports.ContextMenuRadioItem=e.ContextMenuRadioItem;exports.ContextMenuSeparator=e.ContextMenuSeparator;exports.ContextMenuShortcut=e.ContextMenuShortcut;exports.ContextMenuSub=e.ContextMenuSub;exports.ContextMenuSubContent=e.ContextMenuSubContent;exports.ContextMenuSubTrigger=e.ContextMenuSubTrigger;exports.ContextMenuTrigger=e.ContextMenuTrigger;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C as n, a as o, b as a, c as u, d as C, e as x, f as s, g as M, h as r, i as b, j as i, k as g, l as m, m as S, n as c } from "./context-menu-BFvleIE-.js";
2
+ import { C as n, a as o, b as a, c as u, d as C, e as x, f as s, g as M, h as r, i as b, j as i, k as g, l as m, m as S, n as c } from "./context-menu-Bd6m1RYU.js";
3
3
  export {
4
4
  n as ContextMenu,
5
5
  o as ContextMenuCheckboxItem,
@@ -1 +1 @@
1
- "use client";"use strict";const t=require("react/jsx-runtime"),g=require("react"),a=require("date-fns"),x=require("lucide-react"),j=require("./button-Ny6OF8Un.cjs"),m=require("./calendar-Dd-Ud2zz.cjs"),i=require("./popover-DJ5e6lwh.cjs");function h(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const d=h(g),u=d.forwardRef(({value:e,onValueChange:r,placeholder:n="Pick a date",disabled:s=!1,dateFormat:c="PPP"},f)=>{const[l,o]=d.useState(!1);return t.jsxs(i.Popover,{open:l,onOpenChange:o,children:[t.jsx(i.PopoverTrigger,{asChild:!0,children:t.jsxs(j.Button,{ref:f,variant:e?"input":"inputMuted",fullWidth:!0,align:"start",textAlign:"left",disabled:s,children:[t.jsx(x.Calendar,{"aria-hidden":"true",className:"xkive58 x1s9vx6w x1vfp87d"}),e?a.format(e,c):t.jsx("span",{children:n})]})}),t.jsx(i.PopoverContent,{layout:"calendarSingle",align:"start",children:t.jsx(m.Calendar,{mode:"single",selected:e,onSelect:p=>{r==null||r(p),o(!1)},initialFocus:!0})})]})});u.displayName="DatePicker";const P=d.forwardRef(({value:e,onValueChange:r,placeholder:n="Pick a date range",disabled:s=!1,dateFormat:c="LLL dd, y"},f)=>{const[l,o]=d.useState(!1);return t.jsxs(i.Popover,{open:l,onOpenChange:o,children:[t.jsx(i.PopoverTrigger,{asChild:!0,children:t.jsxs(j.Button,{ref:f,variant:e!=null&&e.from?"input":"inputMuted",fullWidth:!0,align:"start",textAlign:"left",disabled:s,children:[t.jsx(x.Calendar,{"aria-hidden":"true",className:"xkive58 x1s9vx6w x1vfp87d"}),e!=null&&e.from?e.to?t.jsxs(t.Fragment,{children:[a.format(e.from,c)," -"," ",a.format(e.to,c)]}):a.format(e.from,c):t.jsx("span",{children:n})]})}),t.jsx(i.PopoverContent,{layout:"calendar",align:"start",children:t.jsx(m.Calendar,{mode:"range",defaultMonth:e==null?void 0:e.from,selected:e,onSelect:p=>{r==null||r(p)},numberOfMonths:2,initialFocus:!0})})]})});P.displayName="DateRangePicker";exports.DatePicker=u;exports.DateRangePicker=P;
1
+ "use client";"use strict";const t=require("react/jsx-runtime"),g=require("react"),a=require("date-fns"),x=require("lucide-react"),j=require("./button-Ny6OF8Un.cjs"),m=require("./calendar-7LX5YGGT.cjs"),i=require("./popover-Db6VOysz.cjs");function h(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const d=h(g),u=d.forwardRef(({value:e,onValueChange:r,placeholder:n="Pick a date",disabled:s=!1,dateFormat:c="PPP"},f)=>{const[l,o]=d.useState(!1);return t.jsxs(i.Popover,{open:l,onOpenChange:o,children:[t.jsx(i.PopoverTrigger,{asChild:!0,children:t.jsxs(j.Button,{ref:f,variant:e?"input":"inputMuted",fullWidth:!0,align:"start",textAlign:"left",disabled:s,children:[t.jsx(x.Calendar,{"aria-hidden":"true",className:"xkive58 x1s9vx6w x1vfp87d"}),e?a.format(e,c):t.jsx("span",{children:n})]})}),t.jsx(i.PopoverContent,{layout:"calendarSingle",align:"start",children:t.jsx(m.Calendar,{mode:"single",selected:e,onSelect:p=>{r==null||r(p),o(!1)},initialFocus:!0})})]})});u.displayName="DatePicker";const P=d.forwardRef(({value:e,onValueChange:r,placeholder:n="Pick a date range",disabled:s=!1,dateFormat:c="LLL dd, y"},f)=>{const[l,o]=d.useState(!1);return t.jsxs(i.Popover,{open:l,onOpenChange:o,children:[t.jsx(i.PopoverTrigger,{asChild:!0,children:t.jsxs(j.Button,{ref:f,variant:e!=null&&e.from?"input":"inputMuted",fullWidth:!0,align:"start",textAlign:"left",disabled:s,children:[t.jsx(x.Calendar,{"aria-hidden":"true",className:"xkive58 x1s9vx6w x1vfp87d"}),e!=null&&e.from?e.to?t.jsxs(t.Fragment,{children:[a.format(e.from,c)," -"," ",a.format(e.to,c)]}):a.format(e.from,c):t.jsx("span",{children:n})]})}),t.jsx(i.PopoverContent,{layout:"calendar",align:"start",children:t.jsx(m.Calendar,{mode:"range",defaultMonth:e==null?void 0:e.from,selected:e,onSelect:p=>{r==null||r(p)},numberOfMonths:2,initialFocus:!0})})]})});P.displayName="DateRangePicker";exports.DatePicker=u;exports.DateRangePicker=P;
@@ -4,8 +4,8 @@ import * as d from "react";
4
4
  import { format as o } from "date-fns";
5
5
  import { Calendar as l } from "lucide-react";
6
6
  import { B as h } from "./button-ANAPDrvs.js";
7
- import { C as x } from "./calendar-BUPsr0be.js";
8
- import { P, b as g, a as k } from "./popover-B_Kfx06V.js";
7
+ import { C as x } from "./calendar-BpBsomy5.js";
8
+ import { P, b as g, a as k } from "./popover-DPc4rRsR.js";
9
9
  const D = d.forwardRef(({
10
10
  value: t,
11
11
  onValueChange: e,
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./date-picker-K5GcZ_Li.cjs");exports.DatePicker=e.DatePicker;exports.DateRangePicker=e.DateRangePicker;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./date-picker-DGBsfZXx.cjs");exports.DatePicker=e.DatePicker;exports.DateRangePicker=e.DateRangePicker;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { D as r, a as t } from "./date-picker-CISIHHyU.js";
2
+ import { D as r, a as t } from "./date-picker-ni8td8Ru.js";
3
3
  export {
4
4
  r as DatePicker,
5
5
  t as DateRangePicker
@@ -1 +1 @@
1
- "use client";"use strict";const o=require("react/jsx-runtime"),M=require("react"),S=require("date-fns"),T=require("lucide-react"),$=require("./button-Ny6OF8Un.cjs"),v=require("./calendar-Dd-Ud2zz.cjs"),P=require("./popover-DJ5e6lwh.cjs"),q=require("./time-input-DR2snTgB.cjs");function I(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const f=I(M);function u(e){return String(e).padStart(2,"0")}function k(e,t,n){if(!e)return"";const s=e.getHours(),r=n?`:${u(e.getSeconds())}`:"";if(t)return`${u(s)}:${u(e.getMinutes())}${r}`;const i=s>=12?"PM":"AM",l=s%12||12;return`${u(l)}:${u(e.getMinutes())}${r} ${i}`}function y(e,t){const n=t.match(/^(\d{1,2}):(\d{2})(?::(\d{2}))?\s*(AM|PM)$/i),s=t.match(/^(\d{1,2}):(\d{2})(?::(\d{2}))?$/);let r,i,l;if(n)r=parseInt(n[1])%12,n[4].toUpperCase()==="PM"&&(r+=12),i=parseInt(n[2]),l=n[3]?parseInt(n[3]):0;else if(s)r=parseInt(s[1]),i=parseInt(s[2]),l=s[3]?parseInt(s[3]):0;else return e;const d=e?new Date(e):new Date;return d.setHours(r,i,l,0),d}const x=f.forwardRef(({value:e,onValueChange:t,placeholder:n="Pick date and time",disabled:s=!1,showSeconds:r=!1,use24Hour:i=!1},l)=>{const[d,g]=f.useState(!1),[c,p]=f.useState(e);f.useEffect(()=>{p(e)},[e]);const h=m=>{if(m){const a=new Date(m);c&&(a.setHours(c.getHours()),a.setMinutes(c.getMinutes()),a.setSeconds(c.getSeconds())),p(a),t==null||t(a)}},j=m=>{const a=y(c,m);a&&(p(a),t==null||t(a))},D=r?i?"PPP HH:mm:ss":"PPP hh:mm:ss a":i?"PPP HH:mm":"PPP hh:mm a";return o.jsxs(P.Popover,{open:d,onOpenChange:g,children:[o.jsx(P.PopoverTrigger,{asChild:!0,children:o.jsxs($.Button,{ref:l,variant:c?"input":"inputMuted",fullWidth:!0,align:"start",textAlign:"left",disabled:s,children:[o.jsx(T.Calendar,{"aria-hidden":"true",className:"xkive58 x1s9vx6w x1vfp87d"}),c?S.format(c,D):o.jsx("span",{children:n})]})}),o.jsxs(P.PopoverContent,{layout:"calendarSingle",align:"start",children:[o.jsx(v.Calendar,{mode:"single",selected:c,onSelect:h,initialFocus:!0}),o.jsx("div",{className:"x1b8k8y6 x13fuv20 x178xt8z x11omchh",children:o.jsx(q.TimeInput,{format:i?"24":"12",showSeconds:r,value:k(c,i,r),onValueChange:j})})]})]})});x.displayName="DateTimePicker";exports.DateTimePicker=x;
1
+ "use client";"use strict";const o=require("react/jsx-runtime"),M=require("react"),S=require("date-fns"),T=require("lucide-react"),$=require("./button-Ny6OF8Un.cjs"),v=require("./calendar-7LX5YGGT.cjs"),P=require("./popover-Db6VOysz.cjs"),q=require("./time-input-DR2snTgB.cjs");function I(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const f=I(M);function u(e){return String(e).padStart(2,"0")}function k(e,t,n){if(!e)return"";const s=e.getHours(),r=n?`:${u(e.getSeconds())}`:"";if(t)return`${u(s)}:${u(e.getMinutes())}${r}`;const i=s>=12?"PM":"AM",l=s%12||12;return`${u(l)}:${u(e.getMinutes())}${r} ${i}`}function y(e,t){const n=t.match(/^(\d{1,2}):(\d{2})(?::(\d{2}))?\s*(AM|PM)$/i),s=t.match(/^(\d{1,2}):(\d{2})(?::(\d{2}))?$/);let r,i,l;if(n)r=parseInt(n[1])%12,n[4].toUpperCase()==="PM"&&(r+=12),i=parseInt(n[2]),l=n[3]?parseInt(n[3]):0;else if(s)r=parseInt(s[1]),i=parseInt(s[2]),l=s[3]?parseInt(s[3]):0;else return e;const d=e?new Date(e):new Date;return d.setHours(r,i,l,0),d}const x=f.forwardRef(({value:e,onValueChange:t,placeholder:n="Pick date and time",disabled:s=!1,showSeconds:r=!1,use24Hour:i=!1},l)=>{const[d,g]=f.useState(!1),[c,p]=f.useState(e);f.useEffect(()=>{p(e)},[e]);const h=m=>{if(m){const a=new Date(m);c&&(a.setHours(c.getHours()),a.setMinutes(c.getMinutes()),a.setSeconds(c.getSeconds())),p(a),t==null||t(a)}},j=m=>{const a=y(c,m);a&&(p(a),t==null||t(a))},D=r?i?"PPP HH:mm:ss":"PPP hh:mm:ss a":i?"PPP HH:mm":"PPP hh:mm a";return o.jsxs(P.Popover,{open:d,onOpenChange:g,children:[o.jsx(P.PopoverTrigger,{asChild:!0,children:o.jsxs($.Button,{ref:l,variant:c?"input":"inputMuted",fullWidth:!0,align:"start",textAlign:"left",disabled:s,children:[o.jsx(T.Calendar,{"aria-hidden":"true",className:"xkive58 x1s9vx6w x1vfp87d"}),c?S.format(c,D):o.jsx("span",{children:n})]})}),o.jsxs(P.PopoverContent,{layout:"calendarSingle",align:"start",children:[o.jsx(v.Calendar,{mode:"single",selected:c,onSelect:h,initialFocus:!0}),o.jsx("div",{className:"x1b8k8y6 x13fuv20 x178xt8z x11omchh",children:o.jsx(q.TimeInput,{format:i?"24":"12",showSeconds:r,value:k(c,i,r),onValueChange:j})})]})]})});x.displayName="DateTimePicker";exports.DateTimePicker=x;
@@ -4,8 +4,8 @@ import * as l from "react";
4
4
  import { format as T } from "date-fns";
5
5
  import { Calendar as $ } from "lucide-react";
6
6
  import { B as M } from "./button-ANAPDrvs.js";
7
- import { C as g } from "./calendar-BUPsr0be.js";
8
- import { P as S, b as v, a as I } from "./popover-B_Kfx06V.js";
7
+ import { C as g } from "./calendar-BpBsomy5.js";
8
+ import { P as S, b as v, a as I } from "./popover-DPc4rRsR.js";
9
9
  import { T as k } from "./time-input-BPoFvoeM.js";
10
10
  function d(t) {
11
11
  return String(t).padStart(2, "0");
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./datetime-picker-CP_fhCA-.cjs");exports.DateTimePicker=e.DateTimePicker;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./datetime-picker-C1d63MaA.cjs");exports.DateTimePicker=e.DateTimePicker;