@ncds/ui-admin 0.0.22 → 0.0.24

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 (97) hide show
  1. package/dist/cjs/assets/scripts/index.js +11 -0
  2. package/dist/cjs/assets/scripts/slider.js +341 -0
  3. package/dist/cjs/index.js +0 -33
  4. package/dist/cjs/src/components/button/Button.js +15 -7
  5. package/dist/cjs/src/components/button/ButtonGroup.js +1 -1
  6. package/dist/cjs/src/components/date-picker/index.js +0 -11
  7. package/dist/cjs/src/components/divider/Divider.js +43 -0
  8. package/dist/cjs/src/components/divider/index.js +16 -0
  9. package/dist/cjs/src/components/empty-state/EmptyState.js +58 -0
  10. package/dist/cjs/src/components/empty-state/index.js +16 -0
  11. package/dist/cjs/src/components/featured-icon/FeaturedIcon.js +79 -0
  12. package/dist/cjs/src/components/featured-icon/index.js +16 -0
  13. package/dist/cjs/src/components/index.js +81 -4
  14. package/dist/cjs/src/components/input/InputBase.js +27 -14
  15. package/dist/cjs/src/components/modal/Modal.js +193 -0
  16. package/dist/cjs/src/components/modal/index.js +12 -0
  17. package/dist/cjs/src/components/notification/FloatingNotification.js +104 -0
  18. package/dist/cjs/src/components/notification/FullWidthNotification.js +112 -0
  19. package/dist/cjs/src/components/notification/Notification.js +66 -0
  20. package/dist/cjs/src/components/notification/index.js +38 -0
  21. package/dist/cjs/src/components/pagination/NavButton.js +6 -4
  22. package/dist/cjs/src/components/pagination/Pagination.js +4 -19
  23. package/dist/cjs/src/components/progress-bar/ProgressBar.js +57 -0
  24. package/dist/cjs/src/components/progress-bar/index.js +16 -0
  25. package/dist/cjs/src/components/progress-circle/ProgressCircle.js +121 -0
  26. package/dist/cjs/src/components/progress-circle/index.js +16 -0
  27. package/dist/cjs/src/components/slider/Slider.js +64 -0
  28. package/dist/cjs/src/components/slider/index.js +16 -0
  29. package/dist/cjs/src/components/tab/HorizontalTab.js +77 -0
  30. package/dist/cjs/src/components/tab/TabButton.js +76 -0
  31. package/dist/cjs/src/components/tab/VerticalTab.js +75 -0
  32. package/dist/cjs/src/components/tab/index.js +38 -0
  33. package/dist/esm/assets/scripts/index.js +2 -1
  34. package/dist/esm/assets/scripts/slider.js +336 -0
  35. package/dist/esm/index.js +0 -3
  36. package/dist/esm/src/components/button/Button.js +14 -6
  37. package/dist/esm/src/components/button/ButtonGroup.js +1 -1
  38. package/dist/esm/src/components/date-picker/index.js +1 -2
  39. package/dist/esm/src/components/divider/Divider.js +36 -0
  40. package/dist/esm/src/components/divider/index.js +1 -0
  41. package/dist/esm/src/components/empty-state/EmptyState.js +51 -0
  42. package/dist/esm/src/components/empty-state/index.js +1 -0
  43. package/dist/esm/src/components/featured-icon/FeaturedIcon.js +72 -0
  44. package/dist/esm/src/components/featured-icon/index.js +1 -0
  45. package/dist/esm/src/components/index.js +8 -1
  46. package/dist/esm/src/components/input/InputBase.js +27 -14
  47. package/dist/esm/src/components/modal/Modal.js +185 -0
  48. package/dist/esm/src/components/modal/index.js +1 -0
  49. package/dist/esm/src/components/notification/FloatingNotification.js +97 -0
  50. package/dist/esm/src/components/notification/FullWidthNotification.js +105 -0
  51. package/dist/esm/src/components/notification/Notification.js +59 -0
  52. package/dist/esm/src/components/notification/index.js +3 -0
  53. package/dist/esm/src/components/pagination/NavButton.js +6 -4
  54. package/dist/esm/src/components/pagination/Pagination.js +4 -19
  55. package/dist/esm/src/components/progress-bar/ProgressBar.js +50 -0
  56. package/dist/esm/src/components/progress-bar/index.js +1 -0
  57. package/dist/esm/src/components/progress-circle/ProgressCircle.js +114 -0
  58. package/dist/esm/src/components/progress-circle/index.js +1 -0
  59. package/dist/esm/src/components/slider/Slider.js +57 -0
  60. package/dist/esm/src/components/slider/index.js +1 -0
  61. package/dist/esm/src/components/tab/HorizontalTab.js +69 -0
  62. package/dist/esm/src/components/tab/TabButton.js +68 -0
  63. package/dist/esm/src/components/tab/VerticalTab.js +67 -0
  64. package/dist/esm/src/components/tab/index.js +3 -0
  65. package/dist/types/assets/scripts/index.d.ts +1 -0
  66. package/dist/types/assets/scripts/slider.d.ts +42 -0
  67. package/dist/types/index.d.ts +0 -3
  68. package/dist/types/src/components/button/Button.d.ts +2 -1
  69. package/dist/types/src/components/button/ButtonGroup.d.ts +6 -5
  70. package/dist/types/src/components/date-picker/index.d.ts +0 -1
  71. package/dist/types/src/components/divider/Divider.d.ts +11 -0
  72. package/dist/types/src/components/divider/index.d.ts +2 -0
  73. package/dist/types/src/components/empty-state/EmptyState.d.ts +14 -0
  74. package/dist/types/src/components/empty-state/index.d.ts +2 -0
  75. package/dist/types/src/components/featured-icon/FeaturedIcon.d.ts +14 -0
  76. package/dist/types/src/components/featured-icon/index.d.ts +2 -0
  77. package/dist/types/src/components/index.d.ts +8 -1
  78. package/dist/types/src/components/input/InputBase.d.ts +2 -0
  79. package/dist/types/src/components/modal/Modal.d.ts +75 -0
  80. package/dist/types/src/components/modal/index.d.ts +3 -0
  81. package/dist/types/src/components/notification/FloatingNotification.d.ts +32 -0
  82. package/dist/types/src/components/notification/FullWidthNotification.d.ts +32 -0
  83. package/dist/types/src/components/notification/Notification.d.ts +59 -0
  84. package/dist/types/src/components/notification/index.d.ts +4 -0
  85. package/dist/types/src/components/pagination/NavButton.d.ts +2 -2
  86. package/dist/types/src/components/progress-bar/ProgressBar.d.ts +7 -0
  87. package/dist/types/src/components/progress-bar/index.d.ts +2 -0
  88. package/dist/types/src/components/progress-circle/ProgressCircle.d.ts +8 -0
  89. package/dist/types/src/components/progress-circle/index.d.ts +2 -0
  90. package/dist/types/src/components/slider/Slider.d.ts +15 -0
  91. package/dist/types/src/components/slider/index.d.ts +2 -0
  92. package/dist/types/src/components/tab/HorizontalTab.d.ts +12 -0
  93. package/dist/types/src/components/tab/TabButton.d.ts +26 -0
  94. package/dist/types/src/components/tab/VerticalTab.d.ts +10 -0
  95. package/dist/types/src/components/tab/index.d.ts +4 -0
  96. package/dist/ui-admin/assets/styles/style.css +1290 -105
  97. package/package.json +1 -1
@@ -1,10 +1,8 @@
1
1
  export * from './src/components/badge';
2
- export * from './src/components/breadcrumb';
3
2
  export * from './src/components/button';
4
3
  export * from './src/components/carousel';
5
4
  export * from './src/components/checkbox';
6
5
  export * from './src/components/date-picker';
7
- export * from './src/components/dropdown';
8
6
  export * from './src/components/input';
9
7
  export * from './src/components/pagination';
10
8
  export * from './src/components/radio';
@@ -13,7 +11,6 @@ export * from './src/components/shared/hintText';
13
11
  export * from './src/components/shared/label';
14
12
  export * from './src/components/shared';
15
13
  export * from './src/components/spinner';
16
- export * from './src/components/tag';
17
14
  export * from './src/components/toggle';
18
15
  export * from './src/components/tooltip';
19
16
  export * from './src/components';
@@ -14,7 +14,7 @@ export type CustomSlotType = {
14
14
  children: ReactNode;
15
15
  };
16
16
  export type SideSlotType = IconSlotType | CustomSlotType;
17
- export type ButtonSize = Extract<Size, 'xs' | 'sm' | 'md' | 'lg'>;
17
+ export type ButtonSize = Extract<Size, 'xxs' | 'xs' | 'sm' | 'md'>;
18
18
  type CommonButtonProps<T extends keyof HTMLElementTagNameMap> = Omit<ComponentProps<T>, 'ref'> & {
19
19
  label: string;
20
20
  className?: string;
@@ -38,6 +38,7 @@ type AnchorElementProps = CommonButtonProps<'a'> & {
38
38
  };
39
39
  export type ButtonProps = ButtonElementProps | AnchorElementProps;
40
40
  export declare const svgSize: Record<ButtonSize, number>;
41
+ export declare const iconOnlySvgSize: Record<ButtonSize, number>;
41
42
  export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
42
43
  export {};
43
44
  //# sourceMappingURL=Button.d.ts.map
@@ -1,14 +1,15 @@
1
1
  import { IconName } from '@ncds/ui-admin-icon';
2
2
  import React, { ComponentProps } from 'react';
3
3
  import { ColorKeyType } from '../../../constant/color';
4
- import { ButtonSize } from './Button';
4
+ import { Size } from '../../../constant/size';
5
+ type ButtonGroupSize = Extract<Size, 'xs' | 'sm' | 'md' | 'lg'>;
5
6
  interface SideCommon {
6
7
  position?: 'leading' | 'trailing';
7
8
  }
8
9
  interface SideIcon {
9
10
  type: 'icon';
10
- name: IconName;
11
- size?: ButtonSize;
11
+ icon: IconName;
12
+ size?: ButtonGroupSize;
12
13
  color?: ColorKeyType;
13
14
  }
14
15
  interface SideCustom {
@@ -24,7 +25,7 @@ interface ButtonGroupItemCommonProps {
24
25
  disabled?: boolean;
25
26
  }
26
27
  interface ButtonGroupItemButtonProps extends ButtonGroupItemCommonProps, ComponentProps<'button'> {
27
- as: 'button';
28
+ as?: 'button';
28
29
  }
29
30
  interface ButtonGroupItemAnchorProps extends ButtonGroupItemCommonProps, ComponentProps<'a'> {
30
31
  as: 'a';
@@ -33,7 +34,7 @@ interface ButtonGroupItemAnchorProps extends ButtonGroupItemCommonProps, Compone
33
34
  type ButtonGroupItemProps = ButtonGroupItemButtonProps | ButtonGroupItemAnchorProps;
34
35
  interface ButtonGroupProps {
35
36
  className?: string;
36
- size?: ButtonSize;
37
+ size?: ButtonGroupSize;
37
38
  children: React.ReactNode;
38
39
  hasBorder?: boolean;
39
40
  onlyIcon?: boolean;
@@ -1,4 +1,3 @@
1
1
  export * from './DatePicker';
2
2
  export * from './RangeDatePicker';
3
- export * from './utils';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,11 @@
1
+ import { ReactNode } from 'react';
2
+ export type DividerType = 'text' | 'heading' | 'button' | 'button-group' | 'button-icon' | 'button-group-icon';
3
+ export type DividerStyle = 'single-line' | 'background-fill';
4
+ export interface DividerProps {
5
+ className?: string;
6
+ type: DividerType;
7
+ style?: DividerStyle;
8
+ children: ReactNode;
9
+ }
10
+ export declare const Divider: import("react").ForwardRefExoticComponent<DividerProps & import("react").RefAttributes<HTMLDivElement>>;
11
+ //# sourceMappingURL=Divider.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './Divider';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { ButtonProps } from '../button/Button';
2
+ export interface ButtonOptions extends Pick<ButtonProps, 'hierarchy' | 'size' | 'leadingIcon' | 'trailingIcon'> {
3
+ label: string;
4
+ onClick?: () => void;
5
+ disabled?: boolean;
6
+ }
7
+ interface EmptyStateProps {
8
+ title: string;
9
+ description: string;
10
+ buttons?: ButtonOptions | ButtonOptions[];
11
+ }
12
+ export declare const EmptyState: ({ title, description, buttons }: EmptyStateProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=EmptyState.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './EmptyState';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { IconName } from '@ncds/ui-admin-icon';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+ export type FeaturedIconTheme = 'light-circle' | 'dark-circle' | 'outline-circle' | 'square-outline';
4
+ export type FeaturedIconColor = 'neutral' | 'error' | 'warning' | 'success';
5
+ export type FeaturedIconSize = 'sm' | 'md' | 'lg' | 'xl';
6
+ export interface FeaturedIconProps extends Omit<ComponentPropsWithoutRef<'div'>, 'color'> {
7
+ name: IconName;
8
+ theme?: FeaturedIconTheme;
9
+ color?: FeaturedIconColor;
10
+ size?: FeaturedIconSize;
11
+ className?: string;
12
+ }
13
+ export declare const FeaturedIcon: import("react").ForwardRefExoticComponent<FeaturedIconProps & import("react").RefAttributes<HTMLDivElement>>;
14
+ //# sourceMappingURL=FeaturedIcon.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './FeaturedIcon';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -4,13 +4,20 @@ export * from './button';
4
4
  export * from './carousel';
5
5
  export * from './checkbox';
6
6
  export * from './date-picker';
7
- export * from './dropdown';
7
+ export * from './featured-icon';
8
+ export * from './divider';
9
+ export * from './empty-state';
8
10
  export * from './input';
11
+ export * from './modal';
12
+ export * from './notification';
9
13
  export * from './pagination';
14
+ export * from './progress-bar';
15
+ export * from './progress-circle';
10
16
  export * from './radio';
11
17
  export * from './select';
12
18
  export * from './shared';
13
19
  export * from './spinner';
20
+ export * from './tab';
14
21
  export * from './tag';
15
22
  export * from './toggle';
16
23
  export * from './tooltip';
@@ -14,6 +14,7 @@ interface InputSideTextSlot {
14
14
  interface InputSideIconSlot {
15
15
  type: 'icon';
16
16
  icon: IconName;
17
+ size?: number | string;
17
18
  color?: keyof typeof COLOR;
18
19
  className?: string;
19
20
  }
@@ -34,6 +35,7 @@ interface InputBaseCommonProps extends Omit<React.InputHTMLAttributes<HTMLInputE
34
35
  destructive?: boolean;
35
36
  leadingElement?: InputLeadingSlotType;
36
37
  trailingElement?: InputTrailingSlotType;
38
+ showHelpIcon?: boolean;
37
39
  }
38
40
  interface NoneClearableInputBaseProps extends InputBaseCommonProps {
39
41
  clearText?: never;
@@ -0,0 +1,75 @@
1
+ import { ReactNode } from 'react';
2
+ import { FeaturedIconColor, FeaturedIconTheme } from '../featured-icon';
3
+ import { IconName } from '@ncds/ui-admin-icon';
4
+ export type ModalSize = 'sm' | 'md' | 'lg' | 'xl';
5
+ export type ModalHeaderAlign = 'left' | 'center' | 'horizontal';
6
+ export type ModalAlign = 'center' | 'right' | 'stretch';
7
+ export type ModalActionsLayout = 'vertical' | 'horizontal' | 'checkbox';
8
+ export type ModalProps = {
9
+ isOpen: boolean;
10
+ onClose: () => void;
11
+ size?: ModalSize;
12
+ children: ReactNode;
13
+ closeOnBackdropClick?: boolean;
14
+ closeOnEsc?: boolean;
15
+ className?: string;
16
+ };
17
+ export declare const Modal: {
18
+ ({ isOpen, onClose, children, size, closeOnBackdropClick, closeOnEsc, className, ...restProps }: ModalProps): import("react").ReactPortal | null;
19
+ Header({ children, onClose, featuredIcon, title, subtitle, align, showDivider, hideCloseButton, }: ModalHeaderProps): import("react/jsx-runtime").JSX.Element;
20
+ Content({ children }: ModalContentProps): import("react/jsx-runtime").JSX.Element;
21
+ /**
22
+ * Modal.Actions - The actions area of the modal
23
+ *
24
+ * Examples:
25
+ *
26
+ * 1. Vertical layout (buttons stacked):
27
+ * <Modal.Actions layout="vertical" align="stretch">
28
+ * <Button label="Confirm" onClick={handleConfirm} hierarchy="primary" />
29
+ * <Button label="Cancel" onClick={handleCancel} hierarchy="secondary-gray" />
30
+ * </Modal.Actions>
31
+ *
32
+ * 2. Horizontal layout (buttons side by side):
33
+ * <Modal.Actions layout="horizontal" align="stretch">
34
+ * <Button label="Confirm" onClick={handleConfirm} hierarchy="primary" />
35
+ * <Button label="Cancel" onClick={handleCancel} hierarchy="secondary-gray" />
36
+ * </Modal.Actions>
37
+ *
38
+ * 3. Checkbox layout (checkbox on left, buttons on right):
39
+ * <Modal.Actions layout="checkbox" align="stretch" checkboxContent={
40
+ * <>
41
+ * <Checkbox text="Never show again" />
42
+ * <a href="#">Settings</a>
43
+ * </>
44
+ * }>
45
+ * <Button label="Cancel" onClick={handleCancel} hierarchy="secondary-gray" />
46
+ * <Button label="Confirm" onClick={handleConfirm} hierarchy="primary" />
47
+ * </Modal.Actions>
48
+ */
49
+ Actions({ children, layout, showDivider, align, checkboxContent, }: ModalActionsProps): import("react/jsx-runtime").JSX.Element;
50
+ };
51
+ export type ModalHeaderProps = {
52
+ children?: ReactNode;
53
+ onClose: () => void;
54
+ featuredIcon?: {
55
+ name: IconName;
56
+ color: FeaturedIconColor;
57
+ theme: FeaturedIconTheme;
58
+ };
59
+ align?: ModalHeaderAlign;
60
+ title?: string;
61
+ subtitle?: string;
62
+ showDivider?: boolean;
63
+ hideCloseButton?: boolean;
64
+ };
65
+ export type ModalContentProps = {
66
+ children: ReactNode;
67
+ };
68
+ export type ModalActionsProps = {
69
+ children: ReactNode;
70
+ layout?: ModalActionsLayout;
71
+ showDivider?: boolean;
72
+ align?: 'left' | 'center' | 'right' | 'stretch';
73
+ checkboxContent?: ReactNode;
74
+ };
75
+ //# sourceMappingURL=Modal.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { Modal } from './Modal';
2
+ export type { ModalProps, ModalSize } from './Modal';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,32 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ export type FloatingNotificationVariant = 'neutral' | 'error' | 'warning' | 'success';
3
+ export type FloatingNotificationSize = 'desktop' | 'mobile';
4
+ export interface FloatingNotificationProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
5
+ /**
6
+ * 알림 제목 텍스트
7
+ */
8
+ title: ReactNode;
9
+ /**
10
+ * 알림 본문 텍스트 (선택사항)
11
+ */
12
+ supportingText?: ReactNode;
13
+ /**
14
+ * 알림 색상 스타일
15
+ * @default 'neutral'
16
+ */
17
+ variant?: FloatingNotificationVariant;
18
+ /**
19
+ * 닫기 버튼 클릭 이벤트 핸들러
20
+ */
21
+ onClose?: () => void;
22
+ /**
23
+ * 추가 CSS 클래스
24
+ */
25
+ className?: string;
26
+ /**
27
+ * 버튼 영역 (선택사항)
28
+ */
29
+ actions?: ReactNode;
30
+ }
31
+ export declare const FloatingNotification: import("react").ForwardRefExoticComponent<FloatingNotificationProps & import("react").RefAttributes<HTMLDivElement>>;
32
+ //# sourceMappingURL=FloatingNotification.d.ts.map
@@ -0,0 +1,32 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ export type FullWidthNotificationVariant = 'neutral' | 'error' | 'warning' | 'success';
3
+ export type FullWidthNotificationSize = 'desktop' | 'mobile';
4
+ export interface FullWidthNotificationProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
5
+ /**
6
+ * 알림 제목 텍스트
7
+ */
8
+ title: ReactNode;
9
+ /**
10
+ * 알림 본문 텍스트 (선택사항)
11
+ */
12
+ supportingText?: ReactNode;
13
+ /**
14
+ * 알림 색상 스타일
15
+ * @default 'neutral'
16
+ */
17
+ variant?: FullWidthNotificationVariant;
18
+ /**
19
+ * 닫기 버튼 클릭 이벤트 핸들러
20
+ */
21
+ onClose?: () => void;
22
+ /**
23
+ * 추가 CSS 클래스
24
+ */
25
+ className?: string;
26
+ /**
27
+ * 버튼 영역 (선택사항)
28
+ */
29
+ actions?: ReactNode;
30
+ }
31
+ export declare const FullWidthNotification: import("react").ForwardRefExoticComponent<FullWidthNotificationProps & import("react").RefAttributes<HTMLDivElement>>;
32
+ //# sourceMappingURL=FullWidthNotification.d.ts.map
@@ -0,0 +1,59 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ import { IconName } from '@ncds/ui-admin-icon';
3
+ import { ButtonTheme } from '../button';
4
+ export type NotificationType = 'floating' | 'full-width';
5
+ export type NotificationVariant = 'neutral' | 'error' | 'warning' | 'success';
6
+ export type NotificationSize = 'desktop' | 'mobile';
7
+ export interface NotificationAction {
8
+ /**
9
+ * 액션 버튼 텍스트
10
+ */
11
+ label: string;
12
+ /**
13
+ * 액션 버튼 클릭 이벤트 핸들러
14
+ */
15
+ onClick?: () => void;
16
+ /**
17
+ * 액션 버튼 색상 (3가지만 지원)
18
+ */
19
+ hierarchy?: Extract<ButtonTheme, 'secondary-gray' | 'link-gray' | 'link'>;
20
+ }
21
+ export interface NotificationProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
22
+ /**
23
+ * 알림 유형 (floating: 측면에 표시되는 알림, full-width: 전체 너비 알림)
24
+ * @default 'floating'
25
+ */
26
+ type?: NotificationType;
27
+ /**
28
+ * 알림 제목 텍스트
29
+ */
30
+ title: ReactNode;
31
+ /**
32
+ * 알림 본문 텍스트 (선택사항)
33
+ */
34
+ supportingText?: ReactNode;
35
+ /**
36
+ * 알림 아이콘 이름 (지정하지 않으면 variant에 따라 기본 아이콘 사용)
37
+ */
38
+ icon?: IconName;
39
+ /**
40
+ * 알림 색상 스타일
41
+ * @default 'neutral'
42
+ */
43
+ variant?: NotificationVariant;
44
+ /**
45
+ * 닫기 버튼 클릭 이벤트 핸들러
46
+ */
47
+ onClose?: () => void;
48
+ /**
49
+ * 추가 CSS 클래스
50
+ */
51
+ className?: string;
52
+ /**
53
+ * 액션 버튼 영역 (선택사항)
54
+ * NotificationAction[]
55
+ */
56
+ actions?: NotificationAction[];
57
+ }
58
+ export declare const Notification: import("react").ForwardRefExoticComponent<NotificationProps & import("react").RefAttributes<HTMLDivElement>>;
59
+ //# sourceMappingURL=Notification.d.ts.map
@@ -0,0 +1,4 @@
1
+ export * from './Notification';
2
+ export * from './FloatingNotification';
3
+ export * from './FullWidthNotification';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -20,10 +20,10 @@ declare const NAV_BUTTON_CONFIG: {
20
20
  readonly getIcon: (isPC: boolean) => string;
21
21
  };
22
22
  };
23
- export declare const NavButton: ({ type, as, isPC, noPrev, noNext, href, target, onClick, }: {
23
+ export declare const NavButton: ({ type, as, breakPoint, noPrev, noNext, href, target, onClick, }: {
24
24
  type: keyof typeof NAV_BUTTON_CONFIG;
25
25
  as: 'button' | 'a';
26
- isPC: boolean;
26
+ breakPoint: 'pc' | 'mo';
27
27
  noPrev: boolean;
28
28
  noNext: boolean;
29
29
  href: string;
@@ -0,0 +1,7 @@
1
+ export type ProgressLabel = 'right' | 'bottom' | 'top-float' | 'bottom-float';
2
+ export interface ProgressBarProps {
3
+ label?: ProgressLabel;
4
+ value: number;
5
+ }
6
+ export declare const ProgressBar: ({ label, value }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=ProgressBar.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './ProgressBar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,8 @@
1
+ export interface ProgressCircleProps {
2
+ size: 'xxs' | 'xs' | 'sm' | 'md' | 'lg';
3
+ label?: string;
4
+ value: number;
5
+ theme?: 'circle' | 'half-circle';
6
+ }
7
+ export declare const ProgressCircle: ({ size, label, value, theme }: ProgressCircleProps) => import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=ProgressCircle.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './ProgressCircle';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,15 @@
1
+ import { SliderOptions } from '../../../assets/scripts/slider';
2
+ export type SliderLabelPosition = SliderOptions['labelPosition'];
3
+ export interface SliderProps {
4
+ min?: number;
5
+ max?: number;
6
+ step?: number;
7
+ value?: number | [number, number];
8
+ onChange?: (value: number | [number, number]) => void;
9
+ labelPosition?: SliderLabelPosition;
10
+ disabled?: boolean;
11
+ className?: string;
12
+ }
13
+ export declare const Slider: ({ min, max, step, value, onChange, labelPosition, disabled, className, }: SliderProps) => import("react/jsx-runtime").JSX.Element;
14
+ export default Slider;
15
+ //# sourceMappingURL=Slider.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './Slider';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,12 @@
1
+ import 'swiper/css';
2
+ import { TabButtonProps, TabType } from './TabButton';
3
+ export type HorizontalTabProps = {
4
+ type?: TabType;
5
+ size?: 'xs' | 'sm' | 'md';
6
+ activeTab?: string;
7
+ fullWidth?: boolean;
8
+ menus?: Array<TabButtonProps>;
9
+ onClick?: (id: string) => void;
10
+ };
11
+ export declare const HorizontalTab: ({ type, size, activeTab, onClick, fullWidth, menus, }: HorizontalTabProps) => import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=HorizontalTab.d.ts.map
@@ -0,0 +1,26 @@
1
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactNode } from 'react';
2
+ import { BadgeProps } from '../badge/Badge';
3
+ export type TabSize = 'xs' | 'sm' | 'md';
4
+ export type TabType = 'button-primary' | 'button-white' | 'underline' | 'underline-fill' | 'line-vertical';
5
+ interface CommonProps {
6
+ id?: string;
7
+ label: string;
8
+ size?: TabSize;
9
+ tabButtonType?: TabType;
10
+ isActive?: boolean;
11
+ badgeInfo?: BadgeProps;
12
+ className?: string;
13
+ children?: ReactNode;
14
+ onClick?: () => void;
15
+ }
16
+ export type TabButtonAsButtonProps = CommonProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;
17
+ export type TabButtonAsLinkProps = CommonProps & {
18
+ href: string;
19
+ target?: '_self' | '_blank';
20
+ } & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'target' | 'onClick'>;
21
+ export type TabButtonProps = (TabButtonAsButtonProps & {
22
+ href?: never;
23
+ }) | TabButtonAsLinkProps;
24
+ export declare const TabButton: ({ label, size, tabButtonType, type, isActive, badgeInfo, className, children, ...props }: TabButtonProps) => import("react/jsx-runtime").JSX.Element;
25
+ export {};
26
+ //# sourceMappingURL=TabButton.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { TabButtonProps } from './TabButton';
2
+ export type VerticalTabProps = {
3
+ type?: 'button-primary' | 'button-white' | 'line-vertical';
4
+ breakPoint?: 'mobile' | 'pc';
5
+ activeTab?: string;
6
+ menus?: Array<TabButtonProps>;
7
+ onClick?: (id: string) => void;
8
+ };
9
+ export declare const VerticalTab: ({ type, breakPoint, activeTab, menus, onClick, }: VerticalTabProps) => import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=VerticalTab.d.ts.map
@@ -0,0 +1,4 @@
1
+ export * from './HorizontalTab';
2
+ export * from './TabButton';
3
+ export * from './VerticalTab';
4
+ //# sourceMappingURL=index.d.ts.map