@monolith-forensics/monolith-ui 1.3.20 → 1.3.21

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.
@@ -63,7 +63,7 @@ const TableMenu = () => {
63
63
  });
64
64
  };
65
65
  const renderCustomMenuItems = (args) => {
66
- return customMenuItems === null || customMenuItems === void 0 ? void 0 : customMenuItems.filter((item) => (item.postition || "left") === args.position).map((item, index) => {
66
+ return customMenuItems === null || customMenuItems === void 0 ? void 0 : customMenuItems.filter((item) => (item.position || "left") === args.position).map((item, index) => {
67
67
  if (item.type === "button") {
68
68
  return _jsx(Button, Object.assign({ size: "xxs" }, item.options), index);
69
69
  }
@@ -213,15 +213,15 @@ export type TableFilterOptions = {
213
213
  };
214
214
  export type CustomTableMenuItem = {
215
215
  type: "button";
216
- postition?: "left" | "right";
216
+ position?: "left" | "right";
217
217
  options: ButtonProps;
218
218
  } | {
219
219
  type: "menu";
220
- postition?: "left" | "right";
220
+ position?: "left" | "right";
221
221
  options: DropDownMenuProps;
222
222
  } | {
223
223
  type: "switch";
224
- postition?: "left" | "right";
224
+ position?: "left" | "right";
225
225
  options: SwitchProps;
226
226
  };
227
227
  export type TableMenuOptions = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "1.3.20",
3
+ "version": "1.3.21",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",