flipper-ui 0.25.4 → 0.25.7

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.
@@ -68,6 +68,7 @@ var renderEditMode = function renderEditMode(column, row, updateRow, errors) {
68
68
  value: date,
69
69
  fullWidth: true,
70
70
  error: hasError,
71
+ name: column.field.toString(),
71
72
  onChange: function onChange(value) {
72
73
  updateRow(column.field, value);
73
74
  }
package/core/PinInput.js CHANGED
@@ -115,7 +115,7 @@ var PinInput = function PinInput(_ref) {
115
115
  removeValuesFromArray(valuesArray, previousValue);
116
116
  var value = valuesArray.pop();
117
117
 
118
- if (!value) {
118
+ if (!value || value === ' ' || value === '') {
119
119
  return;
120
120
  }
121
121
 
@@ -193,7 +193,7 @@ var PinInput = function PinInput(_ref) {
193
193
  onChange: function onChange(event) {
194
194
  _onChange(event, index);
195
195
  },
196
- value: pin[index] || ''
196
+ value: pin[index] === 0 ? 0 : pin[index] || ''
197
197
  });
198
198
  })));
199
199
  };
@@ -30,6 +30,7 @@ export interface TextFieldProps extends DefaultProps {
30
30
  onClear?: () => void;
31
31
  onHelperClick?: () => void;
32
32
  onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
33
+ onPaste?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
33
34
  onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
34
35
  onKeyUp?: (event: KeyboardEvent) => void;
35
36
  onKeyDown?: (event: KeyboardEvent) => void;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "flipper-ui",
3
- "version": "0.25.4",
3
+ "version": "0.25.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
- "homepage": "https://flipper-ui.vercel.app",
6
+ "homepage": "https://flipper-ui.ngi.com.br/",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/nginformatica/flipper-ui.git"