0.0.35 • Published 1 month ago

inm-labs-component-library v0.0.35

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

inm-labs-component-library

This is mostly a library of components we use internally, so if you dont really want the whole package we also have the components as a standalone so you can pick only the one you need instead of the whole library

The full documentation can be found here : https://inm-web-labs.github.io/inm-labs-component-library/

To Install

npm install --save inm-labs-component-library

Once you have installed the package, in your entry file of the repository (main.js) if you are using it in a Vue CLI project. Write the import command

import ComponentLibrary from 'inm-labs-component-library'

app.use(ComponentLibrary)

Components

Options allow you to customize how the input will format the amount as you type.

NameDescription
vue-format-amount-inputInput with format for amounts

Changelog

  • 0.0.13 - updated blur function when no currency is provided
  • 0.0.14 - added option to have negative amounts to vue-format-amount-input
  • 0.0.15 - fixed bug when clearing negative value
  • 0.0.16 - VueFormatAmountInput: changed maxValue logic and default value; To prevent Scientific notation on numbers value is now returned and used as a string
  • 0.0.17 - fixed bug when changing currency and input had no content
  • 0.0.18 - fixed variable used to compare maxValue and validation
  • 0.0.19 - VueFormatAmountInput: Fixed logic behind removing currency from value; Removed console.logs
  • 0.0.20 - VueFormatAmountInput: fixed logic when on clear of value, currency would be showed; fixed setSelectionRange to only be trigger if user is focus on input
  • 0.0.21 - VueFormatAmountInput: Fixed maxValue validations and handling; Fixing replacing numbers
  • 0.0.22 - VueFormatAmountInput: Fixed maxValue validations for decimals and numbers with currencies
  • 0.0.23 - VueFormatAmountInput: Fixed maxValue validation when number has same length; fixed validation when swapping amounts
  • 0.0.24 - VueFormatAmountInput: Added watch to handleMaxValue change on input lifetime
  • 0.0.25 - VueFormatAmountInput: Added logic on initial value setup, so decimals (when allowed) are showed on mounted
  • 0.0.26 - VueFormatAmountInput: Fixed validation for maxValue on initial render with value
  • 0.0.27 - VueFormatAmountInput: Added missing validation before trying to stringify value
  • 0.0.28 - VueFormatAmountInput: Added missing validations for value on watch
  • 0.0.29 - VueFormatAmountInput: Fixed blur logic when value is empty
  • 0.0.30 - VueFormatAmountInput: Added inputMode to input, and option to help define inputMode specifc for iOS apps/browsers
  • 0.0.31 - VueFormatAmountInput: Added logic for pasted values when they fall out of maxValue
  • 0.0.32 - VueFormatAmountInput: Fixed validation for decimalsChars; Fixed maxValue logic when having decimals
  • 0.0.33 - VueFormatAmountInput: Fixed formating value before emiting it when its value is negative
  • 0.0.34 - VueFormatAmountInput: Added logic to prevent zeros at left of natural number
  • 0.0.35 - VueFormatAmountInput: Fixed bug removing zeros before decimal char and also removing decimal char
0.0.35

1 month ago

0.0.34

1 month ago

0.0.33

9 months ago

0.0.30

11 months ago

0.0.31

11 months ago

0.0.32

10 months ago

0.0.28

1 year ago

0.0.29

12 months ago

0.0.25

1 year ago

0.0.26

1 year ago

0.0.27

1 year ago

0.0.20

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.24

1 year ago

0.0.19

1 year ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago