dhre-ui-kit 0.0.220 → 0.0.221

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
@@ -3472,7 +3472,9 @@ const CustomDropdown = (props) => {
3472
3472
  style: [
3473
3473
  styles$8.dropdown,
3474
3474
  dropdownStyle,
3475
- isFocus && (dropdownFocusStyle ?? { borderColor: theme.BORDER_INVERTED["light"] })
3475
+ isFocus && (dropdownFocusStyle ?? {
3476
+ borderColor: theme.BORDER_INVERTED["light"]
3477
+ })
3476
3478
  ],
3477
3479
  placeholderStyle: [styles$8.placeholderStyle, placeholderStyle],
3478
3480
  selectedTextStyle: [styles$8.selectedTextStyle, selectedTextStyle],
@@ -3480,7 +3482,7 @@ const CustomDropdown = (props) => {
3480
3482
  data: data ?? [],
3481
3483
  labelField,
3482
3484
  valueField,
3483
- placeholder,
3485
+ placeholder: keepPlaceholderOnFocus || !isFocus ? placeholder : "",
3484
3486
  value,
3485
3487
  onFocus: () => setIsFocus(true),
3486
3488
  onBlur: () => setIsFocus(false),