@scm-manager/ui-components 2.30.2-20220102-104837 → 2.30.2-20220102-142809
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": "@scm-manager/ui-components",
|
|
3
|
-
"version": "2.30.2-20220102-
|
|
3
|
+
"version": "2.30.2-20220102-142809",
|
|
4
4
|
"description": "UI Components for SCM-Manager and its plugins",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@scm-manager/jest-preset": "^2.13.0",
|
|
26
26
|
"@scm-manager/prettier-config": "^2.10.1",
|
|
27
27
|
"@scm-manager/tsconfig": "^2.12.0",
|
|
28
|
-
"@scm-manager/ui-tests": "^2.30.2-20220102-
|
|
28
|
+
"@scm-manager/ui-tests": "^2.30.2-20220102-142809",
|
|
29
29
|
"@storybook/addon-actions": "^6.3.12",
|
|
30
30
|
"@storybook/addon-storyshots": "^6.3.12",
|
|
31
31
|
"@storybook/builder-webpack5": "^6.3.12",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@headlessui/react": "^1.4.3",
|
|
69
|
-
"@scm-manager/ui-api": "^2.30.2-20220102-
|
|
70
|
-
"@scm-manager/ui-extensions": "^2.30.2-20220102-
|
|
71
|
-
"@scm-manager/ui-types": "^2.30.2-20220102-
|
|
69
|
+
"@scm-manager/ui-api": "^2.30.2-20220102-142809",
|
|
70
|
+
"@scm-manager/ui-extensions": "^2.30.2-20220102-142809",
|
|
71
|
+
"@scm-manager/ui-types": "^2.30.2-20220102-142809",
|
|
72
72
|
"classnames": "^2.2.6",
|
|
73
73
|
"date-fns": "^2.4.1",
|
|
74
74
|
"deepmerge": "^4.2.2",
|
|
@@ -45,7 +45,6 @@ const TopRightButton = styled.button`
|
|
|
45
45
|
`;
|
|
46
46
|
|
|
47
47
|
const Container = styled.div`
|
|
48
|
-
position: relative;
|
|
49
48
|
&:hover > ${TopRightButton} {
|
|
50
49
|
display: inline-block;
|
|
51
50
|
}
|
|
@@ -93,7 +92,7 @@ const SyntaxHighlighter: FC<Props> = ({ language = defaultLanguage, showLineNumb
|
|
|
93
92
|
}
|
|
94
93
|
|
|
95
94
|
return (
|
|
96
|
-
<Container ref={setContentRef}>
|
|
95
|
+
<Container ref={setContentRef} className="is-relative">
|
|
97
96
|
<ReactSyntaxHighlighter
|
|
98
97
|
showLineNumbers={false}
|
|
99
98
|
language={determineLanguage(language)}
|
|
@@ -102,7 +101,7 @@ const SyntaxHighlighter: FC<Props> = ({ language = defaultLanguage, showLineNumb
|
|
|
102
101
|
>
|
|
103
102
|
{valueWithoutTrailingLineBreak}
|
|
104
103
|
</ReactSyntaxHighlighter>
|
|
105
|
-
<TopRightButton title={t("syntaxHighlighting.copyButton")} onClick={copy}>
|
|
104
|
+
<TopRightButton className="is-clickable" title={t("syntaxHighlighting.copyButton")} onClick={copy}>
|
|
106
105
|
<i className={copied ? "fa fa-clipboard-check" : "fa fa-clipboard"} />
|
|
107
106
|
</TopRightButton>
|
|
108
107
|
</Container>
|
|
@@ -4610,7 +4610,7 @@ exports[`Storyshots MarkdownView Code without Lang 1`] = `
|
|
|
4610
4610
|
|
|
4611
4611
|
|
|
4612
4612
|
<div
|
|
4613
|
-
className="SyntaxHighlighter__Container-ks8t62-1
|
|
4613
|
+
className="SyntaxHighlighter__Container-ks8t62-1 gJqvQP is-relative"
|
|
4614
4614
|
>
|
|
4615
4615
|
<pre
|
|
4616
4616
|
style={
|
|
@@ -4699,7 +4699,7 @@ exports[`Storyshots MarkdownView Code without Lang 1`] = `
|
|
|
4699
4699
|
</code>
|
|
4700
4700
|
</pre>
|
|
4701
4701
|
<button
|
|
4702
|
-
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX"
|
|
4702
|
+
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX is-clickable"
|
|
4703
4703
|
onClick={[Function]}
|
|
4704
4704
|
title="syntaxHighlighting.copyButton"
|
|
4705
4705
|
>
|
|
@@ -5760,7 +5760,7 @@ Deserunt officia esse aliquip consectetur duis ut labore laborum commodo aliquip
|
|
|
5760
5760
|
|
|
5761
5761
|
|
|
5762
5762
|
<div
|
|
5763
|
-
className="SyntaxHighlighter__Container-ks8t62-1
|
|
5763
|
+
className="SyntaxHighlighter__Container-ks8t62-1 gJqvQP is-relative"
|
|
5764
5764
|
>
|
|
5765
5765
|
<pre
|
|
5766
5766
|
style={
|
|
@@ -6929,7 +6929,7 @@ Deserunt officia esse aliquip consectetur duis ut labore laborum commodo aliquip
|
|
|
6929
6929
|
</code>
|
|
6930
6930
|
</pre>
|
|
6931
6931
|
<button
|
|
6932
|
-
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX"
|
|
6932
|
+
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX is-clickable"
|
|
6933
6933
|
onClick={[Function]}
|
|
6934
6934
|
title="syntaxHighlighting.copyButton"
|
|
6935
6935
|
>
|
|
@@ -14969,7 +14969,7 @@ exports[`Storyshots MarkdownView Inline Xml 1`] = `
|
|
|
14969
14969
|
|
|
14970
14970
|
|
|
14971
14971
|
<div
|
|
14972
|
-
className="SyntaxHighlighter__Container-ks8t62-1
|
|
14972
|
+
className="SyntaxHighlighter__Container-ks8t62-1 gJqvQP is-relative"
|
|
14973
14973
|
>
|
|
14974
14974
|
<pre
|
|
14975
14975
|
style={
|
|
@@ -15359,7 +15359,7 @@ exports[`Storyshots MarkdownView Inline Xml 1`] = `
|
|
|
15359
15359
|
</code>
|
|
15360
15360
|
</pre>
|
|
15361
15361
|
<button
|
|
15362
|
-
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX"
|
|
15362
|
+
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX is-clickable"
|
|
15363
15363
|
onClick={[Function]}
|
|
15364
15364
|
title="syntaxHighlighting.copyButton"
|
|
15365
15365
|
>
|
|
@@ -16544,7 +16544,7 @@ Deserunt officia esse aliquip consectetur duis ut labore laborum commodo aliquip
|
|
|
16544
16544
|
|
|
16545
16545
|
|
|
16546
16546
|
<div
|
|
16547
|
-
className="SyntaxHighlighter__Container-ks8t62-1
|
|
16547
|
+
className="SyntaxHighlighter__Container-ks8t62-1 gJqvQP is-relative"
|
|
16548
16548
|
>
|
|
16549
16549
|
<pre
|
|
16550
16550
|
style={
|
|
@@ -17713,7 +17713,7 @@ Deserunt officia esse aliquip consectetur duis ut labore laborum commodo aliquip
|
|
|
17713
17713
|
</code>
|
|
17714
17714
|
</pre>
|
|
17715
17715
|
<button
|
|
17716
|
-
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX"
|
|
17716
|
+
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX is-clickable"
|
|
17717
17717
|
onClick={[Function]}
|
|
17718
17718
|
title="syntaxHighlighting.copyButton"
|
|
17719
17719
|
>
|
|
@@ -17918,7 +17918,7 @@ exports[`Storyshots MarkdownView Xml Code Block 1`] = `
|
|
|
17918
17918
|
|
|
17919
17919
|
|
|
17920
17920
|
<div
|
|
17921
|
-
className="SyntaxHighlighter__Container-ks8t62-1
|
|
17921
|
+
className="SyntaxHighlighter__Container-ks8t62-1 gJqvQP is-relative"
|
|
17922
17922
|
>
|
|
17923
17923
|
<pre
|
|
17924
17924
|
style={
|
|
@@ -19359,7 +19359,7 @@ exports[`Storyshots MarkdownView Xml Code Block 1`] = `
|
|
|
19359
19359
|
</code>
|
|
19360
19360
|
</pre>
|
|
19361
19361
|
<button
|
|
19362
|
-
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX"
|
|
19362
|
+
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX is-clickable"
|
|
19363
19363
|
onClick={[Function]}
|
|
19364
19364
|
title="syntaxHighlighting.copyButton"
|
|
19365
19365
|
>
|
|
@@ -76993,7 +76993,7 @@ exports[`Storyshots SyntaxHighlighter Go 1`] = `
|
|
|
76993
76993
|
className="SyntaxHighlighterstories__Spacing-sc-1dcldp5-0 jbrCso"
|
|
76994
76994
|
>
|
|
76995
76995
|
<div
|
|
76996
|
-
className="SyntaxHighlighter__Container-ks8t62-1
|
|
76996
|
+
className="SyntaxHighlighter__Container-ks8t62-1 gJqvQP is-relative"
|
|
76997
76997
|
>
|
|
76998
76998
|
<pre
|
|
76999
76999
|
style={
|
|
@@ -78377,7 +78377,7 @@ exports[`Storyshots SyntaxHighlighter Go 1`] = `
|
|
|
78377
78377
|
</code>
|
|
78378
78378
|
</pre>
|
|
78379
78379
|
<button
|
|
78380
|
-
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX"
|
|
78380
|
+
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX is-clickable"
|
|
78381
78381
|
onClick={[Function]}
|
|
78382
78382
|
title="syntaxHighlighting.copyButton"
|
|
78383
78383
|
>
|
|
@@ -78394,7 +78394,7 @@ exports[`Storyshots SyntaxHighlighter Java 1`] = `
|
|
|
78394
78394
|
className="SyntaxHighlighterstories__Spacing-sc-1dcldp5-0 jbrCso"
|
|
78395
78395
|
>
|
|
78396
78396
|
<div
|
|
78397
|
-
className="SyntaxHighlighter__Container-ks8t62-1
|
|
78397
|
+
className="SyntaxHighlighter__Container-ks8t62-1 gJqvQP is-relative"
|
|
78398
78398
|
>
|
|
78399
78399
|
<pre
|
|
78400
78400
|
style={
|
|
@@ -81336,7 +81336,7 @@ exports[`Storyshots SyntaxHighlighter Java 1`] = `
|
|
|
81336
81336
|
</code>
|
|
81337
81337
|
</pre>
|
|
81338
81338
|
<button
|
|
81339
|
-
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX"
|
|
81339
|
+
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX is-clickable"
|
|
81340
81340
|
onClick={[Function]}
|
|
81341
81341
|
title="syntaxHighlighting.copyButton"
|
|
81342
81342
|
>
|
|
@@ -81353,7 +81353,7 @@ exports[`Storyshots SyntaxHighlighter Javascript 1`] = `
|
|
|
81353
81353
|
className="SyntaxHighlighterstories__Spacing-sc-1dcldp5-0 jbrCso"
|
|
81354
81354
|
>
|
|
81355
81355
|
<div
|
|
81356
|
-
className="SyntaxHighlighter__Container-ks8t62-1
|
|
81356
|
+
className="SyntaxHighlighter__Container-ks8t62-1 gJqvQP is-relative"
|
|
81357
81357
|
>
|
|
81358
81358
|
<pre
|
|
81359
81359
|
style={
|
|
@@ -82166,7 +82166,7 @@ exports[`Storyshots SyntaxHighlighter Javascript 1`] = `
|
|
|
82166
82166
|
</code>
|
|
82167
82167
|
</pre>
|
|
82168
82168
|
<button
|
|
82169
|
-
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX"
|
|
82169
|
+
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX is-clickable"
|
|
82170
82170
|
onClick={[Function]}
|
|
82171
82171
|
title="syntaxHighlighting.copyButton"
|
|
82172
82172
|
>
|
|
@@ -82183,7 +82183,7 @@ exports[`Storyshots SyntaxHighlighter Markdown 1`] = `
|
|
|
82183
82183
|
className="SyntaxHighlighterstories__Spacing-sc-1dcldp5-0 jbrCso"
|
|
82184
82184
|
>
|
|
82185
82185
|
<div
|
|
82186
|
-
className="SyntaxHighlighter__Container-ks8t62-1
|
|
82186
|
+
className="SyntaxHighlighter__Container-ks8t62-1 gJqvQP is-relative"
|
|
82187
82187
|
>
|
|
82188
82188
|
<pre
|
|
82189
82189
|
style={
|
|
@@ -90322,7 +90322,7 @@ exports[`Storyshots SyntaxHighlighter Markdown 1`] = `
|
|
|
90322
90322
|
</code>
|
|
90323
90323
|
</pre>
|
|
90324
90324
|
<button
|
|
90325
|
-
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX"
|
|
90325
|
+
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX is-clickable"
|
|
90326
90326
|
onClick={[Function]}
|
|
90327
90327
|
title="syntaxHighlighting.copyButton"
|
|
90328
90328
|
>
|
|
@@ -90339,7 +90339,7 @@ exports[`Storyshots SyntaxHighlighter Python 1`] = `
|
|
|
90339
90339
|
className="SyntaxHighlighterstories__Spacing-sc-1dcldp5-0 jbrCso"
|
|
90340
90340
|
>
|
|
90341
90341
|
<div
|
|
90342
|
-
className="SyntaxHighlighter__Container-ks8t62-1
|
|
90342
|
+
className="SyntaxHighlighter__Container-ks8t62-1 gJqvQP is-relative"
|
|
90343
90343
|
>
|
|
90344
90344
|
<pre
|
|
90345
90345
|
style={
|
|
@@ -91816,7 +91816,7 @@ exports[`Storyshots SyntaxHighlighter Python 1`] = `
|
|
|
91816
91816
|
</code>
|
|
91817
91817
|
</pre>
|
|
91818
91818
|
<button
|
|
91819
|
-
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX"
|
|
91819
|
+
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX is-clickable"
|
|
91820
91820
|
onClick={[Function]}
|
|
91821
91821
|
title="syntaxHighlighting.copyButton"
|
|
91822
91822
|
>
|
|
@@ -91833,7 +91833,7 @@ exports[`Storyshots SyntaxHighlighter Without line numbers 1`] = `
|
|
|
91833
91833
|
className="SyntaxHighlighterstories__Spacing-sc-1dcldp5-0 jbrCso"
|
|
91834
91834
|
>
|
|
91835
91835
|
<div
|
|
91836
|
-
className="SyntaxHighlighter__Container-ks8t62-1
|
|
91836
|
+
className="SyntaxHighlighter__Container-ks8t62-1 gJqvQP is-relative"
|
|
91837
91837
|
>
|
|
91838
91838
|
<pre
|
|
91839
91839
|
style={
|
|
@@ -94186,7 +94186,7 @@ exports[`Storyshots SyntaxHighlighter Without line numbers 1`] = `
|
|
|
94186
94186
|
</code>
|
|
94187
94187
|
</pre>
|
|
94188
94188
|
<button
|
|
94189
|
-
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX"
|
|
94189
|
+
className="SyntaxHighlighter__TopRightButton-ks8t62-0 iyikPX is-clickable"
|
|
94190
94190
|
onClick={[Function]}
|
|
94191
94191
|
title="syntaxHighlighting.copyButton"
|
|
94192
94192
|
>
|