@colineapp/ui 0.2.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/LICENSE +21 -0
- package/README.md +66 -0
- package/dist/index.d.ts +203 -0
- package/dist/index.js +1961 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +2 -0
- package/package.json +64 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Coline
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# @colineapp/ui
|
|
2
|
+
|
|
3
|
+
The Coline design system for tier-2 (React) Coline Apps — the same components
|
|
4
|
+
the Coline platform itself uses, themed live by the host workspace. Your app
|
|
5
|
+
automatically matches the user's theme, including dark mode and brand
|
|
6
|
+
accents, with no theme code of your own.
|
|
7
|
+
|
|
8
|
+
```tsx
|
|
9
|
+
import {
|
|
10
|
+
Button,
|
|
11
|
+
Card,
|
|
12
|
+
ColineAppProvider,
|
|
13
|
+
Input,
|
|
14
|
+
useColine,
|
|
15
|
+
useColineQuery,
|
|
16
|
+
} from "@colineapp/ui";
|
|
17
|
+
import "@colineapp/ui/styles.css";
|
|
18
|
+
|
|
19
|
+
function NotesList() {
|
|
20
|
+
const coline = useColine();
|
|
21
|
+
const notes = useColineQuery(
|
|
22
|
+
(c) => c.files.list({ typeKey: "notes.note" }),
|
|
23
|
+
[],
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<Card>
|
|
28
|
+
{notes.data?.files.map((file) => (
|
|
29
|
+
<Button key={file.fileId} variant="ghost">
|
|
30
|
+
{file.name}
|
|
31
|
+
</Button>
|
|
32
|
+
))}
|
|
33
|
+
</Card>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default function App() {
|
|
38
|
+
return (
|
|
39
|
+
<ColineAppProvider>
|
|
40
|
+
<NotesList />
|
|
41
|
+
</ColineAppProvider>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## What's inside
|
|
47
|
+
|
|
48
|
+
- 21 components: Button, Card, Dialog, Input, Select, Checkbox, Switch,
|
|
49
|
+
Tabs, Table, Badge, Tooltip, DropdownMenu, and more — Radix-based,
|
|
50
|
+
accessible, keyboard-friendly.
|
|
51
|
+
- `ColineAppProvider` — connects the sandbox bridge and provides context.
|
|
52
|
+
- Hooks: `useColine` (the capability API), `useColineContext` (workspace /
|
|
53
|
+
surface / file context), `useColineQuery` (data fetching with
|
|
54
|
+
loading/error state), `useColorScheme`.
|
|
55
|
+
- `styles.css` — the compiled stylesheet; theme tokens are overridden at
|
|
56
|
+
runtime by the host, so one CSS file serves every workspace theme.
|
|
57
|
+
|
|
58
|
+
Used inside a Coline App's react-tier surface (`{ tier: "react", entry:
|
|
59
|
+
"main.tsx" }` in the manifest). Scaffold a working app with
|
|
60
|
+
`npx create-coline-app my-app`.
|
|
61
|
+
|
|
62
|
+
## Docs
|
|
63
|
+
|
|
64
|
+
Full guides at [coline.app/developers/docs](https://coline.app/developers/docs).
|
|
65
|
+
|
|
66
|
+
MIT © Coline
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import { SandboxContext } from '@colineapp/app-runtime';
|
|
4
|
+
import { ColineCapabilities } from '@colineapp/sdk/v2';
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
import { Checkbox as Checkbox$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, Popover as Popover$1, Progress as Progress$1, Select as Select$1, Separator as Separator$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Toggle as Toggle$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
8
|
+
|
|
9
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
10
|
+
|
|
11
|
+
declare function ColineAppProvider({ children }: {
|
|
12
|
+
children: React$1.ReactNode;
|
|
13
|
+
}): React$1.JSX.Element | null;
|
|
14
|
+
declare function useColine(): ColineCapabilities;
|
|
15
|
+
declare function useColineContext(): SandboxContext;
|
|
16
|
+
declare function useColorScheme(): "light" | "dark";
|
|
17
|
+
interface ColineQueryState<T> {
|
|
18
|
+
data: T | null;
|
|
19
|
+
error: string | null;
|
|
20
|
+
isLoading: boolean;
|
|
21
|
+
refetch: () => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Minimal async-state hook over a capability call (plan §7.2.6). Not a
|
|
25
|
+
* cache — apps needing one can bring their own; this covers the common
|
|
26
|
+
* load-render-refresh loop without dependencies.
|
|
27
|
+
*/
|
|
28
|
+
declare function useColineQuery<T>(loader: (coline: ColineCapabilities) => Promise<T>, deps?: React$1.DependencyList): ColineQueryState<T>;
|
|
29
|
+
|
|
30
|
+
declare const badgeVariants: (props?: ({
|
|
31
|
+
variant?: "default" | "destructive" | "link" | "secondary" | "ghost" | "outline" | null | undefined;
|
|
32
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
33
|
+
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
34
|
+
asChild?: boolean;
|
|
35
|
+
}): React$1.JSX.Element;
|
|
36
|
+
|
|
37
|
+
declare const buttonVariants: (props?: ({
|
|
38
|
+
variant?: "default" | "destructive" | "link" | "secondary" | "ghost" | "outline" | null | undefined;
|
|
39
|
+
size?: "default" | "icon" | "sm" | "lg" | "xs" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
40
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
41
|
+
declare const Button: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
42
|
+
variant?: "default" | "destructive" | "link" | "secondary" | "ghost" | "outline" | null | undefined;
|
|
43
|
+
size?: "default" | "icon" | "sm" | "lg" | "xs" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
44
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
45
|
+
asChild?: boolean;
|
|
46
|
+
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
47
|
+
|
|
48
|
+
declare function Card({ className, size, ...props }: React$1.ComponentProps<"div"> & {
|
|
49
|
+
size?: "default" | "sm";
|
|
50
|
+
}): React$1.JSX.Element;
|
|
51
|
+
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
52
|
+
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
53
|
+
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
54
|
+
declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
55
|
+
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
56
|
+
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
57
|
+
|
|
58
|
+
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof Checkbox$1.Root>): React$1.JSX.Element;
|
|
59
|
+
|
|
60
|
+
declare function Dialog({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): React$1.JSX.Element;
|
|
61
|
+
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): React$1.JSX.Element;
|
|
62
|
+
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof Dialog$1.Portal>): React$1.JSX.Element;
|
|
63
|
+
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof Dialog$1.Close>): React$1.JSX.Element;
|
|
64
|
+
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Overlay>): React$1.JSX.Element;
|
|
65
|
+
declare function DialogContent({ className, children, showCloseButton, ...props }: React$1.ComponentProps<typeof Dialog$1.Content> & {
|
|
66
|
+
showCloseButton?: boolean;
|
|
67
|
+
}): React$1.JSX.Element;
|
|
68
|
+
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
69
|
+
declare function DialogFooter({ className, showCloseButton, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
70
|
+
showCloseButton?: boolean;
|
|
71
|
+
}): React$1.JSX.Element;
|
|
72
|
+
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): React$1.JSX.Element;
|
|
73
|
+
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): React$1.JSX.Element;
|
|
74
|
+
|
|
75
|
+
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Root>): React$1.JSX.Element;
|
|
76
|
+
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Portal>): React$1.JSX.Element;
|
|
77
|
+
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Trigger>): React$1.JSX.Element;
|
|
78
|
+
declare function DropdownMenuContent({ className, align, sideOffset, children, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Content>): React$1.JSX.Element;
|
|
79
|
+
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Group>): React$1.JSX.Element;
|
|
80
|
+
declare function DropdownMenuItem({ className, inset, variant, onPointerEnter, onFocus, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
81
|
+
inset?: boolean;
|
|
82
|
+
variant?: "default" | "destructive";
|
|
83
|
+
}): React$1.JSX.Element;
|
|
84
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, onPointerEnter, onFocus, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.CheckboxItem> & {
|
|
85
|
+
inset?: boolean;
|
|
86
|
+
}): React$1.JSX.Element;
|
|
87
|
+
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.RadioGroup>): React$1.JSX.Element;
|
|
88
|
+
declare function DropdownMenuRadioItem({ className, children, inset, onPointerEnter, onFocus, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.RadioItem> & {
|
|
89
|
+
inset?: boolean;
|
|
90
|
+
}): React$1.JSX.Element;
|
|
91
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
92
|
+
inset?: boolean;
|
|
93
|
+
}): React$1.JSX.Element;
|
|
94
|
+
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Separator>): React$1.JSX.Element;
|
|
95
|
+
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
96
|
+
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Sub>): React$1.JSX.Element;
|
|
97
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, onPointerEnter, onFocus, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
98
|
+
inset?: boolean;
|
|
99
|
+
}): React$1.JSX.Element;
|
|
100
|
+
declare function DropdownMenuSubContent({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.SubContent>): React$1.JSX.Element;
|
|
101
|
+
|
|
102
|
+
declare function Label({ className, ...props }: React$1.ComponentProps<typeof Label$1.Root>): React$1.JSX.Element;
|
|
103
|
+
|
|
104
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): React$1.JSX.Element;
|
|
105
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
106
|
+
variant?: "legend" | "label";
|
|
107
|
+
}): React$1.JSX.Element;
|
|
108
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
109
|
+
declare const fieldVariants: (props?: ({
|
|
110
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
111
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
112
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): React$1.JSX.Element;
|
|
113
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
114
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): React$1.JSX.Element;
|
|
115
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
116
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): React$1.JSX.Element;
|
|
117
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
118
|
+
children?: React.ReactNode;
|
|
119
|
+
}): React$1.JSX.Element;
|
|
120
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
121
|
+
errors?: Array<{
|
|
122
|
+
message?: string;
|
|
123
|
+
} | undefined>;
|
|
124
|
+
}): React$1.JSX.Element | null;
|
|
125
|
+
|
|
126
|
+
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): React$1.JSX.Element;
|
|
127
|
+
|
|
128
|
+
declare function Popover({ ...props }: React$1.ComponentProps<typeof Popover$1.Root>): React$1.JSX.Element;
|
|
129
|
+
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof Popover$1.Trigger>): React$1.JSX.Element;
|
|
130
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof Popover$1.Content>): React$1.JSX.Element;
|
|
131
|
+
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof Popover$1.Anchor>): React$1.JSX.Element;
|
|
132
|
+
declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
133
|
+
declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">): React$1.JSX.Element;
|
|
134
|
+
declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
135
|
+
|
|
136
|
+
declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof Progress$1.Root>): React$1.JSX.Element;
|
|
137
|
+
|
|
138
|
+
declare function Select({ ...props }: React$1.ComponentProps<typeof Select$1.Root>): React$1.JSX.Element;
|
|
139
|
+
declare function SelectGroup({ className, ...props }: React$1.ComponentProps<typeof Select$1.Group>): React$1.JSX.Element;
|
|
140
|
+
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof Select$1.Value>): React$1.JSX.Element;
|
|
141
|
+
declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof Select$1.Trigger> & {
|
|
142
|
+
size?: "sm" | "default";
|
|
143
|
+
}): React$1.JSX.Element;
|
|
144
|
+
declare function SelectContent({ className, children, position, align, ...props }: React$1.ComponentProps<typeof Select$1.Content>): React$1.JSX.Element;
|
|
145
|
+
declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof Select$1.Label>): React$1.JSX.Element;
|
|
146
|
+
declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof Select$1.Item>): React$1.JSX.Element;
|
|
147
|
+
declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof Select$1.Separator>): React$1.JSX.Element;
|
|
148
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpButton>): React$1.JSX.Element;
|
|
149
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownButton>): React$1.JSX.Element;
|
|
150
|
+
|
|
151
|
+
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof Separator$1.Root>): React$1.JSX.Element;
|
|
152
|
+
|
|
153
|
+
declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
154
|
+
|
|
155
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof Slider$1.Root>): React$1.JSX.Element;
|
|
156
|
+
|
|
157
|
+
declare function Switch({ className, size, ...props }: React$1.ComponentProps<typeof Switch$1.Root> & {
|
|
158
|
+
size?: "sm" | "default";
|
|
159
|
+
}): React$1.JSX.Element;
|
|
160
|
+
|
|
161
|
+
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): React$1.JSX.Element;
|
|
162
|
+
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): React$1.JSX.Element;
|
|
163
|
+
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): React$1.JSX.Element;
|
|
164
|
+
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): React$1.JSX.Element;
|
|
165
|
+
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): React$1.JSX.Element;
|
|
166
|
+
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): React$1.JSX.Element;
|
|
167
|
+
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): React$1.JSX.Element;
|
|
168
|
+
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): React$1.JSX.Element;
|
|
169
|
+
|
|
170
|
+
/** Shared spring for tab pill + trigger layout — keep in sync wherever `layout` runs alongside `TabsIndicator`. */
|
|
171
|
+
declare const TABS_LAYOUT_SPRING: {
|
|
172
|
+
type: "spring";
|
|
173
|
+
stiffness: number;
|
|
174
|
+
damping: number;
|
|
175
|
+
mass: number;
|
|
176
|
+
};
|
|
177
|
+
declare function Tabs({ className, orientation, ...props }: React$1.ComponentProps<typeof Tabs$1.Root>): React$1.JSX.Element;
|
|
178
|
+
declare const tabsListVariants: (props?: ({
|
|
179
|
+
variant?: "default" | "line" | null | undefined;
|
|
180
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
181
|
+
declare function TabsList({ className, variant, ...props }: React$1.ComponentProps<typeof Tabs$1.List> & VariantProps<typeof tabsListVariants>): React$1.JSX.Element;
|
|
182
|
+
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Trigger>): React$1.JSX.Element;
|
|
183
|
+
/** Animated sliding pill indicator for TabsList (Apple-style). */
|
|
184
|
+
declare function TabsIndicator({ className, layoutId, }: {
|
|
185
|
+
className?: string;
|
|
186
|
+
layoutId?: string;
|
|
187
|
+
}): React$1.JSX.Element;
|
|
188
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Content>): React$1.JSX.Element;
|
|
189
|
+
|
|
190
|
+
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): React$1.JSX.Element;
|
|
191
|
+
|
|
192
|
+
declare const toggleVariants: (props?: ({
|
|
193
|
+
variant?: "default" | "outline" | null | undefined;
|
|
194
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
195
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
196
|
+
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): React$1.JSX.Element;
|
|
197
|
+
|
|
198
|
+
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof Tooltip$1.Provider>): React$1.JSX.Element;
|
|
199
|
+
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Root>): React$1.JSX.Element;
|
|
200
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Trigger>): React$1.JSX.Element;
|
|
201
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof Tooltip$1.Content>): React$1.JSX.Element;
|
|
202
|
+
|
|
203
|
+
export { Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ColineAppProvider, type ColineQueryState, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Input, Label, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, Slider, Switch, TABS_LAYOUT_SPRING, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Textarea, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, tabsListVariants, toggleVariants, useColine, useColineContext, useColineQuery, useColorScheme };
|