@framingui/ui 0.6.5 → 0.6.7
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/README.md +30 -31
- package/dist/chunk-VV6WUMYC.mjs +170 -0
- package/dist/index.d.mts +26 -9
- package/dist/index.mjs +318 -261
- package/dist/src/components/card.d.ts.map +1 -1
- package/dist/src/components/card.js.map +1 -1
- package/dist/src/components/sheet.d.ts +1 -1
- package/dist/src/components/sheet.d.ts.map +1 -1
- package/dist/src/components/sheet.js.map +1 -1
- package/dist/src/components/sidebar.d.ts.map +1 -1
- package/dist/src/components/sidebar.js.map +1 -1
- package/dist/src/components/skeleton.d.ts.map +1 -1
- package/dist/src/components/skeleton.js.map +1 -1
- package/dist/src/components/table.d.ts.map +1 -1
- package/dist/src/components/table.js.map +1 -1
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/templates/auth/login.d.ts.map +1 -1
- package/dist/src/templates/auth/login.js.map +1 -1
- package/dist/src/templates/auth/signup.d.ts.map +1 -1
- package/dist/src/templates/auth/signup.js.map +1 -1
- package/dist/src/templates/auth/verification.d.ts.map +1 -1
- package/dist/src/templates/auth/verification.js.map +1 -1
- package/dist/src/templates/core/landing.d.ts.map +1 -1
- package/dist/src/templates/core/landing.js +1 -1
- package/dist/src/templates/core/landing.js.map +1 -1
- package/dist/src/templates/core/profile.d.ts.map +1 -1
- package/dist/src/templates/core/profile.js +1 -1
- package/dist/src/templates/core/profile.js.map +1 -1
- package/dist/src/templates/feedback/loading.d.ts.map +1 -1
- package/dist/src/templates/feedback/loading.js +1 -1
- package/dist/src/templates/feedback/loading.js.map +1 -1
- package/dist/src/templates/feedback/success.d.ts.map +1 -1
- package/dist/src/templates/feedback/success.js.map +1 -1
- package/dist/src/theme-loader.d.ts +3 -0
- package/dist/src/theme-loader.d.ts.map +1 -0
- package/dist/src/theme-loader.js +2 -0
- package/dist/src/theme-loader.js.map +1 -0
- package/dist/templates/index.mjs +1 -1
- package/dist/theme-loader.d.mts +71 -0
- package/dist/theme-loader.mjs +150 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +19 -14
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -1,63 +1,62 @@
|
|
|
1
1
|
# @framingui/ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
React components for FramingUI.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
[](../../LICENSE)
|
|
5
|
+
Use this package when you want FramingUI components directly in an app, whether you install them manually or through `@framingui/mcp-server init`.
|
|
7
6
|
|
|
8
|
-
##
|
|
7
|
+
## Install
|
|
9
8
|
|
|
10
9
|
```bash
|
|
11
|
-
|
|
10
|
+
pnpm add @framingui/ui
|
|
12
11
|
```
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
Import the shared styles when your app uses the FramingUI-native style contract:
|
|
15
14
|
|
|
16
15
|
```tsx
|
|
17
|
-
import { Button, Input, Card } from '@framingui/ui';
|
|
18
16
|
import '@framingui/ui/styles';
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Basic Usage
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
```tsx
|
|
22
|
+
import '@framingui/ui/styles';
|
|
23
|
+
import { Button, Card, CardContent, CardHeader, CardTitle, Input } from '@framingui/ui';
|
|
24
|
+
|
|
25
|
+
export function SignupCard() {
|
|
21
26
|
return (
|
|
22
27
|
<Card>
|
|
23
28
|
<CardHeader>
|
|
24
|
-
<CardTitle>
|
|
25
|
-
<CardDescription>Build accessible UIs faster</CardDescription>
|
|
29
|
+
<CardTitle>Create account</CardTitle>
|
|
26
30
|
</CardHeader>
|
|
27
31
|
<CardContent>
|
|
28
|
-
<Input
|
|
32
|
+
<Input type="email" placeholder="Email" />
|
|
33
|
+
<Button>Create account</Button>
|
|
29
34
|
</CardContent>
|
|
30
|
-
<CardFooter>
|
|
31
|
-
<Button variant="primary">Get Started</Button>
|
|
32
|
-
</CardFooter>
|
|
33
35
|
</Card>
|
|
34
36
|
);
|
|
35
37
|
}
|
|
36
38
|
```
|
|
37
39
|
|
|
38
|
-
##
|
|
39
|
-
|
|
40
|
-
### Primitives (14)
|
|
41
|
-
|
|
42
|
-
Button, Input, Checkbox, Radio, Switch, Slider, Text, Heading, Badge, Avatar, Progress, Link, Image, List
|
|
40
|
+
## What You Get
|
|
43
41
|
|
|
44
|
-
|
|
42
|
+
- core components such as `Button`, `Input`, `Card`, `Badge`, `Avatar`, and `Select`
|
|
43
|
+
- complex components such as `Dialog`, `Tabs`, `Table`, and `Popover`
|
|
44
|
+
- advanced components such as `Sidebar`, `NavigationMenu`, and `Calendar`
|
|
45
|
+
- styles designed to work with FramingUI themes and MCP workflows
|
|
45
46
|
|
|
46
|
-
|
|
47
|
+
## MCP Guidance
|
|
47
48
|
|
|
48
|
-
|
|
49
|
+
If you are using FramingUI through MCP, do not guess component APIs.
|
|
50
|
+
Use:
|
|
49
51
|
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
- **Zero Config**: Works out of the box
|
|
54
|
-
- **98%+ Test Coverage**: Production-ready quality
|
|
52
|
+
- `list-components`
|
|
53
|
+
- `preview-component`
|
|
54
|
+
- `validate-environment`
|
|
55
55
|
|
|
56
|
-
##
|
|
56
|
+
## Docs
|
|
57
57
|
|
|
58
|
-
- [
|
|
59
|
-
- [
|
|
60
|
-
- [CSS Variables Reference](https://framingui.com/docs/guides/css-variables)
|
|
58
|
+
- [framingui.com/docs/components](https://framingui.com/docs/components)
|
|
59
|
+
- [framingui.com/docs/themes](https://framingui.com/docs/themes)
|
|
61
60
|
|
|
62
61
|
## License
|
|
63
62
|
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
// src/lib/utils.ts
|
|
4
|
+
import { clsx } from "clsx";
|
|
5
|
+
import { twMerge } from "tailwind-merge";
|
|
6
|
+
function cn(...inputs) {
|
|
7
|
+
return twMerge(clsx(inputs));
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// src/components/button.tsx
|
|
11
|
+
import * as React from "react";
|
|
12
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
13
|
+
import { cva } from "class-variance-authority";
|
|
14
|
+
import { jsx } from "react/jsx-runtime";
|
|
15
|
+
var buttonVariants = cva(
|
|
16
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-[var(--radius-xl)] text-sm font-medium ring-offset-[var(--bg-background)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--border-ring)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
17
|
+
{
|
|
18
|
+
variants: {
|
|
19
|
+
variant: {
|
|
20
|
+
default: "bg-[var(--bg-primary)] text-[var(--bg-primary-foreground)] hover:bg-[var(--bg-primary)]/90",
|
|
21
|
+
destructive: "bg-[var(--bg-destructive)] text-[var(--bg-destructive-foreground)] hover:bg-[var(--bg-destructive)]/90",
|
|
22
|
+
outline: "border border-[var(--border-input)] bg-[var(--bg-background)] hover:bg-[var(--bg-accent)] hover:text-[var(--bg-accent-foreground)]",
|
|
23
|
+
secondary: "bg-[var(--bg-secondary)] text-[var(--bg-secondary-foreground)] hover:bg-[var(--bg-secondary)]/80",
|
|
24
|
+
ghost: "hover:bg-[var(--bg-accent)] hover:text-[var(--bg-accent-foreground)]",
|
|
25
|
+
link: "text-[var(--bg-primary)] underline-offset-4 hover:underline"
|
|
26
|
+
},
|
|
27
|
+
size: {
|
|
28
|
+
default: "h-10 px-[var(--spacing-4)] py-[var(--spacing-2)]",
|
|
29
|
+
sm: "h-9 rounded-[var(--radius-xl)] px-[var(--spacing-3)]",
|
|
30
|
+
lg: "h-11 rounded-[var(--radius-xl)] px-[var(--spacing-8)]",
|
|
31
|
+
icon: "h-10 w-10"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
defaultVariants: {
|
|
35
|
+
variant: "default",
|
|
36
|
+
size: "default"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
var Button = React.forwardRef(
|
|
41
|
+
({ className, variant, size, asChild = false, ...props }, ref) => {
|
|
42
|
+
const Comp = asChild ? Slot : "button";
|
|
43
|
+
return /* @__PURE__ */ jsx(Comp, { className: cn(buttonVariants({ variant, size, className })), ref, ...props });
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
Button.displayName = "Button";
|
|
47
|
+
|
|
48
|
+
// src/components/input.tsx
|
|
49
|
+
import * as React2 from "react";
|
|
50
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
51
|
+
var Input = React2.forwardRef(
|
|
52
|
+
({ className, type, ...props }, ref) => {
|
|
53
|
+
return /* @__PURE__ */ jsx2(
|
|
54
|
+
"input",
|
|
55
|
+
{
|
|
56
|
+
type,
|
|
57
|
+
className: cn(
|
|
58
|
+
"flex h-10 w-full rounded-[var(--radius-md)] border border-[var(--border-input)] bg-[var(--bg-background)] px-[var(--spacing-3)] py-[var(--spacing-2)] text-sm ring-offset-[var(--bg-background)] file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-[var(--bg-muted-foreground)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--border-ring)] focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
59
|
+
className
|
|
60
|
+
),
|
|
61
|
+
ref,
|
|
62
|
+
...props
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
);
|
|
67
|
+
Input.displayName = "Input";
|
|
68
|
+
|
|
69
|
+
// src/components/label.tsx
|
|
70
|
+
import * as React3 from "react";
|
|
71
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
72
|
+
import { cva as cva2 } from "class-variance-authority";
|
|
73
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
74
|
+
var labelVariants = cva2(
|
|
75
|
+
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
76
|
+
);
|
|
77
|
+
var Label = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx3(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
|
|
78
|
+
Label.displayName = LabelPrimitive.Root.displayName;
|
|
79
|
+
|
|
80
|
+
// src/components/card.tsx
|
|
81
|
+
import * as React4 from "react";
|
|
82
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
83
|
+
var Card = React4.forwardRef(
|
|
84
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx4(
|
|
85
|
+
"div",
|
|
86
|
+
{
|
|
87
|
+
ref,
|
|
88
|
+
className: cn(
|
|
89
|
+
"rounded-[var(--radius-lg)] border border-[var(--border-default)] bg-[var(--bg-card)] text-[var(--bg-card-foreground)] shadow-sm",
|
|
90
|
+
className
|
|
91
|
+
),
|
|
92
|
+
...props
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
);
|
|
96
|
+
Card.displayName = "Card";
|
|
97
|
+
var CardHeader = React4.forwardRef(
|
|
98
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx4(
|
|
99
|
+
"div",
|
|
100
|
+
{
|
|
101
|
+
ref,
|
|
102
|
+
className: cn("flex flex-col space-y-[var(--spacing-2)] p-[var(--spacing-6)]", className),
|
|
103
|
+
...props
|
|
104
|
+
}
|
|
105
|
+
)
|
|
106
|
+
);
|
|
107
|
+
CardHeader.displayName = "CardHeader";
|
|
108
|
+
var CardTitle = React4.forwardRef(
|
|
109
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx4(
|
|
110
|
+
"h3",
|
|
111
|
+
{
|
|
112
|
+
ref,
|
|
113
|
+
className: cn("text-2xl font-semibold leading-none tracking-tight", className),
|
|
114
|
+
...props
|
|
115
|
+
}
|
|
116
|
+
)
|
|
117
|
+
);
|
|
118
|
+
CardTitle.displayName = "CardTitle";
|
|
119
|
+
var CardDescription = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx4("p", { ref, className: cn("text-sm text-[var(--bg-muted-foreground)]", className), ...props }));
|
|
120
|
+
CardDescription.displayName = "CardDescription";
|
|
121
|
+
var CardContent = React4.forwardRef(
|
|
122
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx4("div", { ref, className: cn("p-[var(--spacing-6)] pt-0", className), ...props })
|
|
123
|
+
);
|
|
124
|
+
CardContent.displayName = "CardContent";
|
|
125
|
+
var CardFooter = React4.forwardRef(
|
|
126
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx4(
|
|
127
|
+
"div",
|
|
128
|
+
{
|
|
129
|
+
ref,
|
|
130
|
+
className: cn("flex items-center p-[var(--spacing-6)] pt-0", className),
|
|
131
|
+
...props
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
);
|
|
135
|
+
CardFooter.displayName = "CardFooter";
|
|
136
|
+
|
|
137
|
+
// src/components/separator.tsx
|
|
138
|
+
import * as React5 from "react";
|
|
139
|
+
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
140
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
141
|
+
var Separator = React5.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx5(
|
|
142
|
+
SeparatorPrimitive.Root,
|
|
143
|
+
{
|
|
144
|
+
ref,
|
|
145
|
+
decorative,
|
|
146
|
+
orientation,
|
|
147
|
+
className: cn(
|
|
148
|
+
"shrink-0 bg-[var(--border-default)]",
|
|
149
|
+
orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
150
|
+
className
|
|
151
|
+
),
|
|
152
|
+
...props
|
|
153
|
+
}
|
|
154
|
+
));
|
|
155
|
+
Separator.displayName = SeparatorPrimitive.Root.displayName;
|
|
156
|
+
|
|
157
|
+
export {
|
|
158
|
+
cn,
|
|
159
|
+
buttonVariants,
|
|
160
|
+
Button,
|
|
161
|
+
Input,
|
|
162
|
+
Label,
|
|
163
|
+
Card,
|
|
164
|
+
CardHeader,
|
|
165
|
+
CardTitle,
|
|
166
|
+
CardDescription,
|
|
167
|
+
CardContent,
|
|
168
|
+
CardFooter,
|
|
169
|
+
Separator
|
|
170
|
+
};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
2
|
import { TokenReference } from '@framingui/tokens';
|
|
3
|
-
import { Variants, Transition } from 'framer-motion';
|
|
4
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
4
|
import * as React$1 from 'react';
|
|
6
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
import { Variants, Transition } from 'framer-motion';
|
|
7
7
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
8
8
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
9
9
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
@@ -77,6 +77,23 @@ type TektonTokenVars = typeof tokenVars;
|
|
|
77
77
|
declare function isTokenReference(value: string): value is TokenReference;
|
|
78
78
|
declare function extractTokenName(token: TokenReference): string;
|
|
79
79
|
|
|
80
|
+
declare const headingVariants: (props?: ({
|
|
81
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
|
|
82
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
83
|
+
interface HeadingProps extends React$1.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof headingVariants> {
|
|
84
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
85
|
+
}
|
|
86
|
+
declare const Heading: React$1.ForwardRefExoticComponent<HeadingProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
87
|
+
|
|
88
|
+
declare const textVariants: (props?: ({
|
|
89
|
+
variant?: "body" | "caption" | "label" | "code" | null | undefined;
|
|
90
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
91
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
92
|
+
interface TextProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof textVariants> {
|
|
93
|
+
as?: 'span' | 'p' | 'div';
|
|
94
|
+
}
|
|
95
|
+
declare const Text: React$1.ForwardRefExoticComponent<TextProps & React$1.RefAttributes<HTMLElement>>;
|
|
96
|
+
|
|
80
97
|
interface ThemeDefinition {
|
|
81
98
|
id: string;
|
|
82
99
|
name: string;
|
|
@@ -246,8 +263,8 @@ declare function useMotionSafe(): boolean;
|
|
|
246
263
|
declare function getMotionTransition(transition: Transition, motionSafe: boolean): Transition;
|
|
247
264
|
|
|
248
265
|
declare const buttonVariants: (props?: ({
|
|
249
|
-
variant?: "link" | "
|
|
250
|
-
size?: "
|
|
266
|
+
variant?: "link" | "default" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined;
|
|
267
|
+
size?: "sm" | "default" | "lg" | "icon" | null | undefined;
|
|
251
268
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
252
269
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
253
270
|
asChild?: boolean;
|
|
@@ -267,7 +284,7 @@ declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttribu
|
|
|
267
284
|
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
268
285
|
|
|
269
286
|
declare const badgeVariants: (props?: ({
|
|
270
|
-
variant?: "
|
|
287
|
+
variant?: "default" | "outline" | "destructive" | "secondary" | null | undefined;
|
|
271
288
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
272
289
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
273
290
|
}
|
|
@@ -472,7 +489,7 @@ declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<Nav
|
|
|
472
489
|
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
473
490
|
|
|
474
491
|
declare const breadcrumbVariants: (props?: ({
|
|
475
|
-
size?: "
|
|
492
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
476
493
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
477
494
|
declare const breadcrumbLinkVariants: (props?: ({
|
|
478
495
|
active?: boolean | null | undefined;
|
|
@@ -517,7 +534,7 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
|
|
|
517
534
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
518
535
|
} & {
|
|
519
536
|
asChild?: boolean;
|
|
520
|
-
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "
|
|
537
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
521
538
|
value?: string;
|
|
522
539
|
onValueChange?: (search: string) => void;
|
|
523
540
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -543,7 +560,7 @@ declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
543
560
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
544
561
|
} & {
|
|
545
562
|
asChild?: boolean;
|
|
546
|
-
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "
|
|
563
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
|
|
547
564
|
heading?: React$1.ReactNode;
|
|
548
565
|
value?: string;
|
|
549
566
|
forceMount?: boolean;
|
|
@@ -561,7 +578,7 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
561
578
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
562
579
|
} & {
|
|
563
580
|
asChild?: boolean;
|
|
564
|
-
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "
|
|
581
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
|
|
565
582
|
disabled?: boolean;
|
|
566
583
|
onSelect?: (value: string) => void;
|
|
567
584
|
value?: string;
|
|
@@ -579,4 +596,4 @@ declare namespace Calendar {
|
|
|
579
596
|
var displayName: string;
|
|
580
597
|
}
|
|
581
598
|
|
|
582
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, 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, Input, type InputProps, Label, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type OKLCHColor, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SidebarSectionTitle, Skeleton, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TektonTokenVars, Textarea, type TextareaProps, type ThemeDefinition, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, extractTokenName, fadeVariants, getCurrentThemeId, getMotionTransition, injectThemeCSS, isTokenReference, motionTokens, navigationMenuTriggerStyle, oklchToCSS, resolveSemanticToken, scaleVariants, setThemeId, sidebarVariants, slideVariants, themeToCSS, tokenVars, transitions, useMotionSafe };
|
|
599
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, 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, Heading, type HeadingProps, Input, type InputProps, Label, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type OKLCHColor, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SidebarSectionTitle, Skeleton, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TektonTokenVars, Text, type TextProps, Textarea, type TextareaProps, type ThemeDefinition, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, extractTokenName, fadeVariants, getCurrentThemeId, getMotionTransition, headingVariants, injectThemeCSS, isTokenReference, motionTokens, navigationMenuTriggerStyle, oklchToCSS, resolveSemanticToken, scaleVariants, setThemeId, sidebarVariants, slideVariants, textVariants, themeToCSS, tokenVars, transitions, useMotionSafe };
|