@trackunit/react-form-components 1.0.62 → 1.0.65
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +7 -7
package/index.cjs.js
CHANGED
|
@@ -401,7 +401,7 @@ const PrefixRenderer = React.forwardRef(({ prefix, type, dataTestId, disabled },
|
|
|
401
401
|
url: jsxRuntime.jsx(reactComponents.Icon, { name: "Link", size: "small" }),
|
|
402
402
|
};
|
|
403
403
|
// Decide what to show as prefix
|
|
404
|
-
const resolvedPrefix = prefix || (type && type !== "text" ? (defaultPrefixMap[type] ??
|
|
404
|
+
const resolvedPrefix = prefix || (type && type !== "text" ? (defaultPrefixMap[type] ?? null) : null);
|
|
405
405
|
if (!resolvedPrefix) {
|
|
406
406
|
return null;
|
|
407
407
|
}
|
package/index.esm.js
CHANGED
|
@@ -382,7 +382,7 @@ const PrefixRenderer = forwardRef(({ prefix, type, dataTestId, disabled }, ref)
|
|
|
382
382
|
url: jsx(Icon, { name: "Link", size: "small" }),
|
|
383
383
|
};
|
|
384
384
|
// Decide what to show as prefix
|
|
385
|
-
const resolvedPrefix = prefix || (type && type !== "text" ? (defaultPrefixMap[type] ??
|
|
385
|
+
const resolvedPrefix = prefix || (type && type !== "text" ? (defaultPrefixMap[type] ?? null) : null);
|
|
386
386
|
if (!resolvedPrefix) {
|
|
387
387
|
return null;
|
|
388
388
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-form-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.65",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"zod": "3.22.4",
|
|
18
18
|
"react-hook-form": "7.53.1",
|
|
19
19
|
"tailwind-merge": "^2.0.0",
|
|
20
|
-
"@trackunit/css-class-variance-utilities": "1.0.
|
|
21
|
-
"@trackunit/react-components": "1.1.
|
|
22
|
-
"@trackunit/ui-icons": "1.0.
|
|
23
|
-
"@trackunit/shared-utils": "1.2.
|
|
24
|
-
"@trackunit/ui-design-tokens": "1.0.
|
|
25
|
-
"@trackunit/i18n-library-translation": "1.0.
|
|
20
|
+
"@trackunit/css-class-variance-utilities": "1.0.39",
|
|
21
|
+
"@trackunit/react-components": "1.1.46",
|
|
22
|
+
"@trackunit/ui-icons": "1.0.43",
|
|
23
|
+
"@trackunit/shared-utils": "1.2.36",
|
|
24
|
+
"@trackunit/ui-design-tokens": "1.0.40",
|
|
25
|
+
"@trackunit/i18n-library-translation": "1.0.49",
|
|
26
26
|
"string-ts": "^2.0.0"
|
|
27
27
|
},
|
|
28
28
|
"module": "./index.esm.js",
|