@meetreeve/ui 0.9.0 → 0.11.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.
@@ -0,0 +1,65 @@
1
+ import * as react from 'react';
2
+ import { ReactNode, ComponentProps } from 'react';
3
+ import { LucideIcon } from 'lucide-react';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import { Button as Button$1 } from '@base-ui/react/button';
6
+ import { VariantProps } from 'class-variance-authority';
7
+
8
+ declare const buttonVariants: (props?: ({
9
+ variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
10
+ size?: "icon" | "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+ declare function Button({ className, variant, size, ...props }: Button$1.Props & VariantProps<typeof buttonVariants>): react.JSX.Element;
13
+
14
+ /** Thin mono/caps eyebrow — the hairline-eyebrow treatment (no pill badges). */
15
+ declare function MonoEyebrow({ children, className }: {
16
+ children: ReactNode;
17
+ className?: string;
18
+ }): react.JSX.Element;
19
+ declare function PageHeader({ eyebrow, title, description, action, }: {
20
+ eyebrow?: string;
21
+ title: string;
22
+ description?: string;
23
+ action?: ReactNode;
24
+ }): react.JSX.Element;
25
+ /** Hairline surface (no heavy card/shadow). Optional titled header row. */
26
+ declare function Panel({ title, hint, children, className, }: {
27
+ title?: string;
28
+ hint?: string;
29
+ children: ReactNode;
30
+ className?: string;
31
+ }): react.JSX.Element;
32
+ declare function EmptyState({ icon: Icon, title, description, action, }: {
33
+ icon?: LucideIcon;
34
+ title: string;
35
+ description?: string;
36
+ action?: ReactNode;
37
+ }): react.JSX.Element;
38
+ /** Inline, below-the-input error reporting. */
39
+ declare function ErrorNote({ children }: {
40
+ children: ReactNode;
41
+ }): react.JSX.Element;
42
+ /** Label sits above the input (Rule 6); helper + error live in markup. */
43
+ declare function Field({ label, htmlFor, hint, error, children, }: {
44
+ label: string;
45
+ htmlFor?: string;
46
+ hint?: string;
47
+ error?: string;
48
+ children: ReactNode;
49
+ }): react.JSX.Element;
50
+ /** Bare dark input matching the console (used where shadcn Input is overkill). */
51
+ declare function TextInput({ className, ...props }: ComponentProps<"input">): react.JSX.Element;
52
+ declare function TextArea({ className, ...props }: ComponentProps<"textarea">): react.JSX.Element;
53
+ /** Success/error line for a server-action result. */
54
+ declare function StatusNote({ result }: {
55
+ result: {
56
+ ok: boolean;
57
+ message: string;
58
+ } | null;
59
+ }): react.JSX.Element | null;
60
+ /** Mono code block for showing a raw substrate response. */
61
+ declare function CodeBlock({ data }: {
62
+ data: unknown;
63
+ }): react.JSX.Element | null;
64
+
65
+ export { Button, CodeBlock, EmptyState, ErrorNote, Field, MonoEyebrow, PageHeader, Panel, StatusNote, TextArea, TextInput, buttonVariants };
@@ -0,0 +1,65 @@
1
+ import * as react from 'react';
2
+ import { ReactNode, ComponentProps } from 'react';
3
+ import { LucideIcon } from 'lucide-react';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import { Button as Button$1 } from '@base-ui/react/button';
6
+ import { VariantProps } from 'class-variance-authority';
7
+
8
+ declare const buttonVariants: (props?: ({
9
+ variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
10
+ size?: "icon" | "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+ declare function Button({ className, variant, size, ...props }: Button$1.Props & VariantProps<typeof buttonVariants>): react.JSX.Element;
13
+
14
+ /** Thin mono/caps eyebrow — the hairline-eyebrow treatment (no pill badges). */
15
+ declare function MonoEyebrow({ children, className }: {
16
+ children: ReactNode;
17
+ className?: string;
18
+ }): react.JSX.Element;
19
+ declare function PageHeader({ eyebrow, title, description, action, }: {
20
+ eyebrow?: string;
21
+ title: string;
22
+ description?: string;
23
+ action?: ReactNode;
24
+ }): react.JSX.Element;
25
+ /** Hairline surface (no heavy card/shadow). Optional titled header row. */
26
+ declare function Panel({ title, hint, children, className, }: {
27
+ title?: string;
28
+ hint?: string;
29
+ children: ReactNode;
30
+ className?: string;
31
+ }): react.JSX.Element;
32
+ declare function EmptyState({ icon: Icon, title, description, action, }: {
33
+ icon?: LucideIcon;
34
+ title: string;
35
+ description?: string;
36
+ action?: ReactNode;
37
+ }): react.JSX.Element;
38
+ /** Inline, below-the-input error reporting. */
39
+ declare function ErrorNote({ children }: {
40
+ children: ReactNode;
41
+ }): react.JSX.Element;
42
+ /** Label sits above the input (Rule 6); helper + error live in markup. */
43
+ declare function Field({ label, htmlFor, hint, error, children, }: {
44
+ label: string;
45
+ htmlFor?: string;
46
+ hint?: string;
47
+ error?: string;
48
+ children: ReactNode;
49
+ }): react.JSX.Element;
50
+ /** Bare dark input matching the console (used where shadcn Input is overkill). */
51
+ declare function TextInput({ className, ...props }: ComponentProps<"input">): react.JSX.Element;
52
+ declare function TextArea({ className, ...props }: ComponentProps<"textarea">): react.JSX.Element;
53
+ /** Success/error line for a server-action result. */
54
+ declare function StatusNote({ result }: {
55
+ result: {
56
+ ok: boolean;
57
+ message: string;
58
+ } | null;
59
+ }): react.JSX.Element | null;
60
+ /** Mono code block for showing a raw substrate response. */
61
+ declare function CodeBlock({ data }: {
62
+ data: unknown;
63
+ }): react.JSX.Element | null;
64
+
65
+ export { Button, CodeBlock, EmptyState, ErrorNote, Field, MonoEyebrow, PageHeader, Panel, StatusNote, TextArea, TextInput, buttonVariants };