design-react-kit 5.8.1 → 5.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "bugs": {
26
26
  "url": "https://github.com/italia/design-react-kit/issues"
27
27
  },
28
- "version": "5.8.1",
28
+ "version": "5.8.3",
29
29
  "license": "BSD-3",
30
30
  "type": "module",
31
31
  "module": "./dist/index.js",
@@ -1,7 +1,7 @@
1
1
  import classNames from 'classnames';
2
2
  import React, { DragEventHandler, FC, useState } from 'react';
3
+ import DragandDropIcon from '../assets/upload-drag-drop-icon.svg';
3
4
  import { Icon } from '../Icon/Icon';
4
- import DragandDropIcon from '../../assets/images/upload-drag-drop-icon.svg';
5
5
 
6
6
  interface UploadDragNdropProps {
7
7
  /**
@@ -113,7 +113,7 @@ export const Video: FC<VideoProps> = (props) => {
113
113
  instance.dispose();
114
114
  }
115
115
  };
116
- }, [instance]);
116
+ }, []);
117
117
 
118
118
  const loadYouTubeVideo = (url: string) => {
119
119
  if (instance) {
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="180px" height="180px" viewBox="0 0 180 180" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 52.4 (67378) - http://www.bohemiancoding.com/sketch -->
4
+ <title>icon</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <g id="Upload" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
+ <g id="Artboard">
8
+ <g id="icon">
9
+ <rect id="Rectangle" fill="#D1E7FF" x="-4.54747351e-13" y="0" width="180" height="180"></rect>
10
+ <g id="Group-6-Copy" transform="translate(107.855175, 109.702248) rotate(-10.000000) translate(-107.855175, -109.702248) translate(48.355175, 35.202248)">
11
+ <path d="M9.09485765,0.818376999 L89.0909206,0.818376999 L118.590921,30.418377 L118.590921,140.31444 C118.590921,145.011035 114.783578,148.818377 110.086984,148.818377 L6.26021198,148.818377 C3.12914883,148.818377 0.590920643,146.280149 0.590920643,143.149086 L0.590920643,9.32231401 C0.590920643,4.62571928 4.39826293,0.818376999 9.09485765,0.818376999 Z" id="Rectangle-3" fill="#66A5E3" opacity="0.4"></path>
12
+ <polygon id="Line-3" fill="#FFFFFF" fill-rule="nonzero" points="21.0573959 73.8584959 21.0573959 65.3545589 70.8630412 65.3545589 70.8630412 73.8584959"></polygon>
13
+ <polygon id="Line-3-Copy" fill="#FFFFFF" fill-rule="nonzero" points="20.2171934 91.322159 20.2171934 82.818222 99.7211304 82.818222 99.7211304 91.322159"></polygon>
14
+ <polygon id="Line-3-Copy-2" fill="#FFFFFF" fill-rule="nonzero" points="20.3932458 107.600028 20.3932458 99.0960906 99.8971828 99.0960906 99.8971828 107.600028"></polygon>
15
+ <polygon id="Rectangle-7" fill="#0059B3" opacity="0.2" transform="translate(105.449361, 40.610535) scale(-1, 1) rotate(90.000000) translate(-105.449361, -40.610535) " points="92.3040422 27.4750409 118.594681 53.7460296 95.2464052 53.7377589"></polygon>
16
+ <path d="M89.0927528,0.842666647 L118.560625,30.3915947 L100.247733,30.6719146 C94.1805894,30.7647859 89.186911,25.9216815 89.0940397,19.8545382 C89.0931818,19.7984895 89.0927528,19.7424351 89.0927528,19.6863799 L89.0927528,0.842666647 Z" id="Rectangle-7" fill="#FFFFFF"></path>
17
+ </g>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </svg>