dhre-ui-kit 0.0.397 → 0.0.399

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.js CHANGED
@@ -771,19 +771,17 @@ const BottomDrawer = ({
771
771
  text: title,
772
772
  style: { ...styles$z.title, ...titleStyle }
773
773
  }
774
- )), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: handleRightTitlePress }, /* @__PURE__ */ React__default["default"].createElement(
774
+ )), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: rightTitle && rightTitle?.length > 0 ? styles$z.rightSideStyle : {} }, rightTitle && rightTitle?.length > 0 ? /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: handleRightTitlePress }, /* @__PURE__ */ React__default["default"].createElement(
775
775
  CustomTypography,
776
776
  {
777
777
  variant: rightTitleVariant,
778
778
  text: rightTitle,
779
779
  style: { ...styles$z.rightTitle, ...rightTitleStyle }
780
780
  }
781
- )) : null, showRightIcon && rightIcon ? React__default["default"].cloneElement(rightIcon, {
781
+ )) : null, showRightIcon && rightIcon ? /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: toggleModal, style: styles$z.rightIconStyle }, React__default["default"].cloneElement(rightIcon, {
782
782
  width: moderateScale(24),
783
- height: moderateScale(24),
784
- style: styles$z.rightIconStyle,
785
- onPress: toggleModal
786
- }) : null))), children))
783
+ height: moderateScale(24)
784
+ })) : null))), children))
787
785
  ),
788
786
  footer ? /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null, footer) : null
789
787
  );
@@ -5279,8 +5277,11 @@ const CustomDropdown = (props) => {
5279
5277
  const styles$8 = reactNative.StyleSheet.create({
5280
5278
  container: {
5281
5279
  backgroundColor: theme.SURFACE_STATIC["light"],
5282
- marginVertical: verticalScale(4)
5280
+ marginVertical: verticalScale(4),
5283
5281
  // External margin
5282
+ direction: "ltr",
5283
+ writingDirection: "ltr",
5284
+ textAlign: "left"
5284
5285
  },
5285
5286
  dropdown: {
5286
5287
  height: verticalScale(48),
@@ -5300,10 +5301,13 @@ const styles$8 = reactNative.StyleSheet.create({
5300
5301
  fontSize: verticalScale(12)
5301
5302
  },
5302
5303
  placeholderStyle: {
5303
- fontSize: verticalScale(16)
5304
+ fontSize: verticalScale(16),
5305
+ writingDirection: "ltr",
5306
+ direction: "ltr"
5304
5307
  },
5305
5308
  selectedTextStyle: {
5306
- fontSize: verticalScale(16)
5309
+ fontSize: verticalScale(16),
5310
+ writingDirection: "ltr"
5307
5311
  },
5308
5312
  iconStyle: {
5309
5313
  width: horizontalScale(20),
@@ -5644,7 +5648,9 @@ const styles$5 = reactNative.StyleSheet.create({
5644
5648
  textInputContainer: {
5645
5649
  flexDirection: "row",
5646
5650
  justifyContent: "space-between",
5647
- marginTop: verticalScale(8)
5651
+ marginTop: verticalScale(8),
5652
+ direction: "ltr",
5653
+ writingDirection: "ltr"
5648
5654
  },
5649
5655
  textInputStyle: {
5650
5656
  height: verticalScale(48),