@tulip-systems/core 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/components/client.d.mts +2 -1
  2. package/dist/components/client.mjs +2 -1
  3. package/dist/components/editor/extensions/file-handler/extension.d.mts +1 -1
  4. package/dist/components/editor/extensions/image/extension.d.mts +1 -1
  5. package/dist/components/editor/extensions/skeleton/extension.mjs +1 -1
  6. package/dist/components/editor/lib/constants.d.mts +1 -1
  7. package/dist/components/editor/lib/extensions.d.mts +1 -1
  8. package/dist/components/editor/lib/helpers.d.mts +5 -1
  9. package/dist/components/editor/lib/helpers.mjs +8 -1
  10. package/dist/components/layouts/root-layout.server.d.mts +3 -2
  11. package/dist/components/layouts/root-layout.server.mjs +1 -3
  12. package/dist/components/server.d.mts +2 -2
  13. package/dist/components/themes/color-theme-provider.client.d.mts +27 -0
  14. package/dist/components/themes/color-theme-provider.client.mjs +59 -0
  15. package/dist/components/themes/color-theme.d.mts +29 -0
  16. package/dist/components/themes/color-theme.mjs +32 -0
  17. package/dist/components/ui/badge.d.mts +1 -1
  18. package/dist/components/ui/button-group.d.mts +1 -1
  19. package/dist/components/ui/button.d.mts +2 -2
  20. package/dist/components/ui/field.client.d.mts +1 -1
  21. package/dist/components/ui/item.d.mts +1 -1
  22. package/dist/components.d.mts +3 -2
  23. package/dist/components.mjs +3 -2
  24. package/dist/modules/auth/handler/create-client.client.d.mts +4 -4
  25. package/dist/modules/inline/lib/variants.d.mts +1 -1
  26. package/dist/modules/storage/components/dropzone.client.d.mts +2 -2
  27. package/dist/modules/storage/lib/service.server.d.mts +15 -15
  28. package/dist/src/components/editor/extensions/file-handler/extension.d.mts +1 -1
  29. package/dist/src/components/editor/extensions/image/extension.d.mts +1 -1
  30. package/dist/src/components/editor/extensions/skeleton/extension.mjs +1 -1
  31. package/dist/src/components/editor/lib/constants.d.mts +1 -1
  32. package/dist/src/components/editor/lib/extensions.d.mts +1 -1
  33. package/dist/src/components/editor/lib/helpers.d.mts +5 -1
  34. package/dist/src/components/editor/lib/helpers.mjs +8 -1
  35. package/dist/src/components/layouts/root-layout.server.d.mts +3 -2
  36. package/dist/src/components/layouts/root-layout.server.mjs +1 -3
  37. package/dist/src/components/themes/color-theme-provider.client.d.mts +27 -0
  38. package/dist/src/components/themes/color-theme-provider.client.mjs +59 -0
  39. package/dist/src/components/themes/color-theme.d.mts +29 -0
  40. package/dist/src/components/themes/color-theme.mjs +32 -0
  41. package/dist/src/components/ui/badge.d.mts +1 -1
  42. package/dist/src/components/ui/button.d.mts +1 -1
  43. package/dist/src/components/ui/item.d.mts +1 -1
  44. package/dist/src/modules/auth/handler/create-client.client.d.mts +2 -2
  45. package/dist/src/modules/inline/lib/variants.d.mts +1 -1
  46. package/dist/src/modules/storage/lib/service.server.d.mts +21 -21
  47. package/package.json +1 -1
  48. package/src/components/editor/lib/helpers.ts +8 -0
  49. package/src/components/entry.client.ts +1 -1
  50. package/src/components/entry.ts +1 -1
  51. package/src/components/layouts/root-layout.server.tsx +4 -2
  52. package/src/components/themes/color-theme-provider.client.tsx +82 -0
  53. package/src/components/themes/color-theme.ts +32 -0
  54. package/src/styles.css +226 -2
@@ -12,6 +12,7 @@ import { Providers } from "../src/components/layouts/providers.client.mjs";
12
12
  import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../src/components/ui/tooltip.client.mjs";
13
13
  import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "../src/components/ui/sidebar.client.mjs";
14
14
  import { Path, PathGroup, PathGroupItems, PathGroupProps, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths } from "../src/components/navigation/admin-sidebar-paths.client.mjs";
15
+ import { ColorThemeProvider, useColorTheme } from "../src/components/themes/color-theme-provider.client.mjs";
15
16
  import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "../src/components/ui/accordion.client.mjs";
16
17
  import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "../src/components/ui/alert-dialog.client.mjs";
17
18
  import { AspectRatio } from "../src/components/ui/aspect-ratio.client.mjs";
@@ -45,4 +46,4 @@ import { Switch } from "../src/components/ui/switch.client.mjs";
45
46
  import { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants } from "../src/components/ui/tabs.client.mjs";
46
47
  import { Toggle, toggleVariants } from "../src/components/ui/toggle.client.mjs";
47
48
  import { ToggleGroup, ToggleGroupItem } from "../src/components/ui/toggle-group.client.mjs";
48
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdminContent, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, BottomBar, BottomBarLink, BottomBarLinks, BottomBarLinksProps, BottomBarProps, Calendar, CalendarDayButton, Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, ComboboxDropdown, ComboboxDropdownItem, ComboboxDropdownProps, ComboboxItem, ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandItemCheck, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, DatePickerProps, DateTimeInput, DateTimeInputProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Editor, EditorContent, EditorContext, EditorMenuBubble, EditorMenuFixed, EditorProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, InputGroup, InputGroupAddon, InputGroupButton, InputGroupDateInput, InputGroupDateTimeInput, InputGroupInput, InputGroupText, InputGroupTextarea, InputGroupTimeInput, Path, PathGroup, PathGroupItems, PathGroupProps, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps, editorVariants, tabsListVariants, toast, toggleVariants, useCarousel, useFormField, useSidebar };
49
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdminContent, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, BottomBar, BottomBarLink, BottomBarLinks, BottomBarLinksProps, BottomBarProps, Calendar, CalendarDayButton, Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, ColorThemeProvider, Combobox, ComboboxDropdown, ComboboxDropdownItem, ComboboxDropdownProps, ComboboxItem, ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandItemCheck, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, DatePickerProps, DateTimeInput, DateTimeInputProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Editor, EditorContent, EditorContext, EditorMenuBubble, EditorMenuFixed, EditorProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, InputGroup, InputGroupAddon, InputGroupButton, InputGroupDateInput, InputGroupDateTimeInput, InputGroupInput, InputGroupText, InputGroupTextarea, InputGroupTimeInput, Path, PathGroup, PathGroupItems, PathGroupProps, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps, editorVariants, tabsListVariants, toast, toggleVariants, useCarousel, useColorTheme, useFormField, useSidebar };
@@ -17,6 +17,7 @@ import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHe
17
17
  import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "../src/components/ui/sidebar.client.mjs";
18
18
  import { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage } from "../src/components/ui/avatar.client.mjs";
19
19
  import { Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths } from "../src/components/navigation/admin-sidebar-paths.client.mjs";
20
+ import { ColorThemeProvider, useColorTheme } from "../src/components/themes/color-theme-provider.client.mjs";
20
21
  import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "../src/components/ui/accordion.client.mjs";
21
22
  import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "../src/components/ui/alert-dialog.client.mjs";
22
23
  import { AspectRatio } from "../src/components/ui/aspect-ratio.client.mjs";
@@ -46,4 +47,4 @@ import { ToggleGroup, ToggleGroupItem } from "../src/components/ui/toggle-group.
46
47
  import { HeaderTopbarMobileNavSwitcher } from "../src/components/header/mobile-nav-switcher.client.mjs";
47
48
  import { Topbar, TopbarTitle, TopbarTools } from "../src/components/header/top-bar.client.mjs";
48
49
 
49
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdminContent, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, BottomBar, BottomBarLinks, Calendar, CalendarDayButton, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, ComboboxDropdown, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandItemCheck, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, DateTimeInput, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Editor, EditorContent, EditorContext, EditorMenuBubble, EditorMenuFixed, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, InputGroup, InputGroupAddon, InputGroupButton, InputGroupDateInput, InputGroupDateTimeInput, InputGroupInput, InputGroupText, InputGroupTextarea, InputGroupTimeInput, Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarTitle, TopbarTools, editorVariants, tabsListVariants, toast, toggleVariants, useCarousel, useFormField, useSidebar };
50
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdminContent, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, BottomBar, BottomBarLinks, Calendar, CalendarDayButton, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, ColorThemeProvider, Combobox, ComboboxDropdown, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandItemCheck, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, DateTimeInput, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Editor, EditorContent, EditorContext, EditorMenuBubble, EditorMenuFixed, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, InputGroup, InputGroupAddon, InputGroupButton, InputGroupDateInput, InputGroupDateTimeInput, InputGroupInput, InputGroupText, InputGroupTextarea, InputGroupTimeInput, Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarTitle, TopbarTools, editorVariants, tabsListVariants, toast, toggleVariants, useCarousel, useColorTheme, useFormField, useSidebar };
@@ -1,5 +1,5 @@
1
- import { FileHandlerOptions } from "@tiptap/extension-file-handler";
2
1
  import "@tiptap/core";
2
+ import { FileHandlerOptions } from "@tiptap/extension-file-handler";
3
3
 
4
4
  //#region src/components/editor/extensions/file-handler/extension.d.ts
5
5
  interface FileHandlerOptions$1 extends FileHandlerOptions {
@@ -1,5 +1,5 @@
1
- import { ImageOptions } from "@tiptap/extension-image";
2
1
  import "@tiptap/core";
2
+ import { ImageOptions } from "@tiptap/extension-image";
3
3
 
4
4
  //#region src/components/editor/extensions/image/extension.d.ts
5
5
  interface ImageOptions$1 extends ImageOptions {}
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
 
3
3
  import { SkeletonNodeRenderer } from "./renderer.mjs";
4
- import { ReactNodeViewRenderer } from "@tiptap/react";
5
4
  import { Node } from "@tiptap/core";
5
+ import { ReactNodeViewRenderer } from "@tiptap/react";
6
6
 
7
7
  //#region src/components/editor/extensions/skeleton/extension.ts
8
8
  const Skeleton = Node.create({
@@ -1,5 +1,6 @@
1
1
  import { FileHandlerOptions } from "../extensions/file-handler/extension.mjs";
2
2
  import { ImageOptions } from "../extensions/image/extension.mjs";
3
+ import * as _tiptap_core0 from "@tiptap/core";
3
4
  import * as _tiptap_extension_blockquote0 from "@tiptap/extension-blockquote";
4
5
  import * as _tiptap_extension_bold0 from "@tiptap/extension-bold";
5
6
  import * as _tiptap_extension_hard_break0 from "@tiptap/extension-hard-break";
@@ -14,7 +15,6 @@ import * as _tiptap_extension_underline0 from "@tiptap/extension-underline";
14
15
  import * as _tiptap_extension_highlight0 from "@tiptap/extension-highlight";
15
16
  import * as _tiptap_extension_text_style0 from "@tiptap/extension-text-style";
16
17
  import * as _tiptap_extensions0 from "@tiptap/extensions";
17
- import * as _tiptap_core0 from "@tiptap/core";
18
18
 
19
19
  //#region src/components/editor/lib/constants.d.ts
20
20
  /**
@@ -1,6 +1,7 @@
1
1
  import { FileHandlerOptions } from "../extensions/file-handler/extension.mjs";
2
2
  import { ImageOptions } from "../extensions/image/extension.mjs";
3
3
  import { EditorExtensions } from "./constants.mjs";
4
+ import "@tiptap/core";
4
5
  import { BlockquoteOptions } from "@tiptap/extension-blockquote";
5
6
  import { BoldOptions } from "@tiptap/extension-bold";
6
7
  import { HardBreakOptions } from "@tiptap/extension-hard-break";
@@ -16,7 +17,6 @@ import "@tiptap/react";
16
17
  import { HighlightOptions } from "@tiptap/extension-highlight";
17
18
  import { ColorOptions, TextStyleOptions } from "@tiptap/extension-text-style";
18
19
  import { DropcursorOptions, TrailingNodeOptions, UndoRedoOptions } from "@tiptap/extensions";
19
- import "@tiptap/core";
20
20
 
21
21
  //#region src/components/editor/lib/extensions.d.ts
22
22
  /**
@@ -17,5 +17,9 @@ declare function convertEditorContentToHTML(content: EditorJSONContent): string;
17
17
  * Convert editor content to markdown
18
18
  */
19
19
  declare function convertEditorContentToMarkdown(content: EditorJSONContent): string;
20
+ /**
21
+ * Convert editor content to plain text
22
+ */
23
+ declare function convertEditorContentToPlainText(content: EditorJSONContent): string;
20
24
  //#endregion
21
- export { convertEditorContentToHTML, convertEditorContentToMarkdown, convertHTMLToEditorContent, convertMarkdownToEditorContent };
25
+ export { convertEditorContentToHTML, convertEditorContentToMarkdown, convertEditorContentToPlainText, convertHTMLToEditorContent, convertMarkdownToEditorContent };
@@ -1,4 +1,5 @@
1
1
  import { markdownParser } from "../../../lib/utils/markdown.mjs";
2
+ import { generateText } from "@tiptap/core";
2
3
  import Blockquote from "@tiptap/extension-blockquote";
3
4
  import Bold from "@tiptap/extension-bold";
4
5
  import Document from "@tiptap/extension-document";
@@ -63,6 +64,12 @@ function convertEditorContentToMarkdown(content) {
63
64
  extensions: EXTENSIONS_FOR_GENERATION
64
65
  });
65
66
  }
67
+ /**
68
+ * Convert editor content to plain text
69
+ */
70
+ function convertEditorContentToPlainText(content) {
71
+ return generateText(content, EXTENSIONS_FOR_GENERATION);
72
+ }
66
73
 
67
74
  //#endregion
68
- export { convertEditorContentToHTML, convertEditorContentToMarkdown, convertHTMLToEditorContent, convertMarkdownToEditorContent };
75
+ export { convertEditorContentToHTML, convertEditorContentToMarkdown, convertEditorContentToPlainText, convertHTMLToEditorContent, convertMarkdownToEditorContent };
@@ -29,8 +29,9 @@ declare const generateRootLayoutMetadata: (config: TulipConfig) => {
29
29
  /**
30
30
  * Root layout
31
31
  */
32
+ type RootLayoutProps = PropsWithChildren;
32
33
  declare function RootLayout({
33
34
  children
34
- }: PropsWithChildren): react_jsx_runtime0.JSX.Element;
35
+ }: RootLayoutProps): react_jsx_runtime0.JSX.Element;
35
36
  //#endregion
36
- export { RootLayout, generateRootLayoutMetadata };
37
+ export { RootLayout, RootLayoutProps, generateRootLayoutMetadata };
@@ -29,12 +29,10 @@ const generateRootLayoutMetadata = (config) => ({
29
29
  }]
30
30
  }
31
31
  });
32
- /**
33
- * Root layout
34
- */
35
32
  function RootLayout({ children }) {
36
33
  return /* @__PURE__ */ jsx("html", {
37
34
  lang: "nl",
35
+ "data-theme": "tulip",
38
36
  children: /* @__PURE__ */ jsx("body", {
39
37
  className: cn("bg-background font-sans antialiased", registerFonts()),
40
38
  children
@@ -1,3 +1,3 @@
1
1
  import { AdminLayout } from "../src/components/layouts/admin-layout.mjs";
2
- import { RootLayout, generateRootLayoutMetadata } from "../src/components/layouts/root-layout.server.mjs";
3
- export { AdminLayout, RootLayout, generateRootLayoutMetadata };
2
+ import { RootLayout, RootLayoutProps, generateRootLayoutMetadata } from "../src/components/layouts/root-layout.server.mjs";
3
+ export { AdminLayout, RootLayout, RootLayoutProps, generateRootLayoutMetadata };
@@ -0,0 +1,27 @@
1
+ import { ColorTheme } from "./color-theme.mjs";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import { PropsWithChildren } from "react";
4
+
5
+ //#region src/components/themes/color-theme-provider.client.d.ts
6
+ type ColorThemeContextValue = {
7
+ colorTheme: ColorTheme;
8
+ setColorTheme: (theme: ColorTheme) => void;
9
+ colorThemes: readonly ColorTheme[];
10
+ };
11
+ /**
12
+ * Provides the current color theme and a setter to the component tree.
13
+ * The server provides the initial theme, then client interactions keep local state and the cookie in sync.
14
+ */
15
+ declare function ColorThemeProvider({
16
+ children,
17
+ theme
18
+ }: PropsWithChildren<{
19
+ theme: ColorTheme;
20
+ }>): react_jsx_runtime0.JSX.Element;
21
+ /**
22
+ * Returns the active color theme context for client components.
23
+ * It throws early when used outside the provider so incorrect usage fails loudly.
24
+ */
25
+ declare function useColorTheme(): ColorThemeContextValue;
26
+ //#endregion
27
+ export { ColorThemeProvider, useColorTheme };
@@ -0,0 +1,59 @@
1
+ "use client";
2
+
3
+ import { COLOR_THEME_STORAGE_KEY, colorThemes } from "./color-theme.mjs";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { createContext, use, useCallback, useEffect, useLayoutEffect, useMemo, useState } from "react";
6
+
7
+ //#region src/components/themes/color-theme-provider.client.tsx
8
+ const ColorThemeContext = createContext(null);
9
+ /**
10
+ * Persists the chosen theme in a cookie so the server can resolve it on the next request.
11
+ * Cookie failures are ignored because theme changes should still work in local React state.
12
+ */
13
+ function setStoredColorTheme(theme) {
14
+ try {
15
+ document.cookie = `${COLOR_THEME_STORAGE_KEY}=${theme}; path=/; max-age=31536000; samesite=lax`;
16
+ } catch {}
17
+ }
18
+ /**
19
+ * Provides the current color theme and a setter to the component tree.
20
+ * The server provides the initial theme, then client interactions keep local state and the cookie in sync.
21
+ */
22
+ function ColorThemeProvider({ children, theme }) {
23
+ const [colorTheme, setColorThemeState] = useState(theme);
24
+ useEffect(() => {
25
+ setColorThemeState(theme);
26
+ }, [theme]);
27
+ useLayoutEffect(() => {
28
+ document.documentElement.dataset.theme = colorTheme;
29
+ }, [colorTheme]);
30
+ const setColorTheme = useCallback((theme) => {
31
+ setColorThemeState(theme);
32
+ setStoredColorTheme(theme);
33
+ }, []);
34
+ const value = useMemo(() => ({
35
+ colorTheme,
36
+ setColorTheme,
37
+ colorThemes
38
+ }), [colorTheme, setColorTheme]);
39
+ return /* @__PURE__ */ jsx(ColorThemeContext.Provider, {
40
+ value,
41
+ children: /* @__PURE__ */ jsx("div", {
42
+ className: "contents",
43
+ "data-theme": colorTheme,
44
+ children
45
+ })
46
+ });
47
+ }
48
+ /**
49
+ * Returns the active color theme context for client components.
50
+ * It throws early when used outside the provider so incorrect usage fails loudly.
51
+ */
52
+ function useColorTheme() {
53
+ const context = use(ColorThemeContext);
54
+ if (!context) throw new Error("useColorTheme must be used within a ColorThemeProvider");
55
+ return context;
56
+ }
57
+
58
+ //#endregion
59
+ export { ColorThemeProvider, useColorTheme };
@@ -0,0 +1,29 @@
1
+ import z from "zod";
2
+ import { ReadonlyRequestCookies } from "next/dist/server/web/spec-extension/adapters/request-cookies";
3
+
4
+ //#region src/components/themes/color-theme.d.ts
5
+ /**
6
+ * Shared cookie key used by both server reads and client writes.
7
+ */
8
+ declare const COLOR_THEME_STORAGE_KEY = "tulip-color-theme";
9
+ /**
10
+ * All supported color theme names.
11
+ */
12
+ declare const colorThemes: readonly ["tulip", "rose", "iris", "sage"];
13
+ type ColorTheme = (typeof colorThemes)[number];
14
+ /**
15
+ * Validators
16
+ */
17
+ declare const colorThemeSchema: z.ZodEnum<{
18
+ tulip: "tulip";
19
+ rose: "rose";
20
+ iris: "iris";
21
+ sage: "sage";
22
+ }>;
23
+ /**
24
+ * Resolves a validated color theme from either a raw string value or a cookie store.
25
+ * Invalid, missing, or unsupported values are treated as undefined.
26
+ */
27
+ declare function getColorThemeValue(cookieStore: ReadonlyRequestCookies, fallback?: ColorTheme): ColorTheme;
28
+ //#endregion
29
+ export { COLOR_THEME_STORAGE_KEY, ColorTheme, colorThemeSchema, colorThemes, getColorThemeValue };
@@ -0,0 +1,32 @@
1
+ import z from "zod";
2
+
3
+ //#region src/components/themes/color-theme.ts
4
+ /**
5
+ * Shared cookie key used by both server reads and client writes.
6
+ */
7
+ const COLOR_THEME_STORAGE_KEY = "tulip-color-theme";
8
+ /**
9
+ * All supported color theme names.
10
+ */
11
+ const colorThemes = [
12
+ "tulip",
13
+ "rose",
14
+ "iris",
15
+ "sage"
16
+ ];
17
+ /**
18
+ * Validators
19
+ */
20
+ const colorThemeSchema = z.enum(colorThemes, { error: "Invalid color theme" });
21
+ /**
22
+ * Resolves a validated color theme from either a raw string value or a cookie store.
23
+ * Invalid, missing, or unsupported values are treated as undefined.
24
+ */
25
+ function getColorThemeValue(cookieStore, fallback = "tulip") {
26
+ const theme = cookieStore.get(COLOR_THEME_STORAGE_KEY)?.value;
27
+ const parsed = colorThemeSchema.safeParse(theme);
28
+ return parsed.success ? parsed.data : fallback;
29
+ }
30
+
31
+ //#endregion
32
+ export { COLOR_THEME_STORAGE_KEY, colorThemeSchema, colorThemes, getColorThemeValue };
@@ -5,7 +5,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
5
5
 
6
6
  //#region src/components/ui/badge.d.ts
7
7
  declare const badgeVariants: (props?: ({
8
- variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
8
+ variant?: "default" | "link" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined;
9
9
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
10
10
  declare function Badge({
11
11
  className,
@@ -5,7 +5,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
5
5
 
6
6
  //#region src/components/ui/button-group.d.ts
7
7
  declare const buttonGroupVariants: (props?: ({
8
- orientation?: "horizontal" | "vertical" | null | undefined;
8
+ orientation?: "vertical" | "horizontal" | null | undefined;
9
9
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
10
10
  declare function ButtonGroup({
11
11
  className,
@@ -5,8 +5,8 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
5
5
 
6
6
  //#region src/components/ui/button.d.ts
7
7
  declare const buttonVariants: (props?: ({
8
- variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
9
- size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
8
+ variant?: "default" | "link" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined;
9
+ size?: "default" | "xs" | "sm" | "icon-xs" | "icon-sm" | "lg" | "icon" | "icon-lg" | null | undefined;
10
10
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
11
11
  declare function Button({
12
12
  className,
@@ -20,7 +20,7 @@ declare function FieldGroup({
20
20
  ...props
21
21
  }: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
22
22
  declare const fieldVariants: (props?: ({
23
- orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
23
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
24
24
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
25
25
  declare function Field({
26
26
  className,
@@ -27,7 +27,7 @@ declare function Item({
27
27
  asChild?: boolean;
28
28
  }): react_jsx_runtime0.JSX.Element;
29
29
  declare const itemMediaVariants: (props?: ({
30
- variant?: "image" | "default" | "icon" | null | undefined;
30
+ variant?: "default" | "image" | "icon" | null | undefined;
31
31
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
32
32
  declare function ItemMedia({
33
33
  className,
@@ -4,13 +4,14 @@ import { ScrollArea, ScrollBar } from "./src/components/ui/scroll-area.mjs";
4
4
  import { Button, buttonVariants } from "./src/components/ui/button.mjs";
5
5
  import { Input } from "./src/components/ui/input.mjs";
6
6
  import { Separator } from "./src/components/ui/separator.mjs";
7
+ import { COLOR_THEME_STORAGE_KEY, ColorTheme, colorThemeSchema, colorThemes, getColorThemeValue } from "./src/components/themes/color-theme.mjs";
7
8
  import { Label } from "./src/components/ui/label.mjs";
8
9
  import { DateInput, DateInputProps } from "./src/components/ui/input-date.mjs";
9
10
  import { TimeInput, TimeInputProps } from "./src/components/ui/input-time.mjs";
10
11
  import { Icon, Icons } from "./src/components/common/icons.mjs";
11
12
  import { CreateStatusComponentProps, StatusBadge, StatusField, createStatusConfig, createStatusVariants, findStatus } from "./src/components/common/status.mjs";
12
13
  import { createFileHandlerUploadStrategy } from "./src/components/editor/extensions/file-handler/strategy.mjs";
13
- import { convertEditorContentToHTML, convertEditorContentToMarkdown, convertHTMLToEditorContent, convertMarkdownToEditorContent } from "./src/components/editor/lib/helpers.mjs";
14
+ import { convertEditorContentToHTML, convertEditorContentToMarkdown, convertEditorContentToPlainText, convertHTMLToEditorContent, convertMarkdownToEditorContent } from "./src/components/editor/lib/helpers.mjs";
14
15
  import { AdminErrorPage, AdminNotAllowedPage, AdminNotFoundPage } from "./src/components/layouts/admin-error-pages.mjs";
15
16
  import { AdminLoadingLayout } from "./src/components/layouts/admin-loading.mjs";
16
17
  import { EmptyPage, EmptyPageDescription, EmptyPageProps, EmptyPageTitle } from "./src/components/layouts/empty-page.mjs";
@@ -37,4 +38,4 @@ import { Skeleton } from "./src/components/ui/skeleton.mjs";
37
38
  import { Slider } from "./src/components/ui/slider.mjs";
38
39
  import { Spinner } from "./src/components/ui/spinner.mjs";
39
40
  import { Textarea } from "./src/components/ui/textarea.mjs";
40
- export { AdminErrorPage, AdminLoadingLayout, AdminNotAllowedPage, AdminNotFoundPage, Alert, AlertAction, AlertDescription, AlertTitle, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CreateStatusComponentProps, DataList, DataListItem, DataListItemProps, DataListProps, DataListTitle, DataListTitleProps, DataListValue, DataListValueProps, DataStack, DataStackColumn, DataStackColumnProps, DataStackGrid, DataStackGridProps, DataStackLayout, DataStackLayoutProps, DataStackProps, DataStackRow, DataStackRowProps, DataStackTitle, DataStackTitleProps, DataStackValue, DataStackValueProps, DateInput, DateInputProps, DefaultErrorSection, EditorJSONContent, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyPage, EmptyPageDescription, EmptyPageProps, EmptyPageTitle, EmptyTitle, ErrorPage, ErrorPageCode, ErrorPageDescription, ErrorPageIcon, Icon, Icons, Input, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, ListLayout, Loader, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotAllowedSection, NotFoundSection, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, RadioGroup, RadioGroupItem, RootLoading, RootNotFoundPage, ScrollArea, ScrollBar, Separator, ServerErrorSection, Skeleton, Slider, Spinner, StatusBadge, StatusField, Tab, TabLayout, TabLayoutProps, Textarea, TimeInput, TimeInputProps, badgeVariants, buttonGroupVariants, buttonVariants, convertEditorContentToHTML, convertEditorContentToMarkdown, convertHTMLToEditorContent, convertMarkdownToEditorContent, createFileHandlerUploadStrategy, createStatusConfig, createStatusVariants, findStatus, navigationMenuTriggerStyle };
41
+ export { AdminErrorPage, AdminLoadingLayout, AdminNotAllowedPage, AdminNotFoundPage, Alert, AlertAction, AlertDescription, AlertTitle, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, COLOR_THEME_STORAGE_KEY, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ColorTheme, CreateStatusComponentProps, DataList, DataListItem, DataListItemProps, DataListProps, DataListTitle, DataListTitleProps, DataListValue, DataListValueProps, DataStack, DataStackColumn, DataStackColumnProps, DataStackGrid, DataStackGridProps, DataStackLayout, DataStackLayoutProps, DataStackProps, DataStackRow, DataStackRowProps, DataStackTitle, DataStackTitleProps, DataStackValue, DataStackValueProps, DateInput, DateInputProps, DefaultErrorSection, EditorJSONContent, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyPage, EmptyPageDescription, EmptyPageProps, EmptyPageTitle, EmptyTitle, ErrorPage, ErrorPageCode, ErrorPageDescription, ErrorPageIcon, Icon, Icons, Input, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, ListLayout, Loader, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotAllowedSection, NotFoundSection, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, RadioGroup, RadioGroupItem, RootLoading, RootNotFoundPage, ScrollArea, ScrollBar, Separator, ServerErrorSection, Skeleton, Slider, Spinner, StatusBadge, StatusField, Tab, TabLayout, TabLayoutProps, Textarea, TimeInput, TimeInputProps, badgeVariants, buttonGroupVariants, buttonVariants, colorThemeSchema, colorThemes, convertEditorContentToHTML, convertEditorContentToMarkdown, convertEditorContentToPlainText, convertHTMLToEditorContent, convertMarkdownToEditorContent, createFileHandlerUploadStrategy, createStatusConfig, createStatusVariants, findStatus, getColorThemeValue, navigationMenuTriggerStyle };
@@ -2,13 +2,14 @@ import { Icons } from "./src/components/common/icons.mjs";
2
2
  import { Badge, badgeVariants } from "./src/components/ui/badge.mjs";
3
3
  import { StatusBadge, StatusField, createStatusConfig, createStatusVariants, findStatus } from "./src/components/common/status.mjs";
4
4
  import { createFileHandlerUploadStrategy } from "./src/components/editor/extensions/file-handler/strategy.mjs";
5
- import { convertEditorContentToHTML, convertEditorContentToMarkdown, convertHTMLToEditorContent, convertMarkdownToEditorContent } from "./src/components/editor/lib/helpers.mjs";
5
+ import { convertEditorContentToHTML, convertEditorContentToMarkdown, convertEditorContentToPlainText, convertHTMLToEditorContent, convertMarkdownToEditorContent } from "./src/components/editor/lib/helpers.mjs";
6
6
  import { Button, buttonVariants } from "./src/components/ui/button.mjs";
7
7
  import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "./src/components/ui/breadcrumb.mjs";
8
8
  import { ScrollArea, ScrollBar } from "./src/components/ui/scroll-area.mjs";
9
9
  import { Skeleton } from "./src/components/ui/skeleton.mjs";
10
10
  import { Input } from "./src/components/ui/input.mjs";
11
11
  import { Separator } from "./src/components/ui/separator.mjs";
12
+ import { COLOR_THEME_STORAGE_KEY, colorThemeSchema, colorThemes, getColorThemeValue } from "./src/components/themes/color-theme.mjs";
12
13
  import { Textarea } from "./src/components/ui/textarea.mjs";
13
14
  import { DateInput } from "./src/components/ui/input-date.mjs";
14
15
  import { TimeInput } from "./src/components/ui/input-time.mjs";
@@ -37,4 +38,4 @@ import { RadioGroup, RadioGroupItem } from "./src/components/ui/radio-group.mjs"
37
38
  import { Slider } from "./src/components/ui/slider.mjs";
38
39
  import { Spinner } from "./src/components/ui/spinner.mjs";
39
40
 
40
- export { AdminErrorPage, AdminLoadingLayout, AdminNotAllowedPage, AdminNotFoundPage, Alert, AlertAction, AlertDescription, AlertTitle, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, DataList, DataListItem, DataListTitle, DataListValue, DataStack, DataStackColumn, DataStackGrid, DataStackLayout, DataStackRow, DataStackTitle, DataStackValue, DateInput, DefaultErrorSection, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyPage, EmptyPageDescription, EmptyPageTitle, EmptyTitle, ErrorPage, ErrorPageCode, ErrorPageDescription, ErrorPageIcon, Icons, Input, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, ListLayout, Loader, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotAllowedSection, NotFoundSection, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, RadioGroup, RadioGroupItem, RootLoading, RootNotFoundPage, ScrollArea, ScrollBar, Separator, ServerErrorSection, Skeleton, Slider, Spinner, StatusBadge, StatusField, TabLayout, Textarea, TimeInput, badgeVariants, buttonGroupVariants, buttonVariants, convertEditorContentToHTML, convertEditorContentToMarkdown, convertHTMLToEditorContent, convertMarkdownToEditorContent, createFileHandlerUploadStrategy, createStatusConfig, createStatusVariants, findStatus, navigationMenuTriggerStyle };
41
+ export { AdminErrorPage, AdminLoadingLayout, AdminNotAllowedPage, AdminNotFoundPage, Alert, AlertAction, AlertDescription, AlertTitle, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, COLOR_THEME_STORAGE_KEY, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, DataList, DataListItem, DataListTitle, DataListValue, DataStack, DataStackColumn, DataStackGrid, DataStackLayout, DataStackRow, DataStackTitle, DataStackValue, DateInput, DefaultErrorSection, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyPage, EmptyPageDescription, EmptyPageTitle, EmptyTitle, ErrorPage, ErrorPageCode, ErrorPageDescription, ErrorPageIcon, Icons, Input, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, ListLayout, Loader, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotAllowedSection, NotFoundSection, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, RadioGroup, RadioGroupItem, RootLoading, RootNotFoundPage, ScrollArea, ScrollBar, Separator, ServerErrorSection, Skeleton, Slider, Spinner, StatusBadge, StatusField, TabLayout, Textarea, TimeInput, badgeVariants, buttonGroupVariants, buttonVariants, colorThemeSchema, colorThemes, convertEditorContentToHTML, convertEditorContentToMarkdown, convertEditorContentToPlainText, convertHTMLToEditorContent, convertMarkdownToEditorContent, createFileHandlerUploadStrategy, createStatusConfig, createStatusVariants, findStatus, getColorThemeValue, navigationMenuTriggerStyle };
@@ -185,7 +185,7 @@ declare function createAuthClient<TAccessControl extends AccessControl, TRoles e
185
185
  admin: {
186
186
  listUsers: <FetchOptions extends better_auth0.ClientFetchOption<never, Partial<{
187
187
  searchValue?: string | undefined;
188
- searchField?: "email" | "name" | undefined;
188
+ searchField?: "name" | "email" | undefined;
189
189
  searchOperator?: "contains" | "starts_with" | "ends_with" | undefined;
190
190
  limit?: string | number | undefined;
191
191
  offset?: string | number | undefined;
@@ -197,7 +197,7 @@ declare function createAuthClient<TAccessControl extends AccessControl, TRoles e
197
197
  }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth0.Prettify<{
198
198
  query: {
199
199
  searchValue?: string | undefined;
200
- searchField?: "email" | "name" | undefined;
200
+ searchField?: "name" | "email" | undefined;
201
201
  searchOperator?: "contains" | "starts_with" | "ends_with" | undefined;
202
202
  limit?: string | number | undefined;
203
203
  offset?: string | number | undefined;
@@ -773,7 +773,7 @@ declare function createAuthClient<TAccessControl extends AccessControl, TRoles e
773
773
  } & {
774
774
  signIn: {
775
775
  social: <FetchOptions extends better_auth0.ClientFetchOption<Partial<{
776
- provider: (string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat";
776
+ provider: "line" | (string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat";
777
777
  callbackURL?: string | undefined;
778
778
  newUserCallbackURL?: string | undefined;
779
779
  errorCallbackURL?: string | undefined;
@@ -797,7 +797,7 @@ declare function createAuthClient<TAccessControl extends AccessControl, TRoles e
797
797
  loginHint?: string | undefined;
798
798
  additionalData?: Record<string, any> | undefined;
799
799
  }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth0.Prettify<{
800
- provider: (string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat";
800
+ provider: "line" | (string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat";
801
801
  callbackURL?: string | undefined;
802
802
  newUserCallbackURL?: string | undefined;
803
803
  errorCallbackURL?: string | undefined;
@@ -4,7 +4,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
4
4
  //#region src/modules/inline/lib/variants.d.ts
5
5
  declare const inlineEditVariants: (props?: ({
6
6
  variant?: "default" | "table" | null | undefined;
7
- status?: "error" | "success" | "pending" | "idle" | null | undefined;
7
+ status?: "error" | "idle" | "pending" | "success" | null | undefined;
8
8
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
9
9
  type InlineEditVariantsProps = VariantProps<typeof inlineEditVariants>;
10
10
  //#endregion
@@ -36,7 +36,7 @@ type DropzoneContentProps = {
36
36
  declare function DropzoneContent({
37
37
  children,
38
38
  className
39
- }: DropzoneContentProps): string | number | bigint | true | react_jsx_runtime0.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null;
39
+ }: DropzoneContentProps): string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime0.JSX.Element | null;
40
40
  /**
41
41
  * DropzoneEmptyState
42
42
  */
@@ -47,6 +47,6 @@ type DropzoneEmptyStateProps = {
47
47
  declare function DropzoneEmptyState({
48
48
  children,
49
49
  className
50
- }: DropzoneEmptyStateProps): string | number | bigint | true | react_jsx_runtime0.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null;
50
+ }: DropzoneEmptyStateProps): string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime0.JSX.Element | null;
51
51
  //#endregion
52
52
  export { Dropzone, DropzoneContent, DropzoneContentProps, DropzoneEmptyState, DropzoneEmptyStateProps, DropzoneProps };
@@ -1915,19 +1915,19 @@ declare class Storage<TSchema extends TDatabaseSchema> {
1915
1915
  */
1916
1916
  presignUpload(props: PresignUploadInput): Promise<{
1917
1917
  presignedUrl: string;
1918
+ status: "error" | "pending" | "ready";
1918
1919
  id: string;
1920
+ metadata: unknown;
1921
+ key: string;
1922
+ name: string | null;
1923
+ size: number | null;
1919
1924
  createdAt: Date;
1920
1925
  updatedAt: Date;
1921
- name: string | null;
1922
- key: string;
1923
- metadata: unknown;
1924
1926
  provider: "s3";
1925
1927
  uploadId: string;
1926
1928
  visibility: "private" | "public";
1927
- size: number | null;
1928
1929
  contentType: string | null;
1929
1930
  bucket: string;
1930
- status: "error" | "pending" | "ready";
1931
1931
  etag: string | null;
1932
1932
  uploadedAt: Date;
1933
1933
  deletedAt: Date | null;
@@ -2164,19 +2164,19 @@ declare class Storage<TSchema extends TDatabaseSchema> {
2164
2164
  * @returns The purged asset record, or null if not found
2165
2165
  */
2166
2166
  purgeAsset(input: string): Promise<{
2167
+ status: "error" | "pending" | "ready";
2167
2168
  id: string;
2169
+ metadata: unknown;
2170
+ key: string;
2171
+ name: string | null;
2172
+ size: number | null;
2168
2173
  createdAt: Date;
2169
2174
  updatedAt: Date;
2170
- name: string | null;
2171
- key: string;
2172
- metadata: unknown;
2173
2175
  provider: "s3";
2174
2176
  uploadId: string;
2175
2177
  visibility: "private" | "public";
2176
- size: number | null;
2177
2178
  contentType: string | null;
2178
2179
  bucket: string;
2179
- status: "error" | "pending" | "ready";
2180
2180
  etag: string | null;
2181
2181
  uploadedAt: Date;
2182
2182
  deletedAt: Date | null;
@@ -2195,19 +2195,19 @@ declare class Storage<TSchema extends TDatabaseSchema> {
2195
2195
  * @throws {ServerError} If provider deletion fails
2196
2196
  */
2197
2197
  purgeAssets(input: string[]): Promise<{
2198
+ status: "error" | "pending" | "ready";
2198
2199
  id: string;
2200
+ metadata: unknown;
2201
+ key: string;
2202
+ name: string | null;
2203
+ size: number | null;
2199
2204
  createdAt: Date;
2200
2205
  updatedAt: Date;
2201
- name: string | null;
2202
- key: string;
2203
- metadata: unknown;
2204
2206
  provider: "s3";
2205
2207
  uploadId: string;
2206
2208
  visibility: "private" | "public";
2207
- size: number | null;
2208
2209
  contentType: string | null;
2209
2210
  bucket: string;
2210
- status: "error" | "pending" | "ready";
2211
2211
  etag: string | null;
2212
2212
  uploadedAt: Date;
2213
2213
  deletedAt: Date | null;
@@ -1,5 +1,5 @@
1
- import { FileHandlerOptions } from "@tiptap/extension-file-handler";
2
1
  import "@tiptap/core";
2
+ import { FileHandlerOptions } from "@tiptap/extension-file-handler";
3
3
 
4
4
  //#region src/components/editor/extensions/file-handler/extension.d.ts
5
5
  interface FileHandlerOptions$1 extends FileHandlerOptions {
@@ -1,5 +1,5 @@
1
- import { ImageOptions } from "@tiptap/extension-image";
2
1
  import "@tiptap/core";
2
+ import { ImageOptions } from "@tiptap/extension-image";
3
3
 
4
4
  //#region src/components/editor/extensions/image/extension.d.ts
5
5
  interface ImageOptions$1 extends ImageOptions {}