@antv/s2-vue 2.0.0-next.13 → 2.0.0-next.15

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
@@ -32,6 +32,9 @@
32
32
  .antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-submenu-arrow {
33
33
  color: var(--antv-s2-font, rgba(0, 0, 0, 0.65));
34
34
  }
35
+ .antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-submenu.ant-menu-submenu-selected {
36
+ background-color: var(--antv-s2-tooltip-operator-menu-selected-background, #e6f4ff);
37
+ }
35
38
  .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item,
36
39
  .antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item,
37
40
  .antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item,
@@ -174,7 +177,7 @@
174
177
  border-radius: 4px;
175
178
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
176
179
  font-size: 12px;
177
- font-family: Roboto, 'PingFang SC', 'Chinese Quote', BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
180
+ font-family: Roboto, 'PingFang SC', 'Chinese Quote', 'Segoe UI', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
178
181
  }
179
182
  .antv-s2-tooltip-container-hide {
180
183
  opacity: 0;
package/package.json CHANGED
@@ -1,25 +1,34 @@
1
1
  {
2
- "private": false,
3
2
  "name": "@antv/s2-vue",
4
- "version": "2.0.0-next.13",
5
- "main": "lib/index.js",
6
- "unpkg": "dist/index.min.js",
7
- "module": "esm/index.js",
8
- "types": "esm/index.d.ts",
3
+ "version": "2.0.0-next.15",
4
+ "private": false,
9
5
  "description": "use S2 with vue",
10
- "license": "MIT",
6
+ "keywords": [
7
+ "antv",
8
+ "s2",
9
+ "s2-vue",
10
+ "spreadsheet",
11
+ "pivot table",
12
+ "table",
13
+ "crossTable"
14
+ ],
11
15
  "homepage": "https://s2.antv.antgroup.com",
12
- "author": "https://github.com/orgs/antvis/people",
13
- "directories": {
14
- "lib": "lib",
15
- "test": "tests"
16
+ "bugs": {
17
+ "url": "https://github.com/antvis/S2/issues"
16
18
  },
17
19
  "repository": {
18
20
  "type": "git",
19
21
  "url": "https://github.com/antvis/S2.git"
20
22
  },
21
- "bugs": {
22
- "url": "https://github.com/antvis/S2/issues"
23
+ "license": "MIT",
24
+ "author": "https://github.com/orgs/antvis/people",
25
+ "main": "lib/index.js",
26
+ "unpkg": "dist/index.min.js",
27
+ "module": "esm/index.js",
28
+ "types": "esm/index.d.ts",
29
+ "directories": {
30
+ "lib": "lib",
31
+ "test": "tests"
23
32
  },
24
33
  "files": [
25
34
  "esm",
@@ -27,40 +36,26 @@
27
36
  "dist",
28
37
  "README.md"
29
38
  ],
30
- "keywords": [
31
- "antv",
32
- "s2",
33
- "s2-vue",
34
- "spreadsheet",
35
- "pivot table",
36
- "table",
37
- "crossTable"
38
- ],
39
39
  "scripts": {
40
- "start": "cross-env PLAYGROUND=true vite",
41
- "clean": "rimraf lib esm dist temp",
42
40
  "build": "npm-run-all clean --parallel build:umd build:cjs build:esm build:dts",
43
- "build:esm": "cross-env FORMAT=es vite build",
44
- "build:cjs": "cross-env FORMAT=cjs vite build",
45
- "build:umd": "cross-env FORMAT=umd vite build",
46
41
  "build:analysis": "cross-env FORMAT=es ANALYSIS=true vite build",
42
+ "build:cjs": "cross-env FORMAT=cjs vite build",
47
43
  "build:dts": "run-s dts:*",
44
+ "build:esm": "cross-env FORMAT=es vite build",
48
45
  "build:size-limit": "size-limit",
49
46
  "build:size-limit-json": "pnpm build:size-limit -- --json",
47
+ "build:umd": "cross-env FORMAT=umd vite build",
48
+ "clean": "rimraf lib esm dist temp",
50
49
  "dts:build": "vue-tsc -p tsconfig.declaration.json",
51
50
  "dts:extract": "cross-env LIB=s2-vue node ../../scripts/dts.js",
52
- "test": "jest --passWithNoTests",
53
- "test:coverage": "pnpm test -- --coverage",
51
+ "start": "cross-env PLAYGROUND=true vite",
52
+ "test": "jest --passWithNoTests --detectOpenHandles",
54
53
  "test:ci": "pnpm test -- --maxWorkers=3",
55
54
  "test:ci-coverage": "pnpm test:coverage --maxWorkers=3",
55
+ "test:coverage": "pnpm test -- --coverage",
56
56
  "test:watch": "pnpm test -- --watch",
57
57
  "tsc": "vue-tsc --noEmit"
58
58
  },
59
- "peerDependencies": {
60
- "@antv/s2": "^2.0.0-next.1",
61
- "ant-design-vue": "^3.2.0",
62
- "vue": ">=3.x"
63
- },
64
59
  "dependencies": {
65
60
  "@vueuse/core": "^10.5.0",
66
61
  "lodash": "^4.17.21"
@@ -76,6 +71,14 @@
76
71
  "vue": "^3.3.4",
77
72
  "vue-tsc": "^1.8.19"
78
73
  },
74
+ "peerDependencies": {
75
+ "@antv/s2": "^2.0.0-next.1",
76
+ "ant-design-vue": "^3.2.0",
77
+ "vue": ">=3.x"
78
+ },
79
+ "publishConfig": {
80
+ "access": "public"
81
+ },
79
82
  "size-limit": [
80
83
  {
81
84
  "path": "./dist/index.min.js",
@@ -87,9 +90,6 @@
87
90
  "limit": "5 kB"
88
91
  }
89
92
  ],
90
- "publishConfig": {
91
- "access": "public"
92
- },
93
93
  "tnpm": {
94
94
  "mode": "pnpm"
95
95
  }