@vibecms/core 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine/index.d.mts +4 -0
- package/dist/engine/index.d.ts +4 -0
- package/dist/engine/index.js +1226 -0
- package/dist/engine/index.js.map +1 -0
- package/dist/engine/index.mjs +1184 -0
- package/dist/engine/index.mjs.map +1 -0
- package/dist/hooks/index.d.mts +27 -0
- package/dist/hooks/index.d.ts +27 -0
- package/dist/hooks/index.js +75 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/index.mjs +47 -0
- package/dist/hooks/index.mjs.map +1 -0
- package/dist/index-C3P1J_of.d.ts +339 -0
- package/dist/index-CO4uwTdH.d.mts +339 -0
- package/dist/index.css +2326 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +412 -0
- package/dist/index.d.ts +412 -0
- package/dist/index.js +3715 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +3587 -0
- package/dist/index.mjs.map +1 -0
- package/dist/storage/index.d.mts +32 -0
- package/dist/storage/index.d.ts +32 -0
- package/dist/storage/index.js +103 -0
- package/dist/storage/index.js.map +1 -0
- package/dist/storage/index.mjs +75 -0
- package/dist/storage/index.mjs.map +1 -0
- package/dist/types-BkDsDmQJ.d.mts +83 -0
- package/dist/types-BkDsDmQJ.d.ts +83 -0
- package/dist/ui/index.d.mts +127 -0
- package/dist/ui/index.d.ts +127 -0
- package/dist/ui/index.js +1119 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/index.mjs +1030 -0
- package/dist/ui/index.mjs.map +1 -0
- package/dist/vite-plugin.d.mts +8 -0
- package/dist/vite-plugin.d.ts +8 -0
- package/dist/vite-plugin.js +193 -0
- package/dist/vite-plugin.js.map +1 -0
- package/dist/vite-plugin.mjs +165 -0
- package/dist/vite-plugin.mjs.map +1 -0
- package/package.json +89 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as _base_ui_react from '@base-ui/react';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
+
import { Command as Command$1 } from 'cmdk';
|
|
7
|
+
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
8
|
+
import { Popover as Popover$1 } from '@base-ui/react/popover';
|
|
9
|
+
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
10
|
+
|
|
11
|
+
declare const buttonVariants: (props?: ({
|
|
12
|
+
variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | null | undefined;
|
|
13
|
+
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
14
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<_base_ui_react.ButtonProps & VariantProps<(props?: ({
|
|
16
|
+
variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | null | undefined;
|
|
17
|
+
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
18
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
|
|
20
|
+
declare function Dialog({ ...props }: Dialog$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
21
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<Omit<Dialog$1.Trigger.Props<unknown>, "ref"> & React.RefAttributes<HTMLButtonElement | HTMLElement>>;
|
|
22
|
+
declare function DialogPortal({ ...props }: Dialog$1.Portal.Props): react_jsx_runtime.JSX.Element;
|
|
23
|
+
declare const DialogClose: React.ForwardRefExoticComponent<Omit<_base_ui_react.DialogCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
24
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<_base_ui_react.DialogBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
declare function DialogContent({ className, children, showCloseButton, ...props }: Dialog$1.Popup.Props & {
|
|
26
|
+
showCloseButton?: boolean;
|
|
27
|
+
}): react_jsx_runtime.JSX.Element;
|
|
28
|
+
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
29
|
+
declare function DialogFooter({ className, showCloseButton, children, ...props }: React.ComponentProps<"div"> & {
|
|
30
|
+
showCloseButton?: boolean;
|
|
31
|
+
}): react_jsx_runtime.JSX.Element;
|
|
32
|
+
declare function DialogTitle({ className, ...props }: Dialog$1.Title.Props): react_jsx_runtime.JSX.Element;
|
|
33
|
+
declare function DialogDescription({ className, ...props }: Dialog$1.Description.Props): react_jsx_runtime.JSX.Element;
|
|
34
|
+
|
|
35
|
+
declare function Command({ className, ...props }: React.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
36
|
+
declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: Omit<React.ComponentProps<typeof Dialog>, "children"> & {
|
|
37
|
+
title?: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
className?: string;
|
|
40
|
+
showCloseButton?: boolean;
|
|
41
|
+
children: React.ReactNode;
|
|
42
|
+
}): react_jsx_runtime.JSX.Element;
|
|
43
|
+
declare function CommandInput({ className, ...props }: React.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
44
|
+
declare function CommandList({ className, ...props }: React.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
45
|
+
declare function CommandEmpty({ className, ...props }: React.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
46
|
+
declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
47
|
+
declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
48
|
+
declare function CommandItem({ className, children, ...props }: React.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
49
|
+
declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
50
|
+
|
|
51
|
+
declare const InputGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
53
|
+
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
54
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
55
|
+
declare const inputGroupButtonVariants: (props?: ({
|
|
56
|
+
size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
|
|
57
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
58
|
+
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size" | "type"> & VariantProps<typeof inputGroupButtonVariants> & {
|
|
59
|
+
type?: "button" | "submit" | "reset";
|
|
60
|
+
}): react_jsx_runtime.JSX.Element;
|
|
61
|
+
declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare function InputGroupInput({ className, ...props }: React.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
63
|
+
declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
64
|
+
|
|
65
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
66
|
+
|
|
67
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
68
|
+
|
|
69
|
+
declare function Popover({ ...props }: Popover$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
70
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<Popover$1.Trigger.Props<unknown>, "ref"> & React.RefAttributes<HTMLButtonElement | HTMLElement>>;
|
|
71
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<_base_ui_react.PopoverPopupProps & Pick<_base_ui_react.PopoverPositionerProps, "align" | "alignOffset" | "side" | "sideOffset">, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
72
|
+
declare const PopoverHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
73
|
+
declare const PopoverTitle: React.ForwardRefExoticComponent<Omit<_base_ui_react.PopoverTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
74
|
+
declare const PopoverDescription: React.ForwardRefExoticComponent<Omit<_base_ui_react.PopoverDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
75
|
+
|
|
76
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<_base_ui_react.ScrollAreaRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
77
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<_base_ui_react.ScrollAreaScrollbarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
78
|
+
|
|
79
|
+
declare function Sheet({ ...props }: Dialog$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
80
|
+
declare const SheetTrigger: React.ForwardRefExoticComponent<Omit<Dialog$1.Trigger.Props<unknown>, "ref"> & React.RefAttributes<HTMLButtonElement | HTMLElement>>;
|
|
81
|
+
declare const SheetClose: React.ForwardRefExoticComponent<Omit<_base_ui_react.DialogCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
82
|
+
declare function SheetContent({ className, children, side, showCloseButton, ...props }: Dialog$1.Popup.Props & {
|
|
83
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
84
|
+
showCloseButton?: boolean;
|
|
85
|
+
}): react_jsx_runtime.JSX.Element;
|
|
86
|
+
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
87
|
+
declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
88
|
+
declare function SheetTitle({ className, ...props }: Dialog$1.Title.Props): react_jsx_runtime.JSX.Element;
|
|
89
|
+
declare function SheetDescription({ className, ...props }: Dialog$1.Description.Props): react_jsx_runtime.JSX.Element;
|
|
90
|
+
|
|
91
|
+
declare const Switch: React.ForwardRefExoticComponent<Omit<_base_ui_react.SwitchRootProps & {
|
|
92
|
+
size?: "sm" | "default";
|
|
93
|
+
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
94
|
+
|
|
95
|
+
declare const Textarea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
96
|
+
|
|
97
|
+
declare function TooltipProvider({ ...props }: Tooltip$1.Provider.Props): react_jsx_runtime.JSX.Element;
|
|
98
|
+
declare function Tooltip({ ...props }: Tooltip$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
99
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<Omit<Tooltip$1.Trigger.Props<unknown>, "ref"> & React.RefAttributes<HTMLButtonElement | HTMLElement>>;
|
|
100
|
+
declare function TooltipContent({ className, sideOffset, side, align, alignOffset, ...props }: Tooltip$1.Popup.Props & Pick<Tooltip$1.Positioner.Props, "side" | "sideOffset" | "align" | "alignOffset">): react_jsx_runtime.JSX.Element;
|
|
101
|
+
|
|
102
|
+
interface SeoData {
|
|
103
|
+
seoTitle?: string;
|
|
104
|
+
seoDescription?: string;
|
|
105
|
+
ogImage?: string;
|
|
106
|
+
keywords?: string;
|
|
107
|
+
}
|
|
108
|
+
declare function SeoHead({ data, fallbackSiteName }: {
|
|
109
|
+
data?: SeoData;
|
|
110
|
+
fallbackSiteName?: string;
|
|
111
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
112
|
+
|
|
113
|
+
interface TeamMemberData {
|
|
114
|
+
name: string;
|
|
115
|
+
role: string;
|
|
116
|
+
bio?: string;
|
|
117
|
+
headshot?: string;
|
|
118
|
+
socialLinks?: Array<{
|
|
119
|
+
platform: string;
|
|
120
|
+
url: string;
|
|
121
|
+
}>;
|
|
122
|
+
}
|
|
123
|
+
declare function AuthorCard({ author }: {
|
|
124
|
+
author?: TeamMemberData;
|
|
125
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
126
|
+
|
|
127
|
+
export { AuthorCard, Button, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Label, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, ScrollArea, ScrollBar, type SeoData, SeoHead, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Switch, type TeamMemberData, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants };
|