@sikka/hawa 0.32.1-next → 0.32.3-next

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/dist/index.js CHANGED
@@ -2965,6 +2965,7 @@ var DataTable = ({
2965
2965
  align: props.direction === "rtl" ? "start" : "end"
2966
2966
  },
2967
2967
  table.getAllColumns().filter((column) => column.getCanHide()).map((column) => {
2968
+ var _a2, _b2;
2968
2969
  return /* @__PURE__ */ React22.createElement(
2969
2970
  DropdownMenuCheckboxItem,
2970
2971
  {
@@ -2972,7 +2973,9 @@ var DataTable = ({
2972
2973
  checked: column.getIsVisible(),
2973
2974
  onCheckedChange: (value) => column.toggleVisibility(!!value)
2974
2975
  },
2975
- translateFn ? translateFn(column.id) : column.id
2976
+ translateFn ? translateFn(
2977
+ ((_a2 = column.columnDef.meta) == null ? void 0 : _a2.i18nKey) ? (_b2 = column.columnDef.meta) == null ? void 0 : _b2.i18nKey : column.id
2978
+ ) : column.id
2976
2979
  );
2977
2980
  })
2978
2981
  ))), props.isLoading ? /* @__PURE__ */ React22.createElement(Skeleton, { className: "hawa-h-[130px] hawa-w-full" }) : /* @__PURE__ */ React22.createElement(
package/dist/index.mjs CHANGED
@@ -2735,6 +2735,7 @@ var DataTable = ({
2735
2735
  align: props.direction === "rtl" ? "start" : "end"
2736
2736
  },
2737
2737
  table.getAllColumns().filter((column) => column.getCanHide()).map((column) => {
2738
+ var _a2, _b2;
2738
2739
  return /* @__PURE__ */ React22.createElement(
2739
2740
  DropdownMenuCheckboxItem,
2740
2741
  {
@@ -2742,7 +2743,9 @@ var DataTable = ({
2742
2743
  checked: column.getIsVisible(),
2743
2744
  onCheckedChange: (value) => column.toggleVisibility(!!value)
2744
2745
  },
2745
- translateFn ? translateFn(column.id) : column.id
2746
+ translateFn ? translateFn(
2747
+ ((_a2 = column.columnDef.meta) == null ? void 0 : _a2.i18nKey) ? (_b2 = column.columnDef.meta) == null ? void 0 : _b2.i18nKey : column.id
2748
+ ) : column.id
2746
2749
  );
2747
2750
  })
2748
2751
  ))), props.isLoading ? /* @__PURE__ */ React22.createElement(Skeleton, { className: "hawa-h-[130px] hawa-w-full" }) : /* @__PURE__ */ React22.createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.32.1-next",
3
+ "version": "0.32.3-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",
@@ -65,8 +65,8 @@
65
65
  "@radix-ui/react-tabs": "^1.0.4",
66
66
  "@radix-ui/react-toast": "^1.1.5",
67
67
  "@radix-ui/react-tooltip": "^1.0.7",
68
- "@tanstack/react-table": "^8.16.0",
69
- "@tanstack/table-core": "^8.16.0",
68
+ "@tanstack/react-table": "^8.17.3",
69
+ "@tanstack/table-core": "^8.17.3",
70
70
  "class-variance-authority": "^0.7.0",
71
71
  "clsx": "^2.1.1",
72
72
  "cmdk": "^1.0.0",
@@ -74,7 +74,7 @@
74
74
  "embla-carousel-react": "^8.0.4",
75
75
  "eslint": "^9.2.0",
76
76
  "eslint-config-next": "^14.2.3",
77
- "libphonenumber-js": "^1.10.62",
77
+ "libphonenumber-js": "^1.11.1",
78
78
  "prism-react-renderer": "^2.3.1",
79
79
  "prismjs": "^1.29.0",
80
80
  "react-dropzone": "^14.2.3",
@@ -86,15 +86,15 @@
86
86
  "tailwind-merge": "^2.3.0",
87
87
  "tailwind-variants": "^0.2.1",
88
88
  "trim-canvas": "^0.1.2",
89
- "zod": "^3.23.6"
89
+ "zod": "^3.23.8"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@babel/preset-react": "^7.24.1",
93
93
  "@sikka/alam": "^0.0.4",
94
94
  "@testing-library/jest-dom": "^6.4.5",
95
- "@testing-library/react": "^15.0.6",
95
+ "@testing-library/react": "^15.0.7",
96
96
  "@types/jest": "^29.5.12",
97
- "@types/react": "^18.3.1",
97
+ "@types/react": "^18.3.2",
98
98
  "@types/react-dom": "^18.3.0",
99
99
  "autoprefixer": "^10.4.19",
100
100
  "boxen": "^7.1.1",