@jarllyng/nostromo 3.6.0 → 3.7.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-CT6LEOBW.js +3 -0
- package/dist/chunk-CT6LEOBW.js.map +1 -0
- package/dist/chunk-EZGTC7L3.js +3 -0
- package/dist/chunk-EZGTC7L3.js.map +1 -0
- package/dist/chunk-PZLBMQGI.cjs +3 -0
- package/dist/chunk-PZLBMQGI.cjs.map +1 -0
- package/dist/chunk-R4L5BZYI.cjs +3 -0
- package/dist/chunk-R4L5BZYI.cjs.map +1 -0
- package/dist/chunk-SZ34F6OZ.cjs +3 -0
- package/dist/chunk-SZ34F6OZ.cjs.map +1 -0
- package/dist/chunk-YCVOS3MT.js +3 -0
- package/dist/chunk-YCVOS3MT.js.map +1 -0
- package/dist/components/core/alert-dialog.cjs +3 -0
- package/dist/components/core/alert-dialog.cjs.map +1 -0
- package/dist/components/core/alert-dialog.d.cts +50 -0
- package/dist/components/core/alert-dialog.d.ts +50 -0
- package/dist/components/core/alert-dialog.js +3 -0
- package/dist/components/core/alert-dialog.js.map +1 -0
- package/dist/components/core/aspect-ratio.cjs +3 -0
- package/dist/components/core/aspect-ratio.cjs.map +1 -0
- package/dist/components/core/aspect-ratio.d.cts +24 -0
- package/dist/components/core/aspect-ratio.d.ts +24 -0
- package/dist/components/core/aspect-ratio.js +3 -0
- package/dist/components/core/aspect-ratio.js.map +1 -0
- package/dist/components/core/toggle.cjs +3 -0
- package/dist/components/core/toggle.cjs.map +1 -0
- package/dist/components/core/toggle.d.cts +33 -0
- package/dist/components/core/toggle.d.ts +33 -0
- package/dist/components/core/toggle.js +3 -0
- package/dist/components/core/toggle.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
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {a as a$1}from'./chunk-AVTJE2O2.js';import {a}from'./chunk-AC2JBXHQ.js';import*as t from'react';import*as e from'@radix-ui/react-alert-dialog';var P=e.Root,y=e.Trigger,s=e.Portal,n=t.forwardRef(({className:i,...a$1},o)=>t.createElement(e.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-neutral-950/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",i),...a$1}));n.displayName=e.Overlay.displayName;var c=t.forwardRef(({className:i,...a$1},o)=>t.createElement(s,null,t.createElement(n,null),t.createElement(e.Content,{ref:o,className:a("fixed left-1/2 top-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 rounded-xl border border-border bg-background p-6 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",i),...a$1})));c.displayName=e.Content.displayName;function f({className:i,...a$1}){return t.createElement("div",{className:a("flex flex-col gap-2",i),...a$1})}f.displayName="AlertDialogHeader";function d({className:i,...a$1}){return t.createElement("div",{className:a("mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",i),...a$1})}d.displayName="AlertDialogFooter";var p=t.forwardRef(({className:i,...a$1},o)=>t.createElement(e.Title,{ref:o,className:a("text-lg font-semibold text-foreground",i),...a$1}));p.displayName=e.Title.displayName;var g=t.forwardRef(({className:i,...a$1},o)=>t.createElement(e.Description,{ref:o,className:a("text-sm text-muted-foreground",i),...a$1}));g.displayName=e.Description.displayName;var A=t.forwardRef(({className:i,variant:a$2="destructive",...o},m)=>t.createElement(e.Action,{ref:m,className:a(a$1({variant:a$2}),i),...o}));A.displayName=e.Action.displayName;var D=t.forwardRef(({className:i,...a$2},o)=>t.createElement(e.Cancel,{ref:o,className:a(a$1({variant:"outline"}),i),...a$2}));D.displayName=e.Cancel.displayName;export{P as a,y as b,s as c,n as d,c as e,f,d as g,p as h,g as i,A as j,D as k};//# sourceMappingURL=chunk-CT6LEOBW.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-CT6LEOBW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/alert-dialog.tsx"],"names":["AlertDialog","AlertDialogTrigger","AlertDialogPortal","AlertDialogOverlay","className","props","ref","cn","AlertDialogContent","AlertDialogHeader","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","variant","buttonVariants","AlertDialogCancel"],"mappings":"sJA2BA,IAAMA,CAAAA,CAAmC,CAAA,CAAA,IAAA,CACnCC,CAAAA,CAA0C,CAAA,CAAA,OAAA,CAC1CC,CAAAA,CAAyC,CAAA,CAAA,MAAA,CAEzCC,CAAAA,CAA2B,CAAA,CAAA,UAAA,CAG/B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,GAAM,CAAA,CAAGC,CAAAA,GAC1B,CAAA,CAAA,aAAA,CAAsB,CAAA,CAAA,OAAA,CAArB,CACC,GAAA,CAAKA,CAAAA,CACL,SAAA,CAAWC,CAAAA,CACT,8JAAA,CAEAH,CACF,CAAA,CACC,GAAGC,GAAAA,CACN,CACD,EACDF,CAAAA,CAAmB,WAAA,CAAmC,CAAA,CAAA,OAAA,CAAQ,WAAA,CAE9D,IAAMK,CAAAA,CAA2B,CAAA,CAAA,UAAA,CAG/B,CAAC,CAAE,SAAA,CAAAJ,CAAAA,CAAW,GAAGC,GAAM,CAAA,CAAGC,CAAAA,GAC1B,CAAA,CAAA,aAAA,CAACJ,CAAAA,CAAA,IAAA,CACC,CAAA,CAAA,aAAA,CAACC,CAAAA,CAAA,IAAmB,CAAA,CACpB,CAAA,CAAA,aAAA,CAAsB,CAAA,CAAA,OAAA,CAArB,CACC,GAAA,CAAKG,CAAAA,CACL,SAAA,CAAWC,CAAAA,CACT,gUAAA,CAKAH,CACF,CAAA,CACC,GAAGC,GAAAA,CACN,CACF,CACD,EACDG,CAAAA,CAAmB,WAAA,CAAmC,CAAA,CAAA,OAAA,CAAQ,WAAA,CAE9D,SAASC,CAAAA,CAAkB,CACzB,SAAA,CAAAL,CAAAA,CACA,GAAGC,GACL,CAAA,CAAyC,CACvC,OAAO,CAAA,CAAA,aAAA,CAAC,KAAA,CAAA,CAAI,SAAA,CAAWE,CAAAA,CAAG,qBAAA,CAAuBH,CAAS,CAAA,CAAI,GAAGC,GAAAA,CAAO,CAC1E,CACAI,CAAAA,CAAkB,WAAA,CAAc,mBAAA,CAEhC,SAASC,CAAAA,CAAkB,CACzB,SAAA,CAAAN,CAAAA,CACA,GAAGC,GACL,CAAA,CAAyC,CACvC,OACE,CAAA,CAAA,aAAA,CAAC,KAAA,CAAA,CACC,SAAA,CAAWE,CAAAA,CACT,6DAAA,CACAH,CACF,CAAA,CACC,GAAGC,GAAAA,CACN,CAEJ,CACAK,CAAAA,CAAkB,WAAA,CAAc,mBAAA,CAEhC,IAAMC,CAAAA,CAAyB,CAAA,CAAA,UAAA,CAG7B,CAAC,CAAE,SAAA,CAAAP,CAAAA,CAAW,GAAGC,GAAM,CAAA,CAAGC,CAAAA,GAC1B,CAAA,CAAA,aAAA,CAAsB,CAAA,CAAA,KAAA,CAArB,CACC,GAAA,CAAKA,CAAAA,CACL,SAAA,CAAWC,CAAAA,CAAG,uCAAA,CAAyCH,CAAS,CAAA,CAC/D,GAAGC,GAAAA,CACN,CACD,EACDM,CAAAA,CAAiB,WAAA,CAAmC,CAAA,CAAA,KAAA,CAAM,WAAA,CAE1D,IAAMC,CAAAA,CAA+B,CAAA,CAAA,UAAA,CAGnC,CAAC,CAAE,SAAA,CAAAR,CAAAA,CAAW,GAAGC,GAAM,CAAA,CAAGC,CAAAA,GAC1B,CAAA,CAAA,aAAA,CAAsB,CAAA,CAAA,WAAA,CAArB,CACC,GAAA,CAAKA,CAAAA,CACL,SAAA,CAAWC,CAAAA,CAAG,+BAAA,CAAiCH,CAAS,CAAA,CACvD,GAAGC,GAAAA,CACN,CACD,EACDO,CAAAA,CAAuB,WAAA,CACA,CAAA,CAAA,WAAA,CAAY,WAAA,CAYnC,IAAMC,CAAAA,CAA0B,CAAA,CAAA,UAAA,CAG9B,CAAC,CAAE,SAAA,CAAAT,CAAAA,CAAW,OAAA,CAAAU,GAAAA,CAAU,aAAA,CAAe,GAAGT,CAAM,CAAA,CAAGC,CAAAA,GACnD,CAAA,CAAA,aAAA,CAAsB,CAAA,CAAA,MAAA,CAArB,CACC,GAAA,CAAKA,CAAAA,CACL,SAAA,CAAWC,CAAAA,CAAGQ,GAAAA,CAAe,CAAE,OAAA,CAAAD,GAAQ,CAAC,CAAA,CAAGV,CAAS,CAAA,CACnD,GAAGC,CAAAA,CACN,CACD,EACDQ,CAAAA,CAAkB,WAAA,CAAmC,CAAA,CAAA,MAAA,CAAO,WAAA,CAE5D,IAAMG,CAAAA,CAA0B,CAAA,CAAA,UAAA,CAG9B,CAAC,CAAE,SAAA,CAAAZ,CAAAA,CAAW,GAAGC,GAAM,CAAA,CAAGC,CAAAA,GAC1B,CAAA,CAAA,aAAA,CAAsB,CAAA,CAAA,MAAA,CAArB,CACC,GAAA,CAAKA,CAAAA,CACL,SAAA,CAAWC,CAAAA,CAAGQ,GAAAA,CAAe,CAAE,OAAA,CAAS,SAAU,CAAC,CAAA,CAAGX,CAAS,CAAA,CAC9D,GAAGC,GAAAA,CACN,CACD,EACDW,CAAAA,CAAkB,WAAA,CAAmC,CAAA,CAAA,MAAA,CAAO,WAAA","file":"chunk-CT6LEOBW.js","sourcesContent":["import * as React from \"react\";\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport { cn } from \"../../lib/utils\";\nimport { buttonVariants } from \"./button\";\n\n/**\n * A modal that interrupts to confirm something consequential: delete, revoke,\n * overwrite.\n *\n * Not a variant of `Dialog`, and not a styling choice. Radix enforces three\n * differences, all verified rather than assumed:\n *\n * - `role=\"alertdialog\"`, so it is announced as one\n * - clicking outside does not dismiss it, so a confirmation cannot be lost by\n * missing the button\n * - focus starts on Cancel, not on the action, so a reflexive Enter cancels\n * rather than deletes\n *\n * Escape *does* close it. That is deliberate on Radix's part and correct: a\n * modal a keyboard user cannot leave is a trap, and the APG asks every dialog to\n * be dismissible that way. Cancelling is the safe outcome here, so nothing is\n * lost by it.\n *\n * Reach for `Dialog` when the user opened it on purpose and can walk away, and\n * for this when the app is asking a question it needs answered.\n */\n\nconst AlertDialog = AlertDialogPrimitive.Root;\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n ref={ref}\n className={cn(\n \"fixed inset-0 z-50 bg-neutral-950/50 data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className,\n )}\n {...props}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-1/2 top-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 \" +\n \"rounded-xl border border-border bg-background p-6 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 className,\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nfunction AlertDialogHeader({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return <div className={cn(\"flex flex-col gap-2\", className)} {...props} />;\n}\nAlertDialogHeader.displayName = \"AlertDialogHeader\";\n\nfunction AlertDialogFooter({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn(\n \"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\",\n className,\n )}\n {...props}\n />\n );\n}\nAlertDialogFooter.displayName = \"AlertDialogFooter\";\n\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold text-foreground\", className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName =\n AlertDialogPrimitive.Description.displayName;\n\nexport interface AlertDialogActionProps extends React.ComponentPropsWithoutRef<\n typeof AlertDialogPrimitive.Action\n> {\n /**\n * Most alert dialogs confirm something destructive, so this defaults to the\n * destructive button rather than leaving every call site to remember.\n */\n variant?: \"default\" | \"destructive\";\n}\n\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n AlertDialogActionProps\n>(({ className, variant = \"destructive\", ...props }, ref) => (\n <AlertDialogPrimitive.Action\n ref={ref}\n className={cn(buttonVariants({ variant }), className)}\n {...props}\n />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: \"outline\" }), className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogTrigger,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n};\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {a}from'./chunk-AC2JBXHQ.js';import*as e from'react';import*as p from'@radix-ui/react-toggle';import*as o from'@radix-ui/react-toggle-group';import {cva}from'class-variance-authority';var l=cva("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-muted data-[state=on]:text-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-border bg-transparent hover:bg-muted data-[state=on]:border-primary"},size:{sm:"h-8 min-w-8 px-2",default:"h-9 min-w-9 px-2.5",lg:"h-10 min-w-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),u=e.forwardRef(({className:t,variant:r,size:i,...a$1},g)=>e.createElement(p.Root,{ref:g,className:a(l({variant:r,size:i}),t),...a$1}));u.displayName=p.Root.displayName;var m=e.createContext({size:"default",variant:"default"}),d=e.forwardRef(({className:t,variant:r,size:i,children:a$1,...g},n)=>e.createElement(o.Root,{ref:n,className:a("flex items-center gap-1",t),...g},e.createElement(m.Provider,{value:{variant:r,size:i}},a$1)));d.displayName=o.Root.displayName;var c=e.forwardRef(({className:t,variant:r,size:i,...a$1},g)=>{let n=e.useContext(m);return e.createElement(o.Item,{ref:g,className:a(l({variant:r??n.variant,size:i??n.size}),t),...a$1})});c.displayName=o.Item.displayName;export{l as a,u as b,d as c,c as d};//# sourceMappingURL=chunk-EZGTC7L3.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-EZGTC7L3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/toggle.tsx"],"names":["toggleVariants","cva","Toggle","className","variant","size","props","ref","cn","ToggleGroupContext","ToggleGroup","children","ToggleGroupItem","group"],"mappings":"+LAcA,IAAMA,EAAiBC,GAAAA,CACrB,wXAAA,CAKA,CACE,QAAA,CAAU,CACR,QAAS,CACP,OAAA,CAAS,iBACT,OAAA,CACE,mFACJ,EACA,IAAA,CAAM,CACJ,GAAI,kBAAA,CACJ,OAAA,CAAS,qBACT,EAAA,CAAI,oBACN,CACF,CAAA,CACA,eAAA,CAAiB,CACf,OAAA,CAAS,SAAA,CACT,KAAM,SACR,CACF,CACF,CAAA,CAOMC,CAAAA,CAAe,aAGnB,CAAC,CAAE,UAAAC,CAAAA,CAAW,OAAA,CAAAC,EAAS,IAAA,CAAAC,CAAAA,CAAM,GAAGC,GAAM,CAAA,CAAGC,IACzC,CAAA,CAAA,aAAA,CAAiB,CAAA,CAAA,IAAA,CAAhB,CACC,GAAA,CAAKA,CAAAA,CACL,UAAWC,CAAAA,CAAGR,CAAAA,CAAe,CAAE,OAAA,CAAAI,CAAAA,CAAS,KAAAC,CAAK,CAAC,EAAGF,CAAS,CAAA,CACzD,GAAGG,GAAAA,CACN,CACD,EACDJ,CAAAA,CAAO,WAAA,CAA8B,OAAK,WAAA,CAO1C,IAAMO,EAA2B,CAAA,CAAA,aAAA,CAE/B,CAAE,KAAM,SAAA,CAAW,OAAA,CAAS,SAAU,CAAC,CAAA,CAanCC,CAAAA,CAAoB,aAGxB,CAAC,CAAE,UAAAP,CAAAA,CAAW,OAAA,CAAAC,EAAS,IAAA,CAAAC,CAAAA,CAAM,SAAAM,GAAAA,CAAU,GAAGL,CAAM,CAAA,CAAGC,CAAAA,GACnD,gBAAsB,CAAA,CAAA,IAAA,CAArB,CACC,IAAKA,CAAAA,CACL,SAAA,CAAWC,EAAG,yBAAA,CAA2BL,CAAS,EACjD,GAAGG,CAAAA,CAAAA,CAEJ,gBAACG,CAAAA,CAAmB,QAAA,CAAnB,CAA4B,KAAA,CAAO,CAAE,QAAAL,CAAAA,CAAS,IAAA,CAAAC,CAAK,CAAA,CAAA,CACjDM,GACH,CACF,CACD,EACDD,EAAY,WAAA,CAAmC,CAAA,CAAA,IAAA,CAAK,WAAA,CAOpD,IAAME,CAAAA,CAAwB,CAAA,CAAA,UAAA,CAG5B,CAAC,CAAE,SAAA,CAAAT,EAAW,OAAA,CAAAC,CAAAA,CAAS,KAAAC,CAAAA,CAAM,GAAGC,GAAM,CAAA,CAAGC,CAAAA,GAAQ,CACjD,IAAMM,CAAAA,CAAc,aAAWJ,CAAkB,CAAA,CACjD,OACE,CAAA,CAAA,aAAA,CAAsB,CAAA,CAAA,IAAA,CAArB,CACC,GAAA,CAAKF,CAAAA,CACL,UAAWC,CAAAA,CACTR,CAAAA,CAAe,CACb,OAAA,CAASI,CAAAA,EAAWS,EAAM,OAAA,CAC1B,IAAA,CAAMR,GAAQQ,CAAAA,CAAM,IACtB,CAAC,CAAA,CACDV,CACF,EACC,GAAGG,GAAAA,CACN,CAEJ,CAAC,EACDM,CAAAA,CAAgB,WAAA,CAAmC,CAAA,CAAA,IAAA,CAAK,WAAA","file":"chunk-EZGTC7L3.js","sourcesContent":["import * as React from \"react\";\nimport * as TogglePrimitive from \"@radix-ui/react-toggle\";\nimport * as ToggleGroupPrimitive from \"@radix-ui/react-toggle-group\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A button that stays pressed: bold in a toolbar, a filter chip, a view mode.\n *\n * Distinct from `Switch`, which is a form control with an on and an off state\n * and belongs next to a label. A toggle is a button, announces itself as one\n * with `aria-pressed`, and lives in a toolbar rather than a form.\n */\n\nconst toggleVariants = cva(\n \"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors \" +\n \"hover:bg-muted hover:text-foreground \" +\n \"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background \" +\n \"disabled:pointer-events-none disabled:opacity-50 \" +\n \"data-[state=on]:bg-muted data-[state=on]:text-foreground\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n outline:\n \"border border-border bg-transparent hover:bg-muted data-[state=on]:border-primary\",\n },\n size: {\n sm: \"h-8 min-w-8 px-2\",\n default: \"h-9 min-w-9 px-2.5\",\n lg: \"h-10 min-w-10 px-3\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nexport interface ToggleProps\n extends\n React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>,\n VariantProps<typeof toggleVariants> {}\n\nconst Toggle = React.forwardRef<\n React.ElementRef<typeof TogglePrimitive.Root>,\n ToggleProps\n>(({ className, variant, size, ...props }, ref) => (\n <TogglePrimitive.Root\n ref={ref}\n className={cn(toggleVariants({ variant, size }), className)}\n {...props}\n />\n));\nToggle.displayName = TogglePrimitive.Root.displayName;\n\n/**\n * The group passes its variant and size down through context rather than\n * through cloned children, so an item can still override either one and a\n * consumer can wrap items in their own markup without the styling falling off.\n */\nconst ToggleGroupContext = React.createContext<\n VariantProps<typeof toggleVariants>\n>({ size: \"default\", variant: \"default\" });\n\n/**\n * A type intersection, not `interface extends`. Radix's Root props are a\n * discriminated union of the single-select and multi-select shapes, and\n * extending it collapses the union: `children` disappears and neither `type`\n * variant is assignable. Intersecting distributes over the union and keeps both.\n */\nexport type ToggleGroupProps = React.ComponentPropsWithoutRef<\n typeof ToggleGroupPrimitive.Root\n> &\n VariantProps<typeof toggleVariants>;\n\nconst ToggleGroup = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Root>,\n ToggleGroupProps\n>(({ className, variant, size, children, ...props }, ref) => (\n <ToggleGroupPrimitive.Root\n ref={ref}\n className={cn(\"flex items-center gap-1\", className)}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n));\nToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;\n\nexport interface ToggleGroupItemProps\n extends\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>,\n VariantProps<typeof toggleVariants> {}\n\nconst ToggleGroupItem = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Item>,\n ToggleGroupItemProps\n>(({ className, variant, size, ...props }, ref) => {\n const group = React.useContext(ToggleGroupContext);\n return (\n <ToggleGroupPrimitive.Item\n ref={ref}\n className={cn(\n toggleVariants({\n variant: variant ?? group.variant,\n size: size ?? group.size,\n }),\n className,\n )}\n {...props}\n />\n );\n});\nToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;\n\nexport { Toggle, ToggleGroup, ToggleGroupItem, toggleVariants };\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunk5PVFLXPO_cjs=require('./chunk-5PVFLXPO.cjs'),chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),t=require('react'),e=require('@radix-ui/react-alert-dialog');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 P=e__namespace.Root,y=e__namespace.Trigger,s=e__namespace.Portal,n=t__namespace.forwardRef(({className:i,...a},o)=>t__namespace.createElement(e__namespace.Overlay,{ref:o,className:chunkITRGJNWL_cjs.a("fixed inset-0 z-50 bg-neutral-950/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",i),...a}));n.displayName=e__namespace.Overlay.displayName;var c=t__namespace.forwardRef(({className:i,...a},o)=>t__namespace.createElement(s,null,t__namespace.createElement(n,null),t__namespace.createElement(e__namespace.Content,{ref:o,className:chunkITRGJNWL_cjs.a("fixed left-1/2 top-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 rounded-xl border border-border bg-background p-6 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",i),...a})));c.displayName=e__namespace.Content.displayName;function f({className:i,...a}){return t__namespace.createElement("div",{className:chunkITRGJNWL_cjs.a("flex flex-col gap-2",i),...a})}f.displayName="AlertDialogHeader";function d({className:i,...a}){return t__namespace.createElement("div",{className:chunkITRGJNWL_cjs.a("mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",i),...a})}d.displayName="AlertDialogFooter";var p=t__namespace.forwardRef(({className:i,...a},o)=>t__namespace.createElement(e__namespace.Title,{ref:o,className:chunkITRGJNWL_cjs.a("text-lg font-semibold text-foreground",i),...a}));p.displayName=e__namespace.Title.displayName;var g=t__namespace.forwardRef(({className:i,...a},o)=>t__namespace.createElement(e__namespace.Description,{ref:o,className:chunkITRGJNWL_cjs.a("text-sm text-muted-foreground",i),...a}));g.displayName=e__namespace.Description.displayName;var A=t__namespace.forwardRef(({className:i,variant:a="destructive",...o},m)=>t__namespace.createElement(e__namespace.Action,{ref:m,className:chunkITRGJNWL_cjs.a(chunk5PVFLXPO_cjs.a({variant:a}),i),...o}));A.displayName=e__namespace.Action.displayName;var D=t__namespace.forwardRef(({className:i,...a},o)=>t__namespace.createElement(e__namespace.Cancel,{ref:o,className:chunkITRGJNWL_cjs.a(chunk5PVFLXPO_cjs.a({variant:"outline"}),i),...a}));D.displayName=e__namespace.Cancel.displayName;exports.a=P;exports.b=y;exports.c=s;exports.d=n;exports.e=c;exports.f=f;exports.g=d;exports.h=p;exports.i=g;exports.j=A;exports.k=D;//# sourceMappingURL=chunk-PZLBMQGI.cjs.map
|
|
3
|
+
//# sourceMappingURL=chunk-PZLBMQGI.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/alert-dialog.tsx"],"names":["AlertDialog","e","AlertDialogTrigger","AlertDialogPortal","AlertDialogOverlay","t","className","props","ref","cn","AlertDialogContent","AlertDialogHeader","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","variant","buttonVariants","AlertDialogCancel"],"mappings":"2kBA2BA,IAAMA,CAAAA,CAAmCC,YAAA,CAAA,IAAA,CACnCC,CAAAA,CAA0CD,YAAA,CAAA,OAAA,CAC1CE,CAAAA,CAAyCF,YAAA,CAAA,MAAA,CAEzCG,CAAAA,CAA2BC,YAAA,CAAA,UAAA,CAG/B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,GAC1BH,YAAA,CAAA,aAAA,CAAsBJ,YAAA,CAAA,OAAA,CAArB,CACC,GAAA,CAAKO,CAAAA,CACL,SAAA,CAAWC,mBAAAA,CACT,8JAAA,CAEAH,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CACD,EACDH,CAAAA,CAAmB,WAAA,CAAmCH,YAAA,CAAA,OAAA,CAAQ,WAAA,CAE9D,IAAMS,CAAAA,CAA2BL,YAAA,CAAA,UAAA,CAG/B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,GAC1BH,YAAA,CAAA,aAAA,CAACF,CAAAA,CAAA,IAAA,CACCE,YAAA,CAAA,aAAA,CAACD,CAAAA,CAAA,IAAmB,CAAA,CACpBC,YAAA,CAAA,aAAA,CAAsBJ,YAAA,CAAA,OAAA,CAArB,CACC,GAAA,CAAKO,CAAAA,CACL,SAAA,CAAWC,mBAAAA,CACT,gUAAA,CAKAH,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CACF,CACD,EACDG,CAAAA,CAAmB,WAAA,CAAmCT,YAAA,CAAA,OAAA,CAAQ,WAAA,CAE9D,SAASU,CAAAA,CAAkB,CACzB,SAAA,CAAAL,CAAAA,CACA,GAAGC,CACL,CAAA,CAAyC,CACvC,OAAOF,YAAA,CAAA,aAAA,CAAC,KAAA,CAAA,CAAI,SAAA,CAAWI,mBAAAA,CAAG,qBAAA,CAAuBH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAC1E,CACAI,CAAAA,CAAkB,WAAA,CAAc,mBAAA,CAEhC,SAASC,CAAAA,CAAkB,CACzB,SAAA,CAAAN,CAAAA,CACA,GAAGC,CACL,CAAA,CAAyC,CACvC,OACEF,YAAA,CAAA,aAAA,CAAC,KAAA,CAAA,CACC,SAAA,CAAWI,mBAAAA,CACT,6DAAA,CACAH,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAEJ,CACAK,CAAAA,CAAkB,WAAA,CAAc,mBAAA,CAEhC,IAAMC,CAAAA,CAAyBR,YAAA,CAAA,UAAA,CAG7B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,GAC1BH,YAAA,CAAA,aAAA,CAAsBJ,YAAA,CAAA,KAAA,CAArB,CACC,GAAA,CAAKO,CAAAA,CACL,SAAA,CAAWC,mBAAAA,CAAG,uCAAA,CAAyCH,CAAS,CAAA,CAC/D,GAAGC,CAAAA,CACN,CACD,EACDM,CAAAA,CAAiB,WAAA,CAAmCZ,YAAA,CAAA,KAAA,CAAM,WAAA,CAE1D,IAAMa,CAAAA,CAA+BT,YAAA,CAAA,UAAA,CAGnC,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,GAC1BH,YAAA,CAAA,aAAA,CAAsBJ,YAAA,CAAA,WAAA,CAArB,CACC,GAAA,CAAKO,CAAAA,CACL,SAAA,CAAWC,mBAAAA,CAAG,+BAAA,CAAiCH,CAAS,CAAA,CACvD,GAAGC,CAAAA,CACN,CACD,EACDO,CAAAA,CAAuB,WAAA,CACAb,YAAA,CAAA,WAAA,CAAY,WAAA,CAYnC,IAAMc,CAAAA,CAA0BV,YAAA,CAAA,UAAA,CAG9B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,OAAA,CAAAU,CAAAA,CAAU,aAAA,CAAe,GAAGT,CAAM,CAAA,CAAGC,CAAAA,GACnDH,YAAA,CAAA,aAAA,CAAsBJ,YAAA,CAAA,MAAA,CAArB,CACC,GAAA,CAAKO,CAAAA,CACL,SAAA,CAAWC,mBAAAA,CAAGQ,mBAAAA,CAAe,CAAE,OAAA,CAAAD,CAAQ,CAAC,CAAA,CAAGV,CAAS,CAAA,CACnD,GAAGC,CAAAA,CACN,CACD,EACDQ,CAAAA,CAAkB,WAAA,CAAmCd,YAAA,CAAA,MAAA,CAAO,WAAA,CAE5D,IAAMiB,CAAAA,CAA0Bb,YAAA,CAAA,UAAA,CAG9B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,GAC1BH,YAAA,CAAA,aAAA,CAAsBJ,YAAA,CAAA,MAAA,CAArB,CACC,GAAA,CAAKO,CAAAA,CACL,SAAA,CAAWC,mBAAAA,CAAGQ,mBAAAA,CAAe,CAAE,OAAA,CAAS,SAAU,CAAC,CAAA,CAAGX,CAAS,CAAA,CAC9D,GAAGC,CAAAA,CACN,CACD,EACDW,CAAAA,CAAkB,WAAA,CAAmCjB,YAAA,CAAA,MAAA,CAAO,WAAA","file":"chunk-PZLBMQGI.cjs","sourcesContent":["import * as React from \"react\";\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport { cn } from \"../../lib/utils\";\nimport { buttonVariants } from \"./button\";\n\n/**\n * A modal that interrupts to confirm something consequential: delete, revoke,\n * overwrite.\n *\n * Not a variant of `Dialog`, and not a styling choice. Radix enforces three\n * differences, all verified rather than assumed:\n *\n * - `role=\"alertdialog\"`, so it is announced as one\n * - clicking outside does not dismiss it, so a confirmation cannot be lost by\n * missing the button\n * - focus starts on Cancel, not on the action, so a reflexive Enter cancels\n * rather than deletes\n *\n * Escape *does* close it. That is deliberate on Radix's part and correct: a\n * modal a keyboard user cannot leave is a trap, and the APG asks every dialog to\n * be dismissible that way. Cancelling is the safe outcome here, so nothing is\n * lost by it.\n *\n * Reach for `Dialog` when the user opened it on purpose and can walk away, and\n * for this when the app is asking a question it needs answered.\n */\n\nconst AlertDialog = AlertDialogPrimitive.Root;\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n ref={ref}\n className={cn(\n \"fixed inset-0 z-50 bg-neutral-950/50 data-[state=open]:animate-in data-[state=closed]:animate-out \" +\n \"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className,\n )}\n {...props}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-1/2 top-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 \" +\n \"rounded-xl border border-border bg-background p-6 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 className,\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nfunction AlertDialogHeader({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return <div className={cn(\"flex flex-col gap-2\", className)} {...props} />;\n}\nAlertDialogHeader.displayName = \"AlertDialogHeader\";\n\nfunction AlertDialogFooter({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn(\n \"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\",\n className,\n )}\n {...props}\n />\n );\n}\nAlertDialogFooter.displayName = \"AlertDialogFooter\";\n\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold text-foreground\", className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName =\n AlertDialogPrimitive.Description.displayName;\n\nexport interface AlertDialogActionProps extends React.ComponentPropsWithoutRef<\n typeof AlertDialogPrimitive.Action\n> {\n /**\n * Most alert dialogs confirm something destructive, so this defaults to the\n * destructive button rather than leaving every call site to remember.\n */\n variant?: \"default\" | \"destructive\";\n}\n\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n AlertDialogActionProps\n>(({ className, variant = \"destructive\", ...props }, ref) => (\n <AlertDialogPrimitive.Action\n ref={ref}\n className={cn(buttonVariants({ variant }), className)}\n {...props}\n />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: \"outline\" }), className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogTrigger,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n};\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),e=require('react');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 l=e__namespace.forwardRef(({ratio:i=1,className:a,style:o,children:r,...s},c)=>e__namespace.createElement("div",{ref:c,className:chunkITRGJNWL_cjs.a("relative w-full overflow-hidden",a),style:{aspectRatio:String(i),...o},...s},r));l.displayName="AspectRatio";exports.a=l;//# sourceMappingURL=chunk-R4L5BZYI.cjs.map
|
|
3
|
+
//# sourceMappingURL=chunk-R4L5BZYI.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/aspect-ratio.tsx"],"names":["AspectRatio","e","ratio","className","style","children","props","ref","cn"],"mappings":"4bAwBA,IAAMA,CAAAA,CAAoBC,wBACxB,CAAC,CAAE,MAAAC,CAAAA,CAAQ,CAAA,CAAG,UAAAC,CAAAA,CAAW,KAAA,CAAAC,EAAO,QAAA,CAAAC,CAAAA,CAAU,GAAGC,CAAM,CAAA,CAAGC,IACpDN,YAAA,CAAA,aAAA,CAAC,KAAA,CAAA,CACC,IAAKM,CAAAA,CAIL,SAAA,CAAWC,oBAAG,iCAAA,CAAmCL,CAAS,EAC1D,KAAA,CAAO,CAAE,YAAa,MAAA,CAAOD,CAAK,EAAG,GAAGE,CAAM,EAC7C,GAAGE,CAAAA,CAAAA,CAEHD,CACH,CAEJ,EACAL,EAAY,WAAA,CAAc,aAAA","file":"chunk-R4L5BZYI.cjs","sourcesContent":["import * as React from \"react\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * Holds a box at a fixed ratio while its width is free: video embeds, image\n * grids, map panes.\n *\n * Written here rather than pulled from `@radix-ui/react-aspect-ratio`. That\n * package exists for the padding-bottom trick browsers needed before the CSS\n * `aspect-ratio` property, and every browser this library supports has had it\n * for years. Gallery already relies on it through Tailwind's `aspect-[3/4]`. A\n * dependency to set one CSS property would be a dependency to maintain, audit\n * and ship for nothing.\n */\n\nexport interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * Width divided by height. `16 / 9` for video, `1` for a square, `4 / 3` for\n * a photo. Written as a division rather than a string so the intent survives\n * in the source.\n */\n ratio?: number;\n}\n\nconst AspectRatio = React.forwardRef<HTMLDivElement, AspectRatioProps>(\n ({ ratio = 1, className, style, children, ...props }, ref) => (\n <div\n ref={ref}\n // `overflow-hidden` so an oversized child is cropped to the box rather\n // than spilling out of it, which is what a caller means by giving it a\n // ratio in the first place.\n className={cn(\"relative w-full overflow-hidden\", className)}\n style={{ aspectRatio: String(ratio), ...style }}\n {...props}\n >\n {children}\n </div>\n ),\n);\nAspectRatio.displayName = \"AspectRatio\";\n\nexport { AspectRatio };\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs'),e=require('react'),p=require('@radix-ui/react-toggle'),o=require('@radix-ui/react-toggle-group'),classVarianceAuthority=require('class-variance-authority');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 p__namespace=/*#__PURE__*/_interopNamespace(p);var o__namespace=/*#__PURE__*/_interopNamespace(o);var l=classVarianceAuthority.cva("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-muted data-[state=on]:text-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-border bg-transparent hover:bg-muted data-[state=on]:border-primary"},size:{sm:"h-8 min-w-8 px-2",default:"h-9 min-w-9 px-2.5",lg:"h-10 min-w-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),u=e__namespace.forwardRef(({className:t,variant:r,size:i,...a},g)=>e__namespace.createElement(p__namespace.Root,{ref:g,className:chunkITRGJNWL_cjs.a(l({variant:r,size:i}),t),...a}));u.displayName=p__namespace.Root.displayName;var m=e__namespace.createContext({size:"default",variant:"default"}),d=e__namespace.forwardRef(({className:t,variant:r,size:i,children:a,...g},n)=>e__namespace.createElement(o__namespace.Root,{ref:n,className:chunkITRGJNWL_cjs.a("flex items-center gap-1",t),...g},e__namespace.createElement(m.Provider,{value:{variant:r,size:i}},a)));d.displayName=o__namespace.Root.displayName;var c=e__namespace.forwardRef(({className:t,variant:r,size:i,...a},g)=>{let n=e__namespace.useContext(m);return e__namespace.createElement(o__namespace.Item,{ref:g,className:chunkITRGJNWL_cjs.a(l({variant:r??n.variant,size:i??n.size}),t),...a})});c.displayName=o__namespace.Item.displayName;exports.a=l;exports.b=u;exports.c=d;exports.d=c;//# sourceMappingURL=chunk-SZ34F6OZ.cjs.map
|
|
3
|
+
//# sourceMappingURL=chunk-SZ34F6OZ.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/toggle.tsx"],"names":["toggleVariants","cva","Toggle","e","className","variant","size","props","ref","p","cn","ToggleGroupContext","ToggleGroup","children","o","ToggleGroupItem","group"],"mappings":"2qBAcA,IAAMA,EAAiBC,0BAAAA,CACrB,wXAAA,CAKA,CACE,QAAA,CAAU,CACR,QAAS,CACP,OAAA,CAAS,iBACT,OAAA,CACE,mFACJ,EACA,IAAA,CAAM,CACJ,GAAI,kBAAA,CACJ,OAAA,CAAS,qBACT,EAAA,CAAI,oBACN,CACF,CAAA,CACA,eAAA,CAAiB,CACf,OAAA,CAAS,SAAA,CACT,KAAM,SACR,CACF,CACF,CAAA,CAOMC,CAAAA,CAAeC,wBAGnB,CAAC,CAAE,UAAAC,CAAAA,CAAW,OAAA,CAAAC,EAAS,IAAA,CAAAC,CAAAA,CAAM,GAAGC,CAAM,CAAA,CAAGC,IACzCL,YAAA,CAAA,aAAA,CAAiBM,YAAA,CAAA,IAAA,CAAhB,CACC,GAAA,CAAKD,CAAAA,CACL,UAAWE,mBAAAA,CAAGV,CAAAA,CAAe,CAAE,OAAA,CAAAK,CAAAA,CAAS,KAAAC,CAAK,CAAC,EAAGF,CAAS,CAAA,CACzD,GAAGG,CAAAA,CACN,CACD,EACDL,CAAAA,CAAO,WAAA,CAA8BO,kBAAK,WAAA,CAO1C,IAAME,EAA2BR,YAAA,CAAA,aAAA,CAE/B,CAAE,KAAM,SAAA,CAAW,OAAA,CAAS,SAAU,CAAC,CAAA,CAanCS,CAAAA,CAAoBT,wBAGxB,CAAC,CAAE,UAAAC,CAAAA,CAAW,OAAA,CAAAC,EAAS,IAAA,CAAAC,CAAAA,CAAM,SAAAO,CAAAA,CAAU,GAAGN,CAAM,CAAA,CAAGC,CAAAA,GACnDL,2BAAsBW,YAAA,CAAA,IAAA,CAArB,CACC,IAAKN,CAAAA,CACL,SAAA,CAAWE,oBAAG,yBAAA,CAA2BN,CAAS,EACjD,GAAGG,CAAAA,CAAAA,CAEJJ,2BAACQ,CAAAA,CAAmB,QAAA,CAAnB,CAA4B,KAAA,CAAO,CAAE,QAAAN,CAAAA,CAAS,IAAA,CAAAC,CAAK,CAAA,CAAA,CACjDO,CACH,CACF,CACD,EACDD,EAAY,WAAA,CAAmCE,YAAA,CAAA,IAAA,CAAK,WAAA,CAOpD,IAAMC,CAAAA,CAAwBZ,YAAA,CAAA,UAAA,CAG5B,CAAC,CAAE,SAAA,CAAAC,EAAW,OAAA,CAAAC,CAAAA,CAAS,KAAAC,CAAAA,CAAM,GAAGC,CAAM,CAAA,CAAGC,CAAAA,GAAQ,CACjD,IAAMQ,CAAAA,CAAcb,wBAAWQ,CAAkB,CAAA,CACjD,OACER,YAAA,CAAA,aAAA,CAAsBW,YAAA,CAAA,IAAA,CAArB,CACC,GAAA,CAAKN,CAAAA,CACL,UAAWE,mBAAAA,CACTV,CAAAA,CAAe,CACb,OAAA,CAASK,CAAAA,EAAWW,EAAM,OAAA,CAC1B,IAAA,CAAMV,GAAQU,CAAAA,CAAM,IACtB,CAAC,CAAA,CACDZ,CACF,EACC,GAAGG,CAAAA,CACN,CAEJ,CAAC,EACDQ,CAAAA,CAAgB,WAAA,CAAmCD,YAAA,CAAA,IAAA,CAAK,WAAA","file":"chunk-SZ34F6OZ.cjs","sourcesContent":["import * as React from \"react\";\nimport * as TogglePrimitive from \"@radix-ui/react-toggle\";\nimport * as ToggleGroupPrimitive from \"@radix-ui/react-toggle-group\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * A button that stays pressed: bold in a toolbar, a filter chip, a view mode.\n *\n * Distinct from `Switch`, which is a form control with an on and an off state\n * and belongs next to a label. A toggle is a button, announces itself as one\n * with `aria-pressed`, and lives in a toolbar rather than a form.\n */\n\nconst toggleVariants = cva(\n \"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors \" +\n \"hover:bg-muted hover:text-foreground \" +\n \"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background \" +\n \"disabled:pointer-events-none disabled:opacity-50 \" +\n \"data-[state=on]:bg-muted data-[state=on]:text-foreground\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n outline:\n \"border border-border bg-transparent hover:bg-muted data-[state=on]:border-primary\",\n },\n size: {\n sm: \"h-8 min-w-8 px-2\",\n default: \"h-9 min-w-9 px-2.5\",\n lg: \"h-10 min-w-10 px-3\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nexport interface ToggleProps\n extends\n React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>,\n VariantProps<typeof toggleVariants> {}\n\nconst Toggle = React.forwardRef<\n React.ElementRef<typeof TogglePrimitive.Root>,\n ToggleProps\n>(({ className, variant, size, ...props }, ref) => (\n <TogglePrimitive.Root\n ref={ref}\n className={cn(toggleVariants({ variant, size }), className)}\n {...props}\n />\n));\nToggle.displayName = TogglePrimitive.Root.displayName;\n\n/**\n * The group passes its variant and size down through context rather than\n * through cloned children, so an item can still override either one and a\n * consumer can wrap items in their own markup without the styling falling off.\n */\nconst ToggleGroupContext = React.createContext<\n VariantProps<typeof toggleVariants>\n>({ size: \"default\", variant: \"default\" });\n\n/**\n * A type intersection, not `interface extends`. Radix's Root props are a\n * discriminated union of the single-select and multi-select shapes, and\n * extending it collapses the union: `children` disappears and neither `type`\n * variant is assignable. Intersecting distributes over the union and keeps both.\n */\nexport type ToggleGroupProps = React.ComponentPropsWithoutRef<\n typeof ToggleGroupPrimitive.Root\n> &\n VariantProps<typeof toggleVariants>;\n\nconst ToggleGroup = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Root>,\n ToggleGroupProps\n>(({ className, variant, size, children, ...props }, ref) => (\n <ToggleGroupPrimitive.Root\n ref={ref}\n className={cn(\"flex items-center gap-1\", className)}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n));\nToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;\n\nexport interface ToggleGroupItemProps\n extends\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>,\n VariantProps<typeof toggleVariants> {}\n\nconst ToggleGroupItem = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Item>,\n ToggleGroupItemProps\n>(({ className, variant, size, ...props }, ref) => {\n const group = React.useContext(ToggleGroupContext);\n return (\n <ToggleGroupPrimitive.Item\n ref={ref}\n className={cn(\n toggleVariants({\n variant: variant ?? group.variant,\n size: size ?? group.size,\n }),\n className,\n )}\n {...props}\n />\n );\n});\nToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;\n\nexport { Toggle, ToggleGroup, ToggleGroupItem, toggleVariants };\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {a}from'./chunk-AC2JBXHQ.js';import*as e from'react';var l=e.forwardRef(({ratio:i=1,className:a$1,style:o,children:r,...s},c)=>e.createElement("div",{ref:c,className:a("relative w-full overflow-hidden",a$1),style:{aspectRatio:String(i),...o},...s},r));l.displayName="AspectRatio";export{l as a};//# sourceMappingURL=chunk-YCVOS3MT.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-YCVOS3MT.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/core/aspect-ratio.tsx"],"names":["AspectRatio","ratio","className","style","children","props","ref","cn"],"mappings":"4DAwBA,IAAMA,CAAAA,CAAoB,aACxB,CAAC,CAAE,MAAAC,CAAAA,CAAQ,CAAA,CAAG,UAAAC,GAAAA,CAAW,KAAA,CAAAC,EAAO,QAAA,CAAAC,CAAAA,CAAU,GAAGC,CAAM,CAAA,CAAGC,IACpD,CAAA,CAAA,aAAA,CAAC,KAAA,CAAA,CACC,IAAKA,CAAAA,CAIL,SAAA,CAAWC,EAAG,iCAAA,CAAmCL,GAAS,EAC1D,KAAA,CAAO,CAAE,YAAa,MAAA,CAAOD,CAAK,EAAG,GAAGE,CAAM,EAC7C,GAAGE,CAAAA,CAAAA,CAEHD,CACH,CAEJ,EACAJ,EAAY,WAAA,CAAc,aAAA","file":"chunk-YCVOS3MT.js","sourcesContent":["import * as React from \"react\";\nimport { cn } from \"../../lib/utils\";\n\n/**\n * Holds a box at a fixed ratio while its width is free: video embeds, image\n * grids, map panes.\n *\n * Written here rather than pulled from `@radix-ui/react-aspect-ratio`. That\n * package exists for the padding-bottom trick browsers needed before the CSS\n * `aspect-ratio` property, and every browser this library supports has had it\n * for years. Gallery already relies on it through Tailwind's `aspect-[3/4]`. A\n * dependency to set one CSS property would be a dependency to maintain, audit\n * and ship for nothing.\n */\n\nexport interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * Width divided by height. `16 / 9` for video, `1` for a square, `4 / 3` for\n * a photo. Written as a division rather than a string so the intent survives\n * in the source.\n */\n ratio?: number;\n}\n\nconst AspectRatio = React.forwardRef<HTMLDivElement, AspectRatioProps>(\n ({ ratio = 1, className, style, children, ...props }, ref) => (\n <div\n ref={ref}\n // `overflow-hidden` so an oversized child is cropped to the box rather\n // than spilling out of it, which is what a caller means by giving it a\n // ratio in the first place.\n className={cn(\"relative w-full overflow-hidden\", className)}\n style={{ aspectRatio: String(ratio), ...style }}\n {...props}\n >\n {children}\n </div>\n ),\n);\nAspectRatio.displayName = \"AspectRatio\";\n\nexport { AspectRatio };\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkPZLBMQGI_cjs=require('../../chunk-PZLBMQGI.cjs');require('../../chunk-5PVFLXPO.cjs'),require('../../chunk-7SPPGTBT.cjs'),require('../../chunk-ITRGJNWL.cjs');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}});//# sourceMappingURL=alert-dialog.cjs.map
|
|
3
|
+
//# sourceMappingURL=alert-dialog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"alert-dialog.cjs"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A modal that interrupts to confirm something consequential: delete, revoke,
|
|
6
|
+
* overwrite.
|
|
7
|
+
*
|
|
8
|
+
* Not a variant of `Dialog`, and not a styling choice. Radix enforces three
|
|
9
|
+
* differences, all verified rather than assumed:
|
|
10
|
+
*
|
|
11
|
+
* - `role="alertdialog"`, so it is announced as one
|
|
12
|
+
* - clicking outside does not dismiss it, so a confirmation cannot be lost by
|
|
13
|
+
* missing the button
|
|
14
|
+
* - focus starts on Cancel, not on the action, so a reflexive Enter cancels
|
|
15
|
+
* rather than deletes
|
|
16
|
+
*
|
|
17
|
+
* Escape *does* close it. That is deliberate on Radix's part and correct: a
|
|
18
|
+
* modal a keyboard user cannot leave is a trap, and the APG asks every dialog to
|
|
19
|
+
* be dismissible that way. Cancelling is the safe outcome here, so nothing is
|
|
20
|
+
* lost by it.
|
|
21
|
+
*
|
|
22
|
+
* Reach for `Dialog` when the user opened it on purpose and can walk away, and
|
|
23
|
+
* for this when the app is asking a question it needs answered.
|
|
24
|
+
*/
|
|
25
|
+
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
26
|
+
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
27
|
+
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
28
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
declare function AlertDialogHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
31
|
+
declare namespace AlertDialogHeader {
|
|
32
|
+
var displayName: string;
|
|
33
|
+
}
|
|
34
|
+
declare function AlertDialogFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
35
|
+
declare namespace AlertDialogFooter {
|
|
36
|
+
var displayName: string;
|
|
37
|
+
}
|
|
38
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
39
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
40
|
+
interface AlertDialogActionProps extends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action> {
|
|
41
|
+
/**
|
|
42
|
+
* Most alert dialogs confirm something destructive, so this defaults to the
|
|
43
|
+
* destructive button rather than leaving every call site to remember.
|
|
44
|
+
*/
|
|
45
|
+
variant?: "default" | "destructive";
|
|
46
|
+
}
|
|
47
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
48
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
49
|
+
|
|
50
|
+
export { AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A modal that interrupts to confirm something consequential: delete, revoke,
|
|
6
|
+
* overwrite.
|
|
7
|
+
*
|
|
8
|
+
* Not a variant of `Dialog`, and not a styling choice. Radix enforces three
|
|
9
|
+
* differences, all verified rather than assumed:
|
|
10
|
+
*
|
|
11
|
+
* - `role="alertdialog"`, so it is announced as one
|
|
12
|
+
* - clicking outside does not dismiss it, so a confirmation cannot be lost by
|
|
13
|
+
* missing the button
|
|
14
|
+
* - focus starts on Cancel, not on the action, so a reflexive Enter cancels
|
|
15
|
+
* rather than deletes
|
|
16
|
+
*
|
|
17
|
+
* Escape *does* close it. That is deliberate on Radix's part and correct: a
|
|
18
|
+
* modal a keyboard user cannot leave is a trap, and the APG asks every dialog to
|
|
19
|
+
* be dismissible that way. Cancelling is the safe outcome here, so nothing is
|
|
20
|
+
* lost by it.
|
|
21
|
+
*
|
|
22
|
+
* Reach for `Dialog` when the user opened it on purpose and can walk away, and
|
|
23
|
+
* for this when the app is asking a question it needs answered.
|
|
24
|
+
*/
|
|
25
|
+
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
26
|
+
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
27
|
+
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
28
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
declare function AlertDialogHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
31
|
+
declare namespace AlertDialogHeader {
|
|
32
|
+
var displayName: string;
|
|
33
|
+
}
|
|
34
|
+
declare function AlertDialogFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
35
|
+
declare namespace AlertDialogFooter {
|
|
36
|
+
var displayName: string;
|
|
37
|
+
}
|
|
38
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
39
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
40
|
+
interface AlertDialogActionProps extends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action> {
|
|
41
|
+
/**
|
|
42
|
+
* Most alert dialogs confirm something destructive, so this defaults to the
|
|
43
|
+
* destructive button rather than leaving every call site to remember.
|
|
44
|
+
*/
|
|
45
|
+
variant?: "default" | "destructive";
|
|
46
|
+
}
|
|
47
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
48
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
49
|
+
|
|
50
|
+
export { AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
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';import'../../chunk-AVTJE2O2.js';import'../../chunk-COXN6XBA.js';import'../../chunk-AC2JBXHQ.js';//# sourceMappingURL=alert-dialog.js.map
|
|
3
|
+
//# sourceMappingURL=alert-dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"alert-dialog.js"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkR4L5BZYI_cjs=require('../../chunk-R4L5BZYI.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"AspectRatio",{enumerable:true,get:function(){return chunkR4L5BZYI_cjs.a}});//# sourceMappingURL=aspect-ratio.cjs.map
|
|
3
|
+
//# sourceMappingURL=aspect-ratio.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"aspect-ratio.cjs"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Holds a box at a fixed ratio while its width is free: video embeds, image
|
|
5
|
+
* grids, map panes.
|
|
6
|
+
*
|
|
7
|
+
* Written here rather than pulled from `@radix-ui/react-aspect-ratio`. That
|
|
8
|
+
* package exists for the padding-bottom trick browsers needed before the CSS
|
|
9
|
+
* `aspect-ratio` property, and every browser this library supports has had it
|
|
10
|
+
* for years. Gallery already relies on it through Tailwind's `aspect-[3/4]`. A
|
|
11
|
+
* dependency to set one CSS property would be a dependency to maintain, audit
|
|
12
|
+
* and ship for nothing.
|
|
13
|
+
*/
|
|
14
|
+
interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
15
|
+
/**
|
|
16
|
+
* Width divided by height. `16 / 9` for video, `1` for a square, `4 / 3` for
|
|
17
|
+
* a photo. Written as a division rather than a string so the intent survives
|
|
18
|
+
* in the source.
|
|
19
|
+
*/
|
|
20
|
+
ratio?: number;
|
|
21
|
+
}
|
|
22
|
+
declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
|
|
24
|
+
export { AspectRatio, type AspectRatioProps };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Holds a box at a fixed ratio while its width is free: video embeds, image
|
|
5
|
+
* grids, map panes.
|
|
6
|
+
*
|
|
7
|
+
* Written here rather than pulled from `@radix-ui/react-aspect-ratio`. That
|
|
8
|
+
* package exists for the padding-bottom trick browsers needed before the CSS
|
|
9
|
+
* `aspect-ratio` property, and every browser this library supports has had it
|
|
10
|
+
* for years. Gallery already relies on it through Tailwind's `aspect-[3/4]`. A
|
|
11
|
+
* dependency to set one CSS property would be a dependency to maintain, audit
|
|
12
|
+
* and ship for nothing.
|
|
13
|
+
*/
|
|
14
|
+
interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
15
|
+
/**
|
|
16
|
+
* Width divided by height. `16 / 9` for video, `1` for a square, `4 / 3` for
|
|
17
|
+
* a photo. Written as a division rather than a string so the intent survives
|
|
18
|
+
* in the source.
|
|
19
|
+
*/
|
|
20
|
+
ratio?: number;
|
|
21
|
+
}
|
|
22
|
+
declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
|
|
24
|
+
export { AspectRatio, type AspectRatioProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"aspect-ratio.js"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunkSZ34F6OZ_cjs=require('../../chunk-SZ34F6OZ.cjs');require('../../chunk-ITRGJNWL.cjs');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}});//# sourceMappingURL=toggle.cjs.map
|
|
3
|
+
//# sourceMappingURL=toggle.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"toggle.cjs"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
4
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
5
|
+
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* A button that stays pressed: bold in a toolbar, a filter chip, a view mode.
|
|
9
|
+
*
|
|
10
|
+
* Distinct from `Switch`, which is a form control with an on and an off state
|
|
11
|
+
* and belongs next to a label. A toggle is a button, announces itself as one
|
|
12
|
+
* with `aria-pressed`, and lives in a toolbar rather than a form.
|
|
13
|
+
*/
|
|
14
|
+
declare const toggleVariants: (props?: ({
|
|
15
|
+
variant?: "default" | "outline" | null | undefined;
|
|
16
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
17
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
+
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
19
|
+
}
|
|
20
|
+
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
/**
|
|
22
|
+
* A type intersection, not `interface extends`. Radix's Root props are a
|
|
23
|
+
* discriminated union of the single-select and multi-select shapes, and
|
|
24
|
+
* extending it collapses the union: `children` disappears and neither `type`
|
|
25
|
+
* variant is assignable. Intersecting distributes over the union and keeps both.
|
|
26
|
+
*/
|
|
27
|
+
type ToggleGroupProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>;
|
|
28
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<ToggleGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
interface ToggleGroupItemProps extends React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>, VariantProps<typeof toggleVariants> {
|
|
30
|
+
}
|
|
31
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
32
|
+
|
|
33
|
+
export { Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, toggleVariants };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
4
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
5
|
+
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* A button that stays pressed: bold in a toolbar, a filter chip, a view mode.
|
|
9
|
+
*
|
|
10
|
+
* Distinct from `Switch`, which is a form control with an on and an off state
|
|
11
|
+
* and belongs next to a label. A toggle is a button, announces itself as one
|
|
12
|
+
* with `aria-pressed`, and lives in a toolbar rather than a form.
|
|
13
|
+
*/
|
|
14
|
+
declare const toggleVariants: (props?: ({
|
|
15
|
+
variant?: "default" | "outline" | null | undefined;
|
|
16
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
17
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
+
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
19
|
+
}
|
|
20
|
+
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
/**
|
|
22
|
+
* A type intersection, not `interface extends`. Radix's Root props are a
|
|
23
|
+
* discriminated union of the single-select and multi-select shapes, and
|
|
24
|
+
* extending it collapses the union: `children` disappears and neither `type`
|
|
25
|
+
* variant is assignable. Intersecting distributes over the union and keeps both.
|
|
26
|
+
*/
|
|
27
|
+
type ToggleGroupProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>;
|
|
28
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<ToggleGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
interface ToggleGroupItemProps extends React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>, VariantProps<typeof toggleVariants> {
|
|
30
|
+
}
|
|
31
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
32
|
+
|
|
33
|
+
export { Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, toggleVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"toggle.js"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
'use strict';var 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'),chunkEVRQYWZ3_cjs=require('./chunk-EVRQYWZ3.cjs'),chunkHWZTMVQV_cjs=require('./chunk-HWZTMVQV.cjs'),chunkV45EOCAD_cjs=require('./chunk-V45EOCAD.cjs'),chunk5Z3MYAVM_cjs=require('./chunk-5Z3MYAVM.cjs'),chunkZ7WEJ5IQ_cjs=require('./chunk-Z7WEJ5IQ.cjs'),chunkJ4VRJVTO_cjs=require('./chunk-J4VRJVTO.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'),chunkC7HZAQBX_cjs=require('./chunk-C7HZAQBX.cjs'),chunkMQUHAWJ2_cjs=require('./chunk-MQUHAWJ2.cjs'),chunkAYEM2M4H_cjs=require('./chunk-AYEM2M4H.cjs'),chunkVNDL67OG_cjs=require('./chunk-VNDL67OG.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'),chunkNC27D5Y3_cjs=require('./chunk-NC27D5Y3.cjs'),chunkFUENXWR7_cjs=require('./chunk-FUENXWR7.cjs'),chunkJCETHQ55_cjs=require('./chunk-JCETHQ55.cjs'),chunk5PVFLXPO_cjs=require('./chunk-5PVFLXPO.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'),chunkNPSIDFOF_cjs=require('./chunk-NPSIDFOF.cjs'),chunkEEGXD4HC_cjs=require('./chunk-EEGXD4HC.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'),chunkLXQT7FH6_cjs=require('./chunk-LXQT7FH6.cjs'),chunkIOX4WPJL_cjs=require('./chunk-IOX4WPJL.cjs'),chunkEFCNLYYW_cjs=require('./chunk-EFCNLYYW.cjs');require('./chunk-7SPPGTBT.cjs');var chunk35RWQSO2_cjs=require('./chunk-35RWQSO2.cjs'),chunkITRGJNWL_cjs=require('./chunk-ITRGJNWL.cjs');var Jt={nostromo:"nostromo",mother:"mother","lv-426":"lv-426",sulaco:"sulaco"};function Ft(o){typeof document<"u"&&document.documentElement.setAttribute("data-theme",o);}function Gt(){return typeof document>"u"?null:document.documentElement.getAttribute("data-theme")}function qt(){if(typeof document>"u")return;let r=document.documentElement.getAttribute("data-color-scheme")==="dark"?"light":"dark";document.documentElement.setAttribute("data-color-scheme",r);}function Ht(o){typeof document>"u"||document.documentElement.setAttribute("data-color-scheme",o?"dark":"light");}function Ut(){return typeof document>"u"?null:document.documentElement.getAttribute("data-color-scheme")}function Wt(){return typeof window>"u"?false:window.matchMedia("(prefers-color-scheme: dark)").matches}function Kt(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 _t(o="nostromo"){typeof document>"u"||(Gt()||Ft(o),Ut()||Ht(Wt()));}var pn={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,"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,"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,"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,"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,"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,"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,"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,"Icon",{enumerable:true,get:function(){return chunkNC27D5Y3_cjs.a}});Object.defineProperty(exports,"iconNames",{enumerable:true,get:function(){return chunkNC27D5Y3_cjs.b}});Object.defineProperty(exports,"Input",{enumerable:true,get:function(){return chunkFUENXWR7_cjs.b}});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,"Button",{enumerable:true,get:function(){return chunk5PVFLXPO_cjs.b}});Object.defineProperty(exports,"buttonVariants",{enumerable:true,get:function(){return chunk5PVFLXPO_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,"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,"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,"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,"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,"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,"cn",{enumerable:true,get:function(){return chunkITRGJNWL_cjs.a}});exports.applyTheme=Ft;exports.getColorScheme=Ut;exports.getCurrentTheme=Gt;exports.initializeTheme=_t;exports.onSystemColorSchemeChange=Kt;exports.prefersDarkMode=Wt;exports.setDarkMode=Ht;exports.themeInfo=pn;exports.themes=Jt;exports.toggleDarkMode=qt;//# sourceMappingURL=index.cjs.map
|
|
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
|
|
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":"q5EAIO,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,GAAA,CAAa,OAAO,IAAM,CAAC,CAAA,CAEjD,IAAMC,CAAAA,CAAa,MAAA,CAAO,UAAA,CAAW,8BAA8B,CAAA,CAE7DC,CAAAA,CAAW,CAAA,EAA2B,CAC1CF,CAAAA,CAAS,CAAA,CAAE,OAAO,EACpB,CAAA,CAEA,OAAAC,CAAAA,CAAW,gBAAA,CAAiB,QAAA,CAAUC,CAAO,CAAA,CAGtC,IAAM,CACXD,CAAAA,CAAW,mBAAA,CAAoB,QAAA,CAAUC,CAAO,EAClD,CACF,CAKO,SAASC,EAAAA,CAAgBC,CAAAA,CAA0B,UAAA,CAAkB,CACtE,OAAO,QAAA,CAAa,GAAA,GAGnBZ,EAAAA,EAAgB,EACnBF,EAAAA,CAAWc,CAAY,CAAA,CAIpBP,IAAe,EAClBF,EAAAA,CAAYG,EAAAA,EAAiB,CAAA,EAEjC,CC9FO,IAAMO,EAAAA,CAAY,CACvB,QAAA,CAAU,CACR,IAAA,CAAM,UAAA,CACN,WAAA,CAAa,gEACb,MAAA,CAAQ,CACN,OAAA,CAAS,aAAA,CACT,SAAA,CAAW,WAAA,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
|
@@ -37,6 +37,9 @@ export { Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, Pop
|
|
|
37
37
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './components/core/collapsible.cjs';
|
|
38
38
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/core/dropdown-menu.cjs';
|
|
39
39
|
export { Sheet, SheetClose, SheetContent, SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTitleProps, SheetTrigger, sheetVariants } from './components/core/sheet.cjs';
|
|
40
|
+
export { AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './components/core/alert-dialog.cjs';
|
|
41
|
+
export { Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleProps, toggleVariants } from './components/core/toggle.cjs';
|
|
42
|
+
export { AspectRatio, AspectRatioProps } from './components/core/aspect-ratio.cjs';
|
|
40
43
|
export { Hero, HeroProps } from './components/marketing/hero.cjs';
|
|
41
44
|
export { Testimonial, Testimonials, TestimonialsProps } from './components/marketing/testimonials.cjs';
|
|
42
45
|
export { Feature, Features, FeaturesProps } from './components/marketing/features.cjs';
|
|
@@ -54,6 +57,9 @@ import '@radix-ui/react-popover';
|
|
|
54
57
|
import '@radix-ui/react-collapsible';
|
|
55
58
|
import '@radix-ui/react-dropdown-menu';
|
|
56
59
|
import '@radix-ui/react-dialog';
|
|
60
|
+
import '@radix-ui/react-alert-dialog';
|
|
61
|
+
import '@radix-ui/react-toggle';
|
|
62
|
+
import '@radix-ui/react-toggle-group';
|
|
57
63
|
|
|
58
64
|
type ThemeName = 'nostromo' | 'mother' | 'lv-426' | 'sulaco';
|
|
59
65
|
declare const themes: Record<ThemeName, string>;
|
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,9 @@ export { Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, Pop
|
|
|
37
37
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './components/core/collapsible.js';
|
|
38
38
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/core/dropdown-menu.js';
|
|
39
39
|
export { Sheet, SheetClose, SheetContent, SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTitleProps, SheetTrigger, sheetVariants } from './components/core/sheet.js';
|
|
40
|
+
export { AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './components/core/alert-dialog.js';
|
|
41
|
+
export { Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleProps, toggleVariants } from './components/core/toggle.js';
|
|
42
|
+
export { AspectRatio, AspectRatioProps } from './components/core/aspect-ratio.js';
|
|
40
43
|
export { Hero, HeroProps } from './components/marketing/hero.js';
|
|
41
44
|
export { Testimonial, Testimonials, TestimonialsProps } from './components/marketing/testimonials.js';
|
|
42
45
|
export { Feature, Features, FeaturesProps } from './components/marketing/features.js';
|
|
@@ -54,6 +57,9 @@ import '@radix-ui/react-popover';
|
|
|
54
57
|
import '@radix-ui/react-collapsible';
|
|
55
58
|
import '@radix-ui/react-dropdown-menu';
|
|
56
59
|
import '@radix-ui/react-dialog';
|
|
60
|
+
import '@radix-ui/react-alert-dialog';
|
|
61
|
+
import '@radix-ui/react-toggle';
|
|
62
|
+
import '@radix-ui/react-toggle-group';
|
|
57
63
|
|
|
58
64
|
type ThemeName = 'nostromo' | 'mother' | 'lv-426' | 'sulaco';
|
|
59
65
|
declare const themes: Record<ThemeName, string>;
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{a as Gallery}from'./chunk-2JQROMCM.js';export{a as Hero}from'./chunk-JEHIMQQZ.js';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{c as Switch,b as switchThumbVariants,a as switchVariants}from'./chunk-OUWOPYAX.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{
|
|
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 LogoWall}from'./chunk-RC2THAIA.js';export{a as Pricing}from'./chunk-44HISN45.js';export{a as Testimonials}from'./chunk-LR4VUFOQ.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{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{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{c as RadioGroup,d as RadioGroupItem,d as RadioItem,a as radioGroupVariants,b as radioItemVariants}from'./chunk-WW2DDHCI.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 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 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-E44BBSLT.js';export{b as ErrorMessage,a as errorMessageVariants}from'./chunk-XQUZ7DUN.js';export{b as HelperText,a as helperTextVariants}from'./chunk-ABA7B5DE.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 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"}}};export{on as applyTheme,nn as getColorScheme,rn as getCurrentTheme,fn as initializeTheme,gn as onSystemColorSchemeChange,en as prefersDarkMode,tn as setDarkMode,In as themeInfo,pn as themes,un 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":"kwLAIO,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,GAAA,CAAa,OAAO,IAAM,CAAC,CAAA,CAEjD,IAAMC,CAAAA,CAAa,MAAA,CAAO,UAAA,CAAW,8BAA8B,CAAA,CAE7DC,CAAAA,CAAW,CAAA,EAA2B,CAC1CF,CAAAA,CAAS,CAAA,CAAE,OAAO,EACpB,CAAA,CAEA,OAAAC,CAAAA,CAAW,gBAAA,CAAiB,QAAA,CAAUC,CAAO,CAAA,CAGtC,IAAM,CACXD,CAAAA,CAAW,mBAAA,CAAoB,QAAA,CAAUC,CAAO,EAClD,CACF,CAKO,SAASC,EAAAA,CAAgBC,CAAAA,CAA0B,UAAA,CAAkB,CACtE,OAAO,QAAA,CAAa,GAAA,GAGnBZ,EAAAA,EAAgB,EACnBF,EAAAA,CAAWc,CAAY,CAAA,CAIpBP,IAAe,EAClBF,EAAAA,CAAYG,EAAAA,EAAiB,CAAA,EAEjC,CC9FO,IAAMO,EAAAA,CAAY,CACvB,QAAA,CAAU,CACR,IAAA,CAAM,UAAA,CACN,WAAA,CAAa,gEACb,MAAA,CAAQ,CACN,OAAA,CAAS,aAAA,CACT,SAAA,CAAW,WAAA,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.js","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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jarllyng/nostromo",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "Accessible React component library with CSS-first Tailwind v4 theming",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -257,6 +257,21 @@
|
|
|
257
257
|
"types": "./dist/components/core/sheet.d.ts",
|
|
258
258
|
"import": "./dist/components/core/sheet.js",
|
|
259
259
|
"require": "./dist/components/core/sheet.cjs"
|
|
260
|
+
},
|
|
261
|
+
"./components/core/alert-dialog": {
|
|
262
|
+
"types": "./dist/components/core/alert-dialog.d.ts",
|
|
263
|
+
"import": "./dist/components/core/alert-dialog.js",
|
|
264
|
+
"require": "./dist/components/core/alert-dialog.cjs"
|
|
265
|
+
},
|
|
266
|
+
"./components/core/toggle": {
|
|
267
|
+
"types": "./dist/components/core/toggle.d.ts",
|
|
268
|
+
"import": "./dist/components/core/toggle.js",
|
|
269
|
+
"require": "./dist/components/core/toggle.cjs"
|
|
270
|
+
},
|
|
271
|
+
"./components/core/aspect-ratio": {
|
|
272
|
+
"types": "./dist/components/core/aspect-ratio.d.ts",
|
|
273
|
+
"import": "./dist/components/core/aspect-ratio.js",
|
|
274
|
+
"require": "./dist/components/core/aspect-ratio.cjs"
|
|
260
275
|
}
|
|
261
276
|
},
|
|
262
277
|
"files": [
|
|
@@ -290,6 +305,7 @@
|
|
|
290
305
|
"tailwindcss": "^4.0.0"
|
|
291
306
|
},
|
|
292
307
|
"dependencies": {
|
|
308
|
+
"@radix-ui/react-alert-dialog": "^1.1.23",
|
|
293
309
|
"@radix-ui/react-collapsible": "^1.1.20",
|
|
294
310
|
"@radix-ui/react-dialog": "^1.1.23",
|
|
295
311
|
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
@@ -298,6 +314,8 @@
|
|
|
298
314
|
"@radix-ui/react-slot": "^1.3.3",
|
|
299
315
|
"@radix-ui/react-switch": "^1.3.7",
|
|
300
316
|
"@radix-ui/react-tabs": "^1.1.21",
|
|
317
|
+
"@radix-ui/react-toggle": "^1.1.18",
|
|
318
|
+
"@radix-ui/react-toggle-group": "^1.1.19",
|
|
301
319
|
"class-variance-authority": "^0.7.1",
|
|
302
320
|
"clsx": "^2.1.1",
|
|
303
321
|
"date-fns": "^4.4.0",
|
|
@@ -387,6 +405,18 @@
|
|
|
387
405
|
{
|
|
388
406
|
"path": "dist/components/core/sheet.js",
|
|
389
407
|
"limit": "23 KB"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"path": "dist/components/core/alert-dialog.js",
|
|
411
|
+
"limit": "24 KB"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"path": "dist/components/core/toggle.js",
|
|
415
|
+
"limit": "18 KB"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"path": "dist/components/core/aspect-ratio.js",
|
|
419
|
+
"limit": "9 KB"
|
|
390
420
|
}
|
|
391
421
|
]
|
|
392
422
|
}
|