@patternfly/react-code-editor 6.0.0-alpha.35 → 6.0.0-alpha.37
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 6.0.0-alpha.37 (2024-02-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
9
|
+
|
|
10
|
+
# [6.0.0-alpha.36](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.35...@patternfly/react-code-editor@6.0.0-alpha.36) (2024-02-21)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
13
|
+
|
|
6
14
|
# [6.0.0-alpha.35](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.34...@patternfly/react-code-editor@6.0.0-alpha.35) (2024-02-21)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @patternfly/react-code-editor
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-code-editor",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.37",
|
|
4
4
|
"description": "This package provides a PatternFly wrapper for the Monaco code editor\n",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@monaco-editor/react": "^4.6.0",
|
|
34
|
-
"@patternfly/react-core": "^6.0.0-alpha.
|
|
35
|
-
"@patternfly/react-icons": "^6.0.0-alpha.
|
|
36
|
-
"@patternfly/react-styles": "^6.0.0-alpha.
|
|
34
|
+
"@patternfly/react-core": "^6.0.0-alpha.37",
|
|
35
|
+
"@patternfly/react-icons": "^6.0.0-alpha.14",
|
|
36
|
+
"@patternfly/react-styles": "^6.0.0-alpha.14",
|
|
37
37
|
"react-dropzone": "14.2.3",
|
|
38
38
|
"tslib": "^2.5.0"
|
|
39
39
|
},
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"rimraf": "^2.6.2",
|
|
46
46
|
"typescript": "^4.7.4"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "e4cb348a4bac71637dc90085ee7dda5f16e1019c"
|
|
49
49
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`Matches snapshot with control buttons enabled 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
|
-
class="pf-
|
|
6
|
+
class="pf-v6-c-code-editor"
|
|
7
7
|
>
|
|
8
8
|
<div
|
|
9
9
|
class=""
|
|
@@ -11,13 +11,13 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
|
|
|
11
11
|
tabindex="0"
|
|
12
12
|
>
|
|
13
13
|
<div
|
|
14
|
-
class="pf-
|
|
14
|
+
class="pf-v6-c-code-editor__header"
|
|
15
15
|
>
|
|
16
16
|
<div
|
|
17
|
-
class="pf-
|
|
17
|
+
class="pf-v6-c-code-editor__header-content"
|
|
18
18
|
>
|
|
19
19
|
<div
|
|
20
|
-
class="pf-
|
|
20
|
+
class="pf-v6-c-code-editor__controls"
|
|
21
21
|
>
|
|
22
22
|
<div
|
|
23
23
|
style="display: contents;"
|
|
@@ -25,7 +25,7 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
|
|
|
25
25
|
<button
|
|
26
26
|
aria-disabled="false"
|
|
27
27
|
aria-label="Copy code to clipboard"
|
|
28
|
-
class="pf-
|
|
28
|
+
class="pf-v6-c-button pf-m-plain"
|
|
29
29
|
data-ouia-component-id="OUIA-Generated-Button-plain-1"
|
|
30
30
|
data-ouia-component-type="PF5/Button"
|
|
31
31
|
data-ouia-safe="true"
|
|
@@ -33,7 +33,7 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
|
|
|
33
33
|
>
|
|
34
34
|
<svg
|
|
35
35
|
aria-hidden="true"
|
|
36
|
-
class="pf-
|
|
36
|
+
class="pf-v6-svg"
|
|
37
37
|
fill="currentColor"
|
|
38
38
|
height="1em"
|
|
39
39
|
role="img"
|
|
@@ -52,7 +52,7 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
|
|
|
52
52
|
<button
|
|
53
53
|
aria-disabled="false"
|
|
54
54
|
aria-label="Upload code"
|
|
55
|
-
class="pf-
|
|
55
|
+
class="pf-v6-c-button pf-m-plain"
|
|
56
56
|
data-ouia-component-id="OUIA-Generated-Button-plain-2"
|
|
57
57
|
data-ouia-component-type="PF5/Button"
|
|
58
58
|
data-ouia-safe="true"
|
|
@@ -60,7 +60,7 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
|
|
|
60
60
|
>
|
|
61
61
|
<svg
|
|
62
62
|
aria-hidden="true"
|
|
63
|
-
class="pf-
|
|
63
|
+
class="pf-v6-svg"
|
|
64
64
|
fill="currentColor"
|
|
65
65
|
height="1em"
|
|
66
66
|
role="img"
|
|
@@ -79,7 +79,7 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
|
|
|
79
79
|
<button
|
|
80
80
|
aria-disabled="false"
|
|
81
81
|
aria-label="Download code"
|
|
82
|
-
class="pf-
|
|
82
|
+
class="pf-v6-c-button pf-m-plain"
|
|
83
83
|
data-ouia-component-id="OUIA-Generated-Button-plain-3"
|
|
84
84
|
data-ouia-component-type="PF5/Button"
|
|
85
85
|
data-ouia-safe="true"
|
|
@@ -87,7 +87,7 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
|
|
|
87
87
|
>
|
|
88
88
|
<svg
|
|
89
89
|
aria-hidden="true"
|
|
90
|
-
class="pf-
|
|
90
|
+
class="pf-v6-svg"
|
|
91
91
|
fill="currentColor"
|
|
92
92
|
height="1em"
|
|
93
93
|
role="img"
|
|
@@ -102,15 +102,15 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
|
|
|
102
102
|
</div>
|
|
103
103
|
</div>
|
|
104
104
|
<div
|
|
105
|
-
class="pf-
|
|
105
|
+
class="pf-v6-c-code-editor__header-main"
|
|
106
106
|
/>
|
|
107
107
|
</div>
|
|
108
108
|
</div>
|
|
109
109
|
<div
|
|
110
|
-
class="pf-
|
|
110
|
+
class="pf-v6-c-code-editor__main"
|
|
111
111
|
>
|
|
112
112
|
<div
|
|
113
|
-
class="pf-
|
|
113
|
+
class="pf-v6-c-code-editor__upload"
|
|
114
114
|
>
|
|
115
115
|
<input
|
|
116
116
|
style="display: none;"
|
|
@@ -118,7 +118,7 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
|
|
|
118
118
|
type="file"
|
|
119
119
|
/>
|
|
120
120
|
<div
|
|
121
|
-
class="pf-
|
|
121
|
+
class="pf-v6-c-code-editor__code"
|
|
122
122
|
dir="ltr"
|
|
123
123
|
tabindex="0"
|
|
124
124
|
>
|
|
@@ -136,16 +136,16 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
|
|
|
136
136
|
exports[`Matches snapshot without props 1`] = `
|
|
137
137
|
<DocumentFragment>
|
|
138
138
|
<div
|
|
139
|
-
class="pf-
|
|
139
|
+
class="pf-v6-c-code-editor"
|
|
140
140
|
>
|
|
141
141
|
<div
|
|
142
|
-
class="pf-
|
|
142
|
+
class="pf-v6-c-code-editor__header"
|
|
143
143
|
/>
|
|
144
144
|
<div
|
|
145
|
-
class="pf-
|
|
145
|
+
class="pf-v6-c-code-editor__main"
|
|
146
146
|
>
|
|
147
147
|
<div
|
|
148
|
-
class="pf-
|
|
148
|
+
class="pf-v6-c-code-editor__code"
|
|
149
149
|
dir="ltr"
|
|
150
150
|
tabindex="0"
|
|
151
151
|
>
|
|
@@ -7,7 +7,7 @@ exports[`Matches snapshot 1`] = `
|
|
|
7
7
|
>
|
|
8
8
|
<button
|
|
9
9
|
aria-disabled="false"
|
|
10
|
-
class="pf-
|
|
10
|
+
class="pf-v6-c-button pf-m-plain"
|
|
11
11
|
data-ouia-component-id="OUIA-Generated-Button-plain-1"
|
|
12
12
|
data-ouia-component-type="PF5/Button"
|
|
13
13
|
data-ouia-safe="true"
|