Socket
Socket
Sign inDemoInstall

@s-ui/react-molecule-photo-uploader

Package Overview
Dependencies
Maintainers
4
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s-ui/react-molecule-photo-uploader - npm Package Compare versions

Comparing version 1.15.0 to 1.16.0

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Change Log

# 1.16.0 (2020-07-21)
### Bug Fixes
* fix missing default values making tests to fail ([f5802ee](https://github.com/SUI-Components/sui-components/commit/f5802eede1d15f2227784d9b3715135dd87a21c9))
# 1.15.0 (2020-06-17)

@@ -7,0 +16,0 @@

1

lib/DragNotification.js
import React from 'react';
import PropTypes from 'prop-types';
import AtomIcon, { ATOM_ICON_SIZES } from '@s-ui/react-atom-icon';

@@ -4,0 +3,0 @@ import MoleculeNotification, { BRDS_SIZE } from '@s-ui/react-molecule-notification';

import React from 'react';
import PropTypes from 'prop-types';
import cx from 'classnames';

@@ -4,0 +3,0 @@ import AtomIcon, { ATOM_ICON_SIZES } from '@s-ui/react-atom-icon';

@@ -5,3 +5,2 @@ import React, { useState } from 'react';

import cx from 'classnames';
import PropTypes from 'prop-types';
import { useMount } from '@s-ui/react-hooks';

@@ -16,2 +15,4 @@ import { filterValidFiles, prepareFiles, loadInitialPhotos } from './fileTools';

var noop = function noop() {};
var MoleculePhotoUploader = function MoleculePhotoUploader(_ref) {

@@ -33,5 +34,5 @@ var _cx;

_ref$callbackPhotosRe = _ref.callbackPhotosRejected,
callbackPhotosRejected = _ref$callbackPhotosRe === void 0 ? function () {} : _ref$callbackPhotosRe,
callbackPhotosRejected = _ref$callbackPhotosRe === void 0 ? noop : _ref$callbackPhotosRe,
_ref$callbackPhotosUp = _ref.callbackPhotosUploaded,
callbackPhotosUploaded = _ref$callbackPhotosUp === void 0 ? function () {} : _ref$callbackPhotosUp,
callbackPhotosUploaded = _ref$callbackPhotosUp === void 0 ? noop : _ref$callbackPhotosUp,
callbackUploadPhoto = _ref.callbackUploadPhoto,

@@ -43,3 +44,4 @@ deleteIcon = _ref.deleteIcon,

dragDelay = _ref$dragDelay === void 0 ? DEFAULT_DRAG_DELAY_TIME : _ref$dragDelay,
dragPhotosIcon = _ref.dragPhotosIcon,
_ref$dragPhotosIcon = _ref.dragPhotosIcon,
dragPhotosIcon = _ref$dragPhotosIcon === void 0 ? noop : _ref$dragPhotosIcon,
dragPhotoTextInitialContent = _ref.dragPhotoTextInitialContent,

@@ -52,3 +54,4 @@ dragPhotoDividerTextInitialContent = _ref.dragPhotoDividerTextInitialContent,

errorInitialPhotoDownloadErrorText = _ref.errorInitialPhotoDownloadErrorText,
infoIcon = _ref.infoIcon,
_ref$infoIcon = _ref.infoIcon,
infoIcon = _ref$infoIcon === void 0 ? noop : _ref$infoIcon,
_ref$initialPhotos = _ref.initialPhotos,

@@ -55,0 +58,0 @@ initialPhotos = _ref$initialPhotos === void 0 ? [] : _ref$initialPhotos,

import React from 'react';
import PropTypes from 'prop-types';
import Button from '@s-ui/react-atom-button';

@@ -4,0 +3,0 @@ import AtomIcon, { ATOM_ICON_SIZES } from '@s-ui/react-atom-icon';

import _regeneratorRuntime from "@babel/runtime/regenerator";
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
import React from 'react';
import PropTypes from 'prop-types';
import cx from 'classnames';

@@ -6,0 +5,0 @@ import { ReactSortable } from 'react-sortablejs';

import React from 'react';
import PropTypes from 'prop-types';
import AtomIcon, { ATOM_ICON_SIZES } from '@s-ui/react-atom-icon';

@@ -4,0 +3,0 @@ import { BASE_CLASS_NAME } from './config';

import React from 'react';
import PropTypes from 'prop-types';
import cx from 'classnames';

@@ -4,0 +3,0 @@ import AtomIcon, { ATOM_ICON_SIZES } from '@s-ui/react-atom-icon';

{
"name": "@s-ui/react-molecule-photo-uploader",
"version": "1.15.0",
"version": "1.16.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.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