@splunk/visualizations 28.9.0 → 28.9.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/Area.js +2 -2
- package/Bar.js +2 -2
- package/Bubble.js +2 -2
- package/CHANGELOG.external.md +28 -16
- package/ChoroplethSvg.js +2 -2
- package/Column.js +2 -2
- package/Ellipse.js +2 -2
- package/Events.js +2 -2
- package/FillerGauge.js +2 -2
- package/Image.js +2 -2
- package/Line.js +2 -2
- package/LinkGraph.js +2 -2
- package/Map/PureMap/ChoroplethLayer.d.ts.map +1 -1
- package/Map/PureMap/PureMap.d.ts.map +1 -1
- package/Map/PureMap/mapWorker.d.ts +2 -0
- package/Map/PureMap/mapWorker.d.ts.map +1 -0
- package/Map.js +79 -26
- package/Map.js.map +3 -3
- package/Markdown.js +2 -2
- package/MarkerGauge.js +2 -2
- package/NetworkGraph.js +2 -2
- package/ParallelCoordinates.js +2 -2
- package/Pie.js +2 -2
- package/ProcessTree.js +2 -2
- package/Punchcard.js +2 -2
- package/Rectangle.js +2 -2
- package/RichText.js +2 -2
- package/Sankey.js +2 -2
- package/Scatter.js +2 -2
- package/SingleValue.js +2 -2
- package/SingleValueIcon.js +2 -2
- package/SingleValueRadial.js +2 -2
- package/Table.js +2 -2
- package/Timeline.js +2 -2
- package/Treemap.js +2 -2
- package/common/DocExampleWithVizSandbox.d.ts +2 -0
- package/common/DocExampleWithVizSandbox.d.ts.map +1 -1
- package/common/DocExampleWithVizSandbox.js +51 -3
- package/common/DocExampleWithVizSandbox.js.map +2 -2
- package/common/OverviewDoc.js +51 -3
- package/common/OverviewDoc.js.map +2 -2
- package/common/utils/mapUtils.js +3 -3
- package/common/utils/mapUtils.js.map +2 -2
- package/common/withDashboardViz.js +2 -2
- package/docs-llm/map/examples-react.md +39 -39
- package/package.json +23 -20
|
@@ -479,7 +479,7 @@ var Cover = styled_components_default.div`
|
|
|
479
479
|
bottom: 0;
|
|
480
480
|
`;
|
|
481
481
|
var Blocker = styled_components_default.div.attrs({
|
|
482
|
-
"data-splunk-visualization-version": "28.9.
|
|
482
|
+
"data-splunk-visualization-version": "28.9.1 - fba477a41"
|
|
483
483
|
})`
|
|
484
484
|
position: relative;
|
|
485
485
|
width: 100%;
|
|
@@ -587,7 +587,7 @@ var withFixedSizeContainer = (Viz) => {
|
|
|
587
587
|
FixSizeItem,
|
|
588
588
|
{
|
|
589
589
|
"data-test": "fix-size-item",
|
|
590
|
-
"data-splunk-visualization-version": "28.9.
|
|
590
|
+
"data-splunk-visualization-version": "28.9.1 - fba477a41",
|
|
591
591
|
width,
|
|
592
592
|
height,
|
|
593
593
|
backgroundColor
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
```jsx
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import Map from '@splunk/visualizations/Map';
|
|
12
|
-
import
|
|
12
|
+
import MapDocsExample from '../MapDocsExample';
|
|
13
13
|
|
|
14
14
|
export default () => (
|
|
15
|
-
<
|
|
15
|
+
<MapDocsExample>
|
|
16
16
|
<Map
|
|
17
17
|
options={{
|
|
18
18
|
layers: [
|
|
@@ -832,7 +832,7 @@ export default () => (
|
|
|
832
832
|
},
|
|
833
833
|
}}
|
|
834
834
|
/>
|
|
835
|
-
</
|
|
835
|
+
</MapDocsExample>
|
|
836
836
|
);
|
|
837
837
|
```
|
|
838
838
|
|
|
@@ -843,10 +843,10 @@ export default () => (
|
|
|
843
843
|
```jsx
|
|
844
844
|
import React from 'react';
|
|
845
845
|
import Map from '@splunk/visualizations/Map';
|
|
846
|
-
import
|
|
846
|
+
import MapDocsExample from '../MapDocsExample';
|
|
847
847
|
|
|
848
848
|
export default () => (
|
|
849
|
-
<
|
|
849
|
+
<MapDocsExample>
|
|
850
850
|
<Map
|
|
851
851
|
options={{
|
|
852
852
|
layers: [
|
|
@@ -1322,7 +1322,7 @@ export default () => (
|
|
|
1322
1322
|
},
|
|
1323
1323
|
}}
|
|
1324
1324
|
/>
|
|
1325
|
-
</
|
|
1325
|
+
</MapDocsExample>
|
|
1326
1326
|
);
|
|
1327
1327
|
```
|
|
1328
1328
|
|
|
@@ -1333,10 +1333,10 @@ export default () => (
|
|
|
1333
1333
|
```jsx
|
|
1334
1334
|
import React from 'react';
|
|
1335
1335
|
import Map from '@splunk/visualizations/Map';
|
|
1336
|
-
import
|
|
1336
|
+
import MapDocsExample from '../MapDocsExample';
|
|
1337
1337
|
|
|
1338
1338
|
export default () => (
|
|
1339
|
-
<
|
|
1339
|
+
<MapDocsExample>
|
|
1340
1340
|
<Map
|
|
1341
1341
|
options={{
|
|
1342
1342
|
layers: [
|
|
@@ -2157,7 +2157,7 @@ export default () => (
|
|
|
2157
2157
|
},
|
|
2158
2158
|
}}
|
|
2159
2159
|
/>
|
|
2160
|
-
</
|
|
2160
|
+
</MapDocsExample>
|
|
2161
2161
|
);
|
|
2162
2162
|
```
|
|
2163
2163
|
|
|
@@ -2168,10 +2168,10 @@ export default () => (
|
|
|
2168
2168
|
```jsx
|
|
2169
2169
|
import React from 'react';
|
|
2170
2170
|
import Map from '@splunk/visualizations/Map';
|
|
2171
|
-
import
|
|
2171
|
+
import MapDocsExample from '../MapDocsExample';
|
|
2172
2172
|
|
|
2173
2173
|
export default () => (
|
|
2174
|
-
<
|
|
2174
|
+
<MapDocsExample>
|
|
2175
2175
|
<Map
|
|
2176
2176
|
options={{
|
|
2177
2177
|
layers: [
|
|
@@ -2647,7 +2647,7 @@ export default () => (
|
|
|
2647
2647
|
},
|
|
2648
2648
|
}}
|
|
2649
2649
|
/>
|
|
2650
|
-
</
|
|
2650
|
+
</MapDocsExample>
|
|
2651
2651
|
);
|
|
2652
2652
|
```
|
|
2653
2653
|
|
|
@@ -2658,10 +2658,10 @@ export default () => (
|
|
|
2658
2658
|
```jsx
|
|
2659
2659
|
import React from 'react';
|
|
2660
2660
|
import Map from '@splunk/visualizations/Map';
|
|
2661
|
-
import
|
|
2661
|
+
import MapDocsExample from '../MapDocsExample';
|
|
2662
2662
|
|
|
2663
2663
|
export default () => (
|
|
2664
|
-
<
|
|
2664
|
+
<MapDocsExample>
|
|
2665
2665
|
<Map
|
|
2666
2666
|
options={{
|
|
2667
2667
|
layers: [
|
|
@@ -3137,7 +3137,7 @@ export default () => (
|
|
|
3137
3137
|
},
|
|
3138
3138
|
}}
|
|
3139
3139
|
/>
|
|
3140
|
-
</
|
|
3140
|
+
</MapDocsExample>
|
|
3141
3141
|
);
|
|
3142
3142
|
```
|
|
3143
3143
|
|
|
@@ -3148,10 +3148,10 @@ export default () => (
|
|
|
3148
3148
|
```jsx
|
|
3149
3149
|
import React from 'react';
|
|
3150
3150
|
import Map from '@splunk/visualizations/Map';
|
|
3151
|
-
import
|
|
3151
|
+
import MapDocsExample from '../MapDocsExample';
|
|
3152
3152
|
|
|
3153
3153
|
export default () => (
|
|
3154
|
-
<
|
|
3154
|
+
<MapDocsExample>
|
|
3155
3155
|
<Map
|
|
3156
3156
|
options={{
|
|
3157
3157
|
layers: [
|
|
@@ -3973,7 +3973,7 @@ export default () => (
|
|
|
3973
3973
|
},
|
|
3974
3974
|
}}
|
|
3975
3975
|
/>
|
|
3976
|
-
</
|
|
3976
|
+
</MapDocsExample>
|
|
3977
3977
|
);
|
|
3978
3978
|
```
|
|
3979
3979
|
|
|
@@ -3984,10 +3984,10 @@ export default () => (
|
|
|
3984
3984
|
```jsx
|
|
3985
3985
|
import React from 'react';
|
|
3986
3986
|
import Map from '@splunk/visualizations/Map';
|
|
3987
|
-
import
|
|
3987
|
+
import MapDocsExample from '../MapDocsExample';
|
|
3988
3988
|
|
|
3989
3989
|
export default () => (
|
|
3990
|
-
<
|
|
3990
|
+
<MapDocsExample>
|
|
3991
3991
|
<Map
|
|
3992
3992
|
options={{
|
|
3993
3993
|
layers: [
|
|
@@ -4020,7 +4020,7 @@ export default () => (
|
|
|
4020
4020
|
},
|
|
4021
4021
|
}}
|
|
4022
4022
|
/>
|
|
4023
|
-
</
|
|
4023
|
+
</MapDocsExample>
|
|
4024
4024
|
);
|
|
4025
4025
|
```
|
|
4026
4026
|
|
|
@@ -4031,10 +4031,10 @@ export default () => (
|
|
|
4031
4031
|
```jsx
|
|
4032
4032
|
import React from 'react';
|
|
4033
4033
|
import Map from '@splunk/visualizations/Map';
|
|
4034
|
-
import
|
|
4034
|
+
import MapDocsExample from '../MapDocsExample';
|
|
4035
4035
|
|
|
4036
4036
|
export default () => (
|
|
4037
|
-
<
|
|
4037
|
+
<MapDocsExample>
|
|
4038
4038
|
<Map
|
|
4039
4039
|
options={{
|
|
4040
4040
|
layers: [
|
|
@@ -4067,7 +4067,7 @@ export default () => (
|
|
|
4067
4067
|
},
|
|
4068
4068
|
}}
|
|
4069
4069
|
/>
|
|
4070
|
-
</
|
|
4070
|
+
</MapDocsExample>
|
|
4071
4071
|
);
|
|
4072
4072
|
```
|
|
4073
4073
|
|
|
@@ -4078,10 +4078,10 @@ export default () => (
|
|
|
4078
4078
|
```jsx
|
|
4079
4079
|
import React from 'react';
|
|
4080
4080
|
import Map from '@splunk/visualizations/Map';
|
|
4081
|
-
import
|
|
4081
|
+
import MapDocsExample from '../MapDocsExample';
|
|
4082
4082
|
|
|
4083
4083
|
export default () => (
|
|
4084
|
-
<
|
|
4084
|
+
<MapDocsExample>
|
|
4085
4085
|
<Map
|
|
4086
4086
|
options={{
|
|
4087
4087
|
layers: [
|
|
@@ -5022,7 +5022,7 @@ export default () => (
|
|
|
5022
5022
|
},
|
|
5023
5023
|
}}
|
|
5024
5024
|
/>
|
|
5025
|
-
</
|
|
5025
|
+
</MapDocsExample>
|
|
5026
5026
|
);
|
|
5027
5027
|
```
|
|
5028
5028
|
|
|
@@ -5033,10 +5033,10 @@ export default () => (
|
|
|
5033
5033
|
```jsx
|
|
5034
5034
|
import React from 'react';
|
|
5035
5035
|
import Map from '@splunk/visualizations/Map';
|
|
5036
|
-
import
|
|
5036
|
+
import MapDocsExample from '../MapDocsExample';
|
|
5037
5037
|
|
|
5038
5038
|
export default () => (
|
|
5039
|
-
<
|
|
5039
|
+
<MapDocsExample>
|
|
5040
5040
|
<Map
|
|
5041
5041
|
options={{
|
|
5042
5042
|
layers: [
|
|
@@ -5974,7 +5974,7 @@ export default () => (
|
|
|
5974
5974
|
},
|
|
5975
5975
|
}}
|
|
5976
5976
|
/>
|
|
5977
|
-
</
|
|
5977
|
+
</MapDocsExample>
|
|
5978
5978
|
);
|
|
5979
5979
|
```
|
|
5980
5980
|
|
|
@@ -5985,10 +5985,10 @@ export default () => (
|
|
|
5985
5985
|
```jsx
|
|
5986
5986
|
import React from 'react';
|
|
5987
5987
|
import Map from '@splunk/visualizations/Map';
|
|
5988
|
-
import
|
|
5988
|
+
import MapDocsExample from '../MapDocsExample';
|
|
5989
5989
|
|
|
5990
5990
|
export default () => (
|
|
5991
|
-
<
|
|
5991
|
+
<MapDocsExample>
|
|
5992
5992
|
<Map
|
|
5993
5993
|
options={{
|
|
5994
5994
|
layers: [
|
|
@@ -6021,7 +6021,7 @@ export default () => (
|
|
|
6021
6021
|
},
|
|
6022
6022
|
}}
|
|
6023
6023
|
/>
|
|
6024
|
-
</
|
|
6024
|
+
</MapDocsExample>
|
|
6025
6025
|
);
|
|
6026
6026
|
```
|
|
6027
6027
|
|
|
@@ -6032,10 +6032,10 @@ export default () => (
|
|
|
6032
6032
|
```jsx
|
|
6033
6033
|
import React from 'react';
|
|
6034
6034
|
import Map from '@splunk/visualizations/Map';
|
|
6035
|
-
import
|
|
6035
|
+
import MapDocsExample from '../MapDocsExample';
|
|
6036
6036
|
|
|
6037
6037
|
export default () => (
|
|
6038
|
-
<
|
|
6038
|
+
<MapDocsExample>
|
|
6039
6039
|
<Map
|
|
6040
6040
|
options={{
|
|
6041
6041
|
layers: [
|
|
@@ -6075,7 +6075,7 @@ export default () => (
|
|
|
6075
6075
|
},
|
|
6076
6076
|
}}
|
|
6077
6077
|
/>
|
|
6078
|
-
</
|
|
6078
|
+
</MapDocsExample>
|
|
6079
6079
|
);
|
|
6080
6080
|
```
|
|
6081
6081
|
|
|
@@ -6086,10 +6086,10 @@ export default () => (
|
|
|
6086
6086
|
```jsx
|
|
6087
6087
|
import React from 'react';
|
|
6088
6088
|
import Map from '@splunk/visualizations/Map';
|
|
6089
|
-
import
|
|
6089
|
+
import MapDocsExample from '../MapDocsExample';
|
|
6090
6090
|
|
|
6091
6091
|
export default () => (
|
|
6092
|
-
<
|
|
6092
|
+
<MapDocsExample>
|
|
6093
6093
|
<Map
|
|
6094
6094
|
options={{
|
|
6095
6095
|
layers: [
|
|
@@ -6149,6 +6149,6 @@ export default () => (
|
|
|
6149
6149
|
],
|
|
6150
6150
|
}}
|
|
6151
6151
|
/>
|
|
6152
|
-
</
|
|
6152
|
+
</MapDocsExample>
|
|
6153
6153
|
);
|
|
6154
6154
|
```
|
package/package.json
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"name": "@splunk/visualizations",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
4
|
"author": "Splunk Inc.",
|
|
5
|
-
"version": "28.9.
|
|
5
|
+
"version": "28.9.1",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"build": "viz-build && yarn generate:llm-docs",
|
|
8
|
-
"build-storybook": "sb build -c .storybook -o .storybook-bundle",
|
|
7
|
+
"build": "yarn generate:maplibre-worker && viz-build && yarn generate:llm-docs",
|
|
8
|
+
"build-storybook": "yarn generate:maplibre-worker && sb build -c .storybook -o .storybook-bundle",
|
|
9
9
|
"build:ci": "yarn build && yarn docs",
|
|
10
10
|
"clean": "yarn clean:storybook && yarn clean:esbuild && yarn clean:test-reports",
|
|
11
11
|
"clean:storybook": "rm -rf .storybook-bundle",
|
|
12
12
|
"clean:esbuild": "git ls-files --others -i --exclude-standard *.js *.map | xargs rm",
|
|
13
13
|
"clean:test-reports": "rm -rf ./test-reports",
|
|
14
|
-
"dev": "viz-build --watch",
|
|
14
|
+
"dev": "yarn generate:maplibre-worker && viz-build --watch",
|
|
15
15
|
"dev:yalc": "yarn dev --env.useYalc='true'",
|
|
16
16
|
"docs": "INTERNAL=true NODE_ENV=production webpack --config webpack.docs.config.js",
|
|
17
17
|
"docs:external": "INTERNAL=false NODE_ENV=production webpack --config webpack.docs.config.js",
|
|
@@ -21,10 +21,11 @@
|
|
|
21
21
|
"docs:start:external": "INTERNAL=false webpack-dev-server --watch --config webpack.docs.config.js",
|
|
22
22
|
"generate:iconloader": "node ./tools/generate_icon_loader.mjs",
|
|
23
23
|
"generate:llm-docs": "tsc -p ./tools/llm-docs/tsconfig.json && node ./tools/llm-docs/dist/generateContent.js",
|
|
24
|
+
"generate:maplibre-worker": "node ./tools/generate_maplibre_worker_bundle.mjs",
|
|
24
25
|
"lint": "eslint src --ext \".js,.jsx,.es,.ts,.tsx\"",
|
|
25
26
|
"lint:ci": "eslint src --ext \".js,.jsx,.ts,.tsx\" -f junit -o test-reports/lint-results.xml",
|
|
26
27
|
"lint:fix": "yarn run lint --fix",
|
|
27
|
-
"storybook": "sb dev -p 6006 -c .storybook",
|
|
28
|
+
"storybook": "yarn generate:maplibre-worker && sb dev -p 6006 -c .storybook",
|
|
28
29
|
"test": "yarn run test:unit && yarn run test:visual",
|
|
29
30
|
"test:ci": "yarn run test:unit:ci && yarn run test:visual:ci",
|
|
30
31
|
"test:unit": "jest src/* .storybook/.*",
|
|
@@ -40,24 +41,24 @@
|
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
43
|
"@babel/runtime": "^7.29.7",
|
|
43
|
-
"@splunk/async-dynamic-options-evaluator": "^28.9.
|
|
44
|
-
"@splunk/charting-bundle": "^28.9.
|
|
44
|
+
"@splunk/async-dynamic-options-evaluator": "^28.9.1",
|
|
45
|
+
"@splunk/charting-bundle": "^28.9.1",
|
|
45
46
|
"@splunk/moment": "^0.7.0",
|
|
46
|
-
"@splunk/react-events-viewer": "^28.9.
|
|
47
|
-
"@splunk/react-field-summary": "^28.9.
|
|
47
|
+
"@splunk/react-events-viewer": "^28.9.1",
|
|
48
|
+
"@splunk/react-field-summary": "^28.9.1",
|
|
48
49
|
"@splunk/react-icons": "^5.14.1",
|
|
49
50
|
"@splunk/react-ui": "^5.14.0",
|
|
50
51
|
"@splunk/splunk-utils": "^3.4.0",
|
|
51
52
|
"@splunk/themes": "^1.10.0",
|
|
52
53
|
"@splunk/time-range-utils": "^3.4.1",
|
|
53
54
|
"@splunk/ui-utils": "^1.14.1",
|
|
54
|
-
"@splunk/visualization-canvas": "^28.9.
|
|
55
|
-
"@splunk/visualization-color-palettes": "^28.9.
|
|
56
|
-
"@splunk/visualization-encoding": "^28.9.
|
|
57
|
-
"@splunk/visualization-icons": "^28.9.
|
|
58
|
-
"@splunk/visualization-schemas": "^28.9.
|
|
59
|
-
"@splunk/visualization-themes": "^28.9.
|
|
60
|
-
"@splunk/visualizations-shared": "^28.9.
|
|
55
|
+
"@splunk/visualization-canvas": "^28.9.1",
|
|
56
|
+
"@splunk/visualization-color-palettes": "^28.9.1",
|
|
57
|
+
"@splunk/visualization-encoding": "^28.9.1",
|
|
58
|
+
"@splunk/visualization-icons": "^28.9.1",
|
|
59
|
+
"@splunk/visualization-schemas": "^28.9.1",
|
|
60
|
+
"@splunk/visualization-themes": "^28.9.1",
|
|
61
|
+
"@splunk/visualizations-shared": "^28.9.1",
|
|
61
62
|
"@xmldom/xmldom": "^0.8.13",
|
|
62
63
|
"chroma-js": "^3.2.0",
|
|
63
64
|
"cssesc": "3.0.0",
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"dompurify": "^3.4.12",
|
|
79
80
|
"jexl": "^2.3.0",
|
|
80
81
|
"lodash": "^4.18.1",
|
|
81
|
-
"maplibre-gl": "^
|
|
82
|
+
"maplibre-gl": "^6.10.0",
|
|
82
83
|
"prop-types": "^15.8.1",
|
|
83
84
|
"slate": "^0.112.0",
|
|
84
85
|
"slate-dom": "^0.112.0",
|
|
@@ -88,7 +89,7 @@
|
|
|
88
89
|
"xpath": "^0.0.32"
|
|
89
90
|
},
|
|
90
91
|
"peerDependencies": {
|
|
91
|
-
"@splunk/visualization-context": "^28.9.
|
|
92
|
+
"@splunk/visualization-context": "^28.9.1",
|
|
92
93
|
"react": "^18.3.1",
|
|
93
94
|
"react-dom": "^18.3.1",
|
|
94
95
|
"styled-components": "^5.3.10"
|
|
@@ -97,6 +98,7 @@
|
|
|
97
98
|
"@babel/cli": "^7.26.4",
|
|
98
99
|
"@babel/core": "^7.26.4",
|
|
99
100
|
"@babel/parser": "^7.29.7",
|
|
101
|
+
"@babel/plugin-transform-class-static-block": "^7.29.7",
|
|
100
102
|
"@babel/traverse": "^7.29.7",
|
|
101
103
|
"@babel/types": "^7.29.7",
|
|
102
104
|
"@loki/create-async-callback": "^0.35.1",
|
|
@@ -107,8 +109,8 @@
|
|
|
107
109
|
"@splunk/dynamic-editors": "0.46.1",
|
|
108
110
|
"@splunk/jsdoc-loader": "^3.1.1",
|
|
109
111
|
"@splunk/react-docs": "^1.9.0",
|
|
110
|
-
"@splunk/visualization-build-tools": "^28.9.
|
|
111
|
-
"@splunk/visualization-context": "^28.9.
|
|
112
|
+
"@splunk/visualization-build-tools": "^28.9.1",
|
|
113
|
+
"@splunk/visualization-context": "^28.9.1",
|
|
112
114
|
"@splunk/webpack-configs": "^7.0.2",
|
|
113
115
|
"@storybook/addon-actions": "^7.6.21",
|
|
114
116
|
"@storybook/addon-docs": "^7.6.21",
|
|
@@ -145,6 +147,7 @@
|
|
|
145
147
|
"awesome-typescript-loader": "^5.2.1",
|
|
146
148
|
"babel-loader": "^8",
|
|
147
149
|
"babel-plugin-styled-components": "^1.13.3",
|
|
150
|
+
"esbuild": "^0.28.1",
|
|
148
151
|
"faker": "5.1.0",
|
|
149
152
|
"jest-canvas-mock": "^2.5.8",
|
|
150
153
|
"jest-styled-components": "^7.2.0",
|