@semcore/spin
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -5,2 +5,8 @@ # Changelog | ||
## [2.0.2] - 2019-09-30 | ||
### Change | ||
- Нужные зависимости перенесены в `utils`, размер должен стать меньше | ||
## [2.0.1] - 2019-05-13 | ||
@@ -7,0 +13,0 @@ |
@@ -36,4 +36,4 @@ import _objectSpread from '@babel/runtime/helpers/objectSpread'; | ||
(function cssModulesFnInject() { | ||
if (typeof window !== 'undefined') { | ||
(function cssModulesFnInject(_path) { | ||
if (_path && typeof window !== 'undefined') { | ||
var head = window.document.head; | ||
@@ -40,0 +40,0 @@ var prevStyle = head.querySelector('._css-style'); |
@@ -43,4 +43,4 @@ 'use strict'; | ||
(function cssModulesFnInject() { | ||
if (typeof window !== 'undefined') { | ||
(function cssModulesFnInject(_path) { | ||
if (_path && typeof window !== 'undefined') { | ||
var head = window.document.head; | ||
@@ -47,0 +47,0 @@ var prevStyle = head.querySelector('._css-style'); |
@@ -14,3 +14,3 @@ import React, { PureComponent } from 'react'; | ||
* Хорошо работает для вложенного спиннера во `flex`, | ||
* иначе варавнивание произойдет только по горизонтали. | ||
* иначе выравнивание произойдет только по горизонтали. | ||
* */ | ||
@@ -17,0 +17,0 @@ centered?: boolean; |
{ | ||
"name": "@semcore/spin", | ||
"description": "SEMRush Spin Component", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"main": "lib/index.js", | ||
@@ -12,20 +12,9 @@ "module": "lib/index.es.js", | ||
"build": "rollup --config=node:rollup-config-ts", | ||
"test": "jest --no-cache" | ||
"test": "jest" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.4.4", | ||
"@semcore/paint": "^3.1.0", | ||
"@semcore/flex-box": "^3.1.0", | ||
"@types/react": "^16.8.17", | ||
"classnames": "^2.2.6" | ||
"@semcore/utils": "^3.1", | ||
"@semcore/paint": "^3.2", | ||
"@semcore/flex-box": "^3.1" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.4.0" | ||
}, | ||
"devDependencies": { | ||
"babel-preset-ui": "*", | ||
"jest": "*", | ||
"jest-preset-ui": "*", | ||
"react": "^16.4.0" | ||
}, | ||
"jest": { | ||
@@ -32,0 +21,0 @@ "preset": "jest-preset-ui" |
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
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
26555
3
0
378
+ Added@semcore/utils@^3.1
- Removed@babel/runtime@^7.4.4
- Removed@types/react@^16.8.17
- Removedclassnames@^2.2.6
- Removed@types/prop-types@15.7.13(transitive)
- Removed@types/react@16.14.61(transitive)
- Removed@types/scheduler@0.16.8(transitive)
- Removedclassnames@2.5.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
Updated@semcore/flex-box@^3.1
Updated@semcore/paint@^3.2