@noraent/nora-datagrid 1.1.0-beta.3 → 1.1.0-beta.5

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 (117) hide show
  1. package/dist/DataGrid.d.ts +2 -2
  2. package/dist/buildPackage.json +87 -1
  3. package/dist/common/constants/index.d.ts +2 -2
  4. package/dist/common/constants/utils.d.ts +1 -1
  5. package/dist/common/foundation/palette.d.ts +1 -1
  6. package/dist/common/foundation/scale/color/index.d.ts +1 -1
  7. package/dist/common/foundation/scale/index.d.ts +2 -2
  8. package/dist/common/foundation/scale/layout/index.d.ts +1 -1
  9. package/dist/common/styled/assets/components/index.d.ts +1 -1
  10. package/dist/common/styled/assets/components/loading/Loading.d.ts +1 -1
  11. package/dist/common/styled/assets/index.d.ts +1 -1
  12. package/dist/common/styled/index.d.ts +10 -10
  13. package/dist/components/GridBasicRows.d.ts +1 -1
  14. package/dist/components/NoraDataGrid.d.ts +2 -3
  15. package/dist/components/TwoDimensionalVirtualizedList.d.ts +2 -2
  16. package/dist/components/body/NoDataComponent.d.ts +1 -1
  17. package/dist/components/body/_styled/index.d.ts +6 -6
  18. package/dist/components/cell/CellMode.d.ts +1 -1
  19. package/dist/components/cell/Checkbox.d.ts +1 -1
  20. package/dist/components/cell/CheckboxAll.d.ts +1 -1
  21. package/dist/components/cell/_styled/index.d.ts +2 -2
  22. package/dist/components/header/VirtualHorizontalHeader.d.ts +2 -2
  23. package/dist/components/ime/IMEComponent.d.ts +1 -1
  24. package/dist/components/virtualized/_components/RenderHeader.d.ts +1 -1
  25. package/dist/components/virtualized/_components/VirtualHeader.d.ts +3 -3
  26. package/dist/components/virtualized/_hooks/useGridVirtualScroller.d.ts +1 -1
  27. package/dist/components/virtualized/_styled/index.d.ts +16 -16
  28. package/dist/components/virtualized/_styled/virtualScrollerStyled.d.ts +4 -4
  29. package/dist/hooks/external/usePublicTest.d.ts +2 -2
  30. package/dist/hooks/index.d.ts +3 -3
  31. package/dist/hooks/internal/useCellRange.d.ts +1 -1
  32. package/dist/hooks/internal/useInternalPrivateApi.d.ts +2 -2
  33. package/dist/hooks/useGridApiContext.d.ts +1 -1
  34. package/dist/hooks/useGridApiMethod.d.ts +2 -2
  35. package/dist/hooks/useGridApiRef.d.ts +2 -2
  36. package/dist/hooks/useGridInitialization.d.ts +2 -2
  37. package/dist/hooks/useMouseEvent.d.ts +1 -1
  38. package/dist/index.d.ts +3 -3
  39. package/dist/nora_datagrid.cjs.js +7 -0
  40. package/dist/nora_datagrid.es.js +11525 -0
  41. package/dist/provider/GridApiContext.d.ts +1 -1
  42. package/dist/provider/GridStoreContent.d.ts +2 -2
  43. package/dist/provider/ThemeProvider.d.ts +3 -3
  44. package/dist/types/classes/index.d.ts +1 -1
  45. package/dist/types/dataGridCoreProps.d.ts +3 -3
  46. package/dist/types/dataGridProps.d.ts +4 -4
  47. package/dist/types/index.d.ts +8 -8
  48. package/dist/types/license/handleVerify.d.ts +1 -1
  49. package/dist/types/license/verifyLicense.d.ts +1 -1
  50. package/dist/types/palette.d.ts +1 -1
  51. package/dist/vite.svg +1 -0
  52. package/package.json +1 -1
  53. package/dist/App.js +0 -298
  54. package/dist/DataGrid.js +0 -193
  55. package/dist/common/constants/defaultProps.js +0 -4
  56. package/dist/common/constants/index.js +0 -2
  57. package/dist/common/constants/path.js +0 -45
  58. package/dist/common/constants/useEnhancedEffect/index.js +0 -1
  59. package/dist/common/constants/useEnhancedEffect/useEnhancedEffect.js +0 -3
  60. package/dist/common/constants/useEventCallback.js +0 -12
  61. package/dist/common/constants/utils.js +0 -208
  62. package/dist/common/foundation/index.js +0 -4
  63. package/dist/common/foundation/palette.js +0 -198
  64. package/dist/common/foundation/scale/color/color.js +0 -46
  65. package/dist/common/foundation/scale/color/index.js +0 -1
  66. package/dist/common/foundation/scale/index.js +0 -2
  67. package/dist/common/foundation/scale/layout/breakpoints.js +0 -6
  68. package/dist/common/foundation/scale/layout/index.js +0 -1
  69. package/dist/common/foundation/scale/layout/size.js +0 -7
  70. package/dist/common/styled/assets/components/index.js +0 -1
  71. package/dist/common/styled/assets/components/loading/Loading.js +0 -2
  72. package/dist/common/styled/assets/index.js +0 -1
  73. package/dist/common/styled/index.js +0 -72
  74. package/dist/components/GridBasicRows.js +0 -88
  75. package/dist/components/NoraDataGrid.js +0 -191
  76. package/dist/components/TwoDimensionalVirtualizedList.js +0 -654
  77. package/dist/components/body/NoDataComponent.js +0 -25
  78. package/dist/components/body/_styled/index.js +0 -27
  79. package/dist/components/cell/CellMode.js +0 -70
  80. package/dist/components/cell/Checkbox.js +0 -48
  81. package/dist/components/cell/CheckboxAll.js +0 -47
  82. package/dist/components/cell/_styled/index.js +0 -8
  83. package/dist/components/header/VirtualHorizontalHeader.js +0 -24
  84. package/dist/components/ime/IMEComponent.js +0 -145
  85. package/dist/components/virtualized/_components/GridVirtualScroller.js +0 -19
  86. package/dist/components/virtualized/_components/RenderHeader.js +0 -7
  87. package/dist/components/virtualized/_components/VirtualHeader.js +0 -131
  88. package/dist/components/virtualized/_constants/virtualHeaderConstants.js +0 -1
  89. package/dist/components/virtualized/_hooks/useGridVirtualScroller.js +0 -115
  90. package/dist/components/virtualized/_styled/index.js +0 -339
  91. package/dist/components/virtualized/_styled/virtualScrollerStyled.js +0 -20
  92. package/dist/hooks/external/usePublicTest.js +0 -125
  93. package/dist/hooks/index.js +0 -2
  94. package/dist/hooks/internal/useCellRange.js +0 -275
  95. package/dist/hooks/internal/useInternalPrivateApi.js +0 -330
  96. package/dist/hooks/useGridApiContext.js +0 -10
  97. package/dist/hooks/useGridApiMethod.js +0 -23
  98. package/dist/hooks/useGridApiRef.js +0 -6
  99. package/dist/hooks/useGridInitialization.js +0 -101
  100. package/dist/hooks/useMouseEvent.js +0 -342
  101. package/dist/index.js +0 -3
  102. package/dist/packageInfo.js +0 -2
  103. package/dist/provider/GridApiContext.js +0 -5
  104. package/dist/provider/GridStoreContent.js +0 -69
  105. package/dist/provider/ThemeProvider.js +0 -20
  106. package/dist/provider/store.js +0 -28
  107. package/dist/tsconfig.tsbuildinfo +0 -1
  108. package/dist/types/classes/index.js +0 -1
  109. package/dist/types/classes/styled.js +0 -80
  110. package/dist/types/dataGridCoreEnum.js +0 -7
  111. package/dist/types/dataGridCoreProps.js +0 -1
  112. package/dist/types/dataGridProps.js +0 -43
  113. package/dist/types/index.js +0 -4
  114. package/dist/types/license/handleVerify.js +0 -19
  115. package/dist/types/license/licenseInfo.js +0 -39
  116. package/dist/types/license/verifyLicense.js +0 -124
  117. package/dist/types/palette.js +0 -1
@@ -1,3 +1,3 @@
1
+ import { DataGridBasicPropsModel } from './types/dataGridProps';
1
2
  import * as React from "react";
2
- import { DataGridBasicPropsModel } from "./types/dataGridProps";
3
- export declare const DataGrid: React.NamedExoticComponent<import("./types/dataGridCoreProps").DeepOmitStartsWith<Pick<DataGridBasicPropsModel, "columns" | "dataSource">, "__"> & Partial<import("./types/dataGridProps").DataGridOptionPropsModel> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare const DataGrid: React.NamedExoticComponent<import('./types/dataGridCoreProps').DeepOmitStartsWith<Pick<DataGridBasicPropsModel, "columns" | "dataSource">, "__"> & Partial<import('./types/dataGridProps').DataGridOptionPropsModel> & React.RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,89 @@
1
1
  {
2
- "version": "배포시 버전 표시"
2
+ "name": "@noraent/nora-datagrid",
3
+ "version": "1.1.0-beta.5",
4
+ "module": "./dist/nora_datagrid.es.js",
5
+ "main": "./dist/nora_datagrid.cjs.js",
6
+ "private": false,
7
+ "files": [
8
+ "dist/"
9
+ ],
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/nora_datagrid.es.js",
14
+ "require": "./dist/nora_datagrid.cjs.js"
15
+ }
16
+ },
17
+ "type": "module",
18
+ "sideEffects": false,
19
+ "scripts": {
20
+ "start": "vite --mode on-local",
21
+ "build:local": "tsc -b && vite build --mode on-local",
22
+ "build:dev": "tsc -b && vite build --mode dev",
23
+ "build:production": "tsc -b && vite build --mode production",
24
+ "clean": "pnpm run clean:build && rimraf ./node_modules",
25
+ "clean:build": "rimraf ./dist",
26
+ "lint": "eslint .",
27
+ "preview": "vite preview",
28
+ "test": "jest",
29
+ "tsc-build": "tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json && npm run vite-build && npm run copy-scss",
30
+ "vite-build": "tsc -b && vite build --mode production",
31
+ "publish:npm": "rm -rf dist && mkdir dist && npm run vite-build && npm run copy-package",
32
+ "copy-package": "cp package.json dist/buildPackage.json && cp package.json lib/cjs/buildPackage.json&& cp package.json lib/esm/buildPackage.json ",
33
+ "copy-scss": "cpx \"src/**/*.scss\" lib/cjs && cpx \"src/**/*.scss\" lib/esm"
34
+ },
35
+ "dependencies": {
36
+ "@emotion/css": "^11.13.5",
37
+ "@noraent/nora-datagrid": "file:",
38
+ "jose": "^6.1.0",
39
+ "lodash": "^4.17.21",
40
+ "rimraf": "^6.0.1",
41
+ "sass-embedded": "^1.87.0"
42
+ },
43
+ "peerDependencies": {
44
+ "@emotion/react": "^11.14.0",
45
+ "@emotion/styled": "^11.14.0",
46
+ "react": "^18.0.0 || ^19.0.0",
47
+ "react-dom": "^18.0.0 || ^19.0.0"
48
+ },
49
+ "devDependencies": {
50
+ "@mui/material": "^7.3.4",
51
+ "@babel/cli": "^7.27.2",
52
+ "@babel/preset-react": "^7.27.1",
53
+ "@eslint/js": "^9.9.0",
54
+ "@types/lodash": "^4.17.16",
55
+ "@types/node": "^22.15.14",
56
+ "@types/react": "^19.0.0",
57
+ "@types/react-dom": "^19.0.0",
58
+ "@vitejs/plugin-react": "^4.3.4",
59
+ "cpx": "^1.5.0",
60
+ "eslint": "^9.9.0",
61
+ "eslint-plugin-react-hooks": "^5.1.0-rc.0",
62
+ "eslint-plugin-react-refresh": "^0.4.9",
63
+ "globals": "^15.9.0",
64
+ "react": "^19.0.0",
65
+ "react-dom": "^19.0.0",
66
+ "terser": "^5.39.0",
67
+ "typescript": "~5.8.3",
68
+ "typescript-eslint": "^8.24.1",
69
+ "vite": "^6.2.0",
70
+ "vite-plugin-dts": "^4.5.3",
71
+ "vite-plugin-svgr": "^4.3.0",
72
+ "vite-tsconfig-paths": "^5.1.4"
73
+ },
74
+ "peerDependenciesMeta": {
75
+ "@emotion/react": {
76
+ "optional": true
77
+ },
78
+ "@emotion/styled": {
79
+ "optional": true
80
+ }
81
+ },
82
+ "babel": {
83
+ "presets": [
84
+ "@babel/preset-env",
85
+ "@babel/preset-react"
86
+ ]
87
+ },
88
+ "packageManager": "pnpm@10.6.5+sha512.cdf928fca20832cd59ec53826492b7dc25dc524d4370b6b4adbf65803d32efaa6c1c88147c0ae4e8d579a6c9eec715757b50d4fa35eea179d868eada4ed043af"
3
89
  }
@@ -1,2 +1,2 @@
1
- export * from "./defaultProps";
2
- export * from "./useEventCallback";
1
+ export * from './defaultProps';
2
+ export * from './useEventCallback';
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { default as React } from 'react';
2
2
  /**
3
3
  * 첫 마운트시 실행 되지 않습니다.
4
4
  * 업데이트시 실행하고 싶다면 사용해주세요.
@@ -1,4 +1,4 @@
1
- import { ColorMode, ComponentColors, DeepRequired, GridTheme, GridThemeOptions } from "../../types/palette";
1
+ import { ColorMode, ComponentColors, DeepRequired, GridTheme, GridThemeOptions } from '../../types/palette';
2
2
  declare const lightPalette: GridTheme["palette"];
3
3
  declare const darkPalette: GridTheme["palette"];
4
4
  declare const darkCustomVars: {
@@ -1 +1 @@
1
- export * from "./color";
1
+ export * from './color';
@@ -1,2 +1,2 @@
1
- export * as layout from "./layout";
2
- export * as color from "./color";
1
+ export * as layout from './layout';
2
+ export * as color from './color';
@@ -1 +1 @@
1
- export * from "./size";
1
+ export * from './size';
@@ -1 +1 @@
1
- export * from "./loading/Loading";
1
+ export * from './loading/Loading';
@@ -1,2 +1,2 @@
1
- import Loading from "../../svg/loading/Loading.svg?react";
1
+ import { default as Loading } from '../../svg/loading/Loading.svg?react';
2
2
  export { Loading as LoadingSvg };
@@ -1 +1 @@
1
- export * from "./components";
1
+ export * from './components';
@@ -5,19 +5,19 @@
5
5
  * 가이드가 아니므로 참고용으로만 활용해 주세요.
6
6
  * 디자인 시스템을 개발할경우 색상이나 사이즈 처리 등 가이드로 사용하기에는 다소 부족한 부분이 있을 수 있습니다. 부득이하게 개발이 필요한 경우 해당부분을 고려하여 개발 해주세요.
7
7
  */
8
- export declare const StyledButton: import("@emotion/styled").StyledComponent<any, {}, {
9
- ref?: import("react").Ref<any> | undefined;
8
+ export declare const StyledButton: import('@emotion/styled').StyledComponent<any, {}, {
9
+ ref?: import('react').Ref<any> | undefined;
10
10
  }>;
11
- export declare const StyledSubTitle: import("@emotion/styled").StyledComponent<any, {}, {
12
- ref?: import("react").Ref<any> | undefined;
11
+ export declare const StyledSubTitle: import('@emotion/styled').StyledComponent<any, {}, {
12
+ ref?: import('react').Ref<any> | undefined;
13
13
  }>;
14
- export declare const StyledNoneContent: import("@emotion/styled").StyledComponent<any, {}, {
15
- ref?: import("react").Ref<any> | undefined;
14
+ export declare const StyledNoneContent: import('@emotion/styled').StyledComponent<any, {}, {
15
+ ref?: import('react').Ref<any> | undefined;
16
16
  }>;
17
- export declare const Typography: import("@emotion/styled").StyledComponent<any, {}, {
18
- ref?: import("react").Ref<any> | undefined;
17
+ export declare const Typography: import('@emotion/styled').StyledComponent<any, {}, {
18
+ ref?: import('react').Ref<any> | undefined;
19
19
  }>;
20
- export declare const Spinner: import("@emotion/styled").StyledComponent<any, {}, {
21
- ref?: import("react").Ref<any> | undefined;
20
+ export declare const Spinner: import('@emotion/styled').StyledComponent<any, {}, {
21
+ ref?: import('react').Ref<any> | undefined;
22
22
  }>;
23
23
  export declare const spin: string;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  declare function GridBasicRows(props: GridMainProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default GridBasicRows;
4
4
  interface GridMainProps {
@@ -1,6 +1,5 @@
1
- /** @jsxImportSource @emotion/react */
2
- import React, { ReactNode } from "react";
3
- import { Interpolation, Theme } from "@emotion/react";
1
+ import { default as React, ReactNode } from 'react';
2
+ import { Interpolation, Theme } from '@emotion/react';
4
3
  export declare const NoraDataGrid: React.ForwardRefExoticComponent<NoraDataGridMainProps & React.RefAttributes<HTMLDivElement>> & {
5
4
  Title: typeof NoraDataGridTitle;
6
5
  Body: React.ForwardRefExoticComponent<NoraDataGridMainProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { DataGridPrivateColumnModel, DataGridPrivateDataSourceModel } from "../types/dataGridCoreProps";
1
+ import { default as React } from 'react';
2
+ import { DataGridPrivateColumnModel, DataGridPrivateDataSourceModel } from '../types/dataGridCoreProps';
3
3
  export declare const initialWindowHeight = 500;
4
4
  export declare const VirtualItem: React.MemoExoticComponent<({ column, row, rowIndex, }: {
5
5
  column: DataGridPrivateColumnModel;
@@ -1,2 +1,2 @@
1
- declare const _default: import("react").MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
1
+ declare const _default: import('react').MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
2
2
  export default _default;
@@ -1,9 +1,9 @@
1
- export declare const NoDataContent: import("@emotion/styled").StyledComponent<any, {}, {
2
- ref?: import("react").Ref<any> | undefined;
1
+ export declare const NoDataContent: import('@emotion/styled').StyledComponent<any, {}, {
2
+ ref?: import('react').Ref<any> | undefined;
3
3
  }>;
4
- export declare const NoDataTitle: import("@emotion/styled").StyledComponent<any, {}, {
5
- ref?: import("react").Ref<any> | undefined;
4
+ export declare const NoDataTitle: import('@emotion/styled').StyledComponent<any, {}, {
5
+ ref?: import('react').Ref<any> | undefined;
6
6
  }>;
7
- export declare const ErrorIconBox: import("@emotion/styled").StyledComponent<any, {}, {
8
- ref?: import("react").Ref<any> | undefined;
7
+ export declare const ErrorIconBox: import('@emotion/styled').StyledComponent<any, {}, {
8
+ ref?: import('react').Ref<any> | undefined;
9
9
  }>;
@@ -1,3 +1,3 @@
1
- import { GridCellPrams } from "../../types/dataGridCoreProps";
1
+ import { GridCellPrams } from '../../types/dataGridCoreProps';
2
2
  declare const CellMode: (props: GridCellPrams) => string | import("react/jsx-runtime").JSX.Element;
3
3
  export default CellMode;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { default as React } from 'react';
2
2
  declare const _default: React.MemoExoticComponent<({ rowUUID, isHidden }: {
3
3
  rowUUID: string;
4
4
  isHidden: boolean;
@@ -1,3 +1,3 @@
1
- import React from "react";
1
+ import { default as React } from 'react';
2
2
  declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
3
3
  export default _default;
@@ -1,3 +1,3 @@
1
- export declare const CheckboxCon: import("@emotion/styled").StyledComponent<any, {}, {
2
- ref?: import("react").Ref<any> | undefined;
1
+ export declare const CheckboxCon: import('@emotion/styled').StyledComponent<any, {}, {
2
+ ref?: import('react').Ref<any> | undefined;
3
3
  }>;
@@ -1,5 +1,5 @@
1
- import { VirtualHeaderProps } from "../virtualized/_constants/virtualHeaderConstants";
2
- declare const _default: import("react").MemoExoticComponent<(props: VirtualHeaderProps & {
1
+ import { VirtualHeaderProps } from '../virtualized/_constants/virtualHeaderConstants';
2
+ declare const _default: import('react').MemoExoticComponent<(props: VirtualHeaderProps & {
3
3
  offsetLeft: number;
4
4
  }) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { default as React } from 'react';
2
2
  declare const _default: React.NamedExoticComponent<{
3
3
  defaultValue: string;
4
4
  } & React.RefAttributes<HTMLDivElement | HTMLTextAreaElement>>;
@@ -1,3 +1,3 @@
1
- import { DataGridColumnModelType } from "../../../types/dataGridCoreProps";
1
+ import { DataGridColumnModelType } from '../../../types/dataGridCoreProps';
2
2
  declare const RenderHeader: (props: DataGridColumnModelType) => import("react/jsx-runtime").JSX.Element;
3
3
  export default RenderHeader;
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- import { VirtualHeaderProps } from "../_constants/virtualHeaderConstants";
3
- import { DataGridDataSource, GridSortModel } from "../../../types/dataGridCoreProps";
1
+ import { default as React } from 'react';
2
+ import { VirtualHeaderProps } from '../_constants/virtualHeaderConstants';
3
+ import { DataGridDataSource, GridSortModel } from '../../../types/dataGridCoreProps';
4
4
  declare const VirtualHeader: React.FC<VirtualHeaderProps>;
5
5
  export declare const sorting: (dataSource: DataGridDataSource, newSort: GridSortModel) => {
6
6
  __ariaRowindex: number;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { default as React } from 'react';
2
2
  export declare const useGridVirtualScroller: () => {
3
3
  getRows: () => React.ReactNode[];
4
4
  getScrollerProps: () => {
@@ -1,47 +1,47 @@
1
- import React from "react";
2
- export declare const RawTableRow: import("@emotion/styled").StyledComponent<any, {}, {
1
+ import { default as React } from 'react';
2
+ export declare const RawTableRow: import('@emotion/styled').StyledComponent<any, {}, {
3
3
  ref?: React.Ref<any> | undefined;
4
4
  }>;
5
5
  export declare const TableRow: React.NamedExoticComponent<any>;
6
- export declare const Skeleton: import("@emotion/styled").StyledComponent<any, {}, {
6
+ export declare const Skeleton: import('@emotion/styled').StyledComponent<any, {}, {
7
7
  ref?: React.Ref<any> | undefined;
8
8
  }>;
9
- export declare const TableBody: import("@emotion/styled").StyledComponent<any, {}, {
9
+ export declare const TableBody: import('@emotion/styled').StyledComponent<any, {}, {
10
10
  ref?: React.Ref<any> | undefined;
11
11
  }>;
12
- export declare const TableCell: import("@emotion/styled").StyledComponent<any, {}, {
12
+ export declare const TableCell: import('@emotion/styled').StyledComponent<any, {}, {
13
13
  ref?: React.Ref<any> | undefined;
14
14
  }>;
15
- export declare const Input: import("@emotion/styled").StyledComponent<any, {}, {
15
+ export declare const Input: import('@emotion/styled').StyledComponent<any, {}, {
16
16
  ref?: React.Ref<any> | undefined;
17
17
  }>;
18
- export declare const TableHeaderRoot: import("@emotion/styled").StyledComponent<any, {}, {
18
+ export declare const TableHeaderRoot: import('@emotion/styled').StyledComponent<any, {}, {
19
19
  ref?: React.Ref<any> | undefined;
20
20
  }>;
21
- export declare const ResizeBox: import("@emotion/styled").StyledComponent<any, {}, {
21
+ export declare const ResizeBox: import('@emotion/styled').StyledComponent<any, {}, {
22
22
  ref?: React.Ref<any> | undefined;
23
23
  }>;
24
- export declare const RightScrollBar: import("@emotion/styled").StyledComponent<any, {}, {
24
+ export declare const RightScrollBar: import('@emotion/styled').StyledComponent<any, {}, {
25
25
  ref?: React.Ref<any> | undefined;
26
26
  }>;
27
- export declare const BottomScrollBar: import("@emotion/styled").StyledComponent<any, {}, {
27
+ export declare const BottomScrollBar: import('@emotion/styled').StyledComponent<any, {}, {
28
28
  ref?: React.Ref<any> | undefined;
29
29
  }>;
30
- export declare const HeaderStyled: import("@emotion/styled").StyledComponent<any, {}, {
30
+ export declare const HeaderStyled: import('@emotion/styled').StyledComponent<any, {}, {
31
31
  ref?: React.Ref<any> | undefined;
32
32
  }>;
33
- export declare const SortContentStyled: import("@emotion/styled").StyledComponent<any, {}, {
33
+ export declare const SortContentStyled: import('@emotion/styled').StyledComponent<any, {}, {
34
34
  ref?: React.Ref<any> | undefined;
35
35
  }>;
36
- export declare const SortButton: import("@emotion/styled").StyledComponent<any, {}, {
36
+ export declare const SortButton: import('@emotion/styled').StyledComponent<any, {}, {
37
37
  ref?: React.Ref<any> | undefined;
38
38
  }>;
39
- export declare const NoraDataGridStyled: import("@emotion/styled").StyledComponent<any, {}, {
39
+ export declare const NoraDataGridStyled: import('@emotion/styled').StyledComponent<any, {}, {
40
40
  ref?: React.Ref<any> | undefined;
41
41
  }>;
42
- export declare const NoraDataGridBodyStyled: import("@emotion/styled").StyledComponent<any, {}, {
42
+ export declare const NoraDataGridBodyStyled: import('@emotion/styled').StyledComponent<any, {}, {
43
43
  ref?: React.Ref<any> | undefined;
44
44
  }>;
45
- export declare const WatermarStyled: import("@emotion/styled").StyledComponent<any, {}, {
45
+ export declare const WatermarStyled: import('@emotion/styled').StyledComponent<any, {}, {
46
46
  ref?: React.Ref<any> | undefined;
47
47
  }>;
@@ -1,6 +1,6 @@
1
- export declare const Scroller: import("@emotion/styled").StyledComponent<any, {}, {
2
- ref?: import("react").Ref<any> | undefined;
1
+ export declare const Scroller: import('@emotion/styled').StyledComponent<any, {}, {
2
+ ref?: import('react').Ref<any> | undefined;
3
3
  }>;
4
- export declare const RenderZone: import("@emotion/styled").StyledComponent<any, {}, {
5
- ref?: import("react").Ref<any> | undefined;
4
+ export declare const RenderZone: import('@emotion/styled').StyledComponent<any, {}, {
5
+ ref?: import('react').Ref<any> | undefined;
6
6
  }>;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- import { DataGridPrivateApi, GirdApiCommon } from "../../types/dataGridProps";
1
+ import { default as React } from 'react';
2
+ import { DataGridPrivateApi, GirdApiCommon } from '../../types/dataGridProps';
3
3
  export default function usePublicTest(apiRef: React.MutableRefObject<GirdApiCommon<DataGridPrivateApi>>): void;
@@ -1,3 +1,3 @@
1
- export { useGridApiRef } from "./useGridApiRef";
2
- export { type GridHeaderPrams, type GridCellPrams } from "../types/dataGridCoreProps";
3
- export { useMouseEvent } from "./useMouseEvent";
1
+ export { useGridApiRef } from './useGridApiRef';
2
+ export { type GridHeaderPrams, type GridCellPrams } from '../types/dataGridCoreProps';
3
+ export { useMouseEvent } from './useMouseEvent';
@@ -1,4 +1,4 @@
1
- import { CellRangeDef } from "../../types/dataGridCoreProps";
1
+ import { CellRangeDef } from '../../types/dataGridCoreProps';
2
2
  declare const useCellRange: () => {
3
3
  cellRange: CellRangeDef[];
4
4
  handleMouseDown: (event: MouseEvent) => void;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- import { DataGridPrivateApi, GirdApiCommon } from "../../types/dataGridProps";
1
+ import { default as React } from 'react';
2
+ import { DataGridPrivateApi, GirdApiCommon } from '../../types/dataGridProps';
3
3
  export default function useInternalPrivateApi(apiRef: React.MutableRefObject<GirdApiCommon<DataGridPrivateApi>>): {};
@@ -1,4 +1,4 @@
1
+ import { DataGridPrivateApi, GirdApiCommon } from '../types/dataGridProps';
1
2
  import * as React from "react";
2
- import { DataGridPrivateApi, GirdApiCommon } from "../types/dataGridProps";
3
3
  declare function useGridApiContext(): React.MutableRefObject<GirdApiCommon<DataGridPrivateApi>>;
4
4
  export default useGridApiContext;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { DataGridPrivateApi, DataGridPublicApi, GirdApiCommon, Visibility } from "../types/dataGridProps";
1
+ import { default as React } from 'react';
2
+ import { DataGridPrivateApi, DataGridPublicApi, GirdApiCommon, Visibility } from '../types/dataGridProps';
3
3
  /**
4
4
  * 객체나 함수를 등록하고 나중에 호출하거나 참조할 때 사용합니다.
5
5
  * @private
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { GirdApi } from "../types/dataGridProps";
1
+ import { default as React } from 'react';
2
+ import { GirdApi } from '../types/dataGridProps';
3
3
  /**
4
4
  * 그리드 Ref Hook
5
5
  * @returns
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import DataGridBasicProps, { DataGridPrivateApiModel, GirdApiCommon } from "../types/dataGridProps";
1
+ import { default as React } from 'react';
2
+ import { default as DataGridBasicProps, DataGridPrivateApiModel, GirdApiCommon } from '../types/dataGridProps';
3
3
  export declare function useAddApi(ref: React.RefObject<GirdApiCommon<DataGridPrivateApiModel>>): void;
4
4
  export declare function useGridInitialization(apiRef: DataGridBasicProps["gridRef"], props: DataGridBasicProps): React.MutableRefObject<GirdApiCommon<DataGridPrivateApiModel>>;
@@ -11,7 +11,7 @@ export declare const useMouseEvent: () => {
11
11
  id: string;
12
12
  field: string;
13
13
  } | null) => void;
14
- handleProcessRowUpdateEvent: (targetRowId?: string) => Promise<import("../types/dataGridCoreProps").DataGridPrivateDataSourceModel | undefined>;
14
+ handleProcessRowUpdateEvent: (targetRowId?: string) => Promise<import('../types/dataGridCoreProps').DataGridPrivateDataSourceModel | undefined>;
15
15
  getNextArrowEvent: (event: KeyboardEvent) => {
16
16
  nextRowId?: string;
17
17
  nextColField?: string;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./DataGrid";
2
- export * from "./hooks";
3
- export * from "./types";
1
+ export * from './DataGrid';
2
+ export * from './hooks';
3
+ export * from './types';