@linzjs/step-ag-grid 21.1.2 → 21.1.4

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@linzjs/step-ag-grid",
3
3
  "repository": "github:linz/step-ag-grid.git",
4
4
  "license": "MIT",
5
- "version": "21.1.2",
5
+ "version": "21.1.4",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -1,3 +1,4 @@
1
+ import clsx from "clsx";
1
2
  import { GridBaseRow } from "../Grid";
2
3
  import { ColDefT, GenericCellEditorProps, GridCell } from "../GridCell";
3
4
  import { GridFormMultiSelect, GridFormMultiSelectProps } from "../gridForm/GridFormMultiSelect";
@@ -11,7 +12,7 @@ export const GridPopoutEditMultiSelect = <TData extends GridBaseRow, TValue = an
11
12
  editor: GridFormMultiSelect,
12
13
  ...props,
13
14
  editorParams: {
14
- className: "GridMultiSelect-containerMedium",
15
15
  ...(props.editorParams as GridFormMultiSelectProps<TData>),
16
+ className: clsx("GridMultiSelect-containerMedium", props.editorParams?.className),
16
17
  },
17
18
  });
@@ -1,3 +1,4 @@
1
+ import clsx from "clsx";
1
2
  import { GridBaseRow } from "../Grid";
2
3
  import { ColDefT, GenericCellEditorProps, GridCell } from "../GridCell";
3
4
  import { GridFormMultiSelectGrid, GridFormMultiSelectGridProps } from "../gridForm/GridFormMultiSelectGrid";
@@ -11,7 +12,7 @@ export const GridPopoutEditMultiSelectGrid = <TData extends GridBaseRow, TValue
11
12
  editor: GridFormMultiSelectGrid,
12
13
  ...props,
13
14
  editorParams: {
14
- className: "GridMultiSelect-containerMedium",
15
15
  ...(props.editorParams as GridFormMultiSelectGridProps<TData>),
16
+ className: clsx("GridMultiSelect-containerMedium", props.editorParams?.className),
16
17
  },
17
18
  });
@@ -1,3 +1,4 @@
1
+ import clsx from "clsx";
1
2
  import { GridBaseRow } from "../Grid";
2
3
  import { ColDefT, GenericCellEditorProps, GridCell } from "../GridCell";
3
4
  import { GridFormDropDown, GridFormDropDownProps } from "../gridForm/GridFormDropDown";
@@ -11,8 +12,7 @@ export const GridPopoverEditDropDown = <TData extends GridBaseRow, TValue = any>
11
12
  editor: GridFormDropDown,
12
13
  ...props,
13
14
  editorParams: {
14
- // Defaults to large size container
15
- className: "GridPopoverEditDropDown-containerLarge",
16
15
  ...(props.editorParams as GridFormDropDownProps<TData>),
16
+ className: clsx("GridPopoverEditDropDown-containerLarge", props.editorParams?.className),
17
17
  },
18
18
  });