@fremtind/jkl-loader-react
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -7,6 +7,8 @@ import React from 'react'; | ||
_ref$inline = _ref.inline, | ||
inline = _ref$inline === void 0 ? false : _ref$inline; | ||
inline = _ref$inline === void 0 ? false : _ref$inline, | ||
className = _ref.className; | ||
var componentClassName = "jkl-loader".concat(negative ? " jkl-loader--negative" : "").concat(inline ? " jkl-loader--inline" : "").concat(className ? " ".concat(className) : ""); | ||
return React.createElement("span", { | ||
"data-testid": "jkl-loader", | ||
className: "jkl-loader ".concat(negative ? "jkl-loader--negative" : "", " ").concat(inline ? "jkl-loader--inline" : "") | ||
className: componentClassName | ||
}, React.createElement("span", { | ||
@@ -13,0 +15,0 @@ className: "jkl-loader__1" |
@@ -1,1 +0,1 @@ | ||
import e from"react";var a=function(a){var l=a.negative,t=void 0!==l&&l,n=a.inline,r=void 0!==n&&n;return e.createElement("span",{"data-testid":"jkl-loader",className:"jkl-loader ".concat(t?"jkl-loader--negative":""," ").concat(r?"jkl-loader--inline":"")},e.createElement("span",{className:"jkl-loader__1"}),e.createElement("span",{className:"jkl-loader__2"}),e.createElement("span",{className:"jkl-loader__3"}))};export{a as Loader}; | ||
import e from"react";var a=function(a){var l=a.negative,t=void 0!==l&&l,n=a.inline,c=void 0!==n&&n,r=a.className,o="jkl-loader".concat(t?" jkl-loader--negative":"").concat(c?" jkl-loader--inline":"").concat(r?" ".concat(r):"");return e.createElement("span",{"data-testid":"jkl-loader",className:o},e.createElement("span",{className:"jkl-loader__1"}),e.createElement("span",{className:"jkl-loader__2"}),e.createElement("span",{className:"jkl-loader__3"}))};export{a as Loader}; |
@@ -13,6 +13,8 @@ 'use strict'; | ||
_ref$inline = _ref.inline, | ||
inline = _ref$inline === void 0 ? false : _ref$inline; | ||
inline = _ref$inline === void 0 ? false : _ref$inline, | ||
className = _ref.className; | ||
var componentClassName = "jkl-loader".concat(negative ? " jkl-loader--negative" : "").concat(inline ? " jkl-loader--inline" : "").concat(className ? " ".concat(className) : ""); | ||
return React.createElement("span", { | ||
"data-testid": "jkl-loader", | ||
className: "jkl-loader ".concat(negative ? "jkl-loader--negative" : "", " ").concat(inline ? "jkl-loader--inline" : "") | ||
className: componentClassName | ||
}, React.createElement("span", { | ||
@@ -19,0 +21,0 @@ className: "jkl-loader__1" |
@@ -7,6 +7,8 @@ import React from 'react'; | ||
_ref$inline = _ref.inline, | ||
inline = _ref$inline === void 0 ? false : _ref$inline; | ||
inline = _ref$inline === void 0 ? false : _ref$inline, | ||
className = _ref.className; | ||
var componentClassName = "jkl-loader".concat(negative ? " jkl-loader--negative" : "").concat(inline ? " jkl-loader--inline" : "").concat(className ? " ".concat(className) : ""); | ||
return React.createElement("span", { | ||
"data-testid": "jkl-loader", | ||
className: "jkl-loader ".concat(negative ? "jkl-loader--negative" : "", " ").concat(inline ? "jkl-loader--inline" : "") | ||
className: componentClassName | ||
}, React.createElement("span", { | ||
@@ -13,0 +15,0 @@ className: "jkl-loader__1" |
@@ -1,1 +0,1 @@ | ||
import e from"react";var a=function(a){var l=a.negative,t=void 0!==l&&l,n=a.inline,r=void 0!==n&&n;return e.createElement("span",{"data-testid":"jkl-loader",className:"jkl-loader ".concat(t?"jkl-loader--negative":""," ").concat(r?"jkl-loader--inline":"")},e.createElement("span",{className:"jkl-loader__1"}),e.createElement("span",{className:"jkl-loader__2"}),e.createElement("span",{className:"jkl-loader__3"}))};export{a as Loader}; | ||
import e from"react";var a=function(a){var l=a.negative,t=void 0!==l&&l,n=a.inline,c=void 0!==n&&n,r=a.className,o="jkl-loader".concat(t?" jkl-loader--negative":"").concat(c?" jkl-loader--inline":"").concat(r?" ".concat(r):"");return e.createElement("span",{"data-testid":"jkl-loader",className:o},e.createElement("span",{className:"jkl-loader__1"}),e.createElement("span",{className:"jkl-loader__2"}),e.createElement("span",{className:"jkl-loader__3"}))};export{a as Loader}; |
@@ -5,4 +5,5 @@ /// <reference types="react" /> | ||
inline?: boolean; | ||
className?: string; | ||
} | ||
export declare const Loader: ({ negative, inline }: Props) => JSX.Element; | ||
export declare const Loader: ({ negative, inline, className }: Props) => JSX.Element; | ||
export {}; |
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.2.1](https://github.com/fremtind/jokul/compare/@fremtind/jkl-loader-react@0.2.0...@fremtind/jkl-loader-react@0.2.1) (2019-09-26) | ||
**Note:** Version bump only for package @fremtind/jkl-loader-react | ||
# [0.2.0](https://github.com/fremtind/jokul/compare/@fremtind/jkl-loader-react@0.1.6...@fremtind/jkl-loader-react@0.2.0) (2019-09-26) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@fremtind/jkl-loader-react", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"publishConfig": { | ||
@@ -36,6 +36,6 @@ "access": "public" | ||
"dependencies": { | ||
"@fremtind/jkl-loader": "^0.7.5" | ||
"@fremtind/jkl-loader": "^0.7.6" | ||
}, | ||
"devDependencies": { | ||
"@fremtind/browserslist-config-jkl": "^0.3.4" | ||
"@fremtind/browserslist-config-jkl": "^0.3.5" | ||
}, | ||
@@ -58,3 +58,3 @@ "peerDependencies": { | ||
], | ||
"gitHead": "06b4c2cf95b8fbb586c6b10ba57b241fa1d4e320" | ||
"gitHead": "d7e02258d7fcaca6f3c26ffbfcd63a1ae855d81f" | ||
} |
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
9555
76
Updated@fremtind/jkl-loader@^0.7.6