dhre-ui-kit 2.0.8 → 2.0.10

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 CHANGED
@@ -592,6 +592,7 @@ interface ScrollableListProps {
592
592
  errorStyle?: object;
593
593
  activeTextStyle?: TextStyle;
594
594
  enableTextWrap?: boolean;
595
+ errorTextStyle?: TextStyle;
595
596
  }
596
597
  declare const _default$7: (props: ScrollableListProps) => React$1.JSX.Element;
597
598
 
package/lib/index.js CHANGED
@@ -7634,6 +7634,7 @@ const ScrollableList = ({
7634
7634
  defaultItemTextColor = "CONTENT_SECONDRY",
7635
7635
  activeTab,
7636
7636
  errorStyle,
7637
+ errorTextStyle,
7637
7638
  activeTextStyle,
7638
7639
  enableTextWrap
7639
7640
  }) => {
@@ -7684,7 +7685,7 @@ const ScrollableList = ({
7684
7685
  text: item?.errorText,
7685
7686
  variant: FontStyle.L2_REGULAR,
7686
7687
  textColor: Theme.CONTENT_PRIMARY,
7687
- style: styles.errorTextStyle
7688
+ style: [styles.errorTextStyle, errorTextStyle]
7688
7689
  }
7689
7690
  ) : "") : null
7690
7691
  ))
@@ -8187,6 +8188,9 @@ const CustomDropdown = (props) => {
8187
8188
  dropdownStyle,
8188
8189
  isFocus && (dropdownFocusStyle ?? {
8189
8190
  borderColor: theme.BORDER_INVERTED["light"]
8191
+ }),
8192
+ Boolean(value && value?.length > 0) && (dropdownFocusStyle ?? {
8193
+ borderColor: theme.BORDER_INVERTED["light"]
8190
8194
  })
8191
8195
  ],
8192
8196
  placeholderStyle: [styles$8.placeholderStyle, placeholderStyle],