@splunk/react-field-summary 27.2.1 → 27.3.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/MIGRATION.md +23 -0
- package/package.json +23 -11
package/MIGRATION.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Migration
|
|
2
|
+
|
|
3
|
+
## 27.2.1
|
|
4
|
+
|
|
5
|
+
- **Note:** Version bump due to ownership transfer of `@splunk/react-field-summary` to vision repo
|
|
6
|
+
|
|
7
|
+
### Breaking changes
|
|
8
|
+
|
|
9
|
+
- Type files have been moved to the `types/` folder, you may need to update imports as follows:
|
|
10
|
+
Before:
|
|
11
|
+
```
|
|
12
|
+
import type {
|
|
13
|
+
FieldData,
|
|
14
|
+
FieldSummaryOptions,
|
|
15
|
+
} from '@splunk/react-field-summary/components/FieldSummary';
|
|
16
|
+
```
|
|
17
|
+
After:
|
|
18
|
+
```
|
|
19
|
+
import type {
|
|
20
|
+
FieldData,
|
|
21
|
+
FieldSummaryOptions,
|
|
22
|
+
} from '@splunk/react-field-summary/types/components/FieldSummary';
|
|
23
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splunk/react-field-summary",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Splunk Inc.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -18,19 +18,29 @@
|
|
|
18
18
|
"test:visual:update": "yarn loki approve",
|
|
19
19
|
"test:visual:ci": "yarn test:visual --requireReference --verboseRenderer --chromeRetries=3",
|
|
20
20
|
"storybook": "sb dev -p 6006 -c .storybook",
|
|
21
|
-
"_docs": "yarn docs:gen &&
|
|
22
|
-
"docs
|
|
23
|
-
"docs:
|
|
21
|
+
"_docs": "export NODE_ENV=production && yarn docs:gen && webpack --config webpack.docs.config.js",
|
|
22
|
+
"docs": "export INTERNAL=true && yarn _docs",
|
|
23
|
+
"docs:external": "export INTERNAL=false && yarn _docs",
|
|
24
|
+
"docs:start": "export INTERNAL=true && yarn docs:gen && yarn webpack-dev-server --config webpack.docs.config.js",
|
|
25
|
+
"docs:start:external": "export INTERNAL=false && yarn docs:gen && yarn webpack-dev-server --config webpack.docs.config.js",
|
|
26
|
+
"docs:gen": "node document-react-props src/components docs",
|
|
27
|
+
"docs:publish": "publish docs build/docs",
|
|
28
|
+
"docs:publish:external": "createPublicPackage && publish docs build/docs-external && revertPublicPackage"
|
|
24
29
|
},
|
|
25
30
|
"types": "types/index.d.ts",
|
|
26
31
|
"main": "index.js",
|
|
27
32
|
"devDependencies": {
|
|
28
33
|
"@babel/cli": "^7.13.0",
|
|
29
34
|
"@babel/core": "^7.13.0",
|
|
35
|
+
"@mdx-js/loader": "^3.1.0",
|
|
36
|
+
"@mdx-js/mdx": "^3.1.0",
|
|
37
|
+
"@splunk/babel-preset": "^4.0.0",
|
|
30
38
|
"@splunk/cicd-tools": "^0.5.0",
|
|
31
|
-
"@splunk/docs-gen": "^0.
|
|
39
|
+
"@splunk/docs-gen": "^1.0.0-beta.13",
|
|
40
|
+
"@splunk/jsdoc-loader": "^3.0.1",
|
|
32
41
|
"@splunk/react-docs": "1.0.0-beta.20",
|
|
33
|
-
"@splunk/visualization-build-tools": "^27.
|
|
42
|
+
"@splunk/visualization-build-tools": "^27.3.0",
|
|
43
|
+
"@splunk/webpack-configs": "^7.0.2",
|
|
34
44
|
"@storybook/addon-actions": "^7.6.20",
|
|
35
45
|
"@storybook/addon-controls": "^7.6.20",
|
|
36
46
|
"@storybook/addon-knobs": "^7.1.1",
|
|
@@ -49,10 +59,12 @@
|
|
|
49
59
|
"jest": "^29.7.0",
|
|
50
60
|
"jest-fetch-mock": "^3.0.3",
|
|
51
61
|
"jest-junit": "^16.0.0",
|
|
62
|
+
"lodash": "^4.17.21",
|
|
52
63
|
"loki": "^0.35.1",
|
|
64
|
+
"raw-loader": "^4.0.2",
|
|
53
65
|
"react": "^16.11.0",
|
|
54
66
|
"react-docgen": "^2.20.1",
|
|
55
|
-
"react-docgen-typescript": "^
|
|
67
|
+
"react-docgen-typescript": "^2.2.2",
|
|
56
68
|
"react-dom": "^16.11.0",
|
|
57
69
|
"styled-components": "^5.3.10",
|
|
58
70
|
"webpack": "^5.95.0",
|
|
@@ -66,10 +78,10 @@
|
|
|
66
78
|
"styled-components": "^5.3.10"
|
|
67
79
|
},
|
|
68
80
|
"dependencies": {
|
|
69
|
-
"@babel/runtime": "^7.
|
|
70
|
-
"@splunk/react-icons": "^4.
|
|
71
|
-
"@splunk/react-ui": "^4.
|
|
72
|
-
"@splunk/themes": "^0.
|
|
81
|
+
"@babel/runtime": "^7.27.0",
|
|
82
|
+
"@splunk/react-icons": "^4.12.0",
|
|
83
|
+
"@splunk/react-ui": "^4.43.0",
|
|
84
|
+
"@splunk/themes": "^0.23.0",
|
|
73
85
|
"@splunk/ui-utils": "^1.8.0",
|
|
74
86
|
"prop-types": "^15.8.1"
|
|
75
87
|
}
|