datajunction-ui 0.0.1-a79 → 0.0.1-a80
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datajunction-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1a80",
|
|
4
4
|
"description": "DataJunction Metrics Platform UI",
|
|
5
5
|
"module": "src/index.tsx",
|
|
6
6
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@testing-library/jest-dom": "6.1.2",
|
|
29
29
|
"@testing-library/react": "14.0.0",
|
|
30
30
|
"@types/fontfaceobserver": "^2.1.0",
|
|
31
|
-
"@types/jest": "
|
|
31
|
+
"@types/jest": "29.5.14",
|
|
32
32
|
"@types/node": "^14.18.27",
|
|
33
33
|
"@types/react": "^18.0.20",
|
|
34
34
|
"@types/react-dom": "^18.0.6",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"react-helmet-async": "1.3.0",
|
|
75
75
|
"react-i18next": "11.18.6",
|
|
76
76
|
"react-is": "18.2.0",
|
|
77
|
+
"react-markdown": "9.0.1",
|
|
77
78
|
"react-querybuilder": "6.5.1",
|
|
78
79
|
"react-redux": "7.2.8",
|
|
79
80
|
"react-router-dom": "6.3.0",
|
|
@@ -82,7 +83,7 @@
|
|
|
82
83
|
"react-syntax-highlighter": "^15.5.0",
|
|
83
84
|
"react-test-renderer": "18.2.0",
|
|
84
85
|
"reactflow": "^11.7.0",
|
|
85
|
-
"redux-injectors": "1.
|
|
86
|
+
"redux-injectors": "2.1.0",
|
|
86
87
|
"redux-saga": "1.2.1",
|
|
87
88
|
"rimraf": "3.0.2",
|
|
88
89
|
"sanitize.css": "13.0.0",
|
|
@@ -169,6 +170,12 @@
|
|
|
169
170
|
"lines": 80,
|
|
170
171
|
"functions": 85
|
|
171
172
|
}
|
|
173
|
+
},
|
|
174
|
+
"moduleNameMapper": {
|
|
175
|
+
"unist-util-visit-parents/do-not-use-color": "<rootDir>/node_modules/unist-util-visit-parents/lib/color.js",
|
|
176
|
+
"^#minpath$": "<rootDir>/node_modules/vfile/lib/minpath.browser.js",
|
|
177
|
+
"^#minproc$": "<rootDir>/node_modules/vfile/lib/minproc.browser.js",
|
|
178
|
+
"^#minurl$": "<rootDir>/node_modules/vfile/lib/minurl.browser.js"
|
|
172
179
|
}
|
|
173
180
|
},
|
|
174
181
|
"resolutions": {
|
|
@@ -186,6 +193,7 @@
|
|
|
186
193
|
"html-webpack-plugin": "5.5.1",
|
|
187
194
|
"jest": "^29.5.0",
|
|
188
195
|
"jest-fetch-mock": "3.0.3",
|
|
196
|
+
"jest-watch-typeahead": "2.2.2",
|
|
189
197
|
"mini-css-extract-plugin": "2.7.6",
|
|
190
198
|
"resize-observer-polyfill": "1.5.1"
|
|
191
199
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
|
+
import Markdown from 'react-markdown'
|
|
2
3
|
|
|
3
4
|
export default class ListGroupItem extends Component {
|
|
4
5
|
render() {
|
|
@@ -14,7 +15,7 @@ export default class ListGroupItem extends Component {
|
|
|
14
15
|
aria-hidden="false"
|
|
15
16
|
aria-label={label}
|
|
16
17
|
>
|
|
17
|
-
{value}
|
|
18
|
+
<Markdown>{value}</Markdown>
|
|
18
19
|
</p>
|
|
19
20
|
</div>
|
|
20
21
|
</div>
|
|
@@ -19,9 +19,11 @@ exports[`<ListGroupItem /> should render and match the snapshot 1`] = `
|
|
|
19
19
|
className="mb-0 opacity-75"
|
|
20
20
|
role="dialog"
|
|
21
21
|
>
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
<Markdown>
|
|
23
|
+
<span>
|
|
24
|
+
Something
|
|
25
|
+
</span>
|
|
26
|
+
</Markdown>
|
|
25
27
|
</p>
|
|
26
28
|
</div>
|
|
27
29
|
</div>
|