dhre-ui-kit 0.0.297 → 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.mjs CHANGED
@@ -2544,12 +2544,12 @@ const CustomIcon = ({
2544
2544
  );
2545
2545
  };
2546
2546
 
2547
- function AnimationWithImperativeApi({ containerStyle, json, JsonViewStyle }) {
2548
- return /* @__PURE__ */ React.createElement(View, { style: containerStyle }, /* @__PURE__ */ React.createElement(
2547
+ function AnimationWithImperativeApi() {
2548
+ return /* @__PURE__ */ React.createElement(View, { style: { flex: 1 } }, /* @__PURE__ */ React.createElement(
2549
2549
  LottieView,
2550
2550
  {
2551
- style: JsonViewStyle,
2552
- source: json,
2551
+ style: { width: "100%", height: "100%" },
2552
+ source: loaderJson,
2553
2553
  autoPlay: true,
2554
2554
  loop: true
2555
2555
  }
@@ -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,