@vincentgraul/react-components 1.0.12 → 1.0.13

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 +1 @@
1
- "use strict";var t=require("../../_virtual/index7.js");if(require("../has-bigints/index.js").hasBigints()){var e=BigInt.prototype.valueOf;t.__module.exports=function(t){return null!=t&&"boolean"!=typeof t&&"string"!=typeof t&&"number"!=typeof t&&"symbol"!=typeof t&&"function"!=typeof t&&("bigint"==typeof t||function(t){try{return e.call(t),!0}catch(t){}return!1}(t))}}else t.__module.exports=function(t){return!1};var r=t.__module.exports;exports.isBigintExports=r;
1
+ "use strict";var t=require("../../_virtual/index8.js");if(require("../has-bigints/index.js").hasBigints()){var e=BigInt.prototype.valueOf;t.__module.exports=function(t){return null!=t&&"boolean"!=typeof t&&"string"!=typeof t&&"number"!=typeof t&&"symbol"!=typeof t&&"function"!=typeof t&&("bigint"==typeof t||function(t){try{return e.call(t),!0}catch(t){}return!1}(t))}}else t.__module.exports=function(t){return!1};var r=t.__module.exports;exports.isBigintExports=r;
@@ -1 +1 @@
1
- "use strict";var t=require("../../_virtual/index8.js"),r=require("../has-symbols/index.js"),e=Object.prototype.toString;if(r.hasSymbols()){var o=Symbol.prototype.toString,s=/^Symbol\(.*\)$/;t.__module.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==e.call(t))return!1;try{return function(t){return"symbol"==typeof t.valueOf()&&s.test(o.call(t))}(t)}catch(t){return!1}}}else t.__module.exports=function(t){return!1};var l=t.__module.exports;exports.isSymbolExports=l;
1
+ "use strict";var t=require("../../_virtual/index7.js"),r=require("../has-symbols/index.js"),e=Object.prototype.toString;if(r.hasSymbols()){var o=Symbol.prototype.toString,s=/^Symbol\(.*\)$/;t.__module.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==e.call(t))return!1;try{return function(t){return"symbol"==typeof t.valueOf()&&s.test(o.call(t))}(t)}catch(t){return!1}}}else t.__module.exports=function(t){return!1};var l=t.__module.exports;exports.isSymbolExports=l;
@@ -1,9 +1,8 @@
1
1
  /// <reference types="react" />
2
- interface Props {
2
+ export interface Props {
3
3
  src: string;
4
4
  text: string;
5
5
  className?: string;
6
6
  }
7
7
  export default function ImageLoader(props: Props): JSX.Element;
8
- export {};
9
8
  //# sourceMappingURL=ImageLoader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImageLoader.d.ts","sourceRoot":"","sources":["../../../../src/loader/ImageLoader.tsx"],"names":[],"mappings":";AAGA,UAAU,KAAK;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAS7D"}
1
+ {"version":3,"file":"ImageLoader.d.ts","sourceRoot":"","sources":["../../../../src/loader/ImageLoader.tsx"],"names":[],"mappings":";AAGA,MAAM,WAAW,KAAK;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAS7D"}
@@ -1,9 +1,9 @@
1
1
  import { ReactNode } from "react";
2
- import ImageLoader from "./ImageLoader";
2
+ import ImageLoader, { Props as ImageLoaderProps } from "./ImageLoader";
3
3
  interface Props {
4
4
  render: () => ReactNode;
5
5
  className?: string;
6
6
  }
7
7
  export default function Loader(props: Props): JSX.Element;
8
- export { ImageLoader };
8
+ export { ImageLoader, ImageLoaderProps };
9
9
  //# sourceMappingURL=Loader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../src/loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAQxD;AAsBD,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../src/loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,WAAW,EAAE,EAAE,KAAK,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEvE,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAQxD;AAsBD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,9 +1,8 @@
1
1
  /// <reference types="react" />
2
- interface Props {
2
+ export interface Props {
3
3
  src: string;
4
4
  text: string;
5
5
  className?: string;
6
6
  }
7
7
  export default function ImageLoader(props: Props): JSX.Element;
8
- export {};
9
8
  //# sourceMappingURL=ImageLoader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImageLoader.d.ts","sourceRoot":"","sources":["../../../../src/loader/ImageLoader.tsx"],"names":[],"mappings":";AAGA,UAAU,KAAK;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAS7D"}
1
+ {"version":3,"file":"ImageLoader.d.ts","sourceRoot":"","sources":["../../../../src/loader/ImageLoader.tsx"],"names":[],"mappings":";AAGA,MAAM,WAAW,KAAK;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAS7D"}
@@ -1,9 +1,9 @@
1
1
  import { ReactNode } from "react";
2
- import ImageLoader from "./ImageLoader";
2
+ import ImageLoader, { Props as ImageLoaderProps } from "./ImageLoader";
3
3
  interface Props {
4
4
  render: () => ReactNode;
5
5
  className?: string;
6
6
  }
7
7
  export default function Loader(props: Props): JSX.Element;
8
- export { ImageLoader };
8
+ export { ImageLoader, ImageLoaderProps };
9
9
  //# sourceMappingURL=Loader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../src/loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAQxD;AAsBD,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../src/loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,WAAW,EAAE,EAAE,KAAK,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEvE,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAQxD;AAsBD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentgraul/react-components",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "main": "build/esm/src/index.js",
5
5
  "module": "build/cjs/src/index.js",
6
6
  "exports": {