@loadsmart/miranda-react 3.0.0-beta.28 → 3.0.0-beta.29

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/dist/index.js +2 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1119,7 +1119,8 @@ const WiredTextField = createComponent({
1119
1119
  displayName: 'TextField',
1120
1120
  });
1121
1121
  const TextField = forwardRef(({ leading, trailing, value, ...rest }, ref) => {
1122
- return (jsxs(WiredTextField, { ...rest, value: value === null || value === void 0 ? void 0 : value.toString(), ref: ref, children: [leading != null && jsx("div", { slot: "leading", children: leading }), trailing != null && jsx("div", { slot: "trailing", children: trailing })] }));
1122
+ const normalizedValue = value !== undefined ? String(value) : '';
1123
+ return (jsxs(WiredTextField, { ...rest, value: normalizedValue, ref: ref, children: [leading != null && jsx("div", { slot: "leading", children: leading }), trailing != null && jsx("div", { slot: "trailing", children: trailing })] }));
1123
1124
  });
1124
1125
 
1125
1126
  const TimelineItem = createComponent({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loadsmart/miranda-react",
3
- "version": "3.0.0-beta.28",
3
+ "version": "3.0.0-beta.29",
4
4
  "description": "React component library based on Miranda Web Components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -41,8 +41,8 @@
41
41
  "access": "public"
42
42
  },
43
43
  "dependencies": {
44
- "@loadsmart/miranda-tokens": "4.0.0-beta.28",
45
- "@loadsmart/miranda-wc": "3.0.0-beta.28",
44
+ "@loadsmart/miranda-tokens": "4.0.0-beta.29",
45
+ "@loadsmart/miranda-wc": "3.0.0-beta.29",
46
46
  "@lit/react": "^1.0.5",
47
47
  "react-is": "^18.3.1"
48
48
  },