@nordicsemiconductor/pc-nrfconnect-shared 133.0.0 → 134.0.0
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 +150 -127
- package/coverage/cobertura-coverage.xml +23 -23
- package/package.json +1 -1
- package/scripts/prepare-shared-release.ts +4 -3
- package/src/Dropdown/Dropdown.tsx +12 -10
- package/src/utils/usageDataMain.ts +2 -2
- package/typings/generated/src/Dropdown/Dropdown.d.ts +7 -6
- package/typings/generated/src/Dropdown/Dropdown.d.ts.map +1 -1
package/Changelog.md
CHANGED
|
@@ -7,14 +7,37 @@ This project does _not_ adhere to
|
|
|
7
7
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html) but contrary to it
|
|
8
8
|
every new version is a new major version.
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## 134.0.0 - 2023-11-22
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `defaultButtonLabel` on `Dropdown` component, for cases where it is useful
|
|
15
|
+
to have a default item that should not be selected after a different item
|
|
16
|
+
has been selected.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- The `Dropdown` component is now generic, and will infer the `DropdownItem`
|
|
21
|
+
type, from the its properties. Meaning that if you pass in a list of
|
|
22
|
+
`DropdownItem<number>` to items, then the `onSelect` item will be of type
|
|
23
|
+
`DropdownItem<number>`.
|
|
24
|
+
- Version numbers in this changelog are changed from the shorter variant like
|
|
25
|
+
`133` to the complete version number like `133.0.0`.
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Telemtry: Metadata was not removed on request, when being in the main
|
|
30
|
+
process. This is not critical because this code isn't yet executed in real
|
|
31
|
+
life.
|
|
32
|
+
|
|
33
|
+
## 133.0.0 - 2023-11-15
|
|
11
34
|
|
|
12
35
|
### Changed
|
|
13
36
|
|
|
14
37
|
- Nrfutil `sandbox` default logging level to 'off' in production and 'error'
|
|
15
38
|
in development environments
|
|
16
39
|
|
|
17
|
-
## 132 - 2023-11-14
|
|
40
|
+
## 132.0.0 - 2023-11-14
|
|
18
41
|
|
|
19
42
|
### Added
|
|
20
43
|
|
|
@@ -25,7 +48,7 @@ every new version is a new major version.
|
|
|
25
48
|
|
|
26
49
|
- `deviceInfo` is update in redux on device select
|
|
27
50
|
|
|
28
|
-
## 131 - 2023-11-14
|
|
51
|
+
## 131.0.0 - 2023-11-14
|
|
29
52
|
|
|
30
53
|
### Changed
|
|
31
54
|
|
|
@@ -38,7 +61,7 @@ every new version is a new major version.
|
|
|
38
61
|
|
|
39
62
|
- Removed warning from `applicationinsights` in the console on start.
|
|
40
63
|
|
|
41
|
-
## 130 - 2023-11-14
|
|
64
|
+
## 130.0.0 - 2023-11-14
|
|
42
65
|
|
|
43
66
|
### Fixed
|
|
44
67
|
|
|
@@ -49,7 +72,7 @@ every new version is a new major version.
|
|
|
49
72
|
onSelectedDevice. This is to ensure the operations to the device are
|
|
50
73
|
completed before the app possibly does any more action on it
|
|
51
74
|
|
|
52
|
-
## 129 - 2023-11-13
|
|
75
|
+
## 129.0.0 - 2023-11-13
|
|
53
76
|
|
|
54
77
|
### Added
|
|
55
78
|
|
|
@@ -65,39 +88,39 @@ every new version is a new major version.
|
|
|
65
88
|
device as a dependency in `package.json`
|
|
66
89
|
- `App` no longer logs nrfutil device version.
|
|
67
90
|
|
|
68
|
-
## 128 - 2023-11-08
|
|
91
|
+
## 128.0.0 - 2023-11-08
|
|
69
92
|
|
|
70
93
|
### Fixed
|
|
71
94
|
|
|
72
95
|
- `NumberInputSliderWithUnit` component did not disable all sub-components
|
|
73
96
|
- `NumberInputSliderWithUnit` did not update when external value changed
|
|
74
97
|
|
|
75
|
-
## 127 - 2023-11-08
|
|
98
|
+
## 127.0.0 - 2023-11-08
|
|
76
99
|
|
|
77
100
|
### Fixed
|
|
78
101
|
|
|
79
102
|
- version 126 was released as a prerelease on NPM
|
|
80
103
|
|
|
81
|
-
## 126 - 2023-11-08
|
|
104
|
+
## 126.0.0 - 2023-11-08
|
|
82
105
|
|
|
83
106
|
### Fixed
|
|
84
107
|
|
|
85
108
|
- `className` property in `FileLink` component is now optional
|
|
86
109
|
|
|
87
|
-
## 125 - 2023-11-08
|
|
110
|
+
## 125.0.0 - 2023-11-08
|
|
88
111
|
|
|
89
112
|
### Changed
|
|
90
113
|
|
|
91
114
|
- `className` property in `FileLink` component is now optional
|
|
92
115
|
|
|
93
|
-
## 124 - 2023-11-08
|
|
116
|
+
## 124.0.0 - 2023-11-08
|
|
94
117
|
|
|
95
118
|
### Added
|
|
96
119
|
|
|
97
120
|
- `className` property to `FileLink` component
|
|
98
121
|
- `FileLink` will add ellipsis when text overflows
|
|
99
122
|
|
|
100
|
-
## 123 - 2023-11-07
|
|
123
|
+
## 123.0.0 - 2023-11-07
|
|
101
124
|
|
|
102
125
|
### Added
|
|
103
126
|
|
|
@@ -148,7 +171,7 @@ usageData.enableTelemetry();
|
|
|
148
171
|
render(<App panes={[]} />);
|
|
149
172
|
```
|
|
150
173
|
|
|
151
|
-
## 122 - 2023-11-02
|
|
174
|
+
## 122.0.0 - 2023-11-02
|
|
152
175
|
|
|
153
176
|
### Changed
|
|
154
177
|
|
|
@@ -182,7 +205,7 @@ render(<App panes={[]} />);
|
|
|
182
205
|
- Change `nrfConnectForDesktop.nrfutil.device` to 2.0.0.
|
|
183
206
|
- Update all device properties to match the changes above.
|
|
184
207
|
|
|
185
|
-
## 121 - 2023-10-24
|
|
208
|
+
## 121.0.0 - 2023-10-24
|
|
186
209
|
|
|
187
210
|
### Added
|
|
188
211
|
|
|
@@ -196,7 +219,7 @@ render(<App panes={[]} />);
|
|
|
196
219
|
waiting for device
|
|
197
220
|
- Device setup dialog is closed immediately pressing no to programming it
|
|
198
221
|
|
|
199
|
-
## 120 - 2023-10-13
|
|
222
|
+
## 120.0.0 - 2023-10-13
|
|
200
223
|
|
|
201
224
|
### Fixed
|
|
202
225
|
|
|
@@ -205,13 +228,13 @@ render(<App panes={[]} />);
|
|
|
205
228
|
into the `package.json`, which didn't exist any longer in the launcher,
|
|
206
229
|
because it is only supplied during build time by apps now.
|
|
207
230
|
|
|
208
|
-
## 119 - 2023-10-13
|
|
231
|
+
## 119.0.0 - 2023-10-13
|
|
209
232
|
|
|
210
233
|
### Changed
|
|
211
234
|
|
|
212
235
|
- Remove default 3000ms timeout from `nrfutil device list`
|
|
213
236
|
|
|
214
|
-
## 118 - 2023-10-13
|
|
237
|
+
## 118.0.0 - 2023-10-13
|
|
215
238
|
|
|
216
239
|
### Added
|
|
217
240
|
|
|
@@ -227,13 +250,13 @@ render(<App panes={[]} />);
|
|
|
227
250
|
- `nrfConnectForDesktop.html` is not optional anymore, it must always be
|
|
228
251
|
specified in `package.json`.
|
|
229
252
|
|
|
230
|
-
## 117 - 2023-10-04
|
|
253
|
+
## 117.0.0 - 2023-10-04
|
|
231
254
|
|
|
232
255
|
### Fixed
|
|
233
256
|
|
|
234
257
|
- `nrfutil device program` did now throw error when files buffers where used
|
|
235
258
|
|
|
236
|
-
## 116 - 2023-10-03
|
|
259
|
+
## 116.0.0 - 2023-10-03
|
|
237
260
|
|
|
238
261
|
### Fixed
|
|
239
262
|
|
|
@@ -245,26 +268,26 @@ render(<App panes={[]} />);
|
|
|
245
268
|
|
|
246
269
|
- Read the `package.json` already during compile time, but only for apps.
|
|
247
270
|
|
|
248
|
-
## 115 - 2023-09-28
|
|
271
|
+
## 115.0.0 - 2023-09-28
|
|
249
272
|
|
|
250
273
|
### Fixed
|
|
251
274
|
|
|
252
275
|
- `MasonryLayout` content disappeared if space is less then min width
|
|
253
276
|
- `Feedback` cursor is missing when no text is typed in.
|
|
254
277
|
|
|
255
|
-
## 114 - 2023-09-26
|
|
278
|
+
## 114.0.0 - 2023-09-26
|
|
256
279
|
|
|
257
280
|
### Fixed
|
|
258
281
|
|
|
259
282
|
- `MasonryLayout` excess scrolling white space.
|
|
260
283
|
|
|
261
|
-
## 113 - 2023-09-25
|
|
284
|
+
## 113.0.0 - 2023-09-25
|
|
262
285
|
|
|
263
286
|
### Fixed
|
|
264
287
|
|
|
265
288
|
- The buttons in a dialog footer had too little space between them.
|
|
266
289
|
|
|
267
|
-
## 112 - 2023-09-25
|
|
290
|
+
## 112.0.0 - 2023-09-25
|
|
268
291
|
|
|
269
292
|
### Fixed
|
|
270
293
|
|
|
@@ -273,7 +296,7 @@ render(<App panes={[]} />);
|
|
|
273
296
|
Sometimes TypeScript gets confused from which one to choose the types. Using
|
|
274
297
|
explicitly the version from the browser fixes this.
|
|
275
298
|
|
|
276
|
-
## 111 - 2023-09-22
|
|
299
|
+
## 111.0.0 - 2023-09-22
|
|
277
300
|
|
|
278
301
|
### Added
|
|
279
302
|
|
|
@@ -299,13 +322,13 @@ declare module '!!@svgr!*.svg' {
|
|
|
299
322
|
}
|
|
300
323
|
```
|
|
301
324
|
|
|
302
|
-
## 110 - 2023-09-22
|
|
325
|
+
## 110.0.0 - 2023-09-22
|
|
303
326
|
|
|
304
327
|
### Fixed
|
|
305
328
|
|
|
306
329
|
- `MasonryLayout` dropdown component forced cards on different row to shift.
|
|
307
330
|
|
|
308
|
-
## 109 - 2023-09-21
|
|
331
|
+
## 109.0.0 - 2023-09-21
|
|
309
332
|
|
|
310
333
|
### Changed
|
|
311
334
|
|
|
@@ -315,26 +338,26 @@ declare module '!!@svgr!*.svg' {
|
|
|
315
338
|
|
|
316
339
|
- `Overlay` component.
|
|
317
340
|
|
|
318
|
-
## 108 - 2023-09-15
|
|
341
|
+
## 108.0.0 - 2023-09-15
|
|
319
342
|
|
|
320
343
|
### Fixed
|
|
321
344
|
|
|
322
345
|
- `MasonryLayout` Reacts to dropdown component making its height bigger.
|
|
323
346
|
|
|
324
|
-
## 107 - 2023-09-13
|
|
347
|
+
## 107.0.0 - 2023-09-13
|
|
325
348
|
|
|
326
349
|
### Fixed
|
|
327
350
|
|
|
328
351
|
- Fixed get `getAppDir()` path.
|
|
329
352
|
|
|
330
|
-
## 106 - 2023-09-13
|
|
353
|
+
## 106.0.0 - 2023-09-13
|
|
331
354
|
|
|
332
355
|
### Added
|
|
333
356
|
|
|
334
357
|
- `shellParser` utility
|
|
335
358
|
- `StartStopButton` now also takes in optional `title` property
|
|
336
359
|
|
|
337
|
-
## 105 - 2023-09-11
|
|
360
|
+
## 105.0.0 - 2023-09-11
|
|
338
361
|
|
|
339
362
|
### Added
|
|
340
363
|
|
|
@@ -344,7 +367,7 @@ declare module '!!@svgr!*.svg' {
|
|
|
344
367
|
|
|
345
368
|
- Log device list errors.
|
|
346
369
|
|
|
347
|
-
## 104 - 2023-09-08
|
|
370
|
+
## 104.0.0 - 2023-09-08
|
|
348
371
|
|
|
349
372
|
### Changed
|
|
350
373
|
|
|
@@ -356,7 +379,7 @@ declare module '!!@svgr!*.svg' {
|
|
|
356
379
|
- Batch programming will now cleanup temporary files
|
|
357
380
|
- Device list will use the passed devices traits
|
|
358
381
|
|
|
359
|
-
## 103 - 2023-09-06
|
|
382
|
+
## 103.0.0 - 2023-09-06
|
|
360
383
|
|
|
361
384
|
### Added
|
|
362
385
|
|
|
@@ -372,13 +395,13 @@ declare module '!!@svgr!*.svg' {
|
|
|
372
395
|
- Update `nrfConnectForDesktop.nrfutil.device` to version 1.4.2 in
|
|
373
396
|
`package.json`
|
|
374
397
|
|
|
375
|
-
## 102 - 2023-09-05
|
|
398
|
+
## 102.0.0 - 2023-09-05
|
|
376
399
|
|
|
377
400
|
### Fixed
|
|
378
401
|
|
|
379
402
|
- Trace logging did not work in production
|
|
380
403
|
|
|
381
|
-
## 101 - 2023-09-05
|
|
404
|
+
## 101.0.0 - 2023-09-05
|
|
382
405
|
|
|
383
406
|
### Fixed
|
|
384
407
|
|
|
@@ -388,14 +411,14 @@ declare module '!!@svgr!*.svg' {
|
|
|
388
411
|
|
|
389
412
|
- `link` variant type from of `Button` component.
|
|
390
413
|
|
|
391
|
-
## 100 - 2023-09-05
|
|
414
|
+
## 100.0.0 - 2023-09-05
|
|
392
415
|
|
|
393
416
|
### Fixed
|
|
394
417
|
|
|
395
418
|
- Unable to use nrfutil device in production due to issue with nrfutil device
|
|
396
419
|
logging when set to off.
|
|
397
420
|
|
|
398
|
-
## 99 - 2023-09-04
|
|
421
|
+
## 99.0.0 - 2023-09-04
|
|
399
422
|
|
|
400
423
|
### Added
|
|
401
424
|
|
|
@@ -417,7 +440,7 @@ declare module '!!@svgr!*.svg' {
|
|
|
417
440
|
|
|
418
441
|
- Logging for nrf-probe-lib version
|
|
419
442
|
|
|
420
|
-
## 98 - 2023-08-30
|
|
443
|
+
## 98.0.0 - 2023-08-30
|
|
421
444
|
|
|
422
445
|
### Added
|
|
423
446
|
|
|
@@ -445,7 +468,7 @@ declare module '!!@svgr!*.svg' {
|
|
|
445
468
|
- Replace any occurrence of `link` variant `Button`s with `ExternalLink` or
|
|
446
469
|
`FileLink`.
|
|
447
470
|
|
|
448
|
-
## 97 - 2023-08-29
|
|
471
|
+
## 97.0.0 - 2023-08-29
|
|
449
472
|
|
|
450
473
|
### Added
|
|
451
474
|
|
|
@@ -458,7 +481,7 @@ declare module '!!@svgr!*.svg' {
|
|
|
458
481
|
- `PCA10153`
|
|
459
482
|
- `PCA20049`
|
|
460
483
|
|
|
461
|
-
## 96 - 2023-08-25
|
|
484
|
+
## 96.0.0 - 2023-08-25
|
|
462
485
|
|
|
463
486
|
### Added
|
|
464
487
|
|
|
@@ -468,20 +491,20 @@ declare module '!!@svgr!*.svg' {
|
|
|
468
491
|
|
|
469
492
|
- Nrfutil device list `stop` callback is now an optional parameter
|
|
470
493
|
|
|
471
|
-
## 95 - 2023-08-25
|
|
494
|
+
## 95.0.0 - 2023-08-25
|
|
472
495
|
|
|
473
496
|
### Fixed
|
|
474
497
|
|
|
475
498
|
- Worked around an issue where the esbuild currently has issues with
|
|
476
499
|
.css-files that are named the same as their components.
|
|
477
500
|
|
|
478
|
-
## 94 - 2023-08-25
|
|
501
|
+
## 94.0.0 - 2023-08-25
|
|
479
502
|
|
|
480
503
|
### Changed
|
|
481
504
|
|
|
482
505
|
- Updated react to v18
|
|
483
506
|
|
|
484
|
-
## 93 - 2023-08-25
|
|
507
|
+
## 93.0.0 - 2023-08-25
|
|
485
508
|
|
|
486
509
|
### Added
|
|
487
510
|
|
|
@@ -500,13 +523,13 @@ declare module '!!@svgr!*.svg' {
|
|
|
500
523
|
- Any usage of Nrfutil property `progressPercentage` need to be renamed to
|
|
501
524
|
`stepProgressPercentage`
|
|
502
525
|
|
|
503
|
-
## 92 - 2023-08-24
|
|
526
|
+
## 92.0.0 - 2023-08-24
|
|
504
527
|
|
|
505
528
|
### Added
|
|
506
529
|
|
|
507
530
|
- Add functionality to send metrics and traces to telemetry.
|
|
508
531
|
|
|
509
|
-
## 91 - 2023-08-23
|
|
532
|
+
## 91.0.0 - 2023-08-23
|
|
510
533
|
|
|
511
534
|
### Changed
|
|
512
535
|
|
|
@@ -532,7 +555,7 @@ declare module '!!@svgr!*.svg' {
|
|
|
532
555
|
- Peer dependency and any remaining support for
|
|
533
556
|
`@nordicsemiconductor/nrf-device-lib-js`.
|
|
534
557
|
|
|
535
|
-
## 90 - 2023-08-21
|
|
558
|
+
## 90.0.0 - 2023-08-21
|
|
536
559
|
|
|
537
560
|
### Changed
|
|
538
561
|
|
|
@@ -560,13 +583,13 @@ declare module '!!@svgr!*.svg' {
|
|
|
560
583
|
|
|
561
584
|
- Fixed get `getAppData()` path.
|
|
562
585
|
|
|
563
|
-
## 89 - 2023-08-17
|
|
586
|
+
## 89.0.0 - 2023-08-17
|
|
564
587
|
|
|
565
588
|
### Changed
|
|
566
589
|
|
|
567
590
|
- Updated nrf-device-lib-js to version 0.7.1.
|
|
568
591
|
|
|
569
|
-
## 88 - 2023-08-17
|
|
592
|
+
## 88.0.0 - 2023-08-17
|
|
570
593
|
|
|
571
594
|
### Changed
|
|
572
595
|
|
|
@@ -577,13 +600,13 @@ declare module '!!@svgr!*.svg' {
|
|
|
577
600
|
|
|
578
601
|
- Change `html` to `nrfConnectForDesktop.html` in the app package json.
|
|
579
602
|
|
|
580
|
-
## 87 - 2023-08-14
|
|
603
|
+
## 87.0.0 - 2023-08-14
|
|
581
604
|
|
|
582
605
|
### Fixed
|
|
583
606
|
|
|
584
607
|
- Spinner in `Dialog` components was not inlined.
|
|
585
608
|
|
|
586
|
-
## 86 - 2023-08-14
|
|
609
|
+
## 86.0.0 - 2023-08-14
|
|
587
610
|
|
|
588
611
|
### Changed
|
|
589
612
|
|
|
@@ -594,13 +617,13 @@ declare module '!!@svgr!*.svg' {
|
|
|
594
617
|
|
|
595
618
|
- `Spinner` now has old padding which was mistakenly removed.
|
|
596
619
|
|
|
597
|
-
## 85 - 2023-08-14
|
|
620
|
+
## 85.0.0 - 2023-08-14
|
|
598
621
|
|
|
599
622
|
### Fixed
|
|
600
623
|
|
|
601
624
|
- `getDisplayedDeviceName` could return an empty string.
|
|
602
625
|
|
|
603
|
-
## 84 - 2023-08-14
|
|
626
|
+
## 84.0.0 - 2023-08-14
|
|
604
627
|
|
|
605
628
|
### Changed
|
|
606
629
|
|
|
@@ -636,19 +659,19 @@ import { App, render } from '@nordicsemiconductor/pc-nrfconnect-shared';
|
|
|
636
659
|
render(<App />);
|
|
637
660
|
```
|
|
638
661
|
|
|
639
|
-
## 83 - 2023-08-11
|
|
662
|
+
## 83.0.0 - 2023-08-11
|
|
640
663
|
|
|
641
664
|
### Added
|
|
642
665
|
|
|
643
666
|
- `Spinner` component.
|
|
644
667
|
|
|
645
|
-
## 82 - 2023-08-09
|
|
668
|
+
## 82.0.0 - 2023-08-09
|
|
646
669
|
|
|
647
670
|
### Fixed
|
|
648
671
|
|
|
649
672
|
- Jest tests were broken due to missing config changes.
|
|
650
673
|
|
|
651
|
-
## 81 - 2023-08-09
|
|
674
|
+
## 81.0.0 - 2023-08-09
|
|
652
675
|
|
|
653
676
|
### Changed
|
|
654
677
|
|
|
@@ -690,19 +713,19 @@ The package.json can be changed as follows:
|
|
|
690
713
|
}
|
|
691
714
|
```
|
|
692
715
|
|
|
693
|
-
## 80 - 2023-08-07
|
|
716
|
+
## 80.0.0 - 2023-08-07
|
|
694
717
|
|
|
695
718
|
### Changed
|
|
696
719
|
|
|
697
720
|
- Linux: Check for and log `nrf-udev` install on startup.
|
|
698
721
|
|
|
699
|
-
## 79 - 2023-08-04
|
|
722
|
+
## 79.0.0 - 2023-08-04
|
|
700
723
|
|
|
701
724
|
### Added
|
|
702
725
|
|
|
703
726
|
- Export app utility functions (like `isInstalled`) and types.
|
|
704
727
|
|
|
705
|
-
## 78 - 2023-08-03
|
|
728
|
+
## 78.0.0 - 2023-08-03
|
|
706
729
|
|
|
707
730
|
### Changed
|
|
708
731
|
|
|
@@ -714,7 +737,7 @@ The package.json can be changed as follows:
|
|
|
714
737
|
- `deviceInfo` can now be used in applications that don't make use of the
|
|
715
738
|
shared redux store.
|
|
716
739
|
|
|
717
|
-
## 77 - 2023-08-01
|
|
740
|
+
## 77.0.0 - 2023-08-01
|
|
718
741
|
|
|
719
742
|
### Added
|
|
720
743
|
|
|
@@ -744,13 +767,13 @@ The package.json can be changed as follows:
|
|
|
744
767
|
appropriate functions.
|
|
745
768
|
- Replace invocations of `openAppWindow` with `openWindow.openApp`.
|
|
746
769
|
|
|
747
|
-
## 76 - 2023-07-28
|
|
770
|
+
## 76.0.0 - 2023-07-28
|
|
748
771
|
|
|
749
772
|
### Changed
|
|
750
773
|
|
|
751
774
|
- Turn on tree-shaking for tailwind classes during a development build.
|
|
752
775
|
|
|
753
|
-
## 75 - 2023-07-26
|
|
776
|
+
## 75.0.0 - 2023-07-26
|
|
754
777
|
|
|
755
778
|
### Added
|
|
756
779
|
|
|
@@ -777,14 +800,14 @@ The package.json can be changed as follows:
|
|
|
777
800
|
|
|
778
801
|
- `DisplayConflictingSettings` spacing and minor UI inconsistencies
|
|
779
802
|
|
|
780
|
-
## 74 - 2023-07-18
|
|
803
|
+
## 74.0.0 - 2023-07-18
|
|
781
804
|
|
|
782
805
|
### Fixed
|
|
783
806
|
|
|
784
807
|
- `ConflictingSettingsDialog` used stale/old `active` serial settings
|
|
785
808
|
information.
|
|
786
809
|
|
|
787
|
-
## 73 - 2023-07-14
|
|
810
|
+
## 73.0.0 - 2023-07-14
|
|
788
811
|
|
|
789
812
|
### Removed
|
|
790
813
|
|
|
@@ -794,26 +817,26 @@ The package.json can be changed as follows:
|
|
|
794
817
|
|
|
795
818
|
- `custom` variant `Button`s have to be replaced with `button` elements.
|
|
796
819
|
|
|
797
|
-
## 72 - 2023-07-13
|
|
820
|
+
## 72.0.0 - 2023-07-13
|
|
798
821
|
|
|
799
822
|
### Added
|
|
800
823
|
|
|
801
824
|
- export `persistNickname` and `getPersistedNickname`.
|
|
802
825
|
|
|
803
|
-
## 71 - 2023-07-11
|
|
826
|
+
## 71.0.0 - 2023-07-11
|
|
804
827
|
|
|
805
828
|
### Fixed
|
|
806
829
|
|
|
807
830
|
- `SwitchToApplicationMode` does not call on success when device is already in
|
|
808
831
|
application mode
|
|
809
832
|
|
|
810
|
-
## 70 - 2023-07-07
|
|
833
|
+
## 70.0.0 - 2023-07-07
|
|
811
834
|
|
|
812
835
|
### Fixed
|
|
813
836
|
|
|
814
837
|
- `Dropdown` UI broken due to lack of `tw-preflight` class
|
|
815
838
|
|
|
816
|
-
## 69 - 2023-07-07
|
|
839
|
+
## 69.0.0 - 2023-07-07
|
|
817
840
|
|
|
818
841
|
### Added
|
|
819
842
|
|
|
@@ -836,7 +859,7 @@ The package.json can be changed as follows:
|
|
|
836
859
|
- Device setup fails report sdfu different FW version
|
|
837
860
|
- Device setup does not show the choices radio boxes
|
|
838
861
|
|
|
839
|
-
## 68 - 2023-07-05
|
|
862
|
+
## 68.0.0 - 2023-07-05
|
|
840
863
|
|
|
841
864
|
### Added
|
|
842
865
|
|
|
@@ -848,7 +871,7 @@ The package.json can be changed as follows:
|
|
|
848
871
|
resulted in `util.promisify` is not a function
|
|
849
872
|
- Button lost x-padding with the addition of tailwind
|
|
850
873
|
|
|
851
|
-
## 67 - 2023-07-04
|
|
874
|
+
## 67.0.0 - 2023-07-04
|
|
852
875
|
|
|
853
876
|
### Added
|
|
854
877
|
|
|
@@ -879,7 +902,7 @@ module.exports = {
|
|
|
879
902
|
};
|
|
880
903
|
```
|
|
881
904
|
|
|
882
|
-
## 66 - 2023-07-03
|
|
905
|
+
## 66.0.0 - 2023-07-03
|
|
883
906
|
|
|
884
907
|
### Fixed
|
|
885
908
|
|
|
@@ -888,7 +911,7 @@ module.exports = {
|
|
|
888
911
|
- Margin on feedback pane
|
|
889
912
|
- Improve `NavBar` layout when there are a lot of tabs
|
|
890
913
|
|
|
891
|
-
## 65 - 2023-07-03
|
|
914
|
+
## 65.0.0 - 2023-07-03
|
|
892
915
|
|
|
893
916
|
### Changed
|
|
894
917
|
|
|
@@ -899,7 +922,7 @@ module.exports = {
|
|
|
899
922
|
- If 'AppThunk' is used with return type generic, add AppLayout (RootState)
|
|
900
923
|
'AppThunk<AppLayout, ReturnType>'
|
|
901
924
|
|
|
902
|
-
## 64 - 2023-07-03
|
|
925
|
+
## 64.0.0 - 2023-07-03
|
|
903
926
|
|
|
904
927
|
### Added
|
|
905
928
|
|
|
@@ -910,7 +933,7 @@ module.exports = {
|
|
|
910
933
|
|
|
911
934
|
- Replace Google Analytics with Application Insights.
|
|
912
935
|
|
|
913
|
-
## 63 - 2023-06-27
|
|
936
|
+
## 63.0.0 - 2023-06-27
|
|
914
937
|
|
|
915
938
|
### Added
|
|
916
939
|
|
|
@@ -922,7 +945,7 @@ module.exports = {
|
|
|
922
945
|
- Flash Messages: slide-in effect duration reduced to 300ms.
|
|
923
946
|
- Flash Messages: loader effect ends before slide-out effect begins.
|
|
924
947
|
|
|
925
|
-
## 62 - 2023-06-26
|
|
948
|
+
## 62.0.0 - 2023-06-26
|
|
926
949
|
|
|
927
950
|
### Added
|
|
928
951
|
|
|
@@ -933,7 +956,7 @@ module.exports = {
|
|
|
933
956
|
- Reduced time for CopiedFlashMessage, from 12s to 3s.
|
|
934
957
|
- Faster slide-in effect for Flash messages.
|
|
935
958
|
|
|
936
|
-
## 61 - 2023-06-23
|
|
959
|
+
## 61.0.0 - 2023-06-23
|
|
937
960
|
|
|
938
961
|
### Added
|
|
939
962
|
|
|
@@ -954,7 +977,7 @@ module.exports = {
|
|
|
954
977
|
- If you want to include the `FeedbackPane` in your app, provide the
|
|
955
978
|
`feedback` property to the `App` component.
|
|
956
979
|
|
|
957
|
-
## 60 - 2023-06-21
|
|
980
|
+
## 60.0.0 - 2023-06-21
|
|
958
981
|
|
|
959
982
|
### Added
|
|
960
983
|
|
|
@@ -986,7 +1009,7 @@ module.exports = {
|
|
|
986
1009
|
- Replace all instances of `LegacyPane` with `Pane` in the `panes` property of
|
|
987
1010
|
`App`.
|
|
988
1011
|
|
|
989
|
-
## 59 - 2023-06-16
|
|
1012
|
+
## 59.0.0 - 2023-06-16
|
|
990
1013
|
|
|
991
1014
|
### Added
|
|
992
1015
|
|
|
@@ -996,21 +1019,21 @@ module.exports = {
|
|
|
996
1019
|
|
|
997
1020
|
- `StartSop` button `large` false not working
|
|
998
1021
|
|
|
999
|
-
## 58 - 2023-06-14
|
|
1022
|
+
## 58.0.0 - 2023-06-14
|
|
1000
1023
|
|
|
1001
1024
|
### Changed
|
|
1002
1025
|
|
|
1003
1026
|
- Opening port with error `FAILED_DIFFERENT_SETTINGS` will now log a warning
|
|
1004
1027
|
not error
|
|
1005
1028
|
|
|
1006
|
-
## 57 - 2023-06-09
|
|
1029
|
+
## 57.0.0 - 2023-06-09
|
|
1007
1030
|
|
|
1008
1031
|
### Added
|
|
1009
1032
|
|
|
1010
1033
|
- AutoReconnect Mode `WaitForDevice.when` now support an new mode a custom
|
|
1011
1034
|
function for more flexibility
|
|
1012
1035
|
|
|
1013
|
-
## 56 - 2023-06-09
|
|
1036
|
+
## 56.0.0 - 2023-06-09
|
|
1014
1037
|
|
|
1015
1038
|
### Changed
|
|
1016
1039
|
|
|
@@ -1020,7 +1043,7 @@ module.exports = {
|
|
|
1020
1043
|
that only go through the API. If it still breaks something, feel free to
|
|
1021
1044
|
reach out to Marko. :-)
|
|
1022
1045
|
|
|
1023
|
-
## 55 - 2023-06-08
|
|
1046
|
+
## 55.0.0 - 2023-06-08
|
|
1024
1047
|
|
|
1025
1048
|
### Added
|
|
1026
1049
|
|
|
@@ -1036,14 +1059,14 @@ module.exports = {
|
|
|
1036
1059
|
- Replace all instances of `BootLoaderMode` to `dfuBootLoaderMode` in all
|
|
1037
1060
|
`WaitForDevice.when`
|
|
1038
1061
|
|
|
1039
|
-
## 54 - 2023-06-05
|
|
1062
|
+
## 54.0.0 - 2023-06-05
|
|
1040
1063
|
|
|
1041
1064
|
### Removed
|
|
1042
1065
|
|
|
1043
1066
|
- `react-dom` is no longer listed as an external package due to launcher
|
|
1044
1067
|
requiring it for bundling.
|
|
1045
1068
|
|
|
1046
|
-
## 53 - 2023-06-05
|
|
1069
|
+
## 53.0.0 - 2023-06-05
|
|
1047
1070
|
|
|
1048
1071
|
### Added
|
|
1049
1072
|
|
|
@@ -1051,7 +1074,7 @@ module.exports = {
|
|
|
1051
1074
|
- `StartStop` parameter `startText` now allows React.ReactNode.
|
|
1052
1075
|
- `StartStop` parameter `stopText` now allows React.ReactNode.
|
|
1053
1076
|
|
|
1054
|
-
## 52 - 2023-06-02
|
|
1077
|
+
## 52.0.0 - 2023-06-02
|
|
1055
1078
|
|
|
1056
1079
|
### Changed
|
|
1057
1080
|
|
|
@@ -1060,31 +1083,31 @@ module.exports = {
|
|
|
1060
1083
|
pass a third parameter to the action creator
|
|
1061
1084
|
`ErrorDialogActions.showDialog`.
|
|
1062
1085
|
|
|
1063
|
-
## 51 - 2023-05-31
|
|
1086
|
+
## 51.0.0 - 2023-05-31
|
|
1064
1087
|
|
|
1065
1088
|
### Added
|
|
1066
1089
|
|
|
1067
1090
|
- `Dropdown` parameter `label` now allows React.ReactNode.
|
|
1068
1091
|
|
|
1069
|
-
## 50 - 2023-05-30
|
|
1092
|
+
## 50.0.0 - 2023-05-30
|
|
1070
1093
|
|
|
1071
1094
|
### Fixed
|
|
1072
1095
|
|
|
1073
1096
|
- `dialog` text wrapping opts to keep words as whole of possible.
|
|
1074
1097
|
|
|
1075
|
-
## 49 - 2023-05-30
|
|
1098
|
+
## 49.0.0 - 2023-05-30
|
|
1076
1099
|
|
|
1077
1100
|
### Fixed
|
|
1078
1101
|
|
|
1079
1102
|
- `dialog` body text can now wrap and not overflow.
|
|
1080
1103
|
|
|
1081
|
-
## 48 - 2023-05-30
|
|
1104
|
+
## 48.0.0 - 2023-05-30
|
|
1082
1105
|
|
|
1083
1106
|
### Added
|
|
1084
1107
|
|
|
1085
1108
|
- `DropdownItem` parameter `label` now allows React.ReactNode.
|
|
1086
1109
|
|
|
1087
|
-
## 47 - 2023-05-22
|
|
1110
|
+
## 47.0.0 - 2023-05-22
|
|
1088
1111
|
|
|
1089
1112
|
### Added
|
|
1090
1113
|
|
|
@@ -1111,7 +1134,7 @@ module.exports = {
|
|
|
1111
1134
|
- Replace type `DeviceSetup` with `DeviceSetupConfig`
|
|
1112
1135
|
- Replace type `IDeviceSetup` with `DeviceSetup`
|
|
1113
1136
|
|
|
1114
|
-
## 46 - 2023-05-19
|
|
1137
|
+
## 46.0.0 - 2023-05-19
|
|
1115
1138
|
|
|
1116
1139
|
### Added
|
|
1117
1140
|
|
|
@@ -1149,7 +1172,7 @@ module.exports = {
|
|
|
1149
1172
|
this function using the dispatch function i.e
|
|
1150
1173
|
`dispatch(switchToApplicationMode(...`
|
|
1151
1174
|
|
|
1152
|
-
## 45 - 2023-05-09
|
|
1175
|
+
## 45.0.0 - 2023-05-09
|
|
1153
1176
|
|
|
1154
1177
|
### Fixed
|
|
1155
1178
|
|
|
@@ -1162,7 +1185,7 @@ module.exports = {
|
|
|
1162
1185
|
- StateSelector property `selectedItem` now allows {key: string , renderItem:
|
|
1163
1186
|
React.ReactElement} as content in addition to string
|
|
1164
1187
|
|
|
1165
|
-
## 44 - 2023-05-05
|
|
1188
|
+
## 44.0.0 - 2023-05-05
|
|
1166
1189
|
|
|
1167
1190
|
### Fixed
|
|
1168
1191
|
|
|
@@ -1173,14 +1196,14 @@ module.exports = {
|
|
|
1173
1196
|
|
|
1174
1197
|
- Persistent store now allows to send more options to the internal store.
|
|
1175
1198
|
|
|
1176
|
-
## 43 - 2023-05-05
|
|
1199
|
+
## 43.0.0 - 2023-05-05
|
|
1177
1200
|
|
|
1178
1201
|
### Changed
|
|
1179
1202
|
|
|
1180
1203
|
- Use the new property from launcher ipc to determine the app path. This is
|
|
1181
1204
|
used for logging when the application starts up.
|
|
1182
1205
|
|
|
1183
|
-
## 42 - 2023-05-04
|
|
1206
|
+
## 42.0.0 - 2023-05-04
|
|
1184
1207
|
|
|
1185
1208
|
### Changed
|
|
1186
1209
|
|
|
@@ -1189,7 +1212,7 @@ module.exports = {
|
|
|
1189
1212
|
compiler option. You may be using an old version of swc which does not
|
|
1190
1213
|
support the options used by ts-node.
|
|
1191
1214
|
|
|
1192
|
-
## 41 - 2023-05-03
|
|
1215
|
+
## 41.0.0 - 2023-05-03
|
|
1193
1216
|
|
|
1194
1217
|
### Changed
|
|
1195
1218
|
|
|
@@ -1202,7 +1225,7 @@ module.exports = {
|
|
|
1202
1225
|
- `ConflictingSettingsDialog` displayed wrong app name in the conflict
|
|
1203
1226
|
overview. Now it will only display Active- and Selected settings.
|
|
1204
1227
|
|
|
1205
|
-
## 40 - 2023-04-28
|
|
1228
|
+
## 40.0.0 - 2023-04-28
|
|
1206
1229
|
|
|
1207
1230
|
### Added
|
|
1208
1231
|
|
|
@@ -1210,7 +1233,7 @@ module.exports = {
|
|
|
1210
1233
|
pc-nrfconnect-shared is used, and the serial port may have been claimed by
|
|
1211
1234
|
another app.
|
|
1212
1235
|
|
|
1213
|
-
## 39 - 2023-04-28
|
|
1236
|
+
## 39.0.0 - 2023-04-28
|
|
1214
1237
|
|
|
1215
1238
|
### Added
|
|
1216
1239
|
|
|
@@ -1218,20 +1241,20 @@ module.exports = {
|
|
|
1218
1241
|
used to open the serial port.
|
|
1219
1242
|
- Extended SERIALPORT_CHANNEL with entry GET_OPTIONS.
|
|
1220
1243
|
|
|
1221
|
-
## 38 - 2023-04-28
|
|
1244
|
+
## 38.0.0 - 2023-04-28
|
|
1222
1245
|
|
|
1223
1246
|
### Fixed
|
|
1224
1247
|
|
|
1225
1248
|
- Dropdowns allow using their scrollbars by clicking and dragging.
|
|
1226
1249
|
- Dropdown scrollbars are styled correctly.
|
|
1227
1250
|
|
|
1228
|
-
## 37 - 2023-04-28
|
|
1251
|
+
## 37.0.0 - 2023-04-28
|
|
1229
1252
|
|
|
1230
1253
|
### Changed
|
|
1231
1254
|
|
|
1232
1255
|
- Updated `nrf-device-lib-js` to version 0.6.8.
|
|
1233
1256
|
|
|
1234
|
-
## 36 - 2023-04-26
|
|
1257
|
+
## 36.0.0 - 2023-04-26
|
|
1235
1258
|
|
|
1236
1259
|
### Added
|
|
1237
1260
|
|
|
@@ -1239,21 +1262,21 @@ module.exports = {
|
|
|
1239
1262
|
versions of shared.
|
|
1240
1263
|
- Property `id` to `Dropdown` component.
|
|
1241
1264
|
|
|
1242
|
-
## 35 - 2023-04-20
|
|
1265
|
+
## 35.0.0 - 2023-04-20
|
|
1243
1266
|
|
|
1244
1267
|
### Fixed
|
|
1245
1268
|
|
|
1246
1269
|
- "Warning: validateDOMNesting(...): `<div>` cannot appear as a descendant of
|
|
1247
1270
|
`<p>`."
|
|
1248
1271
|
|
|
1249
|
-
## 34 - 2023-04-19
|
|
1272
|
+
## 34.0.0 - 2023-04-19
|
|
1250
1273
|
|
|
1251
1274
|
### Fixed
|
|
1252
1275
|
|
|
1253
1276
|
- Made `InfoDialog` close when unfocusing again, which was removed during the
|
|
1254
1277
|
previous version.
|
|
1255
1278
|
|
|
1256
|
-
## 33 - 2023-04-19
|
|
1279
|
+
## 33.0.0 - 2023-04-19
|
|
1257
1280
|
|
|
1258
1281
|
### Added
|
|
1259
1282
|
|
|
@@ -1276,7 +1299,7 @@ module.exports = {
|
|
|
1276
1299
|
|
|
1277
1300
|
- Move the `showSpinner` property from `Dialog.Footer` to `Dialog.Header`.
|
|
1278
1301
|
|
|
1279
|
-
## 32 - 2023-04-14
|
|
1302
|
+
## 32.0.0 - 2023-04-14
|
|
1280
1303
|
|
|
1281
1304
|
### Added
|
|
1282
1305
|
|
|
@@ -1300,7 +1323,7 @@ module.exports = {
|
|
|
1300
1323
|
- `InlineInput` only calls `onChange` and `onChangeComplete` if value has
|
|
1301
1324
|
changed.
|
|
1302
1325
|
|
|
1303
|
-
## 31 - 2023-04-03
|
|
1326
|
+
## 31.0.0 - 2023-04-03
|
|
1304
1327
|
|
|
1305
1328
|
### Changed
|
|
1306
1329
|
|
|
@@ -1326,20 +1349,20 @@ module.exports = {
|
|
|
1326
1349
|
shared, otherwise not all needed peer dependencies are installed and you
|
|
1327
1350
|
need to provide them yourself.
|
|
1328
1351
|
|
|
1329
|
-
## 30 - 2023-03-30
|
|
1352
|
+
## 30.0.0 - 2023-03-30
|
|
1330
1353
|
|
|
1331
1354
|
### Changed
|
|
1332
1355
|
|
|
1333
1356
|
- Update `nrf-device-lib-js` to version 0.6.5.
|
|
1334
1357
|
|
|
1335
|
-
## 29 - 2023-03-29
|
|
1358
|
+
## 29.0.0 - 2023-03-29
|
|
1336
1359
|
|
|
1337
1360
|
### Added
|
|
1338
1361
|
|
|
1339
1362
|
- Dialog helpers (`InfoDialog`, `ErrorDialog`, `ConfirmationDialog`) all
|
|
1340
1363
|
expose the `className` property now.
|
|
1341
1364
|
|
|
1342
|
-
## 28 - 2023-03-28
|
|
1365
|
+
## 28.0.0 - 2023-03-28
|
|
1343
1366
|
|
|
1344
1367
|
### Added
|
|
1345
1368
|
|
|
@@ -1351,19 +1374,19 @@ module.exports = {
|
|
|
1351
1374
|
- Linux: Apps would crash when identifying certain devices if nrf-udev
|
|
1352
1375
|
installation was missing.
|
|
1353
1376
|
|
|
1354
|
-
## 27 - 2023-03-27
|
|
1377
|
+
## 27.0.0 - 2023-03-27
|
|
1355
1378
|
|
|
1356
1379
|
### Fixed
|
|
1357
1380
|
|
|
1358
1381
|
- Clear timeout state after timeout has elapsed.
|
|
1359
1382
|
|
|
1360
|
-
## 26 - 2023-03-24
|
|
1383
|
+
## 26.0.0 - 2023-03-24
|
|
1361
1384
|
|
|
1362
1385
|
### Fixed
|
|
1363
1386
|
|
|
1364
1387
|
- Retrieving persisted serialport options on windows would lead to crashes.
|
|
1365
1388
|
|
|
1366
|
-
## 25 - 2023-03-23
|
|
1389
|
+
## 25.0.0 - 2023-03-23
|
|
1367
1390
|
|
|
1368
1391
|
### Added
|
|
1369
1392
|
|
|
@@ -1385,7 +1408,7 @@ module.exports = {
|
|
|
1385
1408
|
DOM element.
|
|
1386
1409
|
- `Dropdown` will keep the list open if rerendered
|
|
1387
1410
|
|
|
1388
|
-
## 24 - 2023-03-20
|
|
1411
|
+
## 24.0.0 - 2023-03-20
|
|
1389
1412
|
|
|
1390
1413
|
### Added
|
|
1391
1414
|
|
|
@@ -1418,7 +1441,7 @@ module.exports = {
|
|
|
1418
1441
|
`persistedSerialPortOptions` property in the `Device` type (accessible from
|
|
1419
1442
|
the DeviceSelector callbacks or through `dispatch(selectedDevice())`)
|
|
1420
1443
|
|
|
1421
|
-
## 23 - 2023-03-16
|
|
1444
|
+
## 23.0.0 - 2023-03-16
|
|
1422
1445
|
|
|
1423
1446
|
### Added
|
|
1424
1447
|
|
|
@@ -1433,13 +1456,13 @@ module.exports = {
|
|
|
1433
1456
|
- `setWaitForDevice` with `undefined` can no longer be used to cancel timeouts
|
|
1434
1457
|
instead one should use `clearWaitForDevice`
|
|
1435
1458
|
|
|
1436
|
-
## 22 - 2023-03-15
|
|
1459
|
+
## 22.0.0 - 2023-03-15
|
|
1437
1460
|
|
|
1438
1461
|
### Changed
|
|
1439
1462
|
|
|
1440
1463
|
- Update `nrf-device-lib-js` to version 0.6.2.
|
|
1441
1464
|
|
|
1442
|
-
## 21 - 2023-03-15
|
|
1465
|
+
## 21.0.0 - 2023-03-15
|
|
1443
1466
|
|
|
1444
1467
|
### Added
|
|
1445
1468
|
|
|
@@ -1449,14 +1472,14 @@ module.exports = {
|
|
|
1449
1472
|
|
|
1450
1473
|
- `ErrorBoundary` `Button` are now large.
|
|
1451
1474
|
|
|
1452
|
-
## 20 - 2023-03-14
|
|
1475
|
+
## 20.0.0 - 2023-03-14
|
|
1453
1476
|
|
|
1454
1477
|
### Added
|
|
1455
1478
|
|
|
1456
1479
|
- Steppers component which allows to add states for success, failure and
|
|
1457
1480
|
warning.
|
|
1458
1481
|
|
|
1459
|
-
## 19 - 2023-03-13
|
|
1482
|
+
## 19.0.0 - 2023-03-13
|
|
1460
1483
|
|
|
1461
1484
|
### Added
|
|
1462
1485
|
|
|
@@ -1466,7 +1489,7 @@ module.exports = {
|
|
|
1466
1489
|
|
|
1467
1490
|
- Update `nrf-device-lib-js` to version 0.6.0.
|
|
1468
1491
|
|
|
1469
|
-
## 18 - 2023-03-09
|
|
1492
|
+
## 18.0.0 - 2023-03-09
|
|
1470
1493
|
|
|
1471
1494
|
### Added
|
|
1472
1495
|
|
|
@@ -1491,20 +1514,20 @@ module.exports = {
|
|
|
1491
1514
|
- `NavMenuItem` use the shared `Button` component
|
|
1492
1515
|
- `FeedbackPane` use the shared `Button` component
|
|
1493
1516
|
|
|
1494
|
-
## 17 - 2023-03-08
|
|
1517
|
+
## 17.0.0 - 2023-03-08
|
|
1495
1518
|
|
|
1496
1519
|
### Added
|
|
1497
1520
|
|
|
1498
1521
|
- Allow apps to see if auto-reconnect is enabled.
|
|
1499
1522
|
|
|
1500
|
-
## 16 - 2023-03-03
|
|
1523
|
+
## 16.0.0 - 2023-03-03
|
|
1501
1524
|
|
|
1502
1525
|
### Fixed
|
|
1503
1526
|
|
|
1504
1527
|
- Selecting a device will no longer stop and start hotplug events
|
|
1505
1528
|
- Long Serial number and device names will now render correctly
|
|
1506
1529
|
|
|
1507
|
-
## 15 - 2023-03-03
|
|
1530
|
+
## 15.0.0 - 2023-03-03
|
|
1508
1531
|
|
|
1509
1532
|
### Added
|
|
1510
1533
|
|
|
@@ -1531,7 +1554,7 @@ module.exports = {
|
|
|
1531
1554
|
do not need to be awaited.
|
|
1532
1555
|
- Update `nrf-device-lib-js` to version 0.5.0.
|
|
1533
1556
|
|
|
1534
|
-
## 14 - 2023-02-28
|
|
1557
|
+
## 14.0.0 - 2023-02-28
|
|
1535
1558
|
|
|
1536
1559
|
### Fixed
|
|
1537
1560
|
|
|
@@ -1539,13 +1562,13 @@ module.exports = {
|
|
|
1539
1562
|
- `MasonryLayout` Hidden items can become visible and not remain hidden for
|
|
1540
1563
|
the full app life cycle.
|
|
1541
1564
|
|
|
1542
|
-
## 13 - 2023-02-24
|
|
1565
|
+
## 13.0.0 - 2023-02-24
|
|
1543
1566
|
|
|
1544
1567
|
### Fixed
|
|
1545
1568
|
|
|
1546
1569
|
- Wrongly import of `electron/renderer`, now changed to `electron`.
|
|
1547
1570
|
|
|
1548
|
-
## 12 - 2023-02-23
|
|
1571
|
+
## 12.0.0 - 2023-02-23
|
|
1549
1572
|
|
|
1550
1573
|
### Added
|
|
1551
1574
|
|
|
@@ -1560,26 +1583,26 @@ module.exports = {
|
|
|
1560
1583
|
- Improved `MasonryLayout` algorithm
|
|
1561
1584
|
- `MasonryLayout` Items with no height are hidden
|
|
1562
1585
|
|
|
1563
|
-
## 11 - 2023-02-22
|
|
1586
|
+
## 11.0.0 - 2023-02-22
|
|
1564
1587
|
|
|
1565
1588
|
### Changed
|
|
1566
1589
|
|
|
1567
1590
|
- `shasum` property on apps became optional.
|
|
1568
1591
|
|
|
1569
|
-
## 10 - 2023-02-16
|
|
1592
|
+
## 10.0.0 - 2023-02-16
|
|
1570
1593
|
|
|
1571
1594
|
### Fixed
|
|
1572
1595
|
|
|
1573
1596
|
- Masonry layout Max height generation algorithm
|
|
1574
1597
|
- Regression with dropdown items on hover effect
|
|
1575
1598
|
|
|
1576
|
-
## 9 - 2023-02-16
|
|
1599
|
+
## 9.0.0 - 2023-02-16
|
|
1577
1600
|
|
|
1578
1601
|
### Added
|
|
1579
1602
|
|
|
1580
1603
|
- Masonry Layout
|
|
1581
1604
|
|
|
1582
|
-
## 8 - 2023-02-15
|
|
1605
|
+
## 8.0.0 - 2023-02-15
|
|
1583
1606
|
|
|
1584
1607
|
### Changed
|
|
1585
1608
|
|
|
@@ -1587,7 +1610,7 @@ module.exports = {
|
|
|
1587
1610
|
show some more objects, e.g. Maps and Sets.
|
|
1588
1611
|
- Updated `StartStopButton` to be a controlled component
|
|
1589
1612
|
|
|
1590
|
-
## 7 - 2023-02-13
|
|
1613
|
+
## 7.0.0 - 2023-02-13
|
|
1591
1614
|
|
|
1592
1615
|
### Changed
|
|
1593
1616
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" ?>
|
|
2
2
|
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
|
|
3
|
-
<coverage lines-valid="3580" lines-covered="1908" line-rate="0.5329" branches-valid="
|
|
3
|
+
<coverage lines-valid="3580" lines-covered="1908" line-rate="0.5329" branches-valid="1782" branches-covered="512" branch-rate="0.2873" timestamp="1700646152931" complexity="0" version="0.1">
|
|
4
4
|
<sources>
|
|
5
5
|
<source>/home/vsts/work/1/s</source>
|
|
6
6
|
</sources>
|
|
@@ -5558,48 +5558,48 @@
|
|
|
5558
5558
|
</class>
|
|
5559
5559
|
</classes>
|
|
5560
5560
|
</package>
|
|
5561
|
-
<package name="src.Dropdown" line-rate="0.7646999999999999" branch-rate="0.
|
|
5561
|
+
<package name="src.Dropdown" line-rate="0.7646999999999999" branch-rate="0.647">
|
|
5562
5562
|
<classes>
|
|
5563
|
-
<class name="Dropdown.tsx" filename="src/Dropdown/Dropdown.tsx" line-rate="0.7646999999999999" branch-rate="0.
|
|
5563
|
+
<class name="Dropdown.tsx" filename="src/Dropdown/Dropdown.tsx" line-rate="0.7646999999999999" branch-rate="0.647">
|
|
5564
5564
|
<methods>
|
|
5565
5565
|
<method name="(anonymous_5)" hits="3" signature="()V">
|
|
5566
5566
|
<lines>
|
|
5567
|
-
<line number="
|
|
5567
|
+
<line number="31" hits="3"/>
|
|
5568
5568
|
</lines>
|
|
5569
5569
|
</method>
|
|
5570
5570
|
<method name="(anonymous_6)" hits="1" signature="()V">
|
|
5571
5571
|
<lines>
|
|
5572
|
-
<line number="
|
|
5572
|
+
<line number="44" hits="1"/>
|
|
5573
5573
|
</lines>
|
|
5574
5574
|
</method>
|
|
5575
5575
|
<method name="(anonymous_7)" hits="0" signature="()V">
|
|
5576
5576
|
<lines>
|
|
5577
|
-
<line number="
|
|
5577
|
+
<line number="52" hits="0"/>
|
|
5578
5578
|
</lines>
|
|
5579
5579
|
</method>
|
|
5580
5580
|
<method name="(anonymous_8)" hits="0" signature="()V">
|
|
5581
5581
|
<lines>
|
|
5582
|
-
<line number="
|
|
5582
|
+
<line number="65" hits="0"/>
|
|
5583
5583
|
</lines>
|
|
5584
5584
|
</method>
|
|
5585
5585
|
<method name="(anonymous_9)" hits="4" signature="()V">
|
|
5586
5586
|
<lines>
|
|
5587
|
-
<line number="
|
|
5587
|
+
<line number="69" hits="4"/>
|
|
5588
5588
|
</lines>
|
|
5589
5589
|
</method>
|
|
5590
5590
|
<method name="(anonymous_10)" hits="0" signature="()V">
|
|
5591
5591
|
<lines>
|
|
5592
|
-
<line number="
|
|
5592
|
+
<line number="81" hits="0"/>
|
|
5593
5593
|
</lines>
|
|
5594
5594
|
</method>
|
|
5595
5595
|
<method name="(anonymous_11)" hits="6" signature="()V">
|
|
5596
5596
|
<lines>
|
|
5597
|
-
<line number="
|
|
5597
|
+
<line number="101" hits="6"/>
|
|
5598
5598
|
</lines>
|
|
5599
5599
|
</method>
|
|
5600
5600
|
<method name="(anonymous_12)" hits="1" signature="()V">
|
|
5601
5601
|
<lines>
|
|
5602
|
-
<line number="
|
|
5602
|
+
<line number="106" hits="1"/>
|
|
5603
5603
|
</lines>
|
|
5604
5604
|
</method>
|
|
5605
5605
|
</methods>
|
|
@@ -5608,19 +5608,19 @@
|
|
|
5608
5608
|
<line number="8" hits="2" branch="false"/>
|
|
5609
5609
|
<line number="10" hits="2" branch="false"/>
|
|
5610
5610
|
<line number="12" hits="2" branch="false"/>
|
|
5611
|
-
<line number="
|
|
5612
|
-
<line number="40" hits="3" branch="false"/>
|
|
5611
|
+
<line number="31" hits="3" branch="false"/>
|
|
5613
5612
|
<line number="42" hits="3" branch="false"/>
|
|
5614
|
-
<line number="
|
|
5615
|
-
<line number="
|
|
5616
|
-
<line number="
|
|
5617
|
-
<line number="
|
|
5618
|
-
<line number="
|
|
5619
|
-
<line number="
|
|
5620
|
-
<line number="
|
|
5621
|
-
<line number="
|
|
5622
|
-
<line number="
|
|
5623
|
-
<line number="
|
|
5613
|
+
<line number="44" hits="3" branch="false"/>
|
|
5614
|
+
<line number="45" hits="1" branch="false"/>
|
|
5615
|
+
<line number="46" hits="1" branch="false"/>
|
|
5616
|
+
<line number="49" hits="3" branch="false"/>
|
|
5617
|
+
<line number="53" hits="0" branch="true" condition-coverage="0% (0/1)"/>
|
|
5618
|
+
<line number="54" hits="0" branch="false"/>
|
|
5619
|
+
<line number="65" hits="0" branch="false"/>
|
|
5620
|
+
<line number="69" hits="4" branch="true" condition-coverage="50% (1/2)"/>
|
|
5621
|
+
<line number="83" hits="0" branch="false"/>
|
|
5622
|
+
<line number="102" hits="6" branch="false"/>
|
|
5623
|
+
<line number="106" hits="1" branch="false"/>
|
|
5624
5624
|
</lines>
|
|
5625
5625
|
</class>
|
|
5626
5626
|
</classes>
|
package/package.json
CHANGED
|
@@ -53,7 +53,7 @@ const updatePackageJson = (nextReleaseNumber: number) => {
|
|
|
53
53
|
|
|
54
54
|
const withoutTime = (date: Date) => date.toISOString().split('T')[0];
|
|
55
55
|
|
|
56
|
-
const updateChangelog = (nextReleaseNumber:
|
|
56
|
+
const updateChangelog = (nextReleaseNumber: string) => {
|
|
57
57
|
const changelog = readFileSync('Changelog.md', { encoding: 'utf-8' });
|
|
58
58
|
|
|
59
59
|
const match = changelog.match(
|
|
@@ -104,8 +104,9 @@ const main = () => {
|
|
|
104
104
|
const nextReleaseNumber = getNextReleaseNumber();
|
|
105
105
|
|
|
106
106
|
const updatedPackageJson = updatePackageJson(nextReleaseNumber);
|
|
107
|
-
const { updated: updatedChangelog, error } =
|
|
108
|
-
|
|
107
|
+
const { updated: updatedChangelog, error } = updateChangelog(
|
|
108
|
+
`${nextReleaseNumber}.0.0`
|
|
109
|
+
);
|
|
109
110
|
|
|
110
111
|
if (!updatedPackageJson && !updatedChangelog) {
|
|
111
112
|
console.log('\nEverything already up-to-date.');
|
|
@@ -16,30 +16,32 @@ export interface DropdownItem<T = string> {
|
|
|
16
16
|
value: T;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
export
|
|
19
|
+
export type DropdownProps<T> = {
|
|
20
20
|
id?: string;
|
|
21
21
|
label?: React.ReactNode;
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
defaultButtonLabel?: string;
|
|
23
|
+
items: DropdownItem<T>[];
|
|
24
|
+
onSelect: (item: DropdownItem<T>) => void;
|
|
24
25
|
disabled?: boolean;
|
|
25
|
-
selectedItem: DropdownItem
|
|
26
|
+
selectedItem: DropdownItem<T>;
|
|
26
27
|
numItemsBeforeScroll?: number;
|
|
27
28
|
className?: string;
|
|
28
|
-
}
|
|
29
|
+
};
|
|
29
30
|
|
|
30
|
-
export default ({
|
|
31
|
+
export default <T,>({
|
|
31
32
|
id,
|
|
32
33
|
label,
|
|
34
|
+
defaultButtonLabel = '',
|
|
33
35
|
items,
|
|
34
36
|
onSelect,
|
|
35
37
|
disabled = false,
|
|
36
38
|
selectedItem,
|
|
37
39
|
numItemsBeforeScroll = 0,
|
|
38
40
|
className = '',
|
|
39
|
-
}: DropdownProps) => {
|
|
41
|
+
}: DropdownProps<T>) => {
|
|
40
42
|
const [isActive, setIsActive] = useState(false);
|
|
41
43
|
|
|
42
|
-
const onClickItem = (item: DropdownItem) => {
|
|
44
|
+
const onClickItem = (item: DropdownItem<T>) => {
|
|
43
45
|
onSelect(item);
|
|
44
46
|
setIsActive(false);
|
|
45
47
|
};
|
|
@@ -65,7 +67,7 @@ export default ({
|
|
|
65
67
|
>
|
|
66
68
|
<span>
|
|
67
69
|
{items.findIndex(e => e.value === selectedItem.value) === -1
|
|
68
|
-
?
|
|
70
|
+
? defaultButtonLabel
|
|
69
71
|
: selectedItem.label}
|
|
70
72
|
</span>
|
|
71
73
|
<span
|
|
@@ -100,7 +102,7 @@ export default ({
|
|
|
100
102
|
<button
|
|
101
103
|
type="button"
|
|
102
104
|
className="tw-bg-transparent tw-clear-both tw-block tw-h-6 tw-w-full tw-whitespace-nowrap tw-border-0 tw-px-2 tw-py-1 tw-text-left tw-font-normal tw-text-white hover:tw-bg-gray-600 focus:tw-bg-gray-600"
|
|
103
|
-
key={item.value}
|
|
105
|
+
key={JSON.stringify(item.value)}
|
|
104
106
|
onClick={() => onClickItem(item)}
|
|
105
107
|
>
|
|
106
108
|
{item.label}
|
|
@@ -47,9 +47,9 @@ const init = () => {
|
|
|
47
47
|
|
|
48
48
|
// Add app name and version to every event
|
|
49
49
|
out.addTelemetryProcessor(envelope => {
|
|
50
|
-
if (envelope.data.baseData?.removeAllMetadata) {
|
|
50
|
+
if (envelope.data.baseData?.properties.removeAllMetadata) {
|
|
51
51
|
envelope.tags = [];
|
|
52
|
-
envelope.data.baseData = { name: envelope.data?.baseData };
|
|
52
|
+
envelope.data.baseData = { name: envelope.data?.baseData.name };
|
|
53
53
|
} else {
|
|
54
54
|
envelope.tags['ai.cloud.roleInstance'] = undefined; // remove PC name
|
|
55
55
|
envelope.data.baseData = {
|
|
@@ -3,16 +3,17 @@ export interface DropdownItem<T = string> {
|
|
|
3
3
|
label: React.ReactNode;
|
|
4
4
|
value: T;
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export type DropdownProps<T> = {
|
|
7
7
|
id?: string;
|
|
8
8
|
label?: React.ReactNode;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
defaultButtonLabel?: string;
|
|
10
|
+
items: DropdownItem<T>[];
|
|
11
|
+
onSelect: (item: DropdownItem<T>) => void;
|
|
11
12
|
disabled?: boolean;
|
|
12
|
-
selectedItem: DropdownItem
|
|
13
|
+
selectedItem: DropdownItem<T>;
|
|
13
14
|
numItemsBeforeScroll?: number;
|
|
14
15
|
className?: string;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: ({ id, label, items, onSelect, disabled, selectedItem, numItemsBeforeScroll, className, }: DropdownProps) => JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: <T>({ id, label, defaultButtonLabel, items, onSelect, disabled, selectedItem, numItemsBeforeScroll, className, }: DropdownProps<T>) => JSX.Element;
|
|
17
18
|
export default _default;
|
|
18
19
|
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAOxC,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,MAAM;IACpC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,CAAC,CAAC;CACZ;AAED,MAAM,
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAOxC,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,MAAM;IACpC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,CAAC,CAAC;CACZ;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IACzB,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;;AAEF,wBAmFE"}
|