kku-ui 0.2.0 → 0.2.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/README.md CHANGED
@@ -17,21 +17,22 @@ kku-ui는 React 기반의 컴포넌트 라이브러리로, 컴포넌트 간 유
17
17
  #### **Main 컴포넌트**
18
18
  다지안이 적용된 최종 UI 컴포넌트입니다.
19
19
 
20
- | 컴포넌트 | 기능 | 스토리북 | a11y |
21
- |:-----------------------|:----:|:--------:|:----:|
22
- | `<KButton/>` | ✅ | ✅ | ✅ |
23
- | `<KButtonGroup/>` | ✅ | ✅ | ✅ |
24
- | `<KSwitch/>` | ✅ | ✅ | ✅ |
25
- | `<KTextField/>` | ✅ | ✅ | ✅ |
26
- | `<KSelect/>` | ✅ | ✅ | ✅ |
27
- | `<KAccordion/>` | ✅ | ✅ | ✅ |
28
- | `<KMenu/>` | ✅ | ✅ | ✅ |
29
- | `<KDropdown/>` | ✅ | ✅ | ✅ |
30
- | `<KBackdrop/>` | ✅ | ✅ | ✅ |
31
- | `<KModal/>` | ✅ | ✅ | ✅ |
32
- | `<KSpinner/>` | ✅ | ✅ | ✅ |
33
- | `<KIcon/>` | ✅ | ✅ | ✅ |
34
- | 🏃🏻‍♂
20
+ | 컴포넌트 | 기능 | 스토리북 | a11y |
21
+ |:-------------------|:----:|:--------:|:----:|
22
+ | `<KButton/>` | ✅ | ✅ | ✅ |
23
+ | `<KButtonGroup/>` | ✅ | ✅ | ✅ |
24
+ | `<KToggleButton/>` | ✅ | ✅ | ✅ |
25
+ | `<KSwitch/>` | ✅ | ✅ | ✅ |
26
+ | `<KTextField/>` | ✅ | ✅ | ✅ |
27
+ | `<KSelect/>` | ✅ | ✅ | ✅ |
28
+ | `<KAccordion/>` | ✅ | ✅ | ✅ |
29
+ | `<KMenu/>` | ✅ | ✅ | ✅ |
30
+ | `<KDropdown/>` | ✅ | ✅ | ✅ |
31
+ | `<KBackdrop/>` | ✅ | ✅ | ✅ |
32
+ | `<KModal/>` | ✅ | ✅ | ✅ |
33
+ | `<KSpinner/>` | ✅ | ✅ | ✅ |
34
+ | `<KIcon/>` | ✅ | ✅ | ✅ |
35
+ | 🏃🏻‍♂
35
36
 
36
37
  #### **Core 컴포넌트**
37
38
  디자인 없이 기본 로직과 접근성(A11y) 처리만 포함된 단일 컴포넌트입니다.
@@ -1,3 +1,6 @@
1
1
  import { KButtonGroupProps } from '../..';
2
- declare const KButtonGroup: import('react').MemoExoticComponent<(props: KButtonGroupProps) => import("react/jsx-runtime").JSX.Element>;
2
+ declare const KButtonGroup: import('react').MemoExoticComponent<{
3
+ (props: KButtonGroupProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ }>;
3
6
  export default KButtonGroup;
@@ -1,3 +1,4 @@
1
1
  export * from './button';
2
2
  export * from './button-group';
3
+ export * from './toggle-button';
3
4
  export * from './switch';
@@ -0,0 +1,6 @@
1
+ import { KToggleButtonProps } from './KToggleButton.interface';
2
+ declare const _default: import('react').MemoExoticComponent<{
3
+ ({ multiple, className, variant, children, ...restProps }: KToggleButtonProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ }>;
6
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ import { KButtonVariantType } from '../..';
3
+ export interface KToggleButtonProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
4
+ variant?: KButtonVariantType;
5
+ children: ReactNode;
6
+ multiple?: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ export { default as KToggleButton } from './KToggleButton';
2
+ export * from './KToggleButton.interface';