dhre-ui-kit 2.0.21 → 2.0.23

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.
Files changed (33) hide show
  1. package/lib/components/customInputText/CustomInputText.styles.d.ts +53 -22
  2. package/lib/components/customSearchBar/CustomSearchBar.styles.d.ts +53 -22
  3. package/lib/components/dateRangePicker/DateRangePicker.styles.d.ts +53 -22
  4. package/lib/components/dropDown/DropDown.d.ts +2 -0
  5. package/lib/components/notificationBandge/NotificationBandge.styles.d.ts +53 -22
  6. package/lib/index.js +10 -2
  7. package/lib/index.js.map +1 -1
  8. package/lib/index.mjs +10 -2
  9. package/lib/index.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/lib/components/accordion/Accordion.test.d.ts +0 -1
  12. package/lib/components/badge/Badge.test.d.ts +0 -1
  13. package/lib/components/bottomDrawer/BottomDrawer.test.d.ts +0 -1
  14. package/lib/components/button/Button.test.d.ts +0 -1
  15. package/lib/components/cards/Cards.test.d.ts +0 -1
  16. package/lib/components/checkBox/CheckBox.test.d.ts +0 -1
  17. package/lib/components/customDropdown/CustomDropdown.test.d.ts +0 -1
  18. package/lib/components/customHeader/CustomHeader.test.d.ts +0 -1
  19. package/lib/components/customIcon/CustomIcon.test.d.ts +0 -1
  20. package/lib/components/customInputText/CustomInputText.test.d.ts +0 -1
  21. package/lib/components/customSearchBar/CustomSearchBar.test.d.ts +0 -1
  22. package/lib/components/customTooltip/CustomTooltip.test.d.ts +0 -1
  23. package/lib/components/customTypography/CustomTypography.test.d.ts +0 -1
  24. package/lib/components/fileUpload/FileUpload.test.d.ts +0 -1
  25. package/lib/components/pdfView/PdfView.test.d.ts +0 -1
  26. package/lib/components/popup/PopUp.test.d.ts +0 -1
  27. package/lib/components/progressBar/ProgressBar.test.d.ts +0 -1
  28. package/lib/components/property360View/Property360View.test.d.ts +0 -1
  29. package/lib/components/rating/rating.test.d.ts +0 -1
  30. package/lib/components/swipableList/SwipableList.test.d.ts +0 -1
  31. package/lib/components/tags/Tags.test.d.ts +0 -1
  32. package/lib/components/toast/Toast.test.d.ts +0 -1
  33. package/lib/components/toggleButton/ToggleButton.test.d.ts +0 -1
package/lib/index.mjs CHANGED
@@ -9825,6 +9825,8 @@ const CustomDropdown = (props) => {
9825
9825
  iconColor,
9826
9826
  itemTextStyle,
9827
9827
  onValueChange,
9828
+ onFocus,
9829
+ onBlur,
9828
9830
  itemContainerStyle,
9829
9831
  menuContainerStyle,
9830
9832
  activeColor,
@@ -9897,8 +9899,14 @@ const CustomDropdown = (props) => {
9897
9899
  valueField,
9898
9900
  placeholder: keepPlaceholderOnFocus || !isFocus ? placeholder : "",
9899
9901
  value,
9900
- onFocus: () => setIsFocus(true),
9901
- onBlur: () => setIsFocus(false),
9902
+ onFocus: () => {
9903
+ setIsFocus(true);
9904
+ onFocus?.();
9905
+ },
9906
+ onBlur: () => {
9907
+ setIsFocus(false);
9908
+ onBlur?.();
9909
+ },
9902
9910
  onChange: handleValueChange,
9903
9911
  iconColor,
9904
9912
  dropdownPosition: "bottom",