@incognia/cosmik 0.40.2-beta.2 → 0.41.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/README.md +19 -7
- package/dist/Alert/index.d.ts +2 -2
- package/dist/Alert/index.d.ts.map +1 -1
- package/dist/AlertDialog/index.d.ts +5 -5
- package/dist/AlertDialog/index.d.ts.map +1 -1
- package/dist/Badge/index.d.ts +6 -7
- package/dist/Badge/index.d.ts.map +1 -1
- package/dist/Button/index.d.ts +6 -6
- package/dist/Button/index.d.ts.map +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Colors.d.ts +71 -0
- package/dist/Colors.d.ts.map +1 -0
- package/dist/Command/index.d.ts +20 -20
- package/dist/Command/index.d.ts.map +1 -1
- package/dist/Dialog/index.d.ts +2 -2
- package/dist/Dialog/index.d.ts.map +1 -1
- package/dist/DropdownMenu/index.d.ts +4 -4
- package/dist/DropdownMenu/index.d.ts.map +1 -1
- package/dist/Filter/index.d.ts +4 -2
- package/dist/Filter/index.d.ts.map +1 -1
- package/dist/FilterBar/GradientScroll.d.ts +4 -4
- package/dist/FilterBar/index.d.ts +2 -2
- package/dist/Label/index.d.ts +2 -2
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.d.ts.map +1 -1
- package/dist/Pagination/index.d.ts +3 -3
- package/dist/Pagination/index.d.ts.map +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.d.ts.map +1 -1
- package/dist/Select/index.d.ts +1 -1
- package/dist/Select/index.d.ts.map +1 -1
- package/dist/Sheet/index.d.ts +23 -13
- package/dist/Sheet/index.d.ts.map +1 -1
- package/dist/Skeleton/index.d.ts +1 -0
- package/dist/Skeleton/index.d.ts.map +1 -1
- package/dist/Sonner/index.d.ts +1 -0
- package/dist/Sonner/index.d.ts.map +1 -1
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.d.ts.map +1 -1
- package/dist/Tabs/index.d.ts +1 -1
- package/dist/Tabs/index.d.ts.map +1 -1
- package/dist/TagInput/index.d.ts +2 -2
- package/dist/TagInput/index.d.ts.map +1 -1
- package/dist/Toggle/index.d.ts +3 -3
- package/dist/ToggleGroup/index.d.ts +13 -4
- package/dist/ToggleGroup/index.d.ts.map +1 -1
- package/dist/Tooltip/index.d.ts +11 -7
- package/dist/Tooltip/index.d.ts.map +1 -1
- package/dist/cosmik.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +178 -173
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +1 -1
- package/dist/index10.cjs.map +1 -1
- package/dist/index10.js +34 -127
- package/dist/index10.js.map +1 -1
- package/dist/index11.cjs +1 -1
- package/dist/index11.cjs.map +1 -1
- package/dist/index11.js +28 -105
- package/dist/index11.js.map +1 -1
- package/dist/index12.cjs +1 -1
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +112 -112
- package/dist/index12.js.map +1 -1
- package/dist/index13.cjs +1 -1
- package/dist/index13.cjs.map +1 -1
- package/dist/index13.js +103 -96
- package/dist/index13.js.map +1 -1
- package/dist/index14.cjs +1 -1
- package/dist/index14.cjs.map +1 -1
- package/dist/index14.js +141 -22
- package/dist/index14.js.map +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +105 -22
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +1 -1
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +22 -17
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +1 -1
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +22 -58
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +1 -1
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +17 -20
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +64 -96
- package/dist/index19.js.map +1 -1
- package/dist/index2.cjs +2 -0
- package/dist/index2.cjs.map +1 -0
- package/dist/index2.js +5 -0
- package/dist/index2.js.map +1 -0
- package/dist/index20.cjs +1 -1
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +20 -22
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +1 -1
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +93 -21
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +1 -1
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +19 -27
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +1 -1
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +19 -126
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +1 -1
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +30 -23
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +1 -1
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +130 -128
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +1 -1
- package/dist/index26.cjs.map +1 -1
- package/dist/index26.js +21 -13
- package/dist/index26.js.map +1 -1
- package/dist/index27.cjs +1 -1
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +103 -28
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.cjs.map +1 -1
- package/dist/index28.js +15 -27
- package/dist/index28.js.map +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +30 -108
- package/dist/index29.js.map +1 -1
- package/dist/index3.cjs +1 -1
- package/dist/index3.cjs.map +1 -1
- package/dist/index3.js +70 -54
- package/dist/index3.js.map +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +23 -38
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +102 -73
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +1 -1
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +42 -23
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +1 -1
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +78 -78
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +1 -1
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +20 -67
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +1 -1
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +75 -55
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +36 -58
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +1 -1
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +33 -3
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +1 -1
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +65 -33
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +261 -11
- package/dist/index39.js.map +1 -1
- package/dist/index4.cjs +1 -1
- package/dist/index4.cjs.map +1 -1
- package/dist/index4.js +324 -112
- package/dist/index4.js.map +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +6 -118
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +1 -1
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +12 -13
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +118 -7
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +1 -1
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +14 -2
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +1 -9
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +3 -25
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +1 -22
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +104 -601
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +32 -13
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +2 -2729
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +9 -1
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +30 -2
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +19 -1
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +599 -2
- package/dist/index49.js.map +1 -1
- package/dist/index5.cjs +1 -1
- package/dist/index5.cjs.map +1 -1
- package/dist/index5.js +41 -77
- package/dist/index5.js.map +1 -1
- package/dist/index50.cjs +2 -0
- package/dist/index50.cjs.map +1 -0
- package/dist/index50.js +5 -0
- package/dist/index50.js.map +1 -0
- package/dist/index51.cjs +2 -0
- package/dist/index51.cjs.map +1 -0
- package/dist/index51.js +154 -0
- package/dist/index51.js.map +1 -0
- package/dist/index52.cjs +2 -0
- package/dist/index52.cjs.map +1 -0
- package/dist/index52.js +19 -0
- package/dist/index52.js.map +1 -0
- package/dist/index53.cjs +2 -0
- package/dist/index53.cjs.map +1 -0
- package/dist/index53.js +345 -0
- package/dist/index53.js.map +1 -0
- package/dist/index54.cjs +2 -0
- package/dist/index54.cjs.map +1 -0
- package/dist/index54.js +48 -0
- package/dist/index54.js.map +1 -0
- package/dist/index55.cjs +2 -0
- package/dist/index55.cjs.map +1 -0
- package/dist/index55.js +5 -0
- package/dist/index55.js.map +1 -0
- package/dist/index56.cjs +2 -0
- package/dist/index56.cjs.map +1 -0
- package/dist/index56.js +5 -0
- package/dist/index56.js.map +1 -0
- package/dist/index57.cjs +2 -0
- package/dist/index57.cjs.map +1 -0
- package/dist/index57.js +5 -0
- package/dist/index57.js.map +1 -0
- package/dist/index58.cjs +2 -0
- package/dist/index58.cjs.map +1 -0
- package/dist/index58.js +7 -0
- package/dist/index58.js.map +1 -0
- package/dist/index6.cjs +1 -1
- package/dist/index6.cjs.map +1 -1
- package/dist/index6.js +110 -157
- package/dist/index6.js.map +1 -1
- package/dist/index7.cjs +1 -1
- package/dist/index7.cjs.map +1 -1
- package/dist/index7.js +85 -65
- package/dist/index7.js.map +1 -1
- package/dist/index8.cjs +1 -1
- package/dist/index8.cjs.map +1 -1
- package/dist/index8.js +155 -42
- package/dist/index8.js.map +1 -1
- package/dist/index9.cjs +1 -1
- package/dist/index9.cjs.map +1 -1
- package/dist/index9.js +70 -33
- package/dist/index9.js.map +1 -1
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/tailwind-theme-config.d.ts +318 -0
- package/dist/tailwind-theme-config.d.ts.map +1 -0
- package/package.json +62 -58
- package/dist/cosmik-theme.css +0 -185
package/dist/index27.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index27.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index27.cjs","sources":["../src/Sheet/index.tsx"],"sourcesContent":["'use client'\n\nimport * as SheetPrimitive from '@radix-ui/react-dialog'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport { X } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst Sheet = SheetPrimitive.Root\n\nconst SheetTrigger = SheetPrimitive.Trigger\n\nconst SheetClose = SheetPrimitive.Close\n\nconst SheetPortal = SheetPrimitive.Portal\n\nconst SheetOverlay = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Overlay\n className={cn(\n 'fixed inset-0 z-50 bg-gray-900-24 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className\n )}\n {...props}\n ref={ref}\n />\n))\nSheetOverlay.displayName = SheetPrimitive.Overlay.displayName\n\nconst sheetVariants = cva(\n 'fixed z-50 gap-16 bg-white border-gray-900-16 transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500',\n {\n variants: {\n side: {\n top: 'inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top',\n bottom:\n 'inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom',\n left: 'inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm',\n right:\n 'inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm'\n }\n },\n defaultVariants: {\n side: 'right'\n }\n }\n)\n\ninterface SheetContentProps\n extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,\n VariantProps<typeof sheetVariants> {}\n\nconst SheetContent = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Content>,\n SheetContentProps\n>(({ side = 'right', className, children, ...props }, ref) => (\n <SheetPortal>\n <SheetOverlay />\n <SheetPrimitive.Content\n ref={ref}\n className={cn(sheetVariants({ side }), className)}\n {...props}\n >\n {children}\n <SheetPrimitive.Close className=\"absolute right-16 top-16 rounded opacity-64 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none\">\n <X className=\"h-16 w-16\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPortal>\n))\nSheetContent.displayName = SheetPrimitive.Content.displayName\n\nconst SheetHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col space-y-8 text-center sm:text-left',\n className\n )}\n {...props}\n />\n)\nSheetHeader.displayName = 'SheetHeader'\n\nconst SheetFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-8',\n className\n )}\n {...props}\n />\n)\nSheetFooter.displayName = 'SheetFooter'\n\nconst SheetTitle = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Title\n ref={ref}\n className={cn('font-medium text-lg text-gray-800', className)}\n {...props}\n />\n))\nSheetTitle.displayName = SheetPrimitive.Title.displayName\n\nconst SheetDescription = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Description\n ref={ref}\n className={cn('mt-8 text-base text-gray-900', className)}\n {...props}\n />\n))\nSheetDescription.displayName = SheetPrimitive.Description.displayName\n\nexport {\n Sheet,\n SheetPortal,\n SheetOverlay,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetFooter,\n SheetTitle,\n SheetDescription\n}\n"],"names":["Sheet","SheetPrimitive","SheetTrigger","SheetClose","SheetPortal","SheetOverlay","React","className","props","ref","jsx","cn","sheetVariants","cva","SheetContent","side","children","jsxs","X","SheetHeader","SheetFooter","SheetTitle","SheetDescription"],"mappings":"oiBAQMA,EAAQC,EAAe,KAEvBC,EAAeD,EAAe,QAE9BE,EAAaF,EAAe,MAE5BG,EAAcH,EAAe,OAE7BI,EAAeC,EAAM,WAGzB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BC,EAAA,kBAAA,IAACT,EAAe,QAAf,CACC,UAAWU,EAAA,GACT,4JACAJ,CACF,EACC,GAAGC,EACJ,IAAAC,CAAA,CACF,CACD,EACDJ,EAAa,YAAcJ,EAAe,QAAQ,YAElD,MAAMW,EAAgBC,EAAA,IACpB,oMACA,CACE,SAAU,CACR,KAAM,CACJ,IAAK,oGACL,OACE,6GACF,KAAM,gIACN,MACE,mIACJ,CACF,EACA,gBAAiB,CACf,KAAM,OACR,CACF,CACF,EAMMC,EAAeR,EAAM,WAGzB,CAAC,CAAE,KAAAS,EAAO,QAAS,UAAAR,EAAW,SAAAS,EAAU,GAAGR,CAAS,EAAAC,6BACnDL,EACC,CAAA,SAAA,CAAAM,EAAA,kBAAA,IAACL,EAAa,EAAA,EACdY,EAAA,kBAAA,KAAChB,EAAe,QAAf,CACC,IAAAQ,EACA,UAAWE,EAAG,GAAAC,EAAc,CAAE,KAAAG,CAAM,CAAA,EAAGR,CAAS,EAC/C,GAAGC,EAEH,SAAA,CAAAQ,EACAC,EAAA,kBAAA,KAAAhB,EAAe,MAAf,CAAqB,UAAU,mIAC9B,SAAA,CAACS,EAAAA,kBAAAA,IAAAQ,EAAA,EAAA,CAAE,UAAU,WAAY,CAAA,EACxBR,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,UAAU,SAAK,QAAA,CAAA,EACjC,CAAA,CAAA,CACF,CAAA,CAAA,CACF,CACD,EACDI,EAAa,YAAcb,EAAe,QAAQ,YAElD,MAAMkB,EAAc,CAAC,CACnB,UAAAZ,EACA,GAAGC,CACL,IACEE,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,GACT,mDACAJ,CACF,EACC,GAAGC,CAAA,CACN,EAEFW,EAAY,YAAc,cAE1B,MAAMC,EAAc,CAAC,CACnB,UAAAb,EACA,GAAGC,CACL,IACEE,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,GACT,gEACAJ,CACF,EACC,GAAGC,CAAA,CACN,EAEFY,EAAY,YAAc,cAEpB,MAAAC,EAAaf,EAAM,WAGvB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BC,EAAA,kBAAA,IAACT,EAAe,MAAf,CACC,IAAAQ,EACA,UAAWE,EAAAA,GAAG,oCAAqCJ,CAAS,EAC3D,GAAGC,CAAA,CACN,CACD,EACDa,EAAW,YAAcpB,EAAe,MAAM,YAExC,MAAAqB,EAAmBhB,EAAM,WAG7B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BC,EAAA,kBAAA,IAACT,EAAe,YAAf,CACC,IAAAQ,EACA,UAAWE,EAAAA,GAAG,+BAAgCJ,CAAS,EACtD,GAAGC,CAAA,CACN,CACD,EACDc,EAAiB,YAAcrB,EAAe,YAAY"}
|
package/dist/index27.js
CHANGED
|
@@ -1,36 +1,111 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { j as s } from "./index40.js";
|
|
2
|
+
import * as e from "@radix-ui/react-dialog";
|
|
3
|
+
import { cva as m } from "class-variance-authority";
|
|
4
|
+
import { X as c } from "lucide-react";
|
|
5
|
+
import * as r from "react";
|
|
6
|
+
import { cn as i } from "./index41.js";
|
|
7
|
+
const v = e.Root, w = e.Trigger, C = e.Close, p = e.Portal, d = r.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ s.jsx(
|
|
8
|
+
e.Overlay,
|
|
6
9
|
{
|
|
7
|
-
className:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
className: i(
|
|
11
|
+
"fixed inset-0 z-50 bg-gray-900-24 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
12
|
+
t
|
|
13
|
+
),
|
|
14
|
+
...a,
|
|
15
|
+
ref: o
|
|
16
|
+
}
|
|
17
|
+
));
|
|
18
|
+
d.displayName = e.Overlay.displayName;
|
|
19
|
+
const f = m(
|
|
20
|
+
"fixed z-50 gap-16 bg-white border-gray-900-16 transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
21
|
+
{
|
|
22
|
+
variants: {
|
|
23
|
+
side: {
|
|
24
|
+
top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
25
|
+
bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
26
|
+
left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
27
|
+
right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
|
|
22
28
|
}
|
|
23
29
|
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
defaultVariants: {
|
|
31
|
+
side: "right"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
), x = r.forwardRef(({ side: t = "right", className: a, children: o, ...l }, n) => /* @__PURE__ */ s.jsxs(p, { children: [
|
|
35
|
+
/* @__PURE__ */ s.jsx(d, {}),
|
|
36
|
+
/* @__PURE__ */ s.jsxs(
|
|
37
|
+
e.Content,
|
|
38
|
+
{
|
|
39
|
+
ref: n,
|
|
40
|
+
className: i(f({ side: t }), a),
|
|
41
|
+
...l,
|
|
42
|
+
children: [
|
|
43
|
+
o,
|
|
44
|
+
/* @__PURE__ */ s.jsxs(e.Close, { className: "absolute right-16 top-16 rounded opacity-64 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none", children: [
|
|
45
|
+
/* @__PURE__ */ s.jsx(c, { className: "h-16 w-16" }),
|
|
46
|
+
/* @__PURE__ */ s.jsx("span", { className: "sr-only", children: "Close" })
|
|
47
|
+
] })
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
] }));
|
|
52
|
+
x.displayName = e.Content.displayName;
|
|
53
|
+
const h = ({
|
|
54
|
+
className: t,
|
|
55
|
+
...a
|
|
56
|
+
}) => /* @__PURE__ */ s.jsx(
|
|
57
|
+
"div",
|
|
58
|
+
{
|
|
59
|
+
className: i(
|
|
60
|
+
"flex flex-col space-y-8 text-center sm:text-left",
|
|
61
|
+
t
|
|
62
|
+
),
|
|
63
|
+
...a
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
h.displayName = "SheetHeader";
|
|
67
|
+
const y = ({
|
|
68
|
+
className: t,
|
|
69
|
+
...a
|
|
70
|
+
}) => /* @__PURE__ */ s.jsx(
|
|
71
|
+
"div",
|
|
72
|
+
{
|
|
73
|
+
className: i(
|
|
74
|
+
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-8",
|
|
75
|
+
t
|
|
76
|
+
),
|
|
77
|
+
...a
|
|
31
78
|
}
|
|
32
79
|
);
|
|
80
|
+
y.displayName = "SheetFooter";
|
|
81
|
+
const u = r.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ s.jsx(
|
|
82
|
+
e.Title,
|
|
83
|
+
{
|
|
84
|
+
ref: o,
|
|
85
|
+
className: i("font-medium text-lg text-gray-800", t),
|
|
86
|
+
...a
|
|
87
|
+
}
|
|
88
|
+
));
|
|
89
|
+
u.displayName = e.Title.displayName;
|
|
90
|
+
const g = r.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ s.jsx(
|
|
91
|
+
e.Description,
|
|
92
|
+
{
|
|
93
|
+
ref: o,
|
|
94
|
+
className: i("mt-8 text-base text-gray-900", t),
|
|
95
|
+
...a
|
|
96
|
+
}
|
|
97
|
+
));
|
|
98
|
+
g.displayName = e.Description.displayName;
|
|
33
99
|
export {
|
|
34
|
-
|
|
100
|
+
v as Sheet,
|
|
101
|
+
C as SheetClose,
|
|
102
|
+
x as SheetContent,
|
|
103
|
+
g as SheetDescription,
|
|
104
|
+
y as SheetFooter,
|
|
105
|
+
h as SheetHeader,
|
|
106
|
+
d as SheetOverlay,
|
|
107
|
+
p as SheetPortal,
|
|
108
|
+
u as SheetTitle,
|
|
109
|
+
w as SheetTrigger
|
|
35
110
|
};
|
|
36
111
|
//# sourceMappingURL=index27.js.map
|
package/dist/index27.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index27.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index27.js","sources":["../src/Sheet/index.tsx"],"sourcesContent":["'use client'\n\nimport * as SheetPrimitive from '@radix-ui/react-dialog'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport { X } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst Sheet = SheetPrimitive.Root\n\nconst SheetTrigger = SheetPrimitive.Trigger\n\nconst SheetClose = SheetPrimitive.Close\n\nconst SheetPortal = SheetPrimitive.Portal\n\nconst SheetOverlay = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Overlay\n className={cn(\n 'fixed inset-0 z-50 bg-gray-900-24 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className\n )}\n {...props}\n ref={ref}\n />\n))\nSheetOverlay.displayName = SheetPrimitive.Overlay.displayName\n\nconst sheetVariants = cva(\n 'fixed z-50 gap-16 bg-white border-gray-900-16 transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500',\n {\n variants: {\n side: {\n top: 'inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top',\n bottom:\n 'inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom',\n left: 'inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm',\n right:\n 'inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm'\n }\n },\n defaultVariants: {\n side: 'right'\n }\n }\n)\n\ninterface SheetContentProps\n extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,\n VariantProps<typeof sheetVariants> {}\n\nconst SheetContent = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Content>,\n SheetContentProps\n>(({ side = 'right', className, children, ...props }, ref) => (\n <SheetPortal>\n <SheetOverlay />\n <SheetPrimitive.Content\n ref={ref}\n className={cn(sheetVariants({ side }), className)}\n {...props}\n >\n {children}\n <SheetPrimitive.Close className=\"absolute right-16 top-16 rounded opacity-64 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none\">\n <X className=\"h-16 w-16\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPortal>\n))\nSheetContent.displayName = SheetPrimitive.Content.displayName\n\nconst SheetHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col space-y-8 text-center sm:text-left',\n className\n )}\n {...props}\n />\n)\nSheetHeader.displayName = 'SheetHeader'\n\nconst SheetFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-8',\n className\n )}\n {...props}\n />\n)\nSheetFooter.displayName = 'SheetFooter'\n\nconst SheetTitle = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Title\n ref={ref}\n className={cn('font-medium text-lg text-gray-800', className)}\n {...props}\n />\n))\nSheetTitle.displayName = SheetPrimitive.Title.displayName\n\nconst SheetDescription = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Description\n ref={ref}\n className={cn('mt-8 text-base text-gray-900', className)}\n {...props}\n />\n))\nSheetDescription.displayName = SheetPrimitive.Description.displayName\n\nexport {\n Sheet,\n SheetPortal,\n SheetOverlay,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetFooter,\n SheetTitle,\n SheetDescription\n}\n"],"names":["Sheet","SheetPrimitive","SheetTrigger","SheetClose","SheetPortal","SheetOverlay","React","className","props","ref","jsx","cn","sheetVariants","cva","SheetContent","side","children","jsxs","X","SheetHeader","SheetFooter","SheetTitle","SheetDescription"],"mappings":";;;;;;AAQA,MAAMA,IAAQC,EAAe,MAEvBC,IAAeD,EAAe,SAE9BE,IAAaF,EAAe,OAE5BG,IAAcH,EAAe,QAE7BI,IAAeC,EAAM,WAGzB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1BC,gBAAAA,EAAA;AAAA,EAACT,EAAe;AAAA,EAAf;AAAA,IACC,WAAWU;AAAA,MACT;AAAA,MACAJ;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,IACJ,KAAAC;AAAA,EAAA;AACF,CACD;AACDJ,EAAa,cAAcJ,EAAe,QAAQ;AAElD,MAAMW,IAAgBC;AAAA,EACpB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,QACE;AAAA,QACF,MAAM;AAAA,QACN,OACE;AAAA,MACJ;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,MAAM;AAAA,IACR;AAAA,EACF;AACF,GAMMC,IAAeR,EAAM,WAGzB,CAAC,EAAE,MAAAS,IAAO,SAAS,WAAAR,GAAW,UAAAS,GAAU,GAAGR,EAAS,GAAAC,6BACnDL,GACC,EAAA,UAAA;AAAA,EAAAM,gBAAAA,EAAA,IAACL,GAAa,EAAA;AAAA,EACdY,gBAAAA,EAAA;AAAA,IAAChB,EAAe;AAAA,IAAf;AAAA,MACC,KAAAQ;AAAA,MACA,WAAWE,EAAGC,EAAc,EAAE,MAAAG,EAAM,CAAA,GAAGR,CAAS;AAAA,MAC/C,GAAGC;AAAA,MAEH,UAAA;AAAA,QAAAQ;AAAA,QACAC,gBAAAA,EAAA,KAAAhB,EAAe,OAAf,EAAqB,WAAU,oIAC9B,UAAA;AAAA,UAACS,gBAAAA,EAAAA,IAAAQ,GAAA,EAAE,WAAU,YAAY,CAAA;AAAA,UACxBR,gBAAAA,EAAA,IAAA,QAAA,EAAK,WAAU,WAAU,UAAK,SAAA;AAAA,QAAA,GACjC;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAAA,EAAA,CACF,CACD;AACDI,EAAa,cAAcb,EAAe,QAAQ;AAElD,MAAMkB,IAAc,CAAC;AAAA,EACnB,WAAAZ;AAAA,EACA,GAAGC;AACL,MACEE,gBAAAA,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC;AAAA,MACT;AAAA,MACAJ;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,EAAA;AACN;AAEFW,EAAY,cAAc;AAE1B,MAAMC,IAAc,CAAC;AAAA,EACnB,WAAAb;AAAA,EACA,GAAGC;AACL,MACEE,gBAAAA,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC;AAAA,MACT;AAAA,MACAJ;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,EAAA;AACN;AAEFY,EAAY,cAAc;AAEpB,MAAAC,IAAaf,EAAM,WAGvB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1BC,gBAAAA,EAAA;AAAA,EAACT,EAAe;AAAA,EAAf;AAAA,IACC,KAAAQ;AAAA,IACA,WAAWE,EAAG,qCAAqCJ,CAAS;AAAA,IAC3D,GAAGC;AAAA,EAAA;AACN,CACD;AACDa,EAAW,cAAcpB,EAAe,MAAM;AAExC,MAAAqB,IAAmBhB,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1BC,gBAAAA,EAAA;AAAA,EAACT,EAAe;AAAA,EAAf;AAAA,IACC,KAAAQ;AAAA,IACA,WAAWE,EAAG,gCAAgCJ,CAAS;AAAA,IACtD,GAAGC;AAAA,EAAA;AACN,CACD;AACDc,EAAiB,cAAcrB,EAAe,YAAY;"}
|
package/dist/index28.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index40.cjs"),r=require("./index41.cjs");function u({className:e,...t}){return n.jsxRuntimeExports.jsx("div",{className:r.cn("animate-pulse rounded-full bg-gray-900-16",e),...t})}exports.Skeleton=u;
|
|
2
2
|
//# sourceMappingURL=index28.cjs.map
|
package/dist/index28.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index28.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index28.cjs","sources":["../src/Skeleton/index.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\n\nfunction Skeleton({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn('animate-pulse rounded-full bg-gray-900-16', className)}\n {...props}\n />\n )\n}\n\nexport { Skeleton }\n"],"names":["Skeleton","className","props","jsx","cn"],"mappings":"4IAEA,SAASA,EAAS,CAChB,UAAAC,EACA,GAAGC,CACL,EAAyC,CAErC,OAAAC,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAAA,GAAG,4CAA6CH,CAAS,EACnE,GAAGC,CAAA,CAAA,CAGV"}
|
package/dist/index28.js
CHANGED
|
@@ -1,30 +1,18 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
ref: o,
|
|
16
|
-
children: /* @__PURE__ */ t.jsx(
|
|
17
|
-
e.Thumb,
|
|
18
|
-
{
|
|
19
|
-
className: a(
|
|
20
|
-
"pointer-events-none block h-16 w-16 rounded-full bg-white shadow-lg transition-transform data-[state=checked]:translate-x-16 data-[state=unchecked]:translate-x-0"
|
|
21
|
-
)
|
|
22
|
-
}
|
|
23
|
-
)
|
|
24
|
-
}
|
|
25
|
-
));
|
|
26
|
-
d.displayName = e.Root.displayName;
|
|
1
|
+
import { j as o } from "./index40.js";
|
|
2
|
+
import { cn as t } from "./index41.js";
|
|
3
|
+
function s({
|
|
4
|
+
className: r,
|
|
5
|
+
...e
|
|
6
|
+
}) {
|
|
7
|
+
return /* @__PURE__ */ o.jsx(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
className: t("animate-pulse rounded-full bg-gray-900-16", r),
|
|
11
|
+
...e
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
}
|
|
27
15
|
export {
|
|
28
|
-
|
|
16
|
+
s as Skeleton
|
|
29
17
|
};
|
|
30
18
|
//# sourceMappingURL=index28.js.map
|
package/dist/index28.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index28.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index28.js","sources":["../src/Skeleton/index.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\n\nfunction Skeleton({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn('animate-pulse rounded-full bg-gray-900-16', className)}\n {...props}\n />\n )\n}\n\nexport { Skeleton }\n"],"names":["Skeleton","className","props","jsx","cn"],"mappings":";;AAEA,SAASA,EAAS;AAAA,EAChB,WAAAC;AAAA,EACA,GAAGC;AACL,GAAyC;AAErC,SAAAC,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,EAAG,6CAA6CH,CAAS;AAAA,MACnE,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/index29.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index40.cjs"),o=require("lucide-react"),s=require("sonner"),a=require("./index41.cjs"),u=({className:r,...e})=>t.jsxRuntimeExports.jsx(s.Toaster,{className:a.cn("toaster group",r),position:"top-center",offset:16,gap:16,closeButton:!0,toastOptions:{unstyled:!0,classNames:{toast:"group toast group-[.toaster]:flex group-[.toaster]:pointer-events-auto group-[.toaster]:w-full group-[.toaster]:gap-x-8 group-[.toaster]:items-center group-[.toaster]:overflow-hidden group-[.toaster]:rounded group-[.toaster]:border group-[.toaster]:border-gray-900-8 group-[.toaster]:p-16 group-[.toaster]:pr-24 group-[.toaster]:shadow-200 group-[.toaster]:transition-all",success:"group-[.toaster]:bg-green-50",warning:"group-[.toaster]:bg-yellow-50",error:"group-[.toaster]:bg-magenta-50",title:"group-[.toast]:text-sm group-[.toast]:text-gray-900 group-[.toast]:font-medium",description:"group-[.toast]:text-sm group-[.toast]:text-gray-800 group-[.toast]:opacity-100",closeButton:"group-[.toast]:absolute group-[.toast]:left-auto group-[.toast]:right-0 group-[.toast]:top-16 group-[.toast]:w-24 group-[.toast]:h-24 group-[.toast]:inline-flex group-[.toast]:items-center group-[.toast]:justify-center group-[.toast]:rounded-full group-[.toast]:bg-gray-900-8 group-[.toast]:hover:bg-gray-900-12 group-[.toast]:focus:bg-gray-900-12 group-[.toast]:active:bg-gray-900-16"}},icons:{success:t.jsxRuntimeExports.jsx(o.CheckIcon,{size:20,className:"text-green-800"}),warning:t.jsxRuntimeExports.jsx(o.AlertTriangleIcon,{size:20,className:"text-yellow-600"}),error:t.jsxRuntimeExports.jsx(o.AlertCircleIcon,{size:20,className:"text-magenta-600"}),close:t.jsxRuntimeExports.jsx(o.LucideX,{size:16})},...e});exports.Toaster=u;
|
|
2
2
|
//# sourceMappingURL=index29.cjs.map
|
package/dist/index29.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index29.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index29.cjs","sources":["../src/Sonner/index.tsx"],"sourcesContent":["'use client'\n\nimport {\n AlertCircleIcon,\n AlertTriangleIcon,\n CheckIcon,\n LucideX\n} from 'lucide-react'\nimport { Toaster as Sonner } from 'sonner'\nimport { cn } from '../lib/utils'\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>\n\nconst Toaster = ({ className, ...props }: ToasterProps) => {\n return (\n <Sonner\n className={cn('toaster group', className)}\n position=\"top-center\"\n offset={16}\n gap={16}\n closeButton={true}\n toastOptions={{\n unstyled: true,\n classNames: {\n toast:\n 'group toast group-[.toaster]:flex group-[.toaster]:pointer-events-auto group-[.toaster]:w-full group-[.toaster]:gap-x-8 group-[.toaster]:items-center group-[.toaster]:overflow-hidden group-[.toaster]:rounded group-[.toaster]:border group-[.toaster]:border-gray-900-8 group-[.toaster]:p-16 group-[.toaster]:pr-24 group-[.toaster]:shadow-200 group-[.toaster]:transition-all',\n success: 'group-[.toaster]:bg-green-50',\n warning: 'group-[.toaster]:bg-yellow-50',\n error: 'group-[.toaster]:bg-magenta-50',\n title:\n 'group-[.toast]:text-sm group-[.toast]:text-gray-900 group-[.toast]:font-medium',\n description:\n 'group-[.toast]:text-sm group-[.toast]:text-gray-800 group-[.toast]:opacity-100',\n closeButton:\n 'group-[.toast]:absolute group-[.toast]:left-auto group-[.toast]:right-0 group-[.toast]:top-16 group-[.toast]:w-24 group-[.toast]:h-24 group-[.toast]:inline-flex group-[.toast]:items-center group-[.toast]:justify-center group-[.toast]:rounded-full group-[.toast]:bg-gray-900-8 group-[.toast]:hover:bg-gray-900-12 group-[.toast]:focus:bg-gray-900-12 group-[.toast]:active:bg-gray-900-16'\n }\n }}\n icons={{\n success: <CheckIcon size={20} className=\"text-green-800\" />,\n warning: <AlertTriangleIcon size={20} className=\"text-yellow-600\" />,\n error: <AlertCircleIcon size={20} className=\"text-magenta-600\" />,\n close: <LucideX size={16} />\n }}\n {...props}\n />\n )\n}\n\nexport { Toaster }\n"],"names":["Toaster","className","props","jsx","Sonner","cn","CheckIcon","AlertTriangleIcon","AlertCircleIcon","LucideX"],"mappings":"0LAaMA,EAAU,CAAC,CAAE,UAAAC,EAAW,GAAGC,KAE7BC,EAAA,kBAAA,IAACC,EAAA,QAAA,CACC,UAAWC,EAAAA,GAAG,gBAAiBJ,CAAS,EACxC,SAAS,aACT,OAAQ,GACR,IAAK,GACL,YAAa,GACb,aAAc,CACZ,SAAU,GACV,WAAY,CACV,MACE,sXACF,QAAS,+BACT,QAAS,gCACT,MAAO,iCACP,MACE,iFACF,YACE,iFACF,YACE,kYACJ,CACF,EACA,MAAO,CACL,QAAUE,EAAA,kBAAA,IAAAG,YAAA,CAAU,KAAM,GAAI,UAAU,iBAAiB,EACzD,QAAUH,EAAA,kBAAA,IAAAI,oBAAA,CAAkB,KAAM,GAAI,UAAU,kBAAkB,EAClE,MAAQJ,EAAA,kBAAA,IAAAK,kBAAA,CAAgB,KAAM,GAAI,UAAU,mBAAmB,EAC/D,MAAOL,EAAAA,kBAAAA,IAACM,EAAAA,QAAQ,CAAA,KAAM,EAAI,CAAA,CAC5B,EACC,GAAGP,CAAA,CAAA"}
|
package/dist/index29.js
CHANGED
|
@@ -1,115 +1,37 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { cn as
|
|
5
|
-
const
|
|
6
|
-
|
|
1
|
+
import { j as t } from "./index40.js";
|
|
2
|
+
import { CheckIcon as e, AlertTriangleIcon as s, AlertCircleIcon as a, LucideX as g } from "lucide-react";
|
|
3
|
+
import { Toaster as u } from "sonner";
|
|
4
|
+
import { cn as p } from "./index41.js";
|
|
5
|
+
const m = ({ className: o, ...r }) => /* @__PURE__ */ t.jsx(
|
|
6
|
+
u,
|
|
7
7
|
{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
const b = o.forwardRef(
|
|
24
|
-
({ className: a, hoverable: e, ...r }, l) => /* @__PURE__ */ s.jsx(
|
|
25
|
-
"tbody",
|
|
26
|
-
{
|
|
27
|
-
ref: l,
|
|
28
|
-
className: t(
|
|
29
|
-
"bg-white",
|
|
30
|
-
{
|
|
31
|
-
"[&_tr:hover]:bg-gray-100 cursor-pointer": e
|
|
32
|
-
},
|
|
33
|
-
a
|
|
34
|
-
),
|
|
35
|
-
...r
|
|
36
|
-
}
|
|
37
|
-
)
|
|
38
|
-
);
|
|
39
|
-
b.displayName = "TableBody";
|
|
40
|
-
const f = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ s.jsx("tfoot", { ref: r, className: t("bg-gray-100", a), ...e }));
|
|
41
|
-
f.displayName = "TableFooter";
|
|
42
|
-
const y = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
|
|
43
|
-
"tr",
|
|
44
|
-
{
|
|
45
|
-
ref: r,
|
|
46
|
-
className: t(
|
|
47
|
-
"transition-colors data-[state=selected]:bg-gray-100",
|
|
48
|
-
a
|
|
49
|
-
),
|
|
50
|
-
...e
|
|
51
|
-
}
|
|
52
|
-
));
|
|
53
|
-
y.displayName = "TableRow";
|
|
54
|
-
const x = o.forwardRef(
|
|
55
|
-
({ className: a, sortDirection: e, children: r, ...l }, i) => {
|
|
56
|
-
let d;
|
|
57
|
-
return e === "ASC" ? d = n : e === "DESC" && (d = c), /* @__PURE__ */ s.jsxs(
|
|
58
|
-
"th",
|
|
59
|
-
{
|
|
60
|
-
ref: i,
|
|
61
|
-
className: t(
|
|
62
|
-
"first:rounded-l first:pl-24",
|
|
63
|
-
"last:rounded-r last:pr-24",
|
|
64
|
-
"px-12 py-8 font-normal leading-14",
|
|
65
|
-
"whitespace-nowrap",
|
|
66
|
-
{
|
|
67
|
-
"cursor-pointer": !!l?.onClick
|
|
68
|
-
},
|
|
69
|
-
a
|
|
70
|
-
),
|
|
71
|
-
...l,
|
|
72
|
-
children: [
|
|
73
|
-
r,
|
|
74
|
-
d && /* @__PURE__ */ s.jsx(d, { size: 16, className: "inline-block ml-4" })
|
|
75
|
-
]
|
|
8
|
+
className: p("toaster group", o),
|
|
9
|
+
position: "top-center",
|
|
10
|
+
offset: 16,
|
|
11
|
+
gap: 16,
|
|
12
|
+
closeButton: !0,
|
|
13
|
+
toastOptions: {
|
|
14
|
+
unstyled: !0,
|
|
15
|
+
classNames: {
|
|
16
|
+
toast: "group toast group-[.toaster]:flex group-[.toaster]:pointer-events-auto group-[.toaster]:w-full group-[.toaster]:gap-x-8 group-[.toaster]:items-center group-[.toaster]:overflow-hidden group-[.toaster]:rounded group-[.toaster]:border group-[.toaster]:border-gray-900-8 group-[.toaster]:p-16 group-[.toaster]:pr-24 group-[.toaster]:shadow-200 group-[.toaster]:transition-all",
|
|
17
|
+
success: "group-[.toaster]:bg-green-50",
|
|
18
|
+
warning: "group-[.toaster]:bg-yellow-50",
|
|
19
|
+
error: "group-[.toaster]:bg-magenta-50",
|
|
20
|
+
title: "group-[.toast]:text-sm group-[.toast]:text-gray-900 group-[.toast]:font-medium",
|
|
21
|
+
description: "group-[.toast]:text-sm group-[.toast]:text-gray-800 group-[.toast]:opacity-100",
|
|
22
|
+
closeButton: "group-[.toast]:absolute group-[.toast]:left-auto group-[.toast]:right-0 group-[.toast]:top-16 group-[.toast]:w-24 group-[.toast]:h-24 group-[.toast]:inline-flex group-[.toast]:items-center group-[.toast]:justify-center group-[.toast]:rounded-full group-[.toast]:bg-gray-900-8 group-[.toast]:hover:bg-gray-900-12 group-[.toast]:focus:bg-gray-900-12 group-[.toast]:active:bg-gray-900-16"
|
|
76
23
|
}
|
|
77
|
-
|
|
24
|
+
},
|
|
25
|
+
icons: {
|
|
26
|
+
success: /* @__PURE__ */ t.jsx(e, { size: 20, className: "text-green-800" }),
|
|
27
|
+
warning: /* @__PURE__ */ t.jsx(s, { size: 20, className: "text-yellow-600" }),
|
|
28
|
+
error: /* @__PURE__ */ t.jsx(a, { size: 20, className: "text-magenta-600" }),
|
|
29
|
+
close: /* @__PURE__ */ t.jsx(g, { size: 16 })
|
|
30
|
+
},
|
|
31
|
+
...r
|
|
78
32
|
}
|
|
79
33
|
);
|
|
80
|
-
x.displayName = "TableHead";
|
|
81
|
-
const N = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
|
|
82
|
-
"td",
|
|
83
|
-
{
|
|
84
|
-
ref: r,
|
|
85
|
-
className: t(
|
|
86
|
-
"first:rounded-l first:pl-24 first:border-l",
|
|
87
|
-
"last:rounded-r last:pr-24 last:border-r",
|
|
88
|
-
"border-gray-900/8 border-y px-12 h-[54px]",
|
|
89
|
-
"whitespace-nowrap",
|
|
90
|
-
a
|
|
91
|
-
),
|
|
92
|
-
...e
|
|
93
|
-
}
|
|
94
|
-
));
|
|
95
|
-
N.displayName = "TableCell";
|
|
96
|
-
const w = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ s.jsx(
|
|
97
|
-
"caption",
|
|
98
|
-
{
|
|
99
|
-
ref: r,
|
|
100
|
-
className: t("mt-16 text-sm text-gray-700", a),
|
|
101
|
-
...e
|
|
102
|
-
}
|
|
103
|
-
));
|
|
104
|
-
w.displayName = "TableCaption";
|
|
105
34
|
export {
|
|
106
|
-
|
|
107
|
-
b as TableBody,
|
|
108
|
-
w as TableCaption,
|
|
109
|
-
N as TableCell,
|
|
110
|
-
f as TableFooter,
|
|
111
|
-
x as TableHead,
|
|
112
|
-
m as TableHeader,
|
|
113
|
-
y as TableRow
|
|
35
|
+
m as Toaster
|
|
114
36
|
};
|
|
115
37
|
//# sourceMappingURL=index29.js.map
|
package/dist/index29.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index29.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index29.js","sources":["../src/Sonner/index.tsx"],"sourcesContent":["'use client'\n\nimport {\n AlertCircleIcon,\n AlertTriangleIcon,\n CheckIcon,\n LucideX\n} from 'lucide-react'\nimport { Toaster as Sonner } from 'sonner'\nimport { cn } from '../lib/utils'\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>\n\nconst Toaster = ({ className, ...props }: ToasterProps) => {\n return (\n <Sonner\n className={cn('toaster group', className)}\n position=\"top-center\"\n offset={16}\n gap={16}\n closeButton={true}\n toastOptions={{\n unstyled: true,\n classNames: {\n toast:\n 'group toast group-[.toaster]:flex group-[.toaster]:pointer-events-auto group-[.toaster]:w-full group-[.toaster]:gap-x-8 group-[.toaster]:items-center group-[.toaster]:overflow-hidden group-[.toaster]:rounded group-[.toaster]:border group-[.toaster]:border-gray-900-8 group-[.toaster]:p-16 group-[.toaster]:pr-24 group-[.toaster]:shadow-200 group-[.toaster]:transition-all',\n success: 'group-[.toaster]:bg-green-50',\n warning: 'group-[.toaster]:bg-yellow-50',\n error: 'group-[.toaster]:bg-magenta-50',\n title:\n 'group-[.toast]:text-sm group-[.toast]:text-gray-900 group-[.toast]:font-medium',\n description:\n 'group-[.toast]:text-sm group-[.toast]:text-gray-800 group-[.toast]:opacity-100',\n closeButton:\n 'group-[.toast]:absolute group-[.toast]:left-auto group-[.toast]:right-0 group-[.toast]:top-16 group-[.toast]:w-24 group-[.toast]:h-24 group-[.toast]:inline-flex group-[.toast]:items-center group-[.toast]:justify-center group-[.toast]:rounded-full group-[.toast]:bg-gray-900-8 group-[.toast]:hover:bg-gray-900-12 group-[.toast]:focus:bg-gray-900-12 group-[.toast]:active:bg-gray-900-16'\n }\n }}\n icons={{\n success: <CheckIcon size={20} className=\"text-green-800\" />,\n warning: <AlertTriangleIcon size={20} className=\"text-yellow-600\" />,\n error: <AlertCircleIcon size={20} className=\"text-magenta-600\" />,\n close: <LucideX size={16} />\n }}\n {...props}\n />\n )\n}\n\nexport { Toaster }\n"],"names":["Toaster","className","props","jsx","Sonner","cn","CheckIcon","AlertTriangleIcon","AlertCircleIcon","LucideX"],"mappings":";;;;AAaA,MAAMA,IAAU,CAAC,EAAE,WAAAC,GAAW,GAAGC,QAE7BC,gBAAAA,EAAA;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,WAAWC,EAAG,iBAAiBJ,CAAS;AAAA,IACxC,UAAS;AAAA,IACT,QAAQ;AAAA,IACR,KAAK;AAAA,IACL,aAAa;AAAA,IACb,cAAc;AAAA,MACZ,UAAU;AAAA,MACV,YAAY;AAAA,QACV,OACE;AAAA,QACF,SAAS;AAAA,QACT,SAAS;AAAA,QACT,OAAO;AAAA,QACP,OACE;AAAA,QACF,aACE;AAAA,QACF,aACE;AAAA,MACJ;AAAA,IACF;AAAA,IACA,OAAO;AAAA,MACL,SAAUE,gBAAAA,EAAA,IAAAG,GAAA,EAAU,MAAM,IAAI,WAAU,kBAAiB;AAAA,MACzD,SAAUH,gBAAAA,EAAA,IAAAI,GAAA,EAAkB,MAAM,IAAI,WAAU,mBAAkB;AAAA,MAClE,OAAQJ,gBAAAA,EAAA,IAAAK,GAAA,EAAgB,MAAM,IAAI,WAAU,oBAAmB;AAAA,MAC/D,OAAOL,gBAAAA,EAAAA,IAACM,GAAQ,EAAA,MAAM,GAAI,CAAA;AAAA,IAC5B;AAAA,IACC,GAAGP;AAAA,EAAA;AAAA;"}
|
package/dist/index3.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const E={WHITE:"#FFF",GRAY_50:"#FAFCFB",GRAY_100:"#F5F7F6",GRAY_200:"#EEF0EF",GRAY_300:"#E3E5E4",GRAY_400:"#D7D9D8",GRAY_500:"#BDBFBE",GRAY_600:"#9EA09F",GRAY_700:"#757776",GRAY_800:"#616362",GRAY_900:"#3D3F3E",GREEN_50:"#F5FAF1",GREEN_100:"#E2F4D9",GREEN_200:"#C8E5B7",GREEN_300:"#A9D795",GREEN_400:"#8CCF74",GREEN_500:"#74B75B",GREEN_600:"#5C9D4A",GREEN_700:"#47823A",GREEN_800:"#356A2A",GREEN_900:"#2A5121",MAGENTA_50:"#FDF0F2",MAGENTA_100:"#F9D1D9",MAGENTA_200:"#F4A3B9",MAGENTA_300:"#F07799",MAGENTA_400:"#EC4A79",MAGENTA_500:"#E42E61",MAGENTA_600:"#D7285C",MAGENTA_700:"#C92C46",MAGENTA_800:"#B12A3E",MAGENTA_900:"#9D2134",PURPLE_50:"#FCF2FB",PURPLE_100:"#F0DFED",PURPLE_200:"#DCC5D7",PURPLE_300:"#C8B1C5",PURPLE_400:"#AE93AB",PURPLE_500:"#9A7E99",PURPLE_600:"#876888",PURPLE_700:"#715073",PURPLE_800:"#5C4060",PURPLE_900:"#47304D",ROBINBLUE_50:"#EEF2EC",ROBINBLUE_100:"#C6E6E1",ROBINBLUE_200:"#A0D5D2",ROBINBLUE_300:"#79C4C8",ROBINBLUE_400:"#54B4BB",ROBINBLUE_500:"#0098A3",ROBINBLUE_600:"#007A85",ROBINBLUE_700:"#006771",ROBINBLUE_800:"#005056",ROBINBLUE_900:"#003D40",YELLOW_50:"#FDF6EB",YELLOW_100:"#F9E8C7",YELLOW_200:"#F4D59E",YELLOW_300:"#F0C075",YELLOW_400:"#EBA64C",YELLOW_500:"#E78F23",YELLOW_600:"#D9771E",YELLOW_700:"#C85F1A",YELLOW_800:"#B64715",YELLOW_900:"#A03F10",CHART_BLUE:"#90BCF0",CHART_PURPLE:"#D18ECF",CHART_MAGENTA:"#F296A6",CHART_ORANGE:"#ECAE8F",CHART_YELLOW:"#D5C798",CHART_GREEN:"#C0DBBA"};exports.default=E;
|
|
2
2
|
//# sourceMappingURL=index3.cjs.map
|
package/dist/index3.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index3.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index3.cjs","sources":["../src/Colors.ts"],"sourcesContent":["const Colors = {\n WHITE: '#FFF',\n\n GRAY_50: '#FAFCFB',\n GRAY_100: '#F5F7F6',\n GRAY_200: '#EEF0EF',\n GRAY_300: '#E3E5E4',\n GRAY_400: '#D7D9D8',\n GRAY_500: '#BDBFBE',\n GRAY_600: '#9EA09F',\n GRAY_700: '#757776',\n GRAY_800: '#616362',\n GRAY_900: '#3D3F3E',\n\n GREEN_50: '#F5FAF1',\n GREEN_100: '#E2F4D9',\n GREEN_200: '#C8E5B7',\n GREEN_300: '#A9D795',\n GREEN_400: '#8CCF74',\n GREEN_500: '#74B75B',\n GREEN_600: '#5C9D4A',\n GREEN_700: '#47823A',\n GREEN_800: '#356A2A',\n GREEN_900: '#2A5121',\n\n MAGENTA_50: '#FDF0F2',\n MAGENTA_100: '#F9D1D9',\n MAGENTA_200: '#F4A3B9',\n MAGENTA_300: '#F07799',\n MAGENTA_400: '#EC4A79',\n MAGENTA_500: '#E42E61',\n MAGENTA_600: '#D7285C',\n MAGENTA_700: '#C92C46',\n MAGENTA_800: '#B12A3E',\n MAGENTA_900: '#9D2134',\n\n PURPLE_50: '#FCF2FB',\n PURPLE_100: '#F0DFED',\n PURPLE_200: '#DCC5D7',\n PURPLE_300: '#C8B1C5',\n PURPLE_400: '#AE93AB',\n PURPLE_500: '#9A7E99',\n PURPLE_600: '#876888',\n PURPLE_700: '#715073',\n PURPLE_800: '#5C4060',\n PURPLE_900: '#47304D',\n\n ROBINBLUE_50: '#EEF2EC',\n ROBINBLUE_100: '#C6E6E1',\n ROBINBLUE_200: '#A0D5D2',\n ROBINBLUE_300: '#79C4C8',\n ROBINBLUE_400: '#54B4BB',\n ROBINBLUE_500: '#0098A3',\n ROBINBLUE_600: '#007A85',\n ROBINBLUE_700: '#006771',\n ROBINBLUE_800: '#005056',\n ROBINBLUE_900: '#003D40',\n\n YELLOW_50: '#FDF6EB',\n YELLOW_100: '#F9E8C7',\n YELLOW_200: '#F4D59E',\n YELLOW_300: '#F0C075',\n YELLOW_400: '#EBA64C',\n YELLOW_500: '#E78F23',\n YELLOW_600: '#D9771E',\n YELLOW_700: '#C85F1A',\n YELLOW_800: '#B64715',\n YELLOW_900: '#A03F10',\n\n CHART_BLUE: '#90BCF0',\n CHART_PURPLE: '#D18ECF',\n CHART_MAGENTA: '#F296A6',\n CHART_ORANGE: '#ECAE8F',\n CHART_YELLOW: '#D5C798',\n CHART_GREEN: '#C0DBBA'\n}\n\nexport default Colors\n"],"names":["Colors"],"mappings":"4GAAA,MAAMA,EAAS,CACb,MAAO,OAEP,QAAS,UACT,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UACV,SAAU,UAEV,SAAU,UACV,UAAW,UACX,UAAW,UACX,UAAW,UACX,UAAW,UACX,UAAW,UACX,UAAW,UACX,UAAW,UACX,UAAW,UACX,UAAW,UAEX,WAAY,UACZ,YAAa,UACb,YAAa,UACb,YAAa,UACb,YAAa,UACb,YAAa,UACb,YAAa,UACb,YAAa,UACb,YAAa,UACb,YAAa,UAEb,UAAW,UACX,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UAEZ,aAAc,UACd,cAAe,UACf,cAAe,UACf,cAAe,UACf,cAAe,UACf,cAAe,UACf,cAAe,UACf,cAAe,UACf,cAAe,UACf,cAAe,UAEf,UAAW,UACX,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UACZ,WAAY,UAEZ,WAAY,UACZ,aAAc,UACd,cAAe,UACf,aAAc,UACd,aAAc,UACd,YAAa,SACf"}
|