fone-design-system_v2 1.0.24 → 1.0.26

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.
@@ -8,3 +8,4 @@ export { default as LogoSolid } from './logoSolid.svg?react';
8
8
  export { default as MinusSolid } from './minusSolid.svg?react';
9
9
  export { default as PlusSolid } from './plusSolid.svg?react';
10
10
  export { default as Logo2Solid } from './logo2Solid.svg?react';
11
+ export { default as IconMainTitle } from './icon_main_title.svg?react';
@@ -4,7 +4,7 @@ interface DataItem {
4
4
  }
5
5
  export interface PieChartProps {
6
6
  /** 차트에 표시할 데이터 */
7
- data: DataItem[];
7
+ data?: DataItem[];
8
8
  /** 차트의 너비 */
9
9
  width?: number;
10
10
  /** 차트의 높이 */
@@ -9,6 +9,7 @@ interface Props<T extends object = any> {
9
9
  setRowSelection: React.Dispatch<React.SetStateAction<Record<string, boolean>>>;
10
10
  radio: boolean;
11
11
  type: string;
12
+ isSelected: boolean;
12
13
  }
13
- declare const CellInput: <T extends object>({ align, cell, isHover, isClicked, setTableData, setRowSelection, radio, type, }: Props) => import("react/jsx-runtime").JSX.Element;
14
+ declare const CellInput: <T extends object>({ align, cell, isHover, isClicked, setTableData, setRowSelection, radio, type, isSelected, }: Props) => import("react/jsx-runtime").JSX.Element;
14
15
  export default CellInput;
@@ -5,7 +5,7 @@ interface Props<T extends object = any> {
5
5
  isHover: boolean;
6
6
  setTableData: React.Dispatch<React.SetStateAction<T[]>>;
7
7
  setRowSelection: React.Dispatch<React.SetStateAction<Record<string, boolean>>>;
8
- isSelected?: boolean;
8
+ isSelected: boolean;
9
9
  setCurrentEditingCell: React.Dispatch<React.SetStateAction<{
10
10
  rowIndex: number;
11
11
  columnId: string;
@@ -14,5 +14,5 @@ interface Props<T extends object = any> {
14
14
  radio: boolean;
15
15
  isClicked: boolean;
16
16
  }
17
- declare const CellModal: <T extends object>({ cell, isHover, setTableData, setRowSelection, setCurrentEditingCell, radio, isClicked, }: Props) => import("react/jsx-runtime").JSX.Element;
17
+ declare const CellModal: <T extends object>({ cell, isHover, setTableData, setRowSelection, setCurrentEditingCell, radio, isClicked, isSelected, }: Props) => import("react/jsx-runtime").JSX.Element;
18
18
  export default CellModal;
@@ -8,6 +8,7 @@ interface Props<T extends object = any> {
8
8
  setTableData: React.Dispatch<React.SetStateAction<T[]>>;
9
9
  setRowSelection: React.Dispatch<React.SetStateAction<Record<string, boolean>>>;
10
10
  radio: boolean;
11
+ isSelected: boolean;
11
12
  }
12
- declare const CellTextarea: <T extends object>({ align, cell, isHover, isClicked, setTableData, setRowSelection, radio, }: Props) => import("react/jsx-runtime").JSX.Element;
13
+ declare const CellTextarea: <T extends object>({ align, cell, isHover, isClicked, setTableData, setRowSelection, radio, isSelected, }: Props) => import("react/jsx-runtime").JSX.Element;
13
14
  export default CellTextarea;
@@ -0,0 +1,39 @@
1
+ import { default as React } from 'react';
2
+ import { ButtonProps } from '../Button';
3
+ type Buttons = {
4
+ title?: string;
5
+ onClick?: ButtonProps["onClick"];
6
+ variant?: ButtonProps["variant"];
7
+ disabled?: ButtonProps["disabled"];
8
+ };
9
+ type ColSpan = {
10
+ span: number;
11
+ target: "th" | "td";
12
+ };
13
+ type FieldRow = {
14
+ accessorKey: string;
15
+ title: string;
16
+ value?: string;
17
+ type?: "input" | "inputNum" | "inputEng" | "select" | "checkbox" | "checkboxN" | "datepicker" | "dateRangePicker" | "modal" | "button" | "date" | "text";
18
+ required?: boolean;
19
+ textAlign?: "left" | "center" | "right";
20
+ buttons?: Buttons[];
21
+ colSpan?: ColSpan;
22
+ menuItems?: {
23
+ label: string;
24
+ value: string;
25
+ }[];
26
+ onClick?: () => void;
27
+ };
28
+ export interface VerticalTableProps {
29
+ data: {
30
+ [key: string]: string;
31
+ };
32
+ items: FieldRow[];
33
+ totalColumns: number;
34
+ colGroup?: string[];
35
+ title?: string;
36
+ onSave?: (e: any) => void;
37
+ }
38
+ declare const VerticalTable: React.ForwardRefExoticComponent<VerticalTableProps & React.RefAttributes<HTMLTableElement>>;
39
+ export default VerticalTable;
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ export declare const Container: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/system').Theme>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
+ export declare const Content: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/system').Theme>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ export declare const Title: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/system').Theme>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
5
+ export declare const Table: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/system').Theme>, React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
6
+ export declare const Th: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/system').Theme>, React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, {}>;
7
+ export declare const Td: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/system').Theme>, React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {}>;
@@ -0,0 +1,2 @@
1
+ import { default as VerticalTable, VerticalTableProps } from './VerticalTable';
2
+ export { VerticalTable, VerticalTableProps };
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const SelectCell: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
+ export default SelectCell;