@react-md/menu
Advanced tools
Comparing version 2.6.0 to 2.7.0
@@ -6,2 +6,25 @@ # Change Log | ||
# [2.7.0](https://github.com/mlaursen/react-md/compare/v2.6.0...v2.7.0) (2021-02-28) | ||
### Bug Fixes | ||
* **@react-md/menu:** fixed menu color when dark theme elevation is enabled ([52c752d](https://github.com/mlaursen/react-md/commit/52c752d05a4a3cb3fb0119e213db7b58218fbfa9)), closes [#1075](https://github.com/mlaursen/react-md/issues/1075) | ||
### Documentation | ||
* **tsdoc:** fixed remaining tsdoc syntax warnings ([946f4dd](https://github.com/mlaursen/react-md/commit/946f4dddf380b9f2313fb76d54d969aa2adbff53)) | ||
* **tsdoc:** fixed some tsdoc annotations and styling ([0449b86](https://github.com/mlaursen/react-md/commit/0449b86e4e51793710b35a452b7ebcbb6e7b5b2e)) | ||
### Other Internal Changes | ||
* updated test coverage to not include conditional component PropTypes ([24e5df1](https://github.com/mlaursen/react-md/commit/24e5df14c731411d7691253383435036326407b5)) | ||
# [2.6.0](https://github.com/mlaursen/react-md/compare/v2.5.5...v2.6.0) (2021-02-13) | ||
@@ -8,0 +31,0 @@ |
@@ -1,10 +0,9 @@ | ||
/** | ||
* This file was generated from @react-md/dev-utils and should not be updated | ||
* manually. | ||
*/ | ||
declare const _default: { | ||
"rmd-menu-elevation": number; | ||
"rmd-menu-light-background-color": string; | ||
"rmd-menu-dark-elevation-background-color": string; | ||
"rmd-menu-dark-background-color": string; | ||
"rmd-menu-background-color": string; | ||
"rmd-menu-color": string; | ||
"rmd-menu-z-index": number; | ||
"rmd-menu-elevation": number; | ||
"rmd-menu-min-width": string; | ||
@@ -11,0 +10,0 @@ "rmd-menu-icon-spacing": string; |
"use strict"; | ||
/** | ||
/* | ||
* This file was generated from @react-md/dev-utils and should not be updated | ||
@@ -8,6 +8,9 @@ * manually. | ||
exports.default = { | ||
"rmd-menu-elevation": 8, | ||
"rmd-menu-light-background-color": "var(--rmd-theme-surface, #fff)", | ||
"rmd-menu-dark-elevation-background-color": "#2f2f2f", | ||
"rmd-menu-dark-background-color": "var(--rmd-theme-surface, #fff)", | ||
"rmd-menu-background-color": "var(--rmd-theme-surface, #fff)", | ||
"rmd-menu-color": "var(--rmd-theme-on-surface, #000)", | ||
"rmd-menu-z-index": 30, | ||
"rmd-menu-elevation": 8, | ||
"rmd-menu-min-width": "7rem", | ||
@@ -14,0 +17,0 @@ "rmd-menu-icon-spacing": "1rem", |
@@ -68,2 +68,3 @@ var __assign = (this && this.__assign) || function () { | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -70,0 +71,0 @@ try { |
@@ -86,2 +86,3 @@ var __assign = (this && this.__assign) || function () { | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -88,0 +89,0 @@ try { |
@@ -82,2 +82,3 @@ var __assign = (this && this.__assign) || function () { | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -84,0 +85,0 @@ try { |
@@ -47,2 +47,3 @@ var __assign = (this && this.__assign) || function () { | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -49,0 +50,0 @@ try { |
@@ -6,3 +6,3 @@ import { useFocusOnMount, usePreviousFocus } from "@react-md/utils"; | ||
* unmount. | ||
* @private | ||
* @internal | ||
*/ | ||
@@ -9,0 +9,0 @@ export function MenuEvents(_a) { |
@@ -30,2 +30,3 @@ var __assign = (this && this.__assign) || function () { | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -32,0 +33,0 @@ try { |
@@ -31,2 +31,3 @@ var __assign = (this && this.__assign) || function () { | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -33,0 +34,0 @@ try { |
@@ -35,2 +35,3 @@ var __assign = (this && this.__assign) || function () { | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -37,0 +38,0 @@ try { |
@@ -11,3 +11,3 @@ import { useCallback } from "react"; | ||
* | ||
* @private | ||
* @internal | ||
*/ | ||
@@ -14,0 +14,0 @@ export function useButtonVisibility(_a) { |
@@ -7,3 +7,3 @@ import { useCallback, useRef, useState } from "react"; | ||
* | ||
* @private | ||
* @internal | ||
*/ | ||
@@ -10,0 +10,0 @@ export function useVisibility(_a) { |
@@ -90,2 +90,3 @@ "use strict"; | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -92,0 +93,0 @@ try { |
@@ -108,2 +108,3 @@ "use strict"; | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -110,0 +111,0 @@ try { |
@@ -107,2 +107,3 @@ "use strict"; | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -109,0 +110,0 @@ try { |
@@ -72,2 +72,3 @@ "use strict"; | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -74,0 +75,0 @@ try { |
@@ -11,4 +11,4 @@ import { MutableRefObject } from "react"; | ||
* unmount. | ||
* @private | ||
* @internal | ||
*/ | ||
export declare function MenuEvents({ menuRef, cancelled, defaultFocus, }: MenuEventsProps): null; |
@@ -9,3 +9,3 @@ "use strict"; | ||
* unmount. | ||
* @private | ||
* @internal | ||
*/ | ||
@@ -12,0 +12,0 @@ function MenuEvents(_a) { |
@@ -55,2 +55,3 @@ "use strict"; | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -57,0 +58,0 @@ try { |
@@ -56,2 +56,3 @@ "use strict"; | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -58,0 +59,0 @@ try { |
@@ -57,2 +57,3 @@ "use strict"; | ||
}); | ||
/* istanbul ignore next */ | ||
if (process.env.NODE_ENV !== "production") { | ||
@@ -59,0 +60,0 @@ try { |
@@ -19,5 +19,5 @@ import { HTMLAttributes } from "react"; | ||
* | ||
* @private | ||
* @internal | ||
*/ | ||
export declare function useButtonVisibility({ onClick: propOnClick, onKeyDown: propOnKeyDown, defaultVisible, defaultFocus: propDefaultFocus, onVisibilityChange, }?: ButtonVisibilityOptions): ReturnValue; | ||
export {}; |
@@ -14,3 +14,3 @@ "use strict"; | ||
* | ||
* @private | ||
* @internal | ||
*/ | ||
@@ -17,0 +17,0 @@ function useButtonVisibility(_a) { |
@@ -24,5 +24,5 @@ export declare type FocusType = "first" | "last"; | ||
* | ||
* @private | ||
* @internal | ||
*/ | ||
export declare function useVisibility({ defaultVisible, defaultFocus: defaultFocusValue, onVisibilityChange, }?: VisibilityOptions): ReturnValue; | ||
export {}; |
@@ -10,3 +10,3 @@ "use strict"; | ||
* | ||
* @private | ||
* @internal | ||
*/ | ||
@@ -13,0 +13,0 @@ function useVisibility(_a) { |
{ | ||
"name": "@react-md/menu", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "Create menus that auto-position themselves within the viewport and adhere to the accessibility guidelines", | ||
@@ -41,12 +41,12 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@react-md/app-bar": "^2.6.0", | ||
"@react-md/button": "^2.6.0", | ||
"@react-md/divider": "^2.6.0", | ||
"@react-md/elevation": "^2.6.0", | ||
"@react-md/icon": "^2.6.0", | ||
"@react-md/list": "^2.6.0", | ||
"@react-md/states": "^2.6.0", | ||
"@react-md/theme": "^2.6.0", | ||
"@react-md/typography": "^2.6.0", | ||
"@react-md/utils": "^2.6.0", | ||
"@react-md/app-bar": "^2.7.0", | ||
"@react-md/button": "^2.7.0", | ||
"@react-md/divider": "^2.7.0", | ||
"@react-md/elevation": "^2.7.0", | ||
"@react-md/icon": "^2.7.0", | ||
"@react-md/list": "^2.7.0", | ||
"@react-md/states": "^2.7.0", | ||
"@react-md/theme": "^2.7.0", | ||
"@react-md/typography": "^2.7.0", | ||
"@react-md/utils": "^2.7.0", | ||
"classnames": "^2.2.6" | ||
@@ -67,3 +67,3 @@ }, | ||
}, | ||
"gitHead": "fe442494d054126c0ba9ee40260d234668e2ba18" | ||
"gitHead": "931e81f628b580837df3a97267a42c9880b13815" | ||
} |
@@ -1,2 +0,2 @@ | ||
/** | ||
/* | ||
* This file was generated from @react-md/dev-utils and should not be updated | ||
@@ -7,6 +7,9 @@ * manually. | ||
export default { | ||
"rmd-menu-elevation": 8, | ||
"rmd-menu-light-background-color": "var(--rmd-theme-surface, #fff)", | ||
"rmd-menu-dark-elevation-background-color": "#2f2f2f", | ||
"rmd-menu-dark-background-color": "var(--rmd-theme-surface, #fff)", | ||
"rmd-menu-background-color": "var(--rmd-theme-surface, #fff)", | ||
"rmd-menu-color": "var(--rmd-theme-on-surface, #000)", | ||
"rmd-menu-z-index": 30, | ||
"rmd-menu-elevation": 8, | ||
"rmd-menu-min-width": "7rem", | ||
@@ -13,0 +16,0 @@ "rmd-menu-icon-spacing": "1rem", |
@@ -27,3 +27,3 @@ import { HTMLAttributes, useCallback } from "react"; | ||
* | ||
* @private | ||
* @internal | ||
*/ | ||
@@ -30,0 +30,0 @@ export function useButtonVisibility({ |
@@ -30,3 +30,3 @@ import { useCallback, useRef, useState } from "react"; | ||
* | ||
* @private | ||
* @internal | ||
*/ | ||
@@ -33,0 +33,0 @@ export function useVisibility({ |
@@ -105,2 +105,2 @@ import React, { HTMLAttributes } from "react"; | ||
*/ | ||
export declare const Menu: React.ForwardRefExoticComponent<(Pick<BaseMenuProps, "hidden" | "visible" | "color" | "style" | "horizontal" | "translate" | "prefix" | "anchor" | "slot" | "title" | "children" | "enter" | "className" | "portal" | "portalInto" | "portalIntoId" | "role" | "timeout" | "in" | "mountOnEnter" | "unmountOnExit" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "classNames" | "appear" | "exit" | "onScroll" | "onChange" | "onKeyDown" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "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-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" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultFocus" | "onRequestClose" | "controlId" | "disableControlClickOkay" | "positionOptions" | "closeOnScroll" | "closeOnResize"> & Required<Pick<BaseMenuProps, "aria-label">> & Partial<Pick<BaseMenuProps, "aria-labelledby">> & React.RefAttributes<HTMLDivElement>) | (Pick<BaseMenuProps, "hidden" | "visible" | "color" | "style" | "horizontal" | "translate" | "prefix" | "anchor" | "slot" | "title" | "children" | "enter" | "className" | "portal" | "portalInto" | "portalIntoId" | "role" | "timeout" | "in" | "mountOnEnter" | "unmountOnExit" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "classNames" | "appear" | "exit" | "onScroll" | "onChange" | "onKeyDown" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "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-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" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultFocus" | "onRequestClose" | "controlId" | "disableControlClickOkay" | "positionOptions" | "closeOnScroll" | "closeOnResize"> & Required<Pick<BaseMenuProps, "aria-labelledby">> & Partial<Pick<BaseMenuProps, "aria-label">> & React.RefAttributes<HTMLDivElement>)>; | ||
export declare const Menu: React.ForwardRefExoticComponent<(Pick<BaseMenuProps, "hidden" | "visible" | "color" | "style" | "horizontal" | "translate" | "prefix" | "anchor" | "slot" | "title" | "children" | "enter" | "className" | "portal" | "portalInto" | "portalIntoId" | "role" | "timeout" | "in" | "mountOnEnter" | "unmountOnExit" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "classNames" | "appear" | "exit" | "onScroll" | "onChange" | "onKeyDown" | "id" | "aria-checked" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "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-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-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" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultFocus" | "onRequestClose" | "controlId" | "disableControlClickOkay" | "positionOptions" | "closeOnScroll" | "closeOnResize"> & Required<Pick<BaseMenuProps, "aria-label">> & Partial<Pick<BaseMenuProps, "aria-labelledby">> & React.RefAttributes<HTMLDivElement>) | (Pick<BaseMenuProps, "hidden" | "visible" | "color" | "style" | "horizontal" | "translate" | "prefix" | "anchor" | "slot" | "title" | "children" | "enter" | "className" | "portal" | "portalInto" | "portalIntoId" | "role" | "timeout" | "in" | "mountOnEnter" | "unmountOnExit" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "classNames" | "appear" | "exit" | "onScroll" | "onChange" | "onKeyDown" | "id" | "aria-checked" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "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-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-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" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "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" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultFocus" | "onRequestClose" | "controlId" | "disableControlClickOkay" | "positionOptions" | "closeOnScroll" | "closeOnResize"> & Required<Pick<BaseMenuProps, "aria-labelledby">> & Partial<Pick<BaseMenuProps, "aria-label">> & React.RefAttributes<HTMLDivElement>)>; |
@@ -11,4 +11,4 @@ import { MutableRefObject } from "react"; | ||
* unmount. | ||
* @private | ||
* @internal | ||
*/ | ||
export declare function MenuEvents({ menuRef, cancelled, defaultFocus, }: MenuEventsProps): null; |
@@ -19,5 +19,5 @@ import { HTMLAttributes } from "react"; | ||
* | ||
* @private | ||
* @internal | ||
*/ | ||
export declare function useButtonVisibility({ onClick: propOnClick, onKeyDown: propOnKeyDown, defaultVisible, defaultFocus: propDefaultFocus, onVisibilityChange, }?: ButtonVisibilityOptions): ReturnValue; | ||
export {}; |
@@ -24,5 +24,5 @@ export declare type FocusType = "first" | "last"; | ||
* | ||
* @private | ||
* @internal | ||
*/ | ||
export declare function useVisibility({ defaultVisible, defaultFocus: defaultFocusValue, onVisibilityChange, }?: VisibilityOptions): ReturnValue; | ||
export {}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
374646
6192
Updated@react-md/app-bar@^2.7.0
Updated@react-md/button@^2.7.0
Updated@react-md/divider@^2.7.0
Updated@react-md/elevation@^2.7.0
Updated@react-md/icon@^2.7.0
Updated@react-md/list@^2.7.0
Updated@react-md/states@^2.7.0
Updated@react-md/theme@^2.7.0
Updated@react-md/typography@^2.7.0
Updated@react-md/utils@^2.7.0