@equinor/apollo-components 4.0.2 → 4.0.3
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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1362,7 +1362,7 @@ function EditableDateCell({
|
|
|
1362
1362
|
autoComplete: "none",
|
|
1363
1363
|
value: value ? parseISODate(value) : "",
|
|
1364
1364
|
onChange: (e) => {
|
|
1365
|
-
const newDateString = e.target.value ? parseISODate(e.target.value) : "";
|
|
1365
|
+
const newDateString = e.target.value ? parseISODate(e.target.value) ?? "" : "";
|
|
1366
1366
|
onChange(newDateString);
|
|
1367
1367
|
onChangeFromProps?.(newDateString);
|
|
1368
1368
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -1292,7 +1292,7 @@ function EditableDateCell({
|
|
|
1292
1292
|
autoComplete: "none",
|
|
1293
1293
|
value: value ? parseISODate(value) : "",
|
|
1294
1294
|
onChange: (e) => {
|
|
1295
|
-
const newDateString = e.target.value ? parseISODate(e.target.value) : "";
|
|
1295
|
+
const newDateString = e.target.value ? parseISODate(e.target.value) ?? "" : "";
|
|
1296
1296
|
onChange(newDateString);
|
|
1297
1297
|
onChangeFromProps?.(newDateString);
|
|
1298
1298
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/apollo-components",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"styled-components": "6.3.9",
|
|
38
38
|
"tsup": "8.5.1",
|
|
39
39
|
"type-fest": "5.4.4",
|
|
40
|
-
"@equinor/cpl-eslint-config": "1.0.
|
|
41
|
-
"@equinor/cpl-typescript-config": "0.0.
|
|
40
|
+
"@equinor/cpl-eslint-config": "1.0.2",
|
|
41
|
+
"@equinor/cpl-typescript-config": "0.0.4"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@equinor/eds-core-react": ">=2.2.0",
|