@growy/strapi-plugin-encrypted-field 1.1.6 → 1.2.0

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.
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
 
3
3
  const EncryptedIcon = () => (
4
- <path
5
- fill="currentColor"
6
- d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z"
7
- />
4
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="16" height="16">
5
+ <rect width="31" height="23" x="0.5" y="4.5" fill="#EAFBE7" stroke="#C6F0C2" rx="2.5" />
6
+ <path fill="#328048" d="M13.679 11.18a.75.75 0 0 0-1.358 0l-4 8.5a.75.75 0 0 0 1.357.64l.974-2.07h4.695l.974 2.07a.75.75 0 1 0 1.358-.64zm-2.32 5.57 1.64-3.489 1.643 3.489zm9.14-3c-.865 0-1.547.241-2.027.717a.749.749 0 1 0 1.056 1.063c.188-.187.516-.283.972-.283.584 0 1.074.323 1.21.757a3 3 0 0 0-1.21-.254c-1.516 0-2.75 1.121-2.75 2.5s1.234 2.5 2.75 2.5c.479.001.95-.114 1.375-.336A.75.75 0 0 0 23.25 20v-3.75c0-1.379-1.234-2.5-2.75-2.5m0 5.5c-.687 0-1.25-.449-1.25-1s.563-1 1.25-1 1.25.449 1.25 1-.562 1-1.25 1" />
7
+ </svg>
8
8
  );
9
9
 
10
10
  export default EncryptedIcon;
@@ -1,5 +1,3 @@
1
- import EncryptedIcon from './components/EncryptedIcon';
2
-
3
1
  export default {
4
2
  register(app) {
5
3
  app.customFields.register({
@@ -14,7 +12,6 @@ export default {
14
12
  id: 'encrypted-field.description',
15
13
  defaultMessage: 'Campo de texto que se cifra automáticamente con AES-256-GCM',
16
14
  },
17
- icon: EncryptedIcon,
18
15
  components: {
19
16
  Input: async () => import('./components/Input').then((module) => ({
20
17
  default: module.default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growy/strapi-plugin-encrypted-field",
3
- "version": "1.1.6",
3
+ "version": "1.2.0",
4
4
  "description": "Campo personalizado de texto cifrado para Strapi",
5
5
  "strapi": {
6
6
  "name": "encrypted-field",