@nordicsemiconductor/pc-nrfconnect-shared 114.0.0 → 115.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
CHANGED
|
@@ -7,6 +7,13 @@ 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
|
+
## 115 - 2023-09-28
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- `MasonryLayout` content disappeared if space is less then min width
|
|
15
|
+
- `Feedback` cursor is missing when no text is typed in.
|
|
16
|
+
|
|
10
17
|
## 114 - 2023-09-26
|
|
11
18
|
|
|
12
19
|
### Fixed
|
|
@@ -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="3208" lines-covered="1788" line-rate="0.5573" branches-valid="1532" branches-covered="448" branch-rate="0.2924" timestamp="
|
|
3
|
+
<coverage lines-valid="3208" lines-covered="1788" line-rate="0.5573" branches-valid="1532" branches-covered="448" branch-rate="0.2924" timestamp="1695887198395" complexity="0" version="0.1">
|
|
4
4
|
<sources>
|
|
5
5
|
<source>/home/vsts/work/1/s</source>
|
|
6
6
|
</sources>
|
package/package.json
CHANGED
|
@@ -103,7 +103,7 @@ export default ({ categories }: FeedbackPaneProps) => {
|
|
|
103
103
|
<b>What is your feedback?</b>
|
|
104
104
|
<textarea
|
|
105
105
|
name="feedback-text"
|
|
106
|
-
className="tw-h-32 tw-w-full tw-border tw-border-gray-700"
|
|
106
|
+
className="tw-h-32 tw-w-full tw-border tw-border-gray-700 tw-p-2"
|
|
107
107
|
required
|
|
108
108
|
value={feedback}
|
|
109
109
|
onChange={e => setFeedback(e.target.value)}
|
|
@@ -193,12 +193,16 @@ export default ({
|
|
|
193
193
|
};
|
|
194
194
|
|
|
195
195
|
const action = () => {
|
|
196
|
-
const noOfColumns =
|
|
197
|
-
current.clientWidth
|
|
198
|
-
|
|
199
|
-
|
|
196
|
+
const noOfColumns =
|
|
197
|
+
current.clientWidth >= minWidth
|
|
198
|
+
? Math.floor(
|
|
199
|
+
current.clientWidth /
|
|
200
|
+
(minWidth + Number.parseInt(styles.margin, 10))
|
|
201
|
+
)
|
|
202
|
+
: 1;
|
|
200
203
|
|
|
201
204
|
const data = calcData(noOfColumns);
|
|
205
|
+
|
|
202
206
|
if (data) {
|
|
203
207
|
setOrders(data.order);
|
|
204
208
|
setColumnHeights(data.columnHeights);
|
|
@@ -236,7 +240,10 @@ export default ({
|
|
|
236
240
|
hiddenChildren={hiddenChildren}
|
|
237
241
|
width={masonryLayoutRef.current?.clientWidth ?? -1}
|
|
238
242
|
columns={columns}
|
|
239
|
-
minWidth={
|
|
243
|
+
minWidth={Math.min(
|
|
244
|
+
minWidth,
|
|
245
|
+
masonryLayoutRef.current?.clientWidth ?? minWidth
|
|
246
|
+
)}
|
|
240
247
|
orders={orders}
|
|
241
248
|
>
|
|
242
249
|
{children}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MasonryLayout.d.ts","sourceRoot":"","sources":["../../../../src/MasonryLayout/MasonryLayout.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,iBAAiB,EAA+B,MAAM,OAAO,CAAC;AAM9E,UAAU,uBAAuB;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAiED;;;;;;GAMG;6DAKA,kBAAkB,uBAAuB,CAAC;AAJ7C,
|
|
1
|
+
{"version":3,"file":"MasonryLayout.d.ts","sourceRoot":"","sources":["../../../../src/MasonryLayout/MasonryLayout.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,iBAAiB,EAA+B,MAAM,OAAO,CAAC;AAM9E,UAAU,uBAAuB;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAiED;;;;;;GAMG;6DAKA,kBAAkB,uBAAuB,CAAC;AAJ7C,wBA6KE"}
|