@next-bricks/data-view 1.10.13 → 1.11.0
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/dist/bricks.json +12 -12
- package/dist/chunks/{8826.a293b47f.js → 8826.de9de90b.js} +2 -2
- package/dist/chunks/8826.de9de90b.js.map +1 -0
- package/dist/chunks/china-map.bcf4df6e.js +2 -0
- package/dist/chunks/china-map.bcf4df6e.js.map +1 -0
- package/dist/chunks/{main.44488957.js → main.fb95bab6.js} +2 -2
- package/dist/chunks/{main.44488957.js.map → main.fb95bab6.js.map} +1 -1
- package/dist/examples.json +16 -16
- package/dist/{index.8fb268dd.js → index.163f2ff4.js} +2 -2
- package/dist/{index.8fb268dd.js.map → index.163f2ff4.js.map} +1 -1
- package/dist/manifest.json +154 -154
- package/dist/types.json +1198 -1165
- package/dist-types/china-map/index.d.ts +2 -0
- package/docs/china-map.md +28 -0
- package/package.json +2 -2
- package/dist/chunks/8826.a293b47f.js.map +0 -1
- package/dist/chunks/china-map.a31fb444.js +0 -2
- package/dist/chunks/china-map.a31fb444.js.map +0 -1
package/docs/china-map.md
CHANGED
|
@@ -56,3 +56,31 @@ children:
|
|
|
56
56
|
args:
|
|
57
57
|
- dark-v2
|
|
58
58
|
```
|
|
59
|
+
|
|
60
|
+
### Specific coordinates
|
|
61
|
+
|
|
62
|
+
```yaml preview height="600px"
|
|
63
|
+
brick: div
|
|
64
|
+
properties:
|
|
65
|
+
style:
|
|
66
|
+
height: calc(100vh - 4em)
|
|
67
|
+
position: relative
|
|
68
|
+
children:
|
|
69
|
+
- brick: data-view.china-map
|
|
70
|
+
properties:
|
|
71
|
+
dataSource:
|
|
72
|
+
- text: "山东济南 21348"
|
|
73
|
+
coordinate:
|
|
74
|
+
- 117.1201
|
|
75
|
+
- 36.6512
|
|
76
|
+
- text: "山东青岛 4242"
|
|
77
|
+
coordinate:
|
|
78
|
+
- 119
|
|
79
|
+
- 35.5
|
|
80
|
+
# Currently this brick only looks well within dark theme
|
|
81
|
+
lifeCycle:
|
|
82
|
+
onPageLoad:
|
|
83
|
+
action: theme.setTheme
|
|
84
|
+
args:
|
|
85
|
+
- dark-v2
|
|
86
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/data-view",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/data-view",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"@next-bricks/basic": "*",
|
|
43
43
|
"@next-bricks/icons": "*"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "b5e41ceb140129f566b7896bfc919cfac4c5420f"
|
|
46
46
|
}
|