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

@react-md/states

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-md/states - npm Package Compare versions

Comparing version 2.0.0-alpha.15 to 2.0.0-beta.0

es/ripples/constants.js

2

es/index.js

@@ -5,3 +5,3 @@ export { default as useInteractionStates } from "./useInteractionStates";

export * from "./StatesConfig";
export * from "./ripples/contants";
export * from "./ripples/constants";
//# sourceMappingURL=index.js.map
import React, { createContext, useContext, useMemo, } from "react";
import { RIPPLE_CLASS_NAMES, RIPPLE_TIMEOUT } from "./ripples/contants";
import { RIPPLE_CLASS_NAMES, RIPPLE_TIMEOUT } from "./ripples/constants";
export var StatesConfigContext = createContext({

@@ -4,0 +4,0 @@ rippleTimeout: RIPPLE_TIMEOUT,

@@ -5,2 +5,2 @@ export { default as useInteractionStates } from "./useInteractionStates";

export * from "./StatesConfig";
export * from "./ripples/contants";
export * from "./ripples/constants";

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

__export(require("./StatesConfig"));
__export(require("./ripples/contants"));
__export(require("./ripples/constants"));
//# sourceMappingURL=index.js.map

@@ -11,6 +11,6 @@ "use strict";

var react_1 = __importStar(require("react"));
var contants_1 = require("./ripples/contants");
var constants_1 = require("./ripples/constants");
exports.StatesConfigContext = react_1.createContext({
rippleTimeout: contants_1.RIPPLE_TIMEOUT,
rippleClassNames: contants_1.RIPPLE_CLASS_NAMES,
rippleTimeout: constants_1.RIPPLE_TIMEOUT,
rippleClassNames: constants_1.RIPPLE_CLASS_NAMES,
disableRipple: false,

@@ -39,3 +39,3 @@ disableProgrammaticRipple: false,

function StatesConfig(_a) {
var _b = _a.rippleTimeout, rippleTimeout = _b === void 0 ? contants_1.RIPPLE_TIMEOUT : _b, _c = _a.rippleClassNames, rippleClassNames = _c === void 0 ? contants_1.RIPPLE_CLASS_NAMES : _c, _d = _a.disableRipple, disableRipple = _d === void 0 ? false : _d, _e = _a.disableProgrammaticRipple, disableProgrammaticRipple = _e === void 0 ? false : _e, children = _a.children;
var _b = _a.rippleTimeout, rippleTimeout = _b === void 0 ? constants_1.RIPPLE_TIMEOUT : _b, _c = _a.rippleClassNames, rippleClassNames = _c === void 0 ? constants_1.RIPPLE_CLASS_NAMES : _c, _d = _a.disableRipple, disableRipple = _d === void 0 ? false : _d, _e = _a.disableProgrammaticRipple, disableProgrammaticRipple = _e === void 0 ? false : _e, children = _a.children;
var value = react_1.useMemo(function () { return ({

@@ -42,0 +42,0 @@ rippleTimeout: rippleTimeout,

{
"name": "@react-md/states",
"version": "2.0.0-alpha.15",
"version": "2.0.0-beta.0",
"description": "A package for adding the different focus, hover, selected, active, etc states to elements",

@@ -38,5 +38,5 @@ "scripts": {

"dependencies": {
"@react-md/theme": "^2.0.0-alpha.15",
"@react-md/transition": "^2.0.0-alpha.15",
"@react-md/utils": "^2.0.0-alpha.15",
"@react-md/theme": "^2.0.0-beta.0",
"@react-md/transition": "^2.0.0-beta.0",
"@react-md/utils": "^2.0.0-beta.0",
"react-transition-group": "^4.3.0"

@@ -53,3 +53,3 @@ },

},
"gitHead": "c20671308497530c59f6563eafd1914b55122b8c"
"gitHead": "8d754a2c2734ee98eaf571e348a836cf12a9f104"
}

@@ -7,2 +7,2 @@ export { default as useInteractionStates } from "./useInteractionStates";

export * from "./ripples/contants";
export * from "./ripples/constants";

@@ -5,2 +5,2 @@ export { default as useInteractionStates } from "./useInteractionStates";

export * from "./StatesConfig";
export * from "./ripples/contants";
export * from "./ripples/constants";

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

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