@bolttech/atoms-date-input 0.4.10 → 0.4.12

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.cjs.js +2 -1
  2. package/package.json +5 -5
package/index.cjs.js CHANGED
@@ -3156,7 +3156,8 @@ const DateInput = /*#__PURE__*/react.forwardRef((_ref, ref) => {
3156
3156
  });
3157
3157
  };
3158
3158
  react.useEffect(() => {
3159
- if (!value || typeof value !== 'string') return;
3159
+ if (value === undefined || value === null) return;
3160
+ if (typeof value !== 'string') return;
3160
3161
  setInputValue(value);
3161
3162
  }, [value]);
3162
3163
  const setInputValue = value => {
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@bolttech/atoms-date-input",
3
- "version": "0.4.10",
3
+ "version": "0.4.12",
4
4
  "dependencies": {
5
5
  "styled-components": "6.1.1",
6
6
  "react": "19.1.2",
7
- "@bolttech/ui-utils": "0.6.5",
7
+ "@bolttech/ui-utils": "0.6.7",
8
8
  "react-dom": "19.1.2",
9
- "@bolttech/molecules-calendar": "0.29.3",
10
- "@bolttech/atoms-icon": "0.24.8",
11
- "@bolttech/atoms-input": "0.30.3"
9
+ "@bolttech/molecules-calendar": "0.29.4",
10
+ "@bolttech/atoms-icon": "0.24.9",
11
+ "@bolttech/atoms-input": "0.30.4"
12
12
  },
13
13
  "main": "./index.cjs.js",
14
14
  "type": "commonjs",