@truedat/bg 7.2.5 → 7.2.7
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 +6 -6
- package/src/concepts/components/Concept.js +112 -40
- package/src/concepts/components/ConceptDetails.js +15 -86
- package/src/concepts/components/ConceptHeader.js +78 -48
- package/src/concepts/components/ConceptTabPane.js +14 -2
- package/src/concepts/components/__tests__/Concept.spec.js +124 -5
- package/src/concepts/components/__tests__/ConceptDetails.spec.js +6 -11
- package/src/concepts/components/__tests__/ConceptHeader.spec.js +184 -37
- package/src/concepts/components/__tests__/__snapshots__/Concept.spec.js.snap +302 -47
- package/src/concepts/components/__tests__/__snapshots__/ConceptHeader.spec.js.snap +88 -54
|
@@ -1,66 +1,100 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`<ConceptHeader /> matches the latest snapshot 1`] = `
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
class="ui grid"
|
|
7
7
|
>
|
|
8
|
-
<
|
|
9
|
-
|
|
8
|
+
<div
|
|
9
|
+
class="row"
|
|
10
10
|
>
|
|
11
|
-
<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
defaultMessage="Template1"
|
|
21
|
-
id="templates.Template1"
|
|
11
|
+
<div
|
|
12
|
+
class="eight wide column"
|
|
13
|
+
>
|
|
14
|
+
<h2
|
|
15
|
+
class="ui header"
|
|
16
|
+
>
|
|
17
|
+
<i
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
class="book circular icon"
|
|
22
20
|
/>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
21
|
+
<div
|
|
22
|
+
class="content"
|
|
23
|
+
>
|
|
24
|
+
Concept_en
|
|
25
|
+
<div
|
|
26
|
+
class="sub header"
|
|
27
|
+
>
|
|
28
|
+
Template Label
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</h2>
|
|
32
|
+
</div>
|
|
33
|
+
<div
|
|
34
|
+
class="right aligned eight wide column"
|
|
35
|
+
>
|
|
36
|
+
<button
|
|
37
|
+
class="ui basic icon button button icon group-actions"
|
|
38
|
+
data-tooltip="Sharing"
|
|
35
39
|
>
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
popupType="concepts"
|
|
40
|
-
title="concepts.share.title"
|
|
41
|
-
url="http://localhost/concepts/42/versions/current"
|
|
40
|
+
<i
|
|
41
|
+
aria-hidden="true"
|
|
42
|
+
class="share alternate icon"
|
|
42
43
|
/>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
</button>
|
|
45
|
+
<button
|
|
46
|
+
class="ui basic icon button structureButton"
|
|
47
|
+
>
|
|
48
|
+
<i
|
|
49
|
+
aria-hidden="true"
|
|
50
|
+
class="sitemap icon"
|
|
51
|
+
/>
|
|
52
|
+
</button>
|
|
53
|
+
<button
|
|
54
|
+
class="ui basic icon button button icon group-actions structureButton"
|
|
55
|
+
>
|
|
56
|
+
<i
|
|
57
|
+
aria-hidden="true"
|
|
58
|
+
class="eye icon"
|
|
51
59
|
/>
|
|
52
|
-
</
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
60
|
+
</button>
|
|
61
|
+
<span>
|
|
62
|
+
<button
|
|
63
|
+
class="ui basic icon button structureButton"
|
|
64
|
+
>
|
|
65
|
+
<i
|
|
66
|
+
aria-hidden="true"
|
|
67
|
+
class="lock open icon"
|
|
68
|
+
/>
|
|
69
|
+
</button>
|
|
70
|
+
</span>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
<div
|
|
74
|
+
class="row"
|
|
75
|
+
>
|
|
76
|
+
<div
|
|
77
|
+
class="eight wide column"
|
|
56
78
|
>
|
|
57
|
-
<
|
|
58
|
-
|
|
79
|
+
<div
|
|
80
|
+
class="ui left floated buttons"
|
|
59
81
|
>
|
|
60
|
-
<
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
82
|
+
<button
|
|
83
|
+
class="ui mini active button"
|
|
84
|
+
>
|
|
85
|
+
En
|
|
86
|
+
</button>
|
|
87
|
+
<button
|
|
88
|
+
class="ui mini button"
|
|
89
|
+
>
|
|
90
|
+
Es
|
|
91
|
+
</button>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
<div
|
|
95
|
+
class="right aligned eight wide column"
|
|
96
|
+
/>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
66
100
|
`;
|