@megha-ui/react 1.3.43 → 1.3.44

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.
@@ -202,6 +202,10 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
202
202
  bValue = isNaN(parseFloat(bValue)) ? bValue : parseFloat(bValue);
203
203
  console.log({ aValue, bValue });
204
204
  }
205
+ else {
206
+ aValue = isNaN(parseFloat(aValue)) ? aValue : parseFloat(aValue);
207
+ bValue = isNaN(parseFloat(bValue)) ? bValue : parseFloat(bValue);
208
+ }
205
209
  return aValue > bValue ? 1 : -1;
206
210
  })
207
211
  .filter((option) => option.label.toLowerCase().includes(searchTerm.toLowerCase()))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.3.43",
3
+ "version": "1.3.44",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",