fone-design-system_v2 1.0.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 (157) hide show
  1. package/README.md +40 -0
  2. package/dist/DesignSystemProvider.d.ts +6 -0
  3. package/dist/components/ui/Accordion/Accordion.d.ts +42 -0
  4. package/dist/components/ui/Accordion/index.d.ts +2 -0
  5. package/dist/components/ui/Autocomplete/Autocomplete.d.ts +40 -0
  6. package/dist/components/ui/Autocomplete/index.d.ts +2 -0
  7. package/dist/components/ui/Backdrop/Backdrop.d.ts +10 -0
  8. package/dist/components/ui/Backdrop/index.d.ts +2 -0
  9. package/dist/components/ui/Badge/Badge.d.ts +17 -0
  10. package/dist/components/ui/Badge/index.d.ts +2 -0
  11. package/dist/components/ui/BarChart/BarChart.d.ts +48 -0
  12. package/dist/components/ui/BarChart/index.d.ts +2 -0
  13. package/dist/components/ui/BottomNavigation/BottomNavigation.d.ts +23 -0
  14. package/dist/components/ui/BottomNavigation/index.d.ts +2 -0
  15. package/dist/components/ui/Box/Box.d.ts +10 -0
  16. package/dist/components/ui/Box/index.d.ts +2 -0
  17. package/dist/components/ui/Breadcrumbs/Breadcrumbs.d.ts +22 -0
  18. package/dist/components/ui/Breadcrumbs/index.d.ts +2 -0
  19. package/dist/components/ui/Button/Button.d.ts +41 -0
  20. package/dist/components/ui/Button/index.d.ts +2 -0
  21. package/dist/components/ui/Card/Card.d.ts +18 -0
  22. package/dist/components/ui/Card/index.d.ts +2 -0
  23. package/dist/components/ui/Checkbox/Checkbox.d.ts +21 -0
  24. package/dist/components/ui/Checkbox/index.d.ts +2 -0
  25. package/dist/components/ui/DatePicker2/DatePicker2.d.ts +25 -0
  26. package/dist/components/ui/DatePicker2/DateRangeInput.d.ts +11 -0
  27. package/dist/components/ui/DatePicker2/index.d.ts +2 -0
  28. package/dist/components/ui/DatePicker3/DatePicker3.d.ts +9 -0
  29. package/dist/components/ui/DatePicker3/DateRangePicker.d.ts +10 -0
  30. package/dist/components/ui/DatePicker3/DateStyle.d.ts +1 -0
  31. package/dist/components/ui/DatePicker3/RHFDatePicker3Controller.d.ts +15 -0
  32. package/dist/components/ui/DatePicker3/RHFDateRangeController.d.ts +15 -0
  33. package/dist/components/ui/DatePicker3/index.d.ts +5 -0
  34. package/dist/components/ui/Dialog/Dialog.d.ts +44 -0
  35. package/dist/components/ui/Dialog/index.d.ts +2 -0
  36. package/dist/components/ui/Divider/Divider.d.ts +19 -0
  37. package/dist/components/ui/Divider/index.d.ts +2 -0
  38. package/dist/components/ui/DropdownMenu/DropdownMenu.d.ts +15 -0
  39. package/dist/components/ui/DropdownMenu/index.d.ts +2 -0
  40. package/dist/components/ui/Flex/Flex.d.ts +19 -0
  41. package/dist/components/ui/Flex/index.d.ts +2 -0
  42. package/dist/components/ui/FloatingButton/FloatingButton.d.ts +13 -0
  43. package/dist/components/ui/FloatingButton/index.d.ts +2 -0
  44. package/dist/components/ui/Form/Form.d.ts +13 -0
  45. package/dist/components/ui/Form/index.d.ts +2 -0
  46. package/dist/components/ui/Grid/Grid.d.ts +28 -0
  47. package/dist/components/ui/Grid/index.d.ts +2 -0
  48. package/dist/components/ui/IconButton/IconButton.d.ts +22 -0
  49. package/dist/components/ui/IconButton/index.d.ts +2 -0
  50. package/dist/components/ui/InputLabel/InputLabel.d.ts +12 -0
  51. package/dist/components/ui/InputLabel/index.d.ts +3 -0
  52. package/dist/components/ui/Label/Label.d.ts +12 -0
  53. package/dist/components/ui/Label/index.d.ts +2 -0
  54. package/dist/components/ui/Menu/Menu.d.ts +20 -0
  55. package/dist/components/ui/Menu/index.d.ts +2 -0
  56. package/dist/components/ui/MobileMenu/MobileMenu.d.ts +31 -0
  57. package/dist/components/ui/MobileMenu/index.d.ts +2 -0
  58. package/dist/components/ui/Notification/Notification.d.ts +13 -0
  59. package/dist/components/ui/Notification/index.d.ts +2 -0
  60. package/dist/components/ui/Pagination/Pagination.d.ts +31 -0
  61. package/dist/components/ui/Pagination/index.d.ts +2 -0
  62. package/dist/components/ui/PieChart/PieChart.d.ts +40 -0
  63. package/dist/components/ui/PieChart/index.d.ts +2 -0
  64. package/dist/components/ui/Progress/Progress.d.ts +11 -0
  65. package/dist/components/ui/Progress/index.d.ts +2 -0
  66. package/dist/components/ui/Radio/Group.d.ts +20 -0
  67. package/dist/components/ui/Radio/Radio.d.ts +15 -0
  68. package/dist/components/ui/Radio/index.d.ts +4 -0
  69. package/dist/components/ui/ScrollArea/ScrollArea.d.ts +4 -0
  70. package/dist/components/ui/ScrollArea/ScrollBar.d.ts +8 -0
  71. package/dist/components/ui/ScrollArea/index.d.ts +3 -0
  72. package/dist/components/ui/Searchbar/Searchbar.d.ts +22 -0
  73. package/dist/components/ui/Searchbar/index.d.ts +2 -0
  74. package/dist/components/ui/Select/Select.d.ts +35 -0
  75. package/dist/components/ui/Select/index.d.ts +2 -0
  76. package/dist/components/ui/Select2/RHFSelect2Controller.d.ts +12 -0
  77. package/dist/components/ui/Select2/Select2.d.ts +27 -0
  78. package/dist/components/ui/Select2/index.d.ts +3 -0
  79. package/dist/components/ui/Skeleton/Skeleton.d.ts +11 -0
  80. package/dist/components/ui/Skeleton/index.d.ts +2 -0
  81. package/dist/components/ui/Snackbar/Snackbar.d.ts +56 -0
  82. package/dist/components/ui/Snackbar/index.d.ts +2 -0
  83. package/dist/components/ui/Switch/Switch.d.ts +20 -0
  84. package/dist/components/ui/Switch/index.d.ts +2 -0
  85. package/dist/components/ui/Table/Table.d.ts +103 -0
  86. package/dist/components/ui/Table/index.d.ts +2 -0
  87. package/dist/components/ui/Table2/AddButton.d.ts +15 -0
  88. package/dist/components/ui/Table2/Body.d.ts +0 -0
  89. package/dist/components/ui/Table2/BodyItem.d.ts +0 -0
  90. package/dist/components/ui/Table2/Box.d.ts +1 -0
  91. package/dist/components/ui/Table2/Buttons.d.ts +23 -0
  92. package/dist/components/ui/Table2/CelButton.d.ts +12 -0
  93. package/dist/components/ui/Table2/Cell.d.ts +23 -0
  94. package/dist/components/ui/Table2/CellCheckbox.d.ts +12 -0
  95. package/dist/components/ui/Table2/CellCheckboxN.d.ts +6 -0
  96. package/dist/components/ui/Table2/CellCustom.d.ts +7 -0
  97. package/dist/components/ui/Table2/CellDate.d.ts +8 -0
  98. package/dist/components/ui/Table2/CellDatePicker.d.ts +13 -0
  99. package/dist/components/ui/Table2/CellFrontCheckbox.d.ts +10 -0
  100. package/dist/components/ui/Table2/CellInput.d.ts +14 -0
  101. package/dist/components/ui/Table2/CellInputEng.d.ts +0 -0
  102. package/dist/components/ui/Table2/CellInputNumber.d.ts +0 -0
  103. package/dist/components/ui/Table2/CellModal.d.ts +17 -0
  104. package/dist/components/ui/Table2/CellSelect.d.ts +15 -0
  105. package/dist/components/ui/Table2/CellText.d.ts +10 -0
  106. package/dist/components/ui/Table2/CellTextarea.d.ts +13 -0
  107. package/dist/components/ui/Table2/Header.d.ts +8 -0
  108. package/dist/components/ui/Table2/HeaderItem.d.ts +8 -0
  109. package/dist/components/ui/Table2/Pagination.d.ts +10 -0
  110. package/dist/components/ui/Table2/RemoveButton.d.ts +15 -0
  111. package/dist/components/ui/Table2/Row.d.ts +24 -0
  112. package/dist/components/ui/Table2/Rows.d.ts +25 -0
  113. package/dist/components/ui/Table2/SaveButton.d.ts +11 -0
  114. package/dist/components/ui/Table2/Table2.d.ts +69 -0
  115. package/dist/components/ui/Table2/TableProvider.d.ts +0 -0
  116. package/dist/components/ui/Table2/Title.d.ts +5 -0
  117. package/dist/components/ui/Table2/TitleContainer.d.ts +28 -0
  118. package/dist/components/ui/Table2/Total.d.ts +5 -0
  119. package/dist/components/ui/Table2/emptyMessage.d.ts +1 -0
  120. package/dist/components/ui/Table2/index.d.ts +2 -0
  121. package/dist/components/ui/Table2/useElementHeight.d.ts +3 -0
  122. package/dist/components/ui/Tabs/Tabs.d.ts +33 -0
  123. package/dist/components/ui/Tabs/index.d.ts +2 -0
  124. package/dist/components/ui/Tag/Tag.d.ts +20 -0
  125. package/dist/components/ui/Tag/index.d.ts +2 -0
  126. package/dist/components/ui/TextField/TextField.d.ts +33 -0
  127. package/dist/components/ui/TextField/index.d.ts +2 -0
  128. package/dist/components/ui/TextField2/RHFTextField2Controller.d.ts +11 -0
  129. package/dist/components/ui/TextField2/TextField2.d.ts +19 -0
  130. package/dist/components/ui/TextField2/index.d.ts +3 -0
  131. package/dist/components/ui/Tooltip/Tooltip.d.ts +30 -0
  132. package/dist/components/ui/Tooltip/index.d.ts +2 -0
  133. package/dist/components/ui/TransferList/TransferList.d.ts +11 -0
  134. package/dist/components/ui/TransferList/index.d.ts +2 -0
  135. package/dist/components/ui/TreeView/TreeView.d.ts +49 -0
  136. package/dist/components/ui/TreeView/index.d.ts +2 -0
  137. package/dist/components/ui/Typography/Typography.d.ts +24 -0
  138. package/dist/components/ui/Typography/index.d.ts +2 -0
  139. package/dist/emptyBox.png +0 -0
  140. package/dist/favicon.ico +0 -0
  141. package/dist/fone-design-system.es.js +82974 -0
  142. package/dist/fone-design-system.umd.js +710 -0
  143. package/dist/fone-design-system_v2.css +1 -0
  144. package/dist/happy.jpg +0 -0
  145. package/dist/index.d.ts +46 -0
  146. package/dist/lib/createEmotionCache.d.ts +1 -0
  147. package/dist/lib/dayjsSetup.d.ts +2 -0
  148. package/dist/lib/utils.d.ts +2 -0
  149. package/dist/pages/_app.d.ts +5 -0
  150. package/dist/pages/_document.d.ts +3 -0
  151. package/dist/pages/api/hello.d.ts +6 -0
  152. package/dist/pages/index.d.ts +1 -0
  153. package/dist/react-datepicker.css +756 -0
  154. package/dist/styles.css +2112 -0
  155. package/dist/styles.css.map +1 -0
  156. package/dist/theme/theme.d.ts +1 -0
  157. package/package.json +107 -0
package/README.md ADDED
@@ -0,0 +1,40 @@
1
+ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2
+
3
+ ## Getting Started
4
+
5
+ First, run the development server:
6
+
7
+ ```bash
8
+ npm run dev
9
+ # or
10
+ yarn dev
11
+ # or
12
+ pnpm dev
13
+ # or
14
+ bun dev
15
+ ```
16
+
17
+ Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18
+
19
+ You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
20
+
21
+ [API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
22
+
23
+ The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
24
+
25
+ This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
26
+
27
+ ## Learn More
28
+
29
+ To learn more about Next.js, take a look at the following resources:
30
+
31
+ - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
32
+ - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
33
+
34
+ You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
35
+
36
+ ## Deploy on Vercel
37
+
38
+ The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
39
+
40
+ Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ children: React.ReactNode;
4
+ };
5
+ export declare function DesignSystemProvider({ children }: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,42 @@
1
+ import { default as React } from 'react';
2
+ import { AccordionProps as MuiAccordionProps } from '@mui/material';
3
+ export type DefaultExpandedListType = string[] | undefined;
4
+ export type ExpandIconType = React.ReactNode;
5
+ export interface DataListProps {
6
+ id: string;
7
+ summaryChildren: React.ReactNode | string;
8
+ detailsChildren: React.ReactNode | string;
9
+ }
10
+ export interface AccordionItemsProps extends DataListProps {
11
+ expandIcon?: ExpandIconType;
12
+ ariaControls?: string;
13
+ defaultExpandedList?: DefaultExpandedListType;
14
+ }
15
+ export interface CustomAccordionProps {
16
+ /** 클릭한 아코디언만 열리고 나머지 아코디언은 닫히게 한다. */
17
+ singleExpand?: boolean;
18
+ /** 버튼과 같은 action 요소를 넣을 수 있다. */
19
+ actionChildren?: React.ReactNode | undefined;
20
+ }
21
+ export interface AccordionProps extends Omit<MuiAccordionProps, "children" | "expandIcon">, CustomAccordionProps {
22
+ /** 필수로 받아야 하는 데이터 */
23
+ dataList: DataListProps[];
24
+ /** 디폴트로 열려있어야 하는 아코디언 (값: dataList의 id값이 배열로 들어간다)*/
25
+ defaultExpandedList?: DefaultExpandedListType;
26
+ /** 사용자지정 아이콘 (값: React.ReactNode) */
27
+ expandIcon?: ExpandIconType;
28
+ /** 비활성화 상태 (기본값: false) */
29
+ disabled?: boolean;
30
+ /** 띄어진 공간 제거 (기본값: false) */
31
+ disableGutters?: boolean;
32
+ /** 확장 상태 (기본값: false) */
33
+ allExpanded?: boolean;
34
+ /** 확장 상태 변경 핸들러 */
35
+ onChange?: (event: React.SyntheticEvent, expanded: boolean) => void;
36
+ /** 네모 형태 여부 (기본값: false) */
37
+ square?: boolean;
38
+ }
39
+ export declare const Accordion: {
40
+ ({ dataList, allExpanded, expandIcon, singleExpand, actionChildren, ...props }: AccordionProps): import("react/jsx-runtime").JSX.Element;
41
+ displayName: string;
42
+ };
@@ -0,0 +1,2 @@
1
+ import { Accordion, AccordionItemsProps, AccordionProps, DataListProps, DefaultExpandedListType, ExpandIconType } from './Accordion';
2
+ export { Accordion, AccordionProps, DefaultExpandedListType, ExpandIconType, AccordionItemsProps, DataListProps, };
@@ -0,0 +1,40 @@
1
+ import { AutocompleteChangeDetails, AutocompleteChangeReason, AutocompleteFreeSoloValueMapping, AutocompleteRenderInputParams, AutocompleteValue, AutocompleteProps as MuiAutocompleteProps } from '@mui/material';
2
+ import * as React from "react";
3
+ export interface AutocompleteProps<Value = any, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = false | true, FreeSolo extends boolean | undefined = false | true> extends MuiAutocompleteProps<Value, Multiple, DisableClearable, FreeSolo> {
4
+ /** 옵션 목록 */
5
+ options: any[];
6
+ /** 사용자가 텍스트를 입력하는 input 필드를 어떻게 렌더링할지 정한다. */
7
+ renderInput: (params: AutocompleteRenderInputParams) => React.ReactNode;
8
+ /** 자동 완성 여부 (기본값: false) */
9
+ autoComplete?: boolean;
10
+ /** 항목 선택 후 입력 필드가 자동으로 포커스를 잃는다. */
11
+ blurOnSelect?: "mouse" | "touch" | boolean | undefined;
12
+ /** 클리어 아이콘 */
13
+ clearIcon?: React.ReactNode;
14
+ /** 옵션을 선택해도 드롭다운이 닫히지 않는다. (기본값: false) */
15
+ disableCloseOnSelect?: boolean;
16
+ /** 드롭다운이 부모 요소의 스타일(예: overflow, z-index)의 영향을 받을지에 대한 여부 (false: 부모요소 밖으로 삐져나와도 부모요소에 가려지지 않는다.) */
17
+ disablePortal?: boolean;
18
+ /** 비활성화 여부 (기본값: false) */
19
+ disabled?: boolean;
20
+ /** 옵션 변경 핸들러 */
21
+ onChange?: (event: React.SyntheticEvent<Element, Event>, value: AutocompleteValue<Value, Multiple, DisableClearable, FreeSolo>, reason: AutocompleteChangeReason, details?: AutocompleteChangeDetails<Value> | undefined) => void;
22
+ /** 선택한 옵션 텍스트 */
23
+ getOptionLabel?: (option: Value | AutocompleteFreeSoloValueMapping<FreeSolo>) => string;
24
+ /** 필터링 옵션 */
25
+ filterOptions?: (options: Array<any>, state: object) => Array<any>;
26
+ /** 옵션 선택 여부 판단 */
27
+ isOptionEqualToValue?: (option: Value, value: Value) => boolean;
28
+ /** 전체 너비 설정 */
29
+ fullWidth?: boolean;
30
+ /** 옵션 그룹화 함수 */
31
+ groupBy?: (option: Value) => string;
32
+ /** id 속성 */
33
+ id?: string;
34
+ /** 선택된 값 */
35
+ value?: any;
36
+ }
37
+ export declare const Autocomplete: {
38
+ (props: AutocompleteProps): import("react/jsx-runtime").JSX.Element;
39
+ displayName: string;
40
+ };
@@ -0,0 +1,2 @@
1
+ import { Autocomplete, AutocompleteProps } from './Autocomplete';
2
+ export { Autocomplete, AutocompleteProps };
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { BackdropProps as MuiBackdropProps } from '@mui/material';
3
+ export interface BackdropProps extends MuiBackdropProps {
4
+ className?: string;
5
+ children?: React.ReactNode;
6
+ open: boolean;
7
+ onClick?: () => void;
8
+ }
9
+ declare const Backdrop: ({ className, open, children, onClick, ...props }: BackdropProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default Backdrop;
@@ -0,0 +1,2 @@
1
+ import { default as Backdrop, BackdropProps } from './Backdrop';
2
+ export { Backdrop, BackdropProps };
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+ import { BadgeProps as MBadgeProps } from '@mui/material/Badge';
3
+ export interface BadgeProps extends MBadgeProps {
4
+ className?: string;
5
+ badgeContent?: number;
6
+ max?: number;
7
+ color: "primary" | "error" | "info" | "secondary" | "success" | "warning";
8
+ variant?: "standard" | "dot";
9
+ overlap?: "rectangular" | "circular";
10
+ vertical?: "top" | "bottom";
11
+ horizontal?: "right" | "left";
12
+ children?: ReactNode;
13
+ top?: string;
14
+ right?: string;
15
+ }
16
+ declare const Badge: ({ className, variant, color, overlap, vertical, horizontal, children, top, right, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
17
+ export default Badge;
@@ -0,0 +1,2 @@
1
+ import { default as Badge, BadgeProps } from './Badge';
2
+ export { Badge, BadgeProps };
@@ -0,0 +1,48 @@
1
+ import { default as React } from 'react';
2
+ interface DataItem {
3
+ [key: string]: string | number;
4
+ }
5
+ export interface BarChartProps {
6
+ /** 차트에 표시할 데이터 */
7
+ data: DataItem[];
8
+ /** 차트의 너비 */
9
+ width?: number;
10
+ /** 차트의 높이 */
11
+ height?: number;
12
+ /** 데이터 시리즈 설정 */
13
+ series: {
14
+ dataKey: string;
15
+ color?: string;
16
+ label?: string;
17
+ layout?: "horizontal" | "vertical";
18
+ id: string;
19
+ yAxisId?: string;
20
+ }[];
21
+ /** 레이블 표시 여부 */
22
+ onLabel?: boolean;
23
+ /** x축 데이터 키 */
24
+ xAxis: any;
25
+ /** y축 데이터 키 */
26
+ yAxis: any;
27
+ /** 추가 클래스명 */
28
+ className?: string;
29
+ /** 차트 여백 설정 */
30
+ margin?: {
31
+ top?: number;
32
+ right?: number;
33
+ bottom?: number;
34
+ left?: number;
35
+ };
36
+ /** 오른쪽 y축 데이터 키 */
37
+ rightAxis?: string;
38
+ /** 왼쪽 y축 데이터 키 */
39
+ leftAxis?: string;
40
+ /** 차트 레이블 */
41
+ label?: string;
42
+ /** 차트 레이아웃 */
43
+ layout?: "horizontal" | "vertical";
44
+ /** 애니메이션 활성화 여부 */
45
+ skipAnimation?: boolean;
46
+ }
47
+ export declare const BarChart: React.ForwardRefExoticComponent<BarChartProps & React.RefAttributes<HTMLDivElement>>;
48
+ export {};
@@ -0,0 +1,2 @@
1
+ import { BarChart, BarChartProps } from './BarChart';
2
+ export { BarChart, BarChartProps };
@@ -0,0 +1,23 @@
1
+ import { default as React } from 'react';
2
+ import { BottomNavigationProps as MuiBottomNavigationProps } from '@mui/material';
3
+ interface ActionChildrenProps {
4
+ label: string;
5
+ icon: React.ReactNode;
6
+ value?: string;
7
+ }
8
+ interface CustomBottomNavigationProps {
9
+ actionChildren?: ActionChildrenProps[];
10
+ }
11
+ export interface BottomNavigationProps extends MuiBottomNavigationProps, CustomBottomNavigationProps {
12
+ /** 값 변경 시 호출되는 이벤트 핸들러 (`event`와 `value`를 인자로 받음) */
13
+ onChange?: (event: React.SyntheticEvent, value: any) => void;
14
+ /** 라벨을 표시할지 여부 (`true`면 표시, 기본값: `false`) */
15
+ showLabels?: boolean;
16
+ /** 현재 선택된 값 */
17
+ value?: any;
18
+ }
19
+ export declare const BottomNavigation: {
20
+ ({ actionChildren, ...props }: BottomNavigationProps): import("react/jsx-runtime").JSX.Element;
21
+ displayName: string;
22
+ };
23
+ export {};
@@ -0,0 +1,2 @@
1
+ import { BottomNavigation, BottomNavigationProps } from './BottomNavigation';
2
+ export { BottomNavigation, BottomNavigationProps };
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { Box as MuiBox } from '@mui/material';
3
+ export interface BoxProps extends React.ComponentProps<typeof MuiBox> {
4
+ /** 원하는 태그를 값으로 넣으면 해당 태그로 렌더링된다. (예: 'div', 'section', 'header' 등) */
5
+ component?: string;
6
+ }
7
+ export declare const Box: {
8
+ (props: BoxProps): import("react/jsx-runtime").JSX.Element;
9
+ displayName: string;
10
+ };
@@ -0,0 +1,2 @@
1
+ import { Box, BoxProps } from './Box';
2
+ export { Box, BoxProps };
@@ -0,0 +1,22 @@
1
+ export interface BreadcrumbsProps {
2
+ /** 경로 아이템 목록 */
3
+ items: {
4
+ /** 표시될 텍스트 */
5
+ text: string;
6
+ /** 링크 경로 (마지막 아이템은 생략) */
7
+ href?: string;
8
+ }[];
9
+ /** 구분자 */
10
+ separator?: string;
11
+ /** 최대 표시 아이템 수 */
12
+ maxItems?: number;
13
+ /** 최대 표시 아이템 수를 초과할 경우 표시할 아이템 수 */
14
+ itemsAfterCollapse?: number;
15
+ /** 최대 표시 아이템 수를 초과할 경우 표시할 아이템 수 */
16
+ itemsBeforeCollapse?: number;
17
+ }
18
+ /** 현재 페이지의 위치를 나타내는 브레드크럼 컴포넌트 */
19
+ export declare const Breadcrumbs: {
20
+ ({ items, separator, maxItems, itemsAfterCollapse, itemsBeforeCollapse, ...props }: BreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
21
+ displayName: string;
22
+ };
@@ -0,0 +1,2 @@
1
+ import { Breadcrumbs, BreadcrumbsProps } from './Breadcrumbs';
2
+ export { Breadcrumbs, BreadcrumbsProps };
@@ -0,0 +1,41 @@
1
+ import { default as React } from 'react';
2
+ import { ButtonProps as MuiButtonProps } from '@mui/material';
3
+ export interface ButtonProps extends Omit<MuiButtonProps<"button">, "color" | "size"> {
4
+ classsName?: any;
5
+ /** 자식 요소<br/>: 버튼 내에 포함될 내용 */
6
+ children?: React.ReactNode;
7
+ /** 색상 설정<br/>: 버튼 색상 (기본, primary, secondary 등) */
8
+ color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | string;
9
+ /** 루트 요소 타입 설정<br/>: HTML 요소 또는 다른 컴포넌트를 루트 노드로 사용 */
10
+ component?: React.ElementType;
11
+ /** 비활성화 여부<br/>: true일 경우 버튼이 비활성화 */
12
+ disabled?: boolean;
13
+ /** 그림자 제거<br/>: true일 경우 버튼의 그림자 효과 제거 */
14
+ disableElevation?: boolean;
15
+ /** 키보드 포커스 리플 제거<br/>: true일 경우 키보드 포커스 리플 효과 비활성화 */
16
+ disableFocusRipple?: boolean;
17
+ /** 리플 효과 제거<br/>: true일 경우 리플 효과 비활성화 */
18
+ disableRipple?: boolean;
19
+ /** 끝 아이콘<br/>: 버튼의 자식 요소 뒤에 배치될 아이콘 */
20
+ endIcon?: React.ReactNode;
21
+ /** 전체 너비<br/>: true일 경우 버튼이 부모 컨테이너의 전체 너비를 차지 */
22
+ fullWidth?: boolean;
23
+ /** 링크 URL 설정<br/>: 버튼 클릭 시 이동할 링크 URL */
24
+ href?: string;
25
+ /** 로딩 상태<br/>: true일 경우 로딩 인디케이터가 표시되며 버튼이 비활성화됨 */
26
+ loading?: boolean;
27
+ /** 로딩 인디케이터<br/>: 로딩 상태일 때 표시될 인디케이터 */
28
+ loadingIndicator?: React.ReactNode;
29
+ /** 로딩 인디케이터 위치<br/>: 'start', 'center', 'end' 중 위치 설정 */
30
+ loadingPosition?: "center" | "end" | "start";
31
+ /** 버튼 크기 설정<br/>: 'small', 'medium', 'large' 또는 사용자 지정 값 */
32
+ size?: "small" | "medium" | "large" | string;
33
+ /** 시작 아이콘<br/>: 버튼의 자식 요소 앞에 배치될 아이콘 */
34
+ startIcon?: React.ReactNode;
35
+ /** 버튼 스타일 종류<br/>: 'contained', 'outlined', 'text' 중 선택 */
36
+ variant?: "text" | "outlined" | "contained";
37
+ form?: string;
38
+ type?: "submit" | "button" | "reset";
39
+ }
40
+ declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
41
+ export default Button;
@@ -0,0 +1,2 @@
1
+ import { default as Button, ButtonProps } from './Button';
2
+ export { Button, ButtonProps };
@@ -0,0 +1,18 @@
1
+ import { CardProps as MCardProps } from '@mui/material/Card';
2
+ export interface CardProps extends MCardProps {
3
+ className?: string;
4
+ variant?: "elevation" | "outlined";
5
+ image?: string;
6
+ imageClassName?: string;
7
+ title?: string;
8
+ contents?: string;
9
+ onActionArea?: () => void;
10
+ buttons?: button[];
11
+ }
12
+ export interface button {
13
+ name: string;
14
+ onClick: () => void;
15
+ size?: "small" | "medium" | "large";
16
+ }
17
+ declare const Card: ({ variant, className, image, imageClassName, title, contents, onActionArea, buttons, ...props }: CardProps) => import("react/jsx-runtime").JSX.Element;
18
+ export default Card;
@@ -0,0 +1,2 @@
1
+ import { default as Card, CardProps } from './Card';
2
+ export { Card, CardProps };
@@ -0,0 +1,21 @@
1
+ import { default as React, ReactNode } from 'react';
2
+ import { CheckboxProps as MuiCheckboxProps } from '@mui/material/Checkbox';
3
+ import { Control, FieldPath, FieldValues } from 'react-hook-form';
4
+ export interface CheckboxProps<T extends FieldValues> extends Omit<MuiCheckboxProps, "defaultValue"> {
5
+ className?: string;
6
+ formName?: FieldPath<T>;
7
+ control?: Control<T>;
8
+ disabled?: boolean;
9
+ required?: boolean;
10
+ label?: string;
11
+ size?: "small" | "medium" | "large";
12
+ color?: "primary" | "secondary" | "error" | "info" | "success" | "warning" | "default";
13
+ icon?: ReactNode;
14
+ checkedIcon?: ReactNode;
15
+ field?: any;
16
+ checked?: boolean;
17
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
18
+ defaultValue?: boolean;
19
+ }
20
+ declare const Checkbox: <T extends FieldValues>({ className, disabled, required, label, size, color, icon, checkedIcon, formName, control, field, checked, onChange, defaultValue, ...props }: CheckboxProps<T>) => import("react/jsx-runtime").JSX.Element;
21
+ export default Checkbox;
@@ -0,0 +1,2 @@
1
+ import { default as Checkbox, CheckboxProps } from './Checkbox';
2
+ export { Checkbox, CheckboxProps };
@@ -0,0 +1,25 @@
1
+ export interface DatePicker2Props {
2
+ value?: string | {
3
+ startDate?: string | Date | null;
4
+ endDate?: string | Date | null;
5
+ };
6
+ onFocus?: () => void;
7
+ onChange?: (date: Date | string | null | {
8
+ startDate: Date | string | null;
9
+ endDate: Date | string | null;
10
+ }) => void;
11
+ onChangeRange?: (date: [Date | null, Date | null]) => void;
12
+ dateFormat?: string;
13
+ className?: string;
14
+ startDate?: string | null;
15
+ endDate?: string | null;
16
+ label?: string;
17
+ formName?: string;
18
+ defaultValue?: any;
19
+ labelStyle?: any;
20
+ showIcon?: boolean;
21
+ clearButtonClassName?: string;
22
+ isClearable?: boolean;
23
+ }
24
+ declare const DatePicker2: ({ value, onFocus, onChange, onChangeRange, dateFormat, className, startDate, endDate, label, formName, defaultValue, labelStyle, showIcon, clearButtonClassName, isClearable, }: DatePicker2Props) => import("react/jsx-runtime").JSX.Element;
25
+ export default DatePicker2;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ interface DateRangeInputProps {
3
+ startDate: Date | null;
4
+ endDate: Date | null;
5
+ handleClear: () => void;
6
+ onClick?: () => void;
7
+ onChange?: (dates: [Date | null, Date | null]) => void;
8
+ }
9
+ export declare const DateRangePickerBox: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/system').Theme>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
+ declare const DateRangeInput: React.ForwardRefExoticComponent<DateRangeInputProps & React.RefAttributes<HTMLDivElement>>;
11
+ export default DateRangeInput;
@@ -0,0 +1,2 @@
1
+ import { DatePicker2Props, default as DatePicker2 } from './DatePicker2';
2
+ export { DatePicker2, DatePicker2Props };
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { DatePickerProps } from 'antd/es/date-picker';
3
+ import { Dayjs } from 'dayjs';
4
+ export interface DatePicker3Props extends Omit<DatePickerProps, "onChange" | "value"> {
5
+ value?: Dayjs | null;
6
+ onChange?: ((date: Dayjs, dateString: string | string[]) => void) | undefined;
7
+ }
8
+ declare const DatePicker3: React.ForwardRefExoticComponent<Omit<DatePicker3Props, "ref"> & React.RefAttributes<any>>;
9
+ export default DatePicker3;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { RangePickerProps } from 'antd/es/date-picker';
3
+ import { Dayjs } from 'dayjs';
4
+ export type RangeValue<T> = [T | null, T | null] | null;
5
+ export interface DateRangePickerProps extends Omit<RangePickerProps, "onChange" | "value"> {
6
+ value?: RangeValue<Dayjs>;
7
+ onChange?: (dates: RangeValue<Dayjs>, dateStrings: [string, string]) => void;
8
+ }
9
+ declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<any>>;
10
+ export default DateRangePicker;
@@ -0,0 +1 @@
1
+ export declare const DateStyle: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
@@ -0,0 +1,15 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import { Control } from 'react-hook-form';
3
+ import { DatePicker3Props } from './DatePicker3';
4
+ export interface RHFDatePicker3ControllerProps extends Omit<DatePicker3Props, "defaultValue" | "onChange" | "value"> {
5
+ name: string;
6
+ control: Control<any> | any;
7
+ defaultValue?: Dayjs | null;
8
+ value?: Dayjs | null;
9
+ onChange?: ((date: Dayjs, dateString: string | string[]) => void) | undefined;
10
+ }
11
+ declare const RHFDatePicker3Controller: {
12
+ ({ name, control, defaultValue, value, onChange, }: RHFDatePicker3ControllerProps): import("react/jsx-runtime").JSX.Element;
13
+ displayName: string;
14
+ };
15
+ export default RHFDatePicker3Controller;
@@ -0,0 +1,15 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import { Control } from 'react-hook-form';
3
+ import { DateRangePickerProps, RangeValue } from './DateRangePicker';
4
+ export interface RHFDateRangeControllerProps extends Omit<DateRangePickerProps, "defaultValue" | "onChange" | "value"> {
5
+ name: string;
6
+ control: Control<any> | any;
7
+ defaultValue?: RangeValue<Dayjs>;
8
+ value?: [Dayjs | null, Dayjs | null] | null;
9
+ onChange?: (dates: [Dayjs | null, Dayjs | null] | null, dateStrings: [string, string]) => void;
10
+ }
11
+ declare const RHFDateRangeController: {
12
+ ({ name, control, defaultValue, value, onChange, ...rest }: RHFDateRangeControllerProps): import("react/jsx-runtime").JSX.Element;
13
+ displayName: string;
14
+ };
15
+ export default RHFDateRangeController;
@@ -0,0 +1,5 @@
1
+ import { default as DatePicker3, DatePicker3Props } from './DatePicker3';
2
+ import { default as DateRangePicker, DateRangePickerProps } from './DateRangePicker';
3
+ import { default as RHFDatePicker3Controller, RHFDatePicker3ControllerProps } from './RHFDatePicker3Controller';
4
+ import { default as RHFDateRangeController, RHFDateRangeControllerProps } from './RHFDateRangeController';
5
+ export { DatePicker3, DatePicker3Props, RHFDateRangeController, DateRangePicker, DateRangePickerProps, RHFDateRangeControllerProps, RHFDatePicker3Controller, RHFDatePicker3ControllerProps, };
@@ -0,0 +1,44 @@
1
+ import { default as React } from 'react';
2
+ import { DialogProps as MuiDialogProps, SxProps, Theme } from '@mui/material';
3
+ interface DialogPropsBase extends Omit<MuiDialogProps, "onSubmit" | "getReset"> {
4
+ /** 다이얼로그 열린 상태 */
5
+ open: boolean;
6
+ /** 다이얼로그 닫기 이벤트 핸들러 */
7
+ onClose: () => void;
8
+ /** 다이얼로그 제목 */
9
+ dialogTitle?: string | React.ReactNode;
10
+ /** 다이얼로그 내용 */
11
+ dialogContent?: string | React.ReactNode;
12
+ /** 다이얼로그 액션 버튼 */
13
+ actions?: React.ReactNode;
14
+ /** 최대 너비 */
15
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
16
+ /** 전체 화면 여부 */
17
+ fullScreen?: boolean;
18
+ /** 스크롤 동작 */
19
+ scroll?: "paper" | "body";
20
+ /** 스타일 속성 */
21
+ sx?: SxProps<Theme>;
22
+ /** 영역별 구분선 */
23
+ dividers?: boolean;
24
+ /** 자식노드 */
25
+ children?: React.ReactNode;
26
+ }
27
+ export type DialogWithType = DialogPropsBase & {
28
+ type?: "warning" | "info" | "success" | "confirm" | "error";
29
+ onOk: () => void;
30
+ };
31
+ export type DialogWithoutType = DialogPropsBase & {
32
+ type?: undefined;
33
+ onOk?: never;
34
+ };
35
+ /** 모달 다이얼로그 컴포넌트
36
+ *
37
+ * 대체적으로 Provider로 사용되는 컴포넌트입니다.
38
+ *
39
+ */
40
+ export declare const Dialog: {
41
+ ({ open, onClose, dialogTitle, dialogContent, actions, fullScreen, scroll, size, type, onOk, dividers, children, ...props }: DialogWithType | DialogWithoutType): import("react/jsx-runtime").JSX.Element;
42
+ displayName: string;
43
+ };
44
+ export {};
@@ -0,0 +1,2 @@
1
+ import { Dialog, DialogWithoutType, DialogWithType } from './Dialog';
2
+ export { Dialog, DialogWithType, DialogWithoutType };
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme, DividerProps as MuiDividerProps } from '@mui/material';
3
+ export interface DividerProps extends MuiDividerProps {
4
+ /** 구분선 방향 */
5
+ orientation?: "horizontal" | "vertical";
6
+ /** 구분선 변형 */
7
+ variant?: "fullWidth" | "inset" | "middle";
8
+ /** 텍스트 정렬 */
9
+ textAlign?: "center" | "left" | "right";
10
+ /** 구분선 내부 텍스트 */
11
+ children?: React.ReactNode;
12
+ /** MUI에서 제공하는 스타일 속성 추가 가능 */
13
+ sx?: SxProps<Theme>;
14
+ /** 구분선 둥근 정도 */
15
+ flexItem?: boolean;
16
+ }
17
+ /** 콘텐츠를 구분하는 구분선 컴포넌트 */
18
+ declare const Divider: ({ orientation, variant, textAlign, children, sx, ...props }: DividerProps) => import("react/jsx-runtime").JSX.Element;
19
+ export default Divider;
@@ -0,0 +1,2 @@
1
+ import { default as Divider, DividerProps } from './Divider';
2
+ export { Divider, DividerProps };
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+ import { MenuProps } from '@mui/material/Menu';
3
+ export interface DropdownMenuProps extends Omit<MenuProps, "open"> {
4
+ className?: string;
5
+ menuLabel: string;
6
+ menuItems: MenuItem[];
7
+ }
8
+ export interface MenuItem {
9
+ icon?: ReactNode;
10
+ label: string;
11
+ onClick: () => void;
12
+ onClose: () => void;
13
+ }
14
+ declare const DropdownMenu: ({ className, menuLabel, menuItems, ...props }: DropdownMenuProps) => import("react/jsx-runtime").JSX.Element;
15
+ export default DropdownMenu;
@@ -0,0 +1,2 @@
1
+ import { default as DropdownMenu, DropdownMenuProps } from './DropdownMenu';
2
+ export { DropdownMenu, DropdownMenuProps };
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+ import { StackProps } from '@mui/material';
3
+ import { ResponsiveStyleValue } from '@mui/system';
4
+ export interface FlexProps extends StackProps {
5
+ /** 자식 요소 */
6
+ children?: React.ReactNode;
7
+ /** Flex 방향 (row, column 등) ) (기본값: row) */
8
+ direction?: ResponsiveStyleValue<"row" | "row-reverse" | "column" | "column-reverse">;
9
+ /** `gap` 사용 여부 (기본값: true)*/
10
+ useFlexGap?: boolean;
11
+ /** 항목 간 간격 (숫자 또는 문자열) */
12
+ spacing?: ResponsiveStyleValue<number | string>;
13
+ /** 항목 사이 구분선 (MUI Divider 등) */
14
+ divider?: React.ReactNode;
15
+ }
16
+ export declare const Flex: {
17
+ ({ className, useFlexGap, direction, ...props }: FlexProps): import("react/jsx-runtime").JSX.Element;
18
+ displayName: string;
19
+ };
@@ -0,0 +1,2 @@
1
+ import { Flex, FlexProps } from './Flex';
2
+ export { Flex, FlexProps };