@noraent/nora-datagrid 0.0.64 → 0.0.65

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noraent/nora-datagrid",
3
- "version": "0.0.64",
3
+ "version": "0.0.65",
4
4
  "module": "./lib/esm/index.js",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "private": false,
@@ -8,6 +8,7 @@
8
8
  "lib/"
9
9
  ],
10
10
  "type": "module",
11
+ "sideEffects": false,
11
12
  "scripts": {
12
13
  "start": "vite --mode on-local",
13
14
  "build:local": "tsc -b && vite build --mode on-local",
@@ -32,8 +33,7 @@
32
33
  "react": "^18.3.1",
33
34
  "react-dom": "^18.3.1",
34
35
  "rimraf": "^6.0.1",
35
- "sass-embedded": "^1.79.4",
36
- "vite-plugin-svgr": "^4.2.0"
36
+ "sass-embedded": "^1.79.4"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@babel/cli": "^7.26.4",
@@ -49,9 +49,11 @@
49
49
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
50
50
  "eslint-plugin-react-refresh": "^0.4.9",
51
51
  "globals": "^15.9.0",
52
+ "terser": "^5.39.0",
52
53
  "typescript": "^5.5.3",
53
54
  "typescript-eslint": "^8.0.1",
54
- "vite": "^5.4.1"
55
+ "vite": "^5.4.1",
56
+ "vite-plugin-svgr": "^4.2.0"
55
57
  },
56
58
  "babel": {
57
59
  "presets": [
@@ -1 +1,2 @@
1
1
  export * from "./defaultProps";
2
+ export * from "./useEventCallback";
@@ -1 +1,2 @@
1
1
  export * from "./defaultProps";
2
+ export * from "./useEventCallback";
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from "react";
3
2
  const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
4
3
  export default useEnhancedEffect;
@@ -1,6 +1,5 @@
1
- "use client";
2
1
  import * as React from "react";
3
- import useEnhancedEffect from "./useEnhancedEffect";
2
+ import useEnhancedEffect from "./useEnhancedEffect/index";
4
3
  function useEventCallback(fn) {
5
4
  const ref = React.useRef(fn);
6
5
  useEnhancedEffect(() => {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noraent/nora-datagrid",
3
- "version": "0.0.64",
3
+ "version": "0.0.65",
4
4
  "module": "./lib/esm/index.js",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "private": false,
@@ -8,6 +8,7 @@
8
8
  "lib/"
9
9
  ],
10
10
  "type": "module",
11
+ "sideEffects": false,
11
12
  "scripts": {
12
13
  "start": "vite --mode on-local",
13
14
  "build:local": "tsc -b && vite build --mode on-local",
@@ -32,8 +33,7 @@
32
33
  "react": "^18.3.1",
33
34
  "react-dom": "^18.3.1",
34
35
  "rimraf": "^6.0.1",
35
- "sass-embedded": "^1.79.4",
36
- "vite-plugin-svgr": "^4.2.0"
36
+ "sass-embedded": "^1.79.4"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@babel/cli": "^7.26.4",
@@ -49,9 +49,11 @@
49
49
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
50
50
  "eslint-plugin-react-refresh": "^0.4.9",
51
51
  "globals": "^15.9.0",
52
+ "terser": "^5.39.0",
52
53
  "typescript": "^5.5.3",
53
54
  "typescript-eslint": "^8.0.1",
54
- "vite": "^5.4.1"
55
+ "vite": "^5.4.1",
56
+ "vite-plugin-svgr": "^4.2.0"
55
57
  },
56
58
  "babel": {
57
59
  "presets": [
@@ -1 +1,2 @@
1
1
  export * from "./defaultProps";
2
+ export * from "./useEventCallback";
@@ -1 +1,2 @@
1
1
  export * from "./defaultProps";
2
+ export * from "./useEventCallback";
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from "react";
3
2
  const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
4
3
  export default useEnhancedEffect;
@@ -1,6 +1,5 @@
1
- "use client";
2
1
  import * as React from "react";
3
- import useEnhancedEffect from "./useEnhancedEffect";
2
+ import useEnhancedEffect from "./useEnhancedEffect/index";
4
3
  function useEventCallback(fn) {
5
4
  const ref = React.useRef(fn);
6
5
  useEnhancedEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noraent/nora-datagrid",
3
- "version": "0.0.64",
3
+ "version": "0.0.65",
4
4
  "module": "./lib/esm/index.js",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "private": false,
@@ -8,6 +8,7 @@
8
8
  "lib/"
9
9
  ],
10
10
  "type": "module",
11
+ "sideEffects": false,
11
12
  "scripts": {
12
13
  "start": "vite --mode on-local",
13
14
  "build:local": "tsc -b && vite build --mode on-local",
@@ -32,8 +33,7 @@
32
33
  "react": "^18.3.1",
33
34
  "react-dom": "^18.3.1",
34
35
  "rimraf": "^6.0.1",
35
- "sass-embedded": "^1.79.4",
36
- "vite-plugin-svgr": "^4.2.0"
36
+ "sass-embedded": "^1.79.4"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@babel/cli": "^7.26.4",
@@ -49,9 +49,11 @@
49
49
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
50
50
  "eslint-plugin-react-refresh": "^0.4.9",
51
51
  "globals": "^15.9.0",
52
+ "terser": "^5.39.0",
52
53
  "typescript": "^5.5.3",
53
54
  "typescript-eslint": "^8.0.1",
54
- "vite": "^5.4.1"
55
+ "vite": "^5.4.1",
56
+ "vite-plugin-svgr": "^4.2.0"
55
57
  },
56
58
  "babel": {
57
59
  "presets": [