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

@material/mwc-menu

Package Overview
Dependencies
Maintainers
21
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-canary.4abe237e.0 to 0.26.0-canary.60449b7b.0

3

mwc-menu-base.js

@@ -15,3 +15,4 @@ /**

import { observer } from '@material/mwc-base/observer';
import { html, property, query } from 'lit-element';
import { html } from 'lit';
import { property, query } from 'lit/decorators.js';
export { createSetFromIndex, isEventMulti, isIndexSet } from '@material/mwc-list/mwc-list-foundation';

@@ -18,0 +19,0 @@ /**

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

import { deepActiveElementPath, doesElementContainFocus } from '@material/mwc-base/utils';
import { html, property, query, state } from 'lit-element';
import { classMap } from 'lit-html/directives/class-map.js';
import { styleMap } from 'lit-html/directives/style-map.js';
import { html } from 'lit';
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

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

@@ -1,1 +0,1 @@

export declare const styles: import("lit-element").CSSResult;
export declare const styles: import("lit").CSSResult;

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

*/
import { css } from 'lit-element';
import { css } from 'lit';
export const styles = css `.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;transition:opacity .03s linear,transform .12s cubic-bezier(0, 0, 0.2, 1),height 250ms cubic-bezier(0, 0, 0.2, 1);box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);color:#000;color:var(--mdc-theme-on-surface, #000);border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0;transition:opacity .075s linear}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}:host(:not([open])){display:none}.mdc-menu-surface{z-index:8;z-index:var(--mdc-menu-z-index, 8);min-width:112px;min-width:var(--mdc-menu-min-width, 112px)}`;
//# sourceMappingURL=mwc-menu-surface.css.js.map

@@ -15,3 +15,3 @@ /**

export declare class MenuSurface extends MenuSurfaceBase {
static styles: import("lit-element").CSSResult[];
static styles: import("lit").CSSResult[];
}

@@ -9,3 +9,3 @@ /**

// tslint:disable:strip-private-property-underscore
import { customElement } from 'lit-element';
import { customElement } from 'lit/decorators.js';
import { MenuSurfaceBase } from './mwc-menu-surface-base';

@@ -12,0 +12,0 @@ import { styles } from './mwc-menu-surface.css';

@@ -1,1 +0,1 @@

export declare const styles: import("lit-element").CSSResult;
export declare const styles: import("lit").CSSResult;

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

*/
import { css } from 'lit-element';
import { css } from 'lit';
export const styles = css `mwc-list ::slotted([mwc-list-item]:not([twoline])),mwc-list ::slotted([noninteractive]:not([twoline])){height:var(--mdc-menu-item-height, 48px)}`;
//# sourceMappingURL=mwc-menu.css.js.map

@@ -16,3 +16,3 @@ /**

export declare class Menu extends MenuBase {
static styles: import("lit-element").CSSResult[];
static styles: import("lit").CSSResult[];
}

@@ -9,3 +9,3 @@ /**

// tslint:disable:strip-private-property-underscore
import { customElement } from 'lit-element';
import { customElement } from 'lit/decorators.js';
import { MenuBase } from './mwc-menu-base';

@@ -12,0 +12,0 @@ import { styles } from './mwc-menu.css';

{
"name": "@material/mwc-menu",
"version": "0.26.0-canary.4abe237e.0",
"version": "0.26.0-canary.60449b7b.0",
"description": "Material Design menu web component",

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

"dependencies": {
"@material/menu": "=13.0.0-canary.c79aa0cdd.0",
"@material/menu-surface": "=13.0.0-canary.c79aa0cdd.0",
"@material/mwc-base": "0.26.0-canary.4abe237e.0",
"@material/mwc-list": "0.26.0-canary.4abe237e.0",
"@material/shape": "=13.0.0-canary.c79aa0cdd.0",
"@material/theme": "=13.0.0-canary.c79aa0cdd.0",
"lit-element": "^3.0.0",
"lit-html": "^2.0.0",
"@material/menu": "=14.0.0-canary.9803d2dc1.0",
"@material/menu-surface": "=14.0.0-canary.9803d2dc1.0",
"@material/mwc-base": "0.26.0-canary.60449b7b.0",
"@material/mwc-list": "0.26.0-canary.60449b7b.0",
"@material/shape": "=14.0.0-canary.9803d2dc1.0",
"@material/theme": "=14.0.0-canary.9803d2dc1.0",
"lit": "^2.0.0",
"tslib": "^2.0.1"
},
"devDependencies": {
"@material/shape": "=13.0.0-canary.c79aa0cdd.0"
"@material/shape": "=14.0.0-canary.9803d2dc1.0"
},

@@ -34,3 +33,3 @@ "scripts": {

},
"gitHead": "c0c828f0240aea9472d319d4a1bb77871c960873"
"gitHead": "cb5b8ebecb046df6d10001a163b69a26954c94bf"
}

@@ -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/c0c828f0240aea9472d319d4a1bb77871c960873/packages/menu/images/header.png" width="240px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/cb5b8ebecb046df6d10001a163b69a26954c94bf/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/c0c828f0240aea9472d319d4a1bb77871c960873/packages/menu/images/basic.png" width="160px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/cb5b8ebecb046df6d10001a163b69a26954c94bf/packages/menu/images/basic.png" width="160px">

@@ -66,3 +66,3 @@ ```html

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

@@ -83,3 +83,3 @@ ```html

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

@@ -100,3 +100,3 @@ ```html

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

@@ -122,3 +122,3 @@ ```html

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

@@ -154,3 +154,3 @@ ```html

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

@@ -199,3 +199,3 @@ ```html

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

@@ -202,0 +202,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

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