@growy/strapi-plugin-encrypted-field 2.0.6 → 2.0.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.
@@ -67,15 +67,17 @@ const Input = (props) => {
67
67
  <IconButton
68
68
  onClick={toggleVisibility}
69
69
  label={isVisible ? 'Ocultar' : 'Mostrar'}
70
- icon={isVisible ? <EyeStriked /> : <Eye />}
71
70
  disabled={disabled}
72
- />
71
+ >
72
+ {isVisible ? <EyeStriked /> : <Eye />}
73
+ </IconButton>
73
74
  <IconButton
74
75
  onClick={handleCopy}
75
76
  label="Copiar"
76
- icon={<Duplicate />}
77
77
  disabled={disabled || !value}
78
- />
78
+ >
79
+ <Duplicate />
80
+ </IconButton>
79
81
  </Flex>
80
82
  <Field.Hint />
81
83
  <Field.Error />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growy/strapi-plugin-encrypted-field",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "Campo personalizado de texto cifrado para Strapi",
5
5
  "strapi": {
6
6
  "name": "encrypted-field",