@szum-tech/design-system 2.0.4 → 2.1.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.
Files changed (112) hide show
  1. package/dist/chunk-463KEXY6.cjs +79 -0
  2. package/dist/chunk-4YZSPNLW.cjs +42 -0
  3. package/dist/chunk-5EN2HNFU.js +50 -0
  4. package/dist/chunk-5ENMEB5L.cjs +341 -0
  5. package/dist/chunk-AO4TMCYJ.js +88 -0
  6. package/dist/chunk-C5YRMEKV.js +319 -0
  7. package/dist/chunk-H2BWO3SI.cjs +0 -1
  8. package/dist/chunk-HFHADY43.js +36 -0
  9. package/dist/chunk-HIWVHD4V.js +56 -0
  10. package/dist/chunk-HXC3EALP.js +39 -0
  11. package/dist/chunk-IFBQNWVG.js +70 -0
  12. package/dist/chunk-INJBKPIE.js +0 -1
  13. package/dist/chunk-J264N6AZ.js +22 -0
  14. package/dist/chunk-J56UDYA3.js +70 -0
  15. package/dist/chunk-KPB3CBHE.cjs +40 -0
  16. package/dist/chunk-LI7IHIOM.cjs +30 -0
  17. package/dist/chunk-LND2W67K.cjs +17 -0
  18. package/dist/chunk-N7DXGCBJ.cjs +30 -0
  19. package/dist/chunk-PB3EGVTV.cjs +116 -0
  20. package/dist/chunk-QRSQCHBO.cjs +59 -0
  21. package/dist/chunk-RF5YR553.cjs +24 -0
  22. package/dist/chunk-TD2KDWNP.js +57 -0
  23. package/dist/chunk-TSN5DAKH.cjs +0 -1
  24. package/dist/chunk-US32J7DK.js +15 -0
  25. package/dist/chunk-UZBZFCWX.js +28 -0
  26. package/dist/chunk-V4POHGAW.cjs +60 -0
  27. package/dist/chunk-VFRIU5CV.cjs +16 -0
  28. package/dist/chunk-VQMM75HD.cjs +66 -0
  29. package/dist/chunk-WTVBTZ3P.js +29 -0
  30. package/dist/chunk-XGA2F5GG.cjs +72 -0
  31. package/dist/chunk-XPM62WMM.js +23 -0
  32. package/dist/chunk-YHU2OW52.js +14 -0
  33. package/dist/chunk-YXTTED5V.cjs +31 -0
  34. package/dist/chunk-ZD2QRAOX.js +0 -1
  35. package/dist/components/alert-dialog/index.cjs +43 -0
  36. package/dist/components/alert-dialog/index.d.cts +32 -0
  37. package/dist/components/alert-dialog/index.d.ts +32 -0
  38. package/dist/components/alert-dialog/index.js +2 -0
  39. package/dist/components/avatar/index.cjs +19 -0
  40. package/dist/components/avatar/index.d.cts +28 -0
  41. package/dist/components/avatar/index.d.ts +28 -0
  42. package/dist/components/avatar/index.js +2 -0
  43. package/dist/components/button/index.cjs +11 -0
  44. package/dist/components/button/index.d.cts +64 -0
  45. package/dist/components/button/index.d.ts +64 -0
  46. package/dist/components/button/index.js +2 -0
  47. package/dist/components/card/index.cjs +30 -0
  48. package/dist/components/card/index.d.cts +22 -0
  49. package/dist/components/card/index.d.ts +22 -0
  50. package/dist/components/card/index.js +1 -0
  51. package/dist/components/dialog/index.cjs +38 -0
  52. package/dist/components/dialog/index.d.cts +40 -0
  53. package/dist/components/dialog/index.d.ts +40 -0
  54. package/dist/components/dialog/index.js +1 -0
  55. package/dist/components/form/index.cjs +50 -0
  56. package/dist/components/form/index.d.cts +32 -0
  57. package/dist/components/form/index.d.ts +32 -0
  58. package/dist/components/form/index.js +17 -0
  59. package/dist/components/header/index.cjs +10 -0
  60. package/dist/components/header/index.d.cts +9 -0
  61. package/dist/components/header/index.d.ts +9 -0
  62. package/dist/components/header/index.js +1 -0
  63. package/dist/components/helper-text/index.cjs +10 -0
  64. package/dist/components/helper-text/index.d.cts +18 -0
  65. package/dist/components/helper-text/index.d.ts +18 -0
  66. package/dist/components/helper-text/index.js +1 -0
  67. package/dist/components/index.cjs +230 -0
  68. package/dist/components/index.d.cts +22 -0
  69. package/dist/components/index.d.ts +22 -0
  70. package/dist/components/index.js +17 -0
  71. package/dist/components/input/index.cjs +11 -0
  72. package/dist/components/input/index.d.cts +11 -0
  73. package/dist/components/input/index.d.ts +11 -0
  74. package/dist/components/input/index.js +2 -0
  75. package/dist/components/label/index.cjs +10 -0
  76. package/dist/components/label/index.d.cts +8 -0
  77. package/dist/components/label/index.d.ts +8 -0
  78. package/dist/components/label/index.js +1 -0
  79. package/dist/components/select/index.cjs +14 -0
  80. package/dist/components/select/index.d.cts +15 -0
  81. package/dist/components/select/index.d.ts +15 -0
  82. package/dist/components/select/index.js +1 -0
  83. package/dist/components/separator/index.cjs +11 -0
  84. package/dist/components/separator/index.d.cts +8 -0
  85. package/dist/components/separator/index.d.ts +8 -0
  86. package/dist/components/separator/index.js +2 -0
  87. package/dist/components/sheet/index.cjs +38 -0
  88. package/dist/components/sheet/index.d.cts +40 -0
  89. package/dist/components/sheet/index.d.ts +40 -0
  90. package/dist/components/sheet/index.js +1 -0
  91. package/dist/components/textarea/index.cjs +10 -0
  92. package/dist/components/textarea/index.d.cts +9 -0
  93. package/dist/components/textarea/index.d.ts +9 -0
  94. package/dist/components/textarea/index.js +1 -0
  95. package/dist/components/tooltip/index.cjs +14 -0
  96. package/dist/components/tooltip/index.d.cts +20 -0
  97. package/dist/components/tooltip/index.d.ts +20 -0
  98. package/dist/components/tooltip/index.js +1 -0
  99. package/dist/{icons.cjs → icons/index.cjs} +1 -1
  100. package/dist/{icons.js → icons/index.js} +1 -1
  101. package/dist/{utils.cjs → utils/index.cjs} +1 -1
  102. package/dist/utils/index.js +1 -0
  103. package/package.json +42 -32
  104. package/dist/index.cjs +0 -908
  105. package/dist/index.d.cts +0 -285
  106. package/dist/index.d.ts +0 -285
  107. package/dist/index.js +0 -832
  108. package/dist/utils.js +0 -1
  109. /package/dist/{icons.d.cts → icons/index.d.cts} +0 -0
  110. /package/dist/{icons.d.ts → icons/index.d.ts} +0 -0
  111. /package/dist/{utils.d.cts → utils/index.d.cts} +0 -0
  112. /package/dist/{utils.d.ts → utils/index.d.ts} +0 -0
@@ -0,0 +1,14 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+
3
+ function Header({ children, ...props }) {
4
+ return /* @__PURE__ */ jsx(
5
+ "header",
6
+ {
7
+ className: "bg-foreground/95 supports-[backdrop-filter]:bg-foreground/60 sticky top-0 z-50 w-full border-b border-gray-400 backdrop-blur",
8
+ ...props,
9
+ children: /* @__PURE__ */ jsx("div", { className: "container flex h-16 items-center", children })
10
+ }
11
+ );
12
+ }
13
+
14
+ export { Header };
@@ -0,0 +1,31 @@
1
+ 'use strict';
2
+
3
+ var tailwindMerge = require('tailwind-merge');
4
+ var classVarianceAuthority = require('class-variance-authority');
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+
7
+ var helperTextCva = classVarianceAuthority.cva("", {
8
+ variants: {
9
+ type: {
10
+ description: "text-body-2 text-gray-200",
11
+ error: "text-caption text-error-500"
12
+ }
13
+ },
14
+ defaultVariants: {
15
+ type: "description"
16
+ }
17
+ });
18
+ function HelperText({ className, children, type = "description", role, ref, ...props }) {
19
+ return /* @__PURE__ */ jsxRuntime.jsx(
20
+ "p",
21
+ {
22
+ ref,
23
+ className: tailwindMerge.twMerge(helperTextCva({ type }), className),
24
+ role: type === "error" ? "alert" : role,
25
+ ...props,
26
+ children
27
+ }
28
+ );
29
+ }
30
+
31
+ exports.HelperText = HelperText;
@@ -1,7 +1,6 @@
1
1
  import { clsx } from 'clsx';
2
2
  import { twMerge } from 'tailwind-merge';
3
3
 
4
- // src/utils/index.ts
5
4
  function cn(...inputs) {
6
5
  return twMerge(clsx(inputs));
7
6
  }
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ var chunkV4POHGAW_cjs = require('../../chunk-V4POHGAW.cjs');
4
+ require('../../chunk-H2BWO3SI.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "AlertDialog", {
9
+ enumerable: true,
10
+ get: function () { return chunkV4POHGAW_cjs.AlertDialog; }
11
+ });
12
+ Object.defineProperty(exports, "AlertDialogAction", {
13
+ enumerable: true,
14
+ get: function () { return chunkV4POHGAW_cjs.AlertDialogAction; }
15
+ });
16
+ Object.defineProperty(exports, "AlertDialogCancel", {
17
+ enumerable: true,
18
+ get: function () { return chunkV4POHGAW_cjs.AlertDialogCancel; }
19
+ });
20
+ Object.defineProperty(exports, "AlertDialogContent", {
21
+ enumerable: true,
22
+ get: function () { return chunkV4POHGAW_cjs.AlertDialogContent; }
23
+ });
24
+ Object.defineProperty(exports, "AlertDialogDescription", {
25
+ enumerable: true,
26
+ get: function () { return chunkV4POHGAW_cjs.AlertDialogDescription; }
27
+ });
28
+ Object.defineProperty(exports, "AlertDialogFooter", {
29
+ enumerable: true,
30
+ get: function () { return chunkV4POHGAW_cjs.AlertDialogFooter; }
31
+ });
32
+ Object.defineProperty(exports, "AlertDialogHeader", {
33
+ enumerable: true,
34
+ get: function () { return chunkV4POHGAW_cjs.AlertDialogHeader; }
35
+ });
36
+ Object.defineProperty(exports, "AlertDialogTitle", {
37
+ enumerable: true,
38
+ get: function () { return chunkV4POHGAW_cjs.AlertDialogTitle; }
39
+ });
40
+ Object.defineProperty(exports, "AlertDialogTrigger", {
41
+ enumerable: true,
42
+ get: function () { return chunkV4POHGAW_cjs.AlertDialogTrigger; }
43
+ });
@@ -0,0 +1,32 @@
1
+ import * as React from 'react';
2
+ import { AlertDialog as AlertDialog$1 } from 'radix-ui';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+
5
+ type AlertDialogProps = AlertDialog$1.AlertDialogProps;
6
+ declare const AlertDialog: React.FC<AlertDialog$1.AlertDialogProps>;
7
+
8
+ type AlertDialogTriggerProps = AlertDialog$1.AlertDialogTriggerProps;
9
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
10
+
11
+ type AlertDialogContentProps = React.ComponentProps<typeof AlertDialog$1.Content>;
12
+ declare function AlertDialogContent({ className, ...props }: AlertDialogContentProps): react_jsx_runtime.JSX.Element;
13
+
14
+ type AlertDialogHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
15
+ declare function AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): react_jsx_runtime.JSX.Element;
16
+
17
+ type AlertDialogFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
18
+ declare function AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): react_jsx_runtime.JSX.Element;
19
+
20
+ type AlertDialogTitleProps = React.ComponentProps<typeof AlertDialog$1.Title>;
21
+ declare function AlertDialogTitle({ className, ref, ...props }: AlertDialogTitleProps): react_jsx_runtime.JSX.Element;
22
+
23
+ type AlertDialogDescriptionProps = React.ComponentProps<typeof AlertDialog$1.Description>;
24
+ declare function AlertDialogDescription({ className, ...props }: AlertDialogDescriptionProps): react_jsx_runtime.JSX.Element;
25
+
26
+ type AlertDialogActionProps = AlertDialog$1.AlertDialogActionProps;
27
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
28
+
29
+ type AlertDialogCancelProps = AlertDialog$1.AlertDialogCancelProps;
30
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
31
+
32
+ export { AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps };
@@ -0,0 +1,32 @@
1
+ import * as React from 'react';
2
+ import { AlertDialog as AlertDialog$1 } from 'radix-ui';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+
5
+ type AlertDialogProps = AlertDialog$1.AlertDialogProps;
6
+ declare const AlertDialog: React.FC<AlertDialog$1.AlertDialogProps>;
7
+
8
+ type AlertDialogTriggerProps = AlertDialog$1.AlertDialogTriggerProps;
9
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
10
+
11
+ type AlertDialogContentProps = React.ComponentProps<typeof AlertDialog$1.Content>;
12
+ declare function AlertDialogContent({ className, ...props }: AlertDialogContentProps): react_jsx_runtime.JSX.Element;
13
+
14
+ type AlertDialogHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
15
+ declare function AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): react_jsx_runtime.JSX.Element;
16
+
17
+ type AlertDialogFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
18
+ declare function AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): react_jsx_runtime.JSX.Element;
19
+
20
+ type AlertDialogTitleProps = React.ComponentProps<typeof AlertDialog$1.Title>;
21
+ declare function AlertDialogTitle({ className, ref, ...props }: AlertDialogTitleProps): react_jsx_runtime.JSX.Element;
22
+
23
+ type AlertDialogDescriptionProps = React.ComponentProps<typeof AlertDialog$1.Description>;
24
+ declare function AlertDialogDescription({ className, ...props }: AlertDialogDescriptionProps): react_jsx_runtime.JSX.Element;
25
+
26
+ type AlertDialogActionProps = AlertDialog$1.AlertDialogActionProps;
27
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
28
+
29
+ type AlertDialogCancelProps = AlertDialog$1.AlertDialogCancelProps;
30
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
31
+
32
+ export { AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps };
@@ -0,0 +1,2 @@
1
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from '../../chunk-5EN2HNFU.js';
2
+ import '../../chunk-ZD2QRAOX.js';
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ var chunkKPB3CBHE_cjs = require('../../chunk-KPB3CBHE.cjs');
4
+ require('../../chunk-H2BWO3SI.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "Avatar", {
9
+ enumerable: true,
10
+ get: function () { return chunkKPB3CBHE_cjs.Avatar; }
11
+ });
12
+ Object.defineProperty(exports, "AvatarFallback", {
13
+ enumerable: true,
14
+ get: function () { return chunkKPB3CBHE_cjs.AvatarFallback; }
15
+ });
16
+ Object.defineProperty(exports, "AvatarImage", {
17
+ enumerable: true,
18
+ get: function () { return chunkKPB3CBHE_cjs.AvatarImage; }
19
+ });
@@ -0,0 +1,28 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import { Avatar as Avatar$1 } from 'radix-ui';
4
+ import { VariantProps } from 'class-variance-authority';
5
+ import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
6
+
7
+ type AvatarProps = Avatar$1.AvatarProps & React.RefAttributes<HTMLSpanElement> & {
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_dist_types.ClassProp) | undefined) => string;
18
+
19
+ type AvatarCvaProps = VariantProps<typeof avatarCva>;
20
+ type AvatarSizeType = NonNullable<AvatarCvaProps["size"]>;
21
+
22
+ type AvatarImageProps = React.ComponentProps<typeof Avatar$1.Image>;
23
+ declare function AvatarImage({ className, ref, ...props }: AvatarImageProps): react_jsx_runtime.JSX.Element;
24
+
25
+ type AvatarFallbackProps = React.ComponentProps<typeof Avatar$1.Fallback>;
26
+ declare function AvatarFallback({ className, ref, ...props }: AvatarFallbackProps): react_jsx_runtime.JSX.Element;
27
+
28
+ export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarSizeType };
@@ -0,0 +1,28 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import { Avatar as Avatar$1 } from 'radix-ui';
4
+ import { VariantProps } from 'class-variance-authority';
5
+ import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
6
+
7
+ type AvatarProps = Avatar$1.AvatarProps & React.RefAttributes<HTMLSpanElement> & {
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_dist_types.ClassProp) | undefined) => string;
18
+
19
+ type AvatarCvaProps = VariantProps<typeof avatarCva>;
20
+ type AvatarSizeType = NonNullable<AvatarCvaProps["size"]>;
21
+
22
+ type AvatarImageProps = React.ComponentProps<typeof Avatar$1.Image>;
23
+ declare function AvatarImage({ className, ref, ...props }: AvatarImageProps): react_jsx_runtime.JSX.Element;
24
+
25
+ type AvatarFallbackProps = React.ComponentProps<typeof Avatar$1.Fallback>;
26
+ declare function AvatarFallback({ className, ref, ...props }: AvatarFallbackProps): react_jsx_runtime.JSX.Element;
27
+
28
+ export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarSizeType };
@@ -0,0 +1,2 @@
1
+ export { Avatar, AvatarFallback, AvatarImage } from '../../chunk-HFHADY43.js';
2
+ import '../../chunk-ZD2QRAOX.js';
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunk5ENMEB5L_cjs = require('../../chunk-5ENMEB5L.cjs');
4
+ require('../../chunk-TSN5DAKH.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "Button", {
9
+ enumerable: true,
10
+ get: function () { return chunk5ENMEB5L_cjs.Button; }
11
+ });
@@ -0,0 +1,64 @@
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_dist_types from 'class-variance-authority/dist/types';
5
+
6
+ type Props = {
7
+ /**
8
+ * Defines button full width
9
+ */
10
+ fullWidth?: boolean;
11
+ /**
12
+ * Defines button color
13
+ */
14
+ color?: ButtonColorType;
15
+ /**
16
+ * Defines button variant
17
+ */
18
+ variant?: ButtonVariantType;
19
+ /**
20
+ * Defines button size
21
+ */
22
+ size?: ButtonSizeType;
23
+ /**
24
+ * Defines button content
25
+ */
26
+ children?: React.ReactNode;
27
+ /**
28
+ * Disabled button
29
+ */
30
+ disabled?: boolean;
31
+ /**
32
+ * Defines left icon
33
+ */
34
+ startIcon?: React.ReactElement;
35
+ /**
36
+ * Defines right icon
37
+ */
38
+ endIcon?: React.ReactElement;
39
+ /**
40
+ * Defines is button is in loading state
41
+ */
42
+ loading?: boolean;
43
+ /**
44
+ * Defines is position of loading icon
45
+ */
46
+ loadingPosition?: "start" | "end";
47
+ asChild?: boolean;
48
+ };
49
+ type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement> & Props;
50
+ declare function Button({ asChild, variant, color, disabled, fullWidth, loadingPosition, ref, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
51
+
52
+ declare const buttonCva: (props?: ({
53
+ fullWidth?: boolean | null | undefined;
54
+ color?: "neutral" | "primary" | "success" | "warning" | "error" | null | undefined;
55
+ size?: "sm" | "md" | "lg" | null | undefined;
56
+ variant?: "text" | "outlined" | "contained" | null | undefined;
57
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
58
+
59
+ type ButtonCvaProps = VariantProps<typeof buttonCva>;
60
+ type ButtonSizeType = NonNullable<ButtonCvaProps["size"]>;
61
+ type ButtonVariantType = NonNullable<ButtonCvaProps["variant"]>;
62
+ type ButtonColorType = NonNullable<ButtonCvaProps["color"]>;
63
+
64
+ export { Button, type ButtonColorType, type ButtonProps, type ButtonSizeType, type ButtonVariantType };
@@ -0,0 +1,64 @@
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_dist_types from 'class-variance-authority/dist/types';
5
+
6
+ type Props = {
7
+ /**
8
+ * Defines button full width
9
+ */
10
+ fullWidth?: boolean;
11
+ /**
12
+ * Defines button color
13
+ */
14
+ color?: ButtonColorType;
15
+ /**
16
+ * Defines button variant
17
+ */
18
+ variant?: ButtonVariantType;
19
+ /**
20
+ * Defines button size
21
+ */
22
+ size?: ButtonSizeType;
23
+ /**
24
+ * Defines button content
25
+ */
26
+ children?: React.ReactNode;
27
+ /**
28
+ * Disabled button
29
+ */
30
+ disabled?: boolean;
31
+ /**
32
+ * Defines left icon
33
+ */
34
+ startIcon?: React.ReactElement;
35
+ /**
36
+ * Defines right icon
37
+ */
38
+ endIcon?: React.ReactElement;
39
+ /**
40
+ * Defines is button is in loading state
41
+ */
42
+ loading?: boolean;
43
+ /**
44
+ * Defines is position of loading icon
45
+ */
46
+ loadingPosition?: "start" | "end";
47
+ asChild?: boolean;
48
+ };
49
+ type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement> & Props;
50
+ declare function Button({ asChild, variant, color, disabled, fullWidth, loadingPosition, ref, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
51
+
52
+ declare const buttonCva: (props?: ({
53
+ fullWidth?: boolean | null | undefined;
54
+ color?: "neutral" | "primary" | "success" | "warning" | "error" | null | undefined;
55
+ size?: "sm" | "md" | "lg" | null | undefined;
56
+ variant?: "text" | "outlined" | "contained" | null | undefined;
57
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
58
+
59
+ type ButtonCvaProps = VariantProps<typeof buttonCva>;
60
+ type ButtonSizeType = NonNullable<ButtonCvaProps["size"]>;
61
+ type ButtonVariantType = NonNullable<ButtonCvaProps["variant"]>;
62
+ type ButtonColorType = NonNullable<ButtonCvaProps["color"]>;
63
+
64
+ export { Button, type ButtonColorType, type ButtonProps, type ButtonSizeType, type ButtonVariantType };
@@ -0,0 +1,2 @@
1
+ export { Button } from '../../chunk-C5YRMEKV.js';
2
+ import '../../chunk-INJBKPIE.js';
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ var chunkLI7IHIOM_cjs = require('../../chunk-LI7IHIOM.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "Card", {
8
+ enumerable: true,
9
+ get: function () { return chunkLI7IHIOM_cjs.Card; }
10
+ });
11
+ Object.defineProperty(exports, "CardContent", {
12
+ enumerable: true,
13
+ get: function () { return chunkLI7IHIOM_cjs.CardContent; }
14
+ });
15
+ Object.defineProperty(exports, "CardDescription", {
16
+ enumerable: true,
17
+ get: function () { return chunkLI7IHIOM_cjs.CardDescription; }
18
+ });
19
+ Object.defineProperty(exports, "CardFooter", {
20
+ enumerable: true,
21
+ get: function () { return chunkLI7IHIOM_cjs.CardFooter; }
22
+ });
23
+ Object.defineProperty(exports, "CardHeader", {
24
+ enumerable: true,
25
+ get: function () { return chunkLI7IHIOM_cjs.CardHeader; }
26
+ });
27
+ Object.defineProperty(exports, "CardTitle", {
28
+ enumerable: true,
29
+ get: function () { return chunkLI7IHIOM_cjs.CardTitle; }
30
+ });
@@ -0,0 +1,22 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+
4
+ type CardProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
5
+ declare function Card({ className, ...props }: CardProps): react_jsx_runtime.JSX.Element;
6
+
7
+ type CardHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
8
+ declare function CardHeader({ className, ...props }: CardHeaderProps): react_jsx_runtime.JSX.Element;
9
+
10
+ type CardTitleProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
11
+ declare function CardTitle({ className, ...props }: CardTitleProps): react_jsx_runtime.JSX.Element;
12
+
13
+ type CardDescriptionProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
14
+ declare function CardDescription({ className, ...props }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
15
+
16
+ type CardContentProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
17
+ declare function CardContent({ className, ...props }: CardContentProps): react_jsx_runtime.JSX.Element;
18
+
19
+ type CardFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
20
+ declare function CardFooter({ className, ...props }: CardFooterProps): react_jsx_runtime.JSX.Element;
21
+
22
+ export { Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps };
@@ -0,0 +1,22 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+
4
+ type CardProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
5
+ declare function Card({ className, ...props }: CardProps): react_jsx_runtime.JSX.Element;
6
+
7
+ type CardHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
8
+ declare function CardHeader({ className, ...props }: CardHeaderProps): react_jsx_runtime.JSX.Element;
9
+
10
+ type CardTitleProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
11
+ declare function CardTitle({ className, ...props }: CardTitleProps): react_jsx_runtime.JSX.Element;
12
+
13
+ type CardDescriptionProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
14
+ declare function CardDescription({ className, ...props }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
15
+
16
+ type CardContentProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
17
+ declare function CardContent({ className, ...props }: CardContentProps): react_jsx_runtime.JSX.Element;
18
+
19
+ type CardFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
20
+ declare function CardFooter({ className, ...props }: CardFooterProps): react_jsx_runtime.JSX.Element;
21
+
22
+ export { Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps };
@@ -0,0 +1 @@
1
+ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../../chunk-XPM62WMM.js';
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ var chunk463KEXY6_cjs = require('../../chunk-463KEXY6.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "Dialog", {
8
+ enumerable: true,
9
+ get: function () { return chunk463KEXY6_cjs.Dialog; }
10
+ });
11
+ Object.defineProperty(exports, "DialogClose", {
12
+ enumerable: true,
13
+ get: function () { return chunk463KEXY6_cjs.DialogClose; }
14
+ });
15
+ Object.defineProperty(exports, "DialogContent", {
16
+ enumerable: true,
17
+ get: function () { return chunk463KEXY6_cjs.DialogContent; }
18
+ });
19
+ Object.defineProperty(exports, "DialogDescription", {
20
+ enumerable: true,
21
+ get: function () { return chunk463KEXY6_cjs.DialogDescription; }
22
+ });
23
+ Object.defineProperty(exports, "DialogFooter", {
24
+ enumerable: true,
25
+ get: function () { return chunk463KEXY6_cjs.DialogFooter; }
26
+ });
27
+ Object.defineProperty(exports, "DialogHeader", {
28
+ enumerable: true,
29
+ get: function () { return chunk463KEXY6_cjs.DialogHeader; }
30
+ });
31
+ Object.defineProperty(exports, "DialogTitle", {
32
+ enumerable: true,
33
+ get: function () { return chunk463KEXY6_cjs.DialogTitle; }
34
+ });
35
+ Object.defineProperty(exports, "DialogTrigger", {
36
+ enumerable: true,
37
+ get: function () { return chunk463KEXY6_cjs.DialogTrigger; }
38
+ });
@@ -0,0 +1,40 @@
1
+ import * as React from 'react';
2
+ import { Dialog as Dialog$1 } 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 DialogProps = Dialog$1.DialogProps;
8
+ declare const Dialog: React.FC<Dialog$1.DialogProps>;
9
+
10
+ type DialogCloseProps = Dialog$1.DialogCloseProps;
11
+ declare const DialogClose: React.ForwardRefExoticComponent<Dialog$1.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
12
+
13
+ type DialogContentProps = React.ComponentProps<typeof Dialog$1.Content> & {
14
+ width?: DialogContentWidth;
15
+ };
16
+ declare function DialogContent({ className, children, width, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element;
17
+
18
+ declare const dialogContentStyles: (props?: ({
19
+ width?: "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | null | undefined;
20
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
21
+
22
+ type DialogContentCvaProps = VariantProps<typeof dialogContentStyles>;
23
+ type DialogContentWidth = NonNullable<DialogContentCvaProps["width"]>;
24
+
25
+ type DialogTriggerProps = Dialog$1.DialogTriggerProps;
26
+ declare const DialogTrigger: React.ForwardRefExoticComponent<Dialog$1.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
27
+
28
+ type DialogHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
29
+ declare function DialogHeader({ className, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element;
30
+
31
+ type DialogFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
32
+ declare function DialogFooter({ className, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
33
+
34
+ type DialogTitleProps = React.ComponentProps<typeof Dialog$1.Title>;
35
+ declare function DialogTitle({ className, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
36
+
37
+ type DialogDescriptionProps = React.ComponentProps<typeof Dialog$1.Description>;
38
+ declare function DialogDescription({ className, ...props }: DialogDescriptionProps): react_jsx_runtime.JSX.Element;
39
+
40
+ export { Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, type DialogContentWidth, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps };
@@ -0,0 +1,40 @@
1
+ import * as React from 'react';
2
+ import { Dialog as Dialog$1 } 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 DialogProps = Dialog$1.DialogProps;
8
+ declare const Dialog: React.FC<Dialog$1.DialogProps>;
9
+
10
+ type DialogCloseProps = Dialog$1.DialogCloseProps;
11
+ declare const DialogClose: React.ForwardRefExoticComponent<Dialog$1.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
12
+
13
+ type DialogContentProps = React.ComponentProps<typeof Dialog$1.Content> & {
14
+ width?: DialogContentWidth;
15
+ };
16
+ declare function DialogContent({ className, children, width, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element;
17
+
18
+ declare const dialogContentStyles: (props?: ({
19
+ width?: "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | null | undefined;
20
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
21
+
22
+ type DialogContentCvaProps = VariantProps<typeof dialogContentStyles>;
23
+ type DialogContentWidth = NonNullable<DialogContentCvaProps["width"]>;
24
+
25
+ type DialogTriggerProps = Dialog$1.DialogTriggerProps;
26
+ declare const DialogTrigger: React.ForwardRefExoticComponent<Dialog$1.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
27
+
28
+ type DialogHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
29
+ declare function DialogHeader({ className, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element;
30
+
31
+ type DialogFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
32
+ declare function DialogFooter({ className, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
33
+
34
+ type DialogTitleProps = React.ComponentProps<typeof Dialog$1.Title>;
35
+ declare function DialogTitle({ className, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
36
+
37
+ type DialogDescriptionProps = React.ComponentProps<typeof Dialog$1.Description>;
38
+ declare function DialogDescription({ className, ...props }: DialogDescriptionProps): react_jsx_runtime.JSX.Element;
39
+
40
+ export { Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, type DialogContentWidth, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps };
@@ -0,0 +1 @@
1
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from '../../chunk-J56UDYA3.js';
@@ -0,0 +1,50 @@
1
+ 'use strict';
2
+
3
+ var chunkPB3EGVTV_cjs = require('../../chunk-PB3EGVTV.cjs');
4
+ require('../../chunk-N7DXGCBJ.cjs');
5
+ require('../../chunk-4YZSPNLW.cjs');
6
+ require('../../chunk-VFRIU5CV.cjs');
7
+ require('../../chunk-YXTTED5V.cjs');
8
+ require('../../chunk-XGA2F5GG.cjs');
9
+ require('../../chunk-LND2W67K.cjs');
10
+ require('../../chunk-QRSQCHBO.cjs');
11
+ require('../../chunk-RF5YR553.cjs');
12
+ require('../../chunk-VQMM75HD.cjs');
13
+ require('../../chunk-V4POHGAW.cjs');
14
+ require('../../chunk-KPB3CBHE.cjs');
15
+ require('../../chunk-H2BWO3SI.cjs');
16
+ require('../../chunk-5ENMEB5L.cjs');
17
+ require('../../chunk-TSN5DAKH.cjs');
18
+ require('../../chunk-LI7IHIOM.cjs');
19
+ require('../../chunk-463KEXY6.cjs');
20
+
21
+
22
+
23
+ Object.defineProperty(exports, "Form", {
24
+ enumerable: true,
25
+ get: function () { return chunkPB3EGVTV_cjs.Form; }
26
+ });
27
+ Object.defineProperty(exports, "FormControl", {
28
+ enumerable: true,
29
+ get: function () { return chunkPB3EGVTV_cjs.FormControl; }
30
+ });
31
+ Object.defineProperty(exports, "FormDescription", {
32
+ enumerable: true,
33
+ get: function () { return chunkPB3EGVTV_cjs.FormDescription; }
34
+ });
35
+ Object.defineProperty(exports, "FormField", {
36
+ enumerable: true,
37
+ get: function () { return chunkPB3EGVTV_cjs.FormField; }
38
+ });
39
+ Object.defineProperty(exports, "FormItem", {
40
+ enumerable: true,
41
+ get: function () { return chunkPB3EGVTV_cjs.FormItem; }
42
+ });
43
+ Object.defineProperty(exports, "FormLabel", {
44
+ enumerable: true,
45
+ get: function () { return chunkPB3EGVTV_cjs.FormLabel; }
46
+ });
47
+ Object.defineProperty(exports, "FormMessage", {
48
+ enumerable: true,
49
+ get: function () { return chunkPB3EGVTV_cjs.FormMessage; }
50
+ });