@patternfly/react-code-editor 5.0.0-alpha.3 → 5.0.0-alpha.30

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,468 @@
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
+ # [5.0.0-alpha.30](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.29...@patternfly/react-code-editor@5.0.0-alpha.30) (2023-03-09)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-code-editor
9
+
10
+ # [5.0.0-alpha.29](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.28...@patternfly/react-code-editor@5.0.0-alpha.29) (2023-03-09)
11
+
12
+ **Note:** Version bump only for package @patternfly/react-code-editor
13
+
14
+ # [5.0.0-alpha.28](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.27...@patternfly/react-code-editor@5.0.0-alpha.28) (2023-03-09)
15
+
16
+ **Note:** Version bump only for package @patternfly/react-code-editor
17
+
18
+ # [5.0.0-alpha.27](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.26...@patternfly/react-code-editor@5.0.0-alpha.27) (2023-03-08)
19
+
20
+ **Note:** Version bump only for package @patternfly/react-code-editor
21
+
22
+ # [5.0.0-alpha.26](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.25...@patternfly/react-code-editor@5.0.0-alpha.26) (2023-03-07)
23
+
24
+ **Note:** Version bump only for package @patternfly/react-code-editor
25
+
26
+ # [5.0.0-alpha.25](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.24...@patternfly/react-code-editor@5.0.0-alpha.25) (2023-03-04)
27
+
28
+ **Note:** Version bump only for package @patternfly/react-code-editor
29
+
30
+ # [5.0.0-alpha.24](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.23...@patternfly/react-code-editor@5.0.0-alpha.24) (2023-03-03)
31
+
32
+ **Note:** Version bump only for package @patternfly/react-code-editor
33
+
34
+ # [5.0.0-alpha.23](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.22...@patternfly/react-code-editor@5.0.0-alpha.23) (2023-03-03)
35
+
36
+ **Note:** Version bump only for package @patternfly/react-code-editor
37
+
38
+ # [5.0.0-alpha.22](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.21...@patternfly/react-code-editor@5.0.0-alpha.22) (2023-03-02)
39
+
40
+ **Note:** Version bump only for package @patternfly/react-code-editor
41
+
42
+ # [5.0.0-alpha.21](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.20...@patternfly/react-code-editor@5.0.0-alpha.21) (2023-03-02)
43
+
44
+ **Note:** Version bump only for package @patternfly/react-code-editor
45
+
46
+ # 5.0.0-alpha.20 (2023-03-02)
47
+
48
+ **Note:** Version bump only for package @patternfly/react-code-editor
49
+
50
+ # [5.0.0-alpha.19](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.18...@patternfly/react-code-editor@5.0.0-alpha.19) (2023-03-01)
51
+
52
+ **Note:** Version bump only for package @patternfly/react-code-editor
53
+
54
+ # [5.0.0-alpha.18](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.17...@patternfly/react-code-editor@5.0.0-alpha.18) (2023-03-01)
55
+
56
+ ### Features
57
+
58
+ - **Checkbox:** changed order of onChange params ([#8750](https://github.com/patternfly/patternfly-react/issues/8750)) ([0a87f55](https://github.com/patternfly/patternfly-react/commit/0a87f554e4cf3abb99de8f2ccd53737f0cf489b1))
59
+
60
+ # [5.0.0-alpha.17](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.16...@patternfly/react-code-editor@5.0.0-alpha.17) (2023-03-01)
61
+
62
+ **Note:** Version bump only for package @patternfly/react-code-editor
63
+
64
+ # [5.0.0-alpha.16](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.15...@patternfly/react-code-editor@5.0.0-alpha.16) (2023-02-28)
65
+
66
+ **Note:** Version bump only for package @patternfly/react-code-editor
67
+
68
+ # [5.0.0-alpha.15](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.14...@patternfly/react-code-editor@5.0.0-alpha.15) (2023-02-27)
69
+
70
+ **Note:** Version bump only for package @patternfly/react-code-editor
71
+
72
+ # 5.0.0-alpha.14 (2023-02-22)
73
+
74
+ **Note:** Version bump only for package @patternfly/react-code-editor
75
+
76
+ # [5.0.0-alpha.13](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.12...@patternfly/react-code-editor@5.0.0-alpha.13) (2023-02-16)
77
+
78
+ **Note:** Version bump only for package @patternfly/react-code-editor
79
+
80
+ # [5.0.0-alpha.12](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.11...@patternfly/react-code-editor@5.0.0-alpha.12) (2023-02-15)
81
+
82
+ **Note:** Version bump only for package @patternfly/react-code-editor
83
+
84
+ # [5.0.0-alpha.11](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.10...@patternfly/react-code-editor@5.0.0-alpha.11) (2023-02-10)
85
+
86
+ **Note:** Version bump only for package @patternfly/react-code-editor
87
+
88
+ # [5.0.0-alpha.10](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.9...@patternfly/react-code-editor@5.0.0-alpha.10) (2023-02-10)
89
+
90
+ **Note:** Version bump only for package @patternfly/react-code-editor
91
+
92
+ # [5.0.0-alpha.9](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.8...@patternfly/react-code-editor@5.0.0-alpha.9) (2023-02-09)
93
+
94
+ **Note:** Version bump only for package @patternfly/react-code-editor
95
+
96
+ # [5.0.0-alpha.8](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.7...@patternfly/react-code-editor@5.0.0-alpha.8) (2023-02-08)
97
+
98
+ **Note:** Version bump only for package @patternfly/react-code-editor
99
+
100
+ # [5.0.0-alpha.7](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.6...@patternfly/react-code-editor@5.0.0-alpha.7) (2023-02-08)
101
+
102
+ **Note:** Version bump only for package @patternfly/react-code-editor
103
+
104
+ ## [4.82.113](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.112...@patternfly/react-code-editor@4.82.113) (2023-01-27)
105
+
106
+ **Note:** Version bump only for package @patternfly/react-code-editor
107
+
108
+ ## 4.82.112 (2023-01-24)
109
+
110
+ **Note:** Version bump only for package @patternfly/react-code-editor
111
+
112
+ ## [4.82.111](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.110...@patternfly/react-code-editor@4.82.111) (2023-01-23)
113
+
114
+ **Note:** Version bump only for package @patternfly/react-code-editor
115
+
116
+ ## [4.82.110](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.109...@patternfly/react-code-editor@4.82.110) (2023-01-23)
117
+
118
+ **Note:** Version bump only for package @patternfly/react-code-editor
119
+
120
+ ## [4.82.109](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.108...@patternfly/react-code-editor@4.82.109) (2023-01-20)
121
+
122
+ **Note:** Version bump only for package @patternfly/react-code-editor
123
+
124
+ ## [4.82.108](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.107...@patternfly/react-code-editor@4.82.108) (2023-01-20)
125
+
126
+ **Note:** Version bump only for package @patternfly/react-code-editor
127
+
128
+ ## [4.82.107](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.106...@patternfly/react-code-editor@4.82.107) (2023-01-19)
129
+
130
+ **Note:** Version bump only for package @patternfly/react-code-editor
131
+
132
+ ## 4.82.106 (2023-01-19)
133
+
134
+ **Note:** Version bump only for package @patternfly/react-code-editor
135
+
136
+ ## [4.82.105](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.104...@patternfly/react-code-editor@4.82.105) (2023-01-19)
137
+
138
+ **Note:** Version bump only for package @patternfly/react-code-editor
139
+
140
+ ## [4.82.104](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.103...@patternfly/react-code-editor@4.82.104) (2023-01-19)
141
+
142
+ **Note:** Version bump only for package @patternfly/react-code-editor
143
+
144
+ ## [4.82.103](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.102...@patternfly/react-code-editor@4.82.103) (2023-01-19)
145
+
146
+ **Note:** Version bump only for package @patternfly/react-code-editor
147
+
148
+ ## 4.82.102 (2023-01-18)
149
+
150
+ **Note:** Version bump only for package @patternfly/react-code-editor
151
+
152
+ ## [4.82.101](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.100...@patternfly/react-code-editor@4.82.101) (2023-01-18)
153
+
154
+ **Note:** Version bump only for package @patternfly/react-code-editor
155
+
156
+ ## 4.82.100 (2023-01-18)
157
+
158
+ **Note:** Version bump only for package @patternfly/react-code-editor
159
+
160
+ ## [4.82.99](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.98...@patternfly/react-code-editor@4.82.99) (2023-01-17)
161
+
162
+ **Note:** Version bump only for package @patternfly/react-code-editor
163
+
164
+ ## [4.82.98](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.97...@patternfly/react-code-editor@4.82.98) (2023-01-16)
165
+
166
+ **Note:** Version bump only for package @patternfly/react-code-editor
167
+
168
+ ## [4.82.97](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.96...@patternfly/react-code-editor@4.82.97) (2023-01-13)
169
+
170
+ **Note:** Version bump only for package @patternfly/react-code-editor
171
+
172
+ ## [4.82.96](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.95...@patternfly/react-code-editor@4.82.96) (2023-01-13)
173
+
174
+ **Note:** Version bump only for package @patternfly/react-code-editor
175
+
176
+ ## [4.82.95](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.94...@patternfly/react-code-editor@4.82.95) (2023-01-13)
177
+
178
+ **Note:** Version bump only for package @patternfly/react-code-editor
179
+
180
+ ## [4.82.94](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.93...@patternfly/react-code-editor@4.82.94) (2023-01-12)
181
+
182
+ **Note:** Version bump only for package @patternfly/react-code-editor
183
+
184
+ ## 4.82.93 (2023-01-11)
185
+
186
+ **Note:** Version bump only for package @patternfly/react-code-editor
187
+
188
+ ## [4.82.92](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.91...@patternfly/react-code-editor@4.82.92) (2023-01-11)
189
+
190
+ **Note:** Version bump only for package @patternfly/react-code-editor
191
+
192
+ ## 4.82.91 (2023-01-09)
193
+
194
+ **Note:** Version bump only for package @patternfly/react-code-editor
195
+
196
+ ## [4.82.90](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.89...@patternfly/react-code-editor@4.82.90) (2023-01-06)
197
+
198
+ **Note:** Version bump only for package @patternfly/react-code-editor
199
+
200
+ ## 4.82.89 (2023-01-06)
201
+
202
+ **Note:** Version bump only for package @patternfly/react-code-editor
203
+
204
+ ## [4.82.88](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.87...@patternfly/react-code-editor@4.82.88) (2023-01-06)
205
+
206
+ **Note:** Version bump only for package @patternfly/react-code-editor
207
+
208
+ ## [4.82.87](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.86...@patternfly/react-code-editor@4.82.87) (2023-01-05)
209
+
210
+ **Note:** Version bump only for package @patternfly/react-code-editor
211
+
212
+ ## [4.82.86](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.85...@patternfly/react-code-editor@4.82.86) (2023-01-05)
213
+
214
+ **Note:** Version bump only for package @patternfly/react-code-editor
215
+
216
+ ## [4.82.85](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.84...@patternfly/react-code-editor@4.82.85) (2023-01-04)
217
+
218
+ **Note:** Version bump only for package @patternfly/react-code-editor
219
+
220
+ ## 4.82.84 (2023-01-04)
221
+
222
+ **Note:** Version bump only for package @patternfly/react-code-editor
223
+
224
+ ## 4.82.83 (2022-12-19)
225
+
226
+ **Note:** Version bump only for package @patternfly/react-code-editor
227
+
228
+ ## [4.82.82](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.81...@patternfly/react-code-editor@4.82.82) (2022-12-12)
229
+
230
+ **Note:** Version bump only for package @patternfly/react-code-editor
231
+
232
+ ## [4.82.81](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.80...@patternfly/react-code-editor@4.82.81) (2022-12-09)
233
+
234
+ **Note:** Version bump only for package @patternfly/react-code-editor
235
+
236
+ ## [4.82.80](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.79...@patternfly/react-code-editor@4.82.80) (2022-12-08)
237
+
238
+ **Note:** Version bump only for package @patternfly/react-code-editor
239
+
240
+ ## [4.82.79](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.78...@patternfly/react-code-editor@4.82.79) (2022-12-08)
241
+
242
+ **Note:** Version bump only for package @patternfly/react-code-editor
243
+
244
+ ## 4.82.78 (2022-12-08)
245
+
246
+ **Note:** Version bump only for package @patternfly/react-code-editor
247
+
248
+ ## 4.82.77 (2022-12-08)
249
+
250
+ **Note:** Version bump only for package @patternfly/react-code-editor
251
+
252
+ ## [4.82.76](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.75...@patternfly/react-code-editor@4.82.76) (2022-12-07)
253
+
254
+ **Note:** Version bump only for package @patternfly/react-code-editor
255
+
256
+ ## [4.82.75](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.74...@patternfly/react-code-editor@4.82.75) (2022-12-07)
257
+
258
+ **Note:** Version bump only for package @patternfly/react-code-editor
259
+
260
+ ## [4.82.74](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.73...@patternfly/react-code-editor@4.82.74) (2022-12-06)
261
+
262
+ **Note:** Version bump only for package @patternfly/react-code-editor
263
+
264
+ ## [4.82.73](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.72...@patternfly/react-code-editor@4.82.73) (2022-12-06)
265
+
266
+ **Note:** Version bump only for package @patternfly/react-code-editor
267
+
268
+ ## [4.82.72](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.71...@patternfly/react-code-editor@4.82.72) (2022-12-06)
269
+
270
+ **Note:** Version bump only for package @patternfly/react-code-editor
271
+
272
+ ## 4.82.71 (2022-12-06)
273
+
274
+ **Note:** Version bump only for package @patternfly/react-code-editor
275
+
276
+ ## [4.82.70](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.69...@patternfly/react-code-editor@4.82.70) (2022-12-05)
277
+
278
+ **Note:** Version bump only for package @patternfly/react-code-editor
279
+
280
+ ## 4.82.69 (2022-12-01)
281
+
282
+ **Note:** Version bump only for package @patternfly/react-code-editor
283
+
284
+ ## 4.82.68 (2022-11-30)
285
+
286
+ **Note:** Version bump only for package @patternfly/react-code-editor
287
+
288
+ ## [4.82.67](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.66...@patternfly/react-code-editor@4.82.67) (2022-11-16)
289
+
290
+ **Note:** Version bump only for package @patternfly/react-code-editor
291
+
292
+ ## [4.82.66](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.65...@patternfly/react-code-editor@4.82.66) (2022-11-15)
293
+
294
+ **Note:** Version bump only for package @patternfly/react-code-editor
295
+
296
+ ## [4.82.65](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.64...@patternfly/react-code-editor@4.82.65) (2022-11-15)
297
+
298
+ **Note:** Version bump only for package @patternfly/react-code-editor
299
+
300
+ ## [4.82.64](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.63...@patternfly/react-code-editor@4.82.64) (2022-11-09)
301
+
302
+ **Note:** Version bump only for package @patternfly/react-code-editor
303
+
304
+ ## [4.82.63](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.62...@patternfly/react-code-editor@4.82.63) (2022-11-09)
305
+
306
+ **Note:** Version bump only for package @patternfly/react-code-editor
307
+
308
+ ## [4.82.62](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.61...@patternfly/react-code-editor@4.82.62) (2022-11-08)
309
+
310
+ **Note:** Version bump only for package @patternfly/react-code-editor
311
+
312
+ ## [4.82.61](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.60...@patternfly/react-code-editor@4.82.61) (2022-11-07)
313
+
314
+ **Note:** Version bump only for package @patternfly/react-code-editor
315
+
316
+ ## [4.82.60](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.59...@patternfly/react-code-editor@4.82.60) (2022-11-07)
317
+
318
+ **Note:** Version bump only for package @patternfly/react-code-editor
319
+
320
+ ## [4.82.59](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.58...@patternfly/react-code-editor@4.82.59) (2022-11-07)
321
+
322
+ **Note:** Version bump only for package @patternfly/react-code-editor
323
+
324
+ ## [4.82.58](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.57...@patternfly/react-code-editor@4.82.58) (2022-11-04)
325
+
326
+ **Note:** Version bump only for package @patternfly/react-code-editor
327
+
328
+ ## 4.82.57 (2022-11-04)
329
+
330
+ **Note:** Version bump only for package @patternfly/react-code-editor
331
+
332
+ ## 4.82.56 (2022-11-01)
333
+
334
+ **Note:** Version bump only for package @patternfly/react-code-editor
335
+
336
+ ## [4.82.55](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.54...@patternfly/react-code-editor@4.82.55) (2022-10-27)
337
+
338
+ **Note:** Version bump only for package @patternfly/react-code-editor
339
+
340
+ ## [4.82.54](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.53...@patternfly/react-code-editor@4.82.54) (2022-10-26)
341
+
342
+ **Note:** Version bump only for package @patternfly/react-code-editor
343
+
344
+ ## [4.82.53](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.52...@patternfly/react-code-editor@4.82.53) (2022-10-26)
345
+
346
+ **Note:** Version bump only for package @patternfly/react-code-editor
347
+
348
+ ## 4.82.52 (2022-10-25)
349
+
350
+ **Note:** Version bump only for package @patternfly/react-code-editor
351
+
352
+ ## [4.82.51](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.50...@patternfly/react-code-editor@4.82.51) (2022-10-24)
353
+
354
+ **Note:** Version bump only for package @patternfly/react-code-editor
355
+
356
+ ## [4.82.50](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.49...@patternfly/react-code-editor@4.82.50) (2022-10-24)
357
+
358
+ **Note:** Version bump only for package @patternfly/react-code-editor
359
+
360
+ ## [4.82.49](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.48...@patternfly/react-code-editor@4.82.49) (2022-10-24)
361
+
362
+ **Note:** Version bump only for package @patternfly/react-code-editor
363
+
364
+ ## [4.82.48](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.47...@patternfly/react-code-editor@4.82.48) (2022-10-24)
365
+
366
+ **Note:** Version bump only for package @patternfly/react-code-editor
367
+
368
+ ## [4.82.47](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.46...@patternfly/react-code-editor@4.82.47) (2022-10-22)
369
+
370
+ **Note:** Version bump only for package @patternfly/react-code-editor
371
+
372
+ ## [4.82.46](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.45...@patternfly/react-code-editor@4.82.46) (2022-10-21)
373
+
374
+ **Note:** Version bump only for package @patternfly/react-code-editor
375
+
376
+ ## [4.82.45](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.44...@patternfly/react-code-editor@4.82.45) (2022-10-21)
377
+
378
+ **Note:** Version bump only for package @patternfly/react-code-editor
379
+
380
+ ## [4.82.44](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.43...@patternfly/react-code-editor@4.82.44) (2022-10-21)
381
+
382
+ ### Bug Fixes
383
+
384
+ - **CodeEditor:** use codeEditorControls and clean up overall ([#7931](https://github.com/patternfly/patternfly-react/issues/7931)) ([69d5937](https://github.com/patternfly/patternfly-react/commit/69d5937fd5fa56ace7543a740ba253bdc851009e))
385
+
386
+ ## [4.82.43](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.42...@patternfly/react-code-editor@4.82.43) (2022-10-20)
387
+
388
+ **Note:** Version bump only for package @patternfly/react-code-editor
389
+
390
+ ## [4.82.42](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.41...@patternfly/react-code-editor@4.82.42) (2022-10-19)
391
+
392
+ **Note:** Version bump only for package @patternfly/react-code-editor
393
+
394
+ ## [4.82.41](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.40...@patternfly/react-code-editor@4.82.41) (2022-10-18)
395
+
396
+ **Note:** Version bump only for package @patternfly/react-code-editor
397
+
398
+ ## [4.82.40](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.39...@patternfly/react-code-editor@4.82.40) (2022-10-18)
399
+
400
+ **Note:** Version bump only for package @patternfly/react-code-editor
401
+
402
+ ## [4.82.39](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.38...@patternfly/react-code-editor@4.82.39) (2022-10-17)
403
+
404
+ **Note:** Version bump only for package @patternfly/react-code-editor
405
+
406
+ ## [4.82.38](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.37...@patternfly/react-code-editor@4.82.38) (2022-10-14)
407
+
408
+ **Note:** Version bump only for package @patternfly/react-code-editor
409
+
410
+ ## [4.82.37](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.36...@patternfly/react-code-editor@4.82.37) (2022-10-14)
411
+
412
+ **Note:** Version bump only for package @patternfly/react-code-editor
413
+
414
+ ## [4.82.36](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.35...@patternfly/react-code-editor@4.82.36) (2022-10-14)
415
+
416
+ **Note:** Version bump only for package @patternfly/react-code-editor
417
+
418
+ ## [4.82.35](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.34...@patternfly/react-code-editor@4.82.35) (2022-10-13)
419
+
420
+ **Note:** Version bump only for package @patternfly/react-code-editor
421
+
422
+ ## [4.82.34](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.33...@patternfly/react-code-editor@4.82.34) (2022-10-13)
423
+
424
+ **Note:** Version bump only for package @patternfly/react-code-editor
425
+
426
+ ## [4.82.33](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.32...@patternfly/react-code-editor@4.82.33) (2022-10-13)
427
+
428
+ **Note:** Version bump only for package @patternfly/react-code-editor
429
+
430
+ ## [4.82.32](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.31...@patternfly/react-code-editor@4.82.32) (2022-10-12)
431
+
432
+ **Note:** Version bump only for package @patternfly/react-code-editor
433
+
434
+ ## [4.82.31](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.30...@patternfly/react-code-editor@4.82.31) (2022-10-12)
435
+
436
+ **Note:** Version bump only for package @patternfly/react-code-editor
437
+
438
+ ## [4.82.30](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.29...@patternfly/react-code-editor@4.82.30) (2022-10-12)
439
+
440
+ **Note:** Version bump only for package @patternfly/react-code-editor
441
+
442
+ ## [4.82.29](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.28...@patternfly/react-code-editor@4.82.29) (2022-10-12)
443
+
444
+ **Note:** Version bump only for package @patternfly/react-code-editor
445
+
446
+ ## 4.82.28 (2022-10-12)
447
+
448
+ **Note:** Version bump only for package @patternfly/react-code-editor
449
+
450
+ ## [4.82.27](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.26...@patternfly/react-code-editor@4.82.27) (2022-10-10)
451
+
452
+ **Note:** Version bump only for package @patternfly/react-code-editor
453
+
454
+ ## [4.82.26](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.82.25...@patternfly/react-code-editor@4.82.26) (2022-10-05)
455
+
456
+ # [5.0.0-alpha.6](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.5...@patternfly/react-code-editor@5.0.0-alpha.6) (2023-02-02)
457
+
458
+ **Note:** Version bump only for package @patternfly/react-code-editor
459
+
460
+ # [5.0.0-alpha.5](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.4...@patternfly/react-code-editor@5.0.0-alpha.5) (2023-02-02)
461
+
462
+ **Note:** Version bump only for package @patternfly/react-code-editor
463
+
464
+ # 5.0.0-alpha.4 (2023-01-18)
465
+
466
+ **Note:** Version bump only for package @patternfly/react-code-editor
467
+
6
468
  # [5.0.0-alpha.3](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.0.0-alpha.2...@patternfly/react-code-editor@5.0.0-alpha.3) (2023-01-12)
7
469
 
8
470
  **Note:** Version bump only for package @patternfly/react-code-editor
package/README.md CHANGED
@@ -49,7 +49,7 @@ Install peer deps
49
49
  "monaco-editor-webpack-plugin": "^2.1.0",
50
50
  "react": "^16.8 || ^17 || ^18",
51
51
  "react-dom": "^16.8 || ^17 || ^18",
52
- "react-monaco-editor": "^0.41.2"
52
+ "react-monaco-editor": "^0.51.0"
53
53
  ```
54
54
 
55
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)
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ButtonProps, PopoverPosition } from '@patternfly/react-core';
2
+ import { ButtonProps } from '@patternfly/react-core';
3
3
  /** Allows customizing the code editor controls by passing this sub-component into the
4
4
  * code editor's customControl property.
5
5
  */
@@ -8,18 +8,8 @@ export interface CodeEditorControlProps extends Omit<ButtonProps, 'onClick'> {
8
8
  'aria-label'?: string;
9
9
  /** Additional classes added to the code editor control. */
10
10
  className?: string;
11
- /** @deprecated Delay in ms before the tooltip appears. */
12
- entryDelay?: number;
13
- /** @deprecated Delay in ms before the tooltip disappears. */
14
- exitDelay?: number;
15
11
  /** Icon rendered inside the code editor control. */
16
12
  icon: React.ReactNode;
17
- /** @deprecated Maximum width of the tooltip (default 150px). */
18
- maxWidth?: string;
19
- /** @deprecated Copy button popover position. */
20
- position?: PopoverPosition | 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
21
- /** @deprecated Text to display in the tooltip*/
22
- toolTipText?: React.ReactNode;
23
13
  /** Event handler for the click of the button */
24
14
  onClick: (code: string, event?: any) => void;
25
15
  /** Flag indicating that the button is visible above the code editor. */
@@ -1 +1 @@
1
- {"version":3,"file":"CodeEditorControl.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeEditor/CodeEditorControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAU,WAAW,EAAE,eAAe,EAAW,MAAM,wBAAwB,CAAC;AAGvF;;GAEG;AAEH,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC;IAC1E,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,QAAQ,CAAC,EACL,eAAe,GACf,MAAM,GACN,KAAK,GACL,QAAQ,GACR,MAAM,GACN,OAAO,GACP,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,UAAU,GACV,aAAa,GACb,WAAW,CAAC;IAChB,gDAAgD;IAChD,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,gDAAgD;IAChD,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC7C,wEAAwE;IACxE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kEAAkE;IAClE,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAwE7E,CAAC"}
1
+ {"version":3,"file":"CodeEditorControl.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeEditor/CodeEditorControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAU,WAAW,EAAW,MAAM,wBAAwB,CAAC;AAGtE;;GAEG;AAEH,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC;IAC1E,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,gDAAgD;IAChD,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC7C,wEAAwE;IACxE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kEAAkE;IAClE,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAsB7E,CAAC"}
@@ -3,35 +3,12 @@ import * as React from 'react';
3
3
  import { Button, Tooltip } from '@patternfly/react-core';
4
4
  import { CodeEditorContext } from './CodeEditorUtils';
5
5
  export const CodeEditorControl = (_a) => {
6
- var { icon, className, 'aria-label': ariaLabel, toolTipText, exitDelay, entryDelay, maxWidth, position, onClick = () => { }, isVisible = true, tooltipProps = {} } = _a, props = __rest(_a, ["icon", "className", 'aria-label', "toolTipText", "exitDelay", "entryDelay", "maxWidth", "position", "onClick", "isVisible", "tooltipProps"]);
6
+ var { icon, className, 'aria-label': ariaLabel, onClick = () => { }, isVisible = true, tooltipProps = {} } = _a, props = __rest(_a, ["icon", "className", 'aria-label', "onClick", "isVisible", "tooltipProps"]);
7
7
  const context = React.useContext(CodeEditorContext);
8
- if (entryDelay !== undefined) {
9
- // eslint-disable-next-line no-console
10
- console.warn('CodeEditorControl: entryDelay prop has been deprecated. ' +
11
- 'Pass the entryDelay via the tooltipProps prop instead.');
12
- }
13
- if (exitDelay !== undefined) {
14
- // eslint-disable-next-line no-console
15
- console.warn('CodeEditorControl: exitDelay prop has been deprecated. ' +
16
- 'Pass the exitDelay via the tooltipProps prop instead.');
17
- }
18
- if (maxWidth !== undefined) {
19
- // eslint-disable-next-line no-console
20
- console.warn('CodeEditorControl: maxWidth prop has been deprecated. ' + 'Pass the maxWidth via the tooltipProps prop instead.');
21
- }
22
- if (position !== undefined) {
23
- // eslint-disable-next-line no-console
24
- console.warn('CodeEditorControl: position prop has been deprecated. ' + 'Pass the position via the tooltipProps prop instead.');
25
- }
26
- if (toolTipText !== undefined) {
27
- // eslint-disable-next-line no-console
28
- console.warn('CodeEditorControl: toolTipText prop has been deprecated. ' +
29
- 'Pass the toolTipText by setting the content field in tooltipProps prop instead.');
30
- }
31
8
  const onCustomClick = (event) => {
32
9
  onClick(context.code, event);
33
10
  };
34
- return isVisible ? (React.createElement(Tooltip, Object.assign({ exitDelay: exitDelay, entryDelay: entryDelay, maxWidth: maxWidth, position: position, content: React.createElement("div", null, toolTipText) }, tooltipProps),
11
+ return isVisible ? (React.createElement(Tooltip, Object.assign({}, tooltipProps),
35
12
  React.createElement(Button, Object.assign({ className: className, onClick: onCustomClick, variant: "control", "aria-label": ariaLabel }, props), icon))) : null;
36
13
  };
37
14
  CodeEditorControl.displayName = 'CodeEditorControl';
@@ -1 +1 @@
1
- {"version":3,"file":"CodeEditorControl.js","sourceRoot":"","sources":["../../../../src/components/CodeEditor/CodeEditorControl.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAgC,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACvF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AA6CtD,MAAM,CAAC,MAAM,iBAAiB,GAAoD,CAAC,EAa1D,EAAE,EAAE;QAbsD,EACjF,IAAI,EACJ,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,WAAW,EACX,SAAS,EACT,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,OAAO,GAAG,GAAG,EAAE,GAAE,CAAC,EAClB,SAAS,GAAG,IAAI,EAChB,YAAY,GAAG,EAAE,OAEM,EADpB,KAAK,cAZyE,6IAalF,CADS;IAER,MAAM,OAAO,GAAG,K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":3,"file":"CodeEditorControl.js","sourceRoot":"","sources":["../../../../src/components/CodeEditor/CodeEditorControl.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAe,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAqBtD,MAAM,CAAC,MAAM,iBAAiB,GAAoD,CAAC,EAQ1D,EAAE,EAAE;QARsD,EACjF,IAAI,EACJ,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,OAAO,GAAG,GAAG,EAAE,GAAE,CAAC,EAClB,SAAS,GAAG,IAAI,EAChB,YAAY,GAAG,EAAE,OAEM,EADpB,KAAK,cAPyE,2EAQlF,CADS;IAER,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;IAEpD,MAAM,aAAa,GAAG,CAAC,KAAsD,EAAE,EAAE;QAC/E,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC/B,CAAC,CAAC;IAEF,OAAO,SAAS,CAAC,CAAC,CAAC,CACjB,oBAAC,OAAO,oBAAK,YAAY;QACvB,oBAAC,MAAM,kBAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAC,SAAS,gBAAa,SAAS,IAAM,KAAK,GACrG,IAAI,CACE,CACD,CACX,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,iBAAiB,CAAC,WAAW,GAAG,mBAAmB,CAAC"}
@@ -239,7 +239,7 @@ class CodeEditor extends React.Component {
239
239
  }
240
240
  componentDidMount() {
241
241
  document.addEventListener('keydown', this.handleGlobalKeys);
242
- this.observer = react_core_1.getResizeObserver(this.ref.current, this.handleResize, true);
242
+ this.observer = (0, react_core_1.getResizeObserver)(this.ref.current, this.handleResize, true);
243
243
  this.handleResize();
244
244
  }
245
245
  componentWillUnmount() {
@@ -280,32 +280,32 @@ class CodeEditor extends React.Component {
280
280
  maxWidth: toolTipMaxWidth,
281
281
  trigger: 'mouseenter focus'
282
282
  };
283
- const editorHeader = (React.createElement("div", { className: react_styles_1.css(code_editor_1.default.codeEditorHeader) },
284
- React.createElement("div", { className: react_styles_1.css(code_editor_1.default.codeEditorControls) },
283
+ const editorHeader = (React.createElement("div", { className: (0, react_styles_1.css)(code_editor_1.default.codeEditorHeader) },
284
+ React.createElement("div", { className: (0, react_styles_1.css)(code_editor_1.default.codeEditorControls) },
285
285
  React.createElement(CodeEditorUtils_1.CodeEditorContext.Provider, { value: { code: value } },
286
286
  isCopyEnabled && (!showEmptyState || !!value) && (React.createElement(CodeEditorControl_1.CodeEditorControl, { icon: React.createElement(copy_icon_1.default, null), "aria-label": copyButtonAriaLabel, tooltipProps: Object.assign(Object.assign({}, tooltipProps), { 'aria-live': 'polite', content: React.createElement("div", null, copied ? copyButtonSuccessTooltipText : copyButtonToolTipText), exitDelay: copied ? toolTipCopyExitDelay : toolTipDelay, onTooltipHidden: () => this.setState({ copied: false }) }), onClick: this.copyCode })),
287
287
  isUploadEnabled && (React.createElement(CodeEditorControl_1.CodeEditorControl, { icon: React.createElement(upload_icon_1.default, null), "aria-label": uploadButtonAriaLabel, tooltipProps: Object.assign({ content: React.createElement("div", null, uploadButtonToolTipText) }, tooltipProps), onClick: open })),
288
288
  isDownloadEnabled && (!showEmptyState || !!value) && (React.createElement(CodeEditorControl_1.CodeEditorControl, { icon: React.createElement(download_icon_1.default, null), "aria-label": downloadButtonAriaLabel, tooltipProps: Object.assign({ content: React.createElement("div", null, downloadButtonToolTipText) }, tooltipProps), onClick: this.download })),
289
289
  customControls && customControls)),
290
- React.createElement("div", { className: react_styles_1.css(code_editor_1.default.codeEditorHeaderMain) }, headerMainContent),
290
+ React.createElement("div", { className: (0, react_styles_1.css)(code_editor_1.default.codeEditorHeaderMain) }, headerMainContent),
291
291
  !!shortcutsPopoverProps.bodyContent && (React.createElement("div", { className: "pf-c-code-editor__keyboard-shortcuts" },
292
292
  React.createElement(react_core_1.Popover, Object.assign({}, shortcutsPopoverProps),
293
293
  React.createElement(react_core_1.Button, { variant: react_core_1.ButtonVariant.link, icon: React.createElement(help_icon_1.default, null) }, shortcutsPopoverButtonText)))),
294
- isLanguageLabelVisible && (React.createElement("div", { className: react_styles_1.css(code_editor_1.default.codeEditorTab) },
295
- React.createElement("span", { className: react_styles_1.css(code_editor_1.default.codeEditorTabIcon) },
294
+ isLanguageLabelVisible && (React.createElement("div", { className: (0, react_styles_1.css)(code_editor_1.default.codeEditorTab) },
295
+ React.createElement("span", { className: (0, react_styles_1.css)(code_editor_1.default.codeEditorTabIcon) },
296
296
  React.createElement(code_icon_1.default, null)),
297
- React.createElement("span", { className: react_styles_1.css(code_editor_1.default.codeEditorTabText) }, language.toUpperCase())))));
298
- const editor = (React.createElement("div", { className: react_styles_1.css(code_editor_1.default.codeEditorCode), ref: this.wrapperRef, tabIndex: 0 },
297
+ React.createElement("span", { className: (0, react_styles_1.css)(code_editor_1.default.codeEditorTabText) }, language.toUpperCase())))));
298
+ const editor = (React.createElement("div", { className: (0, react_styles_1.css)(code_editor_1.default.codeEditorCode), ref: this.wrapperRef, tabIndex: 0 },
299
299
  React.createElement(react_monaco_editor_1.default, { height: height, width: width, language: language, value: value, options: options, overrideServices: overrideServices, onChange: this.onChange, editorDidMount: this.editorDidMount, theme: isDarkTheme ? 'vs-dark' : 'vs-light' })));
300
- return (React.createElement("div", { className: react_styles_1.css(code_editor_1.default.codeEditor, isReadOnly && code_editor_1.default.modifiers.readOnly, className), ref: this.ref }, isUploadEnabled || providedEmptyState ? (React.createElement("div", Object.assign({}, getRootProps({
300
+ return (React.createElement("div", { className: (0, react_styles_1.css)(code_editor_1.default.codeEditor, isReadOnly && code_editor_1.default.modifiers.readOnly, className), ref: this.ref }, isUploadEnabled || providedEmptyState ? (React.createElement("div", Object.assign({}, getRootProps({
301
301
  onClick: event => event.preventDefault() // Prevents clicking TextArea from opening file dialog
302
302
  }), { className: `pf-c-file-upload ${isDragActive && 'pf-m-drag-hover'} ${isLoading && 'pf-m-loading'}` }),
303
303
  editorHeader,
304
- React.createElement("div", { className: react_styles_1.css(code_editor_1.default.codeEditorMain) },
304
+ React.createElement("div", { className: (0, react_styles_1.css)(code_editor_1.default.codeEditorMain) },
305
305
  React.createElement("input", Object.assign({}, getInputProps())),
306
306
  (showEmptyState || providedEmptyState) && !value ? emptyState : editor))) : (React.createElement(React.Fragment, null,
307
307
  editorHeader,
308
- showEditor && React.createElement("div", { className: react_styles_1.css(code_editor_1.default.codeEditorMain) }, editor)))));
308
+ showEditor && React.createElement("div", { className: (0, react_styles_1.css)(code_editor_1.default.codeEditorMain) }, editor)))));
309
309
  }));
310
310
  }
311
311
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CodeEditor.js","sourceRoot":"","sources":["../../../../src/components/CodeEditor/CodeEditor.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,yHAAoF;AACpF,uDAagC;AAChC,sFAAkF;AAElF,wGAAwE;AACxE,4GAA4E;AAC5E,gHAAgF;AAChF,wGAAwE;AACxE,wGAAwE;AACxE,4EAAyD;AACzD,uDAAsD;AACtD,2DAAwD;AAOxD,IAAY,QA4EX;AA5ED,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,uBAAW,CAAA;IACX,2BAAe,CAAA;IACf,mBAAO,CAAA;IACP,iCAAqB,CAAA;IACrB,+BAAmB,CAAA;IACnB,yCAA6B,CAAA;IAC7B,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,qCAAyB,CAAA;IACzB,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,qBAAS,CAAA;IACT,+BAAmB,CAAA;IAC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,EAAE,KAAK;IACjB,sBAAsB,EAAE,KAAK;IAC7B,OAAO,EAAE,EAAE;IACX,UAAU,EAAE,EAAE;IACd,eAAe,EAAE,eAAe;IAChC,cAAc,EAAE,qCAAqC;IACrD,gBAAgB,EAAE,QAAQ;IAC1B,cAAc,EAAE,oBAAoB;IACpC,gBAAgB,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACvC,eAAe,EAAE,KAAK;IACtB,iBAAiB,EAAE,KAAK;IACxB,aAAa,EAAE,KAAK;IACpB,mBAAmB,EAAE,wBAAwB;IAC7C,qBAAqB,EAAE,aAAa;IACpC,uBAAuB,EAAE,eAAe;IACxC,qBAAqB,EAAE,mBAAmB;IAC1C,uBAAuB,EAAE,QAAQ;IACjC,yBAAyB,EAAE,UAAU;IACrC,4BAA4B,EAAE,4BAA4B;IAC1D,oBAAoB,EAAE,IAAI;IAC1B,YAAY,EAAE,GAAG;IACjB,eAAe,EAAE,OAAO;IACxB,eAAe,EAAE,KAAK;IACtB,cAAc,EAAE,IAAI;IACpB,gBAAgB,EAAE,KAAK;IACvB,iBAAiB,EAAE,EAAE;IACrB,0BAA0B,EAAE,gBAAgB;IAC5C,qBAAqB,kBACnB,WAAW,EAAE,EAAE,EACf,YAAY,EAAE,oBAAoB,IAC/B,oBAAO,CAAC,YAAY,CACxB;IACD,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE,EAAE;IACX,gBAAgB,EAAE,EAAE;IACpB,YAAY,EAAE,GAAG,EAAE,GAAE,CAAC;CACvB,CAAC"}
1
+ {"version":3,"file":"CodeEditor.js","sourceRoot":"","sources":["../../../../src/components/CodeEditor/CodeEditor.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,yHAAoF;AACpF,uDAagC;AAChC,sFAAkF;AAElF,wGAAwE;AACxE,4GAA4E;AAC5E,gHAAgF;AAChF,wGAAwE;AACxE,wGAAwE;AACxE,4EAAyD;AACzD,uDAAsD;AAC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0BAA0B,EAAE,gBAAgB;IAC5C,qBAAqB,kBACnB,WAAW,EAAE,EAAE,EACf,YAAY,EAAE,oBAAoB,IAC/B,oBAAO,CAAC,YAAY,CACxB;IACD,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE,EAAE;IACX,gBAAgB,EAAE,EAAE;IACpB,YAAY,EAAE,GAAG,EAAE,GAAE,CAAC;CACvB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ButtonProps, PopoverPosition } from '@patternfly/react-core';
2
+ import { ButtonProps } from '@patternfly/react-core';
3
3
  /** Allows customizing the code editor controls by passing this sub-component into the
4
4
  * code editor's customControl property.
5
5
  */
@@ -8,18 +8,8 @@ export interface CodeEditorControlProps extends Omit<ButtonProps, 'onClick'> {
8
8
  'aria-label'?: string;
9
9
  /** Additional classes added to the code editor control. */
10
10
  className?: string;
11
- /** @deprecated Delay in ms before the tooltip appears. */
12
- entryDelay?: number;
13
- /** @deprecated Delay in ms before the tooltip disappears. */
14
- exitDelay?: number;
15
11
  /** Icon rendered inside the code editor control. */
16
12
  icon: React.ReactNode;
17
- /** @deprecated Maximum width of the tooltip (default 150px). */
18
- maxWidth?: string;
19
- /** @deprecated Copy button popover position. */
20
- position?: PopoverPosition | 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
21
- /** @deprecated Text to display in the tooltip*/
22
- toolTipText?: React.ReactNode;
23
13
  /** Event handler for the click of the button */
24
14
  onClick: (code: string, event?: any) => void;
25
15
  /** Flag indicating that the button is visible above the code editor. */
@@ -1 +1 @@
1
- {"version":3,"file":"CodeEditorControl.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeEditor/CodeEditorControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAU,WAAW,EAAE,eAAe,EAAW,MAAM,wBAAwB,CAAC;AAGvF;;GAEG;AAEH,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC;IAC1E,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,QAAQ,CAAC,EACL,eAAe,GACf,MAAM,GACN,KAAK,GACL,QAAQ,GACR,MAAM,GACN,OAAO,GACP,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,UAAU,GACV,aAAa,GACb,WAAW,CAAC;IAChB,gDAAgD;IAChD,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,gDAAgD;IAChD,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC7C,wEAAwE;IACxE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kEAAkE;IAClE,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAwE7E,CAAC"}
1
+ {"version":3,"file":"CodeEditorControl.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeEditor/CodeEditorControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAU,WAAW,EAAW,MAAM,wBAAwB,CAAC;AAGtE;;GAEG;AAEH,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC;IAC1E,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,gDAAgD;IAChD,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC7C,wEAAwE;IACxE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kEAAkE;IAClE,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAsB7E,CAAC"}
@@ -6,35 +6,12 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const react_core_1 = require("@patternfly/react-core");
7
7
  const CodeEditorUtils_1 = require("./CodeEditorUtils");
8
8
  const CodeEditorControl = (_a) => {
9
- var { icon, className, 'aria-label': ariaLabel, toolTipText, exitDelay, entryDelay, maxWidth, position, onClick = () => { }, isVisible = true, tooltipProps = {} } = _a, props = tslib_1.__rest(_a, ["icon", "className", 'aria-label', "toolTipText", "exitDelay", "entryDelay", "maxWidth", "position", "onClick", "isVisible", "tooltipProps"]);
9
+ var { icon, className, 'aria-label': ariaLabel, onClick = () => { }, isVisible = true, tooltipProps = {} } = _a, props = tslib_1.__rest(_a, ["icon", "className", 'aria-label', "onClick", "isVisible", "tooltipProps"]);
10
10
  const context = React.useContext(CodeEditorUtils_1.CodeEditorContext);
11
- if (entryDelay !== undefined) {
12
- // eslint-disable-next-line no-console
13
- console.warn('CodeEditorControl: entryDelay prop has been deprecated. ' +
14
- 'Pass the entryDelay via the tooltipProps prop instead.');
15
- }
16
- if (exitDelay !== undefined) {
17
- // eslint-disable-next-line no-console
18
- console.warn('CodeEditorControl: exitDelay prop has been deprecated. ' +
19
- 'Pass the exitDelay via the tooltipProps prop instead.');
20
- }
21
- if (maxWidth !== undefined) {
22
- // eslint-disable-next-line no-console
23
- console.warn('CodeEditorControl: maxWidth prop has been deprecated. ' + 'Pass the maxWidth via the tooltipProps prop instead.');
24
- }
25
- if (position !== undefined) {
26
- // eslint-disable-next-line no-console
27
- console.warn('CodeEditorControl: position prop has been deprecated. ' + 'Pass the position via the tooltipProps prop instead.');
28
- }
29
- if (toolTipText !== undefined) {
30
- // eslint-disable-next-line no-console
31
- console.warn('CodeEditorControl: toolTipText prop has been deprecated. ' +
32
- 'Pass the toolTipText by setting the content field in tooltipProps prop instead.');
33
- }
34
11
  const onCustomClick = (event) => {
35
12
  onClick(context.code, event);
36
13
  };
37
- return isVisible ? (React.createElement(react_core_1.Tooltip, Object.assign({ exitDelay: exitDelay, entryDelay: entryDelay, maxWidth: maxWidth, position: position, content: React.createElement("div", null, toolTipText) }, tooltipProps),
14
+ return isVisible ? (React.createElement(react_core_1.Tooltip, Object.assign({}, tooltipProps),
38
15
  React.createElement(react_core_1.Button, Object.assign({ className: className, onClick: onCustomClick, variant: "control", "aria-label": ariaLabel }, props), icon))) : null;
39
16
  };
40
17
  exports.CodeEditorControl = CodeEditorControl;
@@ -1 +1 @@
1
- {"version":3,"file":"CodeEditorControl.js","sourceRoot":"","sources":["../../../../src/components/CodeEditor/CodeEditorControl.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAAuF;AACvF,uDAAsD;AA6C/C,MAAM,iBAAiB,GAAoD,CAAC,EAa1D,EAAE,EAAE;QAbsD,EACjF,IAAI,EACJ,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,WAAW,EACX,SAAS,EACT,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,OAAO,GAAG,GAAG,EAAE,GAAE,CAAC,EAClB,SAAS,GAAG,IAAI,EAChB,YAAY,GAAG,EAAE,OAEM,EADpB,KAAK,sBAZyE,6IAalF,CADS;IAER,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC,mCAAiB,CAAC,CAAC;IAEpD,I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.js","sourceRoot":"","sources":["../../../../src/components/CodeEditor/CodeEditorControl.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAAsE;AACtE,uDAAsD;AAqB/C,MAAM,iBAAiB,GAAoD,CAAC,EAQ1D,EAAE,EAAE;QARsD,EACjF,IAAI,EACJ,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,OAAO,GAAG,GAAG,EAAE,GAAE,CAAC,EAClB,SAAS,GAAG,IAAI,EAChB,YAAY,GAAG,EAAE,OAEM,EADpB,KAAK,sBAPyE,2EAQlF,CADS;IAER,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC,mCAAiB,CAAC,CAAC;IAEpD,MAAM,aAAa,GAAG,CAAC,KAAsD,EAAE,EAAE;QAC/E,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC/B,CAAC,CAAC;IAEF,OAAO,SAAS,CAAC,CAAC,CAAC,CACjB,oBAAC,oBAAO,oBAAK,YAAY;QACvB,oBAAC,mBAAM,kBAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAC,SAAS,gBAAa,SAAS,IAAM,KAAK,GACrG,IAAI,CACE,CACD,CACX,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAtBW,QAAA,iBAAiB,qBAsB5B;AAEF,yBAAiB,CAAC,WAAW,GAAG,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-code-editor",
3
- "version": "5.0.0-alpha.3",
3
+ "version": "5.0.0-alpha.30",
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",
@@ -30,20 +30,20 @@
30
30
  "clean": "rimraf dist"
31
31
  },
32
32
  "dependencies": {
33
- "@patternfly/react-core": "^5.0.0-alpha.3",
34
- "@patternfly/react-icons": "^5.0.0-alpha.1",
35
- "@patternfly/react-styles": "^5.0.0-alpha.1",
33
+ "@patternfly/react-core": "^5.0.0-alpha.30",
34
+ "@patternfly/react-icons": "^5.0.0-alpha.4",
35
+ "@patternfly/react-styles": "^5.0.0-alpha.4",
36
36
  "react-dropzone": "14.2.3",
37
37
  "tslib": "^2.0.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "react": "^16.8 || ^17 || ^18",
41
41
  "react-dom": "^16.8 || ^17 || ^18",
42
- "react-monaco-editor": "^0.41.2"
42
+ "react-monaco-editor": "^0.51.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "rimraf": "^2.6.2",
46
46
  "typescript": "^4.7.4"
47
47
  },
48
- "gitHead": "095f5b13df51b2fa9ffe73bee9e01e8613d54f06"
48
+ "gitHead": "3a4498b375958d9bfcb068471ed5ecc8138ea32d"
49
49
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Button, ButtonProps, PopoverPosition, Tooltip } from '@patternfly/react-core';
2
+ import { Button, ButtonProps, Tooltip } from '@patternfly/react-core';
3
3
  import { CodeEditorContext } from './CodeEditorUtils';
4
4
 
5
5
  /** Allows customizing the code editor controls by passing this sub-component into the
@@ -11,32 +11,8 @@ export interface CodeEditorControlProps extends Omit<ButtonProps, 'onClick'> {
11
11
  'aria-label'?: string;
12
12
  /** Additional classes added to the code editor control. */
13
13
  className?: string;
14
- /** @deprecated Delay in ms before the tooltip appears. */
15
- entryDelay?: number;
16
- /** @deprecated Delay in ms before the tooltip disappears. */
17
- exitDelay?: number;
18
14
  /** Icon rendered inside the code editor control. */
19
15
  icon: React.ReactNode;
20
- /** @deprecated Maximum width of the tooltip (default 150px). */
21
- maxWidth?: string;
22
- /** @deprecated Copy button popover position. */
23
- position?:
24
- | PopoverPosition
25
- | 'auto'
26
- | 'top'
27
- | 'bottom'
28
- | 'left'
29
- | 'right'
30
- | 'top-start'
31
- | 'top-end'
32
- | 'bottom-start'
33
- | 'bottom-end'
34
- | 'left-start'
35
- | 'left-end'
36
- | 'right-start'
37
- | 'right-end';
38
- /** @deprecated Text to display in the tooltip*/
39
- toolTipText?: React.ReactNode;
40
16
  /** Event handler for the click of the button */
41
17
  onClick: (code: string, event?: any) => void;
42
18
  /** Flag indicating that the button is visible above the code editor. */
@@ -49,11 +25,6 @@ export const CodeEditorControl: React.FunctionComponent<CodeEditorControlProps>
49
25
  icon,
50
26
  className,
51
27
  'aria-label': ariaLabel,
52
- toolTipText,
53
- exitDelay,
54
- entryDelay,
55
- maxWidth,
56
- position,
57
28
  onClick = () => {},
58
29
  isVisible = true,
59
30
  tooltipProps = {},
@@ -61,57 +32,12 @@ export const CodeEditorControl: React.FunctionComponent<CodeEditorControlProps>
61
32
  }: CodeEditorControlProps) => {
62
33
  const context = React.useContext(CodeEditorContext);
63
34
 
64
- if (entryDelay !== undefined) {
65
- // eslint-disable-next-line no-console
66
- console.warn(
67
- 'CodeEditorControl: entryDelay prop has been deprecated. ' +
68
- 'Pass the entryDelay via the tooltipProps prop instead.'
69
- );
70
- }
71
-
72
- if (exitDelay !== undefined) {
73
- // eslint-disable-next-line no-console
74
- console.warn(
75
- 'CodeEditorControl: exitDelay prop has been deprecated. ' +
76
- 'Pass the exitDelay via the tooltipProps prop instead.'
77
- );
78
- }
79
-
80
- if (maxWidth !== undefined) {
81
- // eslint-disable-next-line no-console
82
- console.warn(
83
- 'CodeEditorControl: maxWidth prop has been deprecated. ' + 'Pass the maxWidth via the tooltipProps prop instead.'
84
- );
85
- }
86
-
87
- if (position !== undefined) {
88
- // eslint-disable-next-line no-console
89
- console.warn(
90
- 'CodeEditorControl: position prop has been deprecated. ' + 'Pass the position via the tooltipProps prop instead.'
91
- );
92
- }
93
-
94
- if (toolTipText !== undefined) {
95
- // eslint-disable-next-line no-console
96
- console.warn(
97
- 'CodeEditorControl: toolTipText prop has been deprecated. ' +
98
- 'Pass the toolTipText by setting the content field in tooltipProps prop instead.'
99
- );
100
- }
101
-
102
35
  const onCustomClick = (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => {
103
36
  onClick(context.code, event);
104
37
  };
105
38
 
106
39
  return isVisible ? (
107
- <Tooltip
108
- exitDelay={exitDelay}
109
- entryDelay={entryDelay}
110
- maxWidth={maxWidth}
111
- position={position}
112
- content={<div>{toolTipText}</div>}
113
- {...tooltipProps}
114
- >
40
+ <Tooltip {...tooltipProps}>
115
41
  <Button className={className} onClick={onCustomClick} variant="control" aria-label={ariaLabel} {...props}>
116
42
  {icon}
117
43
  </Button>
@@ -40,7 +40,7 @@ export const CodeEditorBasic: React.FunctionComponent = () => {
40
40
  <Checkbox
41
41
  label="Dark theme"
42
42
  isChecked={isDarkTheme}
43
- onChange={toggleDarkTheme}
43
+ onChange={(_event, checked) => toggleDarkTheme(checked)}
44
44
  aria-label="dark theme checkbox"
45
45
  id="toggle-theme"
46
46
  name="toggle-theme"
@@ -48,7 +48,7 @@ export const CodeEditorBasic: React.FunctionComponent = () => {
48
48
  <Checkbox
49
49
  label="Line numbers"
50
50
  isChecked={isLineNumbersVisible}
51
- onChange={toggleLineNumbers}
51
+ onChange={(_event, checked) => toggleLineNumbers(checked)}
52
52
  aria-label="line numbers checkbox"
53
53
  id="toggle-line-numbers"
54
54
  name="toggle-line-numbers"
@@ -56,7 +56,7 @@ export const CodeEditorBasic: React.FunctionComponent = () => {
56
56
  <Checkbox
57
57
  label="Read only"
58
58
  isChecked={isReadOnly}
59
- onChange={toggleReadOnly}
59
+ onChange={(_event, checked) => toggleReadOnly(checked)}
60
60
  aria-label="read only checkbox"
61
61
  id="toggle-read-only"
62
62
  name="toggle-read-only"
@@ -64,7 +64,7 @@ export const CodeEditorBasic: React.FunctionComponent = () => {
64
64
  <Checkbox
65
65
  label="Minimap"
66
66
  isChecked={isMinimapVisible}
67
- onChange={toggleMinimap}
67
+ onChange={(_event, checked) => toggleMinimap(checked)}
68
68
  aria-label="display minimap checkbox"
69
69
  id="toggle-minimap"
70
70
  name="toggle-minimap"