@selkirk-systems/attachments 1.0.6 → 1.0.9

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.
@@ -1,5 +1,6 @@
1
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import SRC from '../../img/html-filetype.png';
3
+ import React from "react";
3
4
  const HTMLFileTypeImage = props => /*#__PURE__*/React.createElement("img", _extends({
4
5
  alt: "HTML",
5
6
  src: SRC
@@ -1,5 +1,6 @@
1
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import SRC from '../../img/json-filetype.png';
3
+ import React from "react";
3
4
  const JsonFileTypeImage = props => /*#__PURE__*/React.createElement("img", _extends({
4
5
  alt: "JSON",
5
6
  src: SRC
@@ -1,5 +1,6 @@
1
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import SRC from '../../img/pdf-filetype.png';
3
+ import React from "react";
3
4
  const PDFMimeTypeImage = props => /*#__PURE__*/React.createElement("img", _extends({
4
5
  alt: "PDF",
5
6
  src: SRC
@@ -1,5 +1,6 @@
1
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import SRC from '../../img/PowerPoint-filetype.png';
3
+ import React from "react";
3
4
  const PowerPointTypeImage = props => /*#__PURE__*/React.createElement("img", _extends({
4
5
  alt: "Power Point",
5
6
  src: SRC
@@ -1,5 +1,6 @@
1
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import SRC from '../../img/txt-filetype.png';
3
+ import React from "react";
3
4
  const TextFileTypeImage = props => /*#__PURE__*/React.createElement("img", _extends({
4
5
  alt: "Text",
5
6
  src: SRC
@@ -1,5 +1,6 @@
1
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import SRC from '../../img/unknown-filetype.png';
3
+ import React from "react";
3
4
  const UnknownFileTypeImage = props => /*#__PURE__*/React.createElement("img", _extends({
4
5
  alt: "Unknown",
5
6
  src: SRC
@@ -1,5 +1,6 @@
1
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import SRC from '../../img/word-filetype.png';
3
+ import React from "react";
3
4
  const WordFileTypeImage = props => /*#__PURE__*/React.createElement("img", _extends({
4
5
  alt: "Word",
5
6
  src: SRC
@@ -1,5 +1,6 @@
1
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import SRC from '../../img/zip-filetype.png';
3
+ import React from "react";
3
4
  const ZipFileTypeImage = props => /*#__PURE__*/React.createElement("img", _extends({
4
5
  alt: "Zip",
5
6
  src: SRC
@@ -1,4 +1,5 @@
1
1
  import SRC from '../../img/html-filetype.png';
2
+ import React from "react";
2
3
 
3
4
  const HTMLFileTypeImage = ( props ) => ( <img alt="HTML" src={SRC} {...props} /> )
4
5
 
@@ -1,4 +1,5 @@
1
1
  import SRC from '../../img/json-filetype.png';
2
+ import React from "react";
2
3
 
3
4
  const JsonFileTypeImage = ( props ) => ( <img alt="JSON" src={SRC} {...props} /> )
4
5
 
@@ -1,5 +1,5 @@
1
1
  import SRC from '../../img/pdf-filetype.png';
2
-
2
+ import React from "react";
3
3
  const PDFMimeTypeImage = ( props ) => ( <img alt="PDF" src={SRC} {...props} /> )
4
4
 
5
5
  export default PDFMimeTypeImage;
@@ -1,4 +1,5 @@
1
1
  import SRC from '../../img/PowerPoint-filetype.png';
2
+ import React from "react";
2
3
 
3
4
  const PowerPointTypeImage = ( props ) => ( <img alt="Power Point" src={SRC} {...props} /> )
4
5
 
@@ -1,4 +1,5 @@
1
1
  import SRC from '../../img/txt-filetype.png';
2
+ import React from "react";
2
3
 
3
4
  const TextFileTypeImage = ( props ) => ( <img alt="Text" src={SRC} {...props} /> )
4
5
 
@@ -1,4 +1,5 @@
1
1
  import SRC from '../../img/unknown-filetype.png';
2
+ import React from "react";
2
3
 
3
4
  const UnknownFileTypeImage = ( props ) => ( <img alt="Unknown" src={SRC} {...props} /> )
4
5
 
@@ -1,4 +1,5 @@
1
1
  import SRC from '../../img/word-filetype.png';
2
+ import React from "react";
2
3
 
3
4
  const WordFileTypeImage = ( props ) => ( <img alt="Word" src={SRC} {...props} /> )
4
5
 
@@ -1,4 +1,5 @@
1
1
  import SRC from '../../img/zip-filetype.png';
2
+ import React from "react";
2
3
 
3
4
  const ZipFileTypeImage = ( props ) => ( <img alt="Zip" src={SRC} {...props} /> )
4
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selkirk-systems/attachments",
3
- "version": "1.0.6",
3
+ "version": "1.0.9",
4
4
  "description": "Attachment and photo upload components for Selkirk Systems web projects",
5
5
  "keywords": [],
6
6
  "author": "Marcos Bernal <mbernal@selkirksystems.com>",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "homepage": "https://bitbucket.org/selkirk/web-component-library#readme",
34
34
  "peerDependencies": {
35
- "@selkirk-systems/fetch": "^1.8.0",
35
+ "@selkirk-systems/fetch": ">=1.5.0",
36
36
  "@selkirk-systems/layout": "^1.3.1",
37
37
  "@selkirk-systems/selkirk-components": "^1.0.0",
38
38
  "@selkirk-systems/selkirk-utils": "^1.0.0",
@@ -46,5 +46,5 @@
46
46
  "clsx": "^2.1.1",
47
47
  "memoizee": "*"
48
48
  },
49
- "gitHead": "8a07a20e445dd6c51b5fef7bbcbeb507ed3850b8"
49
+ "gitHead": "8db92c73828bfed09b999704d8f804e6007c3303"
50
50
  }