@linzjs/step-ag-grid 31.2.5 → 32.0.0
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.css +5 -1
- package/dist/src/components/GridCell.d.ts +1 -1
- package/dist/src/components/GridLoadableCell.d.ts +1 -1
- package/dist/src/components/GridNoRowsOverlay.d.ts +1 -1
- package/dist/src/components/GridPopoverHook.d.ts +1 -1
- package/dist/src/components/gridFilter/GridFilterDownloadCsvButton.d.ts +1 -1
- package/dist/src/components/gridFilter/GridFilterQuick.d.ts +1 -1
- package/dist/src/components/gridFilter/GridFilters.d.ts +1 -1
- package/dist/src/components/gridForm/GridFormDropDown.d.ts +1 -1
- package/dist/src/components/gridForm/GridFormEditBearing.d.ts +1 -1
- package/dist/src/components/gridForm/GridFormInlineTextInput.d.ts +1 -1
- package/dist/src/components/gridForm/GridFormMultiSelect.d.ts +2 -2
- package/dist/src/components/gridForm/GridFormPopoverMenu.d.ts +1 -1
- package/dist/src/components/gridForm/GridFormTextInput.d.ts +1 -1
- package/dist/src/components/gridHeader/GridHeaderSelect.d.ts +1 -1
- package/dist/src/components/gridHook/useGridContextMenu.d.ts +1 -1
- package/dist/src/components/gridHook/useGridCopy.d.ts +1 -1
- package/dist/src/components/gridHook/useGridRangeSelection.d.ts +1 -1
- package/dist/src/components/gridRender/GridRenderPopoutMenuCell.d.ts +1 -1
- package/dist/src/contexts/GridPopoverContextProvider.d.ts +1 -1
- package/dist/src/contexts/GridUpdatingContextProvider.d.ts +1 -1
- package/dist/src/lui/FormError.d.ts +1 -1
- package/dist/src/lui/TextAreaInput.d.ts +1 -1
- package/dist/src/react-menu3/components/ControlledMenu.d.ts +1 -1
- package/dist/src/react-menu3/components/FocusableItem.d.ts +1 -1
- package/dist/src/react-menu3/components/Menu.d.ts +1 -1
- package/dist/src/react-menu3/components/MenuGroup.d.ts +1 -1
- package/dist/src/react-menu3/components/MenuHeader.d.ts +1 -1
- package/dist/src/react-menu3/components/MenuList.d.ts +1 -1
- package/dist/src/react-menu3/components/MenuRadioGroup.d.ts +1 -1
- package/dist/src/react-menu3/components/SubMenu.d.ts +1 -1
- package/dist/src/utils/useSharedInterval.d.ts +5 -0
- package/dist/step-ag-grid.cjs +247 -102
- package/dist/step-ag-grid.cjs.map +1 -1
- package/dist/step-ag-grid.esm.js +247 -102
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/package.json +29 -30
- package/src/components/gridHook/useGridRangeSelection.ts +1 -1
- package/src/components/gridPopoverEdit/GridEditBoolean.tsx +64 -26
- package/src/contexts/GridContextProvider.tsx +18 -5
- package/src/react-app-env.d.ts +4 -1
- package/src/stories/grid/GridFilterColumnsMultiSelect.stories.tsx +1 -1
- package/src/stories/grid/GridNonEditableRow.stories.tsx +2 -2
- package/src/stories/grid/GridPopoutEditBoolean.stories.tsx +48 -9
- package/src/stories/grid/gridFormInteraction/GridFormDropDownInteraction.stories.tsx +1 -1
- package/src/stories/grid/gridFormInteraction/GridFormEditBearingCorrectionInteraction.stories.tsx +1 -1
- package/src/stories/grid/gridFormInteraction/GridFormEditBearingInteraction.stories.tsx +1 -1
- package/src/stories/grid/gridFormInteraction/GridFormMultiSelectGridInteraction.stories.tsx +1 -1
- package/src/stories/grid/gridFormInteraction/GridFormMultiSelectInteraction.stories.tsx +1 -1
- package/src/stories/grid/gridFormInteraction/GridFormPopoverMenuInteraction.stories.tsx +1 -1
- package/src/stories/grid/gridFormInteraction/GridFormTextAreaInteraction.stories.tsx +1 -1
- package/src/stories/grid/gridFormInteraction/GridFormTextInputInteraction.stories.tsx +1 -1
- package/src/stories/grid/gridFormStatic/GridFormDropDown.stories.tsx +1 -1
- package/src/stories/grid/gridFormStatic/GridFormEditBearing.stories.tsx +1 -1
- package/src/stories/grid/gridFormStatic/GridFormEditBearingCorrection.stories.tsx +1 -1
- package/src/stories/grid/gridFormStatic/GridFormMessage.stories.tsx +1 -1
- package/src/stories/grid/gridFormStatic/GridFormMultiSelect.stories.tsx +1 -1
- package/src/stories/grid/gridFormStatic/GridFormPopoverMenu.stories.tsx +1 -1
- package/src/stories/grid/gridFormStatic/GridFormTextArea.stories.tsx +1 -1
- package/src/stories/grid/gridFormStatic/GridFormTextInput.stories.tsx +1 -1
- package/src/styles/GridLoadableCell.scss +5 -1
- package/src/utils/useSharedInterval.ts +57 -0
- package/src/utils/util.ts +4 -2
package/dist/index.css
CHANGED
|
@@ -619,11 +619,15 @@ div.ag-row div.ag-cell.rangeSelectBottom {
|
|
|
619
619
|
|
|
620
620
|
.GridLoadableCell-container {
|
|
621
621
|
width: 100%;
|
|
622
|
-
display: flex;
|
|
623
622
|
align-items: center;
|
|
623
|
+
display: flex;
|
|
624
624
|
margin-bottom: 6px;
|
|
625
625
|
}
|
|
626
626
|
|
|
627
|
+
.GridCellAlignCenter .GridLoadableCell-container {
|
|
628
|
+
justify-content: center;
|
|
629
|
+
}
|
|
630
|
+
|
|
627
631
|
.ag-cell .GridPopoutMenu-burger {
|
|
628
632
|
cursor: pointer;
|
|
629
633
|
display: block;
|
|
@@ -7,7 +7,7 @@ export interface GenericCellEditorProps<E> {
|
|
|
7
7
|
editor?: (editorProps: E) => ReactElement;
|
|
8
8
|
editorParams?: E;
|
|
9
9
|
}
|
|
10
|
-
export declare const GridCellRenderer: (props: ICellRendererParams) => import("react
|
|
10
|
+
export declare const GridCellRenderer: (props: ICellRendererParams) => import("react").JSX.Element;
|
|
11
11
|
export declare const suppressCellKeyboardEvents: (e: SuppressKeyboardEventParams) => any;
|
|
12
12
|
export declare const generateFilterGetter: <TData extends GridBaseRow, ValueType>(valueFormatter: string | ValueFormatterFunc<TData, ValueType> | undefined) => string | ((params: GetQuickFilterTextParams<TData, ValueType>) => string) | undefined;
|
|
13
13
|
export declare const defaultValueFormatter: ({ value }: ValueFormatterParams) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const GridLoadableCell: () => import("react
|
|
1
|
+
export declare const GridLoadableCell: () => import("react").JSX.Element;
|
|
@@ -7,5 +7,5 @@ export interface GridNoRowsOverlayProps {
|
|
|
7
7
|
noRowsMatchingOverlayText: string | undefined;
|
|
8
8
|
headerRowHeight: number;
|
|
9
9
|
}
|
|
10
|
-
export declare const GridNoRowsOverlayFr: (props: GridNoRowsOverlayProps, externalRef: ForwardedRef<HTMLDivElement>) => import("react
|
|
10
|
+
export declare const GridNoRowsOverlayFr: (props: GridNoRowsOverlayProps, externalRef: ForwardedRef<HTMLDivElement>) => import("react").JSX.Element;
|
|
11
11
|
export declare const GridNoRowsOverlay: import("react").ForwardRefExoticComponent<GridNoRowsOverlayProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -8,6 +8,6 @@ export interface GridPopoverHookProps<TData> {
|
|
|
8
8
|
}
|
|
9
9
|
export declare const CancelPromise: () => Promise<boolean>;
|
|
10
10
|
export declare const useGridPopoverHook: <TData extends GridBaseRow>({ className, save, invalid, dontSaveOnExternalClick, }: GridPopoverHookProps<TData>) => {
|
|
11
|
-
popoverWrapper: (children: ReactElement) => import("react
|
|
11
|
+
popoverWrapper: (children: ReactElement) => import("react").JSX.Element;
|
|
12
12
|
triggerSave: (reason?: string) => Promise<void>;
|
|
13
13
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CsvExportParams } from 'ag-grid-community';
|
|
2
|
-
export declare const GridFilterDownloadCsvButton: (csvExportParams: CsvExportParams) => import("react
|
|
2
|
+
export declare const GridFilterDownloadCsvButton: (csvExportParams: CsvExportParams) => import("react").JSX.Element;
|
|
@@ -2,4 +2,4 @@ export interface GridFilterQuickProps {
|
|
|
2
2
|
quickFilterPlaceholder?: string;
|
|
3
3
|
defaultValue?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare const GridFilterQuick: ({ quickFilterPlaceholder, defaultValue }: GridFilterQuickProps) => import("react
|
|
5
|
+
export declare const GridFilterQuick: ({ quickFilterPlaceholder, defaultValue }: GridFilterQuickProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
export declare const GridFilters: ({ children }: PropsWithChildren) => import("react
|
|
2
|
+
export declare const GridFilters: ({ children }: PropsWithChildren) => import("react").JSX.Element;
|
|
@@ -37,5 +37,5 @@ export interface GridFormDropDownProps<TData extends GridBaseRow, TOptionValue>
|
|
|
37
37
|
options: FinalSelectOption<TOptionValue>[] | ((selectedRows: TData[], filter?: string) => MaybePromise<FinalSelectOption<TOptionValue>[] | undefined>) | undefined;
|
|
38
38
|
topComponent?: () => ReactElement;
|
|
39
39
|
}
|
|
40
|
-
export declare const GridFormDropDown: <TData extends GridBaseRow, TOptionValue>(props: GridFormDropDownProps<TData, TOptionValue>) => import("react
|
|
40
|
+
export declare const GridFormDropDown: <TData extends GridBaseRow, TOptionValue>(props: GridFormDropDownProps<TData, TOptionValue>) => import("react").JSX.Element;
|
|
41
41
|
export {};
|
|
@@ -9,4 +9,4 @@ export interface GridFormEditBearingProps<TData extends GridBaseRow> extends Cel
|
|
|
9
9
|
value: number | null;
|
|
10
10
|
}) => Promise<boolean>;
|
|
11
11
|
}
|
|
12
|
-
export declare const GridFormEditBearing: <TData extends GridBaseRow>(props: GridFormEditBearingProps<TData>) => import("react
|
|
12
|
+
export declare const GridFormEditBearing: <TData extends GridBaseRow>(props: GridFormEditBearingProps<TData>) => import("react").JSX.Element;
|
|
@@ -17,4 +17,4 @@ export interface GridFormInlineTextInput<TData extends GridBaseRow> extends Text
|
|
|
17
17
|
}) => void;
|
|
18
18
|
helpText?: string;
|
|
19
19
|
}
|
|
20
|
-
export declare const GridFormInlineTextInput: <TData extends GridBaseRow>(props: GridFormInlineTextInput<TData>) => import("react
|
|
20
|
+
export declare const GridFormInlineTextInput: <TData extends GridBaseRow>(props: GridFormInlineTextInput<TData>) => import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
2
|
import { CellEditorCommon } from '../GridCell';
|
|
3
3
|
import { GridBaseRow } from '../types';
|
|
4
4
|
export interface MultiSelectOption {
|
|
@@ -33,4 +33,4 @@ export interface GridFormMultiSelectProps<TData extends GridBaseRow> extends Cel
|
|
|
33
33
|
options: MultiSelectOption[] | ((selectedRows: TData[]) => Promise<MultiSelectOption[]> | MultiSelectOption[]);
|
|
34
34
|
invalid?: (selectedRows: TData[], selectedOptions: MultiSelectOption[]) => boolean;
|
|
35
35
|
}
|
|
36
|
-
export declare const GridFormMultiSelect: <TData extends GridBaseRow>(props: GridFormMultiSelectProps<TData>) =>
|
|
36
|
+
export declare const GridFormMultiSelect: <TData extends GridBaseRow>(props: GridFormMultiSelectProps<TData>) => React.JSX.Element;
|
|
@@ -33,5 +33,5 @@ export interface MenuOption<TData extends GridBaseRow> {
|
|
|
33
33
|
* NOTE: If the popout menu doesn't appear on single click when also selecting row it's because
|
|
34
34
|
* you need a useMemo around your columnDefs
|
|
35
35
|
*/
|
|
36
|
-
export declare const GridFormPopoverMenu: <TData extends GridBaseRow>(props: GridFormPopoverMenuProps<TData>) => import("react
|
|
36
|
+
export declare const GridFormPopoverMenu: <TData extends GridBaseRow>(props: GridFormPopoverMenuProps<TData>) => import("react").JSX.Element;
|
|
37
37
|
export {};
|
|
@@ -11,4 +11,4 @@ export interface GridFormTextInputProps<TData extends GridBaseRow> extends TextI
|
|
|
11
11
|
}) => Promise<boolean>;
|
|
12
12
|
helpText?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare const GridFormTextInput: <TData extends GridBaseRow>(props: GridFormTextInputProps<TData>) => import("react
|
|
14
|
+
export declare const GridFormTextInput: <TData extends GridBaseRow>(props: GridFormTextInputProps<TData>) => import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import { IHeaderParams } from 'ag-grid-community';
|
|
|
4
4
|
* If you have partial select then clicking the header checkbox will select all,
|
|
5
5
|
* but we want to deselect all on partial select.
|
|
6
6
|
*/
|
|
7
|
-
export declare const GridHeaderSelect: ({ api }: IHeaderParams) => import("react
|
|
7
|
+
export declare const GridHeaderSelect: ({ api }: IHeaderParams) => import("react").JSX.Element;
|
|
@@ -20,5 +20,5 @@ export interface useGridContextMenuProps<TData extends GridBaseRow, Context exte
|
|
|
20
20
|
export declare const useGridContextMenu: <TData extends GridBaseRow, Context extends object = object>({ contextMenuSelectRow, contextMenu: ContextMenu, context, }: useGridContextMenuProps<TData, Context>) => {
|
|
21
21
|
openMenu: (e: PointerEvent | null | undefined) => void;
|
|
22
22
|
cellContextMenu: (event: CellContextMenuEvent) => void;
|
|
23
|
-
contextMenuComponent: import("react
|
|
23
|
+
contextMenuComponent: import("react").JSX.Element | null;
|
|
24
24
|
};
|
|
@@ -11,5 +11,5 @@ export declare const useGridCopy: <TData extends GridBaseRow>({ ranges, rangeSta
|
|
|
11
11
|
}) => {
|
|
12
12
|
onCopyEvent: (e: ReactClipboardEvent<HTMLDivElement>) => void;
|
|
13
13
|
rangeSelectInterceptContextMenu: (event: CellContextMenuEvent<TData>) => void;
|
|
14
|
-
rangeSelectContextMenuComponent: import("react
|
|
14
|
+
rangeSelectContextMenuComponent: import("react").JSX.Element | null;
|
|
15
15
|
};
|
|
@@ -12,7 +12,7 @@ export interface GridRanges<TData extends GridBaseRow> {
|
|
|
12
12
|
}
|
|
13
13
|
export declare const useGridRangeSelection: <TData extends GridBaseRow>({ enableRangeSelection, gridDivRef, rangeStartRef, rangeEndRef, hasSelectedMoreThanOneCellRef, rangeSortedNodesRef, }: {
|
|
14
14
|
enableRangeSelection: boolean;
|
|
15
|
-
gridDivRef: RefObject<HTMLDivElement>;
|
|
15
|
+
gridDivRef: RefObject<HTMLDivElement | null>;
|
|
16
16
|
rangeStartRef: MutableRefObject<CellLocation | null>;
|
|
17
17
|
rangeEndRef: MutableRefObject<CellLocation | null>;
|
|
18
18
|
hasSelectedMoreThanOneCellRef: MutableRefObject<boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ICellRendererParams } from 'ag-grid-community';
|
|
2
|
-
export declare const GridRenderPopoutMenuCell: (props: ICellRendererParams) => import("react
|
|
2
|
+
export declare const GridRenderPopoutMenuCell: (props: ICellRendererParams) => import("react").JSX.Element;
|
|
@@ -3,5 +3,5 @@ import { PropsWithChildren } from 'react';
|
|
|
3
3
|
interface GridPopoverContextProps {
|
|
4
4
|
props: ICellEditorParams<any, any, any>;
|
|
5
5
|
}
|
|
6
|
-
export declare const GridPopoverContextProvider: (props2: PropsWithChildren<GridPopoverContextProps>) => import("react
|
|
6
|
+
export declare const GridPopoverContextProvider: (props2: PropsWithChildren<GridPopoverContextProps>) => import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
export type GridUpdatingContextStatus = Record<string, (number | string)[] | undefined>;
|
|
3
|
-
export declare const GridUpdatingContextProvider: (props: PropsWithChildren) => import("react
|
|
3
|
+
export declare const GridUpdatingContextProvider: (props: PropsWithChildren) => import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface FormErrorProps {
|
|
|
4
4
|
helpText?: string;
|
|
5
5
|
error?: ReactElement | string | boolean | null;
|
|
6
6
|
}
|
|
7
|
-
export declare const FormError: (props: FormErrorProps) => import("react
|
|
7
|
+
export declare const FormError: (props: FormErrorProps) => import("react").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export interface LuiTextAreaInputProps extends InputHTMLAttributes<HTMLTextAreaE
|
|
|
7
7
|
error?: ReactElement | string | boolean | null;
|
|
8
8
|
allowTabToSave?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare const TextAreaInput: (props: LuiTextAreaInputProps) => import("react
|
|
10
|
+
export declare const TextAreaInput: (props: LuiTextAreaInputProps) => import("react").JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { ForwardedRef, MutableRefObject } from 'react';
|
|
|
2
2
|
import { ControlledMenuProps } from '../types';
|
|
3
3
|
export declare const ControlledMenuFr: ({ "aria-label": ariaLabel, className, containerProps, initialMounted, unmountOnClose, transition, transitionTimeout, boundingBoxRef, boundingBoxPadding, reposition, submenuOpenDelay, submenuCloseDelay, skipOpen, viewScroll, portal, theming, onItemClick, onClose, saveButtonRef, ...restProps }: ControlledMenuProps & {
|
|
4
4
|
saveButtonRef?: MutableRefObject<HTMLButtonElement | null>;
|
|
5
|
-
}, externalRef: ForwardedRef<HTMLUListElement>) => import("react
|
|
5
|
+
}, externalRef: ForwardedRef<HTMLUListElement>) => import("react").JSX.Element | null;
|
|
6
6
|
export declare const ControlledMenu: import("react").ForwardRefExoticComponent<Omit<ControlledMenuProps & {
|
|
7
7
|
saveButtonRef?: MutableRefObject<HTMLButtonElement | null>;
|
|
8
8
|
}, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
|
|
@@ -5,5 +5,5 @@ export interface FocusableItemProps extends BaseProps, withHoveringResultProps {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
children: (ref: LegacyRef<any>) => ReactElement;
|
|
7
7
|
}
|
|
8
|
-
export declare const FocusableItemFr: ({ className, disabled, children, isHovering, menuItemRef, externalRef, ...restProps }: FocusableItemProps) => import("react
|
|
8
|
+
export declare const FocusableItemFr: ({ className, disabled, children, isHovering, menuItemRef, externalRef, ...restProps }: FocusableItemProps) => import("react").JSX.Element;
|
|
9
9
|
export declare const FocusableItem: import("react").ForwardRefExoticComponent<Omit<FocusableItemProps, "ref"> & import("react").RefAttributes<any>>;
|
|
@@ -12,5 +12,5 @@ export interface MenuProps extends RootMenuProps, UncontrolledMenuProps {
|
|
|
12
12
|
*/
|
|
13
13
|
menuButton: RenderProp<MenuButtonModifiers, ReactElement>;
|
|
14
14
|
}
|
|
15
|
-
export declare function MenuFr({ 'aria-label': ariaLabel, menuButton, instanceRef, onMenuChange, ...restProps }: MenuProps, externalRef: ForwardedRef<ReactElement>): import("react
|
|
15
|
+
export declare function MenuFr({ 'aria-label': ariaLabel, menuButton, instanceRef, onMenuChange, ...restProps }: MenuProps, externalRef: ForwardedRef<ReactElement>): import("react").JSX.Element;
|
|
16
16
|
export declare const Menu: import("react").ForwardRefExoticComponent<Omit<MenuProps, "ref"> & import("react").RefAttributes<ReactElement<any, string | import("react").JSXElementConstructor<any>>>>;
|
|
@@ -8,5 +8,5 @@ export interface MenuGroupProps extends BaseProps {
|
|
|
8
8
|
*/
|
|
9
9
|
takeOverflow?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare const MenuGroupFr: ({ className, style, takeOverflow, ...restProps }: MenuGroupProps, externalRef: ForwardedRef<HTMLDivElement>) => import("react
|
|
11
|
+
export declare const MenuGroupFr: ({ className, style, takeOverflow, ...restProps }: MenuGroupProps, externalRef: ForwardedRef<HTMLDivElement>) => import("react").JSX.Element;
|
|
12
12
|
export declare const MenuGroup: import("react").ForwardRefExoticComponent<Omit<MenuGroupProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ForwardedRef } from 'react';
|
|
2
2
|
import { BasePropsWithChildren } from '../types';
|
|
3
|
-
export declare const MenuHeaderFr: ({ className, ...restProps }: BasePropsWithChildren, externalRef: ForwardedRef<HTMLLIElement>) => import("react
|
|
3
|
+
export declare const MenuHeaderFr: ({ className, ...restProps }: BasePropsWithChildren, externalRef: ForwardedRef<HTMLLIElement>) => import("react").JSX.Element;
|
|
4
4
|
export declare const MenuHeader: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<BasePropsWithChildren<undefined>, "ref"> & import("react").RefAttributes<HTMLLIElement>>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ControlledMenuProps } from '../types';
|
|
2
|
-
export declare const MenuList: ({ ariaLabel, menuClassName, menuStyle, arrowClassName, arrowStyle, anchorPoint, anchorRef, containerRef, externalRef, parentScrollingRef, arrow, align, direction, position, overflow, setDownOverflow, repositionFlag, captureFocus, state, endTransition, isDisabled, menuItemFocus, dontShrinkIfDirectionIsTop, offsetX, offsetY, children, onClose, ...restProps }: ControlledMenuProps) => import("react
|
|
2
|
+
export declare const MenuList: ({ ariaLabel, menuClassName, menuStyle, arrowClassName, arrowStyle, anchorPoint, anchorRef, containerRef, externalRef, parentScrollingRef, arrow, align, direction, position, overflow, setDownOverflow, repositionFlag, captureFocus, state, endTransition, isDisabled, menuItemFocus, dontShrinkIfDirectionIsTop, offsetX, offsetY, children, onClose, ...restProps }: ControlledMenuProps) => import("react").JSX.Element;
|
|
@@ -21,5 +21,5 @@ export interface MenuRadioGroupProps extends BaseProps {
|
|
|
21
21
|
*/
|
|
22
22
|
onRadioChange?: EventHandler<RadioChangeEvent>;
|
|
23
23
|
}
|
|
24
|
-
export declare const MenuRadioGroupFr: ({ "aria-label": ariaLabel, className, name, value, onRadioChange, ...restProps }: MenuRadioGroupProps, externalRef: ForwardedRef<HTMLUListElement>) => import("react
|
|
24
|
+
export declare const MenuRadioGroupFr: ({ "aria-label": ariaLabel, className, name, value, onRadioChange, ...restProps }: MenuRadioGroupProps, externalRef: ForwardedRef<HTMLUListElement>) => import("react").JSX.Element;
|
|
25
25
|
export declare const MenuRadioGroup: import("react").ForwardRefExoticComponent<Omit<MenuRadioGroupProps, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
|
|
@@ -105,6 +105,6 @@ export interface SubMenuProps extends BaseMenuProps, Hoverable, UncontrolledMenu
|
|
|
105
105
|
*/
|
|
106
106
|
openTrigger?: 'none' | 'clickOnly';
|
|
107
107
|
}
|
|
108
|
-
export declare const SubMenuFr: ({ "aria-label": ariaLabel, className, disabled, direction, label, openTrigger, onMenuChange, isHovering, instanceRef, menuItemRef, itemProps, ...restProps }: SubMenuProps) => import("react
|
|
108
|
+
export declare const SubMenuFr: ({ "aria-label": ariaLabel, className, disabled, direction, label, openTrigger, onMenuChange, isHovering, instanceRef, menuItemRef, itemProps, ...restProps }: SubMenuProps) => import("react").JSX.Element;
|
|
109
109
|
export declare const SubMenu: import("react").ForwardRefExoticComponent<Omit<SubMenuProps, "ref"> & import("react").RefAttributes<any>>;
|
|
110
110
|
export {};
|