@noraent/nora-datagrid 0.0.2 → 0.0.4

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.
@@ -0,0 +1,56 @@
1
+ $--nora-data-grid-primary-main: red;
2
+
3
+ .nora-data-grid-container {
4
+ * {
5
+ margin: 0;
6
+ padding: 0;
7
+ box-sizing: border-box;
8
+ }
9
+ }
10
+
11
+ /* 전체 페이지에 커스텀 스크롤바 적용 */
12
+ body {
13
+ scrollbar-width: none;
14
+ -ms-overflow-style: none;
15
+
16
+ -webkit-user-select: none;
17
+ -moz-user-select: none;
18
+ -ms-use-select: none;
19
+ user-select: none;
20
+ }
21
+ ::-webkit-scrollbar-track {
22
+ background: transparent;
23
+ }
24
+ ::-webkit-scrollbar-thumb {
25
+ background-color: rgba(0, 0, 0, 0.1);
26
+ border-radius: 3px; /* 둥글게 처리 */
27
+ transition: background-color 0.3s ease;
28
+ }
29
+ ::-webkit-scrollbar-thumb:hover {
30
+ background-color: rgba(0, 0, 0, 0.4);
31
+ }
32
+ ::-webkit-scrollbar-thumb:active {
33
+ background-color: rgba(0, 0, 0, 0.5);
34
+ }
35
+ ::-webkit-scrollbar {
36
+ width: 10px;
37
+ height: 10px;
38
+ }
39
+ body:hover ::-webkit-scrollbar {
40
+ width: 10px;
41
+ height: 10px;
42
+ }
43
+
44
+ .range-1 {
45
+ background-color: #efe8ffdc;
46
+ }
47
+ .range-2 {
48
+ background-color: #efe8ffdc;
49
+
50
+ // background-color: rgba(40, 255, 130, 0.521);
51
+ }
52
+ .range-3 {
53
+ background-color: #efe8ffdc;
54
+
55
+ // background-color: rgba(40, 255, 130, 0.808);
56
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noraent/nora-datagrid",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "module": "./lib/esm/index.js",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "private": false,
@@ -18,9 +18,10 @@
18
18
  "lint": "eslint .",
19
19
  "preview": "vite preview",
20
20
  "test": "jest",
21
- "tsc-build": "tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json",
22
- "publish:npm": "rm -rf dist && mkdir dist && babel src -d dist --copy-files && npm run copy-package",
23
- "copy-package": "cp package.json dist/buildPackage.json && cp package.json lib/cjs/buildPackage.json&& cp package.json lib/esm/buildPackage.json"
21
+ "tsc-build": "tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json && npm run copy-scss",
22
+ "publish:npm": "rm -rf dist && mkdir dist && babel src -d dist --copy-files && npm run copy-package ",
23
+ "copy-package": "cp package.json dist/buildPackage.json && cp package.json lib/cjs/buildPackage.json&& cp package.json lib/esm/buildPackage.json",
24
+ "copy-scss": "cpx \"src/**/*.scss\" lib/cjs && cpx \"src/**/*.scss\" lib/esm"
24
25
  },
25
26
  "dependencies": {
26
27
  "@emotion/css": "^11.13.4",
@@ -42,6 +43,7 @@
42
43
  "@types/react": "^18.3.3",
43
44
  "@types/react-dom": "^18.3.0",
44
45
  "@vitejs/plugin-react": "^4.3.1",
46
+ "cpx": "^1.5.0",
45
47
  "eslint": "^9.9.0",
46
48
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
47
49
  "eslint-plugin-react-refresh": "^0.4.9",
@@ -0,0 +1,56 @@
1
+ $--nora-data-grid-primary-main: red;
2
+
3
+ .nora-data-grid-container {
4
+ * {
5
+ margin: 0;
6
+ padding: 0;
7
+ box-sizing: border-box;
8
+ }
9
+ }
10
+
11
+ /* 전체 페이지에 커스텀 스크롤바 적용 */
12
+ body {
13
+ scrollbar-width: none;
14
+ -ms-overflow-style: none;
15
+
16
+ -webkit-user-select: none;
17
+ -moz-user-select: none;
18
+ -ms-use-select: none;
19
+ user-select: none;
20
+ }
21
+ ::-webkit-scrollbar-track {
22
+ background: transparent;
23
+ }
24
+ ::-webkit-scrollbar-thumb {
25
+ background-color: rgba(0, 0, 0, 0.1);
26
+ border-radius: 3px; /* 둥글게 처리 */
27
+ transition: background-color 0.3s ease;
28
+ }
29
+ ::-webkit-scrollbar-thumb:hover {
30
+ background-color: rgba(0, 0, 0, 0.4);
31
+ }
32
+ ::-webkit-scrollbar-thumb:active {
33
+ background-color: rgba(0, 0, 0, 0.5);
34
+ }
35
+ ::-webkit-scrollbar {
36
+ width: 10px;
37
+ height: 10px;
38
+ }
39
+ body:hover ::-webkit-scrollbar {
40
+ width: 10px;
41
+ height: 10px;
42
+ }
43
+
44
+ .range-1 {
45
+ background-color: #efe8ffdc;
46
+ }
47
+ .range-2 {
48
+ background-color: #efe8ffdc;
49
+
50
+ // background-color: rgba(40, 255, 130, 0.521);
51
+ }
52
+ .range-3 {
53
+ background-color: #efe8ffdc;
54
+
55
+ // background-color: rgba(40, 255, 130, 0.808);
56
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noraent/nora-datagrid",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "module": "./lib/esm/index.js",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "private": false,
@@ -18,9 +18,10 @@
18
18
  "lint": "eslint .",
19
19
  "preview": "vite preview",
20
20
  "test": "jest",
21
- "tsc-build": "tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json",
22
- "publish:npm": "rm -rf dist && mkdir dist && babel src -d dist --copy-files && npm run copy-package",
23
- "copy-package": "cp package.json dist/buildPackage.json && cp package.json lib/cjs/buildPackage.json&& cp package.json lib/esm/buildPackage.json"
21
+ "tsc-build": "tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json && npm run copy-scss",
22
+ "publish:npm": "rm -rf dist && mkdir dist && babel src -d dist --copy-files && npm run copy-package ",
23
+ "copy-package": "cp package.json dist/buildPackage.json && cp package.json lib/cjs/buildPackage.json&& cp package.json lib/esm/buildPackage.json",
24
+ "copy-scss": "cpx \"src/**/*.scss\" lib/cjs && cpx \"src/**/*.scss\" lib/esm"
24
25
  },
25
26
  "dependencies": {
26
27
  "@emotion/css": "^11.13.4",
@@ -42,6 +43,7 @@
42
43
  "@types/react": "^18.3.3",
43
44
  "@types/react-dom": "^18.3.0",
44
45
  "@vitejs/plugin-react": "^4.3.1",
46
+ "cpx": "^1.5.0",
45
47
  "eslint": "^9.9.0",
46
48
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
47
49
  "eslint-plugin-react-refresh": "^0.4.9",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noraent/nora-datagrid",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "module": "./lib/esm/index.js",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "private": false,
@@ -18,9 +18,10 @@
18
18
  "lint": "eslint .",
19
19
  "preview": "vite preview",
20
20
  "test": "jest",
21
- "tsc-build": "tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json",
22
- "publish:npm": "rm -rf dist && mkdir dist && babel src -d dist --copy-files && npm run copy-package",
23
- "copy-package": "cp package.json dist/buildPackage.json && cp package.json lib/cjs/buildPackage.json&& cp package.json lib/esm/buildPackage.json"
21
+ "tsc-build": "tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json && npm run copy-scss",
22
+ "publish:npm": "rm -rf dist && mkdir dist && babel src -d dist --copy-files && npm run copy-package ",
23
+ "copy-package": "cp package.json dist/buildPackage.json && cp package.json lib/cjs/buildPackage.json&& cp package.json lib/esm/buildPackage.json",
24
+ "copy-scss": "cpx \"src/**/*.scss\" lib/cjs && cpx \"src/**/*.scss\" lib/esm"
24
25
  },
25
26
  "dependencies": {
26
27
  "@emotion/css": "^11.13.4",
@@ -42,6 +43,7 @@
42
43
  "@types/react": "^18.3.3",
43
44
  "@types/react-dom": "^18.3.0",
44
45
  "@vitejs/plugin-react": "^4.3.1",
46
+ "cpx": "^1.5.0",
45
47
  "eslint": "^9.9.0",
46
48
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
47
49
  "eslint-plugin-react-refresh": "^0.4.9",