🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@griffel/react

Package Overview
Dependencies
Maintainers
6
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@griffel/react - npm Package Compare versions

Comparing version

to
1.5.24

index.esm.d.ts

2

__css.cjs.js
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@griffel/core');

@@ -6,0 +4,0 @@ var TextDirectionContext = require('./TextDirectionContext.cjs.js');

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@griffel/core');

@@ -6,0 +4,0 @@ var TextDirectionContext = require('./TextDirectionContext.cjs.js');

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@griffel/core');

@@ -6,0 +4,0 @@ var insertionFactory = require('./insertionFactory.cjs.js');

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@griffel/core');

@@ -6,0 +4,0 @@ var insertionFactory = require('./insertionFactory.cjs.js');

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@griffel/core');

@@ -19,15 +17,15 @@ var makeStyles = require('./makeStyles.cjs.js');

Object.defineProperty(exports, 'RESET', {
Object.defineProperty(exports, "RESET", {
enumerable: true,
get: function () { return core.RESET; }
});
Object.defineProperty(exports, 'createDOMRenderer', {
Object.defineProperty(exports, "createDOMRenderer", {
enumerable: true,
get: function () { return core.createDOMRenderer; }
});
Object.defineProperty(exports, 'mergeClasses', {
Object.defineProperty(exports, "mergeClasses", {
enumerable: true,
get: function () { return core.mergeClasses; }
});
Object.defineProperty(exports, 'shorthands', {
Object.defineProperty(exports, "shorthands", {
enumerable: true,

@@ -34,0 +32,0 @@ get: function () { return core.shorthands; }

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var canUseDOM = require('./utils/canUseDOM.cjs.js');

@@ -6,0 +4,0 @@ var useInsertionEffect = require('./useInsertionEffect.cjs.js');

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@griffel/core');

@@ -6,0 +4,0 @@ var insertionFactory = require('./insertionFactory.cjs.js');

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@griffel/core');

@@ -6,0 +4,0 @@ var insertionFactory = require('./insertionFactory.cjs.js');

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@griffel/core');

@@ -6,0 +4,0 @@ var insertionFactory = require('./insertionFactory.cjs.js');

{
"name": "@griffel/react",
"version": "1.5.23",
"version": "1.5.24",
"description": "React implementation of Atomic CSS-in-JS",

@@ -18,3 +18,3 @@ "license": "MIT",

"dependencies": {
"@griffel/core": "^1.17.0",
"@griffel/core": "^1.17.1",
"tslib": "^2.1.0"

@@ -27,2 +27,2 @@ },

"main": "./index.cjs.js"
}
}
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@griffel/core');

@@ -9,4 +7,4 @@ var React = require('react');

function _interopNamespace(e) {
if (e && e.__esModule) return e;
function _interopNamespaceCompat(e) {
if (e && typeof e === 'object' && 'default' in e) return e;
var n = Object.create(null);

@@ -24,7 +22,7 @@ if (e) {

}
n["default"] = e;
n.default = e;
return Object.freeze(n);
}
var React__namespace = /*#__PURE__*/_interopNamespace(React);
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);

@@ -31,0 +29,0 @@ /**

@@ -9,3 +9,2 @@ import { rehydrateRendererCache, createDOMRenderer } from '@griffel/core';

const RendererContext = /*#__PURE__*/React.createContext( /*#__PURE__*/createDOMRenderer());
/**

@@ -33,3 +32,2 @@ * @public

};
/**

@@ -36,0 +34,0 @@ * Returns an instance of current makeStyles() renderer.

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@griffel/core');
var React = require('react');
function _interopNamespace(e) {
if (e && e.__esModule) return e;
function _interopNamespaceCompat(e) {
if (e && typeof e === 'object' && 'default' in e) return e;
var n = Object.create(null);

@@ -22,7 +20,7 @@ if (e) {

}
n["default"] = e;
n.default = e;
return Object.freeze(n);
}
var React__namespace = /*#__PURE__*/_interopNamespace(React);
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);

@@ -29,0 +27,0 @@ /**

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var React = require('react');
function _interopNamespace(e) {
if (e && e.__esModule) return e;
function _interopNamespaceCompat(e) {
if (e && typeof e === 'object' && 'default' in e) return e;
var n = Object.create(null);

@@ -21,7 +19,7 @@ if (e) {

}
n["default"] = e;
n.default = e;
return Object.freeze(n);
}
var React__namespace = /*#__PURE__*/_interopNamespace(React);
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);

@@ -28,0 +26,0 @@ /**

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

const TextDirectionContext = /*#__PURE__*/React.createContext('ltr');
/**

@@ -20,3 +19,2 @@ * @public

};
/**

@@ -23,0 +21,0 @@ * Returns current directionality of the element's text.

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var React = require('react');
function _interopNamespace(e) {
if (e && e.__esModule) return e;
function _interopNamespaceCompat(e) {
if (e && typeof e === 'object' && 'default' in e) return e;
var n = Object.create(null);

@@ -21,7 +19,7 @@ if (e) {

}
n["default"] = e;
n.default = e;
return Object.freeze(n);
}
var React__namespace = /*#__PURE__*/_interopNamespace(React);
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);

@@ -28,0 +26,0 @@ const useInsertionEffect =

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
/**

@@ -6,0 +4,0 @@ * Verifies if an application can use DOM.

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var React = require('react');
function _interopNamespace(e) {
if (e && e.__esModule) return e;
function _interopNamespaceCompat(e) {
if (e && typeof e === 'object' && 'default' in e) return e;
var n = Object.create(null);

@@ -21,7 +19,7 @@ if (e) {

}
n["default"] = e;
n.default = e;
return Object.freeze(n);
}
var React__namespace = /*#__PURE__*/_interopNamespace(React);
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);

@@ -28,0 +26,0 @@ function isInsideComponent() {

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

const dispatcher = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher.current;
// Before any React component was rendered "dispatcher" will be "null"

@@ -15,3 +14,2 @@ if (dispatcher === null || dispatcher === undefined) {

}
// A check with hooks call (i.e. call "React.useContext()" outside a component) will always produce errors, but

@@ -18,0 +16,0 @@ // a call on the dispatcher wont

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

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

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

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