@applique-ui/loader
Advanced tools
Comparing version 0.0.4 to 0.0.7
@@ -5,9 +5,7 @@ 'use strict'; | ||
var React = require('react'); | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var React = _interopDefault(require('react')); | ||
var uikitUtils = require('@applique-ui/uikit-utils'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var React__default = /*#__PURE__*/_interopDefaultLegacy(React); | ||
function styleInject(css) { | ||
@@ -46,8 +44,8 @@ if (!css || typeof document === 'undefined') return | ||
function Loader({ className, type, appearance, isLoading, text, }) { | ||
return (React__default["default"].createElement("div", { className: classnames(className, 'loader', type) }, | ||
React__default["default"].createElement("div", { className: classnames(appearance, { 'is-loading': isLoading }) }, | ||
React__default["default"].createElement("div", null), | ||
React__default["default"].createElement("div", null), | ||
React__default["default"].createElement("div", null)), | ||
text && React__default["default"].createElement("span", null, text))); | ||
return (React.createElement("div", { className: classnames(className, 'loader', type) }, | ||
React.createElement("div", { className: classnames(appearance, { 'is-loading': isLoading }) }, | ||
React.createElement("div", null), | ||
React.createElement("div", null), | ||
React.createElement("div", null)), | ||
text && React.createElement("span", null, text))); | ||
} | ||
@@ -60,2 +58,2 @@ Loader.defaultProps = { | ||
exports["default"] = Loader; | ||
exports.default = Loader; |
@@ -50,2 +50,2 @@ import React from 'react'; | ||
export { Loader as default }; | ||
export default Loader; |
{ | ||
"name": "@applique-ui/loader", | ||
"version": "0.0.4", | ||
"version": "0.0.7", | ||
"main": "dist/loader.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/loader.esm.js", |
@@ -1,1 +0,1 @@ | ||
# @applique/uikit-component-loader | ||
# @applique-ui/uikit-component-loader |
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
24827
263