@axis-ds/ui-react 1.5.0 → 1.5.2

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/README.md CHANGED
@@ -109,7 +109,7 @@ Accordion, Alert, Avatar, Breadcrumb, Button, Card, Checkbox, Collapsible, Comma
109
109
 
110
110
  ## 문서
111
111
 
112
- 자세한 사용법은 [AXIS Design System 문서](https://axis.minu.best)를 참고하세요.
112
+ 자세한 사용법은 [AXIS Design System 문서](https://axis-design-system.pages.dev)를 참고하세요.
113
113
 
114
114
  ## 라이선스
115
115
 
@@ -1,10 +1,11 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import { VariantProps } from 'class-variance-authority';
4
5
 
5
6
  declare const alertVariants: (props?: ({
6
7
  variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
7
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ } & __AxisCvaClassProp) | undefined) => string;
8
9
  /**
9
10
  * Alert 컴포넌트 Props
10
11
  * @property variant - 알림 스타일 변형 (default, info, success, warning, destructive)
@@ -1,10 +1,11 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import { VariantProps } from 'class-variance-authority';
4
5
 
5
6
  declare const alertVariants: (props?: ({
6
7
  variant?: "default" | "destructive" | "info" | "success" | "warning" | null | undefined;
7
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ } & __AxisCvaClassProp) | undefined) => string;
8
9
  /**
9
10
  * Alert 컴포넌트 Props
10
11
  * @property variant - 알림 스타일 변형 (default, info, success, warning, destructive)
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import { avatarVariants } from './variants.mjs';
4
- import 'class-variance-authority/types';
5
4
 
6
5
  /**
7
6
  * Avatar 컴포넌트 Props
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import { avatarVariants } from './variants.js';
4
- import 'class-variance-authority/types';
5
4
 
6
5
  /**
7
6
  * Avatar 컴포넌트 Props
@@ -2,4 +2,3 @@ export { Avatar, AvatarProps } from './avatar.mjs';
2
2
  export { avatarVariants } from './variants.mjs';
3
3
  import 'react';
4
4
  import 'class-variance-authority';
5
- import 'class-variance-authority/types';
@@ -2,4 +2,3 @@ export { Avatar, AvatarProps } from './avatar.js';
2
2
  export { avatarVariants } from './variants.js';
3
3
  import 'react';
4
4
  import 'class-variance-authority';
5
- import 'class-variance-authority/types';
@@ -1,4 +1,5 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
 
3
4
  /**
4
5
  * Avatar 크기 variants
@@ -9,6 +10,6 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
9
10
  */
10
11
  declare const avatarVariants: (props?: ({
11
12
  size?: "default" | "sm" | "lg" | "xl" | null | undefined;
12
- } & class_variance_authority_types.ClassProp) | undefined) => string;
13
+ } & __AxisCvaClassProp) | undefined) => string;
13
14
 
14
15
  export { avatarVariants };
@@ -1,4 +1,5 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
 
3
4
  /**
4
5
  * Avatar 크기 variants
@@ -9,6 +10,6 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
9
10
  */
10
11
  declare const avatarVariants: (props?: ({
11
12
  size?: "default" | "sm" | "lg" | "xl" | null | undefined;
12
- } & class_variance_authority_types.ClassProp) | undefined) => string;
13
+ } & __AxisCvaClassProp) | undefined) => string;
13
14
 
14
15
  export { avatarVariants };
@@ -1,10 +1,11 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import { VariantProps } from 'class-variance-authority';
4
5
 
5
6
  declare const badgeVariants: (props?: ({
6
7
  variant?: "default" | "secondary" | "destructive" | "outline" | "error" | "info" | "success" | "warning" | null | undefined;
7
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ } & __AxisCvaClassProp) | undefined) => string;
8
9
  /**
9
10
  * Badge 컴포넌트 Props
10
11
  * @property variant - 배지 스타일 변형 (default, secondary, destructive, success, warning, error, info, outline)
@@ -1,10 +1,11 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import { VariantProps } from 'class-variance-authority';
4
5
 
5
6
  declare const badgeVariants: (props?: ({
6
7
  variant?: "default" | "secondary" | "destructive" | "outline" | "error" | "info" | "success" | "warning" | null | undefined;
7
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ } & __AxisCvaClassProp) | undefined) => string;
8
9
  /**
9
10
  * Badge 컴포넌트 Props
10
11
  * @property variant - 배지 스타일 변형 (default, secondary, destructive, success, warning, error, info, outline)
@@ -1,11 +1,12 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import { VariantProps } from 'class-variance-authority';
4
5
 
5
6
  declare const buttonVariants: (props?: ({
6
7
  variant?: "link" | "default" | "secondary" | "ghost" | "destructive" | "outline" | null | undefined;
7
8
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ } & __AxisCvaClassProp) | undefined) => string;
9
10
  /**
10
11
  * Button 컴포넌트 Props
11
12
  * @property variant - 버튼 스타일 변형 (default, secondary, ghost, destructive, outline, link)
@@ -1,11 +1,12 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import { VariantProps } from 'class-variance-authority';
4
5
 
5
6
  declare const buttonVariants: (props?: ({
6
7
  variant?: "link" | "default" | "secondary" | "ghost" | "destructive" | "outline" | null | undefined;
7
8
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ } & __AxisCvaClassProp) | undefined) => string;
9
10
  /**
10
11
  * Button 컴포넌트 Props
11
12
  * @property variant - 버튼 스타일 변형 (default, secondary, ghost, destructive, outline, link)
package/dist/index.d.mts CHANGED
@@ -31,7 +31,6 @@ export { avatarVariants } from './avatar/variants.mjs';
31
31
  export { ScrollArea, ScrollBar } from './scroll-area/index.mjs';
32
32
  export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from './command/index.mjs';
33
33
  import 'clsx';
34
- import 'class-variance-authority/types';
35
34
  import 'react';
36
35
  import 'class-variance-authority';
37
36
  import '@radix-ui/react-label';
package/dist/index.d.ts CHANGED
@@ -31,7 +31,6 @@ export { avatarVariants } from './avatar/variants.js';
31
31
  export { ScrollArea, ScrollBar } from './scroll-area/index.js';
32
32
  export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from './command/index.js';
33
33
  import 'clsx';
34
- import 'class-variance-authority/types';
35
34
  import 'react';
36
35
  import 'class-variance-authority';
37
36
  import '@radix-ui/react-label';
@@ -1,9 +1,10 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import * as LabelPrimitive from '@radix-ui/react-label';
4
5
  import { VariantProps } from 'class-variance-authority';
5
6
 
6
- declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
7
+ declare const labelVariants: (props?: __AxisCvaClassProp | undefined) => string;
7
8
  /** Label 컴포넌트의 Props 인터페이스. Radix Label 프리미티브의 속성을 확장한다. */
8
9
  interface LabelProps extends React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {
9
10
  }
@@ -1,9 +1,10 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import * as LabelPrimitive from '@radix-ui/react-label';
4
5
  import { VariantProps } from 'class-variance-authority';
5
6
 
6
- declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
7
+ declare const labelVariants: (props?: __AxisCvaClassProp | undefined) => string;
7
8
  /** Label 컴포넌트의 Props 인터페이스. Radix Label 프리미티브의 속성을 확장한다. */
8
9
  interface LabelProps extends React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {
9
10
  }
@@ -1,13 +1,14 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import { VariantProps } from 'class-variance-authority';
4
5
 
5
6
  declare const progressVariants: (props?: ({
6
7
  size?: "default" | "sm" | "lg" | null | undefined;
7
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ } & __AxisCvaClassProp) | undefined) => string;
8
9
  declare const progressIndicatorVariants: (props?: ({
9
10
  variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
10
- } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ } & __AxisCvaClassProp) | undefined) => string;
11
12
  /** Progress 컴포넌트의 Props 인터페이스. 크기 및 색상 변형과 불확정 상태를 지원한다. */
12
13
  interface ProgressProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressVariants>, VariantProps<typeof progressIndicatorVariants> {
13
14
  /** 진행률 값 (0부터 max까지). 기본값은 0이다. */
@@ -1,13 +1,14 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import { VariantProps } from 'class-variance-authority';
4
5
 
5
6
  declare const progressVariants: (props?: ({
6
7
  size?: "default" | "sm" | "lg" | null | undefined;
7
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ } & __AxisCvaClassProp) | undefined) => string;
8
9
  declare const progressIndicatorVariants: (props?: ({
9
10
  variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
10
- } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ } & __AxisCvaClassProp) | undefined) => string;
11
12
  /** Progress 컴포넌트의 Props 인터페이스. 크기 및 색상 변형과 불확정 상태를 지원한다. */
12
13
  interface ProgressProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressVariants>, VariantProps<typeof progressIndicatorVariants> {
13
14
  /** 진행률 값 (0부터 max까지). 기본값은 0이다. */
@@ -1,5 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import type * as __AxisClsx from 'clsx';
3
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
3
4
  import * as React from 'react';
4
5
  import * as DialogPrimitive from '@radix-ui/react-dialog';
5
6
  import { VariantProps } from 'class-variance-authority';
@@ -16,7 +17,7 @@ declare const SheetPortal: React.FC<DialogPrimitive.DialogPortalProps>;
16
17
  declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
18
  declare const sheetVariants: (props?: ({
18
19
  side?: "bottom" | "left" | "right" | "top" | null | undefined;
19
- } & class_variance_authority_types.ClassProp) | undefined) => string;
20
+ } & __AxisCvaClassProp) | undefined) => string;
20
21
  /**
21
22
  * SheetContent 컴포넌트의 Props 인터페이스
22
23
  * @property side - 시트가 나타나는 방향 (top, bottom, left, right). 기본값은 "right"
@@ -1,5 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import type * as __AxisClsx from 'clsx';
3
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
3
4
  import * as React from 'react';
4
5
  import * as DialogPrimitive from '@radix-ui/react-dialog';
5
6
  import { VariantProps } from 'class-variance-authority';
@@ -16,7 +17,7 @@ declare const SheetPortal: React.FC<DialogPrimitive.DialogPortalProps>;
16
17
  declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
18
  declare const sheetVariants: (props?: ({
18
19
  side?: "bottom" | "left" | "right" | "top" | null | undefined;
19
- } & class_variance_authority_types.ClassProp) | undefined) => string;
20
+ } & __AxisCvaClassProp) | undefined) => string;
20
21
  /**
21
22
  * SheetContent 컴포넌트의 Props 인터페이스
22
23
  * @property side - 시트가 나타나는 방향 (top, bottom, left, right). 기본값은 "right"
@@ -1,4 +1,5 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import * as ToastPrimitives from '@radix-ui/react-toast';
4
5
  import { VariantProps } from 'class-variance-authority';
@@ -10,7 +11,7 @@ declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitive
10
11
  /** 토스트 알림의 루트 컴포넌트. default, success, error, warning 변형을 지원하며 스와이프로 닫을 수 있다. */
11
12
  declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
12
13
  variant?: "default" | "error" | "success" | "warning" | null | undefined;
13
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
14
+ } & __AxisCvaClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
14
15
  /** 토스트 내에 표시되는 액션 버튼 컴포넌트. 사용자 상호작용을 위한 CTA를 제공한다. */
15
16
  declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
16
17
  /** 토스트를 닫는 닫기 버튼 컴포넌트. 호버 시 표시되며 X 아이콘을 포함한다. */
@@ -1,4 +1,5 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import * as ToastPrimitives from '@radix-ui/react-toast';
4
5
  import { VariantProps } from 'class-variance-authority';
@@ -10,7 +11,7 @@ declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitive
10
11
  /** 토스트 알림의 루트 컴포넌트. default, success, error, warning 변형을 지원하며 스와이프로 닫을 수 있다. */
11
12
  declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
12
13
  variant?: "default" | "error" | "success" | "warning" | null | undefined;
13
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
14
+ } & __AxisCvaClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
14
15
  /** 토스트 내에 표시되는 액션 버튼 컴포넌트. 사용자 상호작용을 위한 CTA를 제공한다. */
15
16
  declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
16
17
  /** 토스트를 닫는 닫기 버튼 컴포넌트. 호버 시 표시되며 X 아이콘을 포함한다. */
@@ -1,4 +1,5 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import * as TogglePrimitive from '@radix-ui/react-toggle';
4
5
  import { VariantProps } from 'class-variance-authority';
@@ -6,11 +7,11 @@ import { VariantProps } from 'class-variance-authority';
6
7
  declare const toggleVariants: (props?: ({
7
8
  variant?: "default" | "outline" | null | undefined;
8
9
  size?: "default" | "sm" | "lg" | null | undefined;
9
- } & class_variance_authority_types.ClassProp) | undefined) => string;
10
+ } & __AxisCvaClassProp) | undefined) => string;
10
11
  /** 눌림/해제 상태를 전환하는 토글 버튼 컴포넌트. variant(default, outline)와 size(sm, default, lg) 변형을 지원한다. */
11
12
  declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
12
13
  variant?: "default" | "outline" | null | undefined;
13
14
  size?: "default" | "sm" | "lg" | null | undefined;
14
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
15
+ } & __AxisCvaClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
15
16
 
16
17
  export { Toggle, toggleVariants };
@@ -1,4 +1,5 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
1
+ import type * as __AxisClsx from 'clsx';
2
+ type __AxisCvaClassProp = { class: __AxisClsx.ClassValue; className?: never } | { class?: never; className: __AxisClsx.ClassValue } | { class?: never; className?: never };
2
3
  import * as React from 'react';
3
4
  import * as TogglePrimitive from '@radix-ui/react-toggle';
4
5
  import { VariantProps } from 'class-variance-authority';
@@ -6,11 +7,11 @@ import { VariantProps } from 'class-variance-authority';
6
7
  declare const toggleVariants: (props?: ({
7
8
  variant?: "default" | "outline" | null | undefined;
8
9
  size?: "default" | "sm" | "lg" | null | undefined;
9
- } & class_variance_authority_types.ClassProp) | undefined) => string;
10
+ } & __AxisCvaClassProp) | undefined) => string;
10
11
  /** 눌림/해제 상태를 전환하는 토글 버튼 컴포넌트. variant(default, outline)와 size(sm, default, lg) 변형을 지원한다. */
11
12
  declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
12
13
  variant?: "default" | "outline" | null | undefined;
13
14
  size?: "default" | "sm" | "lg" | null | undefined;
14
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
15
+ } & __AxisCvaClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
15
16
 
16
17
  export { Toggle, toggleVariants };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axis-ds/ui-react",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "AXIS Design System - Core React UI Components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -163,6 +163,100 @@
163
163
  },
164
164
  "./tailwind.css": "./tailwind.css"
165
165
  },
166
+ "typesVersions": {
167
+ "*": {
168
+ "accordion": [
169
+ "./dist/accordion/index.d.ts"
170
+ ],
171
+ "alert": [
172
+ "./dist/alert/index.d.ts"
173
+ ],
174
+ "avatar": [
175
+ "./dist/avatar/index.d.ts"
176
+ ],
177
+ "badge": [
178
+ "./dist/badge/index.d.ts"
179
+ ],
180
+ "breadcrumb": [
181
+ "./dist/breadcrumb/index.d.ts"
182
+ ],
183
+ "button": [
184
+ "./dist/button/index.d.ts"
185
+ ],
186
+ "card": [
187
+ "./dist/card/index.d.ts"
188
+ ],
189
+ "checkbox": [
190
+ "./dist/checkbox/index.d.ts"
191
+ ],
192
+ "collapsible": [
193
+ "./dist/collapsible/index.d.ts"
194
+ ],
195
+ "command": [
196
+ "./dist/command/index.d.ts"
197
+ ],
198
+ "dialog": [
199
+ "./dist/dialog/index.d.ts"
200
+ ],
201
+ "dropdown-menu": [
202
+ "./dist/dropdown-menu/index.d.ts"
203
+ ],
204
+ "input": [
205
+ "./dist/input/index.d.ts"
206
+ ],
207
+ "label": [
208
+ "./dist/label/index.d.ts"
209
+ ],
210
+ "popover": [
211
+ "./dist/popover/index.d.ts"
212
+ ],
213
+ "progress": [
214
+ "./dist/progress/index.d.ts"
215
+ ],
216
+ "radio-group": [
217
+ "./dist/radio-group/index.d.ts"
218
+ ],
219
+ "scroll-area": [
220
+ "./dist/scroll-area/index.d.ts"
221
+ ],
222
+ "select": [
223
+ "./dist/select/index.d.ts"
224
+ ],
225
+ "separator": [
226
+ "./dist/separator/index.d.ts"
227
+ ],
228
+ "sheet": [
229
+ "./dist/sheet/index.d.ts"
230
+ ],
231
+ "skeleton": [
232
+ "./dist/skeleton/index.d.ts"
233
+ ],
234
+ "slider": [
235
+ "./dist/slider/index.d.ts"
236
+ ],
237
+ "switch": [
238
+ "./dist/switch/index.d.ts"
239
+ ],
240
+ "table": [
241
+ "./dist/table/index.d.ts"
242
+ ],
243
+ "tabs": [
244
+ "./dist/tabs/index.d.ts"
245
+ ],
246
+ "textarea": [
247
+ "./dist/textarea/index.d.ts"
248
+ ],
249
+ "toast": [
250
+ "./dist/toast/index.d.ts"
251
+ ],
252
+ "toggle": [
253
+ "./dist/toggle/index.d.ts"
254
+ ],
255
+ "tooltip": [
256
+ "./dist/tooltip/index.d.ts"
257
+ ]
258
+ }
259
+ },
166
260
  "sideEffects": false,
167
261
  "files": [
168
262
  "dist",
@@ -198,7 +292,7 @@
198
292
  "clsx": "^2.1.0",
199
293
  "cmdk": "^1.1.1",
200
294
  "tailwind-merge": "^2.5.0",
201
- "@axis-ds/tokens": "1.5.0"
295
+ "@axis-ds/tokens": "1.5.1"
202
296
  },
203
297
  "devDependencies": {
204
298
  "@testing-library/jest-dom": "^6.9.1",
@@ -229,13 +323,13 @@
229
323
  "url": "https://github.com/IDEA-on-Action/AXIS-Design-System.git",
230
324
  "directory": "packages/axis-ui-react"
231
325
  },
232
- "homepage": "https://axis.minu.best",
326
+ "homepage": "https://axis-design-system.pages.dev",
233
327
  "scripts": {
234
- "build": "tsup && node scripts/postbuild.mjs && node scripts/sync-exports.mjs",
328
+ "build": "tsup && node scripts/fix-cva-dts.mjs && node scripts/postbuild.mjs && node scripts/sync-exports.mjs && node ../../scripts/sync-types-versions.mjs --only .",
235
329
  "dev": "tsup --watch --onSuccess \"node scripts/postbuild.mjs\"",
236
330
  "clean": "rm -rf dist",
237
331
  "lint": "eslint .",
238
- "test": "vitest run",
332
+ "test": "vitest run && node --test scripts/fix-cva-dts.test.mjs",
239
333
  "test:coverage": "vitest run --coverage",
240
334
  "test:watch": "vitest",
241
335
  "type-check": "tsc --noEmit",