@szum-tech/design-system 3.12.0 → 3.12.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.
Files changed (39) hide show
  1. package/dist/components/alert/index.d.cts +3 -3
  2. package/dist/components/alert/index.d.ts +3 -3
  3. package/dist/components/badge/index.d.cts +3 -3
  4. package/dist/components/badge/index.d.ts +3 -3
  5. package/dist/components/button/index.cjs +10 -10
  6. package/dist/components/button/index.d.cts +5 -5
  7. package/dist/components/button/index.d.ts +5 -5
  8. package/dist/components/button/index.js +10 -10
  9. package/dist/components/carousel/index.cjs +10 -10
  10. package/dist/components/carousel/index.d.cts +1 -1
  11. package/dist/components/carousel/index.d.ts +1 -1
  12. package/dist/components/carousel/index.js +10 -10
  13. package/dist/components/color-swatch/index.d.cts +3 -3
  14. package/dist/components/color-swatch/index.d.ts +3 -3
  15. package/dist/components/dialog/index.d.cts +3 -3
  16. package/dist/components/dialog/index.d.ts +3 -3
  17. package/dist/components/empty/index.d.cts +3 -3
  18. package/dist/components/empty/index.d.ts +3 -3
  19. package/dist/components/field/index.d.cts +4 -4
  20. package/dist/components/field/index.d.ts +4 -4
  21. package/dist/components/index.cjs +116 -116
  22. package/dist/components/index.js +10 -10
  23. package/dist/components/item/index.d.cts +7 -7
  24. package/dist/components/item/index.d.ts +7 -7
  25. package/dist/components/radio-group/index.d.cts +12 -1
  26. package/dist/components/radio-group/index.d.ts +12 -1
  27. package/dist/components/sheet/index.d.cts +3 -3
  28. package/dist/components/sheet/index.d.ts +3 -3
  29. package/dist/components/status/index.d.cts +3 -3
  30. package/dist/components/status/index.d.ts +3 -3
  31. package/dist/components/stepper/index.cjs +10 -10
  32. package/dist/components/stepper/index.d.cts +1 -1
  33. package/dist/components/stepper/index.d.ts +1 -1
  34. package/dist/components/stepper/index.js +10 -10
  35. package/dist/components/timeline/index.d.cts +1 -1
  36. package/dist/components/timeline/index.d.ts +1 -1
  37. package/dist/components/toaster/index.cjs +10 -10
  38. package/dist/components/toaster/index.js +10 -10
  39. package/package.json +18 -18
@@ -3,9 +3,9 @@ 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
- declare const alertVariants: (props?: ({
7
- variant?: "default" | "destructive" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
6
+ declare const alertVariants: (props?: {
7
+ variant?: "default" | "destructive";
8
+ } & class_variance_authority_types.ClassProp) => string;
9
9
 
10
10
  type AlertVariantsProps = VariantProps<typeof alertVariants>;
11
11
  type AlertVariant = NonNullable<AlertVariantsProps["variant"]>;
@@ -3,9 +3,9 @@ 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
- declare const alertVariants: (props?: ({
7
- variant?: "default" | "destructive" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
6
+ declare const alertVariants: (props?: {
7
+ variant?: "default" | "destructive";
8
+ } & class_variance_authority_types.ClassProp) => string;
9
9
 
10
10
  type AlertVariantsProps = VariantProps<typeof alertVariants>;
11
11
  type AlertVariant = NonNullable<AlertVariantsProps["variant"]>;
@@ -4,9 +4,9 @@ import React__default from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as class_variance_authority_types from 'class-variance-authority/types';
6
6
 
7
- declare const badgeVariants: (props?: ({
8
- variant?: "primary" | "secondary" | "outline" | "success" | "warning" | "error" | null | undefined;
9
- } & class_variance_authority_types.ClassProp) | undefined) => string;
7
+ declare const badgeVariants: (props?: {
8
+ variant?: "primary" | "secondary" | "outline" | "success" | "warning" | "error";
9
+ } & class_variance_authority_types.ClassProp) => string;
10
10
 
11
11
  type BadgeVariantsProps = VariantProps<typeof badgeVariants>;
12
12
  type BadgeVariant = NonNullable<BadgeVariantsProps["variant"]>;
@@ -4,9 +4,9 @@ import React__default from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as class_variance_authority_types from 'class-variance-authority/types';
6
6
 
7
- declare const badgeVariants: (props?: ({
8
- variant?: "primary" | "secondary" | "outline" | "success" | "warning" | "error" | null | undefined;
9
- } & class_variance_authority_types.ClassProp) | undefined) => string;
7
+ declare const badgeVariants: (props?: {
8
+ variant?: "primary" | "secondary" | "outline" | "success" | "warning" | "error";
9
+ } & class_variance_authority_types.ClassProp) => string;
10
10
 
11
11
  type BadgeVariantsProps = VariantProps<typeof badgeVariants>;
12
12
  type BadgeVariant = NonNullable<BadgeVariantsProps["variant"]>;
@@ -1,29 +1,29 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkCP43WJCN_cjs = require('../../chunk-CP43WJCN.cjs');
4
- require('../../chunk-XJZOANXX.cjs');
4
+ require('../../chunk-DGWBE2Y3.cjs');
5
+ require('../../chunk-GYXQUTWZ.cjs');
5
6
  require('../../chunk-YEFLGE3L.cjs');
6
7
  require('../../chunk-NU5UQPBX.cjs');
7
8
  require('../../chunk-KQ6QE7BT.cjs');
8
- require('../../chunk-A7SBXO2Y.cjs');
9
9
  require('../../chunk-EUH466AL.cjs');
10
- require('../../chunk-DGWBE2Y3.cjs');
10
+ require('../../chunk-A7SBXO2Y.cjs');
11
+ require('../../chunk-S2BCU6WG.cjs');
11
12
  require('../../chunk-TH44JYXB.cjs');
12
- require('../../chunk-CFJ44JVK.cjs');
13
13
  require('../../chunk-XENOUBSI.cjs');
14
14
  require('../../chunk-UJX74PFK.cjs');
15
- require('../../chunk-GHV2TURY.cjs');
15
+ require('../../chunk-XJZOANXX.cjs');
16
16
  require('../../chunk-3WSQRFUY.cjs');
17
- require('../../chunk-GYXQUTWZ.cjs');
18
- require('../../chunk-CXHDWIGF.cjs');
17
+ require('../../chunk-GHV2TURY.cjs');
19
18
  require('../../chunk-VK5EX3OG.cjs');
20
- require('../../chunk-6X26XC6P.cjs');
19
+ require('../../chunk-CXHDWIGF.cjs');
21
20
  require('../../chunk-DTYX7CYN.cjs');
22
- require('../../chunk-UIOBJSKZ.cjs');
21
+ require('../../chunk-6X26XC6P.cjs');
23
22
  require('../../chunk-5AA4IE2T.cjs');
23
+ require('../../chunk-CFJ44JVK.cjs');
24
+ require('../../chunk-UIOBJSKZ.cjs');
24
25
  require('../../chunk-S3ANEJJ7.cjs');
25
26
  require('../../chunk-2WQJ36RD.cjs');
26
- require('../../chunk-S2BCU6WG.cjs');
27
27
  require('../../chunk-ZVF7J4EI.cjs');
28
28
  require('../../chunk-2Y2ZCPNV.cjs');
29
29
  require('../../chunk-HCHVDUI6.cjs');
@@ -44,11 +44,11 @@ type ButtonProps = React.ComponentProps<"button"> & {
44
44
  };
45
45
  declare function Button({ asChild, variant, disabled, fullWidth, loadingPosition: loadingPositionProp, children, type, loading, size, endIcon, startIcon, className, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
46
46
 
47
- declare const buttonVariants: (props?: ({
48
- variant?: "link" | "secondary" | "outline" | "error" | "default" | "ghost" | null | undefined;
49
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
50
- fullWidth?: boolean | null | undefined;
51
- } & class_variance_authority_types.ClassProp) | undefined) => string;
47
+ declare const buttonVariants: (props?: {
48
+ variant?: "link" | "secondary" | "outline" | "error" | "default" | "ghost";
49
+ size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg";
50
+ fullWidth?: boolean;
51
+ } & class_variance_authority_types.ClassProp) => string;
52
52
 
53
53
  type ButtonCvaProps = VariantProps<typeof buttonVariants>;
54
54
  type ButtonSizeType = NonNullable<ButtonCvaProps["size"]>;
@@ -44,11 +44,11 @@ type ButtonProps = React.ComponentProps<"button"> & {
44
44
  };
45
45
  declare function Button({ asChild, variant, disabled, fullWidth, loadingPosition: loadingPositionProp, children, type, loading, size, endIcon, startIcon, className, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
46
46
 
47
- declare const buttonVariants: (props?: ({
48
- variant?: "link" | "secondary" | "outline" | "error" | "default" | "ghost" | null | undefined;
49
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
50
- fullWidth?: boolean | null | undefined;
51
- } & class_variance_authority_types.ClassProp) | undefined) => string;
47
+ declare const buttonVariants: (props?: {
48
+ variant?: "link" | "secondary" | "outline" | "error" | "default" | "ghost";
49
+ size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg";
50
+ fullWidth?: boolean;
51
+ } & class_variance_authority_types.ClassProp) => string;
52
52
 
53
53
  type ButtonCvaProps = VariantProps<typeof buttonVariants>;
54
54
  type ButtonSizeType = NonNullable<ButtonCvaProps["size"]>;
@@ -1,27 +1,27 @@
1
1
  export { Button } from '../../chunk-QTYNFISP.js';
2
- import '../../chunk-E5TYGWGE.js';
2
+ import '../../chunk-K5AURCK5.js';
3
+ import '../../chunk-IWF52DDE.js';
3
4
  import '../../chunk-OCOCENE6.js';
4
5
  import '../../chunk-OQCNPNPS.js';
5
6
  import '../../chunk-WXZE35FK.js';
6
- import '../../chunk-U7XZJQ4O.js';
7
7
  import '../../chunk-WMGJCB7O.js';
8
- import '../../chunk-K5AURCK5.js';
8
+ import '../../chunk-U7XZJQ4O.js';
9
+ import '../../chunk-DL54DIMD.js';
9
10
  import '../../chunk-PBEZZMAB.js';
10
- import '../../chunk-KGGCA634.js';
11
11
  import '../../chunk-4TRADSTP.js';
12
12
  import '../../chunk-M7NIRB3U.js';
13
- import '../../chunk-DTSFPOLX.js';
13
+ import '../../chunk-E5TYGWGE.js';
14
14
  import '../../chunk-P5IUC7HJ.js';
15
- import '../../chunk-IWF52DDE.js';
16
- import '../../chunk-HNRVLRMN.js';
15
+ import '../../chunk-DTSFPOLX.js';
17
16
  import '../../chunk-BTSHACKG.js';
18
- import '../../chunk-VT5GDGZJ.js';
17
+ import '../../chunk-HNRVLRMN.js';
19
18
  import '../../chunk-3MH6P44N.js';
20
- import '../../chunk-XJIUGEPN.js';
19
+ import '../../chunk-VT5GDGZJ.js';
21
20
  import '../../chunk-UGSNASZM.js';
21
+ import '../../chunk-KGGCA634.js';
22
+ import '../../chunk-XJIUGEPN.js';
22
23
  import '../../chunk-I3RSTJP6.js';
23
24
  import '../../chunk-YUMKV5TH.js';
24
- import '../../chunk-DL54DIMD.js';
25
25
  import '../../chunk-U3QKV7I4.js';
26
26
  import '../../chunk-6BSR3O2J.js';
27
27
  import '../../chunk-5F2Y65JH.js';
@@ -1,29 +1,29 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkCP43WJCN_cjs = require('../../chunk-CP43WJCN.cjs');
4
- require('../../chunk-XJZOANXX.cjs');
4
+ require('../../chunk-DGWBE2Y3.cjs');
5
+ require('../../chunk-GYXQUTWZ.cjs');
5
6
  require('../../chunk-YEFLGE3L.cjs');
6
7
  require('../../chunk-NU5UQPBX.cjs');
7
8
  require('../../chunk-KQ6QE7BT.cjs');
8
- require('../../chunk-A7SBXO2Y.cjs');
9
9
  require('../../chunk-EUH466AL.cjs');
10
- require('../../chunk-DGWBE2Y3.cjs');
10
+ require('../../chunk-A7SBXO2Y.cjs');
11
+ require('../../chunk-S2BCU6WG.cjs');
11
12
  require('../../chunk-TH44JYXB.cjs');
12
- require('../../chunk-CFJ44JVK.cjs');
13
13
  require('../../chunk-XENOUBSI.cjs');
14
14
  require('../../chunk-UJX74PFK.cjs');
15
- require('../../chunk-GHV2TURY.cjs');
15
+ require('../../chunk-XJZOANXX.cjs');
16
16
  require('../../chunk-3WSQRFUY.cjs');
17
- require('../../chunk-GYXQUTWZ.cjs');
18
- require('../../chunk-CXHDWIGF.cjs');
17
+ require('../../chunk-GHV2TURY.cjs');
19
18
  require('../../chunk-VK5EX3OG.cjs');
20
- require('../../chunk-6X26XC6P.cjs');
19
+ require('../../chunk-CXHDWIGF.cjs');
21
20
  require('../../chunk-DTYX7CYN.cjs');
22
- require('../../chunk-UIOBJSKZ.cjs');
21
+ require('../../chunk-6X26XC6P.cjs');
23
22
  require('../../chunk-5AA4IE2T.cjs');
23
+ require('../../chunk-CFJ44JVK.cjs');
24
+ require('../../chunk-UIOBJSKZ.cjs');
24
25
  require('../../chunk-S3ANEJJ7.cjs');
25
26
  require('../../chunk-2WQJ36RD.cjs');
26
- require('../../chunk-S2BCU6WG.cjs');
27
27
  require('../../chunk-ZVF7J4EI.cjs');
28
28
  require('../../chunk-2Y2ZCPNV.cjs');
29
29
  require('../../chunk-HCHVDUI6.cjs');
@@ -21,7 +21,7 @@ type CarouselContextProps = {
21
21
  orientation?: "horizontal" | "vertical";
22
22
  setApi?: (api: CarouselApi) => void;
23
23
  };
24
- declare const CarouselContext: React.Context<CarouselContextProps | null>;
24
+ declare const CarouselContext: React.Context<CarouselContextProps>;
25
25
  declare function useCarousel(): CarouselContextProps;
26
26
 
27
27
  type CarouselProps = React.ComponentProps<"div"> & {
@@ -21,7 +21,7 @@ type CarouselContextProps = {
21
21
  orientation?: "horizontal" | "vertical";
22
22
  setApi?: (api: CarouselApi) => void;
23
23
  };
24
- declare const CarouselContext: React.Context<CarouselContextProps | null>;
24
+ declare const CarouselContext: React.Context<CarouselContextProps>;
25
25
  declare function useCarousel(): CarouselContextProps;
26
26
 
27
27
  type CarouselProps = React.ComponentProps<"div"> & {
@@ -1,27 +1,27 @@
1
1
  import { Button } from '../../chunk-QTYNFISP.js';
2
- import '../../chunk-E5TYGWGE.js';
2
+ import '../../chunk-K5AURCK5.js';
3
+ import '../../chunk-IWF52DDE.js';
3
4
  import '../../chunk-OCOCENE6.js';
4
5
  import '../../chunk-OQCNPNPS.js';
5
6
  import '../../chunk-WXZE35FK.js';
6
- import '../../chunk-U7XZJQ4O.js';
7
7
  import '../../chunk-WMGJCB7O.js';
8
- import '../../chunk-K5AURCK5.js';
8
+ import '../../chunk-U7XZJQ4O.js';
9
+ import '../../chunk-DL54DIMD.js';
9
10
  import '../../chunk-PBEZZMAB.js';
10
- import '../../chunk-KGGCA634.js';
11
11
  import '../../chunk-4TRADSTP.js';
12
12
  import '../../chunk-M7NIRB3U.js';
13
- import '../../chunk-DTSFPOLX.js';
13
+ import '../../chunk-E5TYGWGE.js';
14
14
  import '../../chunk-P5IUC7HJ.js';
15
- import '../../chunk-IWF52DDE.js';
16
- import '../../chunk-HNRVLRMN.js';
15
+ import '../../chunk-DTSFPOLX.js';
17
16
  import '../../chunk-BTSHACKG.js';
18
- import '../../chunk-VT5GDGZJ.js';
17
+ import '../../chunk-HNRVLRMN.js';
19
18
  import '../../chunk-3MH6P44N.js';
20
- import '../../chunk-XJIUGEPN.js';
19
+ import '../../chunk-VT5GDGZJ.js';
21
20
  import '../../chunk-UGSNASZM.js';
21
+ import '../../chunk-KGGCA634.js';
22
+ import '../../chunk-XJIUGEPN.js';
22
23
  import '../../chunk-I3RSTJP6.js';
23
24
  import '../../chunk-YUMKV5TH.js';
24
- import '../../chunk-DL54DIMD.js';
25
25
  import '../../chunk-U3QKV7I4.js';
26
26
  import '../../chunk-6BSR3O2J.js';
27
27
  import '../../chunk-5F2Y65JH.js';
@@ -3,9 +3,9 @@ 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
- declare const colorSwatchVariants: (props?: ({
7
- size?: "default" | "sm" | "lg" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
6
+ declare const colorSwatchVariants: (props?: {
7
+ size?: "default" | "sm" | "lg";
8
+ } & class_variance_authority_types.ClassProp) => string;
9
9
 
10
10
  type ColorSwatchVariantsProps = VariantProps<typeof colorSwatchVariants>;
11
11
  type ColorSwatchSize = NonNullable<ColorSwatchVariantsProps["size"]>;
@@ -3,9 +3,9 @@ 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
- declare const colorSwatchVariants: (props?: ({
7
- size?: "default" | "sm" | "lg" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
6
+ declare const colorSwatchVariants: (props?: {
7
+ size?: "default" | "sm" | "lg";
8
+ } & class_variance_authority_types.ClassProp) => string;
9
9
 
10
10
  type ColorSwatchVariantsProps = VariantProps<typeof colorSwatchVariants>;
11
11
  type ColorSwatchSize = NonNullable<ColorSwatchVariantsProps["size"]>;
@@ -16,9 +16,9 @@ type DialogContentProps = React.ComponentProps<typeof Dialog$1.Content> & {
16
16
  };
17
17
  declare function DialogContent({ className, children, width, showCloseButton, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element;
18
18
 
19
- declare const dialogContentVariants: (props?: ({
20
- width?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | null | undefined;
21
- } & class_variance_authority_types.ClassProp) | undefined) => string;
19
+ declare const dialogContentVariants: (props?: {
20
+ width?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full";
21
+ } & class_variance_authority_types.ClassProp) => string;
22
22
 
23
23
  type DialogContentCvaProps = VariantProps<typeof dialogContentVariants>;
24
24
  type DialogContentWidth = NonNullable<DialogContentCvaProps["width"]>;
@@ -16,9 +16,9 @@ type DialogContentProps = React.ComponentProps<typeof Dialog$1.Content> & {
16
16
  };
17
17
  declare function DialogContent({ className, children, width, showCloseButton, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element;
18
18
 
19
- declare const dialogContentVariants: (props?: ({
20
- width?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | null | undefined;
21
- } & class_variance_authority_types.ClassProp) | undefined) => string;
19
+ declare const dialogContentVariants: (props?: {
20
+ width?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full";
21
+ } & class_variance_authority_types.ClassProp) => string;
22
22
 
23
23
  type DialogContentCvaProps = VariantProps<typeof dialogContentVariants>;
24
24
  type DialogContentWidth = NonNullable<DialogContentCvaProps["width"]>;
@@ -21,9 +21,9 @@ type EmptyContentProps = React.ComponentProps<"div">;
21
21
  declare function EmptyContent({ className, ...props }: EmptyContentProps): react_jsx_runtime.JSX.Element;
22
22
 
23
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;
24
+ declare const emptyMediaVariants: (props?: {
25
+ variant?: "default" | "icon";
26
+ } & class_variance_authority_types.ClassProp) => string;
27
27
  declare function EmptyMedia({ className, variant, ...props }: EmptyMediaProps): react_jsx_runtime.JSX.Element;
28
28
 
29
29
  export { Empty, EmptyContent, type EmptyContentProps, EmptyDescription, type EmptyDescriptionProps, EmptyHeader, type EmptyHeaderProps, EmptyMedia, type EmptyMediaProps, type EmptyProps, EmptyTitle, type EmptyTitleProps };
@@ -21,9 +21,9 @@ type EmptyContentProps = React.ComponentProps<"div">;
21
21
  declare function EmptyContent({ className, ...props }: EmptyContentProps): react_jsx_runtime.JSX.Element;
22
22
 
23
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;
24
+ declare const emptyMediaVariants: (props?: {
25
+ variant?: "default" | "icon";
26
+ } & class_variance_authority_types.ClassProp) => string;
27
27
  declare function EmptyMedia({ className, variant, ...props }: EmptyMediaProps): react_jsx_runtime.JSX.Element;
28
28
 
29
29
  export { Empty, EmptyContent, type EmptyContentProps, EmptyDescription, type EmptyDescriptionProps, EmptyHeader, type EmptyHeaderProps, EmptyMedia, type EmptyMediaProps, type EmptyProps, EmptyTitle, type EmptyTitleProps };
@@ -5,9 +5,9 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
5
5
  import { Label } from '../label/index.cjs';
6
6
  import 'radix-ui';
7
7
 
8
- declare const fieldVariants: (props?: ({
9
- orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
10
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ declare const fieldVariants: (props?: {
9
+ orientation?: "horizontal" | "vertical" | "responsive";
10
+ } & class_variance_authority_types.ClassProp) => string;
11
11
 
12
12
  type FieldProps = React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>;
13
13
  declare function Field({ className, orientation, ...props }: FieldProps): react_jsx_runtime.JSX.Element;
@@ -23,7 +23,7 @@ type FieldErrorProps = React.ComponentProps<"div"> & {
23
23
  message?: string;
24
24
  } | undefined>;
25
25
  };
26
- declare function FieldError({ className, children, errors, ...props }: FieldErrorProps): react_jsx_runtime.JSX.Element | null;
26
+ declare function FieldError({ className, children, errors, ...props }: FieldErrorProps): react_jsx_runtime.JSX.Element;
27
27
 
28
28
  type FieldGroupProps = React.ComponentProps<"div">;
29
29
  declare function FieldGroup({ className, ...props }: FieldGroupProps): react_jsx_runtime.JSX.Element;
@@ -5,9 +5,9 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
5
5
  import { Label } from '../label/index.js';
6
6
  import 'radix-ui';
7
7
 
8
- declare const fieldVariants: (props?: ({
9
- orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
10
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ declare const fieldVariants: (props?: {
9
+ orientation?: "horizontal" | "vertical" | "responsive";
10
+ } & class_variance_authority_types.ClassProp) => string;
11
11
 
12
12
  type FieldProps = React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>;
13
13
  declare function Field({ className, orientation, ...props }: FieldProps): react_jsx_runtime.JSX.Element;
@@ -23,7 +23,7 @@ type FieldErrorProps = React.ComponentProps<"div"> & {
23
23
  message?: string;
24
24
  } | undefined>;
25
25
  };
26
- declare function FieldError({ className, children, errors, ...props }: FieldErrorProps): react_jsx_runtime.JSX.Element | null;
26
+ declare function FieldError({ className, children, errors, ...props }: FieldErrorProps): react_jsx_runtime.JSX.Element;
27
27
 
28
28
  type FieldGroupProps = React.ComponentProps<"div">;
29
29
  declare function FieldGroup({ className, ...props }: FieldGroupProps): react_jsx_runtime.JSX.Element;