imbric-theme 0.1.4 → 0.1.5

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.
@@ -44,6 +44,7 @@ export const Input = ({
44
44
  min,
45
45
  autoFocus,
46
46
  readonly,
47
+ accept,
47
48
  }) => (
48
49
 
49
50
  <>
@@ -84,6 +85,7 @@ export const Input = ({
84
85
  autoComplete={autoComplete}
85
86
  disabled={disabled}
86
87
  min={min}
88
+ accept={accept}
87
89
  ></input>
88
90
 
89
91
  </div> :
@@ -115,6 +117,7 @@ export const Input = ({
115
117
  disabled={disabled}
116
118
  min={min}
117
119
  onInput={onInput}
120
+ accept={accept}
118
121
  ></input>
119
122
 
120
123
  <Horizontal size="xs" />
@@ -156,6 +159,7 @@ export const Input = ({
156
159
  min={min}
157
160
  autoFocus={autoFocus}
158
161
  onInput={onInput}
162
+ accept={accept}
159
163
  ></input>
160
164
 
161
165
  }
@@ -194,6 +198,7 @@ Input.propTypes = {
194
198
  autoFocus: PropTypes.any,
195
199
  onClickViewPass: PropTypes.func,
196
200
  viewPass: PropTypes.bool,
201
+ accept: PropTypes.string,
197
202
  }
198
203
 
199
204
  Input.defaultProps = {
@@ -224,6 +229,7 @@ Input.defaultProps = {
224
229
  readonly: false,
225
230
  onClickViewPass: () => { },
226
231
  viewPass: false,
232
+ accept: '',
227
233
  }
228
234
 
229
235
  export default withStyles(styles)(Input)
@@ -260,70 +260,6 @@ export const RowTable = ({
260
260
 
261
261
  <td className={getStyles('td', 'tdacctionIcons')} key={[itemTd.accessor] + (indexTd + index)}>
262
262
 
263
- {itemTd.viewUserView ?
264
-
265
- item.viewUserView === undefined ?
266
-
267
- <>
268
- <span
269
- data-tip
270
- data-for='userView'
271
- onMouseEnter={handleMouseEnter}
272
- onMouseLeave={handleMouseLeave}
273
- >
274
- <>
275
- <Icon
276
- id="userView"
277
- background="base"
278
- name="userView"
279
- onClick={(e) => { onClickActionUserView(e, item) }}
280
- />
281
- <Horizontal size="xs" />
282
- </>
283
-
284
- </span>
285
-
286
- {isToolTipMounted ? (
287
- <ReactTooltip id='userView' type='error'>
288
- <span>{txtTootipIconUserView}</span>
289
- </ReactTooltip>
290
- ) : null}
291
- </>
292
-
293
- :
294
-
295
- item.viewUserView ?
296
-
297
- <>
298
- <span
299
- data-tip
300
- data-for='userView'
301
- onMouseEnter={handleMouseEnter}
302
- onMouseLeave={handleMouseLeave}
303
- >
304
- <>
305
- <Icon
306
- id="userView"
307
- background="base"
308
- name="userView"
309
- onClick={(e) => { onClickActionUserView(e, item) }}
310
- />
311
- <Horizontal size="xs" />
312
- </>
313
-
314
- </span>
315
-
316
- {isToolTipMounted ? (
317
- <ReactTooltip id='userView' type='error'>
318
- <span>{txtTootipIconUserView}</span>
319
- </ReactTooltip>
320
- ) : null}
321
- </>
322
-
323
- : null
324
-
325
- : null}
326
-
327
263
 
328
264
  {itemTd.viewListInvoice ?
329
265
 
@@ -795,7 +731,69 @@ export const RowTable = ({
795
731
 
796
732
  : null}
797
733
 
734
+ {itemTd.viewUserView ?
735
+
736
+ item.viewUserView === undefined ?
737
+
738
+ <>
739
+ <span
740
+ data-tip
741
+ data-for='userView'
742
+ onMouseEnter={handleMouseEnter}
743
+ onMouseLeave={handleMouseLeave}
744
+ >
745
+ <>
746
+ <Icon
747
+ id="userView"
748
+ background="base"
749
+ name="userView"
750
+ onClick={(e) => { onClickActionUserView(e, item) }}
751
+ />
752
+ <Horizontal size="xs" />
753
+ </>
754
+
755
+ </span>
756
+
757
+ {isToolTipMounted ? (
758
+ <ReactTooltip id='userView' type='error'>
759
+ <span>{txtTootipIconUserView}</span>
760
+ </ReactTooltip>
761
+ ) : null}
762
+ </>
763
+
764
+ :
798
765
 
766
+ item.viewUserView ?
767
+
768
+ <>
769
+ <span
770
+ data-tip
771
+ data-for='userView'
772
+ onMouseEnter={handleMouseEnter}
773
+ onMouseLeave={handleMouseLeave}
774
+ >
775
+ <>
776
+ <Icon
777
+ id="userView"
778
+ background="base"
779
+ name="userView"
780
+ onClick={(e) => { onClickActionUserView(e, item) }}
781
+ />
782
+ <Horizontal size="xs" />
783
+ </>
784
+
785
+ </span>
786
+
787
+ {isToolTipMounted ? (
788
+ <ReactTooltip id='userView' type='error'>
789
+ <span>{txtTootipIconUserView}</span>
790
+ </ReactTooltip>
791
+ ) : null}
792
+ </>
793
+
794
+ : null
795
+
796
+ : null}
799
797
 
800
798
 
801
799
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imbric-theme",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Components library IMBRIC",
5
5
  "private": false,
6
6
  "main": "index.js",