dhre-ui-kit 0.0.296 → 0.0.298
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/lib/index.d.ts +1 -0
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -3403,7 +3403,8 @@ const CommonTextInput = (props) => {
|
|
|
3403
3403
|
// Default multiline to false
|
|
3404
3404
|
rightIcon,
|
|
3405
3405
|
onRightIconPress,
|
|
3406
|
-
onlyErrorBorderLabel
|
|
3406
|
+
onlyErrorBorderLabel,
|
|
3407
|
+
disableBorder = false
|
|
3407
3408
|
} = props;
|
|
3408
3409
|
return /* @__PURE__ */ React.createElement(Pressable, { onPress: handlePress, style: styles$9.container }, /* @__PURE__ */ React.createElement(
|
|
3409
3410
|
TextInput$1,
|
|
@@ -3415,7 +3416,7 @@ const CommonTextInput = (props) => {
|
|
|
3415
3416
|
autoCorrect: false,
|
|
3416
3417
|
outlineStyle: {
|
|
3417
3418
|
...styles$9.outlineStyle,
|
|
3418
|
-
borderColor: errorMessage?.length || onlyErrorBorderLabel ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : value?.length ? activeBorderColor : inactiveBorderColor
|
|
3419
|
+
borderColor: errorMessage?.length || onlyErrorBorderLabel ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : value?.length && disableBorder ? theme.BORDER_SECONDRY["light"] : value?.length ? activeBorderColor : inactiveBorderColor
|
|
3419
3420
|
},
|
|
3420
3421
|
label,
|
|
3421
3422
|
value,
|