Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prg-editor

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prg-editor - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

33

dist/components/Spinner.js

@@ -11,2 +11,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -29,6 +33,2 @@

var styles = {
loaderContainer: {
minHeight: '20vh',
margin: ''
},
loading: {

@@ -59,9 +59,20 @@ position: 'relative'

function Spinner() {
function Spinner(_ref) {
var minHeight = _ref.minHeight;
return _react2.default.createElement(
'div',
{ className: 'columns is-vcentered is-centered', style: styles.loaderContainer },
{
className: 'columns is-vcentered is-centered',
style: {
minHeight: minHeight,
margin: ''
}
},
_react2.default.createElement(
'div',
{ className: 'column loading has-text-centered', style: styles.loading },
{
className: 'column loading has-text-centered',
style: styles.loading
},
_react2.default.createElement('div', { className: 'loading-bar', style: Object.assign(styles.n1, styles.loadingBar) }),

@@ -75,2 +86,10 @@ _react2.default.createElement('div', { className: 'loading-bar', style: Object.assign(styles.n2, styles.loadingBar) }),

Spinner.propTypes = {
minHeight: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string])
};
Spinner.defaultProps = {
minHeight: '20vh'
};
exports.default = Spinner;
{
"name": "prg-editor",
"version": "0.4.3",
"version": "0.4.4",
"description": "Data Table and Editor for use with Prg-Form",

@@ -5,0 +5,0 @@ "main": "dist/main.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc