@mui/x-data-grid 5.17.11 → 5.17.13

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.
Files changed (49) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/components/ErrorBoundary.d.ts +0 -1
  3. package/components/ErrorBoundary.js +1 -1
  4. package/components/ErrorOverlay.d.ts +1 -1
  5. package/components/ErrorOverlay.js +3 -3
  6. package/components/GridAutoSizer.d.ts +1 -1
  7. package/components/GridPagination.d.ts +2 -2
  8. package/components/GridRow.js +8 -1
  9. package/components/base/GridErrorHandler.js +3 -4
  10. package/components/cell/GridActionsCellItem.d.ts +2 -2
  11. package/components/panel/GridPanel.d.ts +1 -1
  12. package/components/toolbar/GridToolbarColumnsButton.d.ts +1 -1
  13. package/components/toolbar/GridToolbarDensitySelector.d.ts +1 -1
  14. package/components/toolbar/GridToolbarExportContainer.d.ts +1 -1
  15. package/components/toolbar/GridToolbarFilterButton.d.ts +1 -1
  16. package/hooks/core/useGridErrorHandler.js +7 -1
  17. package/hooks/features/rows/useGridRows.js +3 -0
  18. package/index.js +1 -1
  19. package/legacy/components/ErrorBoundary.js +1 -1
  20. package/legacy/components/ErrorOverlay.js +3 -3
  21. package/legacy/components/GridRow.js +8 -1
  22. package/legacy/components/base/GridErrorHandler.js +3 -4
  23. package/legacy/hooks/core/useGridErrorHandler.js +7 -1
  24. package/legacy/hooks/features/rows/useGridRows.js +3 -0
  25. package/legacy/index.js +1 -1
  26. package/legacy/locales/arSD.js +1 -1
  27. package/legacy/locales/fiFI.js +2 -2
  28. package/locales/arSD.js +1 -1
  29. package/locales/fiFI.js +2 -2
  30. package/modern/components/ErrorBoundary.js +1 -1
  31. package/modern/components/ErrorOverlay.js +3 -3
  32. package/modern/components/GridRow.js +8 -1
  33. package/modern/components/base/GridErrorHandler.js +3 -4
  34. package/modern/hooks/core/useGridErrorHandler.js +7 -1
  35. package/modern/hooks/features/rows/useGridRows.js +3 -0
  36. package/modern/index.js +1 -1
  37. package/modern/locales/arSD.js +1 -1
  38. package/modern/locales/fiFI.js +2 -2
  39. package/node/components/ErrorBoundary.js +1 -1
  40. package/node/components/ErrorOverlay.js +3 -3
  41. package/node/components/GridRow.js +8 -1
  42. package/node/components/base/GridErrorHandler.js +3 -4
  43. package/node/hooks/core/useGridErrorHandler.js +7 -1
  44. package/node/hooks/features/rows/useGridRows.js +3 -0
  45. package/node/index.js +1 -1
  46. package/node/locales/arSD.js +1 -1
  47. package/node/locales/fiFI.js +2 -2
  48. package/package.json +1 -1
  49. package/themeAugmentation/props.d.ts +3 -5
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
2
  import { ButtonProps } from '@mui/material/Button';
3
- export declare const GridToolbarExportContainer: React.ForwardRefExoticComponent<Pick<ButtonProps<"button", {}>, "hidden" | "color" | "size" | "translate" | "disabled" | "form" | "slot" | "title" | "key" | "action" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "type" | "value" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "onFocusVisible" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "disableElevation" | "fullWidth" | "endIcon" | "startIcon"> & React.RefAttributes<HTMLButtonElement>>;
3
+ export declare const GridToolbarExportContainer: React.ForwardRefExoticComponent<Pick<ButtonProps<"button", {}>, "hidden" | "color" | "size" | "translate" | "disabled" | "form" | "slot" | "title" | "key" | "action" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "type" | "value" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "onFocusVisible" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "disableElevation" | "fullWidth" | "endIcon" | "startIcon"> & React.RefAttributes<HTMLButtonElement>>;
@@ -10,5 +10,5 @@ export interface GridToolbarFilterButtonProps extends Omit<TooltipProps, 'title'
10
10
  button?: ButtonProps;
11
11
  };
12
12
  }
13
- declare const GridToolbarFilterButton: React.ForwardRefExoticComponent<Pick<GridToolbarFilterButtonProps, "hidden" | "color" | "style" | "open" | "translate" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onClose" | "sx" | "classes" | "components" | "placement" | "arrow" | "componentsProps" | "TransitionComponent" | "TransitionProps" | "onOpen" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "PopperComponent" | "PopperProps"> & React.RefAttributes<HTMLButtonElement>>;
13
+ declare const GridToolbarFilterButton: React.ForwardRefExoticComponent<Pick<GridToolbarFilterButtonProps, "hidden" | "color" | "style" | "open" | "translate" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onClose" | "sx" | "classes" | "components" | "placement" | "arrow" | "componentsProps" | "TransitionComponent" | "TransitionProps" | "onOpen" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "PopperComponent" | "PopperProps"> & React.RefAttributes<HTMLButtonElement>>;
14
14
  export { GridToolbarFilterButton };
@@ -9,7 +9,13 @@ export function useGridErrorHandler(apiRef, props) {
9
9
  }));
10
10
  }, [apiRef]);
11
11
  React.useEffect(() => {
12
- handleError(props.error);
12
+ if (props.error) {
13
+ handleError({
14
+ error: props.error
15
+ });
16
+ } else {
17
+ handleError(null);
18
+ }
13
19
  }, [handleError, props.error]);
14
20
  useGridApiEventHandler(apiRef, 'componentError', handleError);
15
21
  }
@@ -296,6 +296,9 @@ export const useGridRows = (apiRef, props) => {
296
296
  updatedIdToIdLookup[row.id] = row.id;
297
297
  updatedTree[row.id] = rowTreeNodeConfig;
298
298
  });
299
+ apiRef.current.unstable_caches.rows.idRowsLookup = updatedIdRowsLookup;
300
+ apiRef.current.unstable_caches.rows.idToIdLookup = updatedIdToIdLookup;
301
+ apiRef.current.unstable_caches.rows.ids = updatedRows;
299
302
  apiRef.current.setState(state => _extends({}, state, {
300
303
  rows: _extends({}, state.rows, {
301
304
  idRowsLookup: updatedIdRowsLookup,
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.11
1
+ /** @license MUI v5.17.13
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -44,7 +44,7 @@ export var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
44
44
 
45
45
  if (this.props.hasError || (_this$state = this.state) != null && _this$state.hasError) {
46
46
  // You can render any custom fallback UI
47
- return this.props.render(this.props.componentProps || this.state);
47
+ return this.props.render(this.state);
48
48
  }
49
49
 
50
50
  return this.props.children;
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
- var _excluded = ["message", "hasError", "errorInfo"];
3
+ var _excluded = ["error", "hasError", "errorInfo"];
4
4
  import * as React from 'react';
5
5
  import { useGridApiContext } from '../hooks/utils/useGridApiContext';
6
6
  import { GridOverlay } from './containers/GridOverlay';
@@ -9,7 +9,7 @@ import { gridDensityRowHeightSelector } from '../hooks/features/density/densityS
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
10
  // TODO v6: rename to GridErrorOverlay
11
11
  export var ErrorOverlay = /*#__PURE__*/React.forwardRef(function ErrorOverlay(props, ref) {
12
- var message = props.message,
12
+ var error = props.error,
13
13
  hasError = props.hasError,
14
14
  errorInfo = props.errorInfo,
15
15
  other = _objectWithoutProperties(props, _excluded);
@@ -24,6 +24,6 @@ export var ErrorOverlay = /*#__PURE__*/React.forwardRef(function ErrorOverlay(pr
24
24
  minHeight: 2 * rowHeight
25
25
  }
26
26
  }, other, {
27
- children: message || defaultLabel
27
+ children: (error == null ? void 0 : error.message) || defaultLabel
28
28
  }));
29
29
  });
@@ -325,7 +325,14 @@ var GridRow = /*#__PURE__*/React.forwardRef(function GridRow(props, refProp) {
325
325
  if (sizes != null && sizes.spacingBottom) {
326
326
  var _property = rootProps.rowSpacingType === 'border' ? 'borderBottomWidth' : 'marginBottom';
327
327
 
328
- style[_property] = sizes.spacingBottom;
328
+ var propertyValue = style[_property]; // avoid overriding existing value
329
+
330
+ if (typeof propertyValue !== 'number') {
331
+ propertyValue = parseInt(propertyValue || '0', 10);
332
+ }
333
+
334
+ propertyValue += sizes.spacingBottom;
335
+ style[_property] = propertyValue;
329
336
  }
330
337
 
331
338
  var rowClassNames = apiRef.current.unstable_applyPipeProcessors('rowClassName', [], rowId);
@@ -13,17 +13,16 @@ function GridErrorHandler(props) {
13
13
  var apiRef = useGridApiContext();
14
14
  var logger = useGridLogger(apiRef, 'GridErrorHandler');
15
15
  var rootProps = useGridRootProps();
16
- var error = apiRef.current.state.error;
16
+ var errorState = apiRef.current.state.error;
17
17
  return /*#__PURE__*/_jsx(ErrorBoundary, {
18
- hasError: error != null,
19
- componentProps: error,
18
+ hasError: errorState != null,
20
19
  api: apiRef,
21
20
  logger: logger,
22
21
  render: function render(errorProps) {
23
22
  var _rootProps$components;
24
23
 
25
24
  return /*#__PURE__*/_jsx(GridMainContainer, {
26
- children: /*#__PURE__*/_jsx(rootProps.components.ErrorOverlay, _extends({}, errorProps, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.errorOverlay))
25
+ children: /*#__PURE__*/_jsx(rootProps.components.ErrorOverlay, _extends({}, errorProps, errorState, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.errorOverlay))
27
26
  });
28
27
  },
29
28
  children: children
@@ -11,7 +11,13 @@ export function useGridErrorHandler(apiRef, props) {
11
11
  });
12
12
  }, [apiRef]);
13
13
  React.useEffect(function () {
14
- handleError(props.error);
14
+ if (props.error) {
15
+ handleError({
16
+ error: props.error
17
+ });
18
+ } else {
19
+ handleError(null);
20
+ }
15
21
  }, [handleError, props.error]);
16
22
  useGridApiEventHandler(apiRef, 'componentError', handleError);
17
23
  }
@@ -325,6 +325,9 @@ export var useGridRows = function useGridRows(apiRef, props) {
325
325
  updatedIdToIdLookup[row.id] = row.id;
326
326
  updatedTree[row.id] = rowTreeNodeConfig;
327
327
  });
328
+ apiRef.current.unstable_caches.rows.idRowsLookup = updatedIdRowsLookup;
329
+ apiRef.current.unstable_caches.rows.idToIdLookup = updatedIdToIdLookup;
330
+ apiRef.current.unstable_caches.rows.ids = updatedRows;
328
331
  apiRef.current.setState(function (state) {
329
332
  return _extends({}, state, {
330
333
  rows: _extends({}, state.rows, {
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.11
1
+ /** @license MUI v5.17.13
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -58,7 +58,7 @@ var arSDGrid = {
58
58
  filterOperatorNot: 'ليس',
59
59
  filterOperatorAfter: 'بعد',
60
60
  filterOperatorOnOrAfter: 'عند أو بعد',
61
- filterOperatorBefore: 'بعد',
61
+ filterOperatorBefore: 'قبل',
62
62
  filterOperatorOnOrBefore: 'عند أو قبل',
63
63
  filterOperatorIsEmpty: 'خالي',
64
64
  filterOperatorIsNotEmpty: 'غير خالي',
@@ -73,8 +73,8 @@ var fiFIGrid = {
73
73
  columnMenuFilter: 'Suodata',
74
74
  columnMenuHideColumn: 'Piilota',
75
75
  columnMenuUnsort: 'Poista järjestys',
76
- columnMenuSortAsc: 'Järjestä laskevasti',
77
- columnMenuSortDesc: 'Järjestä nousevasti',
76
+ columnMenuSortAsc: 'Järjestä nousevasti',
77
+ columnMenuSortDesc: 'Järjestä laskevasti',
78
78
  // Column header text
79
79
  columnHeaderFiltersTooltipActive: function columnHeaderFiltersTooltipActive(count) {
80
80
  return count !== 1 ? "".concat(count, " aktiivista suodatinta") : "".concat(count, " aktiivinen suodatin");
package/locales/arSD.js CHANGED
@@ -56,7 +56,7 @@ const arSDGrid = {
56
56
  filterOperatorNot: 'ليس',
57
57
  filterOperatorAfter: 'بعد',
58
58
  filterOperatorOnOrAfter: 'عند أو بعد',
59
- filterOperatorBefore: 'بعد',
59
+ filterOperatorBefore: 'قبل',
60
60
  filterOperatorOnOrBefore: 'عند أو قبل',
61
61
  filterOperatorIsEmpty: 'خالي',
62
62
  filterOperatorIsNotEmpty: 'غير خالي',
package/locales/fiFI.js CHANGED
@@ -71,8 +71,8 @@ const fiFIGrid = {
71
71
  columnMenuFilter: 'Suodata',
72
72
  columnMenuHideColumn: 'Piilota',
73
73
  columnMenuUnsort: 'Poista järjestys',
74
- columnMenuSortAsc: 'Järjestä laskevasti',
75
- columnMenuSortDesc: 'Järjestä nousevasti',
74
+ columnMenuSortAsc: 'Järjestä nousevasti',
75
+ columnMenuSortDesc: 'Järjestä laskevasti',
76
76
  // Column header text
77
77
  columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} aktiivista suodatinta` : `${count} aktiivinen suodatin`,
78
78
  columnHeaderFiltersLabel: 'Näytä suodattimet',
@@ -26,7 +26,7 @@ export class ErrorBoundary extends React.Component {
26
26
  render() {
27
27
  if (this.props.hasError || this.state?.hasError) {
28
28
  // You can render any custom fallback UI
29
- return this.props.render(this.props.componentProps || this.state);
29
+ return this.props.render(this.state);
30
30
  }
31
31
 
32
32
  return this.props.children;
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
- const _excluded = ["message", "hasError", "errorInfo"];
3
+ const _excluded = ["error", "hasError", "errorInfo"];
4
4
  import * as React from 'react';
5
5
  import { useGridApiContext } from '../hooks/utils/useGridApiContext';
6
6
  import { GridOverlay } from './containers/GridOverlay';
@@ -10,7 +10,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
10
10
  // TODO v6: rename to GridErrorOverlay
11
11
  export const ErrorOverlay = /*#__PURE__*/React.forwardRef(function ErrorOverlay(props, ref) {
12
12
  const {
13
- message
13
+ error
14
14
  } = props,
15
15
  other = _objectWithoutPropertiesLoose(props, _excluded);
16
16
 
@@ -24,6 +24,6 @@ export const ErrorOverlay = /*#__PURE__*/React.forwardRef(function ErrorOverlay(
24
24
  minHeight: 2 * rowHeight
25
25
  }
26
26
  }, other, {
27
- children: message || defaultLabel
27
+ children: error?.message || defaultLabel
28
28
  }));
29
29
  });
@@ -305,7 +305,14 @@ const GridRow = /*#__PURE__*/React.forwardRef(function GridRow(props, refProp) {
305
305
 
306
306
  if (sizes?.spacingBottom) {
307
307
  const property = rootProps.rowSpacingType === 'border' ? 'borderBottomWidth' : 'marginBottom';
308
- style[property] = sizes.spacingBottom;
308
+ let propertyValue = style[property]; // avoid overriding existing value
309
+
310
+ if (typeof propertyValue !== 'number') {
311
+ propertyValue = parseInt(propertyValue || '0', 10);
312
+ }
313
+
314
+ propertyValue += sizes.spacingBottom;
315
+ style[property] = propertyValue;
309
316
  }
310
317
 
311
318
  const rowClassNames = apiRef.current.unstable_applyPipeProcessors('rowClassName', [], rowId);
@@ -15,14 +15,13 @@ function GridErrorHandler(props) {
15
15
  const apiRef = useGridApiContext();
16
16
  const logger = useGridLogger(apiRef, 'GridErrorHandler');
17
17
  const rootProps = useGridRootProps();
18
- const error = apiRef.current.state.error;
18
+ const errorState = apiRef.current.state.error;
19
19
  return /*#__PURE__*/_jsx(ErrorBoundary, {
20
- hasError: error != null,
21
- componentProps: error,
20
+ hasError: errorState != null,
22
21
  api: apiRef,
23
22
  logger: logger,
24
23
  render: errorProps => /*#__PURE__*/_jsx(GridMainContainer, {
25
- children: /*#__PURE__*/_jsx(rootProps.components.ErrorOverlay, _extends({}, errorProps, rootProps.componentsProps?.errorOverlay))
24
+ children: /*#__PURE__*/_jsx(rootProps.components.ErrorOverlay, _extends({}, errorProps, errorState, rootProps.componentsProps?.errorOverlay))
26
25
  }),
27
26
  children: children
28
27
  });
@@ -9,7 +9,13 @@ export function useGridErrorHandler(apiRef, props) {
9
9
  }));
10
10
  }, [apiRef]);
11
11
  React.useEffect(() => {
12
- handleError(props.error);
12
+ if (props.error) {
13
+ handleError({
14
+ error: props.error
15
+ });
16
+ } else {
17
+ handleError(null);
18
+ }
13
19
  }, [handleError, props.error]);
14
20
  useGridApiEventHandler(apiRef, 'componentError', handleError);
15
21
  }
@@ -288,6 +288,9 @@ export const useGridRows = (apiRef, props) => {
288
288
  updatedIdToIdLookup[row.id] = row.id;
289
289
  updatedTree[row.id] = rowTreeNodeConfig;
290
290
  });
291
+ apiRef.current.unstable_caches.rows.idRowsLookup = updatedIdRowsLookup;
292
+ apiRef.current.unstable_caches.rows.idToIdLookup = updatedIdToIdLookup;
293
+ apiRef.current.unstable_caches.rows.ids = updatedRows;
291
294
  apiRef.current.setState(state => _extends({}, state, {
292
295
  rows: _extends({}, state.rows, {
293
296
  idRowsLookup: updatedIdRowsLookup,
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.11
1
+ /** @license MUI v5.17.13
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -56,7 +56,7 @@ const arSDGrid = {
56
56
  filterOperatorNot: 'ليس',
57
57
  filterOperatorAfter: 'بعد',
58
58
  filterOperatorOnOrAfter: 'عند أو بعد',
59
- filterOperatorBefore: 'بعد',
59
+ filterOperatorBefore: 'قبل',
60
60
  filterOperatorOnOrBefore: 'عند أو قبل',
61
61
  filterOperatorIsEmpty: 'خالي',
62
62
  filterOperatorIsNotEmpty: 'غير خالي',
@@ -71,8 +71,8 @@ const fiFIGrid = {
71
71
  columnMenuFilter: 'Suodata',
72
72
  columnMenuHideColumn: 'Piilota',
73
73
  columnMenuUnsort: 'Poista järjestys',
74
- columnMenuSortAsc: 'Järjestä laskevasti',
75
- columnMenuSortDesc: 'Järjestä nousevasti',
74
+ columnMenuSortAsc: 'Järjestä nousevasti',
75
+ columnMenuSortDesc: 'Järjestä laskevasti',
76
76
  // Column header text
77
77
  columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} aktiivista suodatinta` : `${count} aktiivinen suodatin`,
78
78
  columnHeaderFiltersLabel: 'Näytä suodattimet',
@@ -40,7 +40,7 @@ class ErrorBoundary extends React.Component {
40
40
 
41
41
  if (this.props.hasError || (_this$state = this.state) != null && _this$state.hasError) {
42
42
  // You can render any custom fallback UI
43
- return this.props.render(this.props.componentProps || this.state);
43
+ return this.props.render(this.state);
44
44
  }
45
45
 
46
46
  return this.props.children;
@@ -23,7 +23,7 @@ var _densitySelector = require("../hooks/features/density/densitySelector");
23
23
 
24
24
  var _jsxRuntime = require("react/jsx-runtime");
25
25
 
26
- const _excluded = ["message", "hasError", "errorInfo"];
26
+ const _excluded = ["error", "hasError", "errorInfo"];
27
27
 
28
28
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
29
29
 
@@ -32,7 +32,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
32
32
  // TODO v6: rename to GridErrorOverlay
33
33
  const ErrorOverlay = /*#__PURE__*/React.forwardRef(function ErrorOverlay(props, ref) {
34
34
  const {
35
- message
35
+ error
36
36
  } = props,
37
37
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
38
38
  const apiRef = (0, _useGridApiContext.useGridApiContext)();
@@ -45,7 +45,7 @@ const ErrorOverlay = /*#__PURE__*/React.forwardRef(function ErrorOverlay(props,
45
45
  minHeight: 2 * rowHeight
46
46
  }
47
47
  }, other, {
48
- children: message || defaultLabel
48
+ children: (error == null ? void 0 : error.message) || defaultLabel
49
49
  }));
50
50
  });
51
51
  exports.ErrorOverlay = ErrorOverlay;
@@ -344,7 +344,14 @@ const GridRow = /*#__PURE__*/React.forwardRef(function GridRow(props, refProp) {
344
344
 
345
345
  if (sizes != null && sizes.spacingBottom) {
346
346
  const property = rootProps.rowSpacingType === 'border' ? 'borderBottomWidth' : 'marginBottom';
347
- style[property] = sizes.spacingBottom;
347
+ let propertyValue = style[property]; // avoid overriding existing value
348
+
349
+ if (typeof propertyValue !== 'number') {
350
+ propertyValue = parseInt(propertyValue || '0', 10);
351
+ }
352
+
353
+ propertyValue += sizes.spacingBottom;
354
+ style[property] = propertyValue;
348
355
  }
349
356
 
350
357
  const rowClassNames = apiRef.current.unstable_applyPipeProcessors('rowClassName', [], rowId);
@@ -36,17 +36,16 @@ function GridErrorHandler(props) {
36
36
  const apiRef = (0, _useGridApiContext.useGridApiContext)();
37
37
  const logger = (0, _useGridLogger.useGridLogger)(apiRef, 'GridErrorHandler');
38
38
  const rootProps = (0, _useGridRootProps.useGridRootProps)();
39
- const error = apiRef.current.state.error;
39
+ const errorState = apiRef.current.state.error;
40
40
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ErrorBoundary.ErrorBoundary, {
41
- hasError: error != null,
42
- componentProps: error,
41
+ hasError: errorState != null,
43
42
  api: apiRef,
44
43
  logger: logger,
45
44
  render: errorProps => {
46
45
  var _rootProps$components;
47
46
 
48
47
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridMainContainer.GridMainContainer, {
49
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.components.ErrorOverlay, (0, _extends2.default)({}, errorProps, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.errorOverlay))
48
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.components.ErrorOverlay, (0, _extends2.default)({}, errorProps, errorState, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.errorOverlay))
50
49
  });
51
50
  },
52
51
  children: children
@@ -25,7 +25,13 @@ function useGridErrorHandler(apiRef, props) {
25
25
  }));
26
26
  }, [apiRef]);
27
27
  React.useEffect(() => {
28
- handleError(props.error);
28
+ if (props.error) {
29
+ handleError({
30
+ error: props.error
31
+ });
32
+ } else {
33
+ handleError(null);
34
+ }
29
35
  }, [handleError, props.error]);
30
36
  (0, _useGridApiEventHandler.useGridApiEventHandler)(apiRef, 'componentError', handleError);
31
37
  }
@@ -318,6 +318,9 @@ const useGridRows = (apiRef, props) => {
318
318
  updatedIdToIdLookup[row.id] = row.id;
319
319
  updatedTree[row.id] = rowTreeNodeConfig;
320
320
  });
321
+ apiRef.current.unstable_caches.rows.idRowsLookup = updatedIdRowsLookup;
322
+ apiRef.current.unstable_caches.rows.idToIdLookup = updatedIdToIdLookup;
323
+ apiRef.current.unstable_caches.rows.ids = updatedRows;
321
324
  apiRef.current.setState(state => (0, _extends2.default)({}, state, {
322
325
  rows: (0, _extends2.default)({}, state.rows, {
323
326
  idRowsLookup: updatedIdRowsLookup,
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.11
1
+ /** @license MUI v5.17.13
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -65,7 +65,7 @@ const arSDGrid = {
65
65
  filterOperatorNot: 'ليس',
66
66
  filterOperatorAfter: 'بعد',
67
67
  filterOperatorOnOrAfter: 'عند أو بعد',
68
- filterOperatorBefore: 'بعد',
68
+ filterOperatorBefore: 'قبل',
69
69
  filterOperatorOnOrBefore: 'عند أو قبل',
70
70
  filterOperatorIsEmpty: 'خالي',
71
71
  filterOperatorIsNotEmpty: 'غير خالي',
@@ -80,8 +80,8 @@ const fiFIGrid = {
80
80
  columnMenuFilter: 'Suodata',
81
81
  columnMenuHideColumn: 'Piilota',
82
82
  columnMenuUnsort: 'Poista järjestys',
83
- columnMenuSortAsc: 'Järjestä laskevasti',
84
- columnMenuSortDesc: 'Järjestä nousevasti',
83
+ columnMenuSortAsc: 'Järjestä nousevasti',
84
+ columnMenuSortDesc: 'Järjestä laskevasti',
85
85
  // Column header text
86
86
  columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} aktiivista suodatinta` : `${count} aktiivinen suodatin`,
87
87
  columnHeaderFiltersLabel: 'Näytä suodattimet',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "5.17.11",
3
+ "version": "5.17.13",
4
4
  "description": "The community edition of the data grid component (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -1,9 +1,9 @@
1
- import { ComponentsOverrides, ComponentsProps, Theme } from '@mui/material/styles';
1
+ import { ComponentsOverrides, ComponentsProps } from '@mui/material/styles';
2
2
  import { DataGridProps } from '../models/props/DataGridProps';
3
3
  export interface DataGridComponentsPropsList {
4
4
  MuiDataGrid: DataGridProps;
5
5
  }
6
- export interface DataGridComponents {
6
+ export interface DataGridComponents<Theme = unknown> {
7
7
  MuiDataGrid?: {
8
8
  defaultProps?: ComponentsProps['MuiDataGrid'];
9
9
  styleOverrides?: ComponentsOverrides<Theme>['MuiDataGrid'];
@@ -12,8 +12,6 @@ export interface DataGridComponents {
12
12
  declare module '@mui/material/styles' {
13
13
  interface ComponentsPropsList extends DataGridComponentsPropsList {
14
14
  }
15
- }
16
- declare module '@mui/material/styles/components' {
17
- interface Components extends DataGridComponents {
15
+ interface Components<Theme = unknown> extends DataGridComponents<Theme> {
18
16
  }
19
17
  }