react-currency-input-field
Advanced tools
Comparing version 4.0.0-alpha.1 to 4.0.0-alpha.2
@@ -1,2 +0,2 @@ | ||
"use strict";var y=Object.create;var p=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var s=(r,e)=>{for(var o in e)p(r,o,{get:e[o],enumerable:!0})},u=(r,e,o,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of l(e))!I.call(r,n)&&n!==o&&p(r,n,{get:()=>e[n],enumerable:!(t=C(e,n))||t.enumerable});return r};var V=(r,e,o)=>(o=r!=null?y(x(r)):{},u(e||!r||!r.__esModule?p(o,"default",{value:r,enumerable:!0}):o,r)),P=r=>u(p({},"__esModule",{value:!0}),r);var g={};s(g,{CurrencyInput:()=>a.CurrencyInput,cleanValue:()=>f.cleanValue,default:()=>d,formatValue:()=>c.formatValue});module.exports=P(g);var m=V(require("./components/CurrencyInput")),a=require("./components/CurrencyInput"),c=require("./components/utils/formatValue"),f=require("./components/utils/cleanValue"),d=m.default; | ||
"use strict";var C=Object.create;var t=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var I=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var s=(r,e)=>{for(var n in e)t(r,n,{get:e[n],enumerable:!0})},u=(r,e,n,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of y(e))!x.call(r,o)&&o!==n&&t(r,o,{get:()=>e[o],enumerable:!(p=l(e,o))||p.enumerable});return r};var V=(r,e,n)=>(n=r!=null?C(I(r)):{},u(e||!r||!r.__esModule?t(n,"default",{value:r,enumerable:!0}):n,r)),g=r=>u(t({},"__esModule",{value:!0}),r);var P={};s(P,{CurrencyInput:()=>m.CurrencyInput,cleanValue:()=>c.cleanValue,default:()=>i,formatValue:()=>a.formatValue});module.exports=g(P);var f=V(require("./components/CurrencyInput")),m=require("./components/CurrencyInput"),a=require("./components/utils/formatValue"),c=require("./components/utils/cleanValue"),i=f.default; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import r from"./components/CurrencyInput";import{CurrencyInput as t}from"./components/CurrencyInput";import{formatValue as m}from"./components/utils/formatValue";import{cleanValue as c}from"./components/utils/cleanValue";var o=r;export{t as CurrencyInput,c as cleanValue,o as default,m as formatValue}; | ||
import r from"./components/CurrencyInput";import{CurrencyInput as p}from"./components/CurrencyInput";import{formatValue as f}from"./components/utils/formatValue";import{cleanValue as a}from"./components/utils/cleanValue";var n=r;export{p as CurrencyInput,a as cleanValue,n as default,f as formatValue}; | ||
//# sourceMappingURL=index.js.map |
import CurrencyInput from './components/CurrencyInput'; | ||
export type { CurrencyInputProps, CurrencyInputOnChangeValues, } from './components/CurrencyInputProps'; | ||
export type { CurrencyInputProps, CurrencyInputOnChangeValues, IntlConfig, } from './components/CurrencyInputProps'; | ||
export { CurrencyInput } from './components/CurrencyInput'; | ||
@@ -4,0 +4,0 @@ export { formatValue } from './components/utils/formatValue'; |
{ | ||
"name": "react-currency-input-field", | ||
"version": "4.0.0-alpha.1", | ||
"version": "4.0.0-alpha.2", | ||
"description": "React <input/> component for formatting currency and numbers.", | ||
@@ -17,4 +17,4 @@ "sideEffects": false, | ||
}, | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.esm.js", | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"types": "dist/index.d.ts", | ||
@@ -21,0 +21,0 @@ "homepage": "https://github.com/cchanxzy/react-currency-input-field", |
@@ -29,2 +29,4 @@ # React Currency Input Field Component | ||
- [Contributing](#contributing) | ||
- [Support this Project](#support-this-project) | ||
- [v4.0.0-alpha Announcement](#v400-alpha-announcement) | ||
@@ -288,2 +290,28 @@ ## Features | ||
If you want to contribute to this repository, please refer to the [contributing doc](https://github.com/cchanxzy/react-currency-input-field/blob/main/docs/CONTRIBUTING.md). | ||
If you would like to contribute to this repository, please refer to the [contributing doc](https://github.com/cchanxzy/react-currency-input-field/blob/main/docs/CONTRIBUTING.md). | ||
## Support this Project | ||
If you'd like to support this project, please refer to the [support doc](https://github.com/cchanxzy/react-currency-input-field/blob/main/docs/SUPPORT.md). | ||
## v4.0.0-alpha Announcement | ||
I'm excited to announce the release of **[v4.0.0-alpha.1](https://www.npmjs.com/package/react-currency-input-field/v/4.0.0-alpha.1)**. | ||
This marks the beginning of development for version 4.0.0, and the first improvement is a significant reduction in bundle size, going from ~26KB to ~7KB. | ||
For more information, please refer to the [announcement post](https://github.com/cchanxzy/react-currency-input-field/blob/main/docs/v4.0.0-alpha-annoucement.md). | ||
If you would like to try out the alpha version, you can install it using the following command: | ||
```bash | ||
npm install react-currency-input-field@alpha | ||
yarn add react-currency-input-field@alpha | ||
pnpm add react-currency-input-field@alpha | ||
``` | ||
Please note that this version is still in development and may contain bugs or incomplete features. | ||
**Use it at your own risk!** |
@@ -6,2 +6,3 @@ import CurrencyInput from './components/CurrencyInput'; | ||
CurrencyInputOnChangeValues, | ||
IntlConfig, | ||
} from './components/CurrencyInputProps'; | ||
@@ -8,0 +9,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
286146
4448
316