New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@smui/menu-surface

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smui/menu-surface - npm Package Compare versions

Comparing version 4.2.0 to 5.0.0-beta.0

ambient.d.ts

22

Anchor.js

@@ -1,15 +0,9 @@

export default function Anchor(
node,
{
addClass = (className) => node.classList.add(className),
removeClass = (className) => node.classList.remove(className),
} = {}
) {
addClass('mdc-menu-surface--anchor');
return {
destroy() {
removeClass('mdc-menu-surface--anchor');
},
};
export default function Anchor(node, { addClass = (className) => node.classList.add(className), removeClass = (className) => node.classList.remove(className), } = {}) {
addClass('mdc-menu-surface--anchor');
return {
destroy() {
removeClass('mdc-menu-surface--anchor');
},
};
}
//# sourceMappingURL=Anchor.js.map

@@ -1,2 +0,3 @@

export * from './index.js';
export { default } from './index.js';
export * from './index';
export { default } from './index';
//# sourceMappingURL=bare.js.map

@@ -6,2 +6,28 @@ # Change Log

# [5.0.0-beta.0](https://github.com/hperrin/svelte-material-ui/compare/v4.2.0...v5.0.0-beta.0) (2021-09-14)
### Bug Fixes
* make non-index import paths explicit ([2821cb0](https://github.com/hperrin/svelte-material-ui/commit/2821cb02391b332692489022b788c265ce29c1bb))
### Features
* add prop types for HTML props for components ([f5c6e53](https://github.com/hperrin/svelte-material-ui/commit/f5c6e53390b4cbb2da04f543ef877cf03133fc80))
* got sveltekit working local in dev ([024b19a](https://github.com/hperrin/svelte-material-ui/commit/024b19aed05718b76b027dd2e908f4734d17c060))
* implement js builds of all ts files ([085b829](https://github.com/hperrin/svelte-material-ui/commit/085b82932f75a5c62bb4d5f709a19a8b3cbd12a4))
* migrate common and button to typescript ([cf9c6af](https://github.com/hperrin/svelte-material-ui/commit/cf9c6af17c59afc433c58245cc9444aece2195cc))
* migrate floating label, line ripple, and notched outline to typescript ([f05373e](https://github.com/hperrin/svelte-material-ui/commit/f05373ebdc97ba3d9c11059758166fd82bb9d9c8))
* migrate menu surface and menu to typescript ([b479315](https://github.com/hperrin/svelte-material-ui/commit/b479315f4eccd9b3885eab31993949c8d734b888))
### BREAKING CHANGES
* Had to rename export "default" from Button to "defaultAction".
# [4.2.0](https://github.com/hperrin/svelte-material-ui/compare/v4.1.0...v4.2.0) (2021-05-05)

@@ -8,0 +34,0 @@

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

import MenuSurface, { Corner, CornerBit } from './MenuSurface.svelte';
import Anchor from './Anchor.js';
import MenuSurface from './MenuSurface.svelte';
export * from './MenuSurface.types';
import Anchor from './Anchor';
export * from './Anchor';
export default MenuSurface;
export { Corner, CornerBit, Anchor };
export { Anchor };
//# sourceMappingURL=index.js.map
{
"name": "@smui/menu-surface",
"version": "4.2.0",
"version": "5.0.0-beta.0",
"description": "Svelte Material UI - Menu Surface",
"type": "module",
"module": "index.js",
"types": "index.d.ts",
"keywords": [

@@ -17,3 +18,6 @@ "svelte",

"scripts": {
"prepare": "sass --no-source-map -I node_modules _style.scss bare.css",
"build": "npm run build:js && npm run build:sass",
"build:js": "tsc",
"build:sass": "sass --no-source-map -I node_modules -I ../../node_modules _style.scss bare.css",
"prepare": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1"

@@ -36,8 +40,11 @@ },

"@material/menu-surface": "^11.0.0",
"@smui/common": "^4.2.0"
"@smui/common": "^5.0.0-beta.0"
},
"devDependencies": {
"sass": "^1.32.8"
"@tsconfig/svelte": "^2.0.1",
"sass": "^1.32.11",
"tslib": "^2.3.1",
"typescript": "^4.4.2"
},
"gitHead": "19ae8e223386d3c60daa642d631632c9e089155b"
"gitHead": "64f517242b78ff75df7865fc80f16d1a5c39bcaf"
}

@@ -13,18 +13,8 @@ # Svelte Material UI - Menu Surface

# Demo
# Examples and Usage Information
[See it in action.](https://sveltematerialui.com/demo/menu-surface)
https://sveltematerialui.com/demo/menu-surface
[See the demo code.](/site/src/routes/demo/menu-surface/)
# Basic Usage
todo...
# Exports
todo...
# More Information
See [Menu Surface](https://github.com/material-components/material-components-web/tree/v11.0.0/packages/mdc-menu-surface) in MDC-Web for information about the upstream library's architecture.
import './_index.scss';
export * from './index.js';
export { default } from './index.js';
export * from './index';
export { default } from './index';
//# sourceMappingURL=styled.js.map

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