datastake-daf 0.6.95 → 0.6.97
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/style/datastake/_index.css +5 -0
- package/dist/style/datastake/datastake.css +5081 -0
- package/dist/style/{fonts → datastake/fonts}/sfDisplay.css +1 -1
- package/dist/style/datastake/leaflet.css +671 -0
- package/dist/style/datastake/leaflet.markercluster.css +60 -0
- package/package.json +107 -108
- package/rollup.config.js +130 -129
- package/src/styles/datastake/fonts/sfDisplay.css +1 -1
- /package/dist/style/{fonts → datastake/fonts}/Outfit-Black.ttf +0 -0
- /package/dist/style/{fonts → datastake/fonts}/Outfit-Bold.ttf +0 -0
- /package/dist/style/{fonts → datastake/fonts}/Outfit-ExtraBold.ttf +0 -0
- /package/dist/style/{fonts → datastake/fonts}/Outfit-ExtraLight.ttf +0 -0
- /package/dist/style/{fonts → datastake/fonts}/Outfit-Light.ttf +0 -0
- /package/dist/style/{fonts → datastake/fonts}/Outfit-Medium.ttf +0 -0
- /package/dist/style/{fonts → datastake/fonts}/Outfit-Regular.ttf +0 -0
- /package/dist/style/{fonts → datastake/fonts}/Outfit-SemiBold.ttf +0 -0
- /package/dist/style/{fonts → datastake/fonts}/Outfit-Thin.ttf +0 -0
- /package/dist/style/{fonts → datastake/fonts}/outfit.css +0 -0
- /package/dist/style/{fonts → datastake/fonts}/sf-ui-display-black-58646a6b80d5a.woff +0 -0
- /package/dist/style/{fonts → datastake/fonts}/sf-ui-display-bold-58646a511e3d9.woff +0 -0
- /package/dist/style/{fonts → datastake/fonts}/sf-ui-display-heavy-586470160b9e5.woff +0 -0
- /package/dist/style/{fonts → datastake/fonts}/sf-ui-display-light-58646b33e0551.woff +0 -0
- /package/dist/style/{fonts → datastake/fonts}/sf-ui-display-medium-58646be638f96.woff +0 -0
- /package/dist/style/{fonts → datastake/fonts}/sf-ui-display-semibold-58646eddcae92.woff +0 -0
- /package/dist/style/{fonts → datastake/fonts}/sf-ui-display-thin-58646e9b26e8b.woff +0 -0
- /package/dist/style/{fonts → datastake/fonts}/sf-ui-display-ultralight-58646b19bf205.woff +0 -0
package/package.json
CHANGED
|
@@ -1,110 +1,109 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
"style": "dist/style/style.css"
|
|
2
|
+
"name": "datastake-daf",
|
|
3
|
+
"version": "0.6.97",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@ant-design/icons": "^5.2.5",
|
|
6
|
+
"@antv/g2": "^5.1.1",
|
|
7
|
+
"@antv/g2plot": "^2.4.32",
|
|
8
|
+
"@elfalem/leaflet-curve": "^0.9.2",
|
|
9
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
10
|
+
"@testing-library/react": "^13.4.0",
|
|
11
|
+
"@testing-library/user-event": "^13.5.0",
|
|
12
|
+
"@xyflow/react": "^12.4.3",
|
|
13
|
+
"antd": ">=5.4.0",
|
|
14
|
+
"axios": "^1.4.0",
|
|
15
|
+
"buffer": "^6.0.3",
|
|
16
|
+
"countries-list": "^2.6.1",
|
|
17
|
+
"country-city-location": "^1.0.13",
|
|
18
|
+
"datastake-daf": "^0.5.780",
|
|
19
|
+
"dayjs": "^1.11.12",
|
|
20
|
+
"deepmerge": "^4.3.1",
|
|
21
|
+
"dot-object": "^2.1.5",
|
|
22
|
+
"leaflet": "^1.0.3",
|
|
23
|
+
"leaflet-editable": "^1.3.0",
|
|
24
|
+
"leaflet-geosearch": "^3.1.0",
|
|
25
|
+
"leaflet.heat": "^0.2.0",
|
|
26
|
+
"leaflet.markercluster": "^1.4.1",
|
|
27
|
+
"lodash": "^4.17.21",
|
|
28
|
+
"mapbox-gl": "^3.14.0",
|
|
29
|
+
"moment": "^2.29.4",
|
|
30
|
+
"react": "^18.3.1",
|
|
31
|
+
"react-collapsed": "^4.1.2",
|
|
32
|
+
"react-dom": "^18.3.1",
|
|
33
|
+
"react-flow-renderer": "^9.6.0",
|
|
34
|
+
"react-html-parser": "^2.0.2",
|
|
35
|
+
"react-scripts": "^5.0.1",
|
|
36
|
+
"reactflow": "^11.11.4",
|
|
37
|
+
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
38
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
39
|
+
"styled-components": "^6.1.12",
|
|
40
|
+
"web-vitals": "^2.1.4"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"start": "react-scripts start",
|
|
44
|
+
"build": "react-scripts build",
|
|
45
|
+
"build-dist": "rollup -c",
|
|
46
|
+
"start-dist": "rollup -c -w",
|
|
47
|
+
"test": "react-scripts test",
|
|
48
|
+
"eject": "react-scripts eject",
|
|
49
|
+
"storybook": "storybook dev -p 6006",
|
|
50
|
+
"build-storybook": "storybook build",
|
|
51
|
+
"deploy-storybook": "storybook-deployer --ci",
|
|
52
|
+
"prepare": "rollup -c",
|
|
53
|
+
"prepublishOnly": "rollup -c",
|
|
54
|
+
"release": "node ./scripts/prepublish-check.js",
|
|
55
|
+
"chromatic": "npx chromatic --project-token=chpt_2f5aa5550a15e1d --exit-zero-on-changes"
|
|
56
|
+
},
|
|
57
|
+
"browserslist": {
|
|
58
|
+
"production": [
|
|
59
|
+
">0.2%",
|
|
60
|
+
"not dead",
|
|
61
|
+
"not op_mini all"
|
|
62
|
+
],
|
|
63
|
+
"development": [
|
|
64
|
+
"last 1 chrome version",
|
|
65
|
+
"last 1 firefox version",
|
|
66
|
+
"last 1 safari version"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@babel/plugin-syntax-jsx": "^7.24.7",
|
|
71
|
+
"@babel/preset-react": "^7.18.6",
|
|
72
|
+
"@rollup/plugin-commonjs": "^28.0.1",
|
|
73
|
+
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
74
|
+
"@storybook/addon-essentials": "^7.2.3",
|
|
75
|
+
"@storybook/addon-interactions": "^7.2.3",
|
|
76
|
+
"@storybook/addon-links": "^7.2.3",
|
|
77
|
+
"@storybook/addon-styling": "^2.0.2-next.3",
|
|
78
|
+
"@storybook/blocks": "^7.2.3",
|
|
79
|
+
"@storybook/preset-create-react-app": "^7.2.3",
|
|
80
|
+
"@storybook/react": "^7.2.3",
|
|
81
|
+
"@storybook/react-webpack5": "^7.2.3",
|
|
82
|
+
"@storybook/testing-library": "^0.2.1-next.0",
|
|
83
|
+
"babel": "^6.23.0",
|
|
84
|
+
"babel-plugin-import": "^1.13.6",
|
|
85
|
+
"babel-plugin-named-exports-order": "^0.0.2",
|
|
86
|
+
"chromatic": "^12.1.0",
|
|
87
|
+
"eslint": "^8.40.0",
|
|
88
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
89
|
+
"eslint-plugin-import": "^2.27.5",
|
|
90
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
91
|
+
"eslint-plugin-react": "^7.33.1",
|
|
92
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
93
|
+
"prop-types": "^15.8.1",
|
|
94
|
+
"rollup": "^2.79.1",
|
|
95
|
+
"rollup-plugin-babel": "^4.4.0",
|
|
96
|
+
"rollup-plugin-commonjs": "^10.1.0",
|
|
97
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
98
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
99
|
+
"sass": "^1.62.0",
|
|
100
|
+
"sass-loader": "^13.2.2",
|
|
101
|
+
"semver": "^7.7.2",
|
|
102
|
+
"storybook": "^7.2.3",
|
|
103
|
+
"storybook-deployer": "^2.8.12",
|
|
104
|
+
"webpack": "^5.78.0"
|
|
105
|
+
},
|
|
106
|
+
"peerDependencies": {
|
|
107
|
+
"antd": ">=5.4.0"
|
|
108
|
+
}
|
|
110
109
|
}
|
package/rollup.config.js
CHANGED
|
@@ -8,137 +8,138 @@ import copy from "rollup-plugin-copy";
|
|
|
8
8
|
|
|
9
9
|
// When you add a new package and you have problems publishing, you can add it here and try publishing again
|
|
10
10
|
const external = [
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
11
|
+
"react",
|
|
12
|
+
"react-dom",
|
|
13
|
+
"react-dom/client",
|
|
14
|
+
"antd",
|
|
15
|
+
"prop-types",
|
|
16
|
+
"dayjs",
|
|
17
|
+
"dayjs",
|
|
18
|
+
"moment",
|
|
19
|
+
"leaflet",
|
|
20
|
+
"react-is",
|
|
21
|
+
"countries-list",
|
|
22
|
+
"react/jsx-runtime",
|
|
23
|
+
"lodash",
|
|
24
|
+
"lodash.camelcase",
|
|
25
|
+
"@antv/g2",
|
|
26
|
+
"dot-object",
|
|
27
|
+
"react-collapsed",
|
|
28
|
+
"leaflet-geosearch",
|
|
29
|
+
"react-html-parser",
|
|
30
|
+
"styled-component",
|
|
31
|
+
"@ant-design/icons",
|
|
32
|
+
"deepmerge",
|
|
33
|
+
"leaflet.heat",
|
|
34
|
+
"leaflet.markercluster",
|
|
35
|
+
"react-flow-renderer",
|
|
36
|
+
"country-city-location",
|
|
37
|
+
"@antv/g2plot",
|
|
38
|
+
"@xyflow/react",
|
|
39
|
+
"leaflet-editable",
|
|
40
|
+
"@xyflow/react",
|
|
41
|
+
"zustand/shallow",
|
|
42
|
+
"@elfalem/leaflet-curve",
|
|
43
43
|
];
|
|
44
44
|
|
|
45
45
|
// Four builds, components, utils, hooks, context
|
|
46
46
|
export default [
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
47
|
+
{
|
|
48
|
+
input: "src/index.js",
|
|
49
|
+
output: [
|
|
50
|
+
{
|
|
51
|
+
file: "dist/components/index.js",
|
|
52
|
+
format: "cjs",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
external,
|
|
56
|
+
plugins: [
|
|
57
|
+
nodePolyfills(),
|
|
58
|
+
resolve({ browser: true }),
|
|
59
|
+
babel({ exclude: "node_modules/**", babelrc: true }),
|
|
60
|
+
peerDep(),
|
|
61
|
+
commonjs({
|
|
62
|
+
include: /node_modules/,
|
|
63
|
+
requireReturnsDefault: "auto",
|
|
64
|
+
}),
|
|
65
|
+
postcss({
|
|
66
|
+
extract: true,
|
|
67
|
+
minimize: true,
|
|
68
|
+
modules: true,
|
|
69
|
+
}),
|
|
70
|
+
],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
input: "src/utils.js",
|
|
74
|
+
output: [
|
|
75
|
+
{
|
|
76
|
+
file: "dist/utils/index.js",
|
|
77
|
+
format: "cjs",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
external,
|
|
81
|
+
plugins: [
|
|
82
|
+
nodePolyfills(),
|
|
83
|
+
resolve({ browser: true }),
|
|
84
|
+
babel({ exclude: "node_modules/**", babelrc: true }),
|
|
85
|
+
peerDep(),
|
|
86
|
+
commonjs({
|
|
87
|
+
include: /node_modules/,
|
|
88
|
+
requireReturnsDefault: "auto",
|
|
89
|
+
}),
|
|
90
|
+
],
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
input: "src/hooks.js",
|
|
94
|
+
output: [
|
|
95
|
+
{
|
|
96
|
+
file: "dist/hooks/index.js",
|
|
97
|
+
format: "cjs",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
external,
|
|
101
|
+
plugins: [
|
|
102
|
+
nodePolyfills(),
|
|
103
|
+
resolve({ browser: true }),
|
|
104
|
+
babel({ exclude: "node_modules/**", babelrc: true }),
|
|
105
|
+
peerDep(),
|
|
106
|
+
commonjs({
|
|
107
|
+
include: /node_modules/,
|
|
108
|
+
requireReturnsDefault: "auto",
|
|
109
|
+
}),
|
|
110
|
+
],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
input: "src/context.js",
|
|
114
|
+
output: [
|
|
115
|
+
{
|
|
116
|
+
file: "dist/context/index.js",
|
|
117
|
+
format: "cjs",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
external,
|
|
121
|
+
plugins: [resolve(), babel({ exclude: "node_modules/**" }), peerDep()],
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
input: "src/styles/datastake.scss",
|
|
125
|
+
output: [
|
|
126
|
+
{
|
|
127
|
+
file: "dist/style/style.css",
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
plugins: [
|
|
131
|
+
postcss({
|
|
132
|
+
extract: "style.css",
|
|
133
|
+
minimize: true,
|
|
134
|
+
sourceMap: false,
|
|
135
|
+
extensions: [".scss"],
|
|
136
|
+
use: [["sass", { javascriptEnabled: true }]],
|
|
137
|
+
}),
|
|
138
|
+
copy({
|
|
139
|
+
targets: [
|
|
140
|
+
{ src: "src/styles/datastake/*", dest: "dist/style/datastake" },
|
|
141
|
+
],
|
|
142
|
+
}),
|
|
143
|
+
],
|
|
144
|
+
},
|
|
144
145
|
];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|