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

@material-ui/unstyled

Package Overview
Dependencies
Maintainers
8
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material-ui/unstyled - npm Package Compare versions

Comparing version 5.0.0-alpha.39 to 5.0.0-alpha.40

legacy/SwitchUnstyled/index.js

3

index.d.ts

@@ -13,2 +13,5 @@ export { default as BackdropUnstyled } from './BackdropUnstyled';

export { default as SwitchUnstyled } from './SwitchUnstyled';
export * from './SwitchUnstyled';
export { default as Portal } from './Portal';

@@ -15,0 +18,0 @@ export * from './Portal';

4

index.js

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

/** @license Material-UI v5.0.0-alpha.39
/** @license Material-UI v5.0.0-alpha.40
*

@@ -12,2 +12,4 @@ * This source code is licensed under the MIT license found in the

export * from './SliderUnstyled';
export { default as SwitchUnstyled } from './SwitchUnstyled';
export * from './SwitchUnstyled';
export { default as ModalUnstyled } from './ModalUnstyled';

@@ -14,0 +16,0 @@ export * from './ModalUnstyled';

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

/** @license Material-UI v5.0.0-alpha.39
/** @license Material-UI v5.0.0-alpha.40
*

@@ -12,2 +12,4 @@ * This source code is licensed under the MIT license found in the

export * from './SliderUnstyled';
export { default as SwitchUnstyled } from './SwitchUnstyled';
export * from './SwitchUnstyled';
export { default as ModalUnstyled } from './ModalUnstyled';

@@ -14,0 +16,0 @@ export * from './ModalUnstyled';

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

/**
* Determines if a given element is a DOM element name (i.e. not a React component).
*/
function isHostComponent(element) {

@@ -2,0 +5,0 @@ return typeof element === 'string';

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

/** @license Material-UI v5.0.0-alpha.39
/** @license Material-UI v5.0.0-alpha.40
*

@@ -12,2 +12,4 @@ * This source code is licensed under the MIT license found in the

export * from './SliderUnstyled';
export { default as SwitchUnstyled } from './SwitchUnstyled';
export * from './SwitchUnstyled';
export { default as ModalUnstyled } from './ModalUnstyled';

@@ -14,0 +16,0 @@ export * from './ModalUnstyled';

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

/**
* Determines if a given element is a DOM element name (i.e. not a React component).
*/
function isHostComponent(element) {

@@ -2,0 +5,0 @@ return typeof element === 'string';

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

/** @license Material-UI v5.0.0-alpha.39
/** @license Material-UI v5.0.0-alpha.40
*

@@ -17,2 +17,3 @@ * This source code is licensed under the MIT license found in the

SliderUnstyled: true,
SwitchUnstyled: true,
ModalUnstyled: true,

@@ -43,2 +44,8 @@ Portal: true,

});
Object.defineProperty(exports, "SwitchUnstyled", {
enumerable: true,
get: function () {
return _SwitchUnstyled.default;
}
});
Object.defineProperty(exports, "ModalUnstyled", {

@@ -123,2 +130,16 @@ enumerable: true,

var _SwitchUnstyled = _interopRequireWildcard(require("./SwitchUnstyled"));
Object.keys(_SwitchUnstyled).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _SwitchUnstyled[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _SwitchUnstyled[key];
}
});
});
var _ModalUnstyled = _interopRequireWildcard(require("./ModalUnstyled"));

@@ -125,0 +146,0 @@

@@ -8,2 +8,5 @@ "use strict";

/**
* Determines if a given element is a DOM element name (i.e. not a React component).
*/
function isHostComponent(element) {

@@ -10,0 +13,0 @@ return typeof element === 'string';

{
"name": "@material-ui/unstyled",
"version": "5.0.0-alpha.39",
"version": "5.0.0-alpha.40",
"private": false,

@@ -24,3 +24,3 @@ "author": "Material-UI Team",

},
"homepage": "https://material-ui.com",
"homepage": "https://next.material-ui.com/customization/unstyled-components/",
"peerDependencies": {

@@ -38,2 +38,3 @@ "@types/react": "^16.8.6 || ^17.0.0",

"@babel/runtime": "^7.4.4",
"@emotion/is-prop-valid": "^1.1.0",
"@material-ui/utils": "5.0.0-beta.0",

@@ -40,0 +41,0 @@ "clsx": "^1.0.4",

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

/* eslint-disable import/prefer-default-export */
export function isHostComponent(component: React.ElementType): boolean;
export { default as isHostComponent } from './isHostComponent';

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

/**
* Determines if a given element is a DOM element name (i.e. not a React component).
*/
function isHostComponent(element) {

@@ -2,0 +5,0 @@ return typeof element === 'string';

Sorry, the diff of this file is too big to display

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