@weing-dev/ui-kit-primitive 0.0.7 → 0.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 (40) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +5 -5
  2. package/dist/components/Avatar/Avatar.d.ts +4 -4
  3. package/dist/components/Badge/Badge.d.ts +2 -2
  4. package/dist/components/Breadcrumb/Breadcrumb.d.ts +6 -6
  5. package/dist/components/Button/Button.colors.d.ts +29 -29
  6. package/dist/components/Button/Button.d.ts +6 -6
  7. package/dist/components/Calendar/Calendar.context.d.ts +1 -2
  8. package/dist/components/Calendar/Calendar.d.ts +8 -8
  9. package/dist/components/Cascader/Cascader.d.ts +6 -8
  10. package/dist/components/Chips/Chips.colors.d.ts +11 -11
  11. package/dist/components/Chips/Chips.d.ts +2 -2
  12. package/dist/components/Comment/Comment.d.ts +2 -2
  13. package/dist/components/Form/CheckBox/CheckBox.d.ts +7 -6
  14. package/dist/components/Form/CheckBox/Checkbox.colors.d.ts +2 -2
  15. package/dist/components/Form/Dropdown/Dropdown.d.ts +4 -4
  16. package/dist/components/Form/OTPInput/OTPInput.d.ts +2 -2
  17. package/dist/components/Form/Radio/Radio.colors.d.ts +2 -2
  18. package/dist/components/Form/Radio/Radio.d.ts +6 -6
  19. package/dist/components/Form/Switch/Switch.colors.d.ts +2 -2
  20. package/dist/components/Form/Switch/Switch.d.ts +5 -5
  21. package/dist/components/Form/TextArea/TextArea.d.ts +8 -8
  22. package/dist/components/Form/TextInput/TextInput.d.ts +8 -7
  23. package/dist/components/HelperText/HelperText.d.ts +3 -5
  24. package/dist/components/LNB/LNB.d.ts +4 -4
  25. package/dist/components/Label/Label.colors.d.ts +44 -44
  26. package/dist/components/Label/Label.d.ts +2 -2
  27. package/dist/components/List/List.d.ts +2 -2
  28. package/dist/components/Pagination/Pagination.colors.d.ts +1 -1
  29. package/dist/components/Pagination/Pagination.d.ts +7 -7
  30. package/dist/components/ScrollCalendar/ScrollCalendar.context.d.ts +1 -2
  31. package/dist/components/Tab/Tab.d.ts +7 -7
  32. package/dist/components/Table/Table.d.ts +8 -8
  33. package/dist/components/TimeInput/TimeInput.d.ts +8 -8
  34. package/dist/components/WeeklyCalendar/WeeklyCalendar.d.ts +2 -2
  35. package/dist/index.css +2 -2
  36. package/dist/index.d.ts +5 -2
  37. package/dist/index.js +6282 -6299
  38. package/dist/index.umd.cjs +14 -23
  39. package/package.json +1 -1
  40. package/dist/components/GlobalStyle/GlobalStyle.d.ts +0 -2
@@ -3,7 +3,7 @@ import { AccordionsRootProviderProps } from './Accordion.context';
3
3
  type ItemProps = React.PropsWithChildren<{
4
4
  className?: string;
5
5
  }>;
6
- declare const Item: (props: ItemProps) => import("react/jsx-runtime").JSX.Element;
6
+ declare const Item: React.MemoExoticComponent<(props: ItemProps) => import("react/jsx-runtime").JSX.Element>;
7
7
  type AsProps = {
8
8
  id?: string;
9
9
  open?: boolean;
@@ -13,12 +13,12 @@ type TriggerProps = React.PropsWithChildren<{
13
13
  as?: (props: AsProps) => React.ReactNode;
14
14
  className?: string;
15
15
  }>;
16
- declare const Trigger: (props: TriggerProps) => import("react/jsx-runtime").JSX.Element;
17
- declare const Root: (props: Omit<AccordionsRootProviderProps, "#triggerRef" | "#firstClick">) => import("react/jsx-runtime").JSX.Element;
16
+ declare const Trigger: React.MemoExoticComponent<(props: TriggerProps) => import("react/jsx-runtime").JSX.Element>;
17
+ declare const Root: React.MemoExoticComponent<(props: Omit<AccordionsRootProviderProps, "#triggerRef" | "#firstClick">) => import("react/jsx-runtime").JSX.Element>;
18
18
  interface IAccordion {
19
19
  Root: typeof Root;
20
20
  Trigger: typeof Trigger;
21
21
  Item: typeof Item;
22
22
  }
23
- declare const _default: IAccordion;
24
- export default _default;
23
+ declare const Accordion: IAccordion;
24
+ export default Accordion;
@@ -7,7 +7,7 @@ type GroupProps = React.PropsWithChildren<{
7
7
  itemSize?: number;
8
8
  restCounterProps?: React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
9
9
  }>;
10
- declare const Group: (props: GroupProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const Group: React.MemoExoticComponent<(props: GroupProps) => import("react/jsx-runtime").JSX.Element>;
11
11
  type AsProps = {
12
12
  isError: boolean;
13
13
  nameAbbreviation: boolean;
@@ -26,10 +26,10 @@ type ItemProps = {
26
26
  size?: number;
27
27
  as?: (props: AsProps) => React.ReactNode;
28
28
  } & React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
29
- declare const Item: (props: ItemProps) => import("react/jsx-runtime").JSX.Element;
29
+ declare const Item: React.MemoExoticComponent<(props: ItemProps) => import("react/jsx-runtime").JSX.Element>;
30
30
  interface IAvatar {
31
31
  Item: typeof Item;
32
32
  Group: typeof Group;
33
33
  }
34
- declare const _default: IAvatar;
35
- export default _default;
34
+ declare const Avatar: IAvatar;
35
+ export default Avatar;
@@ -13,5 +13,5 @@ export type BadgeRootProps = React.PropsWithChildren<{
13
13
  overlap?: "square" | "circle" | null;
14
14
  as?: (props: BadgeRenderProps) => React.ReactNode;
15
15
  } & BadgeProps & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
16
- declare const Badge: (props: BadgeRootProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
17
- export default Badge;
16
+ declare const _default: React.MemoExoticComponent<(props: BadgeRootProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined>;
17
+ export default _default;
@@ -3,11 +3,11 @@ type EllipsisProps = {
3
3
  className?: string;
4
4
  onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
5
5
  };
6
- declare const Ellipsis: (props: EllipsisProps) => import("react/jsx-runtime").JSX.Element;
6
+ declare const Ellipsis: React.MemoExoticComponent<(props: EllipsisProps) => import("react/jsx-runtime").JSX.Element>;
7
7
  type SeparatorProps = {
8
8
  className?: string;
9
9
  };
10
- declare const Separator: (props: SeparatorProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const Separator: React.MemoExoticComponent<(props: SeparatorProps) => import("react/jsx-runtime").JSX.Element>;
11
11
  type AsProps = {
12
12
  className?: string;
13
13
  href?: string;
@@ -17,17 +17,17 @@ type AsProps = {
17
17
  type LinkProps = React.PropsWithChildren<{
18
18
  as?: (props: AsProps) => React.ReactNode;
19
19
  } & AsProps>;
20
- declare const Link: (props: LinkProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
20
+ declare const Link: React.MemoExoticComponent<(props: LinkProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined>;
21
21
  type ListProps = React.PropsWithChildren<{
22
22
  className?: string;
23
23
  separator?: React.ReactElement;
24
24
  }>;
25
- declare const List: (props: ListProps) => import("react/jsx-runtime").JSX.Element;
25
+ declare const List: React.MemoExoticComponent<(props: ListProps) => import("react/jsx-runtime").JSX.Element>;
26
26
  interface IBreadcrumb {
27
27
  List: typeof List;
28
28
  Link: typeof Link;
29
29
  Separator: typeof Separator;
30
30
  Ellipsis: typeof Ellipsis;
31
31
  }
32
- declare const _default: IBreadcrumb;
33
- export default _default;
32
+ declare const Breadcrumb: IBreadcrumb;
33
+ export default Breadcrumb;
@@ -1,23 +1,23 @@
1
1
  declare const useButtonColors: (shapeType?: "square" | "round") => {
2
2
  primary: {
3
3
  contained: {
4
- backgroundColor: "#00a76f";
5
- color: "#ffffff";
4
+ backgroundColor: string;
5
+ color: string;
6
6
  borderColor: string;
7
7
  hover: {
8
- backgroundColor: "#007867";
9
- color: "#ffffff";
8
+ backgroundColor: string;
9
+ color: string;
10
10
  borderColor: string;
11
11
  };
12
12
  };
13
13
  outlined: {
14
14
  backgroundColor: string;
15
- color: "#00a76f";
15
+ color: string;
16
16
  borderColor: string;
17
17
  hover: {
18
18
  backgroundColor: string;
19
- color: "#00a76f";
20
- borderColor: "#00a76f";
19
+ color: string;
20
+ borderColor: string;
21
21
  };
22
22
  };
23
23
  soft: {
@@ -32,7 +32,7 @@ declare const useButtonColors: (shapeType?: "square" | "round") => {
32
32
  };
33
33
  text: {
34
34
  backgroundColor: string;
35
- color: "#00a76f";
35
+ color: string;
36
36
  borderColor: string;
37
37
  hover: {
38
38
  backgroundColor: string;
@@ -42,22 +42,22 @@ declare const useButtonColors: (shapeType?: "square" | "round") => {
42
42
  };
43
43
  } | {
44
44
  contained: {
45
- backgroundColor: "#00a76f";
46
- color: "#ffffff";
45
+ backgroundColor: string;
46
+ color: string;
47
47
  borderColor: string;
48
48
  hover: {
49
- backgroundColor: "#007867";
50
- color: "#ffffff";
49
+ backgroundColor: string;
50
+ color: string;
51
51
  borderColor: string;
52
52
  };
53
53
  };
54
54
  outlined: {
55
55
  backgroundColor: string;
56
- color: "#00a76f";
56
+ color: string;
57
57
  borderColor: string;
58
58
  hover: {
59
59
  backgroundColor: string;
60
- color: "#00a76f";
60
+ color: string;
61
61
  borderColor: string;
62
62
  };
63
63
  };
@@ -73,7 +73,7 @@ declare const useButtonColors: (shapeType?: "square" | "round") => {
73
73
  };
74
74
  text: {
75
75
  backgroundColor: string;
76
- color: "#00a76f";
76
+ color: string;
77
77
  borderColor: string;
78
78
  hover: {
79
79
  backgroundColor: string;
@@ -210,23 +210,23 @@ declare const useButtonColors: (shapeType?: "square" | "round") => {
210
210
  };
211
211
  red: {
212
212
  contained: {
213
- backgroundColor: "#f5222d";
214
- color: "#ffffff";
213
+ backgroundColor: string;
214
+ color: string;
215
215
  borderColor: string;
216
216
  hover: {
217
- backgroundColor: "#b71d18";
217
+ backgroundColor: string;
218
218
  color: string;
219
219
  borderColor: string;
220
220
  };
221
221
  };
222
222
  outlined: {
223
223
  backgroundColor: string;
224
- color: "#f5222d";
224
+ color: string;
225
225
  borderColor: string;
226
226
  hover: {
227
227
  backgroundColor: string;
228
- color: "#f5222d";
229
- borderColor: "#f5222d";
228
+ color: string;
229
+ borderColor: string;
230
230
  };
231
231
  };
232
232
  soft: {
@@ -241,32 +241,32 @@ declare const useButtonColors: (shapeType?: "square" | "round") => {
241
241
  };
242
242
  text: {
243
243
  backgroundColor: string;
244
- color: "#f5222d";
244
+ color: string;
245
245
  borderColor: string;
246
246
  hover: {
247
247
  backgroundColor: string;
248
- color: "#b71d18";
248
+ color: string;
249
249
  borderColor: string;
250
250
  };
251
251
  };
252
252
  } | {
253
253
  contained: {
254
- backgroundColor: "#f5222d";
254
+ backgroundColor: string;
255
255
  color: "#ffffff";
256
256
  borderColor: string;
257
257
  hover: {
258
- backgroundColor: "#b71d18";
258
+ backgroundColor: string;
259
259
  color: string;
260
260
  borderColor: string;
261
261
  };
262
262
  };
263
263
  outlined: {
264
264
  backgroundColor: string;
265
- color: "#f5222d";
265
+ color: string;
266
266
  borderColor: string;
267
267
  hover: {
268
268
  backgroundColor: string;
269
- color: "#f5222d";
269
+ color: string;
270
270
  borderColor: string;
271
271
  };
272
272
  };
@@ -282,11 +282,11 @@ declare const useButtonColors: (shapeType?: "square" | "round") => {
282
282
  };
283
283
  text: {
284
284
  backgroundColor: string;
285
- color: "#f5222d";
285
+ color: string;
286
286
  borderColor: string;
287
287
  hover: {
288
288
  backgroundColor: string;
289
- color: "#b71d18";
289
+ color: string;
290
290
  borderColor: string;
291
291
  };
292
292
  };
@@ -4,21 +4,21 @@ import { ButtonProviderProps } from './Button.context';
4
4
  type TextProps = React.PropsWithChildren<{
5
5
  className?: string;
6
6
  }>;
7
- declare const Text: (props: TextProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const Text: React.MemoExoticComponent<(props: TextProps) => import("react/jsx-runtime").JSX.Element>;
8
8
  type IconProps = React.PropsWithChildren<React.ComponentProps<typeof IconComponent>> & {
9
9
  className?: string;
10
10
  };
11
- declare const Icon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const Icon: React.MemoExoticComponent<(props: IconProps) => import("react/jsx-runtime").JSX.Element>;
12
12
  /** 버튼 컴포넌트 */
13
- declare const Root: (props: ButtonProviderProps & {
13
+ declare const Root: React.MemoExoticComponent<(props: ButtonProviderProps & {
14
14
  radius?: number;
15
15
  rounded?: boolean;
16
16
  circle?: boolean;
17
- } & React.JSX.IntrinsicElements["button"]) => import("react/jsx-runtime").JSX.Element;
17
+ } & React.JSX.IntrinsicElements["button"]) => import("react/jsx-runtime").JSX.Element>;
18
18
  interface IButton {
19
19
  Text: typeof Text;
20
20
  Icon: typeof Icon;
21
21
  Root: typeof Root;
22
22
  }
23
- declare const _default: IButton;
24
- export default _default;
23
+ declare const Button: IButton;
24
+ export default Button;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { LangType } from './dayjs.util';
3
- type CalendarContextType = {
3
+ export type CalendarContextType = {
4
4
  addWeek: (val?: number) => void;
5
5
  subtractWeek: (val?: number) => void;
6
6
  addMonth: (val?: number) => void;
@@ -53,4 +53,3 @@ export type CalendarProviderProps = React.PropsWithChildren<{
53
53
  maxDate?: string;
54
54
  }>;
55
55
  export declare const CalendarProvider: (props: CalendarProviderProps) => import("react/jsx-runtime").JSX.Element;
56
- export {};
@@ -28,7 +28,7 @@ type CalendarBodyProps = {
28
28
  columnClassName?: string;
29
29
  columnAs?: (props: ColumnAsProps) => React.ReactNode;
30
30
  };
31
- declare const Body: (props: CalendarBodyProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
31
+ declare const Body: React.MemoExoticComponent<(props: CalendarBodyProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined>;
32
32
  type AsDirectionProps = {
33
33
  disabled?: boolean;
34
34
  };
@@ -38,8 +38,8 @@ type DirectionButtonProps = {
38
38
  disabled?: boolean;
39
39
  moveValue?: number;
40
40
  };
41
- declare const Next: (props: DirectionButtonProps) => import("react/jsx-runtime").JSX.Element;
42
- declare const Prev: (props: DirectionButtonProps) => import("react/jsx-runtime").JSX.Element;
41
+ declare const Next: React.MemoExoticComponent<(props: DirectionButtonProps) => import("react/jsx-runtime").JSX.Element>;
42
+ declare const Prev: React.MemoExoticComponent<(props: DirectionButtonProps) => import("react/jsx-runtime").JSX.Element>;
43
43
  type AsDayTextProps = {
44
44
  columns: (string | undefined)[];
45
45
  };
@@ -49,17 +49,17 @@ type DayTextListProps = React.PropsWithChildren<{
49
49
  column?: React.ReactElement;
50
50
  className?: string;
51
51
  }>;
52
- declare const DayTextList: (props: DayTextListProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
52
+ declare const DayTextList: React.MemoExoticComponent<(props: DayTextListProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined>;
53
53
  type HeaderDateProps = {
54
54
  className?: string;
55
55
  format?: string;
56
56
  };
57
- declare const HeaderDate: (props: HeaderDateProps) => import("react/jsx-runtime").JSX.Element;
57
+ declare const HeaderDate: React.MemoExoticComponent<(props: HeaderDateProps) => import("react/jsx-runtime").JSX.Element>;
58
58
  type RootProps = CalendarProviderProps & {
59
59
  currentDate?: string;
60
60
  className?: string;
61
61
  };
62
- declare const Root: (props: RootProps) => import("react/jsx-runtime").JSX.Element;
62
+ declare const Root: React.MemoExoticComponent<(props: RootProps) => import("react/jsx-runtime").JSX.Element>;
63
63
  interface ICalendar {
64
64
  Root: typeof Root;
65
65
  HeaderDate: typeof HeaderDate;
@@ -68,5 +68,5 @@ interface ICalendar {
68
68
  Next: typeof Next;
69
69
  Body: typeof Body;
70
70
  }
71
- declare const _default: ICalendar;
72
- export default _default;
71
+ declare const Calendar: ICalendar;
72
+ export default Calendar;
@@ -17,7 +17,7 @@ type ItemProps = React.PropsWithChildren<{
17
17
  level: number;
18
18
  as?: (props: ItemAsProps) => React.ReactNode;
19
19
  } & React.ComponentProps<"div">>;
20
- declare const Item: (props: ItemProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
20
+ declare const Item: React.MemoExoticComponent<(props: ItemProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined>;
21
21
  type ColumnAsProps = {
22
22
  defaultClassName: string;
23
23
  maxColumnView?: number;
@@ -30,25 +30,23 @@ type ColumnProps = React.PropsWithChildren<{
30
30
  index: number;
31
31
  as?: (props: ColumnAsProps) => React.ReactNode;
32
32
  } & React.ComponentProps<"div">>;
33
- declare const Column: (props: React.PropsWithoutRef<ColumnProps>) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
33
+ declare const Column: React.MemoExoticComponent<(props: React.PropsWithoutRef<ColumnProps>) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined>;
34
34
  type MenuAsProps = {
35
35
  defaultClassName: string;
36
36
  };
37
37
  type MenuProps = React.PropsWithChildren<{
38
38
  as?: (props: MenuAsProps) => React.ReactNode;
39
39
  } & React.ComponentProps<"div">>;
40
- declare const Menu: (props: React.PropsWithoutRef<MenuProps>) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
40
+ declare const Menu: React.MemoExoticComponent<(props: React.PropsWithoutRef<MenuProps>) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined>;
41
41
  type RootProps = Omit<CascaderProviderProps, "selectedOptionTop" | "setSelectedOptionTop"> & Omit<React.ComponentProps<"div">, "onSelect">;
42
- declare const Root: (props: React.PropsWithoutRef<RootProps>) => import("react/jsx-runtime").JSX.Element;
42
+ declare const Root: React.MemoExoticComponent<(props: React.PropsWithoutRef<RootProps>) => import("react/jsx-runtime").JSX.Element>;
43
43
  interface ICascader {
44
44
  Root: typeof Root;
45
45
  Menu: typeof Menu;
46
46
  Column: typeof Column;
47
47
  Item: typeof Item;
48
48
  useCascader: typeof useCascader;
49
- OnSelectProps: OnSelectProps;
50
- CascaderOption: CascaderOption;
51
49
  }
52
50
  export type { OnSelectProps, CascaderOption };
53
- declare const _default: ICascader;
54
- export default _default;
51
+ declare const Cascader: ICascader;
52
+ export default Cascader;
@@ -1,23 +1,23 @@
1
1
  declare const useChipsColors: () => {
2
2
  primary: {
3
3
  contained: {
4
- backgroundColor: "#00a76f";
5
- color: "#ffffff";
4
+ backgroundColor: string;
5
+ color: string;
6
6
  borderColor: string;
7
7
  hover: {
8
- backgroundColor: "#007867";
9
- color: "#ffffff";
8
+ backgroundColor: string;
9
+ color: string;
10
10
  borderColor: string;
11
11
  };
12
12
  };
13
13
  outlined: {
14
14
  backgroundColor: string;
15
- color: "#00a76f";
15
+ color: string;
16
16
  borderColor: string;
17
17
  hover: {
18
18
  backgroundColor: string;
19
- color: "#00a76f";
20
- borderColor: "#00a76f";
19
+ color: string;
20
+ borderColor: string;
21
21
  };
22
22
  };
23
23
  soft: {
@@ -32,7 +32,7 @@ declare const useChipsColors: () => {
32
32
  };
33
33
  text: {
34
34
  backgroundColor: string;
35
- color: "#00a76f";
35
+ color: string;
36
36
  borderColor: string;
37
37
  hover: {
38
38
  backgroundColor: string;
@@ -131,7 +131,7 @@ declare const useChipsColors: () => {
131
131
  color: string;
132
132
  borderColor: string;
133
133
  hover: {
134
- backgroundColor: "#00a76f";
134
+ backgroundColor: string;
135
135
  color: string;
136
136
  borderColor: string;
137
137
  };
@@ -142,8 +142,8 @@ declare const useChipsColors: () => {
142
142
  borderColor: string;
143
143
  hover: {
144
144
  backgroundColor: string;
145
- color: "#00a76f";
146
- borderColor: "#00a76f";
145
+ color: string;
146
+ borderColor: string;
147
147
  };
148
148
  };
149
149
  soft: {
@@ -12,5 +12,5 @@ type ChipsProps = React.PropsWithChildren<{
12
12
  colorType?: "primary" | "inherit" | "dual";
13
13
  shapeType?: "square" | "round";
14
14
  }>;
15
- declare const Chips: (props: ChipsProps) => import("react/jsx-runtime").JSX.Element;
16
- export default Chips;
15
+ declare const _default: React.MemoExoticComponent<(props: ChipsProps) => import("react/jsx-runtime").JSX.Element>;
16
+ export default _default;
@@ -17,5 +17,5 @@ type CommentProps = React.PropsWithChildren<{
17
17
  /** 아이콘 크기 */
18
18
  size?: number;
19
19
  }>;
20
- declare const Comment: (props: CommentProps) => import("react/jsx-runtime").JSX.Element;
21
- export default Comment;
20
+ declare const _default: React.MemoExoticComponent<(props: CommentProps) => import("react/jsx-runtime").JSX.Element>;
21
+ export default _default;
@@ -16,18 +16,19 @@ type TriggerProps = React.PropsWithChildren<{
16
16
  id?: string;
17
17
  indeterminated?: boolean;
18
18
  }>;
19
- declare const Trigger: (props: TriggerProps) => import("react/jsx-runtime").JSX.Element;
19
+ declare const Trigger: React.MemoExoticComponent<(props: TriggerProps) => import("react/jsx-runtime").JSX.Element>;
20
+ declare const HelperText: React.MemoExoticComponent<(props: React.ComponentProps<typeof HelperTextComponent>) => import("react/jsx-runtime").JSX.Element>;
20
21
  type LabelProps = React.PropsWithChildren<{
21
22
  className?: string;
22
23
  checkedColor?: string;
23
24
  }>;
24
- declare const Label: (props: LabelProps) => import("react/jsx-runtime").JSX.Element;
25
- declare const Root: (props: CheckBoxProviderProps) => import("react/jsx-runtime").JSX.Element;
25
+ declare const Label: React.MemoExoticComponent<(props: LabelProps) => import("react/jsx-runtime").JSX.Element>;
26
+ declare const Root: React.MemoExoticComponent<(props: CheckBoxProviderProps) => import("react/jsx-runtime").JSX.Element>;
26
27
  interface ICheckBoxInput {
27
28
  Root: typeof Root;
28
29
  Label: typeof Label;
29
- HelperText: typeof HelperTextComponent;
30
+ HelperText: typeof HelperText;
30
31
  Trigger: typeof Trigger;
31
32
  }
32
- declare const _default: ICheckBoxInput;
33
- export default _default;
33
+ declare const CheckBox: ICheckBoxInput;
34
+ export default CheckBox;
@@ -1,10 +1,10 @@
1
1
  declare const useCheckboxColors: () => {
2
2
  selected: {
3
- backgroundColor: "#00a76f";
3
+ backgroundColor: string;
4
4
  color: string;
5
5
  borderColor: string;
6
6
  hover: {
7
- backgroundColor: "#007867";
7
+ backgroundColor: string;
8
8
  color: string;
9
9
  borderColor: string;
10
10
  };
@@ -24,7 +24,7 @@ type TriggerProps = React.PropsWithChildren<{
24
24
  leftIcon?: React.ComponentProps<typeof Icon> | null;
25
25
  rightIcon?: React.ComponentProps<typeof Icon> | null;
26
26
  }>;
27
- declare const Trigger: (props: TriggerProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
27
+ declare const Trigger: React.MemoExoticComponent<(props: TriggerProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined>;
28
28
  type MenuRenderProps = {
29
29
  open: boolean;
30
30
  id?: string;
@@ -39,7 +39,7 @@ type MenuProps = {
39
39
  children?: React.ReactNode | ((props: MenuRenderProps) => React.ReactNode);
40
40
  boundaryPadding?: number;
41
41
  };
42
- declare const Menu: (props: MenuProps) => import("react/jsx-runtime").JSX.Element | null;
42
+ declare const Menu: React.MemoExoticComponent<(props: MenuProps) => import("react/jsx-runtime").JSX.Element | null>;
43
43
  type ItemProps = React.PropsWithChildren<{
44
44
  className?: string;
45
45
  value: string;
@@ -47,8 +47,8 @@ type ItemProps = React.PropsWithChildren<{
47
47
  variant?: "shadow" | "line";
48
48
  size?: "small" | "medium";
49
49
  }>;
50
- declare const Item: (props: ItemProps) => import("react/jsx-runtime").JSX.Element;
51
- declare const Root: (props: DropdownProviderProps) => import("react/jsx-runtime").JSX.Element;
50
+ declare const Item: React.MemoExoticComponent<(props: ItemProps) => import("react/jsx-runtime").JSX.Element>;
51
+ declare const Root: React.MemoExoticComponent<(props: DropdownProviderProps) => import("react/jsx-runtime").JSX.Element>;
52
52
  interface IDropdown {
53
53
  Trigger: typeof Trigger;
54
54
  Menu: typeof Menu;
@@ -9,7 +9,7 @@ type RootProps = OTPInputProviderProps & {
9
9
  input?: React.ReactNode;
10
10
  };
11
11
  declare const _default: {
12
- Root: (props: RootProps) => import("react/jsx-runtime").JSX.Element;
13
- Input: ({ index, className }: InputProps) => import("react/jsx-runtime").JSX.Element;
12
+ Root: React.MemoExoticComponent<(props: RootProps) => import("react/jsx-runtime").JSX.Element>;
13
+ Input: React.MemoExoticComponent<({ index, className }: InputProps) => import("react/jsx-runtime").JSX.Element>;
14
14
  };
15
15
  export default _default;
@@ -2,11 +2,11 @@ declare const useRadioColors: () => {
2
2
  selected: {
3
3
  backgroundColor: string;
4
4
  color: string;
5
- borderColor: "#00a76f";
5
+ borderColor: string;
6
6
  hover: {
7
7
  backgroundColor: string;
8
8
  color: string;
9
- borderColor: "#007867";
9
+ borderColor: string;
10
10
  };
11
11
  disabled: {
12
12
  backgroundColor: string;
@@ -12,19 +12,19 @@ type TriggerProps = React.PropsWithChildren<{
12
12
  className?: string;
13
13
  checkedClassName?: string;
14
14
  }>;
15
- declare const Trigger: (props: TriggerProps) => import("react/jsx-runtime").JSX.Element;
16
- declare const HelperText: (props: React.ComponentProps<typeof HelperTextComponent>) => import("react/jsx-runtime").JSX.Element;
15
+ declare const Trigger: React.MemoExoticComponent<(props: TriggerProps) => import("react/jsx-runtime").JSX.Element>;
16
+ declare const HelperText: React.MemoExoticComponent<(props: React.ComponentProps<typeof HelperTextComponent>) => import("react/jsx-runtime").JSX.Element>;
17
17
  type LabelProps = React.PropsWithChildren<{
18
18
  className?: string;
19
19
  checkedColor?: string;
20
20
  }>;
21
- declare const Label: (props: LabelProps) => import("react/jsx-runtime").JSX.Element;
22
- declare const Root: (props: RadioProviderProps) => import("react/jsx-runtime").JSX.Element;
21
+ declare const Label: React.MemoExoticComponent<(props: LabelProps) => import("react/jsx-runtime").JSX.Element>;
22
+ declare const Root: React.MemoExoticComponent<(props: RadioProviderProps) => import("react/jsx-runtime").JSX.Element>;
23
23
  interface IRadioInput {
24
24
  Root: typeof Root;
25
25
  Trigger: typeof Trigger;
26
26
  Label: typeof Label;
27
27
  HelperText: typeof HelperText;
28
28
  }
29
- declare const _default: IRadioInput;
30
- export default _default;
29
+ declare const Radio: IRadioInput;
30
+ export default Radio;
@@ -1,10 +1,10 @@
1
1
  declare const useSwitchColors: () => {
2
2
  selected: {
3
- backgroundColor: "#00a76f";
3
+ backgroundColor: string;
4
4
  color: string;
5
5
  borderColor: string;
6
6
  hover: {
7
- backgroundColor: "#007867";
7
+ backgroundColor: string;
8
8
  color: string;
9
9
  borderColor: string;
10
10
  };
@@ -12,17 +12,17 @@ type TriggerProps = React.PropsWithChildren<{
12
12
  wrapperClassName?: string;
13
13
  bulletClassName?: string;
14
14
  }>;
15
- declare const Trigger: (props: TriggerProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const Trigger: React.MemoExoticComponent<(props: TriggerProps) => import("react/jsx-runtime").JSX.Element>;
16
16
  type LabelProps = React.PropsWithChildren<{
17
17
  className?: string;
18
18
  checkedColor?: string;
19
19
  }>;
20
- declare const Label: (props: LabelProps) => import("react/jsx-runtime").JSX.Element;
21
- declare const Root: (props: SwitchProviderProps) => import("react/jsx-runtime").JSX.Element;
20
+ declare const Label: React.MemoExoticComponent<(props: LabelProps) => import("react/jsx-runtime").JSX.Element>;
21
+ declare const Root: React.MemoExoticComponent<(props: SwitchProviderProps) => import("react/jsx-runtime").JSX.Element>;
22
22
  interface ISwitch {
23
23
  Root: typeof Root;
24
24
  Label: typeof Label;
25
25
  Trigger: typeof Trigger;
26
26
  }
27
- declare const _default: ISwitch;
28
- export default _default;
27
+ declare const Switch: ISwitch;
28
+ export default Switch;