@szum-tech/design-system 2.7.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2Y2ZCPNV.cjs +61 -0
- package/dist/chunk-3376ZTRC.cjs +2 -0
- package/dist/{chunk-S5BN23O7.cjs → chunk-3KMXFN6M.cjs} +14 -20
- package/dist/chunk-5AA4IE2T.cjs +27 -0
- package/dist/chunk-5F2Y65JH.js +32 -0
- package/dist/chunk-6BSR3O2J.js +53 -0
- package/dist/chunk-BYXBJQAS.js +1 -0
- package/dist/{chunk-XIPREW2R.js → chunk-DP7UEOTA.js} +173 -176
- package/dist/chunk-HCHVDUI6.cjs +34 -0
- package/dist/chunk-HD7ZDQWW.js +173 -0
- package/dist/chunk-I3RSTJP6.js +20 -0
- package/dist/chunk-I7AV5IQO.cjs +33 -0
- package/dist/chunk-N4O2GO6V.cjs +204 -0
- package/dist/chunk-NGVFYKAT.js +29 -0
- package/dist/chunk-NU5UQPBX.cjs +25 -0
- package/dist/chunk-OQCNPNPS.js +23 -0
- package/dist/chunk-S3ANEJJ7.cjs +22 -0
- package/dist/chunk-U4AWAABZ.js +4901 -0
- package/dist/chunk-UGSNASZM.js +25 -0
- package/dist/{chunk-EIXSMEDP.cjs → chunk-UIOBJSKZ.cjs} +1 -3
- package/dist/{chunk-I5P2HH5Z.js → chunk-WJSS32MY.js} +13 -19
- package/dist/{chunk-GEACYHTU.js → chunk-XJIUGEPN.js} +1 -3
- package/dist/chunk-Y6EVJSAH.cjs +4928 -0
- package/dist/{chunk-D3MOZUNH.cjs → chunk-ZV4467OW.cjs} +176 -185
- package/dist/components/alert-dialog/index.cjs +1 -0
- package/dist/components/alert-dialog/index.js +1 -0
- package/dist/components/avatar/index.cjs +5 -4
- package/dist/components/avatar/index.d.cts +5 -19
- package/dist/components/avatar/index.d.ts +5 -19
- package/dist/components/avatar/index.js +2 -1
- package/dist/components/badge/index.cjs +1 -0
- package/dist/components/badge/index.js +1 -0
- package/dist/components/button/index.cjs +23 -3
- package/dist/components/button/index.d.cts +8 -15
- package/dist/components/button/index.d.ts +8 -15
- package/dist/components/button/index.js +22 -2
- package/dist/components/card/index.cjs +12 -7
- package/dist/components/card/index.d.cts +8 -5
- package/dist/components/card/index.d.ts +8 -5
- package/dist/components/card/index.js +2 -1
- package/dist/components/checkbox/index.cjs +12 -0
- package/dist/components/checkbox/index.d.cts +8 -0
- package/dist/components/checkbox/index.d.ts +8 -0
- package/dist/components/checkbox/index.js +3 -0
- package/dist/components/dialog/index.cjs +1 -0
- package/dist/components/dialog/index.d.cts +1 -1
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/field/index.cjs +50 -0
- package/dist/components/field/index.d.cts +50 -0
- package/dist/components/field/index.d.ts +50 -0
- package/dist/components/field/index.js +5 -0
- package/dist/components/header/index.cjs +1 -0
- package/dist/components/header/index.js +1 -0
- package/dist/components/index.cjs +158 -126
- package/dist/components/index.d.cts +7 -8
- package/dist/components/index.d.ts +7 -8
- package/dist/components/index.js +14 -14
- package/dist/components/input/index.cjs +3 -2
- package/dist/components/input/index.d.cts +2 -4
- package/dist/components/input/index.d.ts +2 -4
- package/dist/components/input/index.js +2 -1
- package/dist/components/item/index.cjs +13 -12
- package/dist/components/item/index.d.cts +7 -7
- package/dist/components/item/index.d.ts +7 -7
- package/dist/components/item/index.js +3 -2
- package/dist/components/label/index.cjs +3 -2
- package/dist/components/label/index.js +2 -1
- package/dist/components/select/index.cjs +20 -3
- package/dist/components/select/index.d.cts +20 -6
- package/dist/components/select/index.d.ts +20 -6
- package/dist/components/select/index.js +2 -1
- package/dist/components/separator/index.cjs +3 -2
- package/dist/components/separator/index.js +2 -1
- package/dist/components/sheet/index.cjs +1 -0
- package/dist/components/sheet/index.d.cts +1 -1
- package/dist/components/sheet/index.d.ts +1 -1
- package/dist/components/sheet/index.js +1 -0
- package/dist/components/spinner/index.cjs +1 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/stepper/index.cjs +33 -33
- package/dist/components/stepper/index.js +14 -14
- package/dist/components/textarea/index.cjs +4 -2
- package/dist/components/textarea/index.d.cts +2 -2
- package/dist/components/textarea/index.d.ts +2 -2
- package/dist/components/textarea/index.js +3 -1
- package/dist/components/tooltip/index.cjs +1 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/contexts/index.cjs +1 -0
- package/dist/contexts/index.js +1 -0
- package/dist/hooks/index.cjs +1 -0
- package/dist/hooks/index.js +1 -0
- package/dist/icons/index.cjs +89 -18
- package/dist/icons/index.js +88 -1
- package/dist/utils/index.cjs +1 -0
- package/dist/utils/index.js +1 -0
- package/package.json +8 -9
- package/tailwind/global.css +5 -9
- package/tailwind/palette.css +149 -204
- package/tailwind/typography.css +33 -57
- package/dist/chunk-36YD6ICC.js +0 -70
- package/dist/chunk-4NO6IM75.cjs +0 -40
- package/dist/chunk-5BTQ6BQA.js +0 -24
- package/dist/chunk-5PBHBOXI.js +0 -30
- package/dist/chunk-EU7G37IS.js +0 -36
- package/dist/chunk-FPFRA5Q6.cjs +0 -31
- package/dist/chunk-FVSO3RHT.cjs +0 -17
- package/dist/chunk-G6VXQ7DJ.cjs +0 -63
- package/dist/chunk-IAI7BIAG.js +0 -31
- package/dist/chunk-K4TRAPRN.cjs +0 -341
- package/dist/chunk-MI3CQBHC.js +0 -60
- package/dist/chunk-OIWEXHFE.cjs +0 -33
- package/dist/chunk-P4J2TTH7.cjs +0 -32
- package/dist/chunk-UKWZ5BHD.cjs +0 -93
- package/dist/chunk-VZKTT6CG.js +0 -15
- package/dist/chunk-XTO7CMIM.js +0 -88
- package/dist/chunk-YJFJLF7Y.js +0 -319
- package/dist/chunk-ZZ3EBGSD.cjs +0 -72
- package/dist/components/form/index.cjs +0 -55
- package/dist/components/form/index.d.cts +0 -32
- package/dist/components/form/index.d.ts +0 -32
- package/dist/components/form/index.js +0 -22
- package/dist/components/helper-text/index.cjs +0 -10
- package/dist/components/helper-text/index.d.cts +0 -18
- package/dist/components/helper-text/index.d.ts +0 -18
- package/dist/components/helper-text/index.js +0 -1
|
@@ -1,28 +1,14 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { Avatar as Avatar$1 } from 'radix-ui';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
4
|
|
|
7
|
-
type AvatarProps = Avatar$1.
|
|
8
|
-
|
|
9
|
-
* Defines avatar size
|
|
10
|
-
*/
|
|
11
|
-
size?: AvatarSizeType;
|
|
12
|
-
};
|
|
13
|
-
declare function Avatar({ className, size, ref, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
14
|
-
|
|
15
|
-
declare const avatarCva: (props?: ({
|
|
16
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
17
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
-
|
|
19
|
-
type AvatarCvaProps = VariantProps<typeof avatarCva>;
|
|
20
|
-
type AvatarSizeType = NonNullable<AvatarCvaProps["size"]>;
|
|
5
|
+
type AvatarProps = React.ComponentProps<typeof Avatar$1.Root>;
|
|
6
|
+
declare function Avatar({ className, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
21
7
|
|
|
22
8
|
type AvatarImageProps = React.ComponentProps<typeof Avatar$1.Image>;
|
|
23
|
-
declare function AvatarImage({ className,
|
|
9
|
+
declare function AvatarImage({ className, ...props }: AvatarImageProps): react_jsx_runtime.JSX.Element;
|
|
24
10
|
|
|
25
11
|
type AvatarFallbackProps = React.ComponentProps<typeof Avatar$1.Fallback>;
|
|
26
|
-
declare function AvatarFallback({ className,
|
|
12
|
+
declare function AvatarFallback({ className, ...props }: AvatarFallbackProps): react_jsx_runtime.JSX.Element;
|
|
27
13
|
|
|
28
|
-
export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps
|
|
14
|
+
export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps };
|
|
@@ -1,11 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkZV4467OW_cjs = require('../../chunk-ZV4467OW.cjs');
|
|
4
|
+
require('../../chunk-Y6EVJSAH.cjs');
|
|
5
|
+
require('../../chunk-GHV2TURY.cjs');
|
|
6
|
+
require('../../chunk-3WSQRFUY.cjs');
|
|
7
|
+
require('../../chunk-NU5UQPBX.cjs');
|
|
8
|
+
require('../../chunk-GR37JJQK.cjs');
|
|
9
|
+
require('../../chunk-2Y2ZCPNV.cjs');
|
|
10
|
+
require('../../chunk-HCHVDUI6.cjs');
|
|
11
|
+
require('../../chunk-PH4LO5TE.cjs');
|
|
12
|
+
require('../../chunk-N4O2GO6V.cjs');
|
|
13
|
+
require('../../chunk-S3ANEJJ7.cjs');
|
|
14
|
+
require('../../chunk-YWG7TML6.cjs');
|
|
15
|
+
require('../../chunk-5AA4IE2T.cjs');
|
|
16
|
+
require('../../chunk-3KMXFN6M.cjs');
|
|
17
|
+
require('../../chunk-UIOBJSKZ.cjs');
|
|
18
|
+
require('../../chunk-EW6TE3N5.cjs');
|
|
19
|
+
require('../../chunk-7EYMOUWG.cjs');
|
|
20
|
+
require('../../chunk-TMXVL5CV.cjs');
|
|
21
|
+
require('../../chunk-I7AV5IQO.cjs');
|
|
22
|
+
require('../../chunk-NHFHKMX2.cjs');
|
|
23
|
+
require('../../chunk-H2BWO3SI.cjs');
|
|
24
|
+
require('../../chunk-3376ZTRC.cjs');
|
|
5
25
|
|
|
6
26
|
|
|
7
27
|
|
|
8
28
|
Object.defineProperty(exports, "Button", {
|
|
9
29
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkZV4467OW_cjs.Button; }
|
|
11
31
|
});
|
|
@@ -3,15 +3,11 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
|
|
6
|
-
type
|
|
6
|
+
type ButtonProps = React.ComponentProps<"button"> & {
|
|
7
7
|
/**
|
|
8
8
|
* Defines button full width
|
|
9
9
|
*/
|
|
10
10
|
fullWidth?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Defines button color
|
|
13
|
-
*/
|
|
14
|
-
color?: ButtonColorType;
|
|
15
11
|
/**
|
|
16
12
|
* Defines button variant
|
|
17
13
|
*/
|
|
@@ -43,22 +39,19 @@ type Props = {
|
|
|
43
39
|
/**
|
|
44
40
|
* Defines is position of loading icon
|
|
45
41
|
*/
|
|
46
|
-
loadingPosition?: "start" | "end";
|
|
42
|
+
loadingPosition?: "start" | "end" | "center";
|
|
47
43
|
asChild?: boolean;
|
|
48
44
|
};
|
|
49
|
-
type
|
|
50
|
-
declare function Button({ asChild, variant, color, disabled, fullWidth, loadingPosition, ref, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
45
|
+
declare function Button({ asChild, variant, disabled, fullWidth, loadingPosition: loadingPositionProp, children, type, loading, size, endIcon, startIcon, className, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
51
46
|
|
|
52
|
-
declare const
|
|
47
|
+
declare const buttonVariants: (props?: ({
|
|
48
|
+
variant?: "link" | "error" | "default" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
49
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
53
50
|
fullWidth?: boolean | null | undefined;
|
|
54
|
-
color?: "neutral" | "primary" | "success" | "warning" | "error" | null | undefined;
|
|
55
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
56
|
-
variant?: "text" | "contained" | "outlined" | null | undefined;
|
|
57
51
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
58
52
|
|
|
59
|
-
type ButtonCvaProps = VariantProps<typeof
|
|
53
|
+
type ButtonCvaProps = VariantProps<typeof buttonVariants>;
|
|
60
54
|
type ButtonSizeType = NonNullable<ButtonCvaProps["size"]>;
|
|
61
55
|
type ButtonVariantType = NonNullable<ButtonCvaProps["variant"]>;
|
|
62
|
-
type ButtonColorType = NonNullable<ButtonCvaProps["color"]>;
|
|
63
56
|
|
|
64
|
-
export { Button, type
|
|
57
|
+
export { Button, type ButtonProps, type ButtonSizeType, type ButtonVariantType };
|
|
@@ -3,15 +3,11 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
|
|
6
|
-
type
|
|
6
|
+
type ButtonProps = React.ComponentProps<"button"> & {
|
|
7
7
|
/**
|
|
8
8
|
* Defines button full width
|
|
9
9
|
*/
|
|
10
10
|
fullWidth?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Defines button color
|
|
13
|
-
*/
|
|
14
|
-
color?: ButtonColorType;
|
|
15
11
|
/**
|
|
16
12
|
* Defines button variant
|
|
17
13
|
*/
|
|
@@ -43,22 +39,19 @@ type Props = {
|
|
|
43
39
|
/**
|
|
44
40
|
* Defines is position of loading icon
|
|
45
41
|
*/
|
|
46
|
-
loadingPosition?: "start" | "end";
|
|
42
|
+
loadingPosition?: "start" | "end" | "center";
|
|
47
43
|
asChild?: boolean;
|
|
48
44
|
};
|
|
49
|
-
type
|
|
50
|
-
declare function Button({ asChild, variant, color, disabled, fullWidth, loadingPosition, ref, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
45
|
+
declare function Button({ asChild, variant, disabled, fullWidth, loadingPosition: loadingPositionProp, children, type, loading, size, endIcon, startIcon, className, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
51
46
|
|
|
52
|
-
declare const
|
|
47
|
+
declare const buttonVariants: (props?: ({
|
|
48
|
+
variant?: "link" | "error" | "default" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
49
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
53
50
|
fullWidth?: boolean | null | undefined;
|
|
54
|
-
color?: "neutral" | "primary" | "success" | "warning" | "error" | null | undefined;
|
|
55
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
56
|
-
variant?: "text" | "contained" | "outlined" | null | undefined;
|
|
57
51
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
58
52
|
|
|
59
|
-
type ButtonCvaProps = VariantProps<typeof
|
|
53
|
+
type ButtonCvaProps = VariantProps<typeof buttonVariants>;
|
|
60
54
|
type ButtonSizeType = NonNullable<ButtonCvaProps["size"]>;
|
|
61
55
|
type ButtonVariantType = NonNullable<ButtonCvaProps["variant"]>;
|
|
62
|
-
type ButtonColorType = NonNullable<ButtonCvaProps["color"]>;
|
|
63
56
|
|
|
64
|
-
export { Button, type
|
|
57
|
+
export { Button, type ButtonProps, type ButtonSizeType, type ButtonVariantType };
|
|
@@ -1,2 +1,22 @@
|
|
|
1
|
-
export { Button } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { Button } from '../../chunk-DP7UEOTA.js';
|
|
2
|
+
import '../../chunk-U4AWAABZ.js';
|
|
3
|
+
import '../../chunk-DTSFPOLX.js';
|
|
4
|
+
import '../../chunk-P5IUC7HJ.js';
|
|
5
|
+
import '../../chunk-OQCNPNPS.js';
|
|
6
|
+
import '../../chunk-HJJPEVIH.js';
|
|
7
|
+
import '../../chunk-6BSR3O2J.js';
|
|
8
|
+
import '../../chunk-5F2Y65JH.js';
|
|
9
|
+
import '../../chunk-AGVEKVWD.js';
|
|
10
|
+
import '../../chunk-HD7ZDQWW.js';
|
|
11
|
+
import '../../chunk-I3RSTJP6.js';
|
|
12
|
+
import '../../chunk-UW6GOD7J.js';
|
|
13
|
+
import '../../chunk-UGSNASZM.js';
|
|
14
|
+
import '../../chunk-WJSS32MY.js';
|
|
15
|
+
import '../../chunk-XJIUGEPN.js';
|
|
16
|
+
import '../../chunk-H5O5L6XT.js';
|
|
17
|
+
import '../../chunk-DFD2WUOU.js';
|
|
18
|
+
import '../../chunk-5MJPZUTO.js';
|
|
19
|
+
import '../../chunk-NGVFYKAT.js';
|
|
20
|
+
import '../../chunk-7V34QHYR.js';
|
|
21
|
+
import '../../chunk-ZD2QRAOX.js';
|
|
22
|
+
import '../../chunk-BYXBJQAS.js';
|
|
@@ -1,31 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2Y2ZCPNV_cjs = require('../../chunk-2Y2ZCPNV.cjs');
|
|
4
4
|
require('../../chunk-H2BWO3SI.cjs');
|
|
5
|
+
require('../../chunk-3376ZTRC.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, "Card", {
|
|
9
10
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk2Y2ZCPNV_cjs.Card; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "CardAction", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunk2Y2ZCPNV_cjs.CardAction; }
|
|
11
16
|
});
|
|
12
17
|
Object.defineProperty(exports, "CardContent", {
|
|
13
18
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk2Y2ZCPNV_cjs.CardContent; }
|
|
15
20
|
});
|
|
16
21
|
Object.defineProperty(exports, "CardDescription", {
|
|
17
22
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk2Y2ZCPNV_cjs.CardDescription; }
|
|
19
24
|
});
|
|
20
25
|
Object.defineProperty(exports, "CardFooter", {
|
|
21
26
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk2Y2ZCPNV_cjs.CardFooter; }
|
|
23
28
|
});
|
|
24
29
|
Object.defineProperty(exports, "CardHeader", {
|
|
25
30
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk2Y2ZCPNV_cjs.CardHeader; }
|
|
27
32
|
});
|
|
28
33
|
Object.defineProperty(exports, "CardTitle", {
|
|
29
34
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk2Y2ZCPNV_cjs.CardTitle; }
|
|
31
36
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
-
type CardProps = React.
|
|
4
|
+
type CardProps = React.ComponentProps<"div">;
|
|
5
5
|
declare function Card({ className, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
6
6
|
|
|
7
7
|
type CardHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
@@ -10,13 +10,16 @@ declare function CardHeader({ className, ...props }: CardHeaderProps): react_jsx
|
|
|
10
10
|
type CardTitleProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
|
|
11
11
|
declare function CardTitle({ className, ...props }: CardTitleProps): react_jsx_runtime.JSX.Element;
|
|
12
12
|
|
|
13
|
-
type CardDescriptionProps = React.
|
|
13
|
+
type CardDescriptionProps = React.ComponentProps<"div">;
|
|
14
14
|
declare function CardDescription({ className, ...props }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
15
15
|
|
|
16
|
-
type CardContentProps = React.
|
|
16
|
+
type CardContentProps = React.ComponentProps<"div">;
|
|
17
17
|
declare function CardContent({ className, ...props }: CardContentProps): react_jsx_runtime.JSX.Element;
|
|
18
18
|
|
|
19
|
-
type CardFooterProps = React.
|
|
19
|
+
type CardFooterProps = React.ComponentProps<"div">;
|
|
20
20
|
declare function CardFooter({ className, ...props }: CardFooterProps): react_jsx_runtime.JSX.Element;
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
type CardActionProps = React.ComponentProps<"div">;
|
|
23
|
+
declare function CardAction({ className, ...props }: CardActionProps): react_jsx_runtime.JSX.Element;
|
|
24
|
+
|
|
25
|
+
export { Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
-
type CardProps = React.
|
|
4
|
+
type CardProps = React.ComponentProps<"div">;
|
|
5
5
|
declare function Card({ className, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
6
6
|
|
|
7
7
|
type CardHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
@@ -10,13 +10,16 @@ declare function CardHeader({ className, ...props }: CardHeaderProps): react_jsx
|
|
|
10
10
|
type CardTitleProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
|
|
11
11
|
declare function CardTitle({ className, ...props }: CardTitleProps): react_jsx_runtime.JSX.Element;
|
|
12
12
|
|
|
13
|
-
type CardDescriptionProps = React.
|
|
13
|
+
type CardDescriptionProps = React.ComponentProps<"div">;
|
|
14
14
|
declare function CardDescription({ className, ...props }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
15
15
|
|
|
16
|
-
type CardContentProps = React.
|
|
16
|
+
type CardContentProps = React.ComponentProps<"div">;
|
|
17
17
|
declare function CardContent({ className, ...props }: CardContentProps): react_jsx_runtime.JSX.Element;
|
|
18
18
|
|
|
19
|
-
type CardFooterProps = React.
|
|
19
|
+
type CardFooterProps = React.ComponentProps<"div">;
|
|
20
20
|
declare function CardFooter({ className, ...props }: CardFooterProps): react_jsx_runtime.JSX.Element;
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
type CardActionProps = React.ComponentProps<"div">;
|
|
23
|
+
declare function CardAction({ className, ...props }: CardActionProps): react_jsx_runtime.JSX.Element;
|
|
24
|
+
|
|
25
|
+
export { Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../../chunk-
|
|
1
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../../chunk-6BSR3O2J.js';
|
|
2
2
|
import '../../chunk-ZD2QRAOX.js';
|
|
3
|
+
import '../../chunk-BYXBJQAS.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkHCHVDUI6_cjs = require('../../chunk-HCHVDUI6.cjs');
|
|
4
|
+
require('../../chunk-H2BWO3SI.cjs');
|
|
5
|
+
require('../../chunk-3376ZTRC.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "Checkbox", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkHCHVDUI6_cjs.Checkbox; }
|
|
12
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Checkbox as Checkbox$1 } from 'radix-ui';
|
|
4
|
+
|
|
5
|
+
type CheckboxProps = React.ComponentProps<typeof Checkbox$1.Root>;
|
|
6
|
+
declare function Checkbox({ className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
7
|
+
|
|
8
|
+
export { Checkbox, type CheckboxProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Checkbox as Checkbox$1 } from 'radix-ui';
|
|
4
|
+
|
|
5
|
+
type CheckboxProps = React.ComponentProps<typeof Checkbox$1.Root>;
|
|
6
|
+
declare function Checkbox({ className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
7
|
+
|
|
8
|
+
export { Checkbox, type CheckboxProps };
|
|
@@ -16,7 +16,7 @@ type DialogContentProps = React.ComponentProps<typeof Dialog$1.Content> & {
|
|
|
16
16
|
declare function DialogContent({ className, children, width, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element;
|
|
17
17
|
|
|
18
18
|
declare const dialogContentStyles: (props?: ({
|
|
19
|
-
width?: "sm" | "
|
|
19
|
+
width?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | null | undefined;
|
|
20
20
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
21
21
|
|
|
22
22
|
type DialogContentCvaProps = VariantProps<typeof dialogContentStyles>;
|
|
@@ -16,7 +16,7 @@ type DialogContentProps = React.ComponentProps<typeof Dialog$1.Content> & {
|
|
|
16
16
|
declare function DialogContent({ className, children, width, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element;
|
|
17
17
|
|
|
18
18
|
declare const dialogContentStyles: (props?: ({
|
|
19
|
-
width?: "sm" | "
|
|
19
|
+
width?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | null | undefined;
|
|
20
20
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
21
21
|
|
|
22
22
|
type DialogContentCvaProps = VariantProps<typeof dialogContentStyles>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkN4O2GO6V_cjs = require('../../chunk-N4O2GO6V.cjs');
|
|
4
|
+
require('../../chunk-S3ANEJJ7.cjs');
|
|
5
|
+
require('../../chunk-UIOBJSKZ.cjs');
|
|
6
|
+
require('../../chunk-H2BWO3SI.cjs');
|
|
7
|
+
require('../../chunk-3376ZTRC.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports, "Field", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkN4O2GO6V_cjs.Field; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "FieldContent", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkN4O2GO6V_cjs.FieldContent; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "FieldDescription", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkN4O2GO6V_cjs.FieldDescription; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "FieldError", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkN4O2GO6V_cjs.FieldError; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "FieldGroup", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkN4O2GO6V_cjs.FieldGroup; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "FieldLabel", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkN4O2GO6V_cjs.FieldLabel; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "FieldLegend", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkN4O2GO6V_cjs.FieldLegend; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "FieldSeparator", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkN4O2GO6V_cjs.FieldSeparator; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "FieldSet", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkN4O2GO6V_cjs.FieldSet; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "FieldTitle", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return chunkN4O2GO6V_cjs.FieldTitle; }
|
|
50
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
+
import { Label } from '../label/index.cjs';
|
|
6
|
+
import 'radix-ui';
|
|
7
|
+
|
|
8
|
+
declare const fieldVariants: (props?: ({
|
|
9
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
|
|
12
|
+
type FieldProps = React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>;
|
|
13
|
+
declare function Field({ className, orientation, ...props }: FieldProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
type FieldContentProps = React.ComponentProps<"div">;
|
|
16
|
+
declare function FieldContent({ className, ...props }: FieldContentProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
type FieldDescriptionProps = React.ComponentProps<"p">;
|
|
19
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
type FieldErrorProps = React.ComponentProps<"div"> & {
|
|
22
|
+
errors?: Array<{
|
|
23
|
+
message?: string;
|
|
24
|
+
} | undefined>;
|
|
25
|
+
};
|
|
26
|
+
declare function FieldError({ className, children, errors, ...props }: FieldErrorProps): react_jsx_runtime.JSX.Element | null;
|
|
27
|
+
|
|
28
|
+
type FieldGroupProps = React.ComponentProps<"div">;
|
|
29
|
+
declare function FieldGroup({ className, ...props }: FieldGroupProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
|
|
31
|
+
type FieldLabelProps = React.ComponentProps<typeof Label>;
|
|
32
|
+
declare function FieldLabel({ className, ...props }: FieldLabelProps): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
34
|
+
type FieldLegendProps = React.ComponentProps<"legend"> & {
|
|
35
|
+
variant?: "legend" | "label";
|
|
36
|
+
};
|
|
37
|
+
declare function FieldLegend({ className, variant, ...props }: FieldLegendProps): react_jsx_runtime.JSX.Element;
|
|
38
|
+
|
|
39
|
+
type FieldSeparatorProps = React.ComponentProps<"div"> & {
|
|
40
|
+
children?: React.ReactNode;
|
|
41
|
+
};
|
|
42
|
+
declare function FieldSeparator({ children, className, ...props }: FieldSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
43
|
+
|
|
44
|
+
type FieldSetProps = React.ComponentProps<"fieldset">;
|
|
45
|
+
declare function FieldSet({ className, ...props }: FieldSetProps): react_jsx_runtime.JSX.Element;
|
|
46
|
+
|
|
47
|
+
type FieldTitleProps = React.ComponentProps<"div">;
|
|
48
|
+
declare function FieldTitle({ className, ...props }: FieldTitleProps): react_jsx_runtime.JSX.Element;
|
|
49
|
+
|
|
50
|
+
export { Field, FieldContent, type FieldContentProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldGroup, type FieldGroupProps, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, FieldTitle, type FieldTitleProps };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
+
import { Label } from '../label/index.js';
|
|
6
|
+
import 'radix-ui';
|
|
7
|
+
|
|
8
|
+
declare const fieldVariants: (props?: ({
|
|
9
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
|
|
12
|
+
type FieldProps = React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>;
|
|
13
|
+
declare function Field({ className, orientation, ...props }: FieldProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
type FieldContentProps = React.ComponentProps<"div">;
|
|
16
|
+
declare function FieldContent({ className, ...props }: FieldContentProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
type FieldDescriptionProps = React.ComponentProps<"p">;
|
|
19
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
type FieldErrorProps = React.ComponentProps<"div"> & {
|
|
22
|
+
errors?: Array<{
|
|
23
|
+
message?: string;
|
|
24
|
+
} | undefined>;
|
|
25
|
+
};
|
|
26
|
+
declare function FieldError({ className, children, errors, ...props }: FieldErrorProps): react_jsx_runtime.JSX.Element | null;
|
|
27
|
+
|
|
28
|
+
type FieldGroupProps = React.ComponentProps<"div">;
|
|
29
|
+
declare function FieldGroup({ className, ...props }: FieldGroupProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
|
|
31
|
+
type FieldLabelProps = React.ComponentProps<typeof Label>;
|
|
32
|
+
declare function FieldLabel({ className, ...props }: FieldLabelProps): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
34
|
+
type FieldLegendProps = React.ComponentProps<"legend"> & {
|
|
35
|
+
variant?: "legend" | "label";
|
|
36
|
+
};
|
|
37
|
+
declare function FieldLegend({ className, variant, ...props }: FieldLegendProps): react_jsx_runtime.JSX.Element;
|
|
38
|
+
|
|
39
|
+
type FieldSeparatorProps = React.ComponentProps<"div"> & {
|
|
40
|
+
children?: React.ReactNode;
|
|
41
|
+
};
|
|
42
|
+
declare function FieldSeparator({ children, className, ...props }: FieldSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
43
|
+
|
|
44
|
+
type FieldSetProps = React.ComponentProps<"fieldset">;
|
|
45
|
+
declare function FieldSet({ className, ...props }: FieldSetProps): react_jsx_runtime.JSX.Element;
|
|
46
|
+
|
|
47
|
+
type FieldTitleProps = React.ComponentProps<"div">;
|
|
48
|
+
declare function FieldTitle({ className, ...props }: FieldTitleProps): react_jsx_runtime.JSX.Element;
|
|
49
|
+
|
|
50
|
+
export { Field, FieldContent, type FieldContentProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldGroup, type FieldGroupProps, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, FieldTitle, type FieldTitleProps };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from '../../chunk-HD7ZDQWW.js';
|
|
2
|
+
import '../../chunk-I3RSTJP6.js';
|
|
3
|
+
import '../../chunk-XJIUGEPN.js';
|
|
4
|
+
import '../../chunk-ZD2QRAOX.js';
|
|
5
|
+
import '../../chunk-BYXBJQAS.js';
|