@alfalab/core-components-loader
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.0.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-loader@2.0.1...@alfalab/core-components-loader@2.0.2) (2022-02-03) | ||
### Bug Fixes | ||
* **loader:** fix animation in IE ([#970](https://github.com/alfa-laboratory/core-components/issues/970)) ([03df943](https://github.com/alfa-laboratory/core-components/commit/03df9438f00bda639aae78aadb940161112a2672)) | ||
## [2.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-loader@2.0.0...@alfalab/core-components-loader@2.0.1) (2021-07-09) | ||
@@ -8,0 +19,0 @@ |
@@ -13,3 +13,3 @@ 'use strict'; | ||
var styles = {"component":"loader__component_168e1","blink":"loader__blink_168e1"}; | ||
var styles = {"component":"loader__component_hzbsm","blink":"loader__blink_hzbsm"}; | ||
require('./index.css') | ||
@@ -19,8 +19,8 @@ | ||
var className = _a.className, dataTestId = _a.dataTestId; | ||
return (React__default['default'].createElement("svg", { height: '24', width: '24', viewBox: '0 0 24 24', className: cn__default['default'](styles.component, className), "data-test-id": dataTestId }, | ||
React__default['default'].createElement("circle", { cx: '4', cy: '12', r: '2' }), | ||
React__default['default'].createElement("circle", { cx: '12', cy: '12', r: '2' }), | ||
React__default['default'].createElement("circle", { cx: '20', cy: '12', r: '2' }))); | ||
return (React__default['default'].createElement("div", { className: cn__default['default'](styles.component, className), "data-test-id": dataTestId }, | ||
React__default['default'].createElement("div", null), | ||
React__default['default'].createElement("div", null), | ||
React__default['default'].createElement("div", null))); | ||
}; | ||
exports.Loader = Loader; |
@@ -17,8 +17,8 @@ 'use strict'; | ||
var className = _a.className, dataTestId = _a.dataTestId; | ||
return (React__default['default'].createElement("svg", { height: '24', width: '24', viewBox: '0 0 24 24', className: cn__default['default'](styles__default['default'].component, className), "data-test-id": dataTestId }, | ||
React__default['default'].createElement("circle", { cx: '4', cy: '12', r: '2' }), | ||
React__default['default'].createElement("circle", { cx: '12', cy: '12', r: '2' }), | ||
React__default['default'].createElement("circle", { cx: '20', cy: '12', r: '2' }))); | ||
return (React__default['default'].createElement("div", { className: cn__default['default'](styles__default['default'].component, className), "data-test-id": dataTestId }, | ||
React__default['default'].createElement("div", null), | ||
React__default['default'].createElement("div", null), | ||
React__default['default'].createElement("div", null))); | ||
}; | ||
exports.Loader = Loader; |
import React from 'react'; | ||
import cn from 'classnames'; | ||
var styles = {"component":"loader__component_168e1","blink":"loader__blink_168e1"}; | ||
var styles = {"component":"loader__component_hzbsm","blink":"loader__blink_hzbsm"}; | ||
require('./index.css') | ||
@@ -9,8 +9,8 @@ | ||
var className = _a.className, dataTestId = _a.dataTestId; | ||
return (React.createElement("svg", { height: '24', width: '24', viewBox: '0 0 24 24', className: cn(styles.component, className), "data-test-id": dataTestId }, | ||
React.createElement("circle", { cx: '4', cy: '12', r: '2' }), | ||
React.createElement("circle", { cx: '12', cy: '12', r: '2' }), | ||
React.createElement("circle", { cx: '20', cy: '12', r: '2' }))); | ||
return (React.createElement("div", { className: cn(styles.component, className), "data-test-id": dataTestId }, | ||
React.createElement("div", null), | ||
React.createElement("div", null), | ||
React.createElement("div", null))); | ||
}; | ||
export { Loader }; |
import React from 'react'; | ||
import cn from 'classnames'; | ||
var styles = {"component":"loader__component_168e1","blink":"loader__blink_168e1"}; | ||
var styles = {"component":"loader__component_hzbsm","blink":"loader__blink_hzbsm"}; | ||
require('./index.css') | ||
const Loader = ({ className, dataTestId }) => (React.createElement("svg", { height: '24', width: '24', viewBox: '0 0 24 24', className: cn(styles.component, className), "data-test-id": dataTestId }, | ||
React.createElement("circle", { cx: '4', cy: '12', r: '2' }), | ||
React.createElement("circle", { cx: '12', cy: '12', r: '2' }), | ||
React.createElement("circle", { cx: '20', cy: '12', r: '2' }))); | ||
const Loader = ({ className, dataTestId }) => (React.createElement("div", { className: cn(styles.component, className), "data-test-id": dataTestId }, | ||
React.createElement("div", null), | ||
React.createElement("div", null), | ||
React.createElement("div", null))); | ||
export { Loader }; |
{ | ||
"name": "@alfalab/core-components-loader", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Loader component", | ||
@@ -25,3 +25,3 @@ "keywords": [], | ||
}, | ||
"gitHead": "0934905ac76c93940e8dd2b0ea9bb3131908ac00" | ||
"gitHead": "48cb31b47c9ac5d7ff92314684699edb9d6d68f0" | ||
} |
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
14707
374