@transferwise/components 0.0.0-experimental-48eafc4 → 0.0.0-experimental-4cba629

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "0.0.0-experimental-48eafc4",
3
+ "version": "0.0.0-experimental-4cba629",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/umd/polyfill/main.js",
@@ -1 +0,0 @@
1
- export{useRandomId as default}from"./useRandomId";
@@ -1 +0,0 @@
1
- import _slicedToArray from"@babel/runtime/helpers/slicedToArray";import{useState,useEffect}from"react";export var useRandomId=function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",b=useState(null),c=_slicedToArray(b,2),d=c[0],e=c[1];return useEffect(function(){var b=a+Math.random().toString(16).slice(-4);e(b)},[]),d};
@@ -1 +0,0 @@
1
- export{useRandomId as default}from"./useRandomId";
@@ -1 +0,0 @@
1
- import _slicedToArray from"@babel/runtime/helpers/slicedToArray";import"core-js/modules/es.array.slice.js";import"core-js/modules/es.object.to-string.js";import"core-js/modules/es.regexp.to-string.js";import{useState,useEffect}from"react";export var useRandomId=function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",b=useState(null),c=_slicedToArray(b,2),d=c[0],e=c[1];return useEffect(function(){var b=a+Math.random().toString(16).slice(-4);e(b)},[]),d};
@@ -1 +0,0 @@
1
- export { useRandomId as default } from './useRandomId';
@@ -1 +0,0 @@
1
- export declare const useRandomId: (prefix?: string) => string;