@megha-ui/react 1.2.168 → 1.2.169

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.
@@ -634,7 +634,9 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
634
634
  };
635
635
  (0, react_1.useEffect)(() => {
636
636
  if (gridGroupBy && gridGroupBy !== "") {
637
+ console.log(gridGroupBy.split(","));
637
638
  const groupedArray = groupByMultipleKeys(sortedData, gridGroupBy.split(","));
639
+ console.log(groupedArray);
638
640
  const flatGroupedArray = flattenGroupedData(groupedArray, 1);
639
641
  setGroupedData(flatGroupedArray);
640
642
  const grouped = flatGroupedArray
@@ -5,7 +5,7 @@ interface TextInputProps {
5
5
  id?: string;
6
6
  onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
7
7
  onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
8
- onBlur?: (event: React.ChangeEvent<HTMLInputElement>) => void;
8
+ onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
9
9
  placeholder?: string;
10
10
  type?: "text" | "password" | "email" | "number";
11
11
  className?: string;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.168",
3
+ "version": "1.2.169",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
- "module": "./dist/index.mjs",
6
+ "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "scripts": {
9
9
  "build": "tsc",