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.d.ts +2 -5
- package/lib/index.js +7 -6
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +7 -6
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -497,11 +497,7 @@ interface CustomLoaderProps {
|
|
|
497
497
|
|
|
498
498
|
declare const _default$d: (props: CustomLoaderProps) => React$1.JSX.Element;
|
|
499
499
|
|
|
500
|
-
declare function AnimationWithImperativeApi(
|
|
501
|
-
containerStyle: any;
|
|
502
|
-
json: any;
|
|
503
|
-
JsonViewStyle: any;
|
|
504
|
-
}): React$1.JSX.Element;
|
|
500
|
+
declare function AnimationWithImperativeApi(): React$1.JSX.Element;
|
|
505
501
|
|
|
506
502
|
declare const _default$c: (props: {
|
|
507
503
|
backgroundColor?: string;
|
|
@@ -625,6 +621,7 @@ interface CommonTextInputProps extends TextInputProps$1 {
|
|
|
625
621
|
rightIcon?: () => React$1.ReactElement;
|
|
626
622
|
onRightIconPress?: () => void;
|
|
627
623
|
onlyErrorBorderLabel?: boolean;
|
|
624
|
+
disableBorder?: boolean;
|
|
628
625
|
}
|
|
629
626
|
declare const CommonTextInput: (props: CommonTextInputProps) => React$1.JSX.Element;
|
|
630
627
|
|
package/lib/index.js
CHANGED
|
@@ -2581,12 +2581,12 @@ const CustomIcon = ({
|
|
|
2581
2581
|
);
|
|
2582
2582
|
};
|
|
2583
2583
|
|
|
2584
|
-
function AnimationWithImperativeApi(
|
|
2585
|
-
return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style:
|
|
2584
|
+
function AnimationWithImperativeApi() {
|
|
2585
|
+
return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: { flex: 1 } }, /* @__PURE__ */ React__default["default"].createElement(
|
|
2586
2586
|
LottieView__default["default"],
|
|
2587
2587
|
{
|
|
2588
|
-
style:
|
|
2589
|
-
source:
|
|
2588
|
+
style: { width: "100%", height: "100%" },
|
|
2589
|
+
source: loaderJson,
|
|
2590
2590
|
autoPlay: true,
|
|
2591
2591
|
loop: true
|
|
2592
2592
|
}
|
|
@@ -3440,7 +3440,8 @@ const CommonTextInput = (props) => {
|
|
|
3440
3440
|
// Default multiline to false
|
|
3441
3441
|
rightIcon,
|
|
3442
3442
|
onRightIconPress,
|
|
3443
|
-
onlyErrorBorderLabel
|
|
3443
|
+
onlyErrorBorderLabel,
|
|
3444
|
+
disableBorder = false
|
|
3444
3445
|
} = props;
|
|
3445
3446
|
return /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: handlePress, style: styles$9.container }, /* @__PURE__ */ React__default["default"].createElement(
|
|
3446
3447
|
reactNativePaper.TextInput,
|
|
@@ -3452,7 +3453,7 @@ const CommonTextInput = (props) => {
|
|
|
3452
3453
|
autoCorrect: false,
|
|
3453
3454
|
outlineStyle: {
|
|
3454
3455
|
...styles$9.outlineStyle,
|
|
3455
|
-
borderColor: errorMessage?.length || onlyErrorBorderLabel ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : value?.length ? activeBorderColor : inactiveBorderColor
|
|
3456
|
+
borderColor: errorMessage?.length || onlyErrorBorderLabel ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : value?.length && disableBorder ? theme.BORDER_SECONDRY["light"] : value?.length ? activeBorderColor : inactiveBorderColor
|
|
3456
3457
|
},
|
|
3457
3458
|
label,
|
|
3458
3459
|
value,
|