@linzjs/step-ag-grid 1.4.8 → 1.4.10
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.d.ts +3 -1
- package/dist/index.js +2239 -2230
- package/dist/index.js.map +1 -1
- package/dist/src/react-menu3/components/MenuHeader.d.ts +3 -3
- package/dist/src/react-menu3/positionUtils/positionMenu.d.ts +1 -1
- package/dist/src/react-menu3/types.d.ts +8 -1
- package/dist/step-ag-grid.esm.js +2246 -2238
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/package.json +1 -2
- package/src/react-menu3/components/ControlledMenu.tsx +1 -1
- package/src/react-menu3/components/MenuHeader.tsx +5 -2
- package/src/react-menu3/positionUtils/positionMenu.ts +1 -1
- package/src/react-menu3/types.ts +9 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ForwardedRef } from "react";
|
|
2
|
-
import {
|
|
3
|
-
export declare const MenuHeaderFr: ({ className, ...restProps }:
|
|
4
|
-
export declare const MenuHeader: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Pick<
|
|
2
|
+
import { BasePropsWithChildren } from "../types";
|
|
3
|
+
export declare const MenuHeaderFr: ({ className, ...restProps }: BasePropsWithChildren, externalRef: ForwardedRef<HTMLLIElement>) => JSX.Element;
|
|
4
|
+
export declare const MenuHeader: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Pick<BasePropsWithChildren<undefined>, "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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"> & import("react").RefAttributes<HTMLLIElement>>>;
|
|
@@ -5,7 +5,7 @@ interface positionMenuProps {
|
|
|
5
5
|
offsetX: number;
|
|
6
6
|
offsetY: number;
|
|
7
7
|
arrowRef: MutableRefObject<HTMLDivElement | null>;
|
|
8
|
-
anchorRef: MutableRefObject<
|
|
8
|
+
anchorRef: MutableRefObject<Element | null>;
|
|
9
9
|
arrow?: boolean;
|
|
10
10
|
direction: MenuDirection;
|
|
11
11
|
position: "auto" | "anchor" | "initial";
|
|
@@ -23,6 +23,13 @@ export interface BaseProps<M = undefined> extends Omit<React.HTMLAttributes<HTML
|
|
|
23
23
|
*/
|
|
24
24
|
className?: ClassNameProp<M>;
|
|
25
25
|
}
|
|
26
|
+
export interface BasePropsWithChildren<M = undefined> extends Omit<React.HTMLAttributes<HTMLElement>, "className"> {
|
|
27
|
+
ref?: React.Ref<any>;
|
|
28
|
+
/**
|
|
29
|
+
* Can be a string or a function which receives a modifier object and returns a CSS `class` string.
|
|
30
|
+
*/
|
|
31
|
+
className?: ClassNameProp<M>;
|
|
32
|
+
}
|
|
26
33
|
export interface Event {
|
|
27
34
|
/**
|
|
28
35
|
* The `value` prop passed to the `MenuItem` being clicked.
|
|
@@ -355,7 +362,7 @@ export interface ControlledMenuProps extends RootMenuProps, ExtraMenuProps {
|
|
|
355
362
|
*
|
|
356
363
|
* *Don't set this prop for context menu*
|
|
357
364
|
*/
|
|
358
|
-
anchorRef?: React.
|
|
365
|
+
anchorRef?: React.RefObject<Element>;
|
|
359
366
|
skipOpen?: React.MutableRefObject<boolean>;
|
|
360
367
|
/**
|
|
361
368
|
* If `true`, the menu list element will gain focus after menu is open.
|