@jarllyng/nostromo 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-4NLMGH2S.cjs +3 -0
- package/dist/chunk-4NLMGH2S.cjs.map +1 -0
- package/dist/chunk-AYKNZARS.js +3 -0
- package/dist/chunk-AYKNZARS.js.map +1 -0
- package/dist/chunk-CGBIJDZX.cjs +3 -0
- package/dist/chunk-CGBIJDZX.cjs.map +1 -0
- package/dist/chunk-E3A4SP3X.cjs +3 -0
- package/dist/chunk-E3A4SP3X.cjs.map +1 -0
- package/dist/chunk-GCMMAUW3.js +3 -0
- package/dist/chunk-GCMMAUW3.js.map +1 -0
- package/dist/chunk-HEU5GFOV.js +3 -0
- package/dist/chunk-HEU5GFOV.js.map +1 -0
- package/dist/chunk-KCS3UL74.cjs +3 -0
- package/dist/chunk-KCS3UL74.cjs.map +1 -0
- package/dist/chunk-MIYL7YKU.cjs +3 -0
- package/dist/chunk-MIYL7YKU.cjs.map +1 -0
- package/dist/chunk-MM54MZBX.js +3 -0
- package/dist/chunk-MM54MZBX.js.map +1 -0
- package/dist/chunk-XYPJ2K22.js +3 -0
- package/dist/chunk-XYPJ2K22.js.map +1 -0
- package/dist/components/core/context-menu.cjs +3 -0
- package/dist/components/core/context-menu.cjs.map +1 -0
- package/dist/components/core/context-menu.d.cts +44 -0
- package/dist/components/core/context-menu.d.ts +44 -0
- package/dist/components/core/context-menu.js +3 -0
- package/dist/components/core/context-menu.js.map +1 -0
- package/dist/components/core/dropdown-menu.cjs +1 -1
- package/dist/components/core/dropdown-menu.js +1 -1
- package/dist/components/core/hover-card.cjs +3 -0
- package/dist/components/core/hover-card.cjs.map +1 -0
- package/dist/components/core/hover-card.d.cts +22 -0
- package/dist/components/core/hover-card.d.ts +22 -0
- package/dist/components/core/hover-card.js +3 -0
- package/dist/components/core/hover-card.js.map +1 -0
- package/dist/components/core/scroll-area.cjs +3 -0
- package/dist/components/core/scroll-area.cjs.map +1 -0
- package/dist/components/core/scroll-area.d.cts +26 -0
- package/dist/components/core/scroll-area.d.ts +26 -0
- package/dist/components/core/scroll-area.js +3 -0
- package/dist/components/core/scroll-area.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +31 -1
- package/dist/chunk-BX4VBLKZ.cjs +0 -3
- package/dist/chunk-BX4VBLKZ.cjs.map +0 -1
- package/dist/chunk-E44BBSLT.js +0 -3
- package/dist/chunk-E44BBSLT.js.map +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkMIYL7YKU_cjs=require('./chunk-MIYL7YKU.cjs'),chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),o=require('react'),e=require('@radix-ui/react-dropdown-menu');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var o__namespace=/*#__PURE__*/_interopNamespace(o);var e__namespace=/*#__PURE__*/_interopNamespace(e);var C=e__namespace.Root,S=e__namespace.Trigger,g=e__namespace.Group,k=e__namespace.Sub,x=e__namespace.RadioGroup,l=o__namespace.forwardRef(({className:t,sideOffset:n=6,...r},i)=>o__namespace.createElement(e__namespace.Portal,null,o__namespace.createElement(e__namespace.Content,{ref:i,sideOffset:n,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.a,t),...r})));l.displayName=e__namespace.Content.displayName;var M=o__namespace.forwardRef(({className:t,destructive:n,inset:r,...i},u)=>o__namespace.createElement(e__namespace.Item,{ref:u,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,r&&chunkMIYL7YKU_cjs.c,n&&chunkMIYL7YKU_cjs.g,t),...i}));M.displayName=e__namespace.Item.displayName;var D=o__namespace.forwardRef(({className:t,children:n,...r},i)=>o__namespace.createElement(e__namespace.CheckboxItem,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,chunkMIYL7YKU_cjs.c,t),...r},o__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o__namespace.createElement(e__namespace.ItemIndicator,null,o__namespace.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"h-3.5 w-3.5","aria-hidden":"true"},o__namespace.createElement("path",{d:"M13 4.5 6.5 11 3 7.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),n));D.displayName=e__namespace.CheckboxItem.displayName;var P=o__namespace.forwardRef(({className:t,children:n,...r},i)=>o__namespace.createElement(e__namespace.RadioItem,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,chunkMIYL7YKU_cjs.c,t),...r},o__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o__namespace.createElement(e__namespace.ItemIndicator,null,o__namespace.createElement("span",{className:"h-2 w-2 rounded-full bg-current"}))),n));P.displayName=e__namespace.RadioItem.displayName;var R=o__namespace.forwardRef(({className:t,inset:n,...r},i)=>o__namespace.createElement(e__namespace.Label,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.d,n&&chunkMIYL7YKU_cjs.c,t),...r}));R.displayName=e__namespace.Label.displayName;var v=o__namespace.forwardRef(({className:t,...n},r)=>o__namespace.createElement(e__namespace.Separator,{ref:r,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.e,t),...n}));v.displayName=e__namespace.Separator.displayName;function y({className:t,...n}){return o__namespace.createElement("span",{className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.f,t),...n})}y.displayName="DropdownMenuShortcut";var b=o__namespace.forwardRef(({className:t,inset:n,children:r,...i},u)=>o__namespace.createElement(e__namespace.SubTrigger,{ref:u,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,"data-[state=open]:bg-muted",n&&chunkMIYL7YKU_cjs.c,t),...i},r,o__namespace.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"ml-auto h-3.5 w-3.5","aria-hidden":"true"},o__namespace.createElement("path",{d:"m6 4 4 4-4 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))));b.displayName=e__namespace.SubTrigger.displayName;var N=o__namespace.forwardRef(({className:t,...n},r)=>o__namespace.createElement(e__namespace.Portal,null,o__namespace.createElement(e__namespace.SubContent,{ref:r,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.a,t),...n})));N.displayName=e__namespace.SubContent.displayName;exports.a=C;exports.b=S;exports.c=g;exports.d=k;exports.e=x;exports.f=l;exports.g=M;exports.h=D;exports.i=P;exports.j=R;exports.k=v;exports.l=y;exports.m=b;exports.n=N;//# sourceMappingURL=chunk-4NLMGH2S.cjs.map
|
|
3
|
+
//# sourceMappingURL=chunk-4NLMGH2S.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/dropdown-menu.tsx"],"names":["DropdownMenu","e","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuSub","DropdownMenuRadioGroup","DropdownMenuContent","o","className","sideOffset","props","ref","cn","menuSurface","DropdownMenuItem","destructive","inset","menuItem","menuItemInset","menuDestructive","DropdownMenuCheckboxItem","children","DropdownMenuRadioItem","DropdownMenuLabel","menuLabel","DropdownMenuSeparator","menuSeparator","DropdownMenuShortcut","menuShortcut","DropdownMenuSubTrigger","DropdownMenuSubContent"],"mappings":"4kBAwBA,IAAMA,CAAAA,CAAqCC,kBACrCC,CAAAA,CAA4CD,YAAA,CAAA,OAAA,CAC5CE,EAA0CF,YAAA,CAAA,KAAA,CAC1CG,CAAAA,CA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uB,WAAA,CACC5B,YAAA,CAAA,UAAA,CAAW,YAEnC,IAAM6B,CAAAA,CAA+BvB,wBAGnC,CAAC,CAAE,UAAAC,CAAAA,CAAW,GAAGE,CAAM,CAAA,CAAGC,CAAAA,GAC1BJ,2BAAuBN,YAAA,CAAA,MAAA,CAAtB,IAAA,CACCM,2BAAuBN,YAAA,CAAA,UAAA,CAAtB,CACC,IAAKU,CAAAA,CACL,SAAA,CAAWC,oBAAGC,mBAAAA,CAAaL,CAAS,EACnC,GAAGE,CAAAA,CACN,CACF,CACD,EACDoB,CAAAA,CAAuB,WAAA,CACC7B,YAAA,CAAA,UAAA,CAAW,WAAA","file":"chunk-4NLMGH2S.cjs","sourcesContent":["import * as React from \"react\";\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\";\nimport { cn } from \"../../lib/utils\";\nimport {\n menuDestructive,\n menuItem,\n menuItemInset,\n menuLabel,\n menuSeparator,\n menuShortcut,\n menuSurface,\n} from \"./menu-styles\";\n\n/**\n * The menu that hangs off a button: row actions, account menus, overflow.\n *\n * Radix owns the hard parts - roving focus, typeahead, submenu timing, pointer\n * versus keyboard intent - so this is styling plus two defaults worth having in\n * one place rather than at every call site.\n *\n * `Select` is the neighbouring component and a different thing: it edits a form\n * value and has a selected state. A dropdown menu runs commands.\n */\n\nconst DropdownMenu = DropdownMenuPrimitive.Root;\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group;\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub;\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 6, ...props }, ref) => (\n // Portalled: an un-portalled menu is clipped by any ancestor with\n // `overflow: hidden`, which in practice means every card and table it is used\n // in - the single most common way a menu appears half-drawn.\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;\n\nexport interface DropdownMenuItemProps extends React.ComponentPropsWithoutRef<\n typeof DropdownMenuPrimitive.Item\n> {\n /** Pulls the item into the destructive palette. */\n destructive?: boolean;\n /** Indents to line up with checkbox and radio items in the same menu. */\n inset?: boolean;\n}\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n DropdownMenuItemProps\n>(({ className, destructive, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n menuItem,\n inset && menuItemInset,\n destructive && menuDestructive,\n className,\n )}\n {...props}\n />\n));\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n // `checked` rides along in the spread rather than being destructured and\n // re-passed: under exactOptionalPropertyTypes, handing back an explicit\n // `undefined` is not the same as omitting the prop, and Radix's type rejects it.\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13 4.5 6.5 11 3 7.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n));\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName;\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <span className=\"h-2 w-2 rounded-full bg-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n));\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn(menuLabel, inset && menuItemInset, className)}\n {...props}\n />\n));\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn(menuSeparator, className)}\n {...props}\n />\n));\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;\n\n/** For a keyboard hint on the right of an item. Not interactive. */\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return <span className={cn(menuShortcut, className)} {...props} />;\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\";\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n menuItem,\n \"data-[state=open]:bg-muted\",\n inset && menuItemInset,\n className,\n )}\n {...props}\n >\n {children}\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"ml-auto h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"m6 4 4 4-4 4\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.SubTrigger>\n));\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName;\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName;\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {a as a$1,b as b$1,c,g as g$1,d as d$1,e as e$1,f}from'./chunk-XYPJ2K22.js';import {a}from'./chunk-AC2JBXHQ.js';import*as t from'react';import*as e from'@radix-ui/react-context-menu';var S=e.Root,g=e.Trigger,w=e.Group,k=e.Sub,L=e.RadioGroup,l=t.forwardRef(({className:n,...o},i)=>t.createElement(e.Portal,null,t.createElement(e.Content,{ref:i,className:a(a$1,n),...o})));l.displayName=e.Content.displayName;var M=t.forwardRef(({className:n,destructive:o,inset:i,...a$1},s)=>t.createElement(e.Item,{ref:s,className:a(b$1,i&&c,o&&g$1,n),...a$1}));M.displayName=e.Item.displayName;var P=t.forwardRef(({className:n,children:o,...i},a$1)=>t.createElement(e.CheckboxItem,{ref:a$1,className:a(b$1,c,n),...i},t.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},t.createElement(e.ItemIndicator,null,t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"h-3.5 w-3.5","aria-hidden":"true"},t.createElement("path",{d:"M13 4.5 6.5 11 3 7.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),o));P.displayName=e.CheckboxItem.displayName;var R=t.forwardRef(({className:n,children:o,...i},a$1)=>t.createElement(e.RadioItem,{ref:a$1,className:a(b$1,c,n),...i},t.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},t.createElement(e.ItemIndicator,null,t.createElement("span",{className:"h-2 w-2 rounded-full bg-current"}))),o));R.displayName=e.RadioItem.displayName;var v=t.forwardRef(({className:n,inset:o,...i},a$1)=>t.createElement(e.Label,{ref:a$1,className:a(d$1,o&&c,n),...i}));v.displayName=e.Label.displayName;var d=t.forwardRef(({className:n,...o},i)=>t.createElement(e.Separator,{ref:i,className:a(e$1,n),...o}));d.displayName=e.Separator.displayName;function y({className:n,...o}){return t.createElement("span",{className:a(f,n),...o})}y.displayName="ContextMenuShortcut";var b=t.forwardRef(({className:n,inset:o,children:i,...a$1},s)=>t.createElement(e.SubTrigger,{ref:s,className:a(b$1,"data-[state=open]:bg-muted",o&&c,n),...a$1},i,t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"ml-auto h-3.5 w-3.5","aria-hidden":"true"},t.createElement("path",{d:"m6 4 4 4-4 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))));b.displayName=e.SubTrigger.displayName;var N=t.forwardRef(({className:n,...o},i)=>t.createElement(e.Portal,null,t.createElement(e.SubContent,{ref:i,className:a(a$1,n),...o})));N.displayName=e.SubContent.displayName;export{S as a,g as b,w as c,k as d,L as e,l as f,M as g,P as h,R as i,v as j,d as k,y as l,b as m,N as n};//# sourceMappingURL=chunk-AYKNZARS.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-AYKNZARS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/context-menu.tsx"],"names":["ContextMenu","ContextMenuTrigger","ContextMenuGroup","ContextMenuSub","ContextMenuRadioGroup","ContextMenuContent","className","props","ref","cn","menuSurface","ContextMenuItem","destructive","inset","menuItem","menuItemInset","menuDestructive","ContextMenuCheckboxItem","children","ContextMenuRadioItem","ContextMenuLabel","menuLabel","ContextMenuSeparator","menuSeparator","ContextMenuShortcut","menuShortcut","ContextMenuSubTrigger","ContextMenuSubContent"],"mappings":"8LA4BA,IAAMA,EAAmC,CAAA,CAAA,IAAA,CACnCC,CAAAA,CAA0C,UAC1CC,CAAAA,CAAwC,CAAA,CAAA,KAAA,CACxCC,EAAsC,CAAA,CAAA,GAAA,CACtCC,CAAAA,CAA6C,aAE7CC,CAAAA,CAA2B,CAAA,CAAA,UAAA,CAG/B,CAAC,CAAE,SAAA,CAAAC,EAAW,GAAGC,CAAM,EAAGC,CAAAA,GAC1B,CAAA,CAAA,aAAA,CAAsB,SAArB,IAAA,CACC,CAAA,CAAA,aAAA,CAAsB,UAArB,CACC,GAAA,CAAKA,EACL,SAAA,CAAWC,CAAAA,CAAGC,IAAaJ,CAAS,CAAA,CACnC,GAAG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AA,CAAC,QAAK,SAAA,CAAWE,CAAAA,CAAGgB,EAAcnB,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAClE,CACAiB,CAAAA,CAAoB,WAAA,CAAc,qBAAA,CAElC,IAAME,EAA8B,CAAA,CAAA,UAAA,CAKlC,CAAC,CAAE,SAAA,CAAApB,CAAAA,CAAW,MAAAO,CAAAA,CAAO,QAAA,CAAAK,EAAU,GAAGX,GAAM,EAAGC,CAAAA,GAC3C,CAAA,CAAA,aAAA,CAAsB,aAArB,CACC,GAAA,CAAKA,EACL,SAAA,CAAWC,CAAAA,CACTK,IACA,4BAAA,CACAD,CAAAA,EAASE,EACTT,CACF,CAAA,CACC,GAAGC,GAAAA,CAAAA,CAEHW,CAAAA,CACD,gBAAC,KAAA,CAAA,CACC,OAAA,CAAQ,YACR,IAAA,CAAK,MAAA,CACL,UAAU,qBAAA,CACV,aAAA,CAAY,QAEZ,CAAA,CAAA,aAAA,CAAC,MAAA,CAAA,CACC,EAAE,cAAA,CACF,MAAA,CAAO,eACP,WAAA,CAAY,GAAA,CACZ,cAAc,OAAA,CACd,cAAA,CAAe,QACjB,CACF,CACF,CACD,EACDQ,CAAAA,CAAsB,YAAmC,CAAA,CAAA,UAAA,CAAW,WAAA,KAE9DC,CAAAA,CAA8B,CAAA,CAAA,UAAA,CAGlC,CAAC,CAAE,SAAA,CAAArB,EAAW,GAAGC,CAAM,EAAGC,CAAAA,GAC1B,CAAA,CAAA,aAAA,CAAsB,SAArB,IAAA,CACC,CAAA,CAAA,aAAA,CAAsB,aAArB,CACC,GAAA,CAAKA,EACL,SAAA,CAAWC,CAAAA,CAAGC,IAAaJ,CAAS,CAAA,CACnC,GAAGC,CAAAA,CACN,CACF,CACD,EACDoB,CAAAA,CAAsB,YAAmC,CAAA,CAAA,UAAA,CAAW,WAAA","file":"chunk-AYKNZARS.js","sourcesContent":["import * as React from \"react\";\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\";\nimport { cn } from \"../../lib/utils\";\nimport {\n menuDestructive,\n menuItem,\n menuItemInset,\n menuLabel,\n menuSeparator,\n menuShortcut,\n menuSurface,\n} from \"./menu-styles\";\n\n/**\n * The menu that opens on right-click, at the pointer.\n *\n * A separate primitive from `DropdownMenu` rather than a prop on it, because the\n * two are genuinely different: this one has no visible trigger, opens where the\n * pointer is, and on touch opens on long-press. Radix models them separately for\n * that reason. The styling is shared through menu-styles.ts so the two look like\n * the same menu, which is what a user expects.\n *\n * Worth saying out loud: a context menu must not be the only way to reach an\n * action. There is no affordance for it, it is awkward on touch, and a keyboard\n * user gets there only through the context-menu key. Put the same actions in a\n * `DropdownMenu` or a toolbar as well.\n */\n\nconst ContextMenu = ContextMenuPrimitive.Root;\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\nconst ContextMenuSub = ContextMenuPrimitive.Sub;\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;\n\nexport interface ContextMenuItemProps extends React.ComponentPropsWithoutRef<\n typeof ContextMenuPrimitive.Item\n> {\n destructive?: boolean;\n inset?: boolean;\n}\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Item>,\n ContextMenuItemProps\n>(({ className, destructive, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Item\n ref={ref}\n className={cn(\n menuItem,\n inset && menuItemInset,\n destructive && menuDestructive,\n className,\n )}\n {...props}\n />\n));\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13 4.5 6.5 11 3 7.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n));\nContextMenuCheckboxItem.displayName =\n ContextMenuPrimitive.CheckboxItem.displayName;\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.RadioItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <span className=\"h-2 w-2 rounded-full bg-current\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.RadioItem>\n));\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Label\n ref={ref}\n className={cn(menuLabel, inset && menuItemInset, className)}\n {...props}\n />\n));\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Separator\n ref={ref}\n className={cn(menuSeparator, className)}\n {...props}\n />\n));\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;\n\nfunction ContextMenuShortcut({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return <span className={cn(menuShortcut, className)} {...props} />;\n}\nContextMenuShortcut.displayName = \"ContextMenuShortcut\";\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <ContextMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n menuItem,\n \"data-[state=open]:bg-muted\",\n inset && menuItemInset,\n className,\n )}\n {...props}\n >\n {children}\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"ml-auto h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"m6 4 4 4-4 4\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </ContextMenuPrimitive.SubTrigger>\n));\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.SubContent\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioGroup,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuSub,\n ContextMenuSubTrigger,\n ContextMenuSubContent,\n};\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),e=require('react'),r=require('@radix-ui/react-scroll-area');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var e__namespace=/*#__PURE__*/_interopNamespace(e);var r__namespace=/*#__PURE__*/_interopNamespace(r);var S=e__namespace.forwardRef(({className:i,children:l,orientation:o="vertical",viewportClassName:t,...m},n)=>e__namespace.createElement(r__namespace.Root,{ref:n,className:chunkITRGJNWL_cjs.a("relative overflow-hidden",i),...m},e__namespace.createElement(r__namespace.Viewport,{className:chunkITRGJNWL_cjs.a("h-full w-full rounded-[inherit]",t)},l),o!=="horizontal"&&e__namespace.createElement(c,{orientation:"vertical"}),o!=="vertical"&&e__namespace.createElement(c,{orientation:"horizontal"}),e__namespace.createElement(r__namespace.Corner,null)));S.displayName=r__namespace.Root.displayName;var c=e__namespace.forwardRef(({className:i,orientation:l="vertical",...o},t)=>e__namespace.createElement(r__namespace.ScrollAreaScrollbar,{ref:t,orientation:l,className:chunkITRGJNWL_cjs.a("flex touch-none select-none transition-colors",l==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",l==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",i),...o},e__namespace.createElement(r__namespace.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})));c.displayName=r__namespace.ScrollAreaScrollbar.displayName;exports.a=S;exports.b=c;//# sourceMappingURL=chunk-CGBIJDZX.cjs.map
|
|
3
|
+
//# sourceMappingURL=chunk-CGBIJDZX.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/scroll-area.tsx"],"names":["ScrollArea","e","className","children","orientation","viewportClassName","props","ref","r","cn","ScrollBar"],"mappings":"4hBA2BMA,CAAAA,CAAmBC,YAAA,CAAA,UAAA,CAIvB,CACE,CACE,SAAA,CAAAC,CAAAA,CACA,SAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,UAAA,CACd,iBAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CACAC,CAAAA,GAEAN,YAAA,CAAA,aAAA,CAAqBO,YAAA,CAAA,IAAA,CAApB,CACC,GAAA,CAAKD,EACL,SAAA,CAAWE,mBAAAA,CAAG,0BAAA,CAA4BP,CAAS,CAAA,CAClD,GAAGI,CAAAA,CAAAA,CAEJL,YAAA,CAAA,aAAA,CAAqBO,YAAA,CAAA,QAAA,CAApB,CACC,SAAA,CAAWC,mBAAAA,CAAG,iCAAA,CAAmCJ,CAAiB,GAEjEF,CACH,CAAA,CACCC,CAAAA,GAAgB,YAAA,EAAgBH,YAAA,CAAA,aAAA,CAACS,CAAAA,CAAA,CAAU,WAAA,CAAY,UAAA,CAAW,CAAA,CAClEN,CAAAA,GAAgB,UAAA,EAAcH,YAAA,CAAA,aAAA,CAACS,CAAAA,CAAA,CAAU,WAAA,CAAY,YAAA,CAAa,CAAA,CACnET,YAAA,CAAA,aAAA,CAAqBO,YAAA,CAAA,MAAA,CAApB,IAA2B,CAC9B,CAEJ,EACAR,CAAAA,CAAW,WAAA,CAAkCQ,YAAA,CAAA,IAAA,CAAK,WAAA,CAElD,IAAME,EAAkBT,YAAA,CAAA,UAAA,CAGtB,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,WAAA,CAAAE,CAAAA,CAAc,UAAA,CAAY,GAAGE,CAAM,CAAA,CAAGC,CAAAA,GACpDN,YAAA,CAAA,aAAA,CAAqBO,YAAA,CAAA,mBAAA,CAApB,CACC,GAAA,CAAKD,CAAAA,CACL,WAAA,CAAaH,CAAAA,CACb,SAAA,CAAWK,mBAAAA,CACT,+CAAA,CACAL,CAAAA,GAAgB,UAAA,EACd,oDAAA,CACFA,CAAAA,GAAgB,YAAA,EACd,sDAAA,CACFF,CACF,EACC,GAAGI,CAAAA,CAAAA,CAEJL,YAAA,CAAA,aAAA,CAAqBO,YAAA,CAAA,eAAA,CAApB,CAAoC,SAAA,CAAU,wCAAA,CAAyC,CAC1F,CACD,EACDE,CAAAA,CAAU,WAAA,CAAkCF,YAAA,CAAA,mBAAA,CAAoB,WAAA","file":"chunk-CGBIJDZX.cjs","sourcesContent":["import * as React from \"react\";\nimport * as ScrollAreaPrimitive from \"@radix-ui/react-scroll-area\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A scrollable region with scrollbars that look the same everywhere.\n *\n * Native scrollbars differ per platform and, on macOS with overlay scrollbars\n * on, are invisible until you scroll. That is fine for a page and awkward for a\n * panel inside one, where the absence of a scrollbar reads as \"there is nothing\n * more here\".\n *\n * Radix keeps native scrolling and native keyboard behaviour and only replaces\n * the scrollbar's appearance, so wheel, trackpad, touch, Page Up and Home all\n * still work. Worth stating because scrollbar libraries that reimplement\n * scrolling itself usually break at least one of those.\n */\n\nexport interface ScrollAreaProps extends React.ComponentPropsWithoutRef<\n typeof ScrollAreaPrimitive.Root\n> {\n /** Which scrollbars to render. Defaults to vertical. */\n orientation?: \"vertical\" | \"horizontal\" | \"both\";\n /** Passed to the viewport, for a max height or a fixed size. */\n viewportClassName?: string;\n}\n\nconst ScrollArea = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.Root>,\n ScrollAreaProps\n>(\n (\n {\n className,\n children,\n orientation = \"vertical\",\n viewportClassName,\n ...props\n },\n ref,\n ) => (\n <ScrollAreaPrimitive.Root\n ref={ref}\n className={cn(\"relative overflow-hidden\", className)}\n {...props}\n >\n <ScrollAreaPrimitive.Viewport\n className={cn(\"h-full w-full rounded-[inherit]\", viewportClassName)}\n >\n {children}\n </ScrollAreaPrimitive.Viewport>\n {orientation !== \"horizontal\" && <ScrollBar orientation=\"vertical\" />}\n {orientation !== \"vertical\" && <ScrollBar orientation=\"horizontal\" />}\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n ),\n);\nScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;\n\nconst ScrollBar = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>,\n React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>\n>(({ className, orientation = \"vertical\", ...props }, ref) => (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n ref={ref}\n orientation={orientation}\n className={cn(\n \"flex touch-none select-none transition-colors\",\n orientation === \"vertical\" &&\n \"h-full w-2.5 border-l border-l-transparent p-[1px]\",\n orientation === \"horizontal\" &&\n \"h-2.5 flex-col border-t border-t-transparent p-[1px]\",\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"relative flex-1 rounded-full bg-border\" />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n));\nScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;\n\nexport { ScrollArea, ScrollBar };\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),t=require('react'),e=require('@radix-ui/react-hover-card');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var t__namespace=/*#__PURE__*/_interopNamespace(t);var e__namespace=/*#__PURE__*/_interopNamespace(e);var f=e__namespace.Root,v=e__namespace.Trigger,m=t__namespace.forwardRef(({className:r,align:a="center",sideOffset:i=8,...d},n)=>t__namespace.createElement(e__namespace.Portal,null,t__namespace.createElement(e__namespace.Content,{ref:n,align:a,sideOffset:i,className:chunkITRGJNWL_cjs.a("z-50 w-64 rounded-lg border border-border bg-background p-4 text-foreground shadow-lg outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...d})));m.displayName=e__namespace.Content.displayName;exports.a=f;exports.b=v;exports.c=m;//# sourceMappingURL=chunk-E3A4SP3X.cjs.map
|
|
3
|
+
//# sourceMappingURL=chunk-E3A4SP3X.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/hover-card.tsx"],"names":["HoverCard","e","HoverCardTrigger","HoverCardContent","t","className","align","sideOffset","props","ref","cn"],"mappings":"uhBAmBA,IAAMA,CAAAA,CAA+BC,YAAA,CAAA,IAAA,CAC/BC,CAAAA,CAAsCD,YAAA,CAAA,OAAA,CAEtCE,CAAAA,CAAyBC,wBAG7B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,KAAA,CAAAC,CAAAA,CAAQ,SAAU,UAAA,CAAAC,CAAAA,CAAa,CAAA,CAAG,GAAGC,CAAM,CAAA,CAAGC,IAC5DL,YAAA,CAAA,aAAA,CAAoBH,YAAA,CAAA,MAAA,CAAnB,KACCG,YAAA,CAAA,aAAA,CAAoBH,YAAA,CAAA,OAAA,CAAnB,CACC,GAAA,CAAKQ,CAAAA,CACL,KAAA,CAAOH,CAAAA,CACP,UAAA,CAAYC,CAAAA,CACZ,UAAWG,mBAAAA,CACT,qbAAA,CAMAL,CACF,CAAA,CACC,GAAGG,CAAAA,CACN,CACF,CACD,EACDL,CAAAA,CAAiB,WAAA,CAAiCF,YAAA,CAAA,OAAA,CAAQ,WAAA","file":"chunk-E3A4SP3X.cjs","sourcesContent":["import * as React from \"react\";\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A preview that appears on hover: a user card behind a mention, a repository\n * summary behind a link.\n *\n * Not a `Tooltip`. A tooltip labels something in a few words and is announced as\n * the element's description; a hover card holds real content, including links\n * you can move the pointer into.\n *\n * It opens on hover and on keyboard focus, but its content is not reachable by\n * keyboard beyond that, and it never opens on touch. So it has to stay\n * supplementary: everything inside must also be available somewhere else. Radix\n * marks it `aria-hidden` for that reason, which is correct and means a screen\n * reader will not see it at all.\n */\n\nconst HoverCard = HoverCardPrimitive.Root;\nconst HoverCardTrigger = HoverCardPrimitive.Trigger;\n\nconst HoverCardContent = React.forwardRef<\n React.ElementRef<typeof HoverCardPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content>\n>(({ className, align = \"center\", sideOffset = 8, ...props }, ref) => (\n <HoverCardPrimitive.Portal>\n <HoverCardPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n \"z-50 w-64 rounded-lg border border-border bg-background p-4 text-foreground shadow-lg outline-none \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 \" +\n \"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 \" +\n \"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\n className,\n )}\n {...props}\n />\n </HoverCardPrimitive.Portal>\n));\nHoverCardContent.displayName = HoverCardPrimitive.Content.displayName;\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent };\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {a}from'./chunk-AC2JBXHQ.js';import*as e from'react';import*as r from'@radix-ui/react-scroll-area';var S=e.forwardRef(({className:i,children:l,orientation:o="vertical",viewportClassName:t,...m},n)=>e.createElement(r.Root,{ref:n,className:a("relative overflow-hidden",i),...m},e.createElement(r.Viewport,{className:a("h-full w-full rounded-[inherit]",t)},l),o!=="horizontal"&&e.createElement(c,{orientation:"vertical"}),o!=="vertical"&&e.createElement(c,{orientation:"horizontal"}),e.createElement(r.Corner,null)));S.displayName=r.Root.displayName;var c=e.forwardRef(({className:i,orientation:l="vertical",...o},t)=>e.createElement(r.ScrollAreaScrollbar,{ref:t,orientation:l,className:a("flex touch-none select-none transition-colors",l==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",l==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",i),...o},e.createElement(r.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})));c.displayName=r.ScrollAreaScrollbar.displayName;export{S as a,c as b};//# sourceMappingURL=chunk-GCMMAUW3.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-GCMMAUW3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/scroll-area.tsx"],"names":["ScrollArea","className","children","orientation","viewportClassName","props","ref","cn","ScrollBar"],"mappings":"8GA2BMA,CAAAA,CAAmB,CAAA,CAAA,UAAA,CAIvB,CACE,CACE,SAAA,CAAAC,CAAAA,CACA,SAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,UAAA,CACd,iBAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CACAC,CAAAA,GAEA,CAAA,CAAA,aAAA,CAAqB,CAAA,CAAA,IAAA,CAAp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reaPrimitive from \"@radix-ui/react-scroll-area\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A scrollable region with scrollbars that look the same everywhere.\n *\n * Native scrollbars differ per platform and, on macOS with overlay scrollbars\n * on, are invisible until you scroll. That is fine for a page and awkward for a\n * panel inside one, where the absence of a scrollbar reads as \"there is nothing\n * more here\".\n *\n * Radix keeps native scrolling and native keyboard behaviour and only replaces\n * the scrollbar's appearance, so wheel, trackpad, touch, Page Up and Home all\n * still work. Worth stating because scrollbar libraries that reimplement\n * scrolling itself usually break at least one of those.\n */\n\nexport interface ScrollAreaProps extends React.ComponentPropsWithoutRef<\n typeof ScrollAreaPrimitive.Root\n> {\n /** Which scrollbars to render. Defaults to vertical. */\n orientation?: \"vertical\" | \"horizontal\" | \"both\";\n /** Passed to the viewport, for a max height or a fixed size. */\n viewportClassName?: string;\n}\n\nconst ScrollArea = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.Root>,\n ScrollAreaProps\n>(\n (\n {\n className,\n children,\n orientation = \"vertical\",\n viewportClassName,\n ...props\n },\n ref,\n ) => (\n <ScrollAreaPrimitive.Root\n ref={ref}\n className={cn(\"relative overflow-hidden\", className)}\n {...props}\n >\n <ScrollAreaPrimitive.Viewport\n className={cn(\"h-full w-full rounded-[inherit]\", viewportClassName)}\n >\n {children}\n </ScrollAreaPrimitive.Viewport>\n {orientation !== \"horizontal\" && <ScrollBar orientation=\"vertical\" />}\n {orientation !== \"vertical\" && <ScrollBar orientation=\"horizontal\" />}\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n ),\n);\nScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;\n\nconst ScrollBar = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>,\n React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>\n>(({ className, orientation = \"vertical\", ...props }, ref) => (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n ref={ref}\n orientation={orientation}\n className={cn(\n \"flex touch-none select-none transition-colors\",\n orientation === \"vertical\" &&\n \"h-full w-2.5 border-l border-l-transparent p-[1px]\",\n orientation === \"horizontal\" &&\n \"h-2.5 flex-col border-t border-t-transparent p-[1px]\",\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"relative flex-1 rounded-full bg-border\" />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n));\nScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;\n\nexport { ScrollArea, ScrollBar };\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {a}from'./chunk-AC2JBXHQ.js';import*as t from'react';import*as e from'@radix-ui/react-hover-card';var f=e.Root,v=e.Trigger,m=t.forwardRef(({className:r,align:a$1="center",sideOffset:i=8,...d},n)=>t.createElement(e.Portal,null,t.createElement(e.Content,{ref:n,align:a$1,sideOffset:i,className:a("z-50 w-64 rounded-lg border border-border bg-background p-4 text-foreground shadow-lg outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...d})));m.displayName=e.Content.displayName;export{f as a,v as b,m as c};//# sourceMappingURL=chunk-HEU5GFOV.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-HEU5GFOV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/hover-card.tsx"],"names":["HoverCard","HoverCardTrigger","HoverCardContent","className","align","sideOffset","props","ref","cn"],"mappings":"yGAmBA,IAAMA,CAAAA,CAA+B,CAAA,CAAA,IAAA,CAC/BC,CAAAA,CAAsC,CAAA,CAAA,OAAA,CAEtCC,CAAAA,CAAyB,aAG7B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,KAAA,CAAAC,GAAAA,CAAQ,SAAU,UAAA,CAAAC,CAAAA,CAAa,CAAA,CAAG,GAAGC,CAAM,CAAA,CAAGC,IAC5D,CAAA,CAAA,aAAA,CAAoB,CAAA,CAAA,MAAA,CAAnB,KACC,CAAA,CAAA,aAAA,CAAoB,CAAA,CAAA,OAAA,CAAnB,CACC,GAAA,CAAKA,CAAAA,CACL,KAAA,CAAOH,GAAAA,CACP,UAAA,CAAYC,CAAAA,CACZ,UAAWG,CAAAA,CACT,qbAAA,CAMAL,CACF,CAAA,CACC,GAAGG,CAAAA,CACN,CACF,CACD,EACDJ,CAAAA,CAAiB,WAAA,CAAiC,CAAA,CAAA,OAAA,CAAQ,WAAA","file":"chunk-HEU5GFOV.js","sourcesContent":["import * as React from \"react\";\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A preview that appears on hover: a user card behind a mention, a repository\n * summary behind a link.\n *\n * Not a `Tooltip`. A tooltip labels something in a few words and is announced as\n * the element's description; a hover card holds real content, including links\n * you can move the pointer into.\n *\n * It opens on hover and on keyboard focus, but its content is not reachable by\n * keyboard beyond that, and it never opens on touch. So it has to stay\n * supplementary: everything inside must also be available somewhere else. Radix\n * marks it `aria-hidden` for that reason, which is correct and means a screen\n * reader will not see it at all.\n */\n\nconst HoverCard = HoverCardPrimitive.Root;\nconst HoverCardTrigger = HoverCardPrimitive.Trigger;\n\nconst HoverCardContent = React.forwardRef<\n React.ElementRef<typeof HoverCardPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content>\n>(({ className, align = \"center\", sideOffset = 8, ...props }, ref) => (\n <HoverCardPrimitive.Portal>\n <HoverCardPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n \"z-50 w-64 rounded-lg border border-border bg-background p-4 text-foreground shadow-lg outline-none \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 \" +\n \"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 \" +\n \"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\n className,\n )}\n {...props}\n />\n </HoverCardPrimitive.Portal>\n));\nHoverCardContent.displayName = HoverCardPrimitive.Content.displayName;\n\nexport { HoverCard, HoverCardTrigger, HoverCardContent };\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkMIYL7YKU_cjs=require('./chunk-MIYL7YKU.cjs'),chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),t=require('react'),e=require('@radix-ui/react-context-menu');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var t__namespace=/*#__PURE__*/_interopNamespace(t);var e__namespace=/*#__PURE__*/_interopNamespace(e);var S=e__namespace.Root,g=e__namespace.Trigger,w=e__namespace.Group,k=e__namespace.Sub,L=e__namespace.RadioGroup,l=t__namespace.forwardRef(({className:n,...o},i)=>t__namespace.createElement(e__namespace.Portal,null,t__namespace.createElement(e__namespace.Content,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.a,n),...o})));l.displayName=e__namespace.Content.displayName;var M=t__namespace.forwardRef(({className:n,destructive:o,inset:i,...a},s)=>t__namespace.createElement(e__namespace.Item,{ref:s,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,i&&chunkMIYL7YKU_cjs.c,o&&chunkMIYL7YKU_cjs.g,n),...a}));M.displayName=e__namespace.Item.displayName;var P=t__namespace.forwardRef(({className:n,children:o,...i},a)=>t__namespace.createElement(e__namespace.CheckboxItem,{ref:a,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,chunkMIYL7YKU_cjs.c,n),...i},t__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},t__namespace.createElement(e__namespace.ItemIndicator,null,t__namespace.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"h-3.5 w-3.5","aria-hidden":"true"},t__namespace.createElement("path",{d:"M13 4.5 6.5 11 3 7.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),o));P.displayName=e__namespace.CheckboxItem.displayName;var R=t__namespace.forwardRef(({className:n,children:o,...i},a)=>t__namespace.createElement(e__namespace.RadioItem,{ref:a,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,chunkMIYL7YKU_cjs.c,n),...i},t__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},t__namespace.createElement(e__namespace.ItemIndicator,null,t__namespace.createElement("span",{className:"h-2 w-2 rounded-full bg-current"}))),o));R.displayName=e__namespace.RadioItem.displayName;var v=t__namespace.forwardRef(({className:n,inset:o,...i},a)=>t__namespace.createElement(e__namespace.Label,{ref:a,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.d,o&&chunkMIYL7YKU_cjs.c,n),...i}));v.displayName=e__namespace.Label.displayName;var d=t__namespace.forwardRef(({className:n,...o},i)=>t__namespace.createElement(e__namespace.Separator,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.e,n),...o}));d.displayName=e__namespace.Separator.displayName;function y({className:n,...o}){return t__namespace.createElement("span",{className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.f,n),...o})}y.displayName="ContextMenuShortcut";var b=t__namespace.forwardRef(({className:n,inset:o,children:i,...a},s)=>t__namespace.createElement(e__namespace.SubTrigger,{ref:s,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.b,"data-[state=open]:bg-muted",o&&chunkMIYL7YKU_cjs.c,n),...a},i,t__namespace.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"ml-auto h-3.5 w-3.5","aria-hidden":"true"},t__namespace.createElement("path",{d:"m6 4 4 4-4 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))));b.displayName=e__namespace.SubTrigger.displayName;var N=t__namespace.forwardRef(({className:n,...o},i)=>t__namespace.createElement(e__namespace.Portal,null,t__namespace.createElement(e__namespace.SubContent,{ref:i,className:chunkITRGJNWL_cjs.a(chunkMIYL7YKU_cjs.a,n),...o})));N.displayName=e__namespace.SubContent.displayName;exports.a=S;exports.b=g;exports.c=w;exports.d=k;exports.e=L;exports.f=l;exports.g=M;exports.h=P;exports.i=R;exports.j=v;exports.k=d;exports.l=y;exports.m=b;exports.n=N;//# sourceMappingURL=chunk-KCS3UL74.cjs.map
|
|
3
|
+
//# sourceMappingURL=chunk-KCS3UL74.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/context-menu.tsx"],"names":["ContextMenu","e","ContextMenuTrigger","ContextMenuGroup","ContextMenuSub","ContextMenuRadioGroup","ContextMenuContent","t","className","props","ref","cn","menuSurface","ContextMenuItem","destructive","inset","menuItem","menuItemInset","menuDestructive","ContextMenuCheckboxItem","children","ContextMenuRadioItem","ContextMenuLabel","menuLabel","ContextMenuSeparator","menuSeparator","ContextMenuShortcut","menuShortcut","ContextMenuSubTrigger","ContextMenuSubContent"],"mappings":"2kBA4BA,IAAMA,EAAmCC,YAAA,CAAA,IAAA,CACnCC,CAAAA,CAA0CD,qBAC1CE,CAAAA,CAAwCF,YAAA,CAAA,KAAA,CACxCG,EAAsCH,YAAA,CAAA,GAAA,CACtCI,CAAAA,CAA6CJ,wBAE7CK,CAAAA,CAA2BC,YAAA,CAAA,UAAA,CAG/B,CAAC,CAAE,SAAA,CAAAC,EAA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CM,YAAA,CAAA,aAAA,CAAsBN,wBAArB,CACC,GAAA,CAAKS,EACL,SAAA,CAAWC,mBAAAA,CAAGC,oBAAaJ,CAAS,CAAA,CACnC,GAAGC,CAAAA,CACN,CACF,CACD,EACDoB,CAAAA,CAAsB,YAAmC5B,YAAA,CAAA,UAAA,CAAW,WAAA","file":"chunk-KCS3UL74.cjs","sourcesContent":["import * as React from \"react\";\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\";\nimport { cn } from \"../../lib/utils\";\nimport {\n menuDestructive,\n menuItem,\n menuItemInset,\n menuLabel,\n menuSeparator,\n menuShortcut,\n menuSurface,\n} from \"./menu-styles\";\n\n/**\n * The menu that opens on right-click, at the pointer.\n *\n * A separate primitive from `DropdownMenu` rather than a prop on it, because the\n * two are genuinely different: this one has no visible trigger, opens where the\n * pointer is, and on touch opens on long-press. Radix models them separately for\n * that reason. The styling is shared through menu-styles.ts so the two look like\n * the same menu, which is what a user expects.\n *\n * Worth saying out loud: a context menu must not be the only way to reach an\n * action. There is no affordance for it, it is awkward on touch, and a keyboard\n * user gets there only through the context-menu key. Put the same actions in a\n * `DropdownMenu` or a toolbar as well.\n */\n\nconst ContextMenu = ContextMenuPrimitive.Root;\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\nconst ContextMenuSub = ContextMenuPrimitive.Sub;\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;\n\nconst ContextMenuContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;\n\nexport interface ContextMenuItemProps extends React.ComponentPropsWithoutRef<\n typeof ContextMenuPrimitive.Item\n> {\n destructive?: boolean;\n inset?: boolean;\n}\n\nconst ContextMenuItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Item>,\n ContextMenuItemProps\n>(({ className, destructive, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Item\n ref={ref}\n className={cn(\n menuItem,\n inset && menuItemInset,\n destructive && menuDestructive,\n className,\n )}\n {...props}\n />\n));\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13 4.5 6.5 11 3 7.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n));\nContextMenuCheckboxItem.displayName =\n ContextMenuPrimitive.CheckboxItem.displayName;\n\nconst ContextMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <ContextMenuPrimitive.RadioItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <span className=\"h-2 w-2 rounded-full bg-current\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.RadioItem>\n));\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;\n\nconst ContextMenuLabel = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <ContextMenuPrimitive.Label\n ref={ref}\n className={cn(menuLabel, inset && menuItemInset, className)}\n {...props}\n />\n));\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;\n\nconst ContextMenuSeparator = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Separator\n ref={ref}\n className={cn(menuSeparator, className)}\n {...props}\n />\n));\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;\n\nfunction ContextMenuShortcut({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return <span className={cn(menuShortcut, className)} {...props} />;\n}\nContextMenuShortcut.displayName = \"ContextMenuShortcut\";\n\nconst ContextMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <ContextMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n menuItem,\n \"data-[state=open]:bg-muted\",\n inset && menuItemInset,\n className,\n )}\n {...props}\n >\n {children}\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"ml-auto h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"m6 4 4 4-4 4\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </ContextMenuPrimitive.SubTrigger>\n));\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;\n\nconst ContextMenuSubContent = React.forwardRef<\n React.ElementRef<typeof ContextMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.SubContent\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n));\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;\n\nexport {\n ContextMenu,\n ContextMenuTrigger,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuCheckboxItem,\n ContextMenuRadioGroup,\n ContextMenuRadioItem,\n ContextMenuLabel,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuGroup,\n ContextMenuSub,\n ContextMenuSubTrigger,\n ContextMenuSubContent,\n};\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var t="z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e="relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors focus:bg-muted focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o="pl-8",d="px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground",r="-mx-1 my-1 h-px bg-border",a="ml-auto text-xs tracking-widest text-muted-foreground",n="text-destructive focus:bg-destructive/10 focus:text-destructive";exports.a=t;exports.b=e;exports.c=o;exports.d=d;exports.e=r;exports.f=a;exports.g=n;//# sourceMappingURL=chunk-MIYL7YKU.cjs.map
|
|
3
|
+
//# sourceMappingURL=chunk-MIYL7YKU.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/menu-styles.ts"],"names":["menuSurface","menuItem","menuItemInset","menuLabel","menuSeparator","menuShortcut","menuDestructive"],"mappings":"aAcO,IAAMA,CAAAA,CACX,gcAAA,CAOWC,CAAAA,CACX,+NAAA,CAKWC,CAAAA,CAAgB,MAAA,CAEhBC,CAAAA,CACX,iFAAA,CAEWC,CAAAA,CAAgB,2BAAA,CAEhBC,CAAAA,CACX,uDAAA,CAEWC,CAAAA,CACX","file":"chunk-MIYL7YKU.cjs","sourcesContent":["/**\n * Class strings shared by `DropdownMenu` and `ContextMenu`.\n *\n * The two components wrap different Radix primitives, because a context menu\n * opens on right-click at the pointer and a dropdown opens from a trigger, and\n * Radix models those separately. But they are the same menu to look at, and a\n * user who learns one should recognise the other.\n *\n * These lived inside dropdown-menu.tsx. Copying them into context-menu.tsx\n * would have worked exactly until the first time someone adjusted the focus\n * colour in one file and not the other, which is the kind of drift nobody\n * notices in review and everybody notices on the page.\n */\n\nexport const menuSurface =\n \"z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 \" +\n \"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 \" +\n \"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\";\n\nexport const menuItem =\n \"relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none \" +\n \"transition-colors focus:bg-muted focus:text-foreground \" +\n \"data-[disabled]:pointer-events-none data-[disabled]:opacity-50\";\n\n/** Indent for items that sit beside checkbox or radio indicators. */\nexport const menuItemInset = \"pl-8\";\n\nexport const menuLabel =\n \"px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground\";\n\nexport const menuSeparator = \"-mx-1 my-1 h-px bg-border\";\n\nexport const menuShortcut =\n \"ml-auto text-xs tracking-widest text-muted-foreground\";\n\nexport const menuDestructive =\n \"text-destructive focus:bg-destructive/10 focus:text-destructive\";\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {a as a$1,b as b$1,c,g as g$1,d,e as e$1,f}from'./chunk-XYPJ2K22.js';import {a}from'./chunk-AC2JBXHQ.js';import*as o from'react';import*as e from'@radix-ui/react-dropdown-menu';var C=e.Root,S=e.Trigger,g=e.Group,k=e.Sub,x=e.RadioGroup,l=o.forwardRef(({className:t,sideOffset:n=6,...r},i)=>o.createElement(e.Portal,null,o.createElement(e.Content,{ref:i,sideOffset:n,className:a(a$1,t),...r})));l.displayName=e.Content.displayName;var M=o.forwardRef(({className:t,destructive:n,inset:r,...i},u)=>o.createElement(e.Item,{ref:u,className:a(b$1,r&&c,n&&g$1,t),...i}));M.displayName=e.Item.displayName;var D=o.forwardRef(({className:t,children:n,...r},i)=>o.createElement(e.CheckboxItem,{ref:i,className:a(b$1,c,t),...r},o.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o.createElement(e.ItemIndicator,null,o.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"h-3.5 w-3.5","aria-hidden":"true"},o.createElement("path",{d:"M13 4.5 6.5 11 3 7.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),n));D.displayName=e.CheckboxItem.displayName;var P=o.forwardRef(({className:t,children:n,...r},i)=>o.createElement(e.RadioItem,{ref:i,className:a(b$1,c,t),...r},o.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o.createElement(e.ItemIndicator,null,o.createElement("span",{className:"h-2 w-2 rounded-full bg-current"}))),n));P.displayName=e.RadioItem.displayName;var R=o.forwardRef(({className:t,inset:n,...r},i)=>o.createElement(e.Label,{ref:i,className:a(d,n&&c,t),...r}));R.displayName=e.Label.displayName;var v=o.forwardRef(({className:t,...n},r)=>o.createElement(e.Separator,{ref:r,className:a(e$1,t),...n}));v.displayName=e.Separator.displayName;function y({className:t,...n}){return o.createElement("span",{className:a(f,t),...n})}y.displayName="DropdownMenuShortcut";var b=o.forwardRef(({className:t,inset:n,children:r,...i},u)=>o.createElement(e.SubTrigger,{ref:u,className:a(b$1,"data-[state=open]:bg-muted",n&&c,t),...i},r,o.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"ml-auto h-3.5 w-3.5","aria-hidden":"true"},o.createElement("path",{d:"m6 4 4 4-4 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))));b.displayName=e.SubTrigger.displayName;var N=o.forwardRef(({className:t,...n},r)=>o.createElement(e.Portal,null,o.createElement(e.SubContent,{ref:r,className:a(a$1,t),...n})));N.displayName=e.SubContent.displayName;export{C as a,S as b,g as c,k as d,x as e,l as f,M as g,D as h,P as i,R as j,v as k,y as l,b as m,N as n};//# sourceMappingURL=chunk-MM54MZBX.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-MM54MZBX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/dropdown-menu.tsx"],"names":["DropdownMenu","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuSub","DropdownMenuRadioGroup","DropdownMenuContent","className","sideOffset","props","ref","cn","menuSurface","DropdownMenuItem","destructive","inset","menuItem","menuItemInset","menuDestructive","DropdownMenuCheckboxItem","children","DropdownMenuRadioItem","DropdownMenuLabel","menuLabel","DropdownMenuSeparator","menuSeparator","DropdownMenuShortcut","menuShortcut","DropdownMenuSubTrigger","DropdownMenuSubContent"],"mappings":"wLAwBA,IAAMA,CAAAA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CACC,CAAA,CAAA,UAAA,CAAW,YAEnC,IAAMC,CAAAA,CAA+B,aAGnC,CAAC,CAAE,UAAAtB,CAAAA,CAAW,GAAGE,CAAM,CAAA,CAAGC,CAAAA,GAC1B,gBAAuB,CAAA,CAAA,MAAA,CAAtB,IAAA,CACC,gBAAuB,CAAA,CAAA,UAAA,CAAtB,CACC,IAAKA,CAAAA,CACL,SAAA,CAAWC,EAAGC,GAAAA,CAAaL,CAAS,EACnC,GAAGE,CAAAA,CACN,CACF,CACD,EACDoB,CAAAA,CAAuB,WAAA,CACC,CAAA,CAAA,UAAA,CAAW,WAAA","file":"chunk-MM54MZBX.js","sourcesContent":["import * as React from \"react\";\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\";\nimport { cn } from \"../../lib/utils\";\nimport {\n menuDestructive,\n menuItem,\n menuItemInset,\n menuLabel,\n menuSeparator,\n menuShortcut,\n menuSurface,\n} from \"./menu-styles\";\n\n/**\n * The menu that hangs off a button: row actions, account menus, overflow.\n *\n * Radix owns the hard parts - roving focus, typeahead, submenu timing, pointer\n * versus keyboard intent - so this is styling plus two defaults worth having in\n * one place rather than at every call site.\n *\n * `Select` is the neighbouring component and a different thing: it edits a form\n * value and has a selected state. A dropdown menu runs commands.\n */\n\nconst DropdownMenu = DropdownMenuPrimitive.Root;\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group;\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub;\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 6, ...props }, ref) => (\n // Portalled: an un-portalled menu is clipped by any ancestor with\n // `overflow: hidden`, which in practice means every card and table it is used\n // in - the single most common way a menu appears half-drawn.\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;\n\nexport interface DropdownMenuItemProps extends React.ComponentPropsWithoutRef<\n typeof DropdownMenuPrimitive.Item\n> {\n /** Pulls the item into the destructive palette. */\n destructive?: boolean;\n /** Indents to line up with checkbox and radio items in the same menu. */\n inset?: boolean;\n}\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n DropdownMenuItemProps\n>(({ className, destructive, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n menuItem,\n inset && menuItemInset,\n destructive && menuDestructive,\n className,\n )}\n {...props}\n />\n));\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n // `checked` rides along in the spread rather than being destructured and\n // re-passed: under exactOptionalPropertyTypes, handing back an explicit\n // `undefined` is not the same as omitting the prop, and Radix's type rejects it.\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13 4.5 6.5 11 3 7.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n));\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName;\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(menuItem, menuItemInset, className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <span className=\"h-2 w-2 rounded-full bg-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n));\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn(menuLabel, inset && menuItemInset, className)}\n {...props}\n />\n));\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn(menuSeparator, className)}\n {...props}\n />\n));\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;\n\n/** For a keyboard hint on the right of an item. Not interactive. */\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return <span className={cn(menuShortcut, className)} {...props} />;\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\";\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n menuItem,\n \"data-[state=open]:bg-muted\",\n inset && menuItemInset,\n className,\n )}\n {...props}\n >\n {children}\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"ml-auto h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"m6 4 4 4-4 4\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.SubTrigger>\n));\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName;\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName;\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var t="z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e="relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors focus:bg-muted focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o="pl-8",d="px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground",r="-mx-1 my-1 h-px bg-border",a="ml-auto text-xs tracking-widest text-muted-foreground",n="text-destructive focus:bg-destructive/10 focus:text-destructive";export{t as a,e as b,o as c,d,r as e,a as f,n as g};//# sourceMappingURL=chunk-XYPJ2K22.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-XYPJ2K22.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/menu-styles.ts"],"names":["menuSurface","menuItem","menuItemInset","menuLabel","menuSeparator","menuShortcut","menuDestructive"],"mappings":"AAcO,IAAMA,CAAAA,CACX,gcAAA,CAOWC,CAAAA,CACX,+NAAA,CAKWC,CAAAA,CAAgB,MAAA,CAEhBC,CAAAA,CACX,iFAAA,CAEWC,CAAAA,CAAgB,2BAAA,CAEhBC,CAAAA,CACX,uDAAA,CAEWC,CAAAA,CACX","file":"chunk-XYPJ2K22.js","sourcesContent":["/**\n * Class strings shared by `DropdownMenu` and `ContextMenu`.\n *\n * The two components wrap different Radix primitives, because a context menu\n * opens on right-click at the pointer and a dropdown opens from a trigger, and\n * Radix models those separately. But they are the same menu to look at, and a\n * user who learns one should recognise the other.\n *\n * These lived inside dropdown-menu.tsx. Copying them into context-menu.tsx\n * would have worked exactly until the first time someone adjusted the focus\n * colour in one file and not the other, which is the kind of drift nobody\n * notices in review and everybody notices on the page.\n */\n\nexport const menuSurface =\n \"z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 \" +\n \"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 \" +\n \"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\";\n\nexport const menuItem =\n \"relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none \" +\n \"transition-colors focus:bg-muted focus:text-foreground \" +\n \"data-[disabled]:pointer-events-none data-[disabled]:opacity-50\";\n\n/** Indent for items that sit beside checkbox or radio indicators. */\nexport const menuItemInset = \"pl-8\";\n\nexport const menuLabel =\n \"px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground\";\n\nexport const menuSeparator = \"-mx-1 my-1 h-px bg-border\";\n\nexport const menuShortcut =\n \"ml-auto text-xs tracking-widest text-muted-foreground\";\n\nexport const menuDestructive =\n \"text-destructive focus:bg-destructive/10 focus:text-destructive\";\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkKCS3UL74_cjs=require('../../chunk-KCS3UL74.cjs');require('../../chunk-MIYL7YKU.cjs'),require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"ContextMenu",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.a}});Object.defineProperty(exports,"ContextMenuCheckboxItem",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.h}});Object.defineProperty(exports,"ContextMenuContent",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.f}});Object.defineProperty(exports,"ContextMenuGroup",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.c}});Object.defineProperty(exports,"ContextMenuItem",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.g}});Object.defineProperty(exports,"ContextMenuLabel",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.j}});Object.defineProperty(exports,"ContextMenuRadioGroup",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.e}});Object.defineProperty(exports,"ContextMenuRadioItem",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.i}});Object.defineProperty(exports,"ContextMenuSeparator",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.k}});Object.defineProperty(exports,"ContextMenuShortcut",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.l}});Object.defineProperty(exports,"ContextMenuSub",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.d}});Object.defineProperty(exports,"ContextMenuSubContent",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.n}});Object.defineProperty(exports,"ContextMenuSubTrigger",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.m}});Object.defineProperty(exports,"ContextMenuTrigger",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.b}});//# sourceMappingURL=context-menu.cjs.map
|
|
3
|
+
//# sourceMappingURL=context-menu.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"context-menu.cjs"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The menu that opens on right-click, at the pointer.
|
|
6
|
+
*
|
|
7
|
+
* A separate primitive from `DropdownMenu` rather than a prop on it, because the
|
|
8
|
+
* two are genuinely different: this one has no visible trigger, opens where the
|
|
9
|
+
* pointer is, and on touch opens on long-press. Radix models them separately for
|
|
10
|
+
* that reason. The styling is shared through menu-styles.ts so the two look like
|
|
11
|
+
* the same menu, which is what a user expects.
|
|
12
|
+
*
|
|
13
|
+
* Worth saying out loud: a context menu must not be the only way to reach an
|
|
14
|
+
* action. There is no affordance for it, it is awkward on touch, and a keyboard
|
|
15
|
+
* user gets there only through the context-menu key. Put the same actions in a
|
|
16
|
+
* `DropdownMenu` or a toolbar as well.
|
|
17
|
+
*/
|
|
18
|
+
declare const ContextMenu: React.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
19
|
+
declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
20
|
+
declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
declare const ContextMenuSub: React.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
22
|
+
declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const ContextMenuContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
interface ContextMenuItemProps extends React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> {
|
|
25
|
+
destructive?: boolean;
|
|
26
|
+
inset?: boolean;
|
|
27
|
+
}
|
|
28
|
+
declare const ContextMenuItem: React.ForwardRefExoticComponent<ContextMenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
declare const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
declare const ContextMenuRadioItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
+
declare const ContextMenuLabel: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
32
|
+
inset?: boolean;
|
|
33
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
declare const ContextMenuSeparator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
declare function ContextMenuShortcut({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
36
|
+
declare namespace ContextMenuShortcut {
|
|
37
|
+
var displayName: string;
|
|
38
|
+
}
|
|
39
|
+
declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
40
|
+
inset?: boolean;
|
|
41
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
declare const ContextMenuSubContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
|
|
44
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The menu that opens on right-click, at the pointer.
|
|
6
|
+
*
|
|
7
|
+
* A separate primitive from `DropdownMenu` rather than a prop on it, because the
|
|
8
|
+
* two are genuinely different: this one has no visible trigger, opens where the
|
|
9
|
+
* pointer is, and on touch opens on long-press. Radix models them separately for
|
|
10
|
+
* that reason. The styling is shared through menu-styles.ts so the two look like
|
|
11
|
+
* the same menu, which is what a user expects.
|
|
12
|
+
*
|
|
13
|
+
* Worth saying out loud: a context menu must not be the only way to reach an
|
|
14
|
+
* action. There is no affordance for it, it is awkward on touch, and a keyboard
|
|
15
|
+
* user gets there only through the context-menu key. Put the same actions in a
|
|
16
|
+
* `DropdownMenu` or a toolbar as well.
|
|
17
|
+
*/
|
|
18
|
+
declare const ContextMenu: React.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
19
|
+
declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
20
|
+
declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
declare const ContextMenuSub: React.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
22
|
+
declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const ContextMenuContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
interface ContextMenuItemProps extends React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> {
|
|
25
|
+
destructive?: boolean;
|
|
26
|
+
inset?: boolean;
|
|
27
|
+
}
|
|
28
|
+
declare const ContextMenuItem: React.ForwardRefExoticComponent<ContextMenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
declare const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
declare const ContextMenuRadioItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
+
declare const ContextMenuLabel: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
32
|
+
inset?: boolean;
|
|
33
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
declare const ContextMenuSeparator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
declare function ContextMenuShortcut({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
36
|
+
declare namespace ContextMenuShortcut {
|
|
37
|
+
var displayName: string;
|
|
38
|
+
}
|
|
39
|
+
declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
40
|
+
inset?: boolean;
|
|
41
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
declare const ContextMenuSubContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
|
|
44
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export{a as ContextMenu,h as ContextMenuCheckboxItem,f as ContextMenuContent,c as ContextMenuGroup,g as ContextMenuItem,j as ContextMenuLabel,e as ContextMenuRadioGroup,i as ContextMenuRadioItem,k as ContextMenuSeparator,l as ContextMenuShortcut,d as ContextMenuSub,n as ContextMenuSubContent,m as ContextMenuSubTrigger,b as ContextMenuTrigger}from'../../chunk-AYKNZARS.js';import'../../chunk-XYPJ2K22.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=context-menu.js.map
|
|
3
|
+
//# sourceMappingURL=context-menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"context-menu.js"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
'use strict';var
|
|
2
|
+
'use strict';var chunk4NLMGH2S_cjs=require('../../chunk-4NLMGH2S.cjs');require('../../chunk-MIYL7YKU.cjs'),require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"DropdownMenu",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.a}});Object.defineProperty(exports,"DropdownMenuCheckboxItem",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.h}});Object.defineProperty(exports,"DropdownMenuContent",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.f}});Object.defineProperty(exports,"DropdownMenuGroup",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.c}});Object.defineProperty(exports,"DropdownMenuItem",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.g}});Object.defineProperty(exports,"DropdownMenuLabel",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.j}});Object.defineProperty(exports,"DropdownMenuRadioGroup",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.e}});Object.defineProperty(exports,"DropdownMenuRadioItem",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.i}});Object.defineProperty(exports,"DropdownMenuSeparator",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.k}});Object.defineProperty(exports,"DropdownMenuShortcut",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.l}});Object.defineProperty(exports,"DropdownMenuSub",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.d}});Object.defineProperty(exports,"DropdownMenuSubContent",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.n}});Object.defineProperty(exports,"DropdownMenuSubTrigger",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.m}});Object.defineProperty(exports,"DropdownMenuTrigger",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.b}});//# sourceMappingURL=dropdown-menu.cjs.map
|
|
3
3
|
//# sourceMappingURL=dropdown-menu.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{a as DropdownMenu,h as DropdownMenuCheckboxItem,f as DropdownMenuContent,c as DropdownMenuGroup,g as DropdownMenuItem,j as DropdownMenuLabel,e as DropdownMenuRadioGroup,i as DropdownMenuRadioItem,k as DropdownMenuSeparator,l as DropdownMenuShortcut,d as DropdownMenuSub,n as DropdownMenuSubContent,m as DropdownMenuSubTrigger,b as DropdownMenuTrigger}from'../../chunk-
|
|
2
|
+
export{a as DropdownMenu,h as DropdownMenuCheckboxItem,f as DropdownMenuContent,c as DropdownMenuGroup,g as DropdownMenuItem,j as DropdownMenuLabel,e as DropdownMenuRadioGroup,i as DropdownMenuRadioItem,k as DropdownMenuSeparator,l as DropdownMenuShortcut,d as DropdownMenuSub,n as DropdownMenuSubContent,m as DropdownMenuSubTrigger,b as DropdownMenuTrigger}from'../../chunk-MM54MZBX.js';import'../../chunk-XYPJ2K22.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=dropdown-menu.js.map
|
|
3
3
|
//# sourceMappingURL=dropdown-menu.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkE3A4SP3X_cjs=require('../../chunk-E3A4SP3X.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"HoverCard",{enumerable:true,get:function(){return chunkE3A4SP3X_cjs.a}});Object.defineProperty(exports,"HoverCardContent",{enumerable:true,get:function(){return chunkE3A4SP3X_cjs.c}});Object.defineProperty(exports,"HoverCardTrigger",{enumerable:true,get:function(){return chunkE3A4SP3X_cjs.b}});//# sourceMappingURL=hover-card.cjs.map
|
|
3
|
+
//# sourceMappingURL=hover-card.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"hover-card.cjs"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A preview that appears on hover: a user card behind a mention, a repository
|
|
6
|
+
* summary behind a link.
|
|
7
|
+
*
|
|
8
|
+
* Not a `Tooltip`. A tooltip labels something in a few words and is announced as
|
|
9
|
+
* the element's description; a hover card holds real content, including links
|
|
10
|
+
* you can move the pointer into.
|
|
11
|
+
*
|
|
12
|
+
* It opens on hover and on keyboard focus, but its content is not reachable by
|
|
13
|
+
* keyboard beyond that, and it never opens on touch. So it has to stay
|
|
14
|
+
* supplementary: everything inside must also be available somewhere else. Radix
|
|
15
|
+
* marks it `aria-hidden` for that reason, which is correct and means a screen
|
|
16
|
+
* reader will not see it at all.
|
|
17
|
+
*/
|
|
18
|
+
declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
|
|
19
|
+
declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
20
|
+
declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
|
|
22
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A preview that appears on hover: a user card behind a mention, a repository
|
|
6
|
+
* summary behind a link.
|
|
7
|
+
*
|
|
8
|
+
* Not a `Tooltip`. A tooltip labels something in a few words and is announced as
|
|
9
|
+
* the element's description; a hover card holds real content, including links
|
|
10
|
+
* you can move the pointer into.
|
|
11
|
+
*
|
|
12
|
+
* It opens on hover and on keyboard focus, but its content is not reachable by
|
|
13
|
+
* keyboard beyond that, and it never opens on touch. So it has to stay
|
|
14
|
+
* supplementary: everything inside must also be available somewhere else. Radix
|
|
15
|
+
* marks it `aria-hidden` for that reason, which is correct and means a screen
|
|
16
|
+
* reader will not see it at all.
|
|
17
|
+
*/
|
|
18
|
+
declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
|
|
19
|
+
declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
20
|
+
declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
|
|
22
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"hover-card.js"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkCGBIJDZX_cjs=require('../../chunk-CGBIJDZX.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"ScrollArea",{enumerable:true,get:function(){return chunkCGBIJDZX_cjs.a}});Object.defineProperty(exports,"ScrollBar",{enumerable:true,get:function(){return chunkCGBIJDZX_cjs.b}});//# sourceMappingURL=scroll-area.cjs.map
|
|
3
|
+
//# sourceMappingURL=scroll-area.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"scroll-area.cjs"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A scrollable region with scrollbars that look the same everywhere.
|
|
6
|
+
*
|
|
7
|
+
* Native scrollbars differ per platform and, on macOS with overlay scrollbars
|
|
8
|
+
* on, are invisible until you scroll. That is fine for a page and awkward for a
|
|
9
|
+
* panel inside one, where the absence of a scrollbar reads as "there is nothing
|
|
10
|
+
* more here".
|
|
11
|
+
*
|
|
12
|
+
* Radix keeps native scrolling and native keyboard behaviour and only replaces
|
|
13
|
+
* the scrollbar's appearance, so wheel, trackpad, touch, Page Up and Home all
|
|
14
|
+
* still work. Worth stating because scrollbar libraries that reimplement
|
|
15
|
+
* scrolling itself usually break at least one of those.
|
|
16
|
+
*/
|
|
17
|
+
interface ScrollAreaProps extends React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> {
|
|
18
|
+
/** Which scrollbars to render. Defaults to vertical. */
|
|
19
|
+
orientation?: "vertical" | "horizontal" | "both";
|
|
20
|
+
/** Passed to the viewport, for a max height or a fixed size. */
|
|
21
|
+
viewportClassName?: string;
|
|
22
|
+
}
|
|
23
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
|
|
26
|
+
export { ScrollArea, type ScrollAreaProps, ScrollBar };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A scrollable region with scrollbars that look the same everywhere.
|
|
6
|
+
*
|
|
7
|
+
* Native scrollbars differ per platform and, on macOS with overlay scrollbars
|
|
8
|
+
* on, are invisible until you scroll. That is fine for a page and awkward for a
|
|
9
|
+
* panel inside one, where the absence of a scrollbar reads as "there is nothing
|
|
10
|
+
* more here".
|
|
11
|
+
*
|
|
12
|
+
* Radix keeps native scrolling and native keyboard behaviour and only replaces
|
|
13
|
+
* the scrollbar's appearance, so wheel, trackpad, touch, Page Up and Home all
|
|
14
|
+
* still work. Worth stating because scrollbar libraries that reimplement
|
|
15
|
+
* scrolling itself usually break at least one of those.
|
|
16
|
+
*/
|
|
17
|
+
interface ScrollAreaProps extends React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> {
|
|
18
|
+
/** Which scrollbars to render. Defaults to vertical. */
|
|
19
|
+
orientation?: "vertical" | "horizontal" | "both";
|
|
20
|
+
/** Passed to the viewport, for a max height or a fixed size. */
|
|
21
|
+
viewportClassName?: string;
|
|
22
|
+
}
|
|
23
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
|
|
26
|
+
export { ScrollArea, type ScrollAreaProps, ScrollBar };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"scroll-area.js"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
'use strict';var chunkSZ34F6OZ_cjs=require('./chunk-SZ34F6OZ.cjs'),chunkZ7WEJ5IQ_cjs=require('./chunk-Z7WEJ5IQ.cjs'),chunkJ4VRJVTO_cjs=require('./chunk-J4VRJVTO.cjs'),chunk7PPAI3MM_cjs=require('./chunk-7PPAI3MM.cjs'),chunk2DNQXAMB_cjs=require('./chunk-2DNQXAMB.cjs'),chunk3V3OIZWQ_cjs=require('./chunk-3V3OIZWQ.cjs'),chunkOEN63W3G_cjs=require('./chunk-OEN63W3G.cjs'),chunkJUOCEYUF_cjs=require('./chunk-JUOCEYUF.cjs'),chunkC7HZAQBX_cjs=require('./chunk-C7HZAQBX.cjs'),chunkMQUHAWJ2_cjs=require('./chunk-MQUHAWJ2.cjs'),chunkEVRQYWZ3_cjs=require('./chunk-EVRQYWZ3.cjs'),chunkHWZTMVQV_cjs=require('./chunk-HWZTMVQV.cjs'),chunkV45EOCAD_cjs=require('./chunk-V45EOCAD.cjs'),chunk5Z3MYAVM_cjs=require('./chunk-5Z3MYAVM.cjs'),chunkNC27D5Y3_cjs=require('./chunk-NC27D5Y3.cjs'),chunkXPIBRXTW_cjs=require('./chunk-XPIBRXTW.cjs'),chunkBYV75TDY_cjs=require('./chunk-BYV75TDY.cjs'),chunkE53C3RDD_cjs=require('./chunk-E53C3RDD.cjs'),chunkG35BR7SK_cjs=require('./chunk-G35BR7SK.cjs'),chunkMLJZU63I_cjs=require('./chunk-MLJZU63I.cjs'),chunkK2JCGDU7_cjs=require('./chunk-K2JCGDU7.cjs'),chunkNPSIDFOF_cjs=require('./chunk-NPSIDFOF.cjs'),chunkEEGXD4HC_cjs=require('./chunk-EEGXD4HC.cjs'),chunkAYEM2M4H_cjs=require('./chunk-AYEM2M4H.cjs'),chunkVNDL67OG_cjs=require('./chunk-VNDL67OG.cjs'),chunkFUENXWR7_cjs=require('./chunk-FUENXWR7.cjs'),chunkNBX6FKCA_cjs=require('./chunk-NBX6FKCA.cjs'),chunkBX4VBLKZ_cjs=require('./chunk-BX4VBLKZ.cjs'),chunkV77N662N_cjs=require('./chunk-V77N662N.cjs'),chunk7YFUAGIW_cjs=require('./chunk-7YFUAGIW.cjs'),chunkEFCNLYYW_cjs=require('./chunk-EFCNLYYW.cjs'),chunk35RWQSO2_cjs=require('./chunk-35RWQSO2.cjs'),chunkJCETHQ55_cjs=require('./chunk-JCETHQ55.cjs'),chunkPMNNV4ML_cjs=require('./chunk-PMNNV4ML.cjs'),chunk3HKYX26O_cjs=require('./chunk-3HKYX26O.cjs'),chunkBZ5ZCZJX_cjs=require('./chunk-BZ5ZCZJX.cjs'),chunk3QVQ2TNE_cjs=require('./chunk-3QVQ2TNE.cjs'),chunkWK6LNC2E_cjs=require('./chunk-WK6LNC2E.cjs'),chunk55N2IT62_cjs=require('./chunk-55N2IT62.cjs'),chunk4FSJEW7W_cjs=require('./chunk-4FSJEW7W.cjs'),chunk7WEIVLG3_cjs=require('./chunk-7WEIVLG3.cjs'),chunkMLSE5XSB_cjs=require('./chunk-MLSE5XSB.cjs'),chunkPZLBMQGI_cjs=require('./chunk-PZLBMQGI.cjs'),chunk5PVFLXPO_cjs=require('./chunk-5PVFLXPO.cjs'),chunkLXQT7FH6_cjs=require('./chunk-LXQT7FH6.cjs'),chunkR4L5BZYI_cjs=require('./chunk-R4L5BZYI.cjs'),chunkIOX4WPJL_cjs=require('./chunk-IOX4WPJL.cjs');require('./chunk-7SPPGTBT.cjs');var chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs');var pn={nostromo:"nostromo",mother:"mother","lv-426":"lv-426",sulaco:"sulaco"};function on(o){typeof document<"u"&&document.documentElement.setAttribute("data-theme",o);}function rn(){return typeof document>"u"?null:document.documentElement.getAttribute("data-theme")}function un(){if(typeof document>"u")return;let r=document.documentElement.getAttribute("data-color-scheme")==="dark"?"light":"dark";document.documentElement.setAttribute("data-color-scheme",r);}function tn(o){typeof document>"u"||document.documentElement.setAttribute("data-color-scheme",o?"dark":"light");}function nn(){return typeof document>"u"?null:document.documentElement.getAttribute("data-color-scheme")}function en(){return typeof window>"u"?false:window.matchMedia("(prefers-color-scheme: dark)").matches}function gn(o){if(typeof window>"u")return ()=>{};let r=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>{o(e.matches);};return r.addEventListener("change",t),()=>{r.removeEventListener("change",t);}}function fn(o="nostromo"){typeof document>"u"||(rn()||on(o),nn()||tn(en()));}var In={nostromo:{name:"Nostromo",description:"Classic space industrial theme inspired by the USCSS Nostromo",colors:{primary:"Purple/Blue",secondary:"Dark Gray",accent:"Green"}},mother:{name:"Mother",description:"Cold, clinical AI aesthetic inspired by the ship's computer",colors:{primary:"Cold Blue/Cyan",secondary:"Clinical White",accent:"Green"}},"lv-426":{name:"LV-426",description:"Warm, rusty atmosphere inspired by the planet LV-426",colors:{primary:"Warm Orange/Rust",secondary:"Earth Tones",accent:"Green"}},sulaco:{name:"Sulaco",description:"Modern, military-inspired aesthetic from the USS Sulaco",colors:{primary:"Military Blue/Gray",secondary:"Steel Tones",accent:"Green"}}};Object.defineProperty(exports,"Toggle",{enumerable:true,get:function(){return chunkSZ34F6OZ_cjs.b}});Object.defineProperty(exports,"ToggleGroup",{enumerable:true,get:function(){return chunkSZ34F6OZ_cjs.c}});Object.defineProperty(exports,"ToggleGroupItem",{enumerable:true,get:function(){return chunkSZ34F6OZ_cjs.d}});Object.defineProperty(exports,"toggleVariants",{enumerable:true,get:function(){return chunkSZ34F6OZ_cjs.a}});Object.defineProperty(exports,"Tooltip",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.f}});Object.defineProperty(exports,"TooltipContent",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.d}});Object.defineProperty(exports,"TooltipProvider",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.e}});Object.defineProperty(exports,"TooltipTrigger",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.c}});Object.defineProperty(exports,"arrowVariants",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.b}});Object.defineProperty(exports,"tooltipVariants",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.a}});Object.defineProperty(exports,"Features",{enumerable:true,get:function(){return chunkJ4VRJVTO_cjs.a}});Object.defineProperty(exports,"Gallery",{enumerable:true,get:function(){return chunk7PPAI3MM_cjs.a}});Object.defineProperty(exports,"Hero",{enumerable:true,get:function(){return chunk2DNQXAMB_cjs.a}});Object.defineProperty(exports,"LogoWall",{enumerable:true,get:function(){return chunk3V3OIZWQ_cjs.a}});Object.defineProperty(exports,"Pricing",{enumerable:true,get:function(){return chunkOEN63W3G_cjs.a}});Object.defineProperty(exports,"Testimonials",{enumerable:true,get:function(){return chunkJUOCEYUF_cjs.a}});Object.defineProperty(exports,"Separator",{enumerable:true,get:function(){return chunkC7HZAQBX_cjs.b}});Object.defineProperty(exports,"separatorVariants",{enumerable:true,get:function(){return chunkC7HZAQBX_cjs.a}});Object.defineProperty(exports,"Sheet",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.b}});Object.defineProperty(exports,"SheetClose",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.d}});Object.defineProperty(exports,"SheetContent",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.g}});Object.defineProperty(exports,"SheetDescription",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.k}});Object.defineProperty(exports,"SheetFooter",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.i}});Object.defineProperty(exports,"SheetHeader",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.h}});Object.defineProperty(exports,"SheetOverlay",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.f}});Object.defineProperty(exports,"SheetPortal",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.e}});Object.defineProperty(exports,"SheetTitle",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.j}});Object.defineProperty(exports,"SheetTrigger",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.c}});Object.defineProperty(exports,"sheetVariants",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.a}});Object.defineProperty(exports,"Switch",{enumerable:true,get:function(){return chunkEVRQYWZ3_cjs.c}});Object.defineProperty(exports,"switchThumbVariants",{enumerable:true,get:function(){return chunkEVRQYWZ3_cjs.b}});Object.defineProperty(exports,"switchVariants",{enumerable:true,get:function(){return chunkEVRQYWZ3_cjs.a}});Object.defineProperty(exports,"Tabs",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.d}});Object.defineProperty(exports,"TabsContent",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.g}});Object.defineProperty(exports,"TabsList",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.e}});Object.defineProperty(exports,"TabsTrigger",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.f}});Object.defineProperty(exports,"tabsContentVariants",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.c}});Object.defineProperty(exports,"tabsListVariants",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.a}});Object.defineProperty(exports,"tabsTriggerVariants",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.b}});Object.defineProperty(exports,"Textarea",{enumerable:true,get:function(){return chunkV45EOCAD_cjs.b}});Object.defineProperty(exports,"textareaVariants",{enumerable:true,get:function(){return chunkV45EOCAD_cjs.a}});Object.defineProperty(exports,"Toast",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.e}});Object.defineProperty(exports,"ToastProvider",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.d}});Object.defineProperty(exports,"toastIconVariants",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.b}});Object.defineProperty(exports,"toastVariants",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.a}});Object.defineProperty(exports,"useToast",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.c}});Object.defineProperty(exports,"useToastNotification",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.f}});Object.defineProperty(exports,"Icon",{enumerable:true,get:function(){return chunkNC27D5Y3_cjs.a}});Object.defineProperty(exports,"iconNames",{enumerable:true,get:function(){return chunkNC27D5Y3_cjs.b}});Object.defineProperty(exports,"Label",{enumerable:true,get:function(){return chunkXPIBRXTW_cjs.b}});Object.defineProperty(exports,"labelVariants",{enumerable:true,get:function(){return chunkXPIBRXTW_cjs.a}});Object.defineProperty(exports,"Pagination",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.c}});Object.defineProperty(exports,"PaginationContent",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.d}});Object.defineProperty(exports,"PaginationEllipsis",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.i}});Object.defineProperty(exports,"PaginationItem",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.e}});Object.defineProperty(exports,"PaginationLink",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.f}});Object.defineProperty(exports,"PaginationNext",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.h}});Object.defineProperty(exports,"PaginationPrevious",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.g}});Object.defineProperty(exports,"paginationItemVariants",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.b}});Object.defineProperty(exports,"paginationVariants",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.a}});Object.defineProperty(exports,"Popover",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.b}});Object.defineProperty(exports,"PopoverAnchor",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.d}});Object.defineProperty(exports,"PopoverArrow",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.g}});Object.defineProperty(exports,"PopoverClose",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.e}});Object.defineProperty(exports,"PopoverContent",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.f}});Object.defineProperty(exports,"PopoverTrigger",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.c}});Object.defineProperty(exports,"popoverContentVariants",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.a}});Object.defineProperty(exports,"CircularProgress",{enumerable:true,get:function(){return chunkG35BR7SK_cjs.e}});Object.defineProperty(exports,"Progress",{enumerable:true,get:function(){return chunkG35BR7SK_cjs.d}});Object.defineProperty(exports,"progressBarVariants",{enumerable:true,get:function(){return chunkG35BR7SK_cjs.b}});Object.defineProperty(exports,"progressLabelVariants",{enumerable:true,get:function(){return chunkG35BR7SK_cjs.c}});Object.defineProperty(exports,"progressVariants",{enumerable:true,get:function(){return chunkG35BR7SK_cjs.a}});Object.defineProperty(exports,"RadioGroup",{enumerable:true,get:function(){return chunkMLJZU63I_cjs.c}});Object.defineProperty(exports,"RadioGroupItem",{enumerable:true,get:function(){return chunkMLJZU63I_cjs.d}});Object.defineProperty(exports,"RadioItem",{enumerable:true,get:function(){return chunkMLJZU63I_cjs.d}});Object.defineProperty(exports,"radioGroupVariants",{enumerable:true,get:function(){return chunkMLJZU63I_cjs.a}});Object.defineProperty(exports,"radioItemVariants",{enumerable:true,get:function(){return chunkMLJZU63I_cjs.b}});Object.defineProperty(exports,"Select",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.d}});Object.defineProperty(exports,"SelectContent",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.h}});Object.defineProperty(exports,"SelectGroup",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.e}});Object.defineProperty(exports,"SelectItem",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.j}});Object.defineProperty(exports,"SelectLabel",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.i}});Object.defineProperty(exports,"SelectSeparator",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.k}});Object.defineProperty(exports,"SelectTrigger",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.g}});Object.defineProperty(exports,"SelectValue",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.f}});Object.defineProperty(exports,"selectContentVariants",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.b}});Object.defineProperty(exports,"selectItemVariants",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.c}});Object.defineProperty(exports,"selectTriggerVariants",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.a}});Object.defineProperty(exports,"Checkbox",{enumerable:true,get:function(){return chunkNPSIDFOF_cjs.b}});Object.defineProperty(exports,"checkboxVariants",{enumerable:true,get:function(){return chunkNPSIDFOF_cjs.a}});Object.defineProperty(exports,"Collapsible",{enumerable:true,get:function(){return chunkEEGXD4HC_cjs.a}});Object.defineProperty(exports,"CollapsibleContent",{enumerable:true,get:function(){return chunkEEGXD4HC_cjs.c}});Object.defineProperty(exports,"CollapsibleTrigger",{enumerable:true,get:function(){return chunkEEGXD4HC_cjs.b}});Object.defineProperty(exports,"DataTable",{enumerable:true,get:function(){return chunkAYEM2M4H_cjs.a}});Object.defineProperty(exports,"Table",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.d}});Object.defineProperty(exports,"TableBody",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.f}});Object.defineProperty(exports,"TableCell",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.h}});Object.defineProperty(exports,"TableHead",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.i}});Object.defineProperty(exports,"TableHeader",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.e}});Object.defineProperty(exports,"TableRow",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.g}});Object.defineProperty(exports,"tableCellVariants",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.c}});Object.defineProperty(exports,"tableHeaderVariants",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.b}});Object.defineProperty(exports,"tableVariants",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.a}});Object.defineProperty(exports,"Input",{enumerable:true,get:function(){return chunkFUENXWR7_cjs.b}});Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.c}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.e}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.h}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.f}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.g}});Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.d}});Object.defineProperty(exports,"DropdownMenu",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.a}});Object.defineProperty(exports,"DropdownMenuCheckboxItem",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.h}});Object.defineProperty(exports,"DropdownMenuContent",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.f}});Object.defineProperty(exports,"DropdownMenuGroup",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.c}});Object.defineProperty(exports,"DropdownMenuItem",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.g}});Object.defineProperty(exports,"DropdownMenuLabel",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.j}});Object.defineProperty(exports,"DropdownMenuRadioGroup",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.e}});Object.defineProperty(exports,"DropdownMenuRadioItem",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.i}});Object.defineProperty(exports,"DropdownMenuSeparator",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.k}});Object.defineProperty(exports,"DropdownMenuShortcut",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.l}});Object.defineProperty(exports,"DropdownMenuSub",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.d}});Object.defineProperty(exports,"DropdownMenuSubContent",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.n}});Object.defineProperty(exports,"DropdownMenuSubTrigger",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.m}});Object.defineProperty(exports,"DropdownMenuTrigger",{enumerable:true,get:function(){return chunkBX4VBLKZ_cjs.b}});Object.defineProperty(exports,"ErrorMessage",{enumerable:true,get:function(){return chunkV77N662N_cjs.b}});Object.defineProperty(exports,"errorMessageVariants",{enumerable:true,get:function(){return chunkV77N662N_cjs.a}});Object.defineProperty(exports,"HelperText",{enumerable:true,get:function(){return chunk7YFUAGIW_cjs.b}});Object.defineProperty(exports,"helperTextVariants",{enumerable:true,get:function(){return chunk7YFUAGIW_cjs.a}});Object.defineProperty(exports,"Badge",{enumerable:true,get:function(){return chunkEFCNLYYW_cjs.b}});Object.defineProperty(exports,"badgeVariants",{enumerable:true,get:function(){return chunkEFCNLYYW_cjs.a}});Object.defineProperty(exports,"Breadcrumb",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.d}});Object.defineProperty(exports,"BreadcrumbEllipsis",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.j}});Object.defineProperty(exports,"BreadcrumbItem",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.f}});Object.defineProperty(exports,"BreadcrumbLink",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.g}});Object.defineProperty(exports,"BreadcrumbList",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.e}});Object.defineProperty(exports,"BreadcrumbPage",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.h}});Object.defineProperty(exports,"BreadcrumbSeparator",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.i}});Object.defineProperty(exports,"breadcrumbItemVariants",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.b}});Object.defineProperty(exports,"breadcrumbSeparatorVariants",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.c}});Object.defineProperty(exports,"breadcrumbVariants",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.a}});Object.defineProperty(exports,"Calendar",{enumerable:true,get:function(){return chunkJCETHQ55_cjs.c}});Object.defineProperty(exports,"calendarDayVariants",{enumerable:true,get:function(){return chunkJCETHQ55_cjs.b}});Object.defineProperty(exports,"calendarVariants",{enumerable:true,get:function(){return chunkJCETHQ55_cjs.a}});Object.defineProperty(exports,"Card",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.g}});Object.defineProperty(exports,"CardContent",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.e}});Object.defineProperty(exports,"CardDescription",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.d}});Object.defineProperty(exports,"CardFooter",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.f}});Object.defineProperty(exports,"CardHeader",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.b}});Object.defineProperty(exports,"CardTitle",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.c}});Object.defineProperty(exports,"ChartArea",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.l}});Object.defineProperty(exports,"ChartBar",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.j}});Object.defineProperty(exports,"ChartContainer",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.d}});Object.defineProperty(exports,"ChartGrid",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.e}});Object.defineProperty(exports,"ChartLegend",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.i}});Object.defineProperty(exports,"ChartLine",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.k}});Object.defineProperty(exports,"ChartReferenceLine",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.m}});Object.defineProperty(exports,"ChartTooltip",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.h}});Object.defineProperty(exports,"ChartXAxis",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.f}});Object.defineProperty(exports,"ChartYAxis",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.g}});Object.defineProperty(exports,"buildColorMap",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.b}});Object.defineProperty(exports,"chartPalette",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.a}});Object.defineProperty(exports,"resolveSeriesColor",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.c}});Object.defineProperty(exports,"LazyChart",{enumerable:true,get:function(){return chunkBZ5ZCZJX_cjs.a}});Object.defineProperty(exports,"Skeleton",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.b}});Object.defineProperty(exports,"SkeletonAvatar",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.d}});Object.defineProperty(exports,"SkeletonButton",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.e}});Object.defineProperty(exports,"SkeletonCard",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.f}});Object.defineProperty(exports,"SkeletonList",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.h}});Object.defineProperty(exports,"SkeletonTable",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.g}});Object.defineProperty(exports,"SkeletonText",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.c}});Object.defineProperty(exports,"skeletonVariants",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.a}});Object.defineProperty(exports,"Chart",{enumerable:true,get:function(){return chunkWK6LNC2E_cjs.b}});Object.defineProperty(exports,"chartContainerVariants",{enumerable:true,get:function(){return chunkWK6LNC2E_cjs.a}});Object.defineProperty(exports,"LazyComponent",{enumerable:true,get:function(){return chunk55N2IT62_cjs.a}});Object.defineProperty(exports,"LazyInView",{enumerable:true,get:function(){return chunk55N2IT62_cjs.d}});Object.defineProperty(exports,"useLazyLoading",{enumerable:true,get:function(){return chunk55N2IT62_cjs.c}});Object.defineProperty(exports,"withLazyLoading",{enumerable:true,get:function(){return chunk55N2IT62_cjs.b}});Object.defineProperty(exports,"ErrorBoundary",{enumerable:true,get:function(){return chunk4FSJEW7W_cjs.a}});Object.defineProperty(exports,"useErrorHandler",{enumerable:true,get:function(){return chunk4FSJEW7W_cjs.b}});Object.defineProperty(exports,"performanceUtils",{enumerable:true,get:function(){return chunk7WEIVLG3_cjs.d}});Object.defineProperty(exports,"useMemoryMonitor",{enumerable:true,get:function(){return chunk7WEIVLG3_cjs.c}});Object.defineProperty(exports,"usePerformanceMonitor",{enumerable:true,get:function(){return chunk7WEIVLG3_cjs.a}});Object.defineProperty(exports,"withPerformanceMonitoring",{enumerable:true,get:function(){return chunk7WEIVLG3_cjs.b}});Object.defineProperty(exports,"Accordion",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.f}});Object.defineProperty(exports,"AccordionContent",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.i}});Object.defineProperty(exports,"AccordionItem",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.g}});Object.defineProperty(exports,"AccordionTrigger",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.h}});Object.defineProperty(exports,"accordionChevronVariants",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.e}});Object.defineProperty(exports,"accordionContentVariants",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.d}});Object.defineProperty(exports,"accordionItemVariants",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.b}});Object.defineProperty(exports,"accordionTriggerVariants",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.c}});Object.defineProperty(exports,"accordionVariants",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.a}});Object.defineProperty(exports,"AlertDialog",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.a}});Object.defineProperty(exports,"AlertDialogAction",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.j}});Object.defineProperty(exports,"AlertDialogCancel",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.k}});Object.defineProperty(exports,"AlertDialogContent",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.e}});Object.defineProperty(exports,"AlertDialogDescription",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.i}});Object.defineProperty(exports,"AlertDialogFooter",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.g}});Object.defineProperty(exports,"AlertDialogHeader",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.f}});Object.defineProperty(exports,"AlertDialogOverlay",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.d}});Object.defineProperty(exports,"AlertDialogPortal",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.c}});Object.defineProperty(exports,"AlertDialogTitle",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.h}});Object.defineProperty(exports,"AlertDialogTrigger",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.b}});Object.defineProperty(exports,"Button",{enumerable:true,get:function(){return chunk5PVFLXPO_cjs.b}});Object.defineProperty(exports,"buttonVariants",{enumerable:true,get:function(){return chunk5PVFLXPO_cjs.a}});Object.defineProperty(exports,"Alert",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.g}});Object.defineProperty(exports,"AlertDescription",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.f}});Object.defineProperty(exports,"AlertTitle",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.e}});Object.defineProperty(exports,"alertCloseVariants",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.d}});Object.defineProperty(exports,"alertDescriptionVariants",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.c}});Object.defineProperty(exports,"alertTitleVariants",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.b}});Object.defineProperty(exports,"alertVariants",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.a}});Object.defineProperty(exports,"AspectRatio",{enumerable:true,get:function(){return chunkR4L5BZYI_cjs.a}});Object.defineProperty(exports,"Avatar",{enumerable:true,get:function(){return chunkIOX4WPJL_cjs.d}});Object.defineProperty(exports,"AvatarFallback",{enumerable:true,get:function(){return chunkIOX4WPJL_cjs.c}});Object.defineProperty(exports,"AvatarImage",{enumerable:true,get:function(){return chunkIOX4WPJL_cjs.b}});Object.defineProperty(exports,"avatarVariants",{enumerable:true,get:function(){return chunkIOX4WPJL_cjs.a}});Object.defineProperty(exports,"cn",{enumerable:true,get:function(){return chunkITRGJNWL_cjs.a}});exports.applyTheme=on;exports.getColorScheme=nn;exports.getCurrentTheme=rn;exports.initializeTheme=fn;exports.onSystemColorSchemeChange=gn;exports.prefersDarkMode=en;exports.setDarkMode=tn;exports.themeInfo=In;exports.themes=pn;exports.toggleDarkMode=un;//# sourceMappingURL=index.cjs.map
|
|
2
|
+
'use strict';var chunk3V3OIZWQ_cjs=require('./chunk-3V3OIZWQ.cjs'),chunkOEN63W3G_cjs=require('./chunk-OEN63W3G.cjs'),chunkJUOCEYUF_cjs=require('./chunk-JUOCEYUF.cjs'),chunkHWZTMVQV_cjs=require('./chunk-HWZTMVQV.cjs'),chunkV45EOCAD_cjs=require('./chunk-V45EOCAD.cjs'),chunk5Z3MYAVM_cjs=require('./chunk-5Z3MYAVM.cjs'),chunkSZ34F6OZ_cjs=require('./chunk-SZ34F6OZ.cjs'),chunkZ7WEJ5IQ_cjs=require('./chunk-Z7WEJ5IQ.cjs'),chunkJ4VRJVTO_cjs=require('./chunk-J4VRJVTO.cjs'),chunk7PPAI3MM_cjs=require('./chunk-7PPAI3MM.cjs'),chunk2DNQXAMB_cjs=require('./chunk-2DNQXAMB.cjs'),chunkMLJZU63I_cjs=require('./chunk-MLJZU63I.cjs'),chunkCGBIJDZX_cjs=require('./chunk-CGBIJDZX.cjs'),chunkK2JCGDU7_cjs=require('./chunk-K2JCGDU7.cjs'),chunkC7HZAQBX_cjs=require('./chunk-C7HZAQBX.cjs'),chunkMQUHAWJ2_cjs=require('./chunk-MQUHAWJ2.cjs'),chunkEVRQYWZ3_cjs=require('./chunk-EVRQYWZ3.cjs'),chunk7YFUAGIW_cjs=require('./chunk-7YFUAGIW.cjs'),chunkE3A4SP3X_cjs=require('./chunk-E3A4SP3X.cjs'),chunkNC27D5Y3_cjs=require('./chunk-NC27D5Y3.cjs'),chunkXPIBRXTW_cjs=require('./chunk-XPIBRXTW.cjs'),chunkBYV75TDY_cjs=require('./chunk-BYV75TDY.cjs'),chunkE53C3RDD_cjs=require('./chunk-E53C3RDD.cjs'),chunkG35BR7SK_cjs=require('./chunk-G35BR7SK.cjs'),chunkNPSIDFOF_cjs=require('./chunk-NPSIDFOF.cjs'),chunkEEGXD4HC_cjs=require('./chunk-EEGXD4HC.cjs'),chunkKCS3UL74_cjs=require('./chunk-KCS3UL74.cjs'),chunkAYEM2M4H_cjs=require('./chunk-AYEM2M4H.cjs'),chunkVNDL67OG_cjs=require('./chunk-VNDL67OG.cjs'),chunkFUENXWR7_cjs=require('./chunk-FUENXWR7.cjs'),chunkNBX6FKCA_cjs=require('./chunk-NBX6FKCA.cjs'),chunk4NLMGH2S_cjs=require('./chunk-4NLMGH2S.cjs');require('./chunk-MIYL7YKU.cjs');var chunkV77N662N_cjs=require('./chunk-V77N662N.cjs'),chunkEFCNLYYW_cjs=require('./chunk-EFCNLYYW.cjs'),chunk35RWQSO2_cjs=require('./chunk-35RWQSO2.cjs'),chunkJCETHQ55_cjs=require('./chunk-JCETHQ55.cjs'),chunkPMNNV4ML_cjs=require('./chunk-PMNNV4ML.cjs'),chunk3HKYX26O_cjs=require('./chunk-3HKYX26O.cjs'),chunkBZ5ZCZJX_cjs=require('./chunk-BZ5ZCZJX.cjs'),chunk3QVQ2TNE_cjs=require('./chunk-3QVQ2TNE.cjs'),chunkWK6LNC2E_cjs=require('./chunk-WK6LNC2E.cjs'),chunk55N2IT62_cjs=require('./chunk-55N2IT62.cjs'),chunk4FSJEW7W_cjs=require('./chunk-4FSJEW7W.cjs'),chunk7WEIVLG3_cjs=require('./chunk-7WEIVLG3.cjs'),chunkMLSE5XSB_cjs=require('./chunk-MLSE5XSB.cjs'),chunkPZLBMQGI_cjs=require('./chunk-PZLBMQGI.cjs'),chunk5PVFLXPO_cjs=require('./chunk-5PVFLXPO.cjs'),chunkLXQT7FH6_cjs=require('./chunk-LXQT7FH6.cjs'),chunkR4L5BZYI_cjs=require('./chunk-R4L5BZYI.cjs'),chunkIOX4WPJL_cjs=require('./chunk-IOX4WPJL.cjs');require('./chunk-7SPPGTBT.cjs');var chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs');var Vn={nostromo:"nostromo",mother:"mother","lv-426":"lv-426",sulaco:"sulaco"};function yn(o){typeof document<"u"&&document.documentElement.setAttribute("data-theme",o);}function wn(){return typeof document>"u"?null:document.documentElement.getAttribute("data-theme")}function Ln(){if(typeof document>"u")return;let r=document.documentElement.getAttribute("data-color-scheme")==="dark"?"light":"dark";document.documentElement.setAttribute("data-color-scheme",r);}function Cn(o){typeof document>"u"||document.documentElement.setAttribute("data-color-scheme",o?"dark":"light");}function kn(){return typeof document>"u"?null:document.documentElement.getAttribute("data-color-scheme")}function Sn(){return typeof window>"u"?false:window.matchMedia("(prefers-color-scheme: dark)").matches}function Bn(o){if(typeof window>"u")return ()=>{};let r=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>{o(e.matches);};return r.addEventListener("change",t),()=>{r.removeEventListener("change",t);}}function zn(o="nostromo"){typeof document>"u"||(wn()||yn(o),kn()||Cn(Sn()));}var Xn={nostromo:{name:"Nostromo",description:"Classic space industrial theme inspired by the USCSS Nostromo",colors:{primary:"Purple/Blue",secondary:"Dark Gray",accent:"Green"}},mother:{name:"Mother",description:"Cold, clinical AI aesthetic inspired by the ship's computer",colors:{primary:"Cold Blue/Cyan",secondary:"Clinical White",accent:"Green"}},"lv-426":{name:"LV-426",description:"Warm, rusty atmosphere inspired by the planet LV-426",colors:{primary:"Warm Orange/Rust",secondary:"Earth Tones",accent:"Green"}},sulaco:{name:"Sulaco",description:"Modern, military-inspired aesthetic from the USS Sulaco",colors:{primary:"Military Blue/Gray",secondary:"Steel Tones",accent:"Green"}}};Object.defineProperty(exports,"LogoWall",{enumerable:true,get:function(){return chunk3V3OIZWQ_cjs.a}});Object.defineProperty(exports,"Pricing",{enumerable:true,get:function(){return chunkOEN63W3G_cjs.a}});Object.defineProperty(exports,"Testimonials",{enumerable:true,get:function(){return chunkJUOCEYUF_cjs.a}});Object.defineProperty(exports,"Tabs",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.d}});Object.defineProperty(exports,"TabsContent",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.g}});Object.defineProperty(exports,"TabsList",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.e}});Object.defineProperty(exports,"TabsTrigger",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.f}});Object.defineProperty(exports,"tabsContentVariants",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.c}});Object.defineProperty(exports,"tabsListVariants",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.a}});Object.defineProperty(exports,"tabsTriggerVariants",{enumerable:true,get:function(){return chunkHWZTMVQV_cjs.b}});Object.defineProperty(exports,"Textarea",{enumerable:true,get:function(){return chunkV45EOCAD_cjs.b}});Object.defineProperty(exports,"textareaVariants",{enumerable:true,get:function(){return chunkV45EOCAD_cjs.a}});Object.defineProperty(exports,"Toast",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.e}});Object.defineProperty(exports,"ToastProvider",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.d}});Object.defineProperty(exports,"toastIconVariants",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.b}});Object.defineProperty(exports,"toastVariants",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.a}});Object.defineProperty(exports,"useToast",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.c}});Object.defineProperty(exports,"useToastNotification",{enumerable:true,get:function(){return chunk5Z3MYAVM_cjs.f}});Object.defineProperty(exports,"Toggle",{enumerable:true,get:function(){return chunkSZ34F6OZ_cjs.b}});Object.defineProperty(exports,"ToggleGroup",{enumerable:true,get:function(){return chunkSZ34F6OZ_cjs.c}});Object.defineProperty(exports,"ToggleGroupItem",{enumerable:true,get:function(){return chunkSZ34F6OZ_cjs.d}});Object.defineProperty(exports,"toggleVariants",{enumerable:true,get:function(){return chunkSZ34F6OZ_cjs.a}});Object.defineProperty(exports,"Tooltip",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.f}});Object.defineProperty(exports,"TooltipContent",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.d}});Object.defineProperty(exports,"TooltipProvider",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.e}});Object.defineProperty(exports,"TooltipTrigger",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.c}});Object.defineProperty(exports,"arrowVariants",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.b}});Object.defineProperty(exports,"tooltipVariants",{enumerable:true,get:function(){return chunkZ7WEJ5IQ_cjs.a}});Object.defineProperty(exports,"Features",{enumerable:true,get:function(){return chunkJ4VRJVTO_cjs.a}});Object.defineProperty(exports,"Gallery",{enumerable:true,get:function(){return chunk7PPAI3MM_cjs.a}});Object.defineProperty(exports,"Hero",{enumerable:true,get:function(){return chunk2DNQXAMB_cjs.a}});Object.defineProperty(exports,"RadioGroup",{enumerable:true,get:function(){return chunkMLJZU63I_cjs.c}});Object.defineProperty(exports,"RadioGroupItem",{enumerable:true,get:function(){return chunkMLJZU63I_cjs.d}});Object.defineProperty(exports,"RadioItem",{enumerable:true,get:function(){return chunkMLJZU63I_cjs.d}});Object.defineProperty(exports,"radioGroupVariants",{enumerable:true,get:function(){return chunkMLJZU63I_cjs.a}});Object.defineProperty(exports,"radioItemVariants",{enumerable:true,get:function(){return chunkMLJZU63I_cjs.b}});Object.defineProperty(exports,"ScrollArea",{enumerable:true,get:function(){return chunkCGBIJDZX_cjs.a}});Object.defineProperty(exports,"ScrollBar",{enumerable:true,get:function(){return chunkCGBIJDZX_cjs.b}});Object.defineProperty(exports,"Select",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.d}});Object.defineProperty(exports,"SelectContent",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.h}});Object.defineProperty(exports,"SelectGroup",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.e}});Object.defineProperty(exports,"SelectItem",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.j}});Object.defineProperty(exports,"SelectLabel",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.i}});Object.defineProperty(exports,"SelectSeparator",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.k}});Object.defineProperty(exports,"SelectTrigger",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.g}});Object.defineProperty(exports,"SelectValue",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.f}});Object.defineProperty(exports,"selectContentVariants",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.b}});Object.defineProperty(exports,"selectItemVariants",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.c}});Object.defineProperty(exports,"selectTriggerVariants",{enumerable:true,get:function(){return chunkK2JCGDU7_cjs.a}});Object.defineProperty(exports,"Separator",{enumerable:true,get:function(){return chunkC7HZAQBX_cjs.b}});Object.defineProperty(exports,"separatorVariants",{enumerable:true,get:function(){return chunkC7HZAQBX_cjs.a}});Object.defineProperty(exports,"Sheet",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.b}});Object.defineProperty(exports,"SheetClose",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.d}});Object.defineProperty(exports,"SheetContent",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.g}});Object.defineProperty(exports,"SheetDescription",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.k}});Object.defineProperty(exports,"SheetFooter",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.i}});Object.defineProperty(exports,"SheetHeader",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.h}});Object.defineProperty(exports,"SheetOverlay",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.f}});Object.defineProperty(exports,"SheetPortal",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.e}});Object.defineProperty(exports,"SheetTitle",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.j}});Object.defineProperty(exports,"SheetTrigger",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.c}});Object.defineProperty(exports,"sheetVariants",{enumerable:true,get:function(){return chunkMQUHAWJ2_cjs.a}});Object.defineProperty(exports,"Switch",{enumerable:true,get:function(){return chunkEVRQYWZ3_cjs.c}});Object.defineProperty(exports,"switchThumbVariants",{enumerable:true,get:function(){return chunkEVRQYWZ3_cjs.b}});Object.defineProperty(exports,"switchVariants",{enumerable:true,get:function(){return chunkEVRQYWZ3_cjs.a}});Object.defineProperty(exports,"HelperText",{enumerable:true,get:function(){return chunk7YFUAGIW_cjs.b}});Object.defineProperty(exports,"helperTextVariants",{enumerable:true,get:function(){return chunk7YFUAGIW_cjs.a}});Object.defineProperty(exports,"HoverCard",{enumerable:true,get:function(){return chunkE3A4SP3X_cjs.a}});Object.defineProperty(exports,"HoverCardContent",{enumerable:true,get:function(){return chunkE3A4SP3X_cjs.c}});Object.defineProperty(exports,"HoverCardTrigger",{enumerable:true,get:function(){return chunkE3A4SP3X_cjs.b}});Object.defineProperty(exports,"Icon",{enumerable:true,get:function(){return chunkNC27D5Y3_cjs.a}});Object.defineProperty(exports,"iconNames",{enumerable:true,get:function(){return chunkNC27D5Y3_cjs.b}});Object.defineProperty(exports,"Label",{enumerable:true,get:function(){return chunkXPIBRXTW_cjs.b}});Object.defineProperty(exports,"labelVariants",{enumerable:true,get:function(){return chunkXPIBRXTW_cjs.a}});Object.defineProperty(exports,"Pagination",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.c}});Object.defineProperty(exports,"PaginationContent",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.d}});Object.defineProperty(exports,"PaginationEllipsis",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.i}});Object.defineProperty(exports,"PaginationItem",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.e}});Object.defineProperty(exports,"PaginationLink",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.f}});Object.defineProperty(exports,"PaginationNext",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.h}});Object.defineProperty(exports,"PaginationPrevious",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.g}});Object.defineProperty(exports,"paginationItemVariants",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.b}});Object.defineProperty(exports,"paginationVariants",{enumerable:true,get:function(){return chunkBYV75TDY_cjs.a}});Object.defineProperty(exports,"Popover",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.b}});Object.defineProperty(exports,"PopoverAnchor",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.d}});Object.defineProperty(exports,"PopoverArrow",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.g}});Object.defineProperty(exports,"PopoverClose",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.e}});Object.defineProperty(exports,"PopoverContent",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.f}});Object.defineProperty(exports,"PopoverTrigger",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.c}});Object.defineProperty(exports,"popoverContentVariants",{enumerable:true,get:function(){return chunkE53C3RDD_cjs.a}});Object.defineProperty(exports,"CircularProgress",{enumerable:true,get:function(){return chunkG35BR7SK_cjs.e}});Object.defineProperty(exports,"Progress",{enumerable:true,get:function(){return chunkG35BR7SK_cjs.d}});Object.defineProperty(exports,"progressBarVariants",{enumerable:true,get:function(){return chunkG35BR7SK_cjs.b}});Object.defineProperty(exports,"progressLabelVariants",{enumerable:true,get:function(){return chunkG35BR7SK_cjs.c}});Object.defineProperty(exports,"progressVariants",{enumerable:true,get:function(){return chunkG35BR7SK_cjs.a}});Object.defineProperty(exports,"Checkbox",{enumerable:true,get:function(){return chunkNPSIDFOF_cjs.b}});Object.defineProperty(exports,"checkboxVariants",{enumerable:true,get:function(){return chunkNPSIDFOF_cjs.a}});Object.defineProperty(exports,"Collapsible",{enumerable:true,get:function(){return chunkEEGXD4HC_cjs.a}});Object.defineProperty(exports,"CollapsibleContent",{enumerable:true,get:function(){return chunkEEGXD4HC_cjs.c}});Object.defineProperty(exports,"CollapsibleTrigger",{enumerable:true,get:function(){return chunkEEGXD4HC_cjs.b}});Object.defineProperty(exports,"ContextMenu",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.a}});Object.defineProperty(exports,"ContextMenuCheckboxItem",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.h}});Object.defineProperty(exports,"ContextMenuContent",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.f}});Object.defineProperty(exports,"ContextMenuGroup",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.c}});Object.defineProperty(exports,"ContextMenuItem",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.g}});Object.defineProperty(exports,"ContextMenuLabel",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.j}});Object.defineProperty(exports,"ContextMenuRadioGroup",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.e}});Object.defineProperty(exports,"ContextMenuRadioItem",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.i}});Object.defineProperty(exports,"ContextMenuSeparator",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.k}});Object.defineProperty(exports,"ContextMenuShortcut",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.l}});Object.defineProperty(exports,"ContextMenuSub",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.d}});Object.defineProperty(exports,"ContextMenuSubContent",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.n}});Object.defineProperty(exports,"ContextMenuSubTrigger",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.m}});Object.defineProperty(exports,"ContextMenuTrigger",{enumerable:true,get:function(){return chunkKCS3UL74_cjs.b}});Object.defineProperty(exports,"DataTable",{enumerable:true,get:function(){return chunkAYEM2M4H_cjs.a}});Object.defineProperty(exports,"Table",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.d}});Object.defineProperty(exports,"TableBody",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.f}});Object.defineProperty(exports,"TableCell",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.h}});Object.defineProperty(exports,"TableHead",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.i}});Object.defineProperty(exports,"TableHeader",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.e}});Object.defineProperty(exports,"TableRow",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.g}});Object.defineProperty(exports,"tableCellVariants",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.c}});Object.defineProperty(exports,"tableHeaderVariants",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.b}});Object.defineProperty(exports,"tableVariants",{enumerable:true,get:function(){return chunkVNDL67OG_cjs.a}});Object.defineProperty(exports,"Input",{enumerable:true,get:function(){return chunkFUENXWR7_cjs.b}});Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.c}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.e}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.h}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.f}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.g}});Object.defineProperty(exports,"DialogTrigger",{enumerable:true,get:function(){return chunkNBX6FKCA_cjs.d}});Object.defineProperty(exports,"DropdownMenu",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.a}});Object.defineProperty(exports,"DropdownMenuCheckboxItem",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.h}});Object.defineProperty(exports,"DropdownMenuContent",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.f}});Object.defineProperty(exports,"DropdownMenuGroup",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.c}});Object.defineProperty(exports,"DropdownMenuItem",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.g}});Object.defineProperty(exports,"DropdownMenuLabel",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.j}});Object.defineProperty(exports,"DropdownMenuRadioGroup",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.e}});Object.defineProperty(exports,"DropdownMenuRadioItem",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.i}});Object.defineProperty(exports,"DropdownMenuSeparator",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.k}});Object.defineProperty(exports,"DropdownMenuShortcut",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.l}});Object.defineProperty(exports,"DropdownMenuSub",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.d}});Object.defineProperty(exports,"DropdownMenuSubContent",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.n}});Object.defineProperty(exports,"DropdownMenuSubTrigger",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.m}});Object.defineProperty(exports,"DropdownMenuTrigger",{enumerable:true,get:function(){return chunk4NLMGH2S_cjs.b}});Object.defineProperty(exports,"ErrorMessage",{enumerable:true,get:function(){return chunkV77N662N_cjs.b}});Object.defineProperty(exports,"errorMessageVariants",{enumerable:true,get:function(){return chunkV77N662N_cjs.a}});Object.defineProperty(exports,"Badge",{enumerable:true,get:function(){return chunkEFCNLYYW_cjs.b}});Object.defineProperty(exports,"badgeVariants",{enumerable:true,get:function(){return chunkEFCNLYYW_cjs.a}});Object.defineProperty(exports,"Breadcrumb",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.d}});Object.defineProperty(exports,"BreadcrumbEllipsis",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.j}});Object.defineProperty(exports,"BreadcrumbItem",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.f}});Object.defineProperty(exports,"BreadcrumbLink",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.g}});Object.defineProperty(exports,"BreadcrumbList",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.e}});Object.defineProperty(exports,"BreadcrumbPage",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.h}});Object.defineProperty(exports,"BreadcrumbSeparator",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.i}});Object.defineProperty(exports,"breadcrumbItemVariants",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.b}});Object.defineProperty(exports,"breadcrumbSeparatorVariants",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.c}});Object.defineProperty(exports,"breadcrumbVariants",{enumerable:true,get:function(){return chunk35RWQSO2_cjs.a}});Object.defineProperty(exports,"Calendar",{enumerable:true,get:function(){return chunkJCETHQ55_cjs.c}});Object.defineProperty(exports,"calendarDayVariants",{enumerable:true,get:function(){return chunkJCETHQ55_cjs.b}});Object.defineProperty(exports,"calendarVariants",{enumerable:true,get:function(){return chunkJCETHQ55_cjs.a}});Object.defineProperty(exports,"Card",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.g}});Object.defineProperty(exports,"CardContent",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.e}});Object.defineProperty(exports,"CardDescription",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.d}});Object.defineProperty(exports,"CardFooter",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.f}});Object.defineProperty(exports,"CardHeader",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.b}});Object.defineProperty(exports,"CardTitle",{enumerable:true,get:function(){return chunkPMNNV4ML_cjs.c}});Object.defineProperty(exports,"ChartArea",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.l}});Object.defineProperty(exports,"ChartBar",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.j}});Object.defineProperty(exports,"ChartContainer",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.d}});Object.defineProperty(exports,"ChartGrid",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.e}});Object.defineProperty(exports,"ChartLegend",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.i}});Object.defineProperty(exports,"ChartLine",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.k}});Object.defineProperty(exports,"ChartReferenceLine",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.m}});Object.defineProperty(exports,"ChartTooltip",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.h}});Object.defineProperty(exports,"ChartXAxis",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.f}});Object.defineProperty(exports,"ChartYAxis",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.g}});Object.defineProperty(exports,"buildColorMap",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.b}});Object.defineProperty(exports,"chartPalette",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.a}});Object.defineProperty(exports,"resolveSeriesColor",{enumerable:true,get:function(){return chunk3HKYX26O_cjs.c}});Object.defineProperty(exports,"LazyChart",{enumerable:true,get:function(){return chunkBZ5ZCZJX_cjs.a}});Object.defineProperty(exports,"Skeleton",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.b}});Object.defineProperty(exports,"SkeletonAvatar",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.d}});Object.defineProperty(exports,"SkeletonButton",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.e}});Object.defineProperty(exports,"SkeletonCard",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.f}});Object.defineProperty(exports,"SkeletonList",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.h}});Object.defineProperty(exports,"SkeletonTable",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.g}});Object.defineProperty(exports,"SkeletonText",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.c}});Object.defineProperty(exports,"skeletonVariants",{enumerable:true,get:function(){return chunk3QVQ2TNE_cjs.a}});Object.defineProperty(exports,"Chart",{enumerable:true,get:function(){return chunkWK6LNC2E_cjs.b}});Object.defineProperty(exports,"chartContainerVariants",{enumerable:true,get:function(){return chunkWK6LNC2E_cjs.a}});Object.defineProperty(exports,"LazyComponent",{enumerable:true,get:function(){return chunk55N2IT62_cjs.a}});Object.defineProperty(exports,"LazyInView",{enumerable:true,get:function(){return chunk55N2IT62_cjs.d}});Object.defineProperty(exports,"useLazyLoading",{enumerable:true,get:function(){return chunk55N2IT62_cjs.c}});Object.defineProperty(exports,"withLazyLoading",{enumerable:true,get:function(){return chunk55N2IT62_cjs.b}});Object.defineProperty(exports,"ErrorBoundary",{enumerable:true,get:function(){return chunk4FSJEW7W_cjs.a}});Object.defineProperty(exports,"useErrorHandler",{enumerable:true,get:function(){return chunk4FSJEW7W_cjs.b}});Object.defineProperty(exports,"performanceUtils",{enumerable:true,get:function(){return chunk7WEIVLG3_cjs.d}});Object.defineProperty(exports,"useMemoryMonitor",{enumerable:true,get:function(){return chunk7WEIVLG3_cjs.c}});Object.defineProperty(exports,"usePerformanceMonitor",{enumerable:true,get:function(){return chunk7WEIVLG3_cjs.a}});Object.defineProperty(exports,"withPerformanceMonitoring",{enumerable:true,get:function(){return chunk7WEIVLG3_cjs.b}});Object.defineProperty(exports,"Accordion",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.f}});Object.defineProperty(exports,"AccordionContent",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.i}});Object.defineProperty(exports,"AccordionItem",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.g}});Object.defineProperty(exports,"AccordionTrigger",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.h}});Object.defineProperty(exports,"accordionChevronVariants",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.e}});Object.defineProperty(exports,"accordionContentVariants",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.d}});Object.defineProperty(exports,"accordionItemVariants",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.b}});Object.defineProperty(exports,"accordionTriggerVariants",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.c}});Object.defineProperty(exports,"accordionVariants",{enumerable:true,get:function(){return chunkMLSE5XSB_cjs.a}});Object.defineProperty(exports,"AlertDialog",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.a}});Object.defineProperty(exports,"AlertDialogAction",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.j}});Object.defineProperty(exports,"AlertDialogCancel",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.k}});Object.defineProperty(exports,"AlertDialogContent",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.e}});Object.defineProperty(exports,"AlertDialogDescription",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.i}});Object.defineProperty(exports,"AlertDialogFooter",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.g}});Object.defineProperty(exports,"AlertDialogHeader",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.f}});Object.defineProperty(exports,"AlertDialogOverlay",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.d}});Object.defineProperty(exports,"AlertDialogPortal",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.c}});Object.defineProperty(exports,"AlertDialogTitle",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.h}});Object.defineProperty(exports,"AlertDialogTrigger",{enumerable:true,get:function(){return chunkPZLBMQGI_cjs.b}});Object.defineProperty(exports,"Button",{enumerable:true,get:function(){return chunk5PVFLXPO_cjs.b}});Object.defineProperty(exports,"buttonVariants",{enumerable:true,get:function(){return chunk5PVFLXPO_cjs.a}});Object.defineProperty(exports,"Alert",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.g}});Object.defineProperty(exports,"AlertDescription",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.f}});Object.defineProperty(exports,"AlertTitle",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.e}});Object.defineProperty(exports,"alertCloseVariants",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.d}});Object.defineProperty(exports,"alertDescriptionVariants",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.c}});Object.defineProperty(exports,"alertTitleVariants",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.b}});Object.defineProperty(exports,"alertVariants",{enumerable:true,get:function(){return chunkLXQT7FH6_cjs.a}});Object.defineProperty(exports,"AspectRatio",{enumerable:true,get:function(){return chunkR4L5BZYI_cjs.a}});Object.defineProperty(exports,"Avatar",{enumerable:true,get:function(){return chunkIOX4WPJL_cjs.d}});Object.defineProperty(exports,"AvatarFallback",{enumerable:true,get:function(){return chunkIOX4WPJL_cjs.c}});Object.defineProperty(exports,"AvatarImage",{enumerable:true,get:function(){return chunkIOX4WPJL_cjs.b}});Object.defineProperty(exports,"avatarVariants",{enumerable:true,get:function(){return chunkIOX4WPJL_cjs.a}});Object.defineProperty(exports,"cn",{enumerable:true,get:function(){return chunkITRGJNWL_cjs.a}});exports.applyTheme=yn;exports.getColorScheme=kn;exports.getCurrentTheme=wn;exports.initializeTheme=zn;exports.onSystemColorSchemeChange=Bn;exports.prefersDarkMode=Sn;exports.setDarkMode=Cn;exports.themeInfo=Xn;exports.themes=Vn;exports.toggleDarkMode=Ln;//# sourceMappingURL=index.cjs.map
|
|
3
3
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/utils.ts","../src/themes/index.ts"],"names":["themes","applyTheme","theme","getCurrentTheme","toggleDarkMode","newScheme","setDarkMode","isDark","getColorScheme","prefersDarkMode","onSystemColorSchemeChange","callback","mediaQuery","handler","initializeTheme","defaultTheme","themeInfo"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/themes/utils.ts","../src/themes/index.ts"],"names":["themes","applyTheme","theme","getCurrentTheme","toggleDarkMode","newScheme","setDarkMode","isDark","getColorScheme","prefersDarkMode","onSystemColorSchemeChange","callback","mediaQuery","handler","initializeTheme","defaultTheme","themeInfo"],"mappings":"+kFAIO,IAAMA,EAAAA,CAAoC,CAC/C,QAAA,CAAU,UAAA,CACV,MAAA,CAAQ,SACR,QAAA,CAAU,QAAA,CACV,MAAA,CAAQ,QACV,EAKO,SAASC,GAAWC,CAAAA,CAAwB,CAC7C,OAAO,QAAA,CAAa,GAAA,EACtB,QAAA,CAAS,eAAA,CAAgB,YAAA,CAAa,YAAA,CAAcA,CAAK,EAE7D,CAKO,SAASC,EAAAA,EAAoC,CAClD,OAAI,OAAO,QAAA,CAAa,GAAA,CAAoB,IAAA,CAE9B,QAAA,CAAS,eAAA,CAAgB,YAAA,CAAa,YAAY,CAElE,CAKO,SAASC,EAAAA,EAAuB,CACrC,GAAI,OAAO,QAAA,CAAa,GAAA,CAAa,OAGrC,IAAMC,CAAAA,CADgB,QAAA,CAAS,eAAA,CAAgB,YAAA,CAAa,mBAAmB,CAAA,GAC3C,MAAA,CAAS,OAAA,CAAU,MAAA,CACvD,SAAS,eAAA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CACX,MAAA,CAAQ,OACV,CACF,CAAA,CACA,MAAA,CAAQ,CACN,IAAA,CAAM,QAAA,CACN,YAAa,6DAAA,CACb,MAAA,CAAQ,CACN,OAAA,CAAS,gBAAA,CACT,SAAA,CAAW,gBAAA,CACX,MAAA,CAAQ,OACV,CACF,CAAA,CACA,QAAA,CAAU,CACR,IAAA,CAAM,SACN,WAAA,CAAa,sDAAA,CACb,MAAA,CAAQ,CACN,OAAA,CAAS,kBAAA,CACT,SAAA,CAAW,aAAA,CACX,MAAA,CAAQ,OACV,CACF,CAAA,CACA,MAAA,CAAQ,CACN,KAAM,QAAA,CACN,WAAA,CAAa,yDAAA,CACb,MAAA,CAAQ,CACN,OAAA,CAAS,oBAAA,CACT,SAAA,CAAW,aAAA,CACX,MAAA,CAAQ,OACV,CACF,CACF","file":"index.cjs","sourcesContent":["// Theme utilities and helpers\n\nexport type ThemeName = 'nostromo' | 'mother' | 'lv-426' | 'sulaco';\n\nexport const themes: Record<ThemeName, string> = {\n nostromo: 'nostromo',\n mother: 'mother',\n 'lv-426': 'lv-426',\n sulaco: 'sulaco',\n} as const;\n\n/**\n * Apply a theme to the document\n */\nexport function applyTheme(theme: ThemeName): void {\n if (typeof document !== 'undefined') {\n document.documentElement.setAttribute('data-theme', theme);\n }\n}\n\n/**\n * Get the current theme from the document\n */\nexport function getCurrentTheme(): ThemeName | null {\n if (typeof document === 'undefined') return null;\n \n const theme = document.documentElement.getAttribute('data-theme');\n return theme as ThemeName | null;\n}\n\n/**\n * Toggle between light and dark mode\n */\nexport function toggleDarkMode(): void {\n if (typeof document === 'undefined') return;\n \n const currentScheme = document.documentElement.getAttribute('data-color-scheme');\n const newScheme = currentScheme === 'dark' ? 'light' : 'dark';\n document.documentElement.setAttribute('data-color-scheme', newScheme);\n}\n\n/**\n * Set dark mode\n */\nexport function setDarkMode(isDark: boolean): void {\n if (typeof document === 'undefined') return;\n \n document.documentElement.setAttribute('data-color-scheme', isDark ? 'dark' : 'light');\n}\n\n/**\n * Get current color scheme\n */\nexport function getColorScheme(): 'light' | 'dark' | null {\n if (typeof document === 'undefined') return null;\n \n const scheme = document.documentElement.getAttribute('data-color-scheme');\n return scheme as 'light' | 'dark' | null;\n}\n\n/**\n * Check if system prefers dark mode\n */\nexport function prefersDarkMode(): boolean {\n if (typeof window === 'undefined') return false;\n \n return window.matchMedia('(prefers-color-scheme: dark)').matches;\n}\n\n/**\n * Listen for system color scheme changes\n */\nexport function onSystemColorSchemeChange(callback: (isDark: boolean) => void): () => void {\n if (typeof window === 'undefined') return () => {};\n \n const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');\n \n const handler = (e: MediaQueryListEvent) => {\n callback(e.matches);\n };\n \n mediaQuery.addEventListener('change', handler);\n \n // Return cleanup function\n return () => {\n mediaQuery.removeEventListener('change', handler);\n };\n}\n\n/**\n * Initialize theme system\n */\nexport function initializeTheme(defaultTheme: ThemeName = 'nostromo'): void {\n if (typeof document === 'undefined') return;\n \n // Set default theme if none is set\n if (!getCurrentTheme()) {\n applyTheme(defaultTheme);\n }\n \n // Set initial color scheme based on system preference\n if (!getColorScheme()) {\n setDarkMode(prefersDarkMode());\n }\n}\n","// Theme exports\nexport * from './utils';\n\n// Theme CSS imports (for bundlers that support CSS imports)\nimport './nostromo.css';\nimport './mother.css';\nimport './lv-426.css';\nimport './sulaco.css';\n\n// Theme names and descriptions\nexport const themeInfo = {\n nostromo: {\n name: 'Nostromo',\n description: 'Classic space industrial theme inspired by the USCSS Nostromo',\n colors: {\n primary: 'Purple/Blue',\n secondary: 'Dark Gray',\n accent: 'Green'\n }\n },\n mother: {\n name: 'Mother',\n description: 'Cold, clinical AI aesthetic inspired by the ship\\'s computer',\n colors: {\n primary: 'Cold Blue/Cyan',\n secondary: 'Clinical White',\n accent: 'Green'\n }\n },\n 'lv-426': {\n name: 'LV-426',\n description: 'Warm, rusty atmosphere inspired by the planet LV-426',\n colors: {\n primary: 'Warm Orange/Rust',\n secondary: 'Earth Tones',\n accent: 'Green'\n }\n },\n sulaco: {\n name: 'Sulaco',\n description: 'Modern, military-inspired aesthetic from the USS Sulaco',\n colors: {\n primary: 'Military Blue/Gray',\n secondary: 'Steel Tones',\n accent: 'Green'\n }\n }\n} as const;\n\nexport type ThemeInfo = typeof themeInfo;\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -40,6 +40,9 @@ export { Sheet, SheetClose, SheetContent, SheetContentProps, SheetDescription, S
|
|
|
40
40
|
export { AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './components/core/alert-dialog.cjs';
|
|
41
41
|
export { Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleProps, toggleVariants } from './components/core/toggle.cjs';
|
|
42
42
|
export { AspectRatio, AspectRatioProps } from './components/core/aspect-ratio.cjs';
|
|
43
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuItemProps, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './components/core/context-menu.cjs';
|
|
44
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger } from './components/core/hover-card.cjs';
|
|
45
|
+
export { ScrollArea, ScrollAreaProps, ScrollBar } from './components/core/scroll-area.cjs';
|
|
43
46
|
export { Hero, HeroProps } from './components/marketing/hero.cjs';
|
|
44
47
|
export { Testimonial, Testimonials, TestimonialsProps } from './components/marketing/testimonials.cjs';
|
|
45
48
|
export { Feature, Features, FeaturesProps } from './components/marketing/features.cjs';
|
|
@@ -60,6 +63,9 @@ import '@radix-ui/react-dialog';
|
|
|
60
63
|
import '@radix-ui/react-alert-dialog';
|
|
61
64
|
import '@radix-ui/react-toggle';
|
|
62
65
|
import '@radix-ui/react-toggle-group';
|
|
66
|
+
import '@radix-ui/react-context-menu';
|
|
67
|
+
import '@radix-ui/react-hover-card';
|
|
68
|
+
import '@radix-ui/react-scroll-area';
|
|
63
69
|
|
|
64
70
|
type ThemeName = 'nostromo' | 'mother' | 'lv-426' | 'sulaco';
|
|
65
71
|
declare const themes: Record<ThemeName, string>;
|
package/dist/index.d.ts
CHANGED
|
@@ -40,6 +40,9 @@ export { Sheet, SheetClose, SheetContent, SheetContentProps, SheetDescription, S
|
|
|
40
40
|
export { AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './components/core/alert-dialog.js';
|
|
41
41
|
export { Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleProps, toggleVariants } from './components/core/toggle.js';
|
|
42
42
|
export { AspectRatio, AspectRatioProps } from './components/core/aspect-ratio.js';
|
|
43
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuItemProps, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './components/core/context-menu.js';
|
|
44
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger } from './components/core/hover-card.js';
|
|
45
|
+
export { ScrollArea, ScrollAreaProps, ScrollBar } from './components/core/scroll-area.js';
|
|
43
46
|
export { Hero, HeroProps } from './components/marketing/hero.js';
|
|
44
47
|
export { Testimonial, Testimonials, TestimonialsProps } from './components/marketing/testimonials.js';
|
|
45
48
|
export { Feature, Features, FeaturesProps } from './components/marketing/features.js';
|
|
@@ -60,6 +63,9 @@ import '@radix-ui/react-dialog';
|
|
|
60
63
|
import '@radix-ui/react-alert-dialog';
|
|
61
64
|
import '@radix-ui/react-toggle';
|
|
62
65
|
import '@radix-ui/react-toggle-group';
|
|
66
|
+
import '@radix-ui/react-context-menu';
|
|
67
|
+
import '@radix-ui/react-hover-card';
|
|
68
|
+
import '@radix-ui/react-scroll-area';
|
|
63
69
|
|
|
64
70
|
type ThemeName = 'nostromo' | 'mother' | 'lv-426' | 'sulaco';
|
|
65
71
|
declare const themes: Record<ThemeName, string>;
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{b as Toggle,c as ToggleGroup,d as ToggleGroupItem,a as toggleVariants}from'./chunk-EZGTC7L3.js';export{f as Tooltip,d as TooltipContent,e as TooltipProvider,c as TooltipTrigger,b as arrowVariants,a as tooltipVariants}from'./chunk-TCA5Z7FL.js';export{a as Features}from'./chunk-CEMOHO3Z.js';export{a as Gallery}from'./chunk-2JQROMCM.js';export{a as Hero}from'./chunk-JEHIMQQZ.js';export{a as
|
|
2
|
+
export{a as LogoWall}from'./chunk-RC2THAIA.js';export{a as Pricing}from'./chunk-44HISN45.js';export{a as Testimonials}from'./chunk-LR4VUFOQ.js';export{d as Tabs,g as TabsContent,e as TabsList,f as TabsTrigger,c as tabsContentVariants,a as tabsListVariants,b as tabsTriggerVariants}from'./chunk-ZEJAFIOC.js';export{b as Textarea,a as textareaVariants}from'./chunk-2HYJSYQX.js';export{e as Toast,d as ToastProvider,b as toastIconVariants,a as toastVariants,c as useToast,f as useToastNotification}from'./chunk-WO3KCAN6.js';export{b as Toggle,c as ToggleGroup,d as ToggleGroupItem,a as toggleVariants}from'./chunk-EZGTC7L3.js';export{f as Tooltip,d as TooltipContent,e as TooltipProvider,c as TooltipTrigger,b as arrowVariants,a as tooltipVariants}from'./chunk-TCA5Z7FL.js';export{a as Features}from'./chunk-CEMOHO3Z.js';export{a as Gallery}from'./chunk-2JQROMCM.js';export{a as Hero}from'./chunk-JEHIMQQZ.js';export{c as RadioGroup,d as RadioGroupItem,d as RadioItem,a as radioGroupVariants,b as radioItemVariants}from'./chunk-WW2DDHCI.js';export{a as ScrollArea,b as ScrollBar}from'./chunk-GCMMAUW3.js';export{d as Select,h as SelectContent,e as SelectGroup,j as SelectItem,i as SelectLabel,k as SelectSeparator,g as SelectTrigger,f as SelectValue,b as selectContentVariants,c as selectItemVariants,a as selectTriggerVariants}from'./chunk-BZF3ZOAN.js';export{b as Separator,a as separatorVariants}from'./chunk-XRVHMGMD.js';export{b as Sheet,d as SheetClose,g as SheetContent,k as SheetDescription,i as SheetFooter,h as SheetHeader,f as SheetOverlay,e as SheetPortal,j as SheetTitle,c as SheetTrigger,a as sheetVariants}from'./chunk-HCYZ3LZP.js';export{c as Switch,b as switchThumbVariants,a as switchVariants}from'./chunk-OUWOPYAX.js';export{b as HelperText,a as helperTextVariants}from'./chunk-ABA7B5DE.js';export{a as HoverCard,c as HoverCardContent,b as HoverCardTrigger}from'./chunk-HEU5GFOV.js';export{a as Icon,b as iconNames}from'./chunk-BL2TM4YT.js';export{b as Label,a as labelVariants}from'./chunk-LYVCB45L.js';export{c as Pagination,d as PaginationContent,i as PaginationEllipsis,e as PaginationItem,f as PaginationLink,h as PaginationNext,g as PaginationPrevious,b as paginationItemVariants,a as paginationVariants}from'./chunk-Q6QMSAJR.js';export{b as Popover,d as PopoverAnchor,g as PopoverArrow,e as PopoverClose,f as PopoverContent,c as PopoverTrigger,a as popoverContentVariants}from'./chunk-3FY7LZ3B.js';export{e as CircularProgress,d as Progress,b as progressBarVariants,c as progressLabelVariants,a as progressVariants}from'./chunk-NLD4R74T.js';export{b as Checkbox,a as checkboxVariants}from'./chunk-DNTPD3PJ.js';export{a as Collapsible,c as CollapsibleContent,b as CollapsibleTrigger}from'./chunk-ESUSGG6O.js';export{a as ContextMenu,h as ContextMenuCheckboxItem,f as ContextMenuContent,c as ContextMenuGroup,g as ContextMenuItem,j as ContextMenuLabel,e as ContextMenuRadioGroup,i as ContextMenuRadioItem,k as ContextMenuSeparator,l as ContextMenuShortcut,d as ContextMenuSub,n as ContextMenuSubContent,m as ContextMenuSubTrigger,b as ContextMenuTrigger}from'./chunk-AYKNZARS.js';export{a as DataTable}from'./chunk-XJJJEWSU.js';export{d as Table,f as TableBody,h as TableCell,i as TableHead,e as TableHeader,g as TableRow,c as tableCellVariants,b as tableHeaderVariants,a as tableVariants}from'./chunk-UIEGBT4T.js';export{b as Input}from'./chunk-HD3TMQPR.js';export{c as Dialog,e as DialogContent,h as DialogDescription,f as DialogHeader,g as DialogTitle,d as DialogTrigger}from'./chunk-MY2KMTUS.js';export{a as DropdownMenu,h as DropdownMenuCheckboxItem,f as DropdownMenuContent,c as DropdownMenuGroup,g as DropdownMenuItem,j as DropdownMenuLabel,e as DropdownMenuRadioGroup,i as DropdownMenuRadioItem,k as DropdownMenuSeparator,l as DropdownMenuShortcut,d as DropdownMenuSub,n as DropdownMenuSubContent,m as DropdownMenuSubTrigger,b as DropdownMenuTrigger}from'./chunk-MM54MZBX.js';import'./chunk-XYPJ2K22.js';export{b as ErrorMessage,a as errorMessageVariants}from'./chunk-XQUZ7DUN.js';export{b as Badge,a as badgeVariants}from'./chunk-UL6MF7ES.js';export{d as Breadcrumb,j as BreadcrumbEllipsis,f as BreadcrumbItem,g as BreadcrumbLink,e as BreadcrumbList,h as BreadcrumbPage,i as BreadcrumbSeparator,b as breadcrumbItemVariants,c as breadcrumbSeparatorVariants,a as breadcrumbVariants}from'./chunk-SVWQWRPZ.js';export{c as Calendar,b as calendarDayVariants,a as calendarVariants}from'./chunk-35I2BJC3.js';export{g as Card,e as CardContent,d as CardDescription,f as CardFooter,b as CardHeader,c as CardTitle}from'./chunk-VD6S2PE4.js';export{l as ChartArea,j as ChartBar,d as ChartContainer,e as ChartGrid,i as ChartLegend,k as ChartLine,m as ChartReferenceLine,h as ChartTooltip,f as ChartXAxis,g as ChartYAxis,b as buildColorMap,a as chartPalette,c as resolveSeriesColor}from'./chunk-CCNO2VWE.js';export{a as LazyChart}from'./chunk-HRJXPCGF.js';export{b as Skeleton,d as SkeletonAvatar,e as SkeletonButton,f as SkeletonCard,h as SkeletonList,g as SkeletonTable,c as SkeletonText,a as skeletonVariants}from'./chunk-QKM5LPRW.js';export{b as Chart,a as chartContainerVariants}from'./chunk-XLZJ6HBL.js';export{a as LazyComponent,d as LazyInView,c as useLazyLoading,b as withLazyLoading}from'./chunk-QBAURT3I.js';export{a as ErrorBoundary,b as useErrorHandler}from'./chunk-MVCGR7JQ.js';export{d as performanceUtils,c as useMemoryMonitor,a as usePerformanceMonitor,b as withPerformanceMonitoring}from'./chunk-3BNGK67W.js';export{f as Accordion,i as AccordionContent,g as AccordionItem,h as AccordionTrigger,e as accordionChevronVariants,d as accordionContentVariants,b as accordionItemVariants,c as accordionTriggerVariants,a as accordionVariants}from'./chunk-6QAYHUNV.js';export{a as AlertDialog,j as AlertDialogAction,k as AlertDialogCancel,e as AlertDialogContent,i as AlertDialogDescription,g as AlertDialogFooter,f as AlertDialogHeader,d as AlertDialogOverlay,c as AlertDialogPortal,h as AlertDialogTitle,b as AlertDialogTrigger}from'./chunk-CT6LEOBW.js';export{b as Button,a as buttonVariants}from'./chunk-AVTJE2O2.js';export{g as Alert,f as AlertDescription,e as AlertTitle,d as alertCloseVariants,c as alertDescriptionVariants,b as alertTitleVariants,a as alertVariants}from'./chunk-AHRTNKXE.js';export{a as AspectRatio}from'./chunk-YCVOS3MT.js';export{d as Avatar,c as AvatarFallback,b as AvatarImage,a as avatarVariants}from'./chunk-YNSODGYK.js';import'./chunk-COXN6XBA.js';export{a as cn}from'./chunk-AC2JBXHQ.js';var Vn={nostromo:"nostromo",mother:"mother","lv-426":"lv-426",sulaco:"sulaco"};function yn(o){typeof document<"u"&&document.documentElement.setAttribute("data-theme",o);}function wn(){return typeof document>"u"?null:document.documentElement.getAttribute("data-theme")}function Ln(){if(typeof document>"u")return;let r=document.documentElement.getAttribute("data-color-scheme")==="dark"?"light":"dark";document.documentElement.setAttribute("data-color-scheme",r);}function Cn(o){typeof document>"u"||document.documentElement.setAttribute("data-color-scheme",o?"dark":"light");}function kn(){return typeof document>"u"?null:document.documentElement.getAttribute("data-color-scheme")}function Sn(){return typeof window>"u"?false:window.matchMedia("(prefers-color-scheme: dark)").matches}function Bn(o){if(typeof window>"u")return ()=>{};let r=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>{o(e.matches);};return r.addEventListener("change",t),()=>{r.removeEventListener("change",t);}}function zn(o="nostromo"){typeof document>"u"||(wn()||yn(o),kn()||Cn(Sn()));}var Xn={nostromo:{name:"Nostromo",description:"Classic space industrial theme inspired by the USCSS Nostromo",colors:{primary:"Purple/Blue",secondary:"Dark Gray",accent:"Green"}},mother:{name:"Mother",description:"Cold, clinical AI aesthetic inspired by the ship's computer",colors:{primary:"Cold Blue/Cyan",secondary:"Clinical White",accent:"Green"}},"lv-426":{name:"LV-426",description:"Warm, rusty atmosphere inspired by the planet LV-426",colors:{primary:"Warm Orange/Rust",secondary:"Earth Tones",accent:"Green"}},sulaco:{name:"Sulaco",description:"Modern, military-inspired aesthetic from the USS Sulaco",colors:{primary:"Military Blue/Gray",secondary:"Steel Tones",accent:"Green"}}};export{yn as applyTheme,kn as getColorScheme,wn as getCurrentTheme,zn as initializeTheme,Bn as onSystemColorSchemeChange,Sn as prefersDarkMode,Cn as setDarkMode,Xn as themeInfo,Vn as themes,Ln as toggleDarkMode};//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/utils.ts","../src/themes/index.ts"],"names":["themes","applyTheme","theme","getCurrentTheme","toggleDarkMode","newScheme","setDarkMode","isDark","getColorScheme","prefersDarkMode","onSystemColorSchemeChange","callback","mediaQuery","handler","initializeTheme","defaultTheme","themeInfo"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/themes/utils.ts","../src/themes/index.ts"],"names":["themes","applyTheme","theme","getCurrentTheme","toggleDarkMode","newScheme","setDarkMode","isDark","getColorScheme","prefersDarkMode","onSystemColorSchemeChange","callback","mediaQuery","handler","initializeTheme","defaultTheme","themeInfo"],"mappings":"4yMAIO,IAAMA,EAAAA,CAAoC,CAC/C,QAAA,CAAU,UAAA,CACV,MAAA,CAAQ,SACR,QAAA,CAAU,QAAA,CACV,MAAA,CAAQ,QACV,EAKO,SAASC,GAAWC,CAAAA,CAAwB,CAC7C,OAAO,QAAA,CAAa,GAAA,EACtB,QAAA,CAAS,eAAA,CAAgB,YAAA,CAAa,YAAA,CAAcA,CAAK,EAE7D,CAKO,SAASC,EAAAA,EAAoC,CAClD,OAAI,OAAO,QAAA,CAAa,GAAA,CAAoB,IAAA,CAE9B,QAAA,CAAS,eAAA,CAAgB,YAAA,CAAa,YAAY,CAElE,CAKO,SAASC,EAAAA,EAAuB,CACrC,GAAI,OAAO,QAAA,CAAa,GAAA,CAAa,OAGrC,IAAMC,CAAAA,CADgB,QAAA,CAAS,eAAA,CAAgB,YAAA,CAAa,mBAAmB,CAAA,GAC3C,MAAA,CAAS,OAAA,CAAU,MAAA,CACvD,SAAS,eAAA,CAAgB,YAAA,CAAa,mBAAA,CAAqBA,CAAS,EACtE,CAKO,SAASC,EAAAA,CAAYC,CAAAA,CAAuB,CAC7C,OAAO,QAAA,CAAa,GAAA,EAExB,QAAA,CAAS,gBAAgB,YAAA,CAAa,mBAAA,CAAqBA,CAAAA,CAAS,MAAA,CAAS,OAAO,EACtF,CAKO,SAASC,EAAAA,EAA0C,CACxD,OAAI,OAAO,QAAA,CAAa,GAAA,CAAoB,KAE7B,QAAA,CAAS,eAAA,CAAgB,YAAA,CAAa,mBAAmB,CAE1E,CAKO,SAASC,EAAAA,EAA2B,CACzC,OAAI,OAAO,MAAA,CAAW,GAAA,CAAoB,KAAA,CAEnC,OAAO,UAAA,CAAW,8BAA8B,CAAA,CAAE,OAC3D,CAKO,SAASC,EAAAA,CAA0BC,CAAAA,CAAiD,CACzF,GAAI,OAAO,MAAA,CAAW,GAA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ThemeName = 'nostromo' | 'mother' | 'lv-426' | 'sulaco';\n\nexport const themes: Record<ThemeName, string> = {\n nostromo: 'nostromo',\n mother: 'mother',\n 'lv-426': 'lv-426',\n sulaco: 'sulaco',\n} as const;\n\n/**\n * Apply a theme to the document\n */\nexport function applyTheme(theme: ThemeName): void {\n if (typeof document !== 'undefined') {\n document.documentElement.setAttribute('data-theme', theme);\n }\n}\n\n/**\n * Get the current theme from the document\n */\nexport function getCurrentTheme(): ThemeName | null {\n if (typeof document === 'undefined') return null;\n \n const theme = document.documentElement.getAttribute('data-theme');\n return theme as ThemeName | null;\n}\n\n/**\n * Toggle between light and dark mode\n */\nexport function toggleDarkMode(): void {\n if (typeof document === 'undefined') return;\n \n const currentScheme = document.documentElement.getAttribute('data-color-scheme');\n const newScheme = currentScheme === 'dark' ? 'light' : 'dark';\n document.documentElement.setAttribute('data-color-scheme', newScheme);\n}\n\n/**\n * Set dark mode\n */\nexport function setDarkMode(isDark: boolean): void {\n if (typeof document === 'undefined') return;\n \n document.documentElement.setAttribute('data-color-scheme', isDark ? 'dark' : 'light');\n}\n\n/**\n * Get current color scheme\n */\nexport function getColorScheme(): 'light' | 'dark' | null {\n if (typeof document === 'undefined') return null;\n \n const scheme = document.documentElement.getAttribute('data-color-scheme');\n return scheme as 'light' | 'dark' | null;\n}\n\n/**\n * Check if system prefers dark mode\n */\nexport function prefersDarkMode(): boolean {\n if (typeof window === 'undefined') return false;\n \n return window.matchMedia('(prefers-color-scheme: dark)').matches;\n}\n\n/**\n * Listen for system color scheme changes\n */\nexport function onSystemColorSchemeChange(callback: (isDark: boolean) => void): () => void {\n if (typeof window === 'undefined') return () => {};\n \n const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');\n \n const handler = (e: MediaQueryListEvent) => {\n callback(e.matches);\n };\n \n mediaQuery.addEventListener('change', handler);\n \n // Return cleanup function\n return () => {\n mediaQuery.removeEventListener('change', handler);\n };\n}\n\n/**\n * Initialize theme system\n */\nexport function initializeTheme(defaultTheme: ThemeName = 'nostromo'): void {\n if (typeof document === 'undefined') return;\n \n // Set default theme if none is set\n if (!getCurrentTheme()) {\n applyTheme(defaultTheme);\n }\n \n // Set initial color scheme based on system preference\n if (!getColorScheme()) {\n setDarkMode(prefersDarkMode());\n }\n}\n","// Theme exports\nexport * from './utils';\n\n// Theme CSS imports (for bundlers that support CSS imports)\nimport './nostromo.css';\nimport './mother.css';\nimport './lv-426.css';\nimport './sulaco.css';\n\n// Theme names and descriptions\nexport const themeInfo = {\n nostromo: {\n name: 'Nostromo',\n description: 'Classic space industrial theme inspired by the USCSS Nostromo',\n colors: {\n primary: 'Purple/Blue',\n secondary: 'Dark Gray',\n accent: 'Green'\n }\n },\n mother: {\n name: 'Mother',\n description: 'Cold, clinical AI aesthetic inspired by the ship\\'s computer',\n colors: {\n primary: 'Cold Blue/Cyan',\n secondary: 'Clinical White',\n accent: 'Green'\n }\n },\n 'lv-426': {\n name: 'LV-426',\n description: 'Warm, rusty atmosphere inspired by the planet LV-426',\n colors: {\n primary: 'Warm Orange/Rust',\n secondary: 'Earth Tones',\n accent: 'Green'\n }\n },\n sulaco: {\n name: 'Sulaco',\n description: 'Modern, military-inspired aesthetic from the USS Sulaco',\n colors: {\n primary: 'Military Blue/Gray',\n secondary: 'Steel Tones',\n accent: 'Green'\n }\n }\n} as const;\n\nexport type ThemeInfo = typeof themeInfo;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jarllyng/nostromo",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "Accessible React component library with CSS-first Tailwind v4 theming",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -272,6 +272,21 @@
|
|
|
272
272
|
"types": "./dist/components/core/aspect-ratio.d.ts",
|
|
273
273
|
"import": "./dist/components/core/aspect-ratio.js",
|
|
274
274
|
"require": "./dist/components/core/aspect-ratio.cjs"
|
|
275
|
+
},
|
|
276
|
+
"./components/core/context-menu": {
|
|
277
|
+
"types": "./dist/components/core/context-menu.d.ts",
|
|
278
|
+
"import": "./dist/components/core/context-menu.js",
|
|
279
|
+
"require": "./dist/components/core/context-menu.cjs"
|
|
280
|
+
},
|
|
281
|
+
"./components/core/hover-card": {
|
|
282
|
+
"types": "./dist/components/core/hover-card.d.ts",
|
|
283
|
+
"import": "./dist/components/core/hover-card.js",
|
|
284
|
+
"require": "./dist/components/core/hover-card.cjs"
|
|
285
|
+
},
|
|
286
|
+
"./components/core/scroll-area": {
|
|
287
|
+
"types": "./dist/components/core/scroll-area.d.ts",
|
|
288
|
+
"import": "./dist/components/core/scroll-area.js",
|
|
289
|
+
"require": "./dist/components/core/scroll-area.cjs"
|
|
275
290
|
}
|
|
276
291
|
},
|
|
277
292
|
"files": [
|
|
@@ -307,9 +322,12 @@
|
|
|
307
322
|
"dependencies": {
|
|
308
323
|
"@radix-ui/react-alert-dialog": "^1.1.23",
|
|
309
324
|
"@radix-ui/react-collapsible": "^1.1.20",
|
|
325
|
+
"@radix-ui/react-context-menu": "^2.3.7",
|
|
310
326
|
"@radix-ui/react-dialog": "^1.1.23",
|
|
311
327
|
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
328
|
+
"@radix-ui/react-hover-card": "^1.1.23",
|
|
312
329
|
"@radix-ui/react-popover": "^1.1.23",
|
|
330
|
+
"@radix-ui/react-scroll-area": "^1.2.18",
|
|
313
331
|
"@radix-ui/react-select": "^2.3.7",
|
|
314
332
|
"@radix-ui/react-slot": "^1.3.3",
|
|
315
333
|
"@radix-ui/react-switch": "^1.3.7",
|
|
@@ -417,6 +435,18 @@
|
|
|
417
435
|
{
|
|
418
436
|
"path": "dist/components/core/aspect-ratio.js",
|
|
419
437
|
"limit": "9 KB"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"path": "dist/components/core/context-menu.js",
|
|
441
|
+
"limit": "39 KB"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"path": "dist/components/core/hover-card.js",
|
|
445
|
+
"limit": "26 KB"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"path": "dist/components/core/scroll-area.js",
|
|
449
|
+
"limit": "16 KB"
|
|
420
450
|
}
|
|
421
451
|
]
|
|
422
452
|
}
|
package/dist/chunk-BX4VBLKZ.cjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
'use strict';var chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),o=require('react'),e=require('@radix-ui/react-dropdown-menu');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var o__namespace=/*#__PURE__*/_interopNamespace(o);var e__namespace=/*#__PURE__*/_interopNamespace(e);var R=e__namespace.Root,b=e__namespace.Trigger,y=e__namespace.Group,g=e__namespace.Sub,h=e__namespace.RadioGroup,m="z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",d="relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors focus:bg-muted focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s=o__namespace.forwardRef(({className:t,sideOffset:n=6,...r},i)=>o__namespace.createElement(e__namespace.Portal,null,o__namespace.createElement(e__namespace.Content,{ref:i,sideOffset:n,className:chunkITRGJNWL_cjs.a(m,t),...r})));s.displayName=e__namespace.Content.displayName;var u=o__namespace.forwardRef(({className:t,destructive:n,inset:r,...i},p)=>o__namespace.createElement(e__namespace.Item,{ref:p,className:chunkITRGJNWL_cjs.a(d,r&&"pl-8",n&&"text-destructive focus:bg-destructive/10 focus:text-destructive",t),...i}));u.displayName=e__namespace.Item.displayName;var c=o__namespace.forwardRef(({className:t,children:n,...r},i)=>o__namespace.createElement(e__namespace.CheckboxItem,{ref:i,className:chunkITRGJNWL_cjs.a(d,"pl-8",t),...r},o__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o__namespace.createElement(e__namespace.ItemIndicator,null,o__namespace.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"h-3.5 w-3.5","aria-hidden":"true"},o__namespace.createElement("path",{d:"M13 4.5 6.5 11 3 7.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),n));c.displayName=e__namespace.CheckboxItem.displayName;var l=o__namespace.forwardRef(({className:t,children:n,...r},i)=>o__namespace.createElement(e__namespace.RadioItem,{ref:i,className:chunkITRGJNWL_cjs.a(d,"pl-8",t),...r},o__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o__namespace.createElement(e__namespace.ItemIndicator,null,o__namespace.createElement("span",{className:"h-2 w-2 rounded-full bg-current"}))),n));l.displayName=e__namespace.RadioItem.displayName;var f=o__namespace.forwardRef(({className:t,inset:n,...r},i)=>o__namespace.createElement(e__namespace.Label,{ref:i,className:chunkITRGJNWL_cjs.a("px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground",n&&"pl-8",t),...r}));f.displayName=e__namespace.Label.displayName;var w=o__namespace.forwardRef(({className:t,...n},r)=>o__namespace.createElement(e__namespace.Separator,{ref:r,className:chunkITRGJNWL_cjs.a("-mx-1 my-1 h-px bg-border",t),...n}));w.displayName=e__namespace.Separator.displayName;function M({className:t,...n}){return o__namespace.createElement("span",{className:chunkITRGJNWL_cjs.a("ml-auto text-xs tracking-widest text-muted-foreground",t),...n})}M.displayName="DropdownMenuShortcut";var D=o__namespace.forwardRef(({className:t,inset:n,children:r,...i},p)=>o__namespace.createElement(e__namespace.SubTrigger,{ref:p,className:chunkITRGJNWL_cjs.a(d,"data-[state=open]:bg-muted",n&&"pl-8",t),...i},r,o__namespace.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"ml-auto h-3.5 w-3.5","aria-hidden":"true"},o__namespace.createElement("path",{d:"m6 4 4 4-4 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))));D.displayName=e__namespace.SubTrigger.displayName;var P=o__namespace.forwardRef(({className:t,...n},r)=>o__namespace.createElement(e__namespace.Portal,null,o__namespace.createElement(e__namespace.SubContent,{ref:r,className:chunkITRGJNWL_cjs.a(m,t),...n})));P.displayName=e__namespace.SubContent.displayName;exports.a=R;exports.b=b;exports.c=y;exports.d=g;exports.e=h;exports.f=s;exports.g=u;exports.h=c;exports.i=l;exports.j=f;exports.k=w;exports.l=M;exports.m=D;exports.n=P;//# sourceMappingURL=chunk-BX4VBLKZ.cjs.map
|
|
3
|
-
//# sourceMappingURL=chunk-BX4VBLKZ.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/core/dropdown-menu.tsx"],"names":["DropdownMenu","e","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuSub","DropdownMenuRadioGroup","menuSurface","menuItem","DropdownMenuContent","o","className","sideOffset","props","ref","cn","DropdownMenuItem","destructive","inset","DropdownMenuCheckboxItem","children","DropdownMenuRadioItem","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut","DropdownMenuSubTrigger","DropdownMenuSubContent"],"mappings":"0hBAeA,IAAMA,CAAAA,CAAqCC,kBACrCC,CAAAA,CAA4CD,YAAA,CAAA,OAAA,CAC5CE,EAA0CF,YAAA,CAAA,KAAA,CAC1CG,CAAAA,CAAwCH,iBACxCI,CAAAA,CAA+CJ,YAAA,C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,YAAA,CAAA,UAAA,CAAW,YAEnC,IAAMwB,CAAAA,CAA+BhB,wBAGnC,CAAC,CAAE,UAAAC,CAAAA,CAAW,GAAGE,CAAM,CAAA,CAAGC,CAAAA,GAC1BJ,2BAAuBR,YAAA,CAAA,MAAA,CAAtB,IAAA,CACCQ,2BAAuBR,YAAA,CAAA,UAAA,CAAtB,CACC,IAAKY,CAAAA,CACL,SAAA,CAAWC,oBAAGR,CAAAA,CAAaI,CAAS,EACnC,GAAGE,CAAAA,CACN,CACF,CACD,EACDa,CAAAA,CAAuB,WAAA,CACCxB,YAAA,CAAA,UAAA,CAAW,WAAA","file":"chunk-BX4VBLKZ.cjs","sourcesContent":["import * as React from \"react\";\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * The menu that hangs off a button: row actions, account menus, overflow.\n *\n * Radix owns the hard parts - roving focus, typeahead, submenu timing, pointer\n * versus keyboard intent - so this is styling plus two defaults worth having in\n * one place rather than at every call site.\n *\n * `Select` is the neighbouring component and a different thing: it edits a form\n * value and has a selected state. A dropdown menu runs commands.\n */\n\nconst DropdownMenu = DropdownMenuPrimitive.Root;\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group;\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub;\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;\n\nconst menuSurface =\n \"z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 \" +\n \"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 \" +\n \"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\";\n\nconst menuItem =\n \"relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none \" +\n \"transition-colors focus:bg-muted focus:text-foreground \" +\n \"data-[disabled]:pointer-events-none data-[disabled]:opacity-50\";\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 6, ...props }, ref) => (\n // Portalled: an un-portalled menu is clipped by any ancestor with\n // `overflow: hidden`, which in practice means every card and table it is used\n // in - the single most common way a menu appears half-drawn.\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;\n\nexport interface DropdownMenuItemProps extends React.ComponentPropsWithoutRef<\n typeof DropdownMenuPrimitive.Item\n> {\n /** Pulls the item into the destructive palette. */\n destructive?: boolean;\n /** Indents to line up with checkbox and radio items in the same menu. */\n inset?: boolean;\n}\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n DropdownMenuItemProps\n>(({ className, destructive, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n menuItem,\n inset && \"pl-8\",\n destructive &&\n \"text-destructive focus:bg-destructive/10 focus:text-destructive\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n // `checked` rides along in the spread rather than being destructured and\n // re-passed: under exactOptionalPropertyTypes, handing back an explicit\n // `undefined` is not the same as omitting the prop, and Radix's type rejects it.\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(menuItem, \"pl-8\", className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13 4.5 6.5 11 3 7.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n));\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName;\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(menuItem, \"pl-8\", className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <span className=\"h-2 w-2 rounded-full bg-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n));\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn(\n \"px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground\",\n inset && \"pl-8\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn(\"-mx-1 my-1 h-px bg-border\", className)}\n {...props}\n />\n));\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;\n\n/** For a keyboard hint on the right of an item. Not interactive. */\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return (\n <span\n className={cn(\n \"ml-auto text-xs tracking-widest text-muted-foreground\",\n className,\n )}\n {...props}\n />\n );\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\";\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n menuItem,\n \"data-[state=open]:bg-muted\",\n inset && \"pl-8\",\n className,\n )}\n {...props}\n >\n {children}\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"ml-auto h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"m6 4 4 4-4 4\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.SubTrigger>\n));\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName;\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName;\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n"]}
|
package/dist/chunk-E44BBSLT.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {a}from'./chunk-AC2JBXHQ.js';import*as o from'react';import*as e from'@radix-ui/react-dropdown-menu';var R=e.Root,b=e.Trigger,y=e.Group,g=e.Sub,h=e.RadioGroup,m="z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",d="relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors focus:bg-muted focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s=o.forwardRef(({className:t,sideOffset:n=6,...r},i)=>o.createElement(e.Portal,null,o.createElement(e.Content,{ref:i,sideOffset:n,className:a(m,t),...r})));s.displayName=e.Content.displayName;var u=o.forwardRef(({className:t,destructive:n,inset:r,...i},p)=>o.createElement(e.Item,{ref:p,className:a(d,r&&"pl-8",n&&"text-destructive focus:bg-destructive/10 focus:text-destructive",t),...i}));u.displayName=e.Item.displayName;var c=o.forwardRef(({className:t,children:n,...r},i)=>o.createElement(e.CheckboxItem,{ref:i,className:a(d,"pl-8",t),...r},o.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o.createElement(e.ItemIndicator,null,o.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"h-3.5 w-3.5","aria-hidden":"true"},o.createElement("path",{d:"M13 4.5 6.5 11 3 7.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),n));c.displayName=e.CheckboxItem.displayName;var l=o.forwardRef(({className:t,children:n,...r},i)=>o.createElement(e.RadioItem,{ref:i,className:a(d,"pl-8",t),...r},o.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},o.createElement(e.ItemIndicator,null,o.createElement("span",{className:"h-2 w-2 rounded-full bg-current"}))),n));l.displayName=e.RadioItem.displayName;var f=o.forwardRef(({className:t,inset:n,...r},i)=>o.createElement(e.Label,{ref:i,className:a("px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground",n&&"pl-8",t),...r}));f.displayName=e.Label.displayName;var w=o.forwardRef(({className:t,...n},r)=>o.createElement(e.Separator,{ref:r,className:a("-mx-1 my-1 h-px bg-border",t),...n}));w.displayName=e.Separator.displayName;function M({className:t,...n}){return o.createElement("span",{className:a("ml-auto text-xs tracking-widest text-muted-foreground",t),...n})}M.displayName="DropdownMenuShortcut";var D=o.forwardRef(({className:t,inset:n,children:r,...i},p)=>o.createElement(e.SubTrigger,{ref:p,className:a(d,"data-[state=open]:bg-muted",n&&"pl-8",t),...i},r,o.createElement("svg",{viewBox:"0 0 16 16",fill:"none",className:"ml-auto h-3.5 w-3.5","aria-hidden":"true"},o.createElement("path",{d:"m6 4 4 4-4 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))));D.displayName=e.SubTrigger.displayName;var P=o.forwardRef(({className:t,...n},r)=>o.createElement(e.Portal,null,o.createElement(e.SubContent,{ref:r,className:a(m,t),...n})));P.displayName=e.SubContent.displayName;export{R as a,b,y as c,g as d,h as e,s as f,u as g,c as h,l as i,f as j,w as k,M as l,D as m,P as n};//# sourceMappingURL=chunk-E44BBSLT.js.map
|
|
3
|
-
//# sourceMappingURL=chunk-E44BBSLT.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/core/dropdown-menu.tsx"],"names":["DropdownMenu","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuSub","DropdownMenuRadioGroup","menuSurface","menuItem","DropdownMenuContent","className","sideOffset","props","ref","cn","DropdownMenuItem","destructive","inset","DropdownMenuCheckboxItem","children","DropdownMenuRadioItem","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut","DropdownMenuSubTrigger","DropdownMenuSubContent"],"mappings":"4GAeA,IAAMA,CAAAA,CAAqC,OACrCC,CAAAA,CAA4C,CAAA,CAAA,OAAA,CAC5CC,EAA0C,CAAA,CAAA,KAAA,CAC1CC,CAAAA,CAAwC,MACxCC,CAAAA,CAA+C,CAAA,CAAA,UAAA,CAE/CC,EACJ,gcAAA,CAOIC,CAAAA,CACJ,gOAIIC,CAAAA,CAA4B,CAAA,CAAA,UAAA,CAGhC,CAAC,CAAE,SAAA,CAAAC,EAAW,UAAA,CAAAC,CAAAA,CAAa,EAAG,GAAGC,CAAM,EAAGC,CAAAA,GAI1C,CAAA,CAAA,aAAA,CAAuB,SAAtB,IAAA,CACC,CAAA,CAAA,aAAA,CAAuB,UAAtB,CACC,GAAA,CAAKA,EACL,UAAA,CAAYF,CAAAA,CACZ,UAAWG,CAAAA,CAAGP,CAAAA,CAAaG,CAAS,CAAA,CACnC,GAAGE,EACN,CACF,CACD,EACDH,CAAAA,CAAoB,WAAA,CAAoC,UAAQ,WAAA,CAWhE,IAAMM,EAAyB,CAAA,CAAA,UAAA,CAG7B,CAAC,CAAE,SAAA,CAAAL,CAAAA,CAAW,Y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,aAKnC,CAAC,CAAE,UAAAd,CAAAA,CAAW,KAAA,CAAAO,EAAO,QAAA,CAAAE,CAAAA,CAAU,GAAGP,CAAM,CAAA,CAAGC,IAC3C,CAAA,CAAA,aAAA,CAAuB,CAAA,CAAA,UAAA,CAAtB,CACC,GAAA,CAAKA,CAAAA,CACL,UAAWC,CAAAA,CACTN,CAAAA,CACA,6BACAS,CAAAA,EAAS,MAAA,CACTP,CACF,CAAA,CACC,GAAGE,GAEHO,CAAAA,CACD,CAAA,CAAA,aAAA,CAAC,OACC,OAAA,CAAQ,WAAA,CACR,KAAK,MAAA,CACL,SAAA,CAAU,sBACV,aAAA,CAAY,MAAA,CAAA,CAEZ,CAAA,CAAA,aAAA,CAAC,MAAA,CAAA,CACC,CAAA,CAAE,cAAA,CACF,OAAO,cAAA,CACP,WAAA,CAAY,IACZ,aAAA,CAAc,OAAA,CACd,eAAe,OAAA,CACjB,CACF,CACF,CACD,EACDK,EAAuB,WAAA,CACC,CAAA,CAAA,UAAA,CAAW,YAEnC,IAAMC,CAAAA,CAA+B,aAGnC,CAAC,CAAE,UAAAf,CAAAA,CAAW,GAAGE,CAAM,CAAA,CAAGC,CAAAA,GAC1B,gBAAuB,CAAA,CAAA,MAAA,CAAtB,IAAA,CACC,gBAAuB,CAAA,CAAA,UAAA,CAAtB,CACC,IAAKA,CAAAA,CACL,SAAA,CAAWC,EAAGP,CAAAA,CAAaG,CAAS,EACnC,GAAGE,CAAAA,CACN,CACF,CACD,EACDa,CAAAA,CAAuB,WAAA,CACC,CAAA,CAAA,UAAA,CAAW,WAAA","file":"chunk-E44BBSLT.js","sourcesContent":["import * as React from \"react\";\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * The menu that hangs off a button: row actions, account menus, overflow.\n *\n * Radix owns the hard parts - roving focus, typeahead, submenu timing, pointer\n * versus keyboard intent - so this is styling plus two defaults worth having in\n * one place rather than at every call site.\n *\n * `Select` is the neighbouring component and a different thing: it edits a form\n * value and has a selected state. A dropdown menu runs commands.\n */\n\nconst DropdownMenu = DropdownMenuPrimitive.Root;\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group;\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub;\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;\n\nconst menuSurface =\n \"z-50 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-background p-1 text-foreground shadow-lg \" +\n \"data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 \" +\n \"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 \" +\n \"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 \" +\n \"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\";\n\nconst menuItem =\n \"relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none \" +\n \"transition-colors focus:bg-muted focus:text-foreground \" +\n \"data-[disabled]:pointer-events-none data-[disabled]:opacity-50\";\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 6, ...props }, ref) => (\n // Portalled: an un-portalled menu is clipped by any ancestor with\n // `overflow: hidden`, which in practice means every card and table it is used\n // in - the single most common way a menu appears half-drawn.\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;\n\nexport interface DropdownMenuItemProps extends React.ComponentPropsWithoutRef<\n typeof DropdownMenuPrimitive.Item\n> {\n /** Pulls the item into the destructive palette. */\n destructive?: boolean;\n /** Indents to line up with checkbox and radio items in the same menu. */\n inset?: boolean;\n}\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n DropdownMenuItemProps\n>(({ className, destructive, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n menuItem,\n inset && \"pl-8\",\n destructive &&\n \"text-destructive focus:bg-destructive/10 focus:text-destructive\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n // `checked` rides along in the spread rather than being destructured and\n // re-passed: under exactOptionalPropertyTypes, handing back an explicit\n // `undefined` is not the same as omitting the prop, and Radix's type rejects it.\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(menuItem, \"pl-8\", className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13 4.5 6.5 11 3 7.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n));\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName;\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(menuItem, \"pl-8\", className)}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <span className=\"h-2 w-2 rounded-full bg-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n));\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn(\n \"px-2 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground\",\n inset && \"pl-8\",\n className,\n )}\n {...props}\n />\n));\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn(\"-mx-1 my-1 h-px bg-border\", className)}\n {...props}\n />\n));\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;\n\n/** For a keyboard hint on the right of an item. Not interactive. */\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return (\n <span\n className={cn(\n \"ml-auto text-xs tracking-widest text-muted-foreground\",\n className,\n )}\n {...props}\n />\n );\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\";\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n menuItem,\n \"data-[state=open]:bg-muted\",\n inset && \"pl-8\",\n className,\n )}\n {...props}\n >\n {children}\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"ml-auto h-3.5 w-3.5\"\n aria-hidden=\"true\"\n >\n <path\n d=\"m6 4 4 4-4 4\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </DropdownMenuPrimitive.SubTrigger>\n));\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName;\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n className={cn(menuSurface, className)}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n));\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName;\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n"]}
|