@szum-tech/design-system 3.7.1 → 3.8.1
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-2Q2BIWBE.js +46 -0
- package/dist/{chunk-AEMI4LPB.cjs → chunk-3Z3GVXXN.cjs} +83 -50
- package/dist/chunk-CXHDWIGF.cjs +89 -0
- package/dist/chunk-E5TYGWGE.js +176 -0
- package/dist/chunk-HNRVLRMN.js +82 -0
- package/dist/chunk-O3DHBQA5.cjs +50 -0
- package/dist/{chunk-6SNQ2B5C.js → chunk-SZ3LC2VO.js} +80 -47
- package/dist/chunk-XJZOANXX.cjs +183 -0
- package/dist/components/alert/index.cjs +19 -0
- package/dist/components/alert/index.d.cts +24 -0
- package/dist/components/alert/index.d.ts +24 -0
- package/dist/components/alert/index.js +2 -0
- package/dist/components/alert-dialog/index.cjs +0 -1
- package/dist/components/alert-dialog/index.js +0 -1
- package/dist/components/avatar/index.cjs +0 -1
- package/dist/components/avatar/index.js +0 -1
- package/dist/components/badge/index.cjs +0 -1
- package/dist/components/badge/index.js +0 -1
- package/dist/components/button/index.cjs +12 -11
- package/dist/components/button/index.js +11 -10
- package/dist/components/card/index.cjs +0 -1
- package/dist/components/card/index.js +0 -1
- package/dist/components/checkbox/index.cjs +0 -1
- package/dist/components/checkbox/index.js +0 -1
- package/dist/components/color-swatch/index.cjs +0 -1
- package/dist/components/color-swatch/index.js +0 -1
- package/dist/components/dialog/index.cjs +0 -1
- package/dist/components/dialog/index.js +0 -1
- package/dist/components/empty/index.cjs +31 -0
- package/dist/components/empty/index.d.cts +29 -0
- package/dist/components/empty/index.d.ts +29 -0
- package/dist/components/empty/index.js +2 -0
- package/dist/components/field/index.cjs +12 -13
- package/dist/components/field/index.js +2 -3
- package/dist/components/header/index.cjs +0 -1
- package/dist/components/header/index.js +0 -1
- package/dist/components/index.cjs +133 -96
- package/dist/components/index.d.cts +2 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +11 -10
- package/dist/components/input/index.cjs +0 -1
- package/dist/components/input/index.js +0 -1
- package/dist/components/item/index.cjs +0 -1
- package/dist/components/item/index.js +0 -1
- package/dist/components/label/index.cjs +0 -1
- package/dist/components/label/index.js +0 -1
- package/dist/components/progress/index.cjs +0 -1
- package/dist/components/progress/index.js +0 -1
- package/dist/components/radio-group/index.cjs +0 -1
- package/dist/components/radio-group/index.js +0 -1
- package/dist/components/scroll-area/index.cjs +0 -1
- package/dist/components/scroll-area/index.js +0 -1
- package/dist/components/select/index.cjs +7 -8
- package/dist/components/select/index.d.cts +1 -2
- package/dist/components/select/index.d.ts +1 -2
- package/dist/components/select/index.js +1 -2
- package/dist/components/separator/index.cjs +0 -1
- package/dist/components/separator/index.js +0 -1
- package/dist/components/sheet/index.cjs +0 -1
- package/dist/components/sheet/index.js +0 -1
- package/dist/components/spinner/index.cjs +0 -1
- package/dist/components/spinner/index.js +0 -1
- package/dist/components/stepper/index.cjs +30 -29
- package/dist/components/stepper/index.js +11 -10
- package/dist/components/textarea/index.cjs +0 -1
- package/dist/components/textarea/index.js +0 -1
- package/dist/components/toaster/index.cjs +13 -12
- package/dist/components/toaster/index.js +11 -10
- package/dist/components/tooltip/index.cjs +0 -1
- package/dist/components/tooltip/index.js +0 -1
- package/dist/contexts/index.cjs +0 -1
- package/dist/contexts/index.js +0 -1
- package/dist/hooks/index.cjs +0 -1
- package/dist/hooks/index.js +0 -1
- package/dist/icons/index.cjs +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/utils/index.cjs +0 -1
- package/dist/utils/index.js +0 -1
- package/package.json +1 -1
- package/dist/chunk-3376ZTRC.cjs +0 -2
- package/dist/chunk-3ZRMIVJM.cjs +0 -4934
- package/dist/chunk-BYXBJQAS.js +0 -1
- package/dist/chunk-O7QFYWMK.js +0 -4907
- package/dist/{chunk-YTVV2IUF.cjs → chunk-Q5ONG5HB.cjs} +1 -1
- package/dist/{chunk-KYFNEU4K.js → chunk-SYKUS2RV.js} +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
|
|
6
|
+
declare const alertVariants: (props?: ({
|
|
7
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
|
|
10
|
+
type AlertVariantsProps = VariantProps<typeof alertVariants>;
|
|
11
|
+
type AlertVariant = NonNullable<AlertVariantsProps["variant"]>;
|
|
12
|
+
|
|
13
|
+
type AlertProps = React.ComponentProps<"div"> & {
|
|
14
|
+
variant?: AlertVariant;
|
|
15
|
+
};
|
|
16
|
+
declare function Alert({ className, variant, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
type AlertDescriptionProps = React.ComponentProps<"div">;
|
|
19
|
+
declare function AlertDescription({ className, ...props }: AlertDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
type AlertTitleProps = React.ComponentProps<"div">;
|
|
22
|
+
declare function AlertTitle({ className, ...props }: AlertTitleProps): react_jsx_runtime.JSX.Element;
|
|
23
|
+
|
|
24
|
+
export { Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, type AlertVariant };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from '../../chunk-5MJPZUTO.js';
|
|
2
2
|
import '../../chunk-ZD2QRAOX.js';
|
|
3
|
-
import '../../chunk-BYXBJQAS.js';
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3Z3GVXXN_cjs = require('../../chunk-3Z3GVXXN.cjs');
|
|
4
|
+
require('../../chunk-GHV2TURY.cjs');
|
|
4
5
|
require('../../chunk-3WSQRFUY.cjs');
|
|
5
6
|
require('../../chunk-NU5UQPBX.cjs');
|
|
6
7
|
require('../../chunk-GR37JJQK.cjs');
|
|
8
|
+
require('../../chunk-YWG7TML6.cjs');
|
|
9
|
+
require('../../chunk-5AA4IE2T.cjs');
|
|
7
10
|
require('../../chunk-3DUJHGXE.cjs');
|
|
8
11
|
require('../../chunk-TH44JYXB.cjs');
|
|
9
12
|
require('../../chunk-XENOUBSI.cjs');
|
|
10
13
|
require('../../chunk-UJX74PFK.cjs');
|
|
11
|
-
require('../../chunk-
|
|
12
|
-
require('../../chunk-
|
|
14
|
+
require('../../chunk-XJZOANXX.cjs');
|
|
15
|
+
require('../../chunk-Z6CZAPVG.cjs');
|
|
13
16
|
require('../../chunk-2Y2ZCPNV.cjs');
|
|
14
17
|
require('../../chunk-HCHVDUI6.cjs');
|
|
15
|
-
require('../../chunk-X55H6LRX.cjs');
|
|
16
18
|
require('../../chunk-BAWVLSRF.cjs');
|
|
17
|
-
require('../../chunk-
|
|
18
|
-
require('../../chunk-
|
|
19
|
+
require('../../chunk-CXHDWIGF.cjs');
|
|
20
|
+
require('../../chunk-Q5ONG5HB.cjs');
|
|
19
21
|
require('../../chunk-UIOBJSKZ.cjs');
|
|
20
|
-
require('../../chunk-
|
|
21
|
-
require('../../chunk-
|
|
22
|
+
require('../../chunk-S3ANEJJ7.cjs');
|
|
23
|
+
require('../../chunk-X55H6LRX.cjs');
|
|
22
24
|
require('../../chunk-EW6TE3N5.cjs');
|
|
23
25
|
require('../../chunk-7EYMOUWG.cjs');
|
|
26
|
+
require('../../chunk-O3DHBQA5.cjs');
|
|
24
27
|
require('../../chunk-TMXVL5CV.cjs');
|
|
25
28
|
require('../../chunk-I7AV5IQO.cjs');
|
|
26
|
-
require('../../chunk-Z6CZAPVG.cjs');
|
|
27
29
|
require('../../chunk-H2BWO3SI.cjs');
|
|
28
|
-
require('../../chunk-3376ZTRC.cjs');
|
|
29
30
|
|
|
30
31
|
|
|
31
32
|
|
|
32
33
|
Object.defineProperty(exports, "Button", {
|
|
33
34
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk3Z3GVXXN_cjs.Button; }
|
|
35
36
|
});
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
export { Button } from '../../chunk-
|
|
1
|
+
export { Button } from '../../chunk-SZ3LC2VO.js';
|
|
2
|
+
import '../../chunk-DTSFPOLX.js';
|
|
2
3
|
import '../../chunk-P5IUC7HJ.js';
|
|
3
4
|
import '../../chunk-OQCNPNPS.js';
|
|
4
5
|
import '../../chunk-HJJPEVIH.js';
|
|
6
|
+
import '../../chunk-UW6GOD7J.js';
|
|
7
|
+
import '../../chunk-UGSNASZM.js';
|
|
5
8
|
import '../../chunk-XV3AQ6NS.js';
|
|
6
9
|
import '../../chunk-PBEZZMAB.js';
|
|
7
10
|
import '../../chunk-4TRADSTP.js';
|
|
8
11
|
import '../../chunk-M7NIRB3U.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-E5TYGWGE.js';
|
|
13
|
+
import '../../chunk-FKCWRNWB.js';
|
|
11
14
|
import '../../chunk-6BSR3O2J.js';
|
|
12
15
|
import '../../chunk-5F2Y65JH.js';
|
|
13
|
-
import '../../chunk-3BLXG7ET.js';
|
|
14
16
|
import '../../chunk-ACJ3ES2B.js';
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-HNRVLRMN.js';
|
|
18
|
+
import '../../chunk-SYKUS2RV.js';
|
|
17
19
|
import '../../chunk-XJIUGEPN.js';
|
|
18
|
-
import '../../chunk-
|
|
19
|
-
import '../../chunk-
|
|
20
|
+
import '../../chunk-I3RSTJP6.js';
|
|
21
|
+
import '../../chunk-3BLXG7ET.js';
|
|
20
22
|
import '../../chunk-H5O5L6XT.js';
|
|
21
23
|
import '../../chunk-DFD2WUOU.js';
|
|
24
|
+
import '../../chunk-2Q2BIWBE.js';
|
|
22
25
|
import '../../chunk-5MJPZUTO.js';
|
|
23
26
|
import '../../chunk-NGVFYKAT.js';
|
|
24
|
-
import '../../chunk-FKCWRNWB.js';
|
|
25
27
|
import '../../chunk-ZD2QRAOX.js';
|
|
26
|
-
import '../../chunk-BYXBJQAS.js';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkCXHDWIGF_cjs = require('../../chunk-CXHDWIGF.cjs');
|
|
4
|
+
require('../../chunk-H2BWO3SI.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "Empty", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkCXHDWIGF_cjs.Empty; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "EmptyContent", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkCXHDWIGF_cjs.EmptyContent; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "EmptyDescription", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkCXHDWIGF_cjs.EmptyDescription; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "EmptyHeader", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkCXHDWIGF_cjs.EmptyHeader; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "EmptyMedia", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkCXHDWIGF_cjs.EmptyMedia; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "EmptyTitle", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkCXHDWIGF_cjs.EmptyTitle; }
|
|
31
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
type EmptyProps = React.ComponentProps<"div"> & {
|
|
7
|
+
border?: boolean | "dashed";
|
|
8
|
+
};
|
|
9
|
+
declare function Empty({ className, border, ...props }: EmptyProps): react_jsx_runtime.JSX.Element;
|
|
10
|
+
|
|
11
|
+
type EmptyHeaderProps = React.ComponentProps<"div">;
|
|
12
|
+
declare function EmptyHeader({ className, ...props }: EmptyHeaderProps): react_jsx_runtime.JSX.Element;
|
|
13
|
+
|
|
14
|
+
type EmptyTitleProps = React.ComponentProps<"div">;
|
|
15
|
+
declare function EmptyTitle({ className, ...props }: EmptyTitleProps): react_jsx_runtime.JSX.Element;
|
|
16
|
+
|
|
17
|
+
type EmptyDescriptionProps = React.ComponentProps<"p">;
|
|
18
|
+
declare function EmptyDescription({ className, ...props }: EmptyDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
20
|
+
type EmptyContentProps = React.ComponentProps<"div">;
|
|
21
|
+
declare function EmptyContent({ className, ...props }: EmptyContentProps): react_jsx_runtime.JSX.Element;
|
|
22
|
+
|
|
23
|
+
type EmptyMediaProps = React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>;
|
|
24
|
+
declare const emptyMediaVariants: (props?: ({
|
|
25
|
+
variant?: "default" | "icon" | null | undefined;
|
|
26
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
27
|
+
declare function EmptyMedia({ className, variant, ...props }: EmptyMediaProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
|
|
29
|
+
export { Empty, EmptyContent, type EmptyContentProps, EmptyDescription, type EmptyDescriptionProps, EmptyHeader, type EmptyHeaderProps, EmptyMedia, type EmptyMediaProps, type EmptyProps, EmptyTitle, type EmptyTitleProps };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
type EmptyProps = React.ComponentProps<"div"> & {
|
|
7
|
+
border?: boolean | "dashed";
|
|
8
|
+
};
|
|
9
|
+
declare function Empty({ className, border, ...props }: EmptyProps): react_jsx_runtime.JSX.Element;
|
|
10
|
+
|
|
11
|
+
type EmptyHeaderProps = React.ComponentProps<"div">;
|
|
12
|
+
declare function EmptyHeader({ className, ...props }: EmptyHeaderProps): react_jsx_runtime.JSX.Element;
|
|
13
|
+
|
|
14
|
+
type EmptyTitleProps = React.ComponentProps<"div">;
|
|
15
|
+
declare function EmptyTitle({ className, ...props }: EmptyTitleProps): react_jsx_runtime.JSX.Element;
|
|
16
|
+
|
|
17
|
+
type EmptyDescriptionProps = React.ComponentProps<"p">;
|
|
18
|
+
declare function EmptyDescription({ className, ...props }: EmptyDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
20
|
+
type EmptyContentProps = React.ComponentProps<"div">;
|
|
21
|
+
declare function EmptyContent({ className, ...props }: EmptyContentProps): react_jsx_runtime.JSX.Element;
|
|
22
|
+
|
|
23
|
+
type EmptyMediaProps = React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>;
|
|
24
|
+
declare const emptyMediaVariants: (props?: ({
|
|
25
|
+
variant?: "default" | "icon" | null | undefined;
|
|
26
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
27
|
+
declare function EmptyMedia({ className, variant, ...props }: EmptyMediaProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
|
|
29
|
+
export { Empty, EmptyContent, type EmptyContentProps, EmptyDescription, type EmptyDescriptionProps, EmptyHeader, type EmptyHeaderProps, EmptyMedia, type EmptyMediaProps, type EmptyProps, EmptyTitle, type EmptyTitleProps };
|
|
@@ -1,50 +1,49 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-S3ANEJJ7.cjs');
|
|
3
|
+
var chunkQ5ONG5HB_cjs = require('../../chunk-Q5ONG5HB.cjs');
|
|
5
4
|
require('../../chunk-UIOBJSKZ.cjs');
|
|
5
|
+
require('../../chunk-S3ANEJJ7.cjs');
|
|
6
6
|
require('../../chunk-H2BWO3SI.cjs');
|
|
7
|
-
require('../../chunk-3376ZTRC.cjs');
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
Object.defineProperty(exports, "Field", {
|
|
12
11
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkQ5ONG5HB_cjs.Field; }
|
|
14
13
|
});
|
|
15
14
|
Object.defineProperty(exports, "FieldContent", {
|
|
16
15
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkQ5ONG5HB_cjs.FieldContent; }
|
|
18
17
|
});
|
|
19
18
|
Object.defineProperty(exports, "FieldDescription", {
|
|
20
19
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkQ5ONG5HB_cjs.FieldDescription; }
|
|
22
21
|
});
|
|
23
22
|
Object.defineProperty(exports, "FieldError", {
|
|
24
23
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkQ5ONG5HB_cjs.FieldError; }
|
|
26
25
|
});
|
|
27
26
|
Object.defineProperty(exports, "FieldGroup", {
|
|
28
27
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkQ5ONG5HB_cjs.FieldGroup; }
|
|
30
29
|
});
|
|
31
30
|
Object.defineProperty(exports, "FieldLabel", {
|
|
32
31
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkQ5ONG5HB_cjs.FieldLabel; }
|
|
34
33
|
});
|
|
35
34
|
Object.defineProperty(exports, "FieldLegend", {
|
|
36
35
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkQ5ONG5HB_cjs.FieldLegend; }
|
|
38
37
|
});
|
|
39
38
|
Object.defineProperty(exports, "FieldSeparator", {
|
|
40
39
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkQ5ONG5HB_cjs.FieldSeparator; }
|
|
42
41
|
});
|
|
43
42
|
Object.defineProperty(exports, "FieldSet", {
|
|
44
43
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkQ5ONG5HB_cjs.FieldSet; }
|
|
46
45
|
});
|
|
47
46
|
Object.defineProperty(exports, "FieldTitle", {
|
|
48
47
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkQ5ONG5HB_cjs.FieldTitle; }
|
|
50
49
|
});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from '../../chunk-
|
|
2
|
-
import '../../chunk-I3RSTJP6.js';
|
|
1
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from '../../chunk-SYKUS2RV.js';
|
|
3
2
|
import '../../chunk-XJIUGEPN.js';
|
|
3
|
+
import '../../chunk-I3RSTJP6.js';
|
|
4
4
|
import '../../chunk-ZD2QRAOX.js';
|
|
5
|
-
import '../../chunk-BYXBJQAS.js';
|