You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parseAmount, formatNumber, shiftDecimal, toCanonical, formatCanonical and DEFAULT_SHORTCUTS moved to react-financial-input/parse. The root now exports the component and the hook, and nothing else.
Bug fixes
keep parsing off the client boundary, so it runs on a server (#42) (e70fb13)
listCurrencies, searchCurrencies, toFlagEmoji, supportsFlagEmoji, CURRENCY_PRESETS and DEFAULT_CURRENCY_PRESET moved to react-financial-input/currency; classifyInputType, describeEdit, isDeleteInputType and InputType moved to react-financial-input/events. The root now exports the component, the hook, and parsing.
Features
split currency and input events into their own entry points (#40) (d76a9c2)
the package exported 66 names; it now exports 18. Removed were reducer internals, regex builders, string helpers and a resetFlagSupportCache that exists only so a test can clear a cache. None of them was ever chosen — index.ts was four export * lines and everything came along with them. Nothing documented was removed. If something you relied on is gone, it can be exported deliberately.
Features
curate the public API, and close the gaps found auditing for 1.0.0 (#38) (c264b92)