Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@material/mwc-menu

Package Overview
Dependencies
Maintainers
15
Versions
694
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/mwc-menu - npm Package Compare versions

Comparing version 0.26.0 to 0.26.1

26

mwc-menu-base.d.ts

@@ -6,15 +6,15 @@ /**

*/
import '@material/mwc-list';
import './mwc-menu-surface';
import { MDCMenuAdapter } from '@material/menu/adapter';
import { DefaultFocusState as DefaultFocusStateEnum } from '@material/menu/constants';
import MDCMenuFoundation from '@material/menu/foundation';
import { BaseElement } from '@material/mwc-base/base-element';
import { List, MWCListIndex } from '@material/mwc-list';
import { ActionDetail } from '@material/mwc-list/mwc-list-foundation';
import { ListItemBase } from '@material/mwc-list/mwc-list-item-base';
import { MenuSurface } from './mwc-menu-surface';
import { Corner, MenuCorner } from './mwc-menu-surface-base';
export { ActionDetail, createSetFromIndex, isEventMulti, isIndexSet, MWCListIndex, SelectedDetail } from '@material/mwc-list/mwc-list-foundation';
export { Corner, MenuCorner } from './mwc-menu-surface-base';
import '@material/mwc-list/mwc-list.js';
import './mwc-menu-surface.js';
import { MDCMenuAdapter } from '@material/menu/adapter.js';
import { DefaultFocusState as DefaultFocusStateEnum } from '@material/menu/constants.js';
import MDCMenuFoundation from '@material/menu/foundation.js';
import { BaseElement } from '@material/mwc-base/base-element.js';
import { List, MWCListIndex } from '@material/mwc-list/mwc-list.js';
import { ActionDetail } from '@material/mwc-list/mwc-list-foundation.js';
import { ListItemBase } from '@material/mwc-list/mwc-list-item-base.js';
import { MenuSurface } from './mwc-menu-surface.js';
import { Corner, MenuCorner } from './mwc-menu-surface-base.js';
export { ActionDetail, createSetFromIndex, isEventMulti, isIndexSet, MWCListIndex, SelectedDetail } from '@material/mwc-list/mwc-list-foundation.js';
export { Corner, MenuCorner } from './mwc-menu-surface-base.js';
export declare type DefaultFocusState = keyof typeof DefaultFocusStateEnum;

@@ -21,0 +21,0 @@ /**

@@ -9,11 +9,11 @@ /**

// tslint:disable:strip-private-property-underscore
import '@material/mwc-list';
import './mwc-menu-surface';
import { DefaultFocusState as DefaultFocusStateEnum } from '@material/menu/constants';
import MDCMenuFoundation from '@material/menu/foundation';
import { BaseElement } from '@material/mwc-base/base-element';
import { observer } from '@material/mwc-base/observer';
import '@material/mwc-list/mwc-list.js';
import './mwc-menu-surface.js';
import { DefaultFocusState as DefaultFocusStateEnum } from '@material/menu/constants.js';
import MDCMenuFoundation from '@material/menu/foundation.js';
import { BaseElement } from '@material/mwc-base/base-element.js';
import { observer } from '@material/mwc-base/observer.js';
import { html } from 'lit';
import { property, query } from 'lit/decorators';
export { createSetFromIndex, isEventMulti, isIndexSet } from '@material/mwc-list/mwc-list-foundation';
import { property, query } from 'lit/decorators.js';
export { createSetFromIndex, isEventMulti, isIndexSet } from '@material/mwc-list/mwc-list-foundation.js';
/**

@@ -20,0 +20,0 @@ * @fires selected {SelectedDetail}

@@ -6,6 +6,6 @@ /**

*/
import { MDCMenuSurfaceAdapter } from '@material/menu-surface/adapter';
import { Corner as CornerEnum } from '@material/menu-surface/constants';
import MDCMenuSurfaceFoundation from '@material/menu-surface/foundation';
import { BaseElement } from '@material/mwc-base/base-element';
import { MDCMenuSurfaceAdapter } from '@material/menu-surface/adapter.js';
import { Corner as CornerEnum } from '@material/menu-surface/constants.js';
import MDCMenuSurfaceFoundation from '@material/menu-surface/foundation.js';
import { BaseElement } from '@material/mwc-base/base-element.js';
export declare type Corner = keyof typeof CornerEnum;

@@ -12,0 +12,0 @@ export declare type AnchorableElement = HTMLElement & {

@@ -7,11 +7,11 @@ /**

import { __decorate } from "tslib";
import { Corner as CornerEnum, CornerBit } from '@material/menu-surface/constants';
import MDCMenuSurfaceFoundation from '@material/menu-surface/foundation';
import { addHasRemoveClass, BaseElement } from '@material/mwc-base/base-element';
import { observer } from '@material/mwc-base/observer';
import { deepActiveElementPath, doesElementContainFocus } from '@material/mwc-base/utils';
import { Corner as CornerEnum, CornerBit } from '@material/menu-surface/constants.js';
import MDCMenuSurfaceFoundation from '@material/menu-surface/foundation.js';
import { addHasRemoveClass, BaseElement } from '@material/mwc-base/base-element.js';
import { observer } from '@material/mwc-base/observer.js';
import { deepActiveElementPath, doesElementContainFocus } from '@material/mwc-base/utils.js';
import { html } from 'lit';
import { property, query, state } from 'lit/decorators';
import { classMap } from 'lit/directives/class-map';
import { styleMap } from 'lit/directives/style-map';
import { property, query, state } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { styleMap } from 'lit/directives/style-map.js';
// tslint:disable:no-bitwise

@@ -18,0 +18,0 @@ // required for closure compiler

@@ -6,5 +6,5 @@ /**

*/
import { MenuSurfaceBase } from './mwc-menu-surface-base';
export { MDCMenuDistance } from '@material/menu-surface/types';
export { Corner, MenuCorner } from './mwc-menu-surface-base';
import { MenuSurfaceBase } from './mwc-menu-surface-base.js';
export { MDCMenuDistance } from '@material/menu-surface/types.js';
export { Corner, MenuCorner } from './mwc-menu-surface-base.js';
declare global {

@@ -11,0 +11,0 @@ interface HTMLElementTagNameMap {

@@ -9,5 +9,5 @@ /**

// tslint:disable:strip-private-property-underscore
import { customElement } from 'lit/decorators';
import { MenuSurfaceBase } from './mwc-menu-surface-base';
import { styles } from './mwc-menu-surface.css';
import { customElement } from 'lit/decorators.js';
import { MenuSurfaceBase } from './mwc-menu-surface-base.js';
import { styles } from './mwc-menu-surface.css.js';
let MenuSurface = class MenuSurface extends MenuSurfaceBase {

@@ -14,0 +14,0 @@ };

@@ -6,6 +6,6 @@ /**

*/
import { MenuBase } from './mwc-menu-base';
export { createSetFromIndex, isEventMulti, isIndexSet, MWCListIndex } from '@material/mwc-list/mwc-list-foundation';
export { DefaultFocusState } from './mwc-menu-base';
export { Corner, MenuCorner } from './mwc-menu-surface-base';
import { MenuBase } from './mwc-menu-base.js';
export { createSetFromIndex, isEventMulti, isIndexSet, MWCListIndex } from '@material/mwc-list/mwc-list-foundation.js';
export { DefaultFocusState } from './mwc-menu-base.js';
export { Corner, MenuCorner } from './mwc-menu-surface-base.js';
declare global {

@@ -12,0 +12,0 @@ interface HTMLElementTagNameMap {

@@ -9,6 +9,6 @@ /**

// tslint:disable:strip-private-property-underscore
import { customElement } from 'lit/decorators';
import { MenuBase } from './mwc-menu-base';
import { styles } from './mwc-menu.css';
export { createSetFromIndex, isEventMulti, isIndexSet } from '@material/mwc-list/mwc-list-foundation';
import { customElement } from 'lit/decorators.js';
import { MenuBase } from './mwc-menu-base.js';
import { styles } from './mwc-menu.css.js';
export { createSetFromIndex, isEventMulti, isIndexSet } from '@material/mwc-list/mwc-list-foundation.js';
let Menu = class Menu extends MenuBase {

@@ -15,0 +15,0 @@ };

{
"name": "@material/mwc-menu",
"version": "0.26.0",
"version": "0.26.1",
"description": "Material Design menu web component",

@@ -14,8 +14,8 @@ "keywords": [

"dependencies": {
"@material/menu": "=14.0.0",
"@material/menu-surface": "=14.0.0",
"@material/mwc-base": "^0.26.0",
"@material/mwc-list": "^0.26.0",
"@material/shape": "=14.0.0",
"@material/theme": "=14.0.0",
"@material/menu": "=14.0.0-canary.53b3cad2f.0",
"@material/menu-surface": "=14.0.0-canary.53b3cad2f.0",
"@material/mwc-base": "^0.26.1",
"@material/mwc-list": "^0.26.1",
"@material/shape": "=14.0.0-canary.53b3cad2f.0",
"@material/theme": "=14.0.0-canary.53b3cad2f.0",
"lit": "^2.0.0",

@@ -30,3 +30,3 @@ "tslib": "^2.0.1"

"devDependencies": {
"@material/shape": "=14.0.0"
"@material/shape": "=14.0.0-canary.53b3cad2f.0"
},

@@ -39,3 +39,3 @@ "scripts": {

},
"gitHead": "056b3ceffbe2fe3408dbdbb319932da85637e779"
"gitHead": "06b516b7f91867acd0cbe5676767aea8f490cbee"
}

@@ -7,3 +7,3 @@ # `<mwc-menu>` [![Published on npm](https://img.shields.io/npm/v/@material/mwc-menu.svg)](https://www.npmjs.com/package/@material/mwc-menu)

<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/056b3ceffbe2fe3408dbdbb319932da85637e779/packages/menu/images/header.png" width="240px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/06b516b7f91867acd0cbe5676767aea8f490cbee/packages/menu/images/header.png" width="240px">

@@ -36,3 +36,3 @@ [Material Design Guidelines: menus](https://material.io/design/components/menus.html)

<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/056b3ceffbe2fe3408dbdbb319932da85637e779/packages/menu/images/basic.png" width="160px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/06b516b7f91867acd0cbe5676767aea8f490cbee/packages/menu/images/basic.png" width="160px">

@@ -51,4 +51,4 @@ ```html

<script type="module">
import '@material/mwc-menu';
import '@material/mwc-list/mwc-list-item';
import '@material/mwc-menu/mwc-menu.js';
import '@material/mwc-list/mwc-list-item.js';

@@ -67,3 +67,3 @@ // anchor must share a parent with menu that is `position: relative`

<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/056b3ceffbe2fe3408dbdbb319932da85637e779/packages/menu/images/activatable.png" width="152px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/06b516b7f91867acd0cbe5676767aea8f490cbee/packages/menu/images/activatable.png" width="152px">

@@ -84,3 +84,3 @@ ```html

<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/056b3ceffbe2fe3408dbdbb319932da85637e779/packages/menu/images/multi.png" width="152px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/06b516b7f91867acd0cbe5676767aea8f490cbee/packages/menu/images/multi.png" width="152px">

@@ -101,3 +101,3 @@ ```html

<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/056b3ceffbe2fe3408dbdbb319932da85637e779/packages/menu/images/absolute.png" width="155px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/06b516b7f91867acd0cbe5676767aea8f490cbee/packages/menu/images/absolute.png" width="155px">

@@ -123,3 +123,3 @@ ```html

<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/056b3ceffbe2fe3408dbdbb319932da85637e779/packages/menu/images/fixed.png" width="154px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/06b516b7f91867acd0cbe5676767aea8f490cbee/packages/menu/images/fixed.png" width="154px">

@@ -137,4 +137,4 @@ ```html

<script type="module">
import '@material/mwc-menu';
import '@material/mwc-list/mwc-list-item';
import '@material/mwc-menu/mwc-menu.js';
import '@material/mwc-list/mwc-list-item.js';

@@ -156,3 +156,3 @@ menu.anchor = button;

<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/056b3ceffbe2fe3408dbdbb319932da85637e779/packages/menu/images/selection_group.png" width="170px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/06b516b7f91867acd0cbe5676767aea8f490cbee/packages/menu/images/selection_group.png" width="170px">

@@ -201,3 +201,3 @@ ```html

<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/056b3ceffbe2fe3408dbdbb319932da85637e779/packages/menu/images/styled.png" width="234px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/06b516b7f91867acd0cbe5676767aea8f490cbee/packages/menu/images/styled.png" width="234px">

@@ -204,0 +204,0 @@ ```html

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc