Socket
Socket
Sign inDemoInstall

@s-ui/react-atom-image

Package Overview
Dependencies
5
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.2.0

UXDEF.md

61

CHANGELOG.md

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

<a name="2.1.0"></a>
# 2.2.0 (2020-03-11)
### Features
* Use new [@s-ui-theme](https://github.com/s-ui-theme) ([ce45983](https://github.com/SUI-Components/sui-components/commit/ce459832b72f548ee51242aa83a56f43c32acfbd))
# 2.1.0 (2019-07-30)

@@ -12,8 +20,7 @@

* hooks migratino ([1ac3104](https://github.com/SUI-Components/sui-components/commit/1ac3104))
* hooks migration ([0a3fa9d](https://github.com/SUI-Components/sui-components/commit/0a3fa9d))
* hooks migratino ([1ac3104](https://github.com/SUI-Components/sui-components/commit/1ac3104d70efb027a0fd4f8c5acea8e9c8362d5b))
* hooks migration ([0a3fa9d](https://github.com/SUI-Components/sui-components/commit/0a3fa9d432f9fe78ba476d79450312089d6818ac))
<a name="2.0.0"></a>
# 2.0.0 (2019-07-05)

@@ -24,3 +31,3 @@

* right way of passing icons to component ([b37fa83](https://github.com/SUI-Components/sui-components/commit/b37fa83))
* right way of passing icons to component ([b37fa83](https://github.com/SUI-Components/sui-components/commit/b37fa836211ed68af4f865e4bc2de2aafb632688))

@@ -34,3 +41,2 @@

<a name="1.9.0"></a>
# 1.9.0 (2019-03-06)

@@ -41,7 +47,6 @@

* prevent image padding ([ba81575](https://github.com/SUI-Components/sui-components/commit/ba81575))
* prevent image padding ([ba81575](https://github.com/SUI-Components/sui-components/commit/ba815752880e0f435847254cb8a6520734368799))
<a name="1.8.0"></a>
# 1.8.0 (2018-12-12)

@@ -52,7 +57,6 @@

* add ref to img to ensure image complete loaded in SSR ([76702a8](https://github.com/SUI-Components/sui-components/commit/76702a8))
* add ref to img to ensure image complete loaded in SSR ([76702a8](https://github.com/SUI-Components/sui-components/commit/76702a841662dac178df560f5d0e132c3231183c))
<a name="1.7.0"></a>
# 1.7.0 (2018-10-03)

@@ -63,12 +67,6 @@

* suit compliant ([82aba20](https://github.com/SUI-Components/sui-components/commit/82aba20))
* suit compliant ([82aba20](https://github.com/SUI-Components/sui-components/commit/82aba20bd36d64ecb0d23fe3d5de6b00f3c444a3))
### Features
* first commit with only Schibsted Spain Components ([c0814de](https://github.com/SUI-Components/sui-components/commit/c0814de))
<a name="1.6.0"></a>
# 1.6.0 (2018-07-20)

@@ -79,7 +77,6 @@

* fix position placeholder skeleton ([c4202fa](https://github.com/SUI-Components/sui-components/commit/c4202fa))
* fix position placeholder skeleton ([c4202fa](https://github.com/SUI-Components/sui-components/commit/c4202fab989191f429bf0e4654ceadbe892f613c))
<a name="1.5.0"></a>
# 1.5.0 (2018-07-02)

@@ -89,3 +86,2 @@

<a name="1.4.0"></a>
# [1.4.0](https://github.com/SUI-Components/sui-components/compare/v1.1.0...v1.4.0) (2018-06-20)

@@ -95,3 +91,2 @@

<a name="1.3.0"></a>
# 1.3.0 (2018-06-19)

@@ -102,7 +97,6 @@

* removed default error Icon ([7cd9982](https://github.com/SUI-Components/sui-components/commit/7cd9982))
* removed default error Icon ([7cd9982](https://github.com/SUI-Components/sui-components/commit/7cd998215ae25ad315a3e2a71ece4f3c236bce44))
<a name="1.2.0"></a>
# 1.2.0 (2018-06-14)

@@ -113,7 +107,6 @@

* added transition time SASS variable ([8c7400c](https://github.com/SUI-Components/sui-components/commit/8c7400c))
* added transition time SASS variable ([8c7400c](https://github.com/SUI-Components/sui-components/commit/8c7400ce9c71d5cdde1e5292ea35bf57a60f51b4))
<a name="1.1.0"></a>
# 1.1.0 (2018-06-07)

@@ -124,13 +117,13 @@

* default values error loading ([cc00b4d](https://github.com/SUI-Components/sui-components/commit/cc00b4d))
* documentation README and simplified structure ([9999320](https://github.com/SUI-Components/sui-components/commit/9999320))
* fixed path ([8c3b740](https://github.com/SUI-Components/sui-components/commit/8c3b740))
* little changes from feedback PR ([dfa70da](https://github.com/SUI-Components/sui-components/commit/dfa70da))
* migration from former imagePlaceholder ([62f108b](https://github.com/SUI-Components/sui-components/commit/62f108b))
* optimized svg ([e88df8c](https://github.com/SUI-Components/sui-components/commit/e88df8c))
* propTypes inside file because of playground ([4a106b8](https://github.com/SUI-Components/sui-components/commit/4a106b8))
* removed component prop (added SASS variable) and removed unnecesary css props ([546f9f1](https://github.com/SUI-Components/sui-components/commit/546f9f1))
* type checking, skeleton and refactor ([87d4dc3](https://github.com/SUI-Components/sui-components/commit/87d4dc3))
* default values error loading ([cc00b4d](https://github.com/SUI-Components/sui-components/commit/cc00b4d677a314dfb61bea4f7643afdcb9eb42e4))
* documentation README and simplified structure ([9999320](https://github.com/SUI-Components/sui-components/commit/99993201ddc49cd6b9dc7a984a363e58733f86b3))
* fixed path ([8c3b740](https://github.com/SUI-Components/sui-components/commit/8c3b74012d467547e0110ad19e53811dddec463c))
* little changes from feedback PR ([dfa70da](https://github.com/SUI-Components/sui-components/commit/dfa70da1a0e28902dd7e0779f8f6a06e3567d201))
* migration from former imagePlaceholder ([62f108b](https://github.com/SUI-Components/sui-components/commit/62f108be53e5f5402f0b9598ffbd1b9a0c0f0f77))
* optimized svg ([e88df8c](https://github.com/SUI-Components/sui-components/commit/e88df8c91fcc4eafe0d2cc551a16439caf08f8bb))
* propTypes inside file because of playground ([4a106b8](https://github.com/SUI-Components/sui-components/commit/4a106b8709781142a9807dfb7d032d5f64b363fd))
* removed component prop (added SASS variable) and removed unnecesary css props ([546f9f1](https://github.com/SUI-Components/sui-components/commit/546f9f113f7df7940fad993ca1ae5f8aee86c56f))
* type checking, skeleton and refactor ([87d4dc3](https://github.com/SUI-Components/sui-components/commit/87d4dc37174b6b7d0a6e16635fd29c1f8a05a921))

@@ -1,3 +0,2 @@

import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React, { useState, useEffect, useRef, useCallback } from 'react';

@@ -34,13 +33,11 @@ import PropTypes from 'prop-types';

onLoad = _ref2.onLoad,
imgProps = _objectWithoutProperties(_ref2, ["placeholder", "skeleton", "bgStyles", "spinner", "errorIcon", "errorText", "onError", "onLoad"]);
imgProps = _objectWithoutPropertiesLoose(_ref2, ["placeholder", "skeleton", "bgStyles", "spinner", "errorIcon", "errorText", "onError", "onLoad"]);
var _useState = useState(true),
_useState2 = _slicedToArray(_useState, 2),
loading = _useState2[0],
setLoading = _useState2[1];
loading = _useState[0],
setLoading = _useState[1];
var _useState3 = useState(false),
_useState4 = _slicedToArray(_useState3, 2),
error = _useState4[0],
setError = _useState4[1];
var _useState2 = useState(false),
error = _useState2[0],
setError = _useState2[1];

@@ -47,0 +44,0 @@ var imageRef = useRef();

{
"name": "@s-ui/react-atom-image",
"version": "2.1.0",
"version": "2.2.0",
"description": "",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc