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.mjs CHANGED
@@ -735,19 +735,17 @@ const BottomDrawer = ({
735
735
  text: title,
736
736
  style: { ...styles$z.title, ...titleStyle }
737
737
  }
738
- )), /* @__PURE__ */ React.createElement(View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React.createElement(Pressable, { onPress: handleRightTitlePress }, /* @__PURE__ */ React.createElement(
738
+ )), /* @__PURE__ */ React.createElement(View, { style: rightTitle && rightTitle?.length > 0 ? styles$z.rightSideStyle : {} }, rightTitle && rightTitle?.length > 0 ? /* @__PURE__ */ React.createElement(Pressable, { onPress: handleRightTitlePress }, /* @__PURE__ */ React.createElement(
739
739
  CustomTypography,
740
740
  {
741
741
  variant: rightTitleVariant,
742
742
  text: rightTitle,
743
743
  style: { ...styles$z.rightTitle, ...rightTitleStyle }
744
744
  }
745
- )) : null, showRightIcon && rightIcon ? React.cloneElement(rightIcon, {
745
+ )) : null, showRightIcon && rightIcon ? /* @__PURE__ */ React.createElement(Pressable, { onPress: toggleModal, style: styles$z.rightIconStyle }, React.cloneElement(rightIcon, {
746
746
  width: moderateScale(24),
747
- height: moderateScale(24),
748
- style: styles$z.rightIconStyle,
749
- onPress: toggleModal
750
- }) : null))), children))
747
+ height: moderateScale(24)
748
+ })) : null))), children))
751
749
  ),
752
750
  footer ? /* @__PURE__ */ React.createElement(React.Fragment, null, footer) : null
753
751
  );
@@ -5243,8 +5241,11 @@ const CustomDropdown = (props) => {
5243
5241
  const styles$8 = StyleSheet.create({
5244
5242
  container: {
5245
5243
  backgroundColor: theme.SURFACE_STATIC["light"],
5246
- marginVertical: verticalScale(4)
5244
+ marginVertical: verticalScale(4),
5247
5245
  // External margin
5246
+ direction: "ltr",
5247
+ writingDirection: "ltr",
5248
+ textAlign: "left"
5248
5249
  },
5249
5250
  dropdown: {
5250
5251
  height: verticalScale(48),
@@ -5264,10 +5265,13 @@ const styles$8 = StyleSheet.create({
5264
5265
  fontSize: verticalScale(12)
5265
5266
  },
5266
5267
  placeholderStyle: {
5267
- fontSize: verticalScale(16)
5268
+ fontSize: verticalScale(16),
5269
+ writingDirection: "ltr",
5270
+ direction: "ltr"
5268
5271
  },
5269
5272
  selectedTextStyle: {
5270
- fontSize: verticalScale(16)
5273
+ fontSize: verticalScale(16),
5274
+ writingDirection: "ltr"
5271
5275
  },
5272
5276
  iconStyle: {
5273
5277
  width: horizontalScale(20),
@@ -5608,7 +5612,9 @@ const styles$5 = StyleSheet.create({
5608
5612
  textInputContainer: {
5609
5613
  flexDirection: "row",
5610
5614
  justifyContent: "space-between",
5611
- marginTop: verticalScale(8)
5615
+ marginTop: verticalScale(8),
5616
+ direction: "ltr",
5617
+ writingDirection: "ltr"
5612
5618
  },
5613
5619
  textInputStyle: {
5614
5620
  height: verticalScale(48),