aesthetic-react
Advanced tools
Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1
import React, { useContext, useState, useLayoutEffect } from 'react'; | ||
import { isRTL } from 'aesthetic'; | ||
import { isRTL } from 'aesthetic-utils'; | ||
import uuid from 'uuid/v4'; | ||
@@ -4,0 +4,0 @@ import DirectionContext from './DirectionContext'; |
@@ -12,3 +12,3 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
import React from 'react'; | ||
import { isRTL } from 'aesthetic'; | ||
import { isRTL } from 'aesthetic-utils'; | ||
import hoistNonReactStatics from 'hoist-non-react-statics'; | ||
@@ -15,0 +15,0 @@ import uuid from 'uuid/v4'; |
@@ -8,3 +8,3 @@ "use strict"; | ||
var _aesthetic = require("aesthetic"); | ||
var _aestheticUtils = require("aesthetic-utils"); | ||
@@ -36,3 +36,3 @@ var _v = _interopRequireDefault(require("uuid/v4")); | ||
name: styleName, | ||
rtl: (0, _aesthetic.isRTL)(dir) | ||
rtl: (0, _aestheticUtils.isRTL)(dir) | ||
}; | ||
@@ -39,0 +39,0 @@ var sheet = aesthetic.createStyleSheet(styleName, options); |
@@ -8,3 +8,3 @@ "use strict"; | ||
var _aesthetic = require("aesthetic"); | ||
var _aestheticUtils = require("aesthetic-utils"); | ||
@@ -90,3 +90,3 @@ var _hoistNonReactStatics = _interopRequireDefault(require("hoist-non-react-statics")); | ||
name: styleName, | ||
rtl: (0, _aesthetic.isRTL)(dir) | ||
rtl: (0, _aestheticUtils.isRTL)(dir) | ||
}; | ||
@@ -113,3 +113,3 @@ _this.state = { | ||
name: styleName, | ||
rtl: (0, _aesthetic.isRTL)(dir) | ||
rtl: (0, _aestheticUtils.isRTL)(dir) | ||
}; | ||
@@ -116,0 +116,0 @@ this.setState({ |
{ | ||
"name": "aesthetic-react", | ||
"version": "1.0.0-alpha.0", | ||
"version": "1.0.0-alpha.1", | ||
"description": "React hooks, composers, and more for styling components with Aesthetic.", | ||
@@ -24,2 +24,3 @@ "keywords": [ | ||
"@types/react": "*", | ||
"aesthetic-utils": "^2.0.0-alpha.1", | ||
"direction": "^1.0.3", | ||
@@ -42,3 +43,3 @@ "hoist-non-react-statics": "^3.3.0", | ||
}, | ||
"gitHead": "3d52f6bc0eceb9e53cf3196e38967730bfbf4f11" | ||
"gitHead": "a25d2dcdf580331c8aeb9174e30c4cc14e40efc3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
48941
9
+ Addedaesthetic-utils@2.0.1(transitive)