Compare commits
	
		
			No commits in common. "8c62f7addfe2bb4a2a7f7d2857746518519ddaad" and "ec96a1e9884645cd0e6446b7f90e393106ab358f" have entirely different histories.
		
	
	
		
			8c62f7addf
			...
			ec96a1e988
		
	
		|  | @ -13,7 +13,6 @@ | ||||||
|     "@hookform/resolvers": "^3.6.0", |     "@hookform/resolvers": "^3.6.0", | ||||||
|     "@prisma/client": "^5.15.0", |     "@prisma/client": "^5.15.0", | ||||||
|     "@radix-ui/react-checkbox": "^1.0.4", |     "@radix-ui/react-checkbox": "^1.0.4", | ||||||
|     "@radix-ui/react-dialog": "^1.1.0", |  | ||||||
|     "@radix-ui/react-dropdown-menu": "^2.0.6", |     "@radix-ui/react-dropdown-menu": "^2.0.6", | ||||||
|     "@radix-ui/react-icons": "^1.3.0", |     "@radix-ui/react-icons": "^1.3.0", | ||||||
|     "@radix-ui/react-label": "^2.0.2", |     "@radix-ui/react-label": "^2.0.2", | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ const badgeVariants = cva( | ||||||
|     variants: { |     variants: { | ||||||
|       variant: { |       variant: { | ||||||
|         default: |         default: | ||||||
|           "border-transparent bg-primary text-primary-foreground", |           "border-transparent bg-primary text-primary-foreground hover:bg-primary/80", | ||||||
|         secondary: |         secondary: | ||||||
|           "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80", |           "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80", | ||||||
|         destructive: |         destructive: | ||||||
|  |  | ||||||
|  | @ -1,122 +0,0 @@ | ||||||
| "use client" |  | ||||||
| 
 |  | ||||||
| import * as React from "react" |  | ||||||
| import * as DialogPrimitive from "@radix-ui/react-dialog" |  | ||||||
| import { X } from "lucide-react" |  | ||||||
| 
 |  | ||||||
| import { cn } from "@/lib/utils" |  | ||||||
| 
 |  | ||||||
| const Dialog = DialogPrimitive.Root |  | ||||||
| 
 |  | ||||||
| const DialogTrigger = DialogPrimitive.Trigger |  | ||||||
| 
 |  | ||||||
| const DialogPortal = DialogPrimitive.Portal |  | ||||||
| 
 |  | ||||||
| const DialogClose = DialogPrimitive.Close |  | ||||||
| 
 |  | ||||||
| const DialogOverlay = React.forwardRef< |  | ||||||
|   React.ElementRef<typeof DialogPrimitive.Overlay>, |  | ||||||
|   React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay> |  | ||||||
| >(({ className, ...props }, ref) => ( |  | ||||||
|   <DialogPrimitive.Overlay |  | ||||||
|     ref={ref} |  | ||||||
|     className={cn( |  | ||||||
|       "fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", |  | ||||||
|       className |  | ||||||
|     )} |  | ||||||
|     {...props} |  | ||||||
|   /> |  | ||||||
| )) |  | ||||||
| DialogOverlay.displayName = DialogPrimitive.Overlay.displayName |  | ||||||
| 
 |  | ||||||
| const DialogContent = React.forwardRef< |  | ||||||
|   React.ElementRef<typeof DialogPrimitive.Content>, |  | ||||||
|   React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> |  | ||||||
| >(({ className, children, ...props }, ref) => ( |  | ||||||
|   <DialogPortal> |  | ||||||
|     <DialogOverlay /> |  | ||||||
|     <DialogPrimitive.Content |  | ||||||
|       ref={ref} |  | ||||||
|       className={cn( |  | ||||||
|         "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", |  | ||||||
|         className |  | ||||||
|       )} |  | ||||||
|       {...props} |  | ||||||
|     > |  | ||||||
|       {children} |  | ||||||
|       <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"> |  | ||||||
|         <X className="h-4 w-4" /> |  | ||||||
|         <span className="sr-only">Close</span> |  | ||||||
|       </DialogPrimitive.Close> |  | ||||||
|     </DialogPrimitive.Content> |  | ||||||
|   </DialogPortal> |  | ||||||
| )) |  | ||||||
| DialogContent.displayName = DialogPrimitive.Content.displayName |  | ||||||
| 
 |  | ||||||
| const DialogHeader = ({ |  | ||||||
|   className, |  | ||||||
|   ...props |  | ||||||
| }: React.HTMLAttributes<HTMLDivElement>) => ( |  | ||||||
|   <div |  | ||||||
|     className={cn( |  | ||||||
|       "flex flex-col space-y-1.5 text-center sm:text-left", |  | ||||||
|       className |  | ||||||
|     )} |  | ||||||
|     {...props} |  | ||||||
|   /> |  | ||||||
| ) |  | ||||||
| DialogHeader.displayName = "DialogHeader" |  | ||||||
| 
 |  | ||||||
| const DialogFooter = ({ |  | ||||||
|   className, |  | ||||||
|   ...props |  | ||||||
| }: React.HTMLAttributes<HTMLDivElement>) => ( |  | ||||||
|   <div |  | ||||||
|     className={cn( |  | ||||||
|       "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", |  | ||||||
|       className |  | ||||||
|     )} |  | ||||||
|     {...props} |  | ||||||
|   /> |  | ||||||
| ) |  | ||||||
| DialogFooter.displayName = "DialogFooter" |  | ||||||
| 
 |  | ||||||
| const DialogTitle = React.forwardRef< |  | ||||||
|   React.ElementRef<typeof DialogPrimitive.Title>, |  | ||||||
|   React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title> |  | ||||||
| >(({ className, ...props }, ref) => ( |  | ||||||
|   <DialogPrimitive.Title |  | ||||||
|     ref={ref} |  | ||||||
|     className={cn( |  | ||||||
|       "text-lg font-semibold leading-none tracking-tight", |  | ||||||
|       className |  | ||||||
|     )} |  | ||||||
|     {...props} |  | ||||||
|   /> |  | ||||||
| )) |  | ||||||
| DialogTitle.displayName = DialogPrimitive.Title.displayName |  | ||||||
| 
 |  | ||||||
| const DialogDescription = React.forwardRef< |  | ||||||
|   React.ElementRef<typeof DialogPrimitive.Description>, |  | ||||||
|   React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description> |  | ||||||
| >(({ className, ...props }, ref) => ( |  | ||||||
|   <DialogPrimitive.Description |  | ||||||
|     ref={ref} |  | ||||||
|     className={cn("text-sm text-muted-foreground", className)} |  | ||||||
|     {...props} |  | ||||||
|   /> |  | ||||||
| )) |  | ||||||
| DialogDescription.displayName = DialogPrimitive.Description.displayName |  | ||||||
| 
 |  | ||||||
| export { |  | ||||||
|   Dialog, |  | ||||||
|   DialogPortal, |  | ||||||
|   DialogOverlay, |  | ||||||
|   DialogClose, |  | ||||||
|   DialogTrigger, |  | ||||||
|   DialogContent, |  | ||||||
|   DialogHeader, |  | ||||||
|   DialogFooter, |  | ||||||
|   DialogTitle, |  | ||||||
|   DialogDescription, |  | ||||||
| } |  | ||||||
|  | @ -2,7 +2,6 @@ import type { Metadata } from "next"; | ||||||
| import { Inter } from "next/font/google"; | import { Inter } from "next/font/google"; | ||||||
| import { Toaster } from "@/components/ui/toaster"; | import { Toaster } from "@/components/ui/toaster"; | ||||||
| import "./tailwind.css"; | import "./tailwind.css"; | ||||||
| import Link from "next/link"; |  | ||||||
| 
 | 
 | ||||||
| const inter = Inter({ subsets: ["latin"] }); | const inter = Inter({ subsets: ["latin"] }); | ||||||
| 
 | 
 | ||||||
|  | @ -19,13 +18,11 @@ export default function RootLayout({ | ||||||
|   return ( |   return ( | ||||||
|     <html lang="en"> |     <html lang="en"> | ||||||
|       <body className={inter.className}> |       <body className={inter.className}> | ||||||
|         <div id="layout-container" className="flex"> |  | ||||||
|         <div id="sidebar"> |         <div id="sidebar"> | ||||||
|             <Link href="/story/create"><h1>Create Story</h1></Link> |           SIDEBAR | ||||||
|             <Link href="/publication/create"><h1>Create Publication</h1></Link> |  | ||||||
|         </div> |         </div> | ||||||
|         {children} |         {children} | ||||||
|         </div> | 
 | ||||||
|         <Toaster /> |         <Toaster /> | ||||||
|       </body> |       </body> | ||||||
|     </html> |     </html> | ||||||
|  |  | ||||||
|  | @ -5,21 +5,13 @@ import { ArrowUpDown, MoreHorizontal } from "lucide-react" | ||||||
| import { Button } from "@/components/ui/button" | import { Button } from "@/components/ui/button" | ||||||
| import { Badge } from "@/components/ui/badge" | import { Badge } from "@/components/ui/badge" | ||||||
| import { Trash2, Search } from "lucide-react" | import { Trash2, Search } from "lucide-react" | ||||||
| import { |  | ||||||
|   Dialog, |  | ||||||
|   DialogContent, |  | ||||||
|   DialogDescription, |  | ||||||
|   DialogFooter, |  | ||||||
|   DialogHeader, |  | ||||||
|   DialogTitle, |  | ||||||
|   DialogTrigger, |  | ||||||
| } from "@/components/ui/dialog" |  | ||||||
| import { deleteStory } from "app/lib/del" | import { deleteStory } from "app/lib/del" | ||||||
| import Link from "next/link" | import Link from "next/link" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| const columnHelper = createColumnHelper<StoryWithGenres>() | const columnHelper = createColumnHelper<StoryWithGenres>() | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
| export const columns: ColumnDef<StoryWithGenres>[] = [ | export const columns: ColumnDef<StoryWithGenres>[] = [ | ||||||
|   { |   { | ||||||
|     accessorKey: "title", |     accessorKey: "title", | ||||||
|  | @ -64,26 +56,9 @@ export const columns: ColumnDef<StoryWithGenres>[] = [ | ||||||
|     cell: ({ row }) => { |     cell: ({ row }) => { | ||||||
|       return <div className="flex items-center justify-around"> |       return <div className="flex items-center justify-around"> | ||||||
|         <Link href={`/story/${row.original.id}`}><Search /></Link> |         <Link href={`/story/${row.original.id}`}><Search /></Link> | ||||||
|         <Dialog> |         <Button variant="ghost" | ||||||
|           <DialogTrigger asChild> |           onClick={() => { deleteStory(row.original.id) }}> | ||||||
|             <Button variant="ghost"><Trash2 color="red" /></Button> |           <Trash2 color="red" /></Button> | ||||||
|           </DialogTrigger> |  | ||||||
|           <DialogContent> |  | ||||||
|             <DialogHeader> |  | ||||||
|               <DialogTitle>Are you sure?</DialogTitle> |  | ||||||
|               <DialogDescription> |  | ||||||
|                 Deleting a story cannot be undone! |  | ||||||
|               </DialogDescription> |  | ||||||
|             </DialogHeader> |  | ||||||
|             <DialogFooter> |  | ||||||
|               <Button variant="destructive" |  | ||||||
|                 onClick={() => { |  | ||||||
|                   deleteStory(row.original.id) |  | ||||||
|                 }}>Yes, delete it! |  | ||||||
|               </Button> |  | ||||||
|             </DialogFooter> |  | ||||||
|           </DialogContent> |  | ||||||
|         </Dialog> |  | ||||||
|       </div> |       </div> | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  | @ -600,18 +600,6 @@ body { | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .sr-only { |  | ||||||
|   position: absolute; |  | ||||||
|   width: 1px; |  | ||||||
|   height: 1px; |  | ||||||
|   padding: 0; |  | ||||||
|   margin: -1px; |  | ||||||
|   overflow: hidden; |  | ||||||
|   clip: rect(0, 0, 0, 0); |  | ||||||
|   white-space: nowrap; |  | ||||||
|   border-width: 0; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .pointer-events-auto { | .pointer-events-auto { | ||||||
|   pointer-events: auto; |   pointer-events: auto; | ||||||
| } | } | ||||||
|  | @ -632,10 +620,6 @@ body { | ||||||
|   position: relative; |   position: relative; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .inset-0 { |  | ||||||
|   inset: 0px; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .left-1 { | .left-1 { | ||||||
|   left: 0.25rem; |   left: 0.25rem; | ||||||
| } | } | ||||||
|  | @ -660,22 +644,6 @@ body { | ||||||
|   top: 0.5rem; |   top: 0.5rem; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .left-\[50\%\] { |  | ||||||
|   left: 50%; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .right-4 { |  | ||||||
|   right: 1rem; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .top-4 { |  | ||||||
|   top: 1rem; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .top-\[50\%\] { |  | ||||||
|   top: 50%; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .z-50 { | .z-50 { | ||||||
|   z-index: 50; |   z-index: 50; | ||||||
| } | } | ||||||
|  | @ -877,10 +845,6 @@ body { | ||||||
|   max-width: 24rem; |   max-width: 24rem; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .max-w-lg { |  | ||||||
|   max-width: 32rem; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .shrink-0 { | .shrink-0 { | ||||||
|   flex-shrink: 0; |   flex-shrink: 0; | ||||||
| } | } | ||||||
|  | @ -893,16 +857,6 @@ body { | ||||||
|   border-collapse: collapse; |   border-collapse: collapse; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .translate-x-\[-50\%\] { |  | ||||||
|   --tw-translate-x: -50%; |  | ||||||
|   transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .translate-y-\[-50\%\] { |  | ||||||
|   --tw-translate-y: -50%; |  | ||||||
|   transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .transform { | .transform { | ||||||
|   transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); |   transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); | ||||||
| } | } | ||||||
|  | @ -957,10 +911,6 @@ body { | ||||||
|   justify-content: space-around; |   justify-content: space-around; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .justify-items-center { |  | ||||||
|   justify-items: center; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .gap-1 { | .gap-1 { | ||||||
|   gap: 0.25rem; |   gap: 0.25rem; | ||||||
| } | } | ||||||
|  | @ -969,10 +919,6 @@ body { | ||||||
|   gap: 0.5rem; |   gap: 0.5rem; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .gap-4 { |  | ||||||
|   gap: 1rem; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .space-x-1 > :not([hidden]) ~ :not([hidden]) { | .space-x-1 > :not([hidden]) ~ :not([hidden]) { | ||||||
|   --tw-space-x-reverse: 0; |   --tw-space-x-reverse: 0; | ||||||
|   margin-right: calc(0.25rem * var(--tw-space-x-reverse)); |   margin-right: calc(0.25rem * var(--tw-space-x-reverse)); | ||||||
|  | @ -1033,12 +979,6 @@ body { | ||||||
|   margin-bottom: calc(2rem * var(--tw-space-y-reverse)); |   margin-bottom: calc(2rem * var(--tw-space-y-reverse)); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { |  | ||||||
|   --tw-space-y-reverse: 0; |  | ||||||
|   margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse))); |  | ||||||
|   margin-bottom: calc(0.375rem * var(--tw-space-y-reverse)); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .justify-self-start { | .justify-self-start { | ||||||
|   justify-self: start; |   justify-self: start; | ||||||
| } | } | ||||||
|  | @ -1144,10 +1084,6 @@ body { | ||||||
|   background-color: transparent; |   background-color: transparent; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .bg-black\/80 { |  | ||||||
|   background-color: rgb(0 0 0 / 0.8); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .fill-current { | .fill-current { | ||||||
|   fill: currentColor; |   fill: currentColor; | ||||||
| } | } | ||||||
|  | @ -1288,11 +1224,6 @@ body { | ||||||
|   line-height: 1rem; |   line-height: 1rem; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .text-lg { |  | ||||||
|   font-size: 1.125rem; |  | ||||||
|   line-height: 1.75rem; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .font-black { | .font-black { | ||||||
|   font-weight: 900; |   font-weight: 900; | ||||||
| } | } | ||||||
|  | @ -1317,22 +1248,10 @@ body { | ||||||
|   line-height: 1; |   line-height: 1; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .leading-normal { |  | ||||||
|   line-height: 1.5; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .leading-tight { |  | ||||||
|   line-height: 1.25; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .tracking-widest { | .tracking-widest { | ||||||
|   letter-spacing: 0.1em; |   letter-spacing: 0.1em; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .tracking-tight { |  | ||||||
|   letter-spacing: -0.025em; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .text-accent-foreground { | .text-accent-foreground { | ||||||
|   color: hsl(var(--accent-foreground)); |   color: hsl(var(--accent-foreground)); | ||||||
| } | } | ||||||
|  | @ -1406,10 +1325,6 @@ body { | ||||||
|   opacity: 0.9; |   opacity: 0.9; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .opacity-70 { |  | ||||||
|   opacity: 0.7; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .shadow-lg { | .shadow-lg { | ||||||
|   --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); |   --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); | ||||||
|   --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); |   --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); | ||||||
|  | @ -1457,10 +1372,6 @@ body { | ||||||
|   transition-duration: 150ms; |   transition-duration: 150ms; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .duration-200 { |  | ||||||
|   transition-duration: 200ms; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| @keyframes enter { | @keyframes enter { | ||||||
|   from { |   from { | ||||||
|     opacity: var(--tw-enter-opacity, 1); |     opacity: var(--tw-enter-opacity, 1); | ||||||
|  | @ -1475,10 +1386,6 @@ body { | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .duration-200 { |  | ||||||
|   animation-duration: 200ms; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .file\:border-0::file-selector-button { | .file\:border-0::file-selector-button { | ||||||
|   border-width: 0px; |   border-width: 0px; | ||||||
| } | } | ||||||
|  | @ -1548,10 +1455,6 @@ body { | ||||||
|   background-color: hsl(var(--primary) / 0.8); |   background-color: hsl(var(--primary) / 0.8); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .hover\:bg-primary\/100:hover { |  | ||||||
|   background-color: hsl(var(--primary) / 1); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .hover\:text-accent-foreground:hover { | .hover\:text-accent-foreground:hover { | ||||||
|   color: hsl(var(--accent-foreground)); |   color: hsl(var(--accent-foreground)); | ||||||
| } | } | ||||||
|  | @ -1772,10 +1675,6 @@ body { | ||||||
|   color: hsl(var(--primary-foreground)); |   color: hsl(var(--primary-foreground)); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .data-\[state\=open\]\:text-muted-foreground[data-state=open] { |  | ||||||
|   color: hsl(var(--muted-foreground)); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .data-\[disabled\]\:opacity-50[data-disabled] { | .data-\[disabled\]\:opacity-50[data-disabled] { | ||||||
|   opacity: 0.5; |   opacity: 0.5; | ||||||
| } | } | ||||||
|  | @ -1858,22 +1757,6 @@ body { | ||||||
|   --tw-enter-translate-y: -100%; |   --tw-enter-translate-y: -100%; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed] { |  | ||||||
|   --tw-exit-translate-x: -50%; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed] { |  | ||||||
|   --tw-exit-translate-y: -48%; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open] { |  | ||||||
|   --tw-enter-translate-x: -50%; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open] { |  | ||||||
|   --tw-enter-translate-y: -48%; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| @media (min-width: 640px) { | @media (min-width: 640px) { | ||||||
|   .sm\:bottom-0 { |   .sm\:bottom-0 { | ||||||
|     bottom: 0px; |     bottom: 0px; | ||||||
|  | @ -1895,10 +1778,6 @@ body { | ||||||
|     flex-direction: column; |     flex-direction: column; | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   .sm\:justify-end { |  | ||||||
|     justify-content: flex-end; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   .sm\:space-x-4 > :not([hidden]) ~ :not([hidden]) { |   .sm\:space-x-4 > :not([hidden]) ~ :not([hidden]) { | ||||||
|     --tw-space-x-reverse: 0; |     --tw-space-x-reverse: 0; | ||||||
|     margin-right: calc(1rem * var(--tw-space-x-reverse)); |     margin-right: calc(1rem * var(--tw-space-x-reverse)); | ||||||
|  | @ -1911,20 +1790,6 @@ body { | ||||||
|     margin-bottom: calc(0px * var(--tw-space-y-reverse)); |     margin-bottom: calc(0px * var(--tw-space-y-reverse)); | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   .sm\:space-x-2 > :not([hidden]) ~ :not([hidden]) { |  | ||||||
|     --tw-space-x-reverse: 0; |  | ||||||
|     margin-right: calc(0.5rem * var(--tw-space-x-reverse)); |  | ||||||
|     margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse))); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   .sm\:rounded-lg { |  | ||||||
|     border-radius: var(--radius); |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   .sm\:text-left { |  | ||||||
|     text-align: left; |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   .data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open] { |   .data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open] { | ||||||
|     --tw-enter-translate-y: 100%; |     --tw-enter-translate-y: 100%; | ||||||
|   } |   } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue