@material-ui/unstyled
Advanced tools
Comparing version 5.0.0-alpha.39 to 5.0.0-alpha.40
@@ -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'; |
@@ -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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1275129
170
11698
0
9
44
+ Added@emotion/is-prop-valid@1.3.1(transitive)
+ Added@emotion/memoize@0.9.0(transitive)