@visns-studio/visns-components 2.5.10 → 2.5.11

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.
@@ -307,6 +307,23 @@ function Field({
307
307
  }
308
308
  />
309
309
  );
310
+ case 'percentage':
311
+ return (
312
+ <NumericFormat
313
+ data-name={settings.id}
314
+ className={inputClass[settings.id]}
315
+ onValueChange={(values) => {
316
+ onChangeNumberFormat(values, settings.id);
317
+ }}
318
+ thousandSeparator={true}
319
+ suffix={'%'}
320
+ value={
321
+ inputValue && inputValue !== 'null'
322
+ ? inputValue
323
+ : ''
324
+ }
325
+ />
326
+ );
310
327
  case 'number':
311
328
  case 'decimal':
312
329
  return (
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "react-dom": "^17.0.1"
43
43
  },
44
44
  "name": "@visns-studio/visns-components",
45
- "version": "2.5.10",
45
+ "version": "2.5.11",
46
46
  "description": "Various packages to assist in the development of our Custom Applications.",
47
47
  "main": "index.js",
48
48
  "scripts": {