nav-frontend-alertstriper
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -20,0 +20,0 @@ return result; |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -37,2 +37,3 @@ return result; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AlertStripeFeil = exports.AlertStripeAdvarsel = exports.AlertStripeSuksess = exports.AlertStripeInfo = void 0; | ||
const PT = __importStar(require("prop-types")); | ||
@@ -44,3 +45,3 @@ const React = __importStar(require("react")); | ||
require("nav-frontend-alertstriper-style"); | ||
const cls = (type, form, className) => classnames_1.default("alertstripe", className, { | ||
const cls = (type, form, className) => (0, classnames_1.default)("alertstripe", className, { | ||
"alertstripe--info": type === "info", | ||
@@ -87,8 +88,8 @@ "alertstripe--suksess": type === "suksess", | ||
var info_alertstripe_1 = require("./info-alertstripe"); | ||
Object.defineProperty(exports, "AlertStripeInfo", { enumerable: true, get: function () { return info_alertstripe_1.default; } }); | ||
Object.defineProperty(exports, "AlertStripeInfo", { enumerable: true, get: function () { return __importDefault(info_alertstripe_1).default; } }); | ||
var suksess_alertstripe_1 = require("./suksess-alertstripe"); | ||
Object.defineProperty(exports, "AlertStripeSuksess", { enumerable: true, get: function () { return suksess_alertstripe_1.default; } }); | ||
Object.defineProperty(exports, "AlertStripeSuksess", { enumerable: true, get: function () { return __importDefault(suksess_alertstripe_1).default; } }); | ||
var advarsel_alertstripe_1 = require("./advarsel-alertstripe"); | ||
Object.defineProperty(exports, "AlertStripeAdvarsel", { enumerable: true, get: function () { return advarsel_alertstripe_1.default; } }); | ||
Object.defineProperty(exports, "AlertStripeAdvarsel", { enumerable: true, get: function () { return __importDefault(advarsel_alertstripe_1).default; } }); | ||
var feil_alertstripe_1 = require("./feil-alertstripe"); | ||
Object.defineProperty(exports, "AlertStripeFeil", { enumerable: true, get: function () { return feil_alertstripe_1.default; } }); | ||
Object.defineProperty(exports, "AlertStripeFeil", { enumerable: true, get: function () { return __importDefault(feil_alertstripe_1).default; } }); |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -20,0 +20,0 @@ return result; |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -20,0 +20,0 @@ return result; |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -20,0 +20,0 @@ return result; |
{ | ||
"name": "nav-frontend-alertstriper", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"main": "lib/alertstripe.js", | ||
@@ -30,9 +30,9 @@ "types": "lib/alertstripe.d.ts", | ||
"@types/react": "15.0.23 || ^16.0.0", | ||
"nav-frontend-alertstriper-style": "^3.0.1", | ||
"nav-frontend-alertstriper-style": "^3.0.2", | ||
"nav-frontend-ikoner-assets": "^3.0.1", | ||
"nav-frontend-typografi": "^4.0.1", | ||
"nav-frontend-typografi": "^4.0.2", | ||
"react": "^16.8.0 || ^17.0.0" | ||
}, | ||
"defaultExport": "AlertStripe", | ||
"gitHead": "efc45667b020b74bde01590a8df3cb16d61899ae" | ||
"gitHead": "f7b3c06f4decf024241f50b05a5f181378fedc04" | ||
} |
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
19296
400