@linzjs/step-ag-grid 7.0.1 → 7.0.2
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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/step-ag-grid.esm.js +4 -4
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/GridCell.tsx +1 -1
- package/src/components/gridForm/GridFormDropDown.tsx +4 -3
- package/src/styles/GridFormDropDown.scss +4 -0
package/package.json
CHANGED
|
@@ -71,7 +71,7 @@ export const GridCell = <RowType extends GridBaseRow, Props extends CellEditorCo
|
|
|
71
71
|
suppressKeyboardEvent: (e) => {
|
|
72
72
|
// It's important that aggrid doesn't trigger edit on enter
|
|
73
73
|
// as the incorrect selected rows will be returned
|
|
74
|
-
return e.event.key
|
|
74
|
+
return !["ArrowLeft", "ArrowRight", "ArrowDown", "ArrowUp", "Tab", " "].includes(e.event.key);
|
|
75
75
|
},
|
|
76
76
|
...(custom?.editorParams && {
|
|
77
77
|
cellEditorParams: { ...custom.editorParams, multiEdit: custom.multiEdit },
|
|
@@ -224,8 +224,7 @@ export const GridFormDropDown = <RowType extends GridBaseRow>(props: GridFormPop
|
|
|
224
224
|
<div style={{ display: "flex", width: "100%" }}>
|
|
225
225
|
<input
|
|
226
226
|
autoFocus
|
|
227
|
-
className={"
|
|
228
|
-
style={{ border: "0px" }}
|
|
227
|
+
className={"LuiTextInput-input"}
|
|
229
228
|
ref={ref}
|
|
230
229
|
type="text"
|
|
231
230
|
placeholder={props.filterPlaceholder ?? "Placeholder"}
|
|
@@ -242,7 +241,9 @@ export const GridFormDropDown = <RowType extends GridBaseRow>(props: GridFormPop
|
|
|
242
241
|
<ComponentLoadingWrapper loading={!options} className={"GridFormDropDown-options"}>
|
|
243
242
|
<>
|
|
244
243
|
{options && options.length == filteredValues?.length && (
|
|
245
|
-
<MenuItem key={`${fieldToString(field)}-empty`}>
|
|
244
|
+
<MenuItem key={`${fieldToString(field)}-empty`} className={"GridPopoverEditDropDown-noOptions"}>
|
|
245
|
+
No Options
|
|
246
|
+
</MenuItem>
|
|
246
247
|
)}
|
|
247
248
|
{options?.map((item: FinalSelectOption, index) =>
|
|
248
249
|
item.value === MenuSeparatorString ? (
|