@trackunit/custom-field-components 0.0.82 → 0.0.85

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -2603,7 +2603,7 @@ const useCustomFieldResolver = (field, validation, unitPreference = "SI", fieldI
2603
2603
  return jsx(DateCustomField, {
2604
2604
  dataTestId: "dateField",
2605
2605
  id: key || "date-field",
2606
- defaultValue: (_3 = (_2 = typedValue.stringValue) !== null && _2 !== void 0 ? _2 : typedDefinition.defaultStringValue) !== null && _3 !== void 0 ? _3 : "",
2606
+ defaultValue: (_3 = (_2 = typedValue.dateValue) !== null && _2 !== void 0 ? _2 : typedDefinition.defaultDateValue) !== null && _3 !== void 0 ? _3 : undefined,
2607
2607
  readOnly: !typedDefinition.uiEditable,
2608
2608
  register: validation.register,
2609
2609
  label: typedDefinition.title || "",
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@trackunit/custom-field-components",
3
- "version": "0.0.82",
3
+ "version": "0.0.85",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "UNLICENSED",
6
6
  "dependencies": {
7
- "@trackunit/react-core-contexts-test": "0.0.27",
8
- "@trackunit/react-components": "0.0.99",
7
+ "@trackunit/react-core-contexts-test": "0.0.28",
8
+ "@trackunit/react-components": "0.0.102",
9
9
  "react": "17.0.1",
10
10
  "react-hook-form": "^7.29.0",
11
- "@trackunit/iris-app-runtime-core": "0.0.57",
12
- "@trackunit/iris-app-runtime-core-api": "0.0.55",
11
+ "@trackunit/iris-app-runtime-core": "0.0.58",
12
+ "@trackunit/iris-app-runtime-core-api": "0.0.56",
13
13
  "react-select": "^5.4.0",
14
14
  "libphonenumber-js": "^1.10.7"
15
15
  },