@megha-ui/react 1.3.41 → 1.3.43

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.
@@ -197,8 +197,10 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
197
197
  bValue.toString().includes("-")) {
198
198
  aValue = aValue.toString().split("-")[0];
199
199
  bValue = bValue.toString().split("-")[0];
200
+ console.log(isNaN(parseFloat(aValue)), isNaN(parseFloat(bValue)));
200
201
  aValue = isNaN(parseFloat(aValue)) ? aValue : parseFloat(aValue);
201
202
  bValue = isNaN(parseFloat(bValue)) ? bValue : parseFloat(bValue);
203
+ console.log({ aValue, bValue });
202
204
  }
203
205
  return aValue > bValue ? 1 : -1;
204
206
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.3.41",
3
+ "version": "1.3.43",
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",