@patternfly/react-code-editor 6.0.0-alpha.4 → 6.0.0-alpha.41
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 +518 -0
- package/README.md +20 -24
- package/dist/esm/components/CodeEditor/CodeEditor.d.ts +7 -1
- package/dist/esm/components/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/esm/components/CodeEditor/CodeEditor.js +23 -17
- package/dist/esm/components/CodeEditor/CodeEditor.js.map +1 -1
- package/dist/esm/components/CodeEditor/CodeEditorControl.js +1 -1
- package/dist/esm/components/CodeEditor/CodeEditorControl.js.map +1 -1
- package/dist/js/components/CodeEditor/CodeEditor.d.ts +7 -1
- package/dist/js/components/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/js/components/CodeEditor/CodeEditor.js +22 -16
- package/dist/js/components/CodeEditor/CodeEditor.js.map +1 -1
- package/dist/js/components/CodeEditor/CodeEditorControl.js +1 -1
- package/dist/js/components/CodeEditor/CodeEditorControl.js.map +1 -1
- package/package.json +7 -7
- package/src/components/CodeEditor/CodeEditor.tsx +76 -64
- package/src/components/CodeEditor/CodeEditorControl.tsx +1 -1
- package/src/components/CodeEditor/__test__/CodeEditor.test.tsx +69 -39
- package/src/components/CodeEditor/__test__/CodeEditorControl.test.tsx +18 -0
- package/src/components/CodeEditor/__test__/__snapshots__/CodeEditor.test.tsx.snap +104 -536
- package/src/components/CodeEditor/__test__/__snapshots__/CodeEditorControl.test.tsx.snap +22 -0
- package/src/components/CodeEditor/examples/CodeEditor.md +5 -0
- package/src/components/CodeEditor/examples/CodeEditorCustomControl.tsx +2 -1
- package/src/components/CodeEditor/examples/CodeEditorShortcutMainHeader.tsx +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,160 @@
|
|
|
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.41](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.40...@patternfly/react-code-editor@6.0.0-alpha.41) (2024-03-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
9
|
+
|
|
10
|
+
# [6.0.0-alpha.40](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.39...@patternfly/react-code-editor@6.0.0-alpha.40) (2024-03-08)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
13
|
+
|
|
14
|
+
# [6.0.0-alpha.39](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.38...@patternfly/react-code-editor@6.0.0-alpha.39) (2024-03-01)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
17
|
+
|
|
18
|
+
# [6.0.0-alpha.38](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.37...@patternfly/react-code-editor@6.0.0-alpha.38) (2024-02-28)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
21
|
+
|
|
22
|
+
# 6.0.0-alpha.37 (2024-02-28)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
25
|
+
|
|
26
|
+
# [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)
|
|
27
|
+
|
|
28
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
29
|
+
|
|
30
|
+
# [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)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
33
|
+
|
|
34
|
+
# [6.0.0-alpha.34](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.33...@patternfly/react-code-editor@6.0.0-alpha.34) (2024-02-19)
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
- **Chip:** use Label internally, deprecate Chip ([#10049](https://github.com/patternfly/patternfly-react/issues/10049)) ([5cdb725](https://github.com/patternfly/patternfly-react/commit/5cdb72536f8dd291e42be09bc6454ac591adc606))
|
|
39
|
+
|
|
40
|
+
# [6.0.0-alpha.33](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.32...@patternfly/react-code-editor@6.0.0-alpha.33) (2024-02-16)
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
- **CodeEditor,Divider:** consume penta & update core version ([#10081](https://github.com/patternfly/patternfly-react/issues/10081)) ([addda04](https://github.com/patternfly/patternfly-react/commit/addda044d7f6d91f3511c7a769b2707140df86d4))
|
|
45
|
+
|
|
46
|
+
# [6.0.0-alpha.32](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.31...@patternfly/react-code-editor@6.0.0-alpha.32) (2024-02-14)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
49
|
+
|
|
50
|
+
# [6.0.0-alpha.31](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.30...@patternfly/react-code-editor@6.0.0-alpha.31) (2024-02-13)
|
|
51
|
+
|
|
52
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
53
|
+
|
|
54
|
+
# [6.0.0-alpha.30](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.29...@patternfly/react-code-editor@6.0.0-alpha.30) (2024-02-13)
|
|
55
|
+
|
|
56
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
57
|
+
|
|
58
|
+
# [6.0.0-alpha.29](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.28...@patternfly/react-code-editor@6.0.0-alpha.29) (2024-02-09)
|
|
59
|
+
|
|
60
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
61
|
+
|
|
62
|
+
# [6.0.0-alpha.28](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.27...@patternfly/react-code-editor@6.0.0-alpha.28) (2024-02-03)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
65
|
+
|
|
66
|
+
# [6.0.0-alpha.27](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.26...@patternfly/react-code-editor@6.0.0-alpha.27) (2024-02-02)
|
|
67
|
+
|
|
68
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
69
|
+
|
|
70
|
+
# [6.0.0-alpha.26](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.25...@patternfly/react-code-editor@6.0.0-alpha.26) (2024-02-01)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
73
|
+
|
|
74
|
+
# [6.0.0-alpha.25](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.24...@patternfly/react-code-editor@6.0.0-alpha.25) (2024-02-01)
|
|
75
|
+
|
|
76
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
77
|
+
|
|
78
|
+
# [6.0.0-alpha.24](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.23...@patternfly/react-code-editor@6.0.0-alpha.24) (2024-01-31)
|
|
79
|
+
|
|
80
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
81
|
+
|
|
82
|
+
# [6.0.0-alpha.23](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.22...@patternfly/react-code-editor@6.0.0-alpha.23) (2024-01-31)
|
|
83
|
+
|
|
84
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
85
|
+
|
|
86
|
+
# [6.0.0-alpha.22](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.21...@patternfly/react-code-editor@6.0.0-alpha.22) (2024-01-31)
|
|
87
|
+
|
|
88
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
89
|
+
|
|
90
|
+
# [6.0.0-alpha.21](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.20...@patternfly/react-code-editor@6.0.0-alpha.21) (2024-01-31)
|
|
91
|
+
|
|
92
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
93
|
+
|
|
94
|
+
# [6.0.0-alpha.20](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.19...@patternfly/react-code-editor@6.0.0-alpha.20) (2024-01-26)
|
|
95
|
+
|
|
96
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
97
|
+
|
|
98
|
+
# [6.0.0-alpha.19](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.18...@patternfly/react-code-editor@6.0.0-alpha.19) (2024-01-22)
|
|
99
|
+
|
|
100
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
101
|
+
|
|
102
|
+
# [6.0.0-alpha.18](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.17...@patternfly/react-code-editor@6.0.0-alpha.18) (2024-01-22)
|
|
103
|
+
|
|
104
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
105
|
+
|
|
106
|
+
# 6.0.0-alpha.17 (2024-01-19)
|
|
107
|
+
|
|
108
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
109
|
+
|
|
110
|
+
# [6.0.0-alpha.16](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.15...@patternfly/react-code-editor@6.0.0-alpha.16) (2024-01-18)
|
|
111
|
+
|
|
112
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
113
|
+
|
|
114
|
+
# [6.0.0-alpha.15](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.14...@patternfly/react-code-editor@6.0.0-alpha.15) (2024-01-18)
|
|
115
|
+
|
|
116
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
117
|
+
|
|
118
|
+
# [6.0.0-alpha.14](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.13...@patternfly/react-code-editor@6.0.0-alpha.14) (2024-01-17)
|
|
119
|
+
|
|
120
|
+
### Features
|
|
121
|
+
|
|
122
|
+
- **EmptyState:** update EmptyState with updates for penta ([#9947](https://github.com/patternfly/patternfly-react/issues/9947)) ([07cbb82](https://github.com/patternfly/patternfly-react/commit/07cbb8270627f9ade299b90eaf5dd4fd5fa6fe95))
|
|
123
|
+
|
|
124
|
+
# [6.0.0-alpha.13](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.12...@patternfly/react-code-editor@6.0.0-alpha.13) (2024-01-17)
|
|
125
|
+
|
|
126
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
127
|
+
|
|
128
|
+
# [6.0.0-alpha.12](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.11...@patternfly/react-code-editor@6.0.0-alpha.12) (2024-01-17)
|
|
129
|
+
|
|
130
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
131
|
+
|
|
132
|
+
# [6.0.0-alpha.11](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.10...@patternfly/react-code-editor@6.0.0-alpha.11) (2024-01-16)
|
|
133
|
+
|
|
134
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
135
|
+
|
|
136
|
+
# [6.0.0-alpha.10](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.9...@patternfly/react-code-editor@6.0.0-alpha.10) (2024-01-12)
|
|
137
|
+
|
|
138
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
139
|
+
|
|
140
|
+
# [6.0.0-alpha.9](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.8...@patternfly/react-code-editor@6.0.0-alpha.9) (2024-01-04)
|
|
141
|
+
|
|
142
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
143
|
+
|
|
144
|
+
# [6.0.0-alpha.8](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.7...@patternfly/react-code-editor@6.0.0-alpha.8) (2024-01-04)
|
|
145
|
+
|
|
146
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
147
|
+
|
|
148
|
+
# [6.0.0-alpha.7](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.6...@patternfly/react-code-editor@6.0.0-alpha.7) (2023-12-20)
|
|
149
|
+
|
|
150
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
151
|
+
|
|
152
|
+
# [6.0.0-alpha.6](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.5...@patternfly/react-code-editor@6.0.0-alpha.6) (2023-12-20)
|
|
153
|
+
|
|
154
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
155
|
+
|
|
156
|
+
# [6.0.0-alpha.5](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.4...@patternfly/react-code-editor@6.0.0-alpha.5) (2023-12-13)
|
|
157
|
+
|
|
158
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
159
|
+
|
|
6
160
|
# [6.0.0-alpha.4](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@6.0.0-alpha.3...@patternfly/react-code-editor@6.0.0-alpha.4) (2023-12-06)
|
|
7
161
|
|
|
8
162
|
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
@@ -107,6 +261,370 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
107
261
|
|
|
108
262
|
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
109
263
|
|
|
264
|
+
# [5.2.0-prerelease.36](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.35...@patternfly/react-code-editor@5.2.0-prerelease.36) (2023-12-14)
|
|
265
|
+
|
|
266
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
267
|
+
|
|
268
|
+
# [5.2.0-prerelease.35](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.34...@patternfly/react-code-editor@5.2.0-prerelease.35) (2023-12-11)
|
|
269
|
+
|
|
270
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
271
|
+
|
|
272
|
+
# [5.2.0-prerelease.34](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.33...@patternfly/react-code-editor@5.2.0-prerelease.34) (2023-12-07)
|
|
273
|
+
|
|
274
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
275
|
+
|
|
276
|
+
# [5.2.0-prerelease.33](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.32...@patternfly/react-code-editor@5.2.0-prerelease.33) (2023-12-06)
|
|
277
|
+
|
|
278
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
279
|
+
|
|
280
|
+
# [5.2.0-prerelease.32](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.31...@patternfly/react-code-editor@5.2.0-prerelease.32) (2023-11-21)
|
|
281
|
+
|
|
282
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
283
|
+
|
|
284
|
+
# [5.2.0-prerelease.31](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.30...@patternfly/react-code-editor@5.2.0-prerelease.31) (2023-11-17)
|
|
285
|
+
|
|
286
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
287
|
+
|
|
288
|
+
# [5.2.0-prerelease.30](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.29...@patternfly/react-code-editor@5.2.0-prerelease.30) (2023-11-16)
|
|
289
|
+
|
|
290
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
291
|
+
|
|
292
|
+
# [5.2.0-prerelease.29](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.28...@patternfly/react-code-editor@5.2.0-prerelease.29) (2023-11-14)
|
|
293
|
+
|
|
294
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
295
|
+
|
|
296
|
+
# [5.2.0-prerelease.28](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.27...@patternfly/react-code-editor@5.2.0-prerelease.28) (2023-11-14)
|
|
297
|
+
|
|
298
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
299
|
+
|
|
300
|
+
# [5.2.0-prerelease.27](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.26...@patternfly/react-code-editor@5.2.0-prerelease.27) (2023-11-14)
|
|
301
|
+
|
|
302
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
303
|
+
|
|
304
|
+
# [5.2.0-prerelease.26](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.25...@patternfly/react-code-editor@5.2.0-prerelease.26) (2023-11-13)
|
|
305
|
+
|
|
306
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
307
|
+
|
|
308
|
+
# [5.2.0-prerelease.25](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.24...@patternfly/react-code-editor@5.2.0-prerelease.25) (2023-11-10)
|
|
309
|
+
|
|
310
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
311
|
+
|
|
312
|
+
# [5.2.0-prerelease.24](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.23...@patternfly/react-code-editor@5.2.0-prerelease.24) (2023-11-03)
|
|
313
|
+
|
|
314
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
315
|
+
|
|
316
|
+
# [5.2.0-prerelease.23](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.22...@patternfly/react-code-editor@5.2.0-prerelease.23) (2023-11-03)
|
|
317
|
+
|
|
318
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
319
|
+
|
|
320
|
+
# [5.2.0-prerelease.22](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.21...@patternfly/react-code-editor@5.2.0-prerelease.22) (2023-11-02)
|
|
321
|
+
|
|
322
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
323
|
+
|
|
324
|
+
# [5.2.0-prerelease.21](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.20...@patternfly/react-code-editor@5.2.0-prerelease.21) (2023-11-02)
|
|
325
|
+
|
|
326
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
327
|
+
|
|
328
|
+
# [5.2.0-prerelease.20](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.19...@patternfly/react-code-editor@5.2.0-prerelease.20) (2023-11-02)
|
|
329
|
+
|
|
330
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
331
|
+
|
|
332
|
+
# [5.2.0-prerelease.49](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.48...@patternfly/react-code-editor@5.2.0-prerelease.49) (2024-01-17)
|
|
333
|
+
|
|
334
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
335
|
+
|
|
336
|
+
# 5.2.0-prerelease.48 (2024-01-16)
|
|
337
|
+
|
|
338
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
339
|
+
|
|
340
|
+
# [5.2.0-prerelease.47](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.46...@patternfly/react-code-editor@5.2.0-prerelease.47) (2024-01-15)
|
|
341
|
+
|
|
342
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
343
|
+
|
|
344
|
+
# [5.2.0-prerelease.46](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.45...@patternfly/react-code-editor@5.2.0-prerelease.46) (2024-01-11)
|
|
345
|
+
|
|
346
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
347
|
+
|
|
348
|
+
# [5.2.0-prerelease.45](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.44...@patternfly/react-code-editor@5.2.0-prerelease.45) (2024-01-10)
|
|
349
|
+
|
|
350
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
351
|
+
|
|
352
|
+
# [5.2.0-prerelease.44](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.43...@patternfly/react-code-editor@5.2.0-prerelease.44) (2024-01-09)
|
|
353
|
+
|
|
354
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
355
|
+
|
|
356
|
+
# [5.2.0-prerelease.43](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.42...@patternfly/react-code-editor@5.2.0-prerelease.43) (2024-01-08)
|
|
357
|
+
|
|
358
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
359
|
+
|
|
360
|
+
# [5.2.0-prerelease.42](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.41...@patternfly/react-code-editor@5.2.0-prerelease.42) (2024-01-05)
|
|
361
|
+
|
|
362
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
363
|
+
|
|
364
|
+
# [5.2.0-prerelease.41](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.40...@patternfly/react-code-editor@5.2.0-prerelease.41) (2024-01-05)
|
|
365
|
+
|
|
366
|
+
### Features
|
|
367
|
+
|
|
368
|
+
- **CodeEditor:** use new monaco package ([#9842](https://github.com/patternfly/patternfly-react/issues/9842)) ([54dd134](https://github.com/patternfly/patternfly-react/commit/54dd134d6c67c4fc1d7630fd1e7c718f66061342))
|
|
369
|
+
|
|
370
|
+
# [5.2.0-prerelease.40](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.39...@patternfly/react-code-editor@5.2.0-prerelease.40) (2024-01-04)
|
|
371
|
+
|
|
372
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
373
|
+
|
|
374
|
+
# [5.2.0-prerelease.39](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.38...@patternfly/react-code-editor@5.2.0-prerelease.39) (2024-01-03)
|
|
375
|
+
|
|
376
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
377
|
+
|
|
378
|
+
# [5.2.0-prerelease.38](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.37...@patternfly/react-code-editor@5.2.0-prerelease.38) (2024-01-02)
|
|
379
|
+
|
|
380
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
381
|
+
|
|
382
|
+
# [5.2.0-prerelease.37](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.36...@patternfly/react-code-editor@5.2.0-prerelease.37) (2023-12-20)
|
|
383
|
+
|
|
384
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
385
|
+
|
|
386
|
+
# [5.2.0-prerelease.36](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.35...@patternfly/react-code-editor@5.2.0-prerelease.36) (2023-12-14)
|
|
387
|
+
|
|
388
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
389
|
+
|
|
390
|
+
# [5.2.0-prerelease.35](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.34...@patternfly/react-code-editor@5.2.0-prerelease.35) (2023-12-11)
|
|
391
|
+
|
|
392
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
393
|
+
|
|
394
|
+
# [5.2.0-prerelease.34](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.33...@patternfly/react-code-editor@5.2.0-prerelease.34) (2023-12-07)
|
|
395
|
+
|
|
396
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
397
|
+
|
|
398
|
+
# [5.2.0-prerelease.33](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.32...@patternfly/react-code-editor@5.2.0-prerelease.33) (2023-12-06)
|
|
399
|
+
|
|
400
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
401
|
+
|
|
402
|
+
# [5.2.0-prerelease.32](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.31...@patternfly/react-code-editor@5.2.0-prerelease.32) (2023-11-21)
|
|
403
|
+
|
|
404
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
405
|
+
|
|
406
|
+
# [5.2.0-prerelease.31](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.30...@patternfly/react-code-editor@5.2.0-prerelease.31) (2023-11-17)
|
|
407
|
+
|
|
408
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
409
|
+
|
|
410
|
+
# [5.2.0-prerelease.30](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.29...@patternfly/react-code-editor@5.2.0-prerelease.30) (2023-11-16)
|
|
411
|
+
|
|
412
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
413
|
+
|
|
414
|
+
# [5.2.0-prerelease.29](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.28...@patternfly/react-code-editor@5.2.0-prerelease.29) (2023-11-14)
|
|
415
|
+
|
|
416
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
417
|
+
|
|
418
|
+
# [5.2.0-prerelease.28](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.27...@patternfly/react-code-editor@5.2.0-prerelease.28) (2023-11-14)
|
|
419
|
+
|
|
420
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
421
|
+
|
|
422
|
+
# [5.2.0-prerelease.27](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.26...@patternfly/react-code-editor@5.2.0-prerelease.27) (2023-11-14)
|
|
423
|
+
|
|
424
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
425
|
+
|
|
426
|
+
# [5.2.0-prerelease.26](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.25...@patternfly/react-code-editor@5.2.0-prerelease.26) (2023-11-13)
|
|
427
|
+
|
|
428
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
429
|
+
|
|
430
|
+
# [5.2.0-prerelease.25](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.24...@patternfly/react-code-editor@5.2.0-prerelease.25) (2023-11-10)
|
|
431
|
+
|
|
432
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
433
|
+
|
|
434
|
+
# [5.2.0-prerelease.24](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.23...@patternfly/react-code-editor@5.2.0-prerelease.24) (2023-11-03)
|
|
435
|
+
|
|
436
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
437
|
+
|
|
438
|
+
# [5.2.0-prerelease.23](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.22...@patternfly/react-code-editor@5.2.0-prerelease.23) (2023-11-03)
|
|
439
|
+
|
|
440
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
441
|
+
|
|
442
|
+
# [5.2.0-prerelease.22](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.21...@patternfly/react-code-editor@5.2.0-prerelease.22) (2023-11-02)
|
|
443
|
+
|
|
444
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
445
|
+
|
|
446
|
+
# [5.2.0-prerelease.21](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.20...@patternfly/react-code-editor@5.2.0-prerelease.21) (2023-11-02)
|
|
447
|
+
|
|
448
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
449
|
+
|
|
450
|
+
# [5.2.0-prerelease.20](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.19...@patternfly/react-code-editor@5.2.0-prerelease.20) (2023-11-02)
|
|
451
|
+
|
|
452
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
453
|
+
|
|
454
|
+
# [5.3.0-prerelease.8](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.3.0-prerelease.7...@patternfly/react-code-editor@5.3.0-prerelease.8) (2024-02-28)
|
|
455
|
+
|
|
456
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
457
|
+
|
|
458
|
+
# [5.3.0-prerelease.7](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.3.0-prerelease.6...@patternfly/react-code-editor@5.3.0-prerelease.7) (2024-02-28)
|
|
459
|
+
|
|
460
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
461
|
+
|
|
462
|
+
# [5.3.0-prerelease.6](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.3.0-prerelease.5...@patternfly/react-code-editor@5.3.0-prerelease.6) (2024-02-28)
|
|
463
|
+
|
|
464
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
465
|
+
|
|
466
|
+
# [5.3.0-prerelease.5](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.3.0-prerelease.4...@patternfly/react-code-editor@5.3.0-prerelease.5) (2024-02-27)
|
|
467
|
+
|
|
468
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
469
|
+
|
|
470
|
+
# [5.3.0-prerelease.4](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.3.0-prerelease.3...@patternfly/react-code-editor@5.3.0-prerelease.4) (2024-02-26)
|
|
471
|
+
|
|
472
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
473
|
+
|
|
474
|
+
# [5.3.0-prerelease.3](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.3.0-prerelease.2...@patternfly/react-code-editor@5.3.0-prerelease.3) (2024-02-19)
|
|
475
|
+
|
|
476
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
477
|
+
|
|
478
|
+
# [5.3.0-prerelease.2](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.3.0-prerelease.1...@patternfly/react-code-editor@5.3.0-prerelease.2) (2024-02-19)
|
|
479
|
+
|
|
480
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
481
|
+
|
|
482
|
+
# 5.3.0-prerelease.1 (2024-02-15)
|
|
483
|
+
|
|
484
|
+
### Features
|
|
485
|
+
|
|
486
|
+
- **CodeEditor:** pass additional props to monaco-editor, update readme ([#10080](https://github.com/patternfly/patternfly-react/issues/10080)) ([8c43ef7](https://github.com/patternfly/patternfly-react/commit/8c43ef7bfc044396a0bf31985b2ba3e4b4de91ef))
|
|
487
|
+
|
|
488
|
+
# 5.3.0-prerelease.0 (2024-02-02)
|
|
489
|
+
|
|
490
|
+
# 5.2.0 (2024-02-02)
|
|
491
|
+
|
|
492
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
493
|
+
|
|
494
|
+
# 5.2.0 (2024-02-02)
|
|
495
|
+
|
|
496
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
497
|
+
|
|
498
|
+
# 5.2.0-prerelease.51 (2024-02-02)
|
|
499
|
+
|
|
500
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
501
|
+
|
|
502
|
+
# 5.2.0-prerelease.50 (2024-01-29)
|
|
503
|
+
|
|
504
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
505
|
+
|
|
506
|
+
# [5.2.0-prerelease.49](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.48...@patternfly/react-code-editor@5.2.0-prerelease.49) (2024-01-17)
|
|
507
|
+
|
|
508
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
509
|
+
|
|
510
|
+
# 5.2.0-prerelease.48 (2024-01-16)
|
|
511
|
+
|
|
512
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
513
|
+
|
|
514
|
+
# [5.2.0-prerelease.47](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.46...@patternfly/react-code-editor@5.2.0-prerelease.47) (2024-01-15)
|
|
515
|
+
|
|
516
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
517
|
+
|
|
518
|
+
# [5.2.0-prerelease.46](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.45...@patternfly/react-code-editor@5.2.0-prerelease.46) (2024-01-11)
|
|
519
|
+
|
|
520
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
521
|
+
|
|
522
|
+
# [5.2.0-prerelease.45](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.44...@patternfly/react-code-editor@5.2.0-prerelease.45) (2024-01-10)
|
|
523
|
+
|
|
524
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
525
|
+
|
|
526
|
+
# [5.2.0-prerelease.44](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.43...@patternfly/react-code-editor@5.2.0-prerelease.44) (2024-01-09)
|
|
527
|
+
|
|
528
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
529
|
+
|
|
530
|
+
# [5.2.0-prerelease.43](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.42...@patternfly/react-code-editor@5.2.0-prerelease.43) (2024-01-08)
|
|
531
|
+
|
|
532
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
533
|
+
|
|
534
|
+
# [5.2.0-prerelease.42](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.41...@patternfly/react-code-editor@5.2.0-prerelease.42) (2024-01-05)
|
|
535
|
+
|
|
536
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
537
|
+
|
|
538
|
+
# [5.2.0-prerelease.41](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.40...@patternfly/react-code-editor@5.2.0-prerelease.41) (2024-01-05)
|
|
539
|
+
|
|
540
|
+
### Features
|
|
541
|
+
|
|
542
|
+
- **CodeEditor:** use new monaco package ([#9842](https://github.com/patternfly/patternfly-react/issues/9842)) ([54dd134](https://github.com/patternfly/patternfly-react/commit/54dd134d6c67c4fc1d7630fd1e7c718f66061342))
|
|
543
|
+
|
|
544
|
+
# [5.2.0-prerelease.40](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.39...@patternfly/react-code-editor@5.2.0-prerelease.40) (2024-01-04)
|
|
545
|
+
|
|
546
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
547
|
+
|
|
548
|
+
# [5.2.0-prerelease.39](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.38...@patternfly/react-code-editor@5.2.0-prerelease.39) (2024-01-03)
|
|
549
|
+
|
|
550
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
551
|
+
|
|
552
|
+
# [5.2.0-prerelease.38](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.37...@patternfly/react-code-editor@5.2.0-prerelease.38) (2024-01-02)
|
|
553
|
+
|
|
554
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
555
|
+
|
|
556
|
+
# [5.2.0-prerelease.37](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.36...@patternfly/react-code-editor@5.2.0-prerelease.37) (2023-12-20)
|
|
557
|
+
|
|
558
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
559
|
+
|
|
560
|
+
# [5.2.0-prerelease.36](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.35...@patternfly/react-code-editor@5.2.0-prerelease.36) (2023-12-14)
|
|
561
|
+
|
|
562
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
563
|
+
|
|
564
|
+
# [5.2.0-prerelease.35](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.34...@patternfly/react-code-editor@5.2.0-prerelease.35) (2023-12-11)
|
|
565
|
+
|
|
566
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
567
|
+
|
|
568
|
+
# [5.2.0-prerelease.34](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.33...@patternfly/react-code-editor@5.2.0-prerelease.34) (2023-12-07)
|
|
569
|
+
|
|
570
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
571
|
+
|
|
572
|
+
# [5.2.0-prerelease.33](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.32...@patternfly/react-code-editor@5.2.0-prerelease.33) (2023-12-06)
|
|
573
|
+
|
|
574
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
575
|
+
|
|
576
|
+
# [5.2.0-prerelease.32](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.31...@patternfly/react-code-editor@5.2.0-prerelease.32) (2023-11-21)
|
|
577
|
+
|
|
578
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
579
|
+
|
|
580
|
+
# [5.2.0-prerelease.31](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.30...@patternfly/react-code-editor@5.2.0-prerelease.31) (2023-11-17)
|
|
581
|
+
|
|
582
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
583
|
+
|
|
584
|
+
# [5.2.0-prerelease.30](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.29...@patternfly/react-code-editor@5.2.0-prerelease.30) (2023-11-16)
|
|
585
|
+
|
|
586
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
587
|
+
|
|
588
|
+
# [5.2.0-prerelease.29](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.28...@patternfly/react-code-editor@5.2.0-prerelease.29) (2023-11-14)
|
|
589
|
+
|
|
590
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
591
|
+
|
|
592
|
+
# [5.2.0-prerelease.28](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.27...@patternfly/react-code-editor@5.2.0-prerelease.28) (2023-11-14)
|
|
593
|
+
|
|
594
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
595
|
+
|
|
596
|
+
# [5.2.0-prerelease.27](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.26...@patternfly/react-code-editor@5.2.0-prerelease.27) (2023-11-14)
|
|
597
|
+
|
|
598
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
599
|
+
|
|
600
|
+
# [5.2.0-prerelease.26](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.25...@patternfly/react-code-editor@5.2.0-prerelease.26) (2023-11-13)
|
|
601
|
+
|
|
602
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
603
|
+
|
|
604
|
+
# [5.2.0-prerelease.25](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.24...@patternfly/react-code-editor@5.2.0-prerelease.25) (2023-11-10)
|
|
605
|
+
|
|
606
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
607
|
+
|
|
608
|
+
# [5.2.0-prerelease.24](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.23...@patternfly/react-code-editor@5.2.0-prerelease.24) (2023-11-03)
|
|
609
|
+
|
|
610
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
611
|
+
|
|
612
|
+
# [5.2.0-prerelease.23](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.22...@patternfly/react-code-editor@5.2.0-prerelease.23) (2023-11-03)
|
|
613
|
+
|
|
614
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
615
|
+
|
|
616
|
+
# [5.2.0-prerelease.22](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.21...@patternfly/react-code-editor@5.2.0-prerelease.22) (2023-11-02)
|
|
617
|
+
|
|
618
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
619
|
+
|
|
620
|
+
# [5.2.0-prerelease.21](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.20...@patternfly/react-code-editor@5.2.0-prerelease.21) (2023-11-02)
|
|
621
|
+
|
|
622
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
623
|
+
|
|
624
|
+
# [5.2.0-prerelease.20](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.19...@patternfly/react-code-editor@5.2.0-prerelease.20) (2023-11-02)
|
|
625
|
+
|
|
626
|
+
**Note:** Version bump only for package @patternfly/react-code-editor
|
|
627
|
+
|
|
110
628
|
# [5.2.0-prerelease.19](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.2.0-prerelease.18...@patternfly/react-code-editor@5.2.0-prerelease.19) (2023-10-30)
|
|
111
629
|
|
|
112
630
|
**Note:** Version bump only for package @patternfly/react-code-editor
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @patternfly/react-code-editor
|
|
2
2
|
|
|
3
|
-
This package provides a PatternFly wrapper for the Monaco code editor
|
|
3
|
+
This package provides a PatternFly wrapper for the Monaco code editor, using the `@monaco-editor/react` package.
|
|
4
4
|
|
|
5
|
-
### Prerequisite
|
|
5
|
+
### Prerequisite
|
|
6
6
|
|
|
7
7
|
#### Node Environment
|
|
8
8
|
|
|
@@ -44,25 +44,25 @@ import { CodeEditor } from '@patternfly/react-code-editor';
|
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
Install peer deps
|
|
47
|
+
|
|
47
48
|
```json
|
|
48
49
|
"monaco-editor": "^0.21.3",
|
|
49
|
-
"monaco-editor-webpack-plugin": "^2.1.0",
|
|
50
50
|
"react": "^17 || ^18",
|
|
51
|
-
"react-dom": "^17 || ^18"
|
|
52
|
-
"react-monaco-editor": "^0.51.0"
|
|
51
|
+
"react-dom": "^17 || ^18"
|
|
53
52
|
```
|
|
54
53
|
|
|
55
|
-
To properly install the library `monaco-editor-webpack-plugin` be sure to follow the [plugin instructions](https://github.com/microsoft/monaco-editor/tree/main/webpack-plugin)
|
|
56
|
-
|
|
57
54
|
#### With create-react-app Projects
|
|
55
|
+
|
|
58
56
|
If you created your project with `create-react-app` you'll have some extra work to do, or you wont have syntax highlighting. Using the webpack plugin requires updating your webpack config, which `create-react-app` abstracts away. You can `npm eject` your project, but you may not want to do that. To keep your app set up in the `create-react-app` style but to get access to your webpack config you can use `react-app-rewired`.
|
|
59
57
|
|
|
60
58
|
First, install `react-app-rewired` as a development dependency:
|
|
59
|
+
|
|
61
60
|
```sh
|
|
62
61
|
$ npm install -D react-app-rewired
|
|
63
62
|
```
|
|
64
63
|
|
|
65
64
|
Next, replace all of the `react-script` references in your `package.json` `scripts` section with `react-app-required`:
|
|
65
|
+
|
|
66
66
|
```json
|
|
67
67
|
"scripts": {
|
|
68
68
|
"start": "react-app-rewired start",
|
|
@@ -72,32 +72,20 @@ Next, replace all of the `react-script` references in your `package.json` `scrip
|
|
|
72
72
|
}
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
Next, create a `config-overrides.js` file at the root of your project and add the following:
|
|
76
|
-
|
|
77
|
-
```javascript
|
|
78
|
-
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
|
|
79
|
-
|
|
80
|
-
module.exports = function override(config, env) {
|
|
81
|
-
config.plugins.push(new MonacoWebpackPlugin({
|
|
82
|
-
languages: ['json', 'yaml', 'shell']
|
|
83
|
-
}));
|
|
84
|
-
return config;
|
|
85
|
-
}
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
Note: You should change the `languages` array based on your needs.
|
|
89
|
-
|
|
90
75
|
You can now start your app with `npm start` and syntax highlighting should work.
|
|
91
76
|
|
|
92
77
|
#### Enable YAML Syntax Highlighting
|
|
93
|
-
|
|
78
|
+
|
|
79
|
+
The Monaco editor doesn't ship with full YAML support. You can configure your code editor with `Languages.yaml` but there will be no highlighting. To enable YAML support you need to do the following:
|
|
94
80
|
|
|
95
81
|
First, install `monaco-yaml`:
|
|
82
|
+
|
|
96
83
|
```shell
|
|
97
84
|
$ npm install --save monaco-yaml
|
|
98
85
|
```
|
|
99
86
|
|
|
100
87
|
Next, at the entrypoint of your app enable it:
|
|
88
|
+
|
|
101
89
|
```javascript
|
|
102
90
|
import { setDiagnosticsOptions } from 'monaco-yaml';
|
|
103
91
|
|
|
@@ -107,8 +95,16 @@ setDiagnosticsOptions({
|
|
|
107
95
|
completion: true,
|
|
108
96
|
validate: true,
|
|
109
97
|
format: true,
|
|
110
|
-
schemas: []
|
|
98
|
+
schemas: []
|
|
111
99
|
});
|
|
112
100
|
```
|
|
113
101
|
|
|
102
|
+
Finally, to allow the `monaco-yaml` autocomplete to function properly with `@monaco-editor/react`, you should configure your YAML schema in a `beforeMount` call with the `monaco-yaml` `configureMonacoYaml` function. This `beforeMount` function should be passed to `CodeEditor` via the `editorProps` property like so:
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
editorProps: {
|
|
106
|
+
beforeMount: yourBeforeMountHandler
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
114
110
|
The `monaco-yaml` plugin has a lot of options so check out their docs to see what else you may want to add.
|