stk-table-vue 0.6.8 → 0.6.10

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.
package/lib/style.css CHANGED
@@ -14,7 +14,7 @@
14
14
  --td-bgc:#fff;
15
15
  --td-hover-color:#71a2fd;
16
16
  --td-active-color:#386ccc;
17
- --th-bgc:#fafafc;
17
+ --th-bgc:#f1f1f9;
18
18
  --th-color:#272841;
19
19
  --tr-active-bgc:#e6f7ff;
20
20
  --tr-hover-bgc:rgba(230, 247, 255, 0.7);
@@ -42,7 +42,7 @@
42
42
  }
43
43
  .stk-table.dark{
44
44
  --th-bgc:#202029;
45
- --th-color:#C0C0D1;
45
+ --th-color:#c0c0d1;
46
46
  --td-bgc:#1b1b24;
47
47
  --td-hover-color:#70a6ff;
48
48
  --td-active-color:#386ccc;
@@ -174,6 +174,15 @@
174
174
  .stk-table.fixed-relative-mode .fixed-cell--active{
175
175
  position:relative;
176
176
  }
177
+ .stk-table.scroll-row-by-row .stk-table-main{
178
+ position:sticky;
179
+ top:0;
180
+ }
181
+ .stk-table .row-by-row-table-height{
182
+ width:1px;
183
+ position:absolute;
184
+ left:0;
185
+ }
177
186
  .stk-table th,
178
187
  .stk-table td{
179
188
  font-size:14px;
package/package.json CHANGED
@@ -1,75 +1,75 @@
1
- {
2
- "name": "stk-table-vue",
3
- "version": "0.6.8",
4
- "description": "Simple realtime virtual table for vue3 and vue2.7",
5
- "main": "./lib/stk-table-vue.js",
6
- "types": "./lib/src/StkTable/index.d.ts",
7
- "packageManager": "pnpm@8.14.3",
8
- "directories": {
9
- "test": "test"
10
- },
11
- "type": "module",
12
- "scripts": {
13
- "dev": "vite",
14
- "build": "vite build",
15
- "test": "vitest",
16
- "docs:dev": "vitepress dev docs-src",
17
- "docs:build": "vitepress build docs-src",
18
- "docs:preview": "vitepress preview docs-src",
19
- "docs:update": "cp -rf ./docs-src/.vitepress/dist/* ./docs"
20
- },
21
- "keywords": [
22
- "virtual table",
23
- "vue",
24
- "vue2",
25
- "vue3",
26
- "highlight",
27
- "sticky",
28
- "virtual",
29
- "table",
30
- "list"
31
- ],
32
- "files": [
33
- "lib",
34
- "src"
35
- ],
36
- "author": "japlus",
37
- "repository": {
38
- "type": "git",
39
- "url": "https://github.com/ja-plus/stk-table-vue"
40
- },
41
- "license": "MIT",
42
- "devDependencies": {
43
- "@types/d3-interpolate": "^3.0.4",
44
- "@types/mockjs": "^1.0.10",
45
- "@types/node": "^20.12.10",
46
- "@typescript-eslint/eslint-plugin": "^7.7.0",
47
- "@typescript-eslint/parser": "^7.7.0",
48
- "@vitejs/plugin-vue": "^5.1.4",
49
- "@vue/test-utils": "2.4.4",
50
- "eslint": "^8.57.0",
51
- "eslint-config-prettier": "^9.1.0",
52
- "eslint-plugin-html": "^8.1.0",
53
- "eslint-plugin-prettier": "^5.1.3",
54
- "eslint-plugin-vue": "^9.25.0",
55
- "happy-dom": "^12.10.3",
56
- "less": "^4.2.0",
57
- "mitt": "^3.0.1",
58
- "mockjs": "^1.1.0",
59
- "postcss": "^8.4.47",
60
- "postcss-discard-comments": "^6.0.2",
61
- "postcss-preset-env": "^9.5.11",
62
- "prettier": "^3.2.5",
63
- "typescript": "^5.4.5",
64
- "vite": "^5.4.10",
65
- "vite-plugin-dts": "3.9.1",
66
- "vitepress": "^1.5.0",
67
- "vitepress-demo-plugin": "^1.2.2",
68
- "vitest": "^2.1.3",
69
- "vue": "^3.5.12",
70
- "vue-eslint-parser": "^9.4.2"
71
- },
72
- "dependencies": {
73
- "d3-interpolate": "^3.0.1"
74
- }
1
+ {
2
+ "name": "stk-table-vue",
3
+ "version": "0.6.10",
4
+ "description": "Simple realtime virtual table for vue3 and vue2.7",
5
+ "main": "./lib/stk-table-vue.js",
6
+ "types": "./lib/src/StkTable/index.d.ts",
7
+ "packageManager": "pnpm@10.7.0",
8
+ "directories": {
9
+ "test": "test"
10
+ },
11
+ "type": "module",
12
+ "scripts": {
13
+ "dev": "vite",
14
+ "build": "vite build",
15
+ "test": "vitest",
16
+ "docs:dev": "vitepress dev docs-src",
17
+ "docs:build": "vitepress build docs-src",
18
+ "docs:preview": "vitepress preview docs-src",
19
+ "docs:update": "cp -rf ./docs-src/.vitepress/dist/* ./docs"
20
+ },
21
+ "keywords": [
22
+ "virtual table",
23
+ "vue",
24
+ "vue2",
25
+ "vue3",
26
+ "highlight",
27
+ "sticky",
28
+ "virtual",
29
+ "table",
30
+ "list"
31
+ ],
32
+ "files": [
33
+ "lib",
34
+ "src"
35
+ ],
36
+ "author": "japlus",
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "https://github.com/ja-plus/stk-table-vue"
40
+ },
41
+ "license": "MIT",
42
+ "devDependencies": {
43
+ "@types/d3-interpolate": "^3.0.4",
44
+ "@types/mockjs": "^1.0.10",
45
+ "@types/node": "^20.12.10",
46
+ "@typescript-eslint/eslint-plugin": "^7.7.0",
47
+ "@typescript-eslint/parser": "^7.7.0",
48
+ "@vitejs/plugin-vue": "^5.1.4",
49
+ "@vue/test-utils": "2.4.4",
50
+ "eslint": "^8.57.0",
51
+ "eslint-config-prettier": "^9.1.0",
52
+ "eslint-plugin-html": "^8.1.0",
53
+ "eslint-plugin-prettier": "^5.1.3",
54
+ "eslint-plugin-vue": "^9.25.0",
55
+ "happy-dom": "^12.10.3",
56
+ "less": "^4.2.0",
57
+ "mitt": "^3.0.1",
58
+ "mockjs": "^1.1.0",
59
+ "postcss": "^8.4.47",
60
+ "postcss-discard-comments": "^6.0.2",
61
+ "postcss-preset-env": "^9.5.11",
62
+ "prettier": "^3.2.5",
63
+ "typescript": "^5.4.5",
64
+ "vite": "^5.4.10",
65
+ "vite-plugin-dts": "3.9.1",
66
+ "vitepress": "^1.5.0",
67
+ "vitepress-demo-plugin": "^1.3.1",
68
+ "vitest": "^2.1.3",
69
+ "vue": "^3.5.12",
70
+ "vue-eslint-parser": "^9.4.2"
71
+ },
72
+ "dependencies": {
73
+ "d3-interpolate": "^3.0.1"
74
+ }
75
75
  }