@antv/s2-vue 1.0.2 → 1.2.0-alpha.1

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
@@ -98,8 +98,11 @@
98
98
  }
99
99
  .antv-s2-tooltip-container {
100
100
  position: fixed;
101
+ user-select: text;
101
102
  min-width: 200px;
102
103
  max-width: 640px;
104
+ max-height: 100vh;
105
+ overflow: auto;
103
106
  z-index: 1024;
104
107
  display: inline-block;
105
108
  background: rgba(255, 255, 255, 0.96);
@@ -128,6 +131,12 @@
128
131
  overflow-wrap: break-word;
129
132
  color: rgba(0, 0, 0, 0.85);
130
133
  }
134
+ .antv-s2-tooltip-description {
135
+ padding: 0 12px 12px;
136
+ line-height: 16px;
137
+ overflow-wrap: break-word;
138
+ color: rgba(0, 0, 0, 0.65);
139
+ }
131
140
  .antv-s2-tooltip-tips {
132
141
  padding: 4px 12px;
133
142
  color: rgba(0, 0, 0, 0.45);
@@ -251,3 +260,57 @@
251
260
  white-space: nowrap;
252
261
  max-width: 64px;
253
262
  }
263
+ .s2-drill-down[data-v-6eb1ccd0] {
264
+ width: 260px;
265
+ min-height: 20px;
266
+ position: relative;
267
+ }
268
+ .s2-drill-down-header[data-v-6eb1ccd0] {
269
+ display: flex;
270
+ height: 32px;
271
+ font-size: 14px;
272
+ padding: 0 16px;
273
+ margin-top: 16px;
274
+ }
275
+ .s2-drill-down-header button[data-v-6eb1ccd0] {
276
+ position: absolute;
277
+ right: 0;
278
+ top: -4px;
279
+ font-size: 12px;
280
+ color: #1890ff;
281
+ letter-spacing: -0.2px;
282
+ line-height: 20px;
283
+ }
284
+ .s2-drill-down-search[data-v-6eb1ccd0] {
285
+ height: 24px;
286
+ width: 228px !important;
287
+ margin: 0 16px;
288
+ border: 1px solid rgba(0, 0, 0, 0.15);
289
+ border-radius: 2px;
290
+ background-color: #fff;
291
+ }
292
+ .s2-drill-down-search input[data-v-6eb1ccd0],
293
+ .s2-drill-down-search span[data-v-6eb1ccd0] {
294
+ font-size: 12px;
295
+ }
296
+ .s2-drill-down-menu[data-v-6eb1ccd0] {
297
+ max-height: 314px;
298
+ overflow-y: auto;
299
+ overflow-x: hidden;
300
+ }
301
+ .s2-drill-down-menu-item[data-v-6eb1ccd0] {
302
+ height: 32px !important;
303
+ line-height: 32px !important;
304
+ font-size: 12px;
305
+ opacity: 0.65;
306
+ }
307
+ .s2-drill-down-menu-item span[data-v-6eb1ccd0]:last-child {
308
+ line-height: 32px;
309
+ }
310
+ .s2-drill-down-menu-item svg[data-v-6eb1ccd0] {
311
+ margin-right: 8px;
312
+ }
313
+ .s2-drill-down-empty[data-v-6eb1ccd0] {
314
+ padding: 18px 18px 0;
315
+ font-size: 12px;
316
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@antv/s2-vue",
4
- "version": "1.0.2",
4
+ "version": "1.2.0-alpha.1",
5
5
  "main": "lib/index.js",
6
6
  "unpkg": "dist/index.min.js",
7
7
  "module": "esm/index.js",
@@ -66,11 +66,12 @@
66
66
  "lodash": "^4.17.21"
67
67
  },
68
68
  "devDependencies": {
69
- "@antv/s2": "*",
69
+ "@antv/s2": "^1.24.0-alpha.1",
70
70
  "@antv/s2-shared": "*",
71
71
  "@testing-library/vue": "^6.5.1",
72
72
  "@vue/tsconfig": "^0.1.3",
73
73
  "ant-design-vue": "^3.2.0",
74
+ "vite-svg-loader": "^3.3.0",
74
75
  "vue": "^3.2.31",
75
76
  "vue-tsc": "^0.34.11"
76
77
  },