@szum-tech/design-system 2.0.4 → 2.1.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-463KEXY6.cjs +80 -0
- package/dist/chunk-4YZSPNLW.cjs +43 -0
- package/dist/chunk-5EN2HNFU.js +50 -0
- package/dist/chunk-5ENMEB5L.cjs +341 -0
- package/dist/chunk-AO4TMCYJ.js +88 -0
- package/dist/chunk-C5YRMEKV.js +319 -0
- package/dist/chunk-HFHADY43.js +36 -0
- package/dist/chunk-HIWVHD4V.js +57 -0
- package/dist/chunk-HXC3EALP.js +40 -0
- package/dist/chunk-IFBQNWVG.js +70 -0
- package/dist/chunk-J264N6AZ.js +22 -0
- package/dist/chunk-J56UDYA3.js +71 -0
- package/dist/chunk-KPB3CBHE.cjs +40 -0
- package/dist/chunk-LI7IHIOM.cjs +31 -0
- package/dist/chunk-LND2W67K.cjs +18 -0
- package/dist/chunk-N7DXGCBJ.cjs +31 -0
- package/dist/chunk-PB3EGVTV.cjs +116 -0
- package/dist/chunk-QRSQCHBO.cjs +60 -0
- package/dist/chunk-RF5YR553.cjs +24 -0
- package/dist/chunk-TD2KDWNP.js +58 -0
- package/dist/chunk-US32J7DK.js +16 -0
- package/dist/chunk-UZBZFCWX.js +29 -0
- package/dist/chunk-V4POHGAW.cjs +60 -0
- package/dist/chunk-VFRIU5CV.cjs +17 -0
- package/dist/chunk-VQMM75HD.cjs +67 -0
- package/dist/chunk-WTVBTZ3P.js +30 -0
- package/dist/chunk-XGA2F5GG.cjs +72 -0
- package/dist/chunk-XPM62WMM.js +24 -0
- package/dist/chunk-YHU2OW52.js +15 -0
- package/dist/chunk-YXTTED5V.cjs +32 -0
- package/dist/components/alert-dialog/index.cjs +43 -0
- package/dist/components/alert-dialog/index.d.cts +32 -0
- package/dist/components/alert-dialog/index.d.ts +32 -0
- package/dist/components/alert-dialog/index.js +2 -0
- package/dist/components/avatar/index.cjs +19 -0
- package/dist/components/avatar/index.d.cts +28 -0
- package/dist/components/avatar/index.d.ts +28 -0
- package/dist/components/avatar/index.js +2 -0
- package/dist/components/button/index.cjs +11 -0
- package/dist/components/button/index.d.cts +64 -0
- package/dist/components/button/index.d.ts +64 -0
- package/dist/components/button/index.js +2 -0
- package/dist/components/card/index.cjs +30 -0
- package/dist/components/card/index.d.cts +22 -0
- package/dist/components/card/index.d.ts +22 -0
- package/dist/components/card/index.js +1 -0
- package/dist/components/dialog/index.cjs +38 -0
- package/dist/components/dialog/index.d.cts +40 -0
- package/dist/components/dialog/index.d.ts +40 -0
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/form/index.cjs +50 -0
- package/dist/components/form/index.d.cts +32 -0
- package/dist/components/form/index.d.ts +32 -0
- package/dist/components/form/index.js +17 -0
- package/dist/components/header/index.cjs +10 -0
- package/dist/components/header/index.d.cts +9 -0
- package/dist/components/header/index.d.ts +9 -0
- package/dist/components/header/index.js +1 -0
- package/dist/components/helper-text/index.cjs +10 -0
- package/dist/components/helper-text/index.d.cts +18 -0
- package/dist/components/helper-text/index.d.ts +18 -0
- package/dist/components/helper-text/index.js +1 -0
- package/dist/components/index.cjs +232 -0
- package/dist/components/index.d.cts +22 -0
- package/dist/components/index.d.ts +22 -0
- package/dist/components/index.js +19 -0
- package/dist/components/input/index.cjs +11 -0
- package/dist/components/input/index.d.cts +11 -0
- package/dist/components/input/index.d.ts +11 -0
- package/dist/components/input/index.js +2 -0
- package/dist/components/label/index.cjs +10 -0
- package/dist/components/label/index.d.cts +8 -0
- package/dist/components/label/index.d.ts +8 -0
- package/dist/components/label/index.js +1 -0
- package/dist/components/select/index.cjs +14 -0
- package/dist/components/select/index.d.cts +15 -0
- package/dist/components/select/index.d.ts +15 -0
- package/dist/components/select/index.js +1 -0
- package/dist/components/separator/index.cjs +11 -0
- package/dist/components/separator/index.d.cts +8 -0
- package/dist/components/separator/index.d.ts +8 -0
- package/dist/components/separator/index.js +2 -0
- package/dist/components/sheet/index.cjs +38 -0
- package/dist/components/sheet/index.d.cts +40 -0
- package/dist/components/sheet/index.d.ts +40 -0
- package/dist/components/sheet/index.js +1 -0
- package/dist/components/textarea/index.cjs +10 -0
- package/dist/components/textarea/index.d.cts +9 -0
- package/dist/components/textarea/index.d.ts +9 -0
- package/dist/components/textarea/index.js +1 -0
- package/dist/components/tooltip/index.cjs +14 -0
- package/dist/components/tooltip/index.d.cts +20 -0
- package/dist/components/tooltip/index.d.ts +20 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/{icons.cjs → icons/index.cjs} +1 -1
- package/dist/{icons.js → icons/index.js} +1 -1
- package/dist/{utils.cjs → utils/index.cjs} +1 -1
- package/dist/utils/index.js +1 -0
- package/package.json +61 -50
- package/dist/index.cjs +0 -908
- package/dist/index.d.cts +0 -285
- package/dist/index.d.ts +0 -285
- package/dist/index.js +0 -832
- package/dist/utils.js +0 -1
- /package/dist/{icons.d.cts → icons/index.d.cts} +0 -0
- /package/dist/{icons.d.ts → icons/index.d.ts} +0 -0
- /package/dist/{utils.d.cts → utils/index.d.cts} +0 -0
- /package/dist/{utils.d.ts → utils/index.d.ts} +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkVQMM75HD_cjs = require('../../chunk-VQMM75HD.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "Sheet", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkVQMM75HD_cjs.Sheet; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "SheetClose", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkVQMM75HD_cjs.SheetClose; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "SheetContent", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkVQMM75HD_cjs.SheetContent; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "SheetDescription", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkVQMM75HD_cjs.SheetDescription; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "SheetFooter", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkVQMM75HD_cjs.SheetFooter; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "SheetHeader", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkVQMM75HD_cjs.SheetHeader; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "SheetTitle", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkVQMM75HD_cjs.SheetTitle; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "SheetTrigger", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkVQMM75HD_cjs.SheetTrigger; }
|
|
38
|
+
});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Dialog } from 'radix-ui';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
6
|
+
|
|
7
|
+
type SheetProps = Dialog.DialogProps;
|
|
8
|
+
declare const Sheet: React.FC<Dialog.DialogProps>;
|
|
9
|
+
|
|
10
|
+
type SheetTriggerProps = Dialog.DialogTriggerProps;
|
|
11
|
+
declare const SheetTrigger: React.ForwardRefExoticComponent<Dialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
|
|
13
|
+
type SheetCloseProps = Dialog.DialogCloseProps;
|
|
14
|
+
declare const SheetClose: React.ForwardRefExoticComponent<Dialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
|
|
16
|
+
type SheetContentProps = React.ComponentProps<typeof Dialog.Content> & {
|
|
17
|
+
side?: SheetContentSide;
|
|
18
|
+
};
|
|
19
|
+
declare function SheetContent({ side, className, children, ...props }: SheetContentProps): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
declare const sheetContentStyles: (props?: ({
|
|
22
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
23
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
24
|
+
|
|
25
|
+
type SheetContentCvaProps = VariantProps<typeof sheetContentStyles>;
|
|
26
|
+
type SheetContentSide = NonNullable<SheetContentCvaProps["side"]>;
|
|
27
|
+
|
|
28
|
+
type SheetHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
29
|
+
declare function SheetHeader({ className, ...props }: SheetHeaderProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
|
|
31
|
+
type SheetFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
32
|
+
declare function SheetFooter({ className, ...props }: SheetFooterProps): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
34
|
+
type SheetTitleProps = React.ComponentProps<typeof Dialog.Title>;
|
|
35
|
+
declare function SheetTitle({ className, ...props }: SheetTitleProps): react_jsx_runtime.JSX.Element;
|
|
36
|
+
|
|
37
|
+
type SheetDescriptionProps = React.ComponentProps<typeof Dialog.Description>;
|
|
38
|
+
declare function SheetDescription({ className, ...props }: SheetDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
39
|
+
|
|
40
|
+
export { Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, type SheetContentSide, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Dialog } from 'radix-ui';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
6
|
+
|
|
7
|
+
type SheetProps = Dialog.DialogProps;
|
|
8
|
+
declare const Sheet: React.FC<Dialog.DialogProps>;
|
|
9
|
+
|
|
10
|
+
type SheetTriggerProps = Dialog.DialogTriggerProps;
|
|
11
|
+
declare const SheetTrigger: React.ForwardRefExoticComponent<Dialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
|
|
13
|
+
type SheetCloseProps = Dialog.DialogCloseProps;
|
|
14
|
+
declare const SheetClose: React.ForwardRefExoticComponent<Dialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
|
|
16
|
+
type SheetContentProps = React.ComponentProps<typeof Dialog.Content> & {
|
|
17
|
+
side?: SheetContentSide;
|
|
18
|
+
};
|
|
19
|
+
declare function SheetContent({ side, className, children, ...props }: SheetContentProps): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
declare const sheetContentStyles: (props?: ({
|
|
22
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
23
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
24
|
+
|
|
25
|
+
type SheetContentCvaProps = VariantProps<typeof sheetContentStyles>;
|
|
26
|
+
type SheetContentSide = NonNullable<SheetContentCvaProps["side"]>;
|
|
27
|
+
|
|
28
|
+
type SheetHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
29
|
+
declare function SheetHeader({ className, ...props }: SheetHeaderProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
|
|
31
|
+
type SheetFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
32
|
+
declare function SheetFooter({ className, ...props }: SheetFooterProps): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
34
|
+
type SheetTitleProps = React.ComponentProps<typeof Dialog.Title>;
|
|
35
|
+
declare function SheetTitle({ className, ...props }: SheetTitleProps): react_jsx_runtime.JSX.Element;
|
|
36
|
+
|
|
37
|
+
type SheetDescriptionProps = React.ComponentProps<typeof Dialog.Description>;
|
|
38
|
+
declare function SheetDescription({ className, ...props }: SheetDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
39
|
+
|
|
40
|
+
export { Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, type SheetContentSide, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from '../../chunk-TD2KDWNP.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
type TextareaProps = React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> & {
|
|
5
|
+
invalid?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare function Textarea({ invalid, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { Textarea, type TextareaProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
type TextareaProps = React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> & {
|
|
5
|
+
invalid?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare function Textarea({ invalid, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { Textarea, type TextareaProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Textarea } from '../../chunk-UZBZFCWX.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk4YZSPNLW_cjs = require('../../chunk-4YZSPNLW.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "Tooltip", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunk4YZSPNLW_cjs.Tooltip; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "TooltipProvider", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunk4YZSPNLW_cjs.TooltipProvider; }
|
|
14
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Tooltip as Tooltip$1 } from 'radix-ui';
|
|
4
|
+
|
|
5
|
+
type TooltipProps = Tooltip$1.TooltipContentProps & {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
open?: boolean;
|
|
9
|
+
onOpenChange?: (open: boolean) => void;
|
|
10
|
+
content?: React.ReactNode;
|
|
11
|
+
collisionPadding?: number;
|
|
12
|
+
};
|
|
13
|
+
declare function Tooltip({ defaultOpen, content, open, onOpenChange, children, side, align, collisionPadding, sideOffset, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
type TooltipProviderProps = {
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
};
|
|
18
|
+
declare function TooltipProvider({ children }: TooltipProviderProps): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
20
|
+
export { Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Tooltip as Tooltip$1 } from 'radix-ui';
|
|
4
|
+
|
|
5
|
+
type TooltipProps = Tooltip$1.TooltipContentProps & {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
open?: boolean;
|
|
9
|
+
onOpenChange?: (open: boolean) => void;
|
|
10
|
+
content?: React.ReactNode;
|
|
11
|
+
collisionPadding?: number;
|
|
12
|
+
};
|
|
13
|
+
declare function Tooltip({ defaultOpen, content, open, onOpenChange, children, side, align, collisionPadding, sideOffset, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
type TooltipProviderProps = {
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
};
|
|
18
|
+
declare function TooltipProvider({ children }: TooltipProviderProps): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
20
|
+
export { Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tooltip, TooltipProvider } from '../../chunk-HXC3EALP.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Auth0LogoIcon, GoogleLogoIcon, LoadingIcon, XLogoIcon } from '
|
|
1
|
+
export { Auth0LogoIcon, GoogleLogoIcon, LoadingIcon, XLogoIcon } from '../chunk-INJBKPIE.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { cn } from '../chunk-ZD2QRAOX.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@szum-tech/design-system",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Szum-Tech design system with tailwindcss support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"szum-tech",
|
|
@@ -30,32 +30,42 @@
|
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
32
|
"import": {
|
|
33
|
-
"types": "./dist/index.d.ts",
|
|
34
|
-
"import": "./dist/index.js"
|
|
33
|
+
"types": "./dist/components/index.d.ts",
|
|
34
|
+
"import": "./dist/components/index.js"
|
|
35
35
|
},
|
|
36
36
|
"require": {
|
|
37
|
-
"types": "./dist/index.d.cts",
|
|
38
|
-
"require": "./dist/index.cjs"
|
|
37
|
+
"types": "./dist/components/index.d.cts",
|
|
38
|
+
"require": "./dist/components/index.cjs"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"./componnents/*": {
|
|
42
|
+
"import": {
|
|
43
|
+
"types": "./dist/components/*/index.d.ts",
|
|
44
|
+
"import": "./dist/components/*/index.js"
|
|
45
|
+
},
|
|
46
|
+
"require": {
|
|
47
|
+
"types": "./dist/components/*/index.d.cts",
|
|
48
|
+
"require": "./dist/components/*/index.cjs"
|
|
39
49
|
}
|
|
40
50
|
},
|
|
41
51
|
"./icons": {
|
|
42
52
|
"import": {
|
|
43
|
-
"types": "./dist/icons.d.ts",
|
|
44
|
-
"import": "./dist/icons.js"
|
|
53
|
+
"types": "./dist/icons/index.d.ts",
|
|
54
|
+
"import": "./dist/icons/index.js"
|
|
45
55
|
},
|
|
46
56
|
"require": {
|
|
47
|
-
"types": "./dist/icons.d.cts",
|
|
48
|
-
"require": "./dist/icons.cjs"
|
|
57
|
+
"types": "./dist/icons/index.d.cts",
|
|
58
|
+
"require": "./dist/icons/index.cjs"
|
|
49
59
|
}
|
|
50
60
|
},
|
|
51
61
|
"./utils": {
|
|
52
62
|
"import": {
|
|
53
|
-
"types": "./dist/utils.d.ts",
|
|
54
|
-
"import": "./dist/utils.js"
|
|
63
|
+
"types": "./dist/utils/index.d.ts",
|
|
64
|
+
"import": "./dist/utils/index.js"
|
|
55
65
|
},
|
|
56
66
|
"require": {
|
|
57
|
-
"types": "./dist/utils.d.cts",
|
|
58
|
-
"require": "./dist/utils.cjs"
|
|
67
|
+
"types": "./dist/utils/index.d.cts",
|
|
68
|
+
"require": "./dist/utils/index.cjs"
|
|
59
69
|
}
|
|
60
70
|
},
|
|
61
71
|
"./tailwind/*.css": "./tailwind/*.css",
|
|
@@ -69,11 +79,12 @@
|
|
|
69
79
|
"tailwind/**"
|
|
70
80
|
],
|
|
71
81
|
"scripts": {
|
|
72
|
-
"build": "tsup && cpy 'src/tailwind/*.css' './tailwind' --flat",
|
|
82
|
+
"build": "tsup && cpy 'src/tailwind/*.css' './tailwind' --flat && npm run post-build",
|
|
73
83
|
"lint": "eslint .",
|
|
74
84
|
"lint:ci": "eslint . -o eslint-results.sarif -f @microsoft/eslint-formatter-sarif",
|
|
75
85
|
"lint:fix": "eslint . --fix",
|
|
76
86
|
"lint:inspect": "npx @eslint/config-inspector@latest",
|
|
87
|
+
"post-build": "node src/scripts/post-build.js",
|
|
77
88
|
"prettier:check": "prettier --check .",
|
|
78
89
|
"prettier:write": "prettier --write .",
|
|
79
90
|
"storybook:build": "storybook build --docs",
|
|
@@ -84,7 +95,7 @@
|
|
|
84
95
|
"test:coverage": "vitest --coverage",
|
|
85
96
|
"test:storybook": "vitest --project=storybook --coverage",
|
|
86
97
|
"test:ui": "vitest --ui",
|
|
87
|
-
"test:unit": "vitest --project=unit
|
|
98
|
+
"test:unit": "vitest --project=unit",
|
|
88
99
|
"test:watch": "vitest --watch",
|
|
89
100
|
"type-check": "tsc --noEmit"
|
|
90
101
|
},
|
|
@@ -92,59 +103,59 @@
|
|
|
92
103
|
"@radix-ui/react-icons": "^1.3.2",
|
|
93
104
|
"class-variance-authority": "^0.7.1",
|
|
94
105
|
"clsx": "^2.1.1",
|
|
95
|
-
"radix-ui": "^1.1
|
|
96
|
-
"tailwind-merge": "^3.0
|
|
106
|
+
"radix-ui": "^1.4.1",
|
|
107
|
+
"tailwind-merge": "^3.3.0",
|
|
97
108
|
"tailwindcss-animate": "^1.0.7"
|
|
98
109
|
},
|
|
99
110
|
"devDependencies": {
|
|
100
|
-
"@hookform/resolvers": "^
|
|
101
|
-
"@storybook/addon-essentials": "^8.6.
|
|
102
|
-
"@storybook/addon-links": "^8.6.
|
|
103
|
-
"@storybook/experimental-addon-test": "^8.6.
|
|
104
|
-
"@storybook/react": "^8.6.
|
|
105
|
-
"@storybook/react-vite": "^8.6.
|
|
106
|
-
"@storybook/theming": "^8.6.
|
|
111
|
+
"@hookform/resolvers": "^5.0.1",
|
|
112
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
113
|
+
"@storybook/addon-links": "^8.6.14",
|
|
114
|
+
"@storybook/experimental-addon-test": "^8.6.14",
|
|
115
|
+
"@storybook/react": "^8.6.14",
|
|
116
|
+
"@storybook/react-vite": "^8.6.14",
|
|
117
|
+
"@storybook/theming": "^8.6.14",
|
|
107
118
|
"@szum-tech/eslint-config": "^2.1.6",
|
|
108
119
|
"@szum-tech/prettier-config": "^1.6.1",
|
|
109
120
|
"@szum-tech/semantic-release-config": "^2.3.0",
|
|
110
|
-
"@tailwindcss/postcss": "^4.
|
|
121
|
+
"@tailwindcss/postcss": "^4.1.7",
|
|
111
122
|
"@testing-library/dom": "^10.4.0",
|
|
112
123
|
"@testing-library/jest-dom": "^6.6.3",
|
|
113
|
-
"@testing-library/react": "^16.
|
|
124
|
+
"@testing-library/react": "^16.3.0",
|
|
114
125
|
"@testing-library/user-event": "^14.6.1",
|
|
115
|
-
"@types/node": "^22.
|
|
116
|
-
"@types/react": "^19.
|
|
117
|
-
"@types/react-dom": "^19.
|
|
118
|
-
"@vitejs/plugin-react": "^4.
|
|
119
|
-
"@vitest/browser": "^3.0.
|
|
120
|
-
"@vitest/coverage-v8": "^3.
|
|
121
|
-
"@vitest/ui": "^3.
|
|
126
|
+
"@types/node": "^22.15.19",
|
|
127
|
+
"@types/react": "^19.1.4",
|
|
128
|
+
"@types/react-dom": "^19.1.5",
|
|
129
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
130
|
+
"@vitest/browser": "^3.0.9",
|
|
131
|
+
"@vitest/coverage-v8": "^3.1.3",
|
|
132
|
+
"@vitest/ui": "^3.1.3",
|
|
122
133
|
"cpy-cli": "^5.0.0",
|
|
123
|
-
"eslint": "^9.
|
|
124
|
-
"playwright": "^1.
|
|
134
|
+
"eslint": "^9.27.0",
|
|
135
|
+
"playwright": "^1.52.0",
|
|
125
136
|
"postcss": "^8.5.3",
|
|
126
137
|
"prettier": "^3.5.3",
|
|
127
|
-
"react": "^19.
|
|
138
|
+
"react": "^19.1.0",
|
|
128
139
|
"react-docgen-typescript": "^2.2.2",
|
|
129
|
-
"react-dom": "^19.
|
|
130
|
-
"react-hook-form": "^7.
|
|
131
|
-
"semantic-release": "^24.2.
|
|
140
|
+
"react-dom": "^19.1.0",
|
|
141
|
+
"react-hook-form": "^7.56.4",
|
|
142
|
+
"semantic-release": "^24.2.4",
|
|
132
143
|
"serve": "^14.2.4",
|
|
133
|
-
"storybook": "^8.
|
|
144
|
+
"storybook": "^8.6.14",
|
|
134
145
|
"storybook-dark-mode": "^4.0.2",
|
|
135
|
-
"tailwindcss": "^4.
|
|
136
|
-
"tsup": "^8.
|
|
137
|
-
"typescript": "^5.8.
|
|
138
|
-
"vite": "^
|
|
146
|
+
"tailwindcss": "^4.1.7",
|
|
147
|
+
"tsup": "^8.5.0",
|
|
148
|
+
"typescript": "^5.8.3",
|
|
149
|
+
"vite": "^6.3.5",
|
|
139
150
|
"vite-tsconfig-paths": "^5.1.4",
|
|
140
|
-
"vitest": "^3.
|
|
141
|
-
"zod": "^3.24.
|
|
151
|
+
"vitest": "^3.1.3",
|
|
152
|
+
"zod": "^3.24.4"
|
|
142
153
|
},
|
|
143
154
|
"peerDependencies": {
|
|
144
|
-
"react": "
|
|
145
|
-
"react-dom": "
|
|
146
|
-
"react-hook-form": "^7.
|
|
147
|
-
"tailwindcss": "
|
|
155
|
+
"react": ">=19.0.0",
|
|
156
|
+
"react-dom": ">=19.0.0",
|
|
157
|
+
"react-hook-form": "^7.56.4",
|
|
158
|
+
"tailwindcss": ">=4"
|
|
148
159
|
},
|
|
149
160
|
"engines": {
|
|
150
161
|
"node": ">=22"
|