@linzjs/step-ag-grid 2.4.4 → 2.4.5

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": "2.4.4",
5
+ "version": "2.4.5",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -108,7 +108,7 @@
108
108
  "babel-preset-react-app": "^10.0.1",
109
109
  "chromatic": "^6.11.4",
110
110
  "conventional-changelog-conventionalcommits": "^5.0.0",
111
- "eslint": "^8.26.0",
111
+ "eslint": "^8.27.0",
112
112
  "eslint-config-prettier": "^8.5.0",
113
113
  "eslint-config-react-app": "^7.0.1",
114
114
  "eslint-plugin-deprecation": "^1.3.2",
@@ -135,7 +135,7 @@
135
135
  "sass-loader": "10.3.1",
136
136
  "semantic-release": "^19.0.5",
137
137
  "storybook-addon-mock": "^2.4.1",
138
- "style-loader": "^2.0.0",
138
+ "style-loader": "2.0.0",
139
139
  "stylelint": "^14.14.1",
140
140
  "stylelint-config-prettier": "^9.0.3",
141
141
  "stylelint-config-standard": "^29.0.0",
@@ -16,8 +16,9 @@ export const GridPopoverMenu = <RowType extends GridBaseRow>(
16
16
  ): ColDefT<RowType> =>
17
17
  GridCell<RowType, GridFormPopoutMenuProps<RowType>>(
18
18
  {
19
- maxWidth: 64,
19
+ maxWidth: 40,
20
20
  editable: colDef.editable != null ? colDef.editable : true,
21
+ cellStyle: { "justify-content": "flex-end" },
21
22
  cellRenderer: GridRenderPopoutMenuCell,
22
23
  cellClass: custom?.multiEdit ? GenericMultiEditCellClass : undefined,
23
24
  ...colDef,
@@ -9,6 +9,7 @@ export const GridPopoverMessage = <RowType extends GridBaseRow>(
9
9
  ): ColDefT<RowType> =>
10
10
  GridCell(
11
11
  {
12
+ resizable: false,
12
13
  ...colDef,
13
14
  cellRendererParams: {
14
15
  singleClickEdit: true,
@@ -78,6 +78,7 @@ const GridReadOnlyTemplate: ComponentStory<typeof Grid> = (props: GridProps) =>
78
78
  GridPopoverMessage(
79
79
  {
80
80
  headerName: "Popout message",
81
+ maxWidth: 200,
81
82
  cellRenderer: () => <>Click me!</>,
82
83
  },
83
84
  {
@@ -91,9 +92,7 @@ const GridReadOnlyTemplate: ComponentStory<typeof Grid> = (props: GridProps) =>
91
92
  },
92
93
  ),
93
94
  GridPopoverMenu(
94
- {
95
- headerName: "Menu",
96
- },
95
+ {},
97
96
  {
98
97
  multiEdit: true,
99
98
  editorParams: {
@@ -136,7 +135,6 @@ const GridReadOnlyTemplate: ComponentStory<typeof Grid> = (props: GridProps) =>
136
135
  ),
137
136
  GridPopoverMenu(
138
137
  {
139
- headerName: "Menu disabled",
140
138
  editable: false,
141
139
  },
142
140
  {