@caffeinebounce/ui 0.62.2 → 0.63.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/README.md +1 -1
- package/dist/blog.js +8 -6
- package/dist/blog.mjs +3 -1
- package/dist/charts.d.cts +1 -1
- package/dist/charts.d.ts +1 -1
- package/dist/{chunk-6DVWMJ3H.mjs → chunk-2EFVMX6V.mjs} +4 -3
- package/dist/chunk-33JR5SYE.js +1 -0
- package/dist/{chunk-OZZWDIOY.js → chunk-375DECW4.js} +32 -31
- package/dist/chunk-3NDB4YPC.js +1 -0
- package/dist/{chunk-PZRI43EZ.js → chunk-46JYKBRX.js} +0 -43
- package/dist/chunk-5D55OVD5.js +75 -0
- package/dist/chunk-5RW4PYZ6.js +1 -0
- package/dist/chunk-5THF4YP6.mjs +1 -0
- package/dist/{chunk-JORVSG52.js → chunk-663CFAHS.js} +212 -269
- package/dist/chunk-6BUBNZPG.mjs +1 -0
- package/dist/chunk-6HKJDV43.mjs +48 -0
- package/dist/chunk-6NCRGHV3.mjs +64 -0
- package/dist/{chunk-OLAAXLXY.mjs → chunk-6QAKQG57.mjs} +5 -4
- package/dist/chunk-72JGQ7IJ.mjs +1 -0
- package/dist/{chunk-N6AFNFZR.mjs → chunk-7ERVZXIN.mjs} +215 -270
- package/dist/chunk-7IKHZKAC.js +1 -0
- package/dist/chunk-APFEP5B7.mjs +100 -0
- package/dist/chunk-C3OADNSG.js +348 -0
- package/dist/{chunk-RVEFPVZF.mjs → chunk-C57MX3BG.mjs} +1 -0
- package/dist/{chunk-CC4KUIKC.js → chunk-DH5Z3ETN.js} +67 -45
- package/dist/chunk-DYWZ23QT.mjs +90 -0
- package/dist/{chunk-KRRIRS6A.mjs → chunk-E67IR6HU.mjs} +31 -9
- package/dist/{chunk-D3QXPL47.mjs → chunk-EXQSWHLD.mjs} +7 -6
- package/dist/{chunk-ZOA7B32D.js → chunk-F35KL6TX.js} +10 -9
- package/dist/{chunk-YSLD2HLP.mjs → chunk-FFJC66KO.mjs} +2 -1
- package/dist/chunk-FRRS2YZH.mjs +1 -0
- package/dist/chunk-G5TQWWQA.mjs +1 -0
- package/dist/{chunk-MPZFPU4X.js → chunk-GMBLPQ3I.js} +4 -3
- package/dist/chunk-IJFPPLQW.js +50 -0
- package/dist/chunk-J6OLBSZR.js +1 -0
- package/dist/chunk-KGGQ5NZV.js +1 -0
- package/dist/chunk-KHCC5UKW.mjs +1 -0
- package/dist/{chunk-BMFQG6RA.mjs → chunk-KJIX6V32.mjs} +108 -1885
- package/dist/chunk-LABHD4PU.js +109 -0
- package/dist/chunk-LQCVRWVF.js +1 -0
- package/dist/{chunk-GAIQJCAZ.js → chunk-LT5VD4KR.js} +150 -1953
- package/dist/{chunk-7DHKQODW.mjs → chunk-LTLCIRZY.mjs} +257 -474
- package/dist/chunk-N5BHXWR3.mjs +34 -0
- package/dist/chunk-OCO3Z5YA.js +37 -0
- package/dist/chunk-OFQLWSUR.mjs +1 -0
- package/dist/chunk-OIJ7XMDV.mjs +71 -0
- package/dist/chunk-ORBH4IBC.mjs +316 -0
- package/dist/{chunk-C4UT5V3P.js → chunk-OWHI5VGJ.js} +1 -0
- package/dist/chunk-OWWOAYIY.js +2652 -0
- package/dist/chunk-PFHOXDSW.mjs +10 -0
- package/dist/chunk-Q52ZEL62.mjs +1 -0
- package/dist/chunk-QRS7DJGS.js +103 -0
- package/dist/chunk-R26Y7LGJ.js +1 -0
- package/dist/{chunk-BFWX5GJZ.mjs → chunk-R3X4B4JJ.mjs} +56 -8
- package/dist/chunk-RBUYW6QQ.js +1 -0
- package/dist/chunk-RM7ACPTM.mjs +2601 -0
- package/dist/chunk-RODSGPBB.mjs +75 -0
- package/dist/chunk-SORWLKOK.js +1 -0
- package/dist/{chunk-T6ZBA6VJ.js → chunk-UHAV34YX.js} +9 -8
- package/dist/{chunk-GUSTCU2W.mjs → chunk-ULANYJ7Y.mjs} +1 -59
- package/dist/chunk-ULDE7QSN.js +70 -0
- package/dist/chunk-UT36VNVZ.mjs +47 -0
- package/dist/chunk-UY3H4PKB.js +71 -0
- package/dist/{chunk-KB7UXIQZ.mjs → chunk-VIVWFQG5.mjs} +3 -1
- package/dist/{chunk-ESZ7CBA2.js → chunk-VKBJ3SGT.js} +7 -5
- package/dist/{chunk-UM7WMXIU.js → chunk-W3YOQ5ZD.js} +265 -505
- package/dist/chunk-WOITB4JL.js +1 -0
- package/dist/{chunk-E42B4GSB.js → chunk-XGJL6DLV.js} +58 -7
- package/dist/chunk-YKZEKJMZ.mjs +1 -0
- package/dist/chunk-YRIBFIQ5.js +116 -0
- package/dist/chunk-ZFLZA7UP.mjs +1 -0
- package/dist/chunk-ZKUIUE7W.mjs +1 -0
- package/dist/chunk-ZWWJ3RRA.js +15 -0
- package/dist/data-grid.d.cts +241 -0
- package/dist/data-grid.d.ts +241 -0
- package/dist/data-grid.js +6486 -0
- package/dist/data-grid.mjs +6459 -0
- package/dist/data-table-CDQBo-Ve.d.ts +818 -0
- package/dist/data-table-jLzt6plY.d.cts +818 -0
- package/dist/data-table.d.cts +8 -42
- package/dist/data-table.d.ts +8 -42
- package/dist/data-table.js +61 -187
- package/dist/data-table.mjs +11 -5
- package/dist/finance.d.cts +534 -0
- package/dist/finance.d.ts +534 -0
- package/dist/finance.js +188 -0
- package/dist/finance.mjs +15 -0
- package/dist/forms.js +9 -6
- package/dist/forms.mjs +7 -4
- package/dist/{hooks-B2jU1GVT.d.ts → hooks-A55E0fgf.d.ts} +3 -2
- package/dist/{hooks-8ORd7T1A.d.cts → hooks-Bys_AZPI.d.cts} +3 -2
- package/dist/hooks.d.cts +1 -1
- package/dist/hooks.d.ts +1 -1
- package/dist/hooks.js +26 -23
- package/dist/hooks.mjs +6 -3
- package/dist/index.d.cts +536 -665
- package/dist/index.d.ts +536 -665
- package/dist/index.js +3830 -3408
- package/dist/index.mjs +2068 -1767
- package/dist/layouts.js +26 -25
- package/dist/layouts.mjs +5 -4
- package/dist/marketing-3d.js +1 -0
- package/dist/marketing-3d.mjs +1 -0
- package/dist/marketing.js +75 -74
- package/dist/marketing.mjs +5 -4
- package/dist/media.js +1 -0
- package/dist/media.mjs +1 -0
- package/dist/navigation.js +29 -28
- package/dist/navigation.mjs +7 -6
- package/dist/primitives.d.cts +72 -109
- package/dist/primitives.d.ts +72 -109
- package/dist/primitives.js +78 -72
- package/dist/primitives.mjs +8 -6
- package/dist/settings.js +9 -9
- package/dist/settings.mjs +4 -4
- package/package.json +21 -4
- package/dist/UnifiedTableControls-CG299y9h.d.ts +0 -1233
- package/dist/UnifiedTableControls-CIjRpNhy.d.cts +0 -1233
- package/dist/chunk-GMBGWOCR.mjs +0 -48
- package/dist/chunk-HBLKVQIQ.mjs +0 -23
- package/dist/chunk-HMAMMC72.js +0 -26
- package/dist/chunk-MVYRNJA6.js +0 -74
package/dist/navigation.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
|
-
var
|
|
4
|
+
var chunk375DECW4_js = require('./chunk-375DECW4.js');
|
|
4
5
|
require('./chunk-R26Y7LGJ.js');
|
|
5
6
|
require('./chunk-JAE45W2T.js');
|
|
6
|
-
require('./chunk-C4UT5V3P.js');
|
|
7
|
-
require('./chunk-E42B4GSB.js');
|
|
8
|
-
require('./chunk-LQCVRWVF.js');
|
|
9
|
-
require('./chunk-7IKHZKAC.js');
|
|
10
|
-
require('./chunk-HMAMMC72.js');
|
|
11
7
|
require('./chunk-RBUYW6QQ.js');
|
|
8
|
+
require('./chunk-OWHI5VGJ.js');
|
|
12
9
|
require('./chunk-6TGV2DNP.js');
|
|
10
|
+
require('./chunk-XGJL6DLV.js');
|
|
11
|
+
require('./chunk-LQCVRWVF.js');
|
|
12
|
+
require('./chunk-OCO3Z5YA.js');
|
|
13
|
+
require('./chunk-7IKHZKAC.js');
|
|
13
14
|
require('./chunk-J6OLBSZR.js');
|
|
14
15
|
require('./chunk-SORWLKOK.js');
|
|
15
16
|
require('./chunk-DQWHYBV2.js');
|
|
@@ -20,89 +21,89 @@ require('./chunk-ADIDI7AJ.js');
|
|
|
20
21
|
|
|
21
22
|
Object.defineProperty(exports, "AppSwitcher", {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk375DECW4_js.AppSwitcher; }
|
|
24
25
|
});
|
|
25
26
|
Object.defineProperty(exports, "ComingSoonButton", {
|
|
26
27
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk375DECW4_js.ComingSoonButton; }
|
|
28
29
|
});
|
|
29
30
|
Object.defineProperty(exports, "EntitySwitcher", {
|
|
30
31
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunk375DECW4_js.EntitySwitcher; }
|
|
32
33
|
});
|
|
33
34
|
Object.defineProperty(exports, "Footer", {
|
|
34
35
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunk375DECW4_js.Footer; }
|
|
36
37
|
});
|
|
37
38
|
Object.defineProperty(exports, "MarketingHeaderPreset", {
|
|
38
39
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk375DECW4_js.MarketingHeaderPreset; }
|
|
40
41
|
});
|
|
41
42
|
Object.defineProperty(exports, "Navbar", {
|
|
42
43
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunk375DECW4_js.Navbar; }
|
|
44
45
|
});
|
|
45
46
|
Object.defineProperty(exports, "NavbarLogo", {
|
|
46
47
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunk375DECW4_js.NavbarLogo; }
|
|
48
49
|
});
|
|
49
50
|
Object.defineProperty(exports, "NavbarUserMenu", {
|
|
50
51
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunk375DECW4_js.NavbarUserMenu; }
|
|
52
53
|
});
|
|
53
54
|
Object.defineProperty(exports, "NavigationMenu", {
|
|
54
55
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunk375DECW4_js.NavigationMenu; }
|
|
56
57
|
});
|
|
57
58
|
Object.defineProperty(exports, "NavigationMenuContent", {
|
|
58
59
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunk375DECW4_js.NavigationMenuContent; }
|
|
60
61
|
});
|
|
61
62
|
Object.defineProperty(exports, "NavigationMenuIndicator", {
|
|
62
63
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunk375DECW4_js.NavigationMenuIndicator; }
|
|
64
65
|
});
|
|
65
66
|
Object.defineProperty(exports, "NavigationMenuItem", {
|
|
66
67
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunk375DECW4_js.NavigationMenuItem; }
|
|
68
69
|
});
|
|
69
70
|
Object.defineProperty(exports, "NavigationMenuLink", {
|
|
70
71
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunk375DECW4_js.NavigationMenuLink; }
|
|
72
73
|
});
|
|
73
74
|
Object.defineProperty(exports, "NavigationMenuList", {
|
|
74
75
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunk375DECW4_js.NavigationMenuList; }
|
|
76
77
|
});
|
|
77
78
|
Object.defineProperty(exports, "NavigationMenuPrimitive", {
|
|
78
79
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunk375DECW4_js.NavigationMenuPrimitive; }
|
|
80
81
|
});
|
|
81
82
|
Object.defineProperty(exports, "NavigationMenuTrigger", {
|
|
82
83
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunk375DECW4_js.NavigationMenuTrigger; }
|
|
84
85
|
});
|
|
85
86
|
Object.defineProperty(exports, "NavigationMenuViewport", {
|
|
86
87
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunk375DECW4_js.NavigationMenuViewport; }
|
|
88
89
|
});
|
|
89
90
|
Object.defineProperty(exports, "NavigationMenuViewportPrimitive", {
|
|
90
91
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunk375DECW4_js.NavigationMenuViewportPrimitive; }
|
|
92
93
|
});
|
|
93
94
|
Object.defineProperty(exports, "NonprofitFooterPreset", {
|
|
94
95
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunk375DECW4_js.NonprofitFooterPreset; }
|
|
96
97
|
});
|
|
97
98
|
Object.defineProperty(exports, "RouteSegmentedSwitcher", {
|
|
98
99
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunk375DECW4_js.RouteSegmentedSwitcher; }
|
|
100
101
|
});
|
|
101
102
|
Object.defineProperty(exports, "SegmentedSwitcher", {
|
|
102
103
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunk375DECW4_js.SegmentedSwitcher; }
|
|
104
105
|
});
|
|
105
106
|
Object.defineProperty(exports, "navigationMenuTriggerStyle", {
|
|
106
107
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunk375DECW4_js.navigationMenuTriggerStyle; }
|
|
108
109
|
});
|
package/dist/navigation.mjs
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
export { AppSwitcher, ComingSoonButton, EntitySwitcher, Footer, MarketingHeaderPreset, Navbar, NavbarLogo, NavbarUserMenu, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPrimitive, NavigationMenuTrigger, NavigationMenuViewport, NavigationMenuViewportPrimitive, NonprofitFooterPreset, RouteSegmentedSwitcher, SegmentedSwitcher, navigationMenuTriggerStyle } from './chunk-EXQSWHLD.mjs';
|
|
2
3
|
import './chunk-ZFLZA7UP.mjs';
|
|
3
4
|
import './chunk-T5R6HUDG.mjs';
|
|
4
|
-
import './chunk-RVEFPVZF.mjs';
|
|
5
|
-
import './chunk-BFWX5GJZ.mjs';
|
|
6
|
-
import './chunk-ZKUIUE7W.mjs';
|
|
7
|
-
import './chunk-FRRS2YZH.mjs';
|
|
8
|
-
import './chunk-HBLKVQIQ.mjs';
|
|
9
5
|
import './chunk-G5TQWWQA.mjs';
|
|
6
|
+
import './chunk-C57MX3BG.mjs';
|
|
10
7
|
import './chunk-VBD4Q5LL.mjs';
|
|
8
|
+
import './chunk-R3X4B4JJ.mjs';
|
|
9
|
+
import './chunk-ZKUIUE7W.mjs';
|
|
10
|
+
import './chunk-N5BHXWR3.mjs';
|
|
11
|
+
import './chunk-FRRS2YZH.mjs';
|
|
11
12
|
import './chunk-OFQLWSUR.mjs';
|
|
12
13
|
import './chunk-YKZEKJMZ.mjs';
|
|
13
14
|
import './chunk-STEP6C4C.mjs';
|
package/dist/primitives.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
1
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
4
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import * as React$1 from 'react';
|
|
5
5
|
export { B as Button, a as ButtonCorners, b as ButtonHoverEffect, c as ButtonProps, d as buttonVariants } from './button-BHnoRUkF.cjs';
|
|
6
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
6
7
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
7
8
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
8
9
|
import { OTPInput } from 'input-otp';
|
|
@@ -11,6 +12,61 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
11
12
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
12
13
|
import { ClassValue } from 'clsx';
|
|
13
14
|
|
|
15
|
+
declare const PasswordInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type">, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
16
|
+
|
|
17
|
+
interface PasswordRule {
|
|
18
|
+
id: string;
|
|
19
|
+
label: string;
|
|
20
|
+
validator: (password: string) => boolean;
|
|
21
|
+
}
|
|
22
|
+
declare const defaultPasswordRules: PasswordRule[];
|
|
23
|
+
declare const extendedPasswordRules: PasswordRule[];
|
|
24
|
+
interface PasswordRequirementsProps extends React$1.ComponentProps<"ul"> {
|
|
25
|
+
password: string;
|
|
26
|
+
rules?: PasswordRule[];
|
|
27
|
+
}
|
|
28
|
+
declare function PasswordRequirements({ password, rules, className, ...props }: PasswordRequirementsProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* TooltipProvider - Context provider for tooltip configuration
|
|
32
|
+
*/
|
|
33
|
+
declare function TooltipProvider({ delayDuration, skipDelayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
34
|
+
/**
|
|
35
|
+
* Tooltip - Contextual information popup on hover
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* <Tooltip>
|
|
39
|
+
* <TooltipTrigger asChild>
|
|
40
|
+
* <Button variant="outline">Hover me</Button>
|
|
41
|
+
* </TooltipTrigger>
|
|
42
|
+
* <TooltipContent>
|
|
43
|
+
* <p>Helpful information</p>
|
|
44
|
+
* </TooltipContent>
|
|
45
|
+
* </Tooltip>
|
|
46
|
+
*/
|
|
47
|
+
declare function Tooltip({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root> & {
|
|
48
|
+
delayDuration?: number;
|
|
49
|
+
}): react_jsx_runtime.JSX.Element;
|
|
50
|
+
/**
|
|
51
|
+
* TooltipTrigger - Element that triggers the tooltip on hover
|
|
52
|
+
*/
|
|
53
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
54
|
+
/**
|
|
55
|
+
* TooltipContent - Content displayed in the tooltip
|
|
56
|
+
*/
|
|
57
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
58
|
+
|
|
59
|
+
interface VerificationCodeInputProps {
|
|
60
|
+
length?: number;
|
|
61
|
+
value?: string;
|
|
62
|
+
onChange?: (value: string) => void;
|
|
63
|
+
onComplete?: (value: string) => void;
|
|
64
|
+
disabled?: boolean;
|
|
65
|
+
autoFocus?: boolean;
|
|
66
|
+
className?: string;
|
|
67
|
+
}
|
|
68
|
+
declare function VerificationCodeInput({ length, value, onChange, onComplete, disabled, autoFocus, className, }: VerificationCodeInputProps): react_jsx_runtime.JSX.Element;
|
|
69
|
+
|
|
14
70
|
declare const alertVariants: (props?: ({
|
|
15
71
|
variant?: "default" | "destructive" | null | undefined;
|
|
16
72
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -152,23 +208,12 @@ declare function CardContent({ className, ...props }: React$1.ComponentProps<"di
|
|
|
152
208
|
*/
|
|
153
209
|
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
154
210
|
|
|
155
|
-
|
|
211
|
+
type CheckboxProps = Omit<React$1.ComponentProps<typeof CheckboxPrimitive.Root>, "checked" | "defaultChecked" | "onCheckedChange"> & {
|
|
156
212
|
checked?: boolean;
|
|
213
|
+
defaultChecked?: boolean;
|
|
157
214
|
onCheckedChange?: (checked: boolean) => void;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
* Checkbox - Checkable input for binary choices
|
|
161
|
-
*
|
|
162
|
-
* @example
|
|
163
|
-
* <Checkbox checked={isChecked} onCheckedChange={setIsChecked} />
|
|
164
|
-
*
|
|
165
|
-
* @example
|
|
166
|
-
* <label>
|
|
167
|
-
* <Checkbox checked={agree} onCheckedChange={setAgree} />
|
|
168
|
-
* I agree to the terms
|
|
169
|
-
* </label>
|
|
170
|
-
*/
|
|
171
|
-
declare function Checkbox({ className, checked, onCheckedChange, disabled, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
215
|
+
};
|
|
216
|
+
declare function BooleanCheckbox(props: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
172
217
|
|
|
173
218
|
/**
|
|
174
219
|
* Dialog - Modal dialog component built on Radix UI
|
|
@@ -354,21 +399,6 @@ declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentP
|
|
|
354
399
|
}): react_jsx_runtime.JSX.Element;
|
|
355
400
|
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
356
401
|
|
|
357
|
-
declare const PasswordInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type">, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
358
|
-
|
|
359
|
-
interface PasswordRule {
|
|
360
|
-
id: string;
|
|
361
|
-
label: string;
|
|
362
|
-
validator: (password: string) => boolean;
|
|
363
|
-
}
|
|
364
|
-
declare const defaultPasswordRules: PasswordRule[];
|
|
365
|
-
declare const extendedPasswordRules: PasswordRule[];
|
|
366
|
-
interface PasswordRequirementsProps extends React$1.ComponentProps<"ul"> {
|
|
367
|
-
password: string;
|
|
368
|
-
rules?: PasswordRule[];
|
|
369
|
-
}
|
|
370
|
-
declare function PasswordRequirements({ password, rules, className, ...props }: PasswordRequirementsProps): react_jsx_runtime.JSX.Element;
|
|
371
|
-
|
|
372
402
|
/**
|
|
373
403
|
* Select - Dropdown selection component
|
|
374
404
|
*
|
|
@@ -412,48 +442,21 @@ declare function SelectSeparator({ className, ...props }: React$1.ComponentProps
|
|
|
412
442
|
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
413
443
|
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
414
444
|
|
|
445
|
+
declare function Spinner({ className, ...props }: React$1.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
415
446
|
declare const spinnerVariants: (props?: ({
|
|
416
447
|
size?: "sm" | "lg" | "xs" | "md" | null | undefined;
|
|
417
448
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
418
|
-
interface SpinnerProps extends React.ComponentProps<
|
|
449
|
+
interface SpinnerProps extends React$1.ComponentProps<typeof Spinner>, VariantProps<typeof spinnerVariants> {
|
|
419
450
|
}
|
|
420
|
-
|
|
421
|
-
* Spinner - Loading indicator with customizable size
|
|
422
|
-
*
|
|
423
|
-
* @example
|
|
424
|
-
* <Spinner size="md" />
|
|
425
|
-
*
|
|
426
|
-
* @example
|
|
427
|
-
* <Spinner size="lg" className="text-primary" />
|
|
428
|
-
*/
|
|
429
|
-
declare function Spinner({ className, size, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
451
|
+
declare function SizedSpinner({ className, size, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
430
452
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
* <TabsTrigger value="tab2">Tab 2</TabsTrigger>
|
|
439
|
-
* </TabsList>
|
|
440
|
-
* <TabsContent value="tab1">Content for tab 1</TabsContent>
|
|
441
|
-
* <TabsContent value="tab2">Content for tab 2</TabsContent>
|
|
442
|
-
* </Tabs>
|
|
443
|
-
*/
|
|
444
|
-
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
445
|
-
/**
|
|
446
|
-
* TabsList - Container for tab triggers
|
|
447
|
-
*/
|
|
448
|
-
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
449
|
-
/**
|
|
450
|
-
* TabsTrigger - Button to switch between tabs
|
|
451
|
-
*/
|
|
452
|
-
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
453
|
-
/**
|
|
454
|
-
* TabsContent - Content panel for a tab
|
|
455
|
-
*/
|
|
456
|
-
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
453
|
+
declare function Tabs({ className, orientation, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
454
|
+
declare const tabsListVariants: (props?: ({
|
|
455
|
+
variant?: "default" | "line" | null | undefined;
|
|
456
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
457
|
+
declare function TabsList({ className, variant, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime.JSX.Element;
|
|
458
|
+
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
459
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
457
460
|
|
|
458
461
|
/**
|
|
459
462
|
* Textarea - Multi-line text input field
|
|
@@ -463,46 +466,6 @@ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
|
|
|
463
466
|
*/
|
|
464
467
|
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
465
468
|
|
|
466
|
-
/**
|
|
467
|
-
* TooltipProvider - Context provider for tooltip configuration
|
|
468
|
-
*/
|
|
469
|
-
declare function TooltipProvider({ delayDuration, skipDelayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
470
|
-
/**
|
|
471
|
-
* Tooltip - Contextual information popup on hover
|
|
472
|
-
*
|
|
473
|
-
* @example
|
|
474
|
-
* <Tooltip>
|
|
475
|
-
* <TooltipTrigger asChild>
|
|
476
|
-
* <Button variant="outline">Hover me</Button>
|
|
477
|
-
* </TooltipTrigger>
|
|
478
|
-
* <TooltipContent>
|
|
479
|
-
* <p>Helpful information</p>
|
|
480
|
-
* </TooltipContent>
|
|
481
|
-
* </Tooltip>
|
|
482
|
-
*/
|
|
483
|
-
declare function Tooltip({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root> & {
|
|
484
|
-
delayDuration?: number;
|
|
485
|
-
}): react_jsx_runtime.JSX.Element;
|
|
486
|
-
/**
|
|
487
|
-
* TooltipTrigger - Element that triggers the tooltip on hover
|
|
488
|
-
*/
|
|
489
|
-
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
490
|
-
/**
|
|
491
|
-
* TooltipContent - Content displayed in the tooltip
|
|
492
|
-
*/
|
|
493
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
494
|
-
|
|
495
|
-
interface VerificationCodeInputProps {
|
|
496
|
-
length?: number;
|
|
497
|
-
value?: string;
|
|
498
|
-
onChange?: (value: string) => void;
|
|
499
|
-
onComplete?: (value: string) => void;
|
|
500
|
-
disabled?: boolean;
|
|
501
|
-
autoFocus?: boolean;
|
|
502
|
-
className?: string;
|
|
503
|
-
}
|
|
504
|
-
declare function VerificationCodeInput({ length, value, onChange, onComplete, disabled, autoFocus, className, }: VerificationCodeInputProps): react_jsx_runtime.JSX.Element;
|
|
505
|
-
|
|
506
469
|
declare function cn(...inputs: ClassValue[]): string;
|
|
507
470
|
|
|
508
|
-
export { Alert, AlertDescription, AlertTitle, Badge, type BadgeProps, type BadgeShape, type BadgeSize, Card, CardAction, type CardBorder, CardContent, CardDescription, type CardElevation, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, Label, PasswordInput, PasswordRequirements, type PasswordRule, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Spinner, type SpinnerProps, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VerificationCodeInput, type VerificationCodeInputProps, badgeVariants, cn, defaultPasswordRules, extendedPasswordRules, inputVariants, spinnerVariants };
|
|
471
|
+
export { Alert, AlertDescription, AlertTitle, Badge, type BadgeProps, type BadgeShape, type BadgeSize, Card, CardAction, type CardBorder, CardContent, CardDescription, type CardElevation, CardFooter, CardHeader, type CardProps, CardTitle, BooleanCheckbox as Checkbox, type CheckboxProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, Label, PasswordInput, PasswordRequirements, type PasswordRule, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SizedSpinner as Spinner, type SpinnerProps, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VerificationCodeInput, type VerificationCodeInputProps, badgeVariants, cn, defaultPasswordRules, extendedPasswordRules, inputVariants, spinnerVariants, tabsListVariants };
|
package/dist/primitives.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
1
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
4
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import * as React$1 from 'react';
|
|
5
5
|
export { B as Button, a as ButtonCorners, b as ButtonHoverEffect, c as ButtonProps, d as buttonVariants } from './button-BHnoRUkF.js';
|
|
6
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
6
7
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
7
8
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
8
9
|
import { OTPInput } from 'input-otp';
|
|
@@ -11,6 +12,61 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
11
12
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
12
13
|
import { ClassValue } from 'clsx';
|
|
13
14
|
|
|
15
|
+
declare const PasswordInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type">, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
16
|
+
|
|
17
|
+
interface PasswordRule {
|
|
18
|
+
id: string;
|
|
19
|
+
label: string;
|
|
20
|
+
validator: (password: string) => boolean;
|
|
21
|
+
}
|
|
22
|
+
declare const defaultPasswordRules: PasswordRule[];
|
|
23
|
+
declare const extendedPasswordRules: PasswordRule[];
|
|
24
|
+
interface PasswordRequirementsProps extends React$1.ComponentProps<"ul"> {
|
|
25
|
+
password: string;
|
|
26
|
+
rules?: PasswordRule[];
|
|
27
|
+
}
|
|
28
|
+
declare function PasswordRequirements({ password, rules, className, ...props }: PasswordRequirementsProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* TooltipProvider - Context provider for tooltip configuration
|
|
32
|
+
*/
|
|
33
|
+
declare function TooltipProvider({ delayDuration, skipDelayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
34
|
+
/**
|
|
35
|
+
* Tooltip - Contextual information popup on hover
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* <Tooltip>
|
|
39
|
+
* <TooltipTrigger asChild>
|
|
40
|
+
* <Button variant="outline">Hover me</Button>
|
|
41
|
+
* </TooltipTrigger>
|
|
42
|
+
* <TooltipContent>
|
|
43
|
+
* <p>Helpful information</p>
|
|
44
|
+
* </TooltipContent>
|
|
45
|
+
* </Tooltip>
|
|
46
|
+
*/
|
|
47
|
+
declare function Tooltip({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root> & {
|
|
48
|
+
delayDuration?: number;
|
|
49
|
+
}): react_jsx_runtime.JSX.Element;
|
|
50
|
+
/**
|
|
51
|
+
* TooltipTrigger - Element that triggers the tooltip on hover
|
|
52
|
+
*/
|
|
53
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
54
|
+
/**
|
|
55
|
+
* TooltipContent - Content displayed in the tooltip
|
|
56
|
+
*/
|
|
57
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
58
|
+
|
|
59
|
+
interface VerificationCodeInputProps {
|
|
60
|
+
length?: number;
|
|
61
|
+
value?: string;
|
|
62
|
+
onChange?: (value: string) => void;
|
|
63
|
+
onComplete?: (value: string) => void;
|
|
64
|
+
disabled?: boolean;
|
|
65
|
+
autoFocus?: boolean;
|
|
66
|
+
className?: string;
|
|
67
|
+
}
|
|
68
|
+
declare function VerificationCodeInput({ length, value, onChange, onComplete, disabled, autoFocus, className, }: VerificationCodeInputProps): react_jsx_runtime.JSX.Element;
|
|
69
|
+
|
|
14
70
|
declare const alertVariants: (props?: ({
|
|
15
71
|
variant?: "default" | "destructive" | null | undefined;
|
|
16
72
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -152,23 +208,12 @@ declare function CardContent({ className, ...props }: React$1.ComponentProps<"di
|
|
|
152
208
|
*/
|
|
153
209
|
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
154
210
|
|
|
155
|
-
|
|
211
|
+
type CheckboxProps = Omit<React$1.ComponentProps<typeof CheckboxPrimitive.Root>, "checked" | "defaultChecked" | "onCheckedChange"> & {
|
|
156
212
|
checked?: boolean;
|
|
213
|
+
defaultChecked?: boolean;
|
|
157
214
|
onCheckedChange?: (checked: boolean) => void;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
* Checkbox - Checkable input for binary choices
|
|
161
|
-
*
|
|
162
|
-
* @example
|
|
163
|
-
* <Checkbox checked={isChecked} onCheckedChange={setIsChecked} />
|
|
164
|
-
*
|
|
165
|
-
* @example
|
|
166
|
-
* <label>
|
|
167
|
-
* <Checkbox checked={agree} onCheckedChange={setAgree} />
|
|
168
|
-
* I agree to the terms
|
|
169
|
-
* </label>
|
|
170
|
-
*/
|
|
171
|
-
declare function Checkbox({ className, checked, onCheckedChange, disabled, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
215
|
+
};
|
|
216
|
+
declare function BooleanCheckbox(props: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
172
217
|
|
|
173
218
|
/**
|
|
174
219
|
* Dialog - Modal dialog component built on Radix UI
|
|
@@ -354,21 +399,6 @@ declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentP
|
|
|
354
399
|
}): react_jsx_runtime.JSX.Element;
|
|
355
400
|
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
356
401
|
|
|
357
|
-
declare const PasswordInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type">, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
358
|
-
|
|
359
|
-
interface PasswordRule {
|
|
360
|
-
id: string;
|
|
361
|
-
label: string;
|
|
362
|
-
validator: (password: string) => boolean;
|
|
363
|
-
}
|
|
364
|
-
declare const defaultPasswordRules: PasswordRule[];
|
|
365
|
-
declare const extendedPasswordRules: PasswordRule[];
|
|
366
|
-
interface PasswordRequirementsProps extends React$1.ComponentProps<"ul"> {
|
|
367
|
-
password: string;
|
|
368
|
-
rules?: PasswordRule[];
|
|
369
|
-
}
|
|
370
|
-
declare function PasswordRequirements({ password, rules, className, ...props }: PasswordRequirementsProps): react_jsx_runtime.JSX.Element;
|
|
371
|
-
|
|
372
402
|
/**
|
|
373
403
|
* Select - Dropdown selection component
|
|
374
404
|
*
|
|
@@ -412,48 +442,21 @@ declare function SelectSeparator({ className, ...props }: React$1.ComponentProps
|
|
|
412
442
|
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
413
443
|
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
414
444
|
|
|
445
|
+
declare function Spinner({ className, ...props }: React$1.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
415
446
|
declare const spinnerVariants: (props?: ({
|
|
416
447
|
size?: "sm" | "lg" | "xs" | "md" | null | undefined;
|
|
417
448
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
418
|
-
interface SpinnerProps extends React.ComponentProps<
|
|
449
|
+
interface SpinnerProps extends React$1.ComponentProps<typeof Spinner>, VariantProps<typeof spinnerVariants> {
|
|
419
450
|
}
|
|
420
|
-
|
|
421
|
-
* Spinner - Loading indicator with customizable size
|
|
422
|
-
*
|
|
423
|
-
* @example
|
|
424
|
-
* <Spinner size="md" />
|
|
425
|
-
*
|
|
426
|
-
* @example
|
|
427
|
-
* <Spinner size="lg" className="text-primary" />
|
|
428
|
-
*/
|
|
429
|
-
declare function Spinner({ className, size, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
451
|
+
declare function SizedSpinner({ className, size, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
430
452
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
* <TabsTrigger value="tab2">Tab 2</TabsTrigger>
|
|
439
|
-
* </TabsList>
|
|
440
|
-
* <TabsContent value="tab1">Content for tab 1</TabsContent>
|
|
441
|
-
* <TabsContent value="tab2">Content for tab 2</TabsContent>
|
|
442
|
-
* </Tabs>
|
|
443
|
-
*/
|
|
444
|
-
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
445
|
-
/**
|
|
446
|
-
* TabsList - Container for tab triggers
|
|
447
|
-
*/
|
|
448
|
-
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
449
|
-
/**
|
|
450
|
-
* TabsTrigger - Button to switch between tabs
|
|
451
|
-
*/
|
|
452
|
-
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
453
|
-
/**
|
|
454
|
-
* TabsContent - Content panel for a tab
|
|
455
|
-
*/
|
|
456
|
-
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
453
|
+
declare function Tabs({ className, orientation, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
454
|
+
declare const tabsListVariants: (props?: ({
|
|
455
|
+
variant?: "default" | "line" | null | undefined;
|
|
456
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
457
|
+
declare function TabsList({ className, variant, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime.JSX.Element;
|
|
458
|
+
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
459
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
457
460
|
|
|
458
461
|
/**
|
|
459
462
|
* Textarea - Multi-line text input field
|
|
@@ -463,46 +466,6 @@ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
|
|
|
463
466
|
*/
|
|
464
467
|
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
465
468
|
|
|
466
|
-
/**
|
|
467
|
-
* TooltipProvider - Context provider for tooltip configuration
|
|
468
|
-
*/
|
|
469
|
-
declare function TooltipProvider({ delayDuration, skipDelayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
470
|
-
/**
|
|
471
|
-
* Tooltip - Contextual information popup on hover
|
|
472
|
-
*
|
|
473
|
-
* @example
|
|
474
|
-
* <Tooltip>
|
|
475
|
-
* <TooltipTrigger asChild>
|
|
476
|
-
* <Button variant="outline">Hover me</Button>
|
|
477
|
-
* </TooltipTrigger>
|
|
478
|
-
* <TooltipContent>
|
|
479
|
-
* <p>Helpful information</p>
|
|
480
|
-
* </TooltipContent>
|
|
481
|
-
* </Tooltip>
|
|
482
|
-
*/
|
|
483
|
-
declare function Tooltip({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root> & {
|
|
484
|
-
delayDuration?: number;
|
|
485
|
-
}): react_jsx_runtime.JSX.Element;
|
|
486
|
-
/**
|
|
487
|
-
* TooltipTrigger - Element that triggers the tooltip on hover
|
|
488
|
-
*/
|
|
489
|
-
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
490
|
-
/**
|
|
491
|
-
* TooltipContent - Content displayed in the tooltip
|
|
492
|
-
*/
|
|
493
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
494
|
-
|
|
495
|
-
interface VerificationCodeInputProps {
|
|
496
|
-
length?: number;
|
|
497
|
-
value?: string;
|
|
498
|
-
onChange?: (value: string) => void;
|
|
499
|
-
onComplete?: (value: string) => void;
|
|
500
|
-
disabled?: boolean;
|
|
501
|
-
autoFocus?: boolean;
|
|
502
|
-
className?: string;
|
|
503
|
-
}
|
|
504
|
-
declare function VerificationCodeInput({ length, value, onChange, onComplete, disabled, autoFocus, className, }: VerificationCodeInputProps): react_jsx_runtime.JSX.Element;
|
|
505
|
-
|
|
506
469
|
declare function cn(...inputs: ClassValue[]): string;
|
|
507
470
|
|
|
508
|
-
export { Alert, AlertDescription, AlertTitle, Badge, type BadgeProps, type BadgeShape, type BadgeSize, Card, CardAction, type CardBorder, CardContent, CardDescription, type CardElevation, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, Label, PasswordInput, PasswordRequirements, type PasswordRule, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Spinner, type SpinnerProps, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VerificationCodeInput, type VerificationCodeInputProps, badgeVariants, cn, defaultPasswordRules, extendedPasswordRules, inputVariants, spinnerVariants };
|
|
471
|
+
export { Alert, AlertDescription, AlertTitle, Badge, type BadgeProps, type BadgeShape, type BadgeSize, Card, CardAction, type CardBorder, CardContent, CardDescription, type CardElevation, CardFooter, CardHeader, type CardProps, CardTitle, BooleanCheckbox as Checkbox, type CheckboxProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, Label, PasswordInput, PasswordRequirements, type PasswordRule, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SizedSpinner as Spinner, type SpinnerProps, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VerificationCodeInput, type VerificationCodeInputProps, badgeVariants, cn, defaultPasswordRules, extendedPasswordRules, inputVariants, spinnerVariants, tabsListVariants };
|