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.40 to 5.0.0-alpha.41

legacy/NoSsr/index.js

0

BackdropUnstyled/backdropUnstyledClasses.d.ts

@@ -0,0 +0,0 @@ export interface BackdropUnstyledClasses {

@@ -0,0 +0,0 @@ export interface BadgeUnstyledClasses {

export default function composeClasses<ClassKey extends string>(slots: Record<ClassKey, ReadonlyArray<string | false | undefined | null>>, getUtilityClass: (slot: string) => string, classes: Record<string, string> | undefined): Record<ClassKey, string>;
export { default } from './composeClasses';
export default function generateUtilityClass(componentName: string, slot: string): string;
export { default } from './generateUtilityClass';
export default function generateUtilityClasses<T extends string>(componentName: string, slots: T[]): Record<T, string>;
export { default } from './generateUtilityClasses';

26

index.d.ts

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

export { default as unstable_composeClasses } from './composeClasses';
export * from './composeClasses';
export { default as generateUtilityClass } from './generateUtilityClass';
export * from './generateUtilityClass';
export { default as generateUtilityClasses } from './generateUtilityClasses';
export * from './generateUtilityClasses';
export { default as ModalUnstyled } from './ModalUnstyled';
export * from './ModalUnstyled';
export { default as NoSsr } from './NoSsr';
export { default as Portal } from './Portal';
export * from './Portal';
export { default as SliderUnstyled } from './SliderUnstyled';

@@ -17,17 +31,5 @@ export * from './SliderUnstyled';

export { default as Portal } from './Portal';
export * from './Portal';
export { default as Unstable_TrapFocus } from './Unstable_TrapFocus';
export * from './Unstable_TrapFocus';
export { default as generateUtilityClass } from './generateUtilityClass';
export * from './generateUtilityClass';
export { default as generateUtilityClasses } from './generateUtilityClasses';
export * from './generateUtilityClasses';
export { default as unstable_composeClasses } from './composeClasses';
export * from './composeClasses';
export * from './utils';

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

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

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

export * from './BadgeUnstyled';
export { default as unstable_composeClasses } from './composeClasses';
export { default as generateUtilityClass } from './generateUtilityClass';
export { default as generateUtilityClasses } from './generateUtilityClasses';
export { default as ModalUnstyled } from './ModalUnstyled';
export * from './ModalUnstyled';
export { default as NoSsr } from './NoSsr';
export { default as Portal } from './Portal';
export { default as SliderUnstyled } from './SliderUnstyled';

@@ -15,9 +22,3 @@ export * from './SliderUnstyled';

export * from './SwitchUnstyled';
export { default as ModalUnstyled } from './ModalUnstyled';
export * from './ModalUnstyled';
export { default as Portal } from './Portal';
export { default as Unstable_TrapFocus } from './Unstable_TrapFocus';
export { default as generateUtilityClass } from './generateUtilityClass';
export { default as generateUtilityClasses } from './generateUtilityClasses';
export { default as unstable_composeClasses } from './composeClasses';
export * from './utils';

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

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

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

export * from './BadgeUnstyled';
export { default as unstable_composeClasses } from './composeClasses';
export { default as generateUtilityClass } from './generateUtilityClass';
export { default as generateUtilityClasses } from './generateUtilityClasses';
export { default as ModalUnstyled } from './ModalUnstyled';
export * from './ModalUnstyled';
export { default as NoSsr } from './NoSsr';
export { default as Portal } from './Portal';
export { default as SliderUnstyled } from './SliderUnstyled';

@@ -15,9 +22,3 @@ export * from './SliderUnstyled';

export * from './SwitchUnstyled';
export { default as ModalUnstyled } from './ModalUnstyled';
export * from './ModalUnstyled';
export { default as Portal } from './Portal';
export { default as Unstable_TrapFocus } from './Unstable_TrapFocus';
export { default as generateUtilityClass } from './generateUtilityClass';
export { default as generateUtilityClasses } from './generateUtilityClasses';
export { default as unstable_composeClasses } from './composeClasses';
export * from './utils';

@@ -992,3 +992,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

*
* @param {object} event The event source of the callback.
* @param {Event} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (any).

@@ -1004,3 +1004,3 @@ * **Warning**: This is a generic event not a change event.

*
* @param {object} event The event source of the callback. **Warning**: This is a generic event not a change event.
* @param {React.SyntheticEvent | Event} event The event source of the callback. **Warning**: This is a generic event not a change event.
* @param {number | number[]} value The new value.

@@ -1007,0 +1007,0 @@ */

@@ -158,3 +158,3 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";

*
* @param {object} event The event source of the callback.
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (string).

@@ -161,0 +161,0 @@ * You can pull out the new checked state by accessing `event.target.checked` (boolean).

@@ -0,0 +0,0 @@ export interface ManagedModalProps {

@@ -0,0 +0,0 @@ export interface ModalUnstyledClasses {

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

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

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

export * from './BadgeUnstyled';
export { default as unstable_composeClasses } from './composeClasses';
export { default as generateUtilityClass } from './generateUtilityClass';
export { default as generateUtilityClasses } from './generateUtilityClasses';
export { default as ModalUnstyled } from './ModalUnstyled';
export * from './ModalUnstyled';
export { default as NoSsr } from './NoSsr';
export { default as Portal } from './Portal';
export { default as SliderUnstyled } from './SliderUnstyled';

@@ -15,9 +22,3 @@ export * from './SliderUnstyled';

export * from './SwitchUnstyled';
export { default as ModalUnstyled } from './ModalUnstyled';
export * from './ModalUnstyled';
export { default as Portal } from './Portal';
export { default as Unstable_TrapFocus } from './Unstable_TrapFocus';
export { default as generateUtilityClass } from './generateUtilityClass';
export { default as generateUtilityClasses } from './generateUtilityClasses';
export { default as unstable_composeClasses } from './composeClasses';
export * from './utils';

@@ -938,3 +938,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

*
* @param {object} event The event source of the callback.
* @param {Event} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (any).

@@ -950,3 +950,3 @@ * **Warning**: This is a generic event not a change event.

*
* @param {object} event The event source of the callback. **Warning**: This is a generic event not a change event.
* @param {React.SyntheticEvent | Event} event The event source of the callback. **Warning**: This is a generic event not a change event.
* @param {number | number[]} value The new value.

@@ -953,0 +953,0 @@ */

@@ -156,3 +156,3 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";

*
* @param {object} event The event source of the callback.
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (string).

@@ -159,0 +159,0 @@ * You can pull out the new checked state by accessing `event.target.checked` (boolean).

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

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

@@ -16,10 +16,11 @@ * This source code is licensed under the MIT license found in the

BadgeUnstyled: true,
unstable_composeClasses: true,
generateUtilityClass: true,
generateUtilityClasses: true,
ModalUnstyled: true,
NoSsr: true,
Portal: true,
SliderUnstyled: true,
SwitchUnstyled: true,
ModalUnstyled: true,
Portal: true,
Unstable_TrapFocus: true,
generateUtilityClass: true,
generateUtilityClasses: true,
unstable_composeClasses: true
Unstable_TrapFocus: true
};

@@ -38,14 +39,20 @@ Object.defineProperty(exports, "BackdropUnstyled", {

});
Object.defineProperty(exports, "SliderUnstyled", {
Object.defineProperty(exports, "unstable_composeClasses", {
enumerable: true,
get: function () {
return _SliderUnstyled.default;
return _composeClasses.default;
}
});
Object.defineProperty(exports, "SwitchUnstyled", {
Object.defineProperty(exports, "generateUtilityClass", {
enumerable: true,
get: function () {
return _SwitchUnstyled.default;
return _generateUtilityClass.default;
}
});
Object.defineProperty(exports, "generateUtilityClasses", {
enumerable: true,
get: function () {
return _generateUtilityClasses.default;
}
});
Object.defineProperty(exports, "ModalUnstyled", {

@@ -57,30 +64,30 @@ enumerable: true,

});
Object.defineProperty(exports, "Portal", {
Object.defineProperty(exports, "NoSsr", {
enumerable: true,
get: function () {
return _Portal.default;
return _NoSsr.default;
}
});
Object.defineProperty(exports, "Unstable_TrapFocus", {
Object.defineProperty(exports, "Portal", {
enumerable: true,
get: function () {
return _Unstable_TrapFocus.default;
return _Portal.default;
}
});
Object.defineProperty(exports, "generateUtilityClass", {
Object.defineProperty(exports, "SliderUnstyled", {
enumerable: true,
get: function () {
return _generateUtilityClass.default;
return _SliderUnstyled.default;
}
});
Object.defineProperty(exports, "generateUtilityClasses", {
Object.defineProperty(exports, "SwitchUnstyled", {
enumerable: true,
get: function () {
return _generateUtilityClasses.default;
return _SwitchUnstyled.default;
}
});
Object.defineProperty(exports, "unstable_composeClasses", {
Object.defineProperty(exports, "Unstable_TrapFocus", {
enumerable: true,
get: function () {
return _composeClasses.default;
return _Unstable_TrapFocus.default;
}

@@ -117,12 +124,18 @@ });

var _SliderUnstyled = _interopRequireWildcard(require("./SliderUnstyled"));
var _composeClasses = _interopRequireDefault(require("./composeClasses"));
Object.keys(_SliderUnstyled).forEach(function (key) {
var _generateUtilityClass = _interopRequireDefault(require("./generateUtilityClass"));
var _generateUtilityClasses = _interopRequireDefault(require("./generateUtilityClasses"));
var _ModalUnstyled = _interopRequireWildcard(require("./ModalUnstyled"));
Object.keys(_ModalUnstyled).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _SliderUnstyled[key]) return;
if (key in exports && exports[key] === _ModalUnstyled[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _SliderUnstyled[key];
return _ModalUnstyled[key];
}

@@ -132,12 +145,16 @@ });

var _SwitchUnstyled = _interopRequireWildcard(require("./SwitchUnstyled"));
var _NoSsr = _interopRequireDefault(require("./NoSsr"));
Object.keys(_SwitchUnstyled).forEach(function (key) {
var _Portal = _interopRequireDefault(require("./Portal"));
var _SliderUnstyled = _interopRequireWildcard(require("./SliderUnstyled"));
Object.keys(_SliderUnstyled).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;
if (key in exports && exports[key] === _SliderUnstyled[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _SwitchUnstyled[key];
return _SliderUnstyled[key];
}

@@ -147,12 +164,12 @@ });

var _ModalUnstyled = _interopRequireWildcard(require("./ModalUnstyled"));
var _SwitchUnstyled = _interopRequireWildcard(require("./SwitchUnstyled"));
Object.keys(_ModalUnstyled).forEach(function (key) {
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] === _ModalUnstyled[key]) return;
if (key in exports && exports[key] === _SwitchUnstyled[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _ModalUnstyled[key];
return _SwitchUnstyled[key];
}

@@ -162,12 +179,4 @@ });

var _Portal = _interopRequireDefault(require("./Portal"));
var _Unstable_TrapFocus = _interopRequireDefault(require("./Unstable_TrapFocus"));
var _generateUtilityClass = _interopRequireDefault(require("./generateUtilityClass"));
var _generateUtilityClasses = _interopRequireDefault(require("./generateUtilityClasses"));
var _composeClasses = _interopRequireDefault(require("./composeClasses"));
var _utils = require("./utils");

@@ -174,0 +183,0 @@

@@ -958,3 +958,3 @@ "use strict";

*
* @param {object} event The event source of the callback.
* @param {Event} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (any).

@@ -970,3 +970,3 @@ * **Warning**: This is a generic event not a change event.

*
* @param {object} event The event source of the callback. **Warning**: This is a generic event not a change event.
* @param {React.SyntheticEvent | Event} event The event source of the callback. **Warning**: This is a generic event not a change event.
* @param {number | number[]} value The new value.

@@ -973,0 +973,0 @@ */

@@ -174,3 +174,3 @@ "use strict";

*
* @param {object} event The event source of the callback.
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (string).

@@ -177,0 +177,0 @@ * You can pull out the new checked state by accessing `event.target.checked` (boolean).

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

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

"@emotion/is-prop-valid": "^1.1.0",
"@material-ui/utils": "5.0.0-beta.0",
"@material-ui/utils": "5.0.0-beta.1",
"clsx": "^1.0.4",

@@ -41,0 +41,0 @@ "prop-types": "^15.7.2",

@@ -155,3 +155,3 @@ import { OverridableComponent, OverridableTypeMap, OverrideProps } from '@material-ui/types';

*
* @param {object} event The event source of the callback.
* @param {Event} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (any).

@@ -166,3 +166,3 @@ * **Warning**: This is a generic event not a change event.

*
* @param {object} event The event source of the callback. **Warning**: This is a generic event not a change event.
* @param {React.SyntheticEvent | Event} event The event source of the callback. **Warning**: This is a generic event not a change event.
* @param {number | number[]} value The new value.

@@ -169,0 +169,0 @@ */

@@ -938,3 +938,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

*
* @param {object} event The event source of the callback.
* @param {Event} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (any).

@@ -950,3 +950,3 @@ * **Warning**: This is a generic event not a change event.

*
* @param {object} event The event source of the callback. **Warning**: This is a generic event not a change event.
* @param {React.SyntheticEvent | Event} event The event source of the callback. **Warning**: This is a generic event not a change event.
* @param {number | number[]} value The new value.

@@ -953,0 +953,0 @@ */

@@ -0,0 +0,0 @@ export interface SliderUnstyledClasses {

@@ -0,0 +0,0 @@ export { default } from './SwitchUnstyled';

@@ -0,0 +0,0 @@ import * as React from 'react';

@@ -158,3 +158,3 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";

*
* @param {object} event The event source of the callback.
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (string).

@@ -161,0 +161,0 @@ * You can pull out the new checked state by accessing `event.target.checked` (boolean).

@@ -0,0 +0,0 @@ export interface SwitchUnstyledClasses {

@@ -45,3 +45,3 @@ import * as React from 'react';

*
* @param {object} event The event source of the callback.
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (string).

@@ -48,0 +48,0 @@ * You can pull out the new checked state by accessing `event.target.checked` (boolean).

export { default as isHostComponent } from './isHostComponent';

@@ -0,0 +0,0 @@ import React from 'react';

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