libreria-astro-lefebvre 0.1.69 → 0.1.70

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libreria-astro-lefebvre",
3
- "version": "0.1.69",
3
+ "version": "0.1.70",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -4,7 +4,7 @@ export const metadata: ComponentMetadata = {
4
4
  component_name: 'Contenido_2025_Granada',
5
5
  category: 'Contenido de Texto',
6
6
  name: 'Ítem con icono pequeño en recuadro gris y ancho configurable 2025',
7
- description: 'Ítem compacto para listados categorizados con un icono pequeño sobre fondo gris claro (23 variantes predefinidas: más, tienda, correcto, formación, caso, medalla, IA, balanza, compliance, librería, etc.), título con etiqueta HTML seleccionable (h1-h6/span) y descripción con soporte HTML. Layout flex configurable con control extra de ancho del bloque en orientación vertical (1/4 o 1/3 de columna)',
7
+ description: 'Ítem compacto para listados categorizados con un icono pequeño sobre fondo gris claro (36 variantes predefinidas: más, tienda, correcto, formación, caso, medalla, IA, balanza, compliance, librería, etc.), título con etiqueta HTML seleccionable (h1-h6/span) y descripción con soporte HTML. Layout flex configurable con control extra de ancho del bloque en orientación vertical (1/4 o 1/3 de columna)',
8
8
  framework: 'Astro',
9
9
  priority: 1,
10
10
  tags: ['contenido', 'icono', 'item', 'listado'],
@@ -49,8 +49,8 @@ export const metadata: ComponentMetadata = {
49
49
  type: 'select',
50
50
  help: 'Icono que se muestra junto al contenido (solo si "Mostrar icono" está activado). Si se elige un valor fuera de la lista, no aparece ningún icono',
51
51
  label: 'Icono',
52
- options: ['more', 'shop', 'correct', 'formation', 'case', 'medal', 'medal2', 'search-text', 'checklist', 'certificate', 'ico-ok', 'shield', 'edit', 'ia', 'users', 'graphic', 'balance', 'calendar-check', 'documents', 'compliance', 'library', 'support', 'defendant'],
53
- options_labels: ['Más', 'Tienda', 'Correcto', 'Formación', 'Caso', 'Medalla', 'Medalla 2', 'Buscar texto', 'Checklist', 'Certificado', 'OK', 'Escudo', 'Editar', 'IA', 'Usuarios', 'Gráfico', 'Balanza', 'Calendario check', 'Documentos', 'Compliance', 'Librería', 'Soporte', 'Demandado'],
52
+ options: ['more', 'shop', 'correct', 'formation', 'case', 'medal', 'medal2', 'search-text', 'checklist', 'certificate', 'ico-ok', 'shield', 'edit', 'ia', 'users', 'graphic', 'balance', 'calendar-check', 'documents', 'compliance', 'library', 'support', 'defendant', 'shield-check', 'clock-circle', 'bell', 'user', 'database', 'dollar', 'folder-files', 'hand-money', 'link', 'lock', 'lock-password', 'notification-unread', 'shield-line'],
53
+ options_labels: ['Más', 'Tienda', 'Correcto', 'Formación', 'Caso', 'Medalla', 'Medalla 2', 'Buscar texto', 'Checklist', 'Certificado', 'OK', 'Escudo', 'Editar', 'IA', 'Usuarios', 'Gráfico', 'Balanza', 'Calendario check', 'Documentos', 'Compliance', 'Librería', 'Soporte', 'Demandado', 'Escudo check', 'Reloj', 'Campana', 'Usuario', 'Base de datos', 'Dólar', 'Carpeta con archivos', 'Mano con dinero', 'Enlace', 'Candado', 'Candado contraseña', 'Notificación', 'Escudo línea'],
54
54
  example_value: 'more'
55
55
  },
56
56
  {
@@ -165,9 +165,100 @@ const {
165
165
  <path fill-rule="evenodd" clip-rule="evenodd" d="M8.9314 17H23.0686C24.1886 17 25.1287 16.9999 25.8764 17.1005C26.6681 17.2069 27.392 17.4422 27.9748 18.0251C28.5577 18.608 28.7931 19.3319 28.8996 20.1236C29.0001 20.8713 29 21.8114 29 22.9314V23.0686C29 24.1886 29.0001 25.1287 28.8996 25.8764C28.7931 26.6681 28.5577 27.392 27.9749 27.9749C27.392 28.5578 26.6681 28.7931 25.8764 28.8996C25.1287 29.0001 24.1886 29 23.0686 29H8.93139C7.81141 29 6.87126 29.0001 6.12357 28.8996C5.33189 28.7931 4.608 28.5577 4.02513 27.9749C3.44225 27.392 3.20689 26.6681 3.10045 25.8764C2.99993 25.1287 2.99996 24.1886 3 23.0686V22.9314C2.99996 21.8114 2.99993 20.8713 3.10045 20.1236C3.20689 19.3319 3.44224 18.608 4.02513 18.0251M4.02513 18.0251C4.60801 17.4423 5.33191 17.2069 6.12357 17.1005C6.87126 16.9999 7.81141 17 8.9314 17M6.39007 19.0826C5.82018 19.1592 5.5887 19.29 5.43935 19.4393C5.29001 19.5887 5.15924 19.8202 5.08262 20.3901C5.00213 20.9887 5 21.7932 5 23C5 24.2068 5.00213 25.0113 5.08262 25.6099C5.15924 26.1798 5.29 26.4113 5.43935 26.5607C5.5887 26.71 5.82018 26.8408 6.39007 26.9174C6.98873 26.9979 7.79322 27 9 27H23C24.2068 27 25.0112 26.9979 25.6099 26.9174C26.1798 26.8408 26.4113 26.71 26.5606 26.5606C26.71 26.4113 26.8408 26.1798 26.9174 25.6099C26.9979 25.0113 27 24.2068 27 23C27 21.7932 26.9979 20.9887 26.9174 20.3901C26.8408 19.8202 26.71 19.5887 26.5607 19.4394C26.4113 19.29 26.1798 19.1592 25.6099 19.0826C25.0112 19.0021 24.2068 19 23 19H9C7.79322 19 6.98873 19.0021 6.39007 19.0826Z" fill="#2134F1"/>
166
166
  </svg>
167
167
  )
168
-
169
-
170
-
168
+ : icon === "shield-check" ? (
169
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
170
+ <path d="M3 10.4167c0 -3.19763 0 -4.79642 0.37752 -5.33429 0.37751 -0.53787 1.8808 -1.05245 4.88739 -2.08162l0.57281 -0.19607C10.405 2.26824 11.1886 2 12 2c0.8114 0 1.595 0.26824 3.1623 0.80472l0.5728 0.19607c3.0066 1.02917 4.5099 1.54375 4.8874 2.08162C21 5.62028 21 7.21907 21 10.4167l0 1.5747c0 5.638 -4.239 8.3741 -6.8986 9.5359C13.38 21.8424 13.0193 22 12 22c-1.0193 0 -1.38 -0.1576 -2.10144 -0.4727C7.23896 20.3655 3 17.6294 3 11.9914l0 -1.5747Z" stroke="#2134f1" stroke-width="1.5"></path>
171
+ <path d="m9.5 12.4 1.4286 1.6L14.5 10" stroke="#2134f1" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
172
+ </svg>
173
+ )
174
+ : icon === "clock-circle" ? (
175
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
176
+ <path stroke="#2134f1" d="M2 12a10 10 0 1 0 20 0 10 10 0 1 0 -20 0" stroke-width="1.5"></path>
177
+ <path d="M12 8v4l2.5 2.5" stroke="#2134f1" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
178
+ </svg>
179
+ )
180
+ : icon === "bell" ? (
181
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
182
+ <path d="M18.7491 9.70957v-0.7046C18.7491 5.13623 15.7274 2 12 2 8.27256 2 5.25087 5.13623 5.25087 9.00497v0.7046c0 0.84563 -0.24115 1.67223 -0.69307 2.37583l-1.10744 1.7241c-1.01154 1.5748 -0.23931 3.7154 1.52 4.2134 4.60238 1.3028 9.45694 1.3028 14.05924 0 1.7594 -0.498 2.5316 -2.6386 1.52 -4.2134l-1.1074 -1.7241c-0.4519 -0.7036 -0.6931 -1.5302 -0.6931 -2.37583Z" stroke="#2134f1" stroke-width="1.5"></path>
183
+ <path d="M7.5 19c0.65503 1.7478 2.42246 3 4.5 3 2.0775 0 3.845 -1.2522 4.5 -3" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
184
+ </svg>
185
+ )
186
+ : icon === "user" ? (
187
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
188
+ <path stroke="#2134f1" d="M8 6a4 4 0 1 0 8 0 4 4 0 1 0 -8 0" stroke-width="1.5"></path>
189
+ <path d="M20 17.5c0 2.4853 0 4.5 -8 4.5s-8 -2.0147 -8 -4.5S7.58172 13 12 13c4.4183 0 8 2.0147 8 4.5Z" stroke="#2134f1" stroke-width="1.5"></path>
190
+ </svg>
191
+ )
192
+ : icon === "database" ? (
193
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
194
+ <path d="M4 18V6" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
195
+ <path d="M20 6v12" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
196
+ <path d="M12 10c4.4183 0 8 -1.79086 8 -4s-3.5817 -4 -8 -4C7.58172 2 4 3.79086 4 6s3.58172 4 8 4Z" stroke="#2134f1" stroke-width="1.5"></path>
197
+ <path d="M20 12c0 2.2091 -3.5817 4 -8 4 -4.41828 0 -8 -1.7909 -8 -4" stroke="#2134f1" stroke-width="1.5"></path>
198
+ <path d="M20 18c0 2.2091 -3.5817 4 -8 4 -4.41828 0 -8 -1.7909 -8 -4" stroke="#2134f1" stroke-width="1.5"></path>
199
+ </svg>
200
+ )
201
+ : icon === "dollar" ? (
202
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
203
+ <path stroke="#2134f1" d="M2 12a10 10 0 1 0 20 0 10 10 0 1 0 -20 0" stroke-width="1.5"></path>
204
+ <path d="M12 17v1" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
205
+ <path d="M12 6v1" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
206
+ <path d="M15 9.5C15 8.11929 13.6569 7 12 7S9 8.11929 9 9.5c0 1.3807 1.3431 2.5 3 2.5s3 1.1193 3 2.5 -1.3431 2.5 -3 2.5 -3 -1.1193 -3 -2.5" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
207
+ </svg>
208
+ )
209
+ : icon === "folder-files" ? (
210
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
211
+ <path d="m18 10 -5 0" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
212
+ <path d="M10 3h6.5c0.4644 0 0.6966 0 0.8916 0.02567 1.3462 0.17723 2.4055 1.23655 2.5827 2.58275C20 5.80337 20 6.03558 20 6.5" stroke="#2134f1" stroke-width="1.5"></path>
213
+ <path d="M2 6.94975c0 -0.88253 0 -1.3238 0.06935 -1.69136 0.30529 -1.61808 1.57096 -2.88375 3.18904 -3.18904C5.62595 2 6.06722 2 6.94975 2c0.38667 0 0.58001 0 0.76582 0.01738 0.80108 0.07491 1.56095 0.38966 2.18037 0.90313 0.14366 0.1191 0.28036 0.25582 0.55376 0.52924L11 4c0.8158 0.81578 1.2237 1.22367 1.7121 1.49543 0.2683 0.14928 0.553 0.26717 0.8483 0.35135C14.0979 6 14.6747 6 15.8284 6h0.3737c2.6324 0 3.9485 0 4.8041 0.76946 0.0787 0.07078 0.1536 0.14568 0.2243 0.22437C22 7.84935 22 9.16554 22 11.7979V14c0 3.7712 0 5.6569 -1.1716 6.8284C19.6569 22 17.7712 22 14 22h-4c-3.77124 0 -5.65685 0 -6.82843 -1.1716C2 19.6569 2 17.7712 2 14V6.94975Z" stroke="#2134f1" stroke-width="1.5"></path>
214
+ </svg>
215
+ )
216
+ : icon === "hand-money" ? (
217
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
218
+ <path d="M17.4142 10.4142C18 9.82843 18 8.88562 18 7s0 -2.82843 -0.5858 -3.41421m0 6.82841C16.8284 11 15.8856 11 14 11h-4c-1.88562 0 -2.82843 0 -3.41421 -0.5858m10.82841 0Zm0 -6.82841C16.8284 3 15.8856 3 14 3l-4 0c-1.88562 0 -2.82843 0 -3.41421 0.58579m10.82841 0Zm-10.82841 0C6 4.17157 6 5.11438 6 7c0 1.88562 0 2.82843 0.58579 3.4142m0 -6.82841Zm0 6.82841Z" stroke="#2134f1" stroke-width="1.5"></path>
219
+ <path d="M13 7c0 0.55228 -0.4477 1 -1 1s-1 -0.44772 -1 -1 0.4477 -1 1 -1 1 0.44772 1 1Z" stroke="#2134f1" stroke-width="1.5"></path>
220
+ <path d="M18 6c-1.6569 0 -3 -1.34315 -3 -3" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
221
+ <path d="M18 8c-1.6569 0 -3 1.34315 -3 3" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
222
+ <path d="M6 6c1.65685 0 3 -1.34315 3 -3" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
223
+ <path d="M6 8c1.65685 0 3 1.34315 3 3" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
224
+ <path d="M5 20.3884h2.25993c1.01086 0 2.0326 0.1053 3.01637 0.308 1.7403 0.3585 3.5725 0.4019 5.3306 0.1174 0.8669 -0.1404 1.7191 -0.3549 2.4906 -0.7273 0.6964 -0.3361 1.5494 -0.8099 2.1224 -1.3406 0.5722 -0.5299 1.1681 -1.3972 1.591 -2.0752 0.3627 -0.5813 0.1873 -1.2945 -0.3864 -1.7277 -0.6372 -0.4811 -1.5828 -0.481 -2.2199 0.0003l-1.8072 1.3651c-0.7004 0.5291 -1.4654 1.0161 -2.3768 1.1615 -0.1096 0.0175 -0.2244 0.0334 -0.3442 0.0473m0 0c-0.0361 0.0042 -0.0726 0.0082 -0.1096 0.012m0.1096 -0.012c0.1458 -0.0312 0.2905 -0.1212 0.4264 -0.2397 0.6432 -0.5614 0.6838 -1.5075 0.1257 -2.1344 -0.1294 -0.1454 -0.281 -0.2667 -0.4494 -0.3672 -2.7974 -1.6685 -7.14968 -0.3977 -9.7791 1.467m9.6764 1.2743c-0.0365 0.0078 -0.0731 0.012 -0.1096 0.012m0 0c-0.5234 0.0537 -1.1356 0.0676 -1.815 0.0034" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
225
+ <path stroke="#2134f1" d="M3.5 14S5 14 5 15.5v5S5 22 3.5 22 2 22 2 20.5v-5S2 14 3.5 14" stroke-width="1.5"></path>
226
+ </svg>
227
+ )
228
+ : icon === "link" ? (
229
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
230
+ <path d="M10.0464 14c-1.50596 -1.5118 -1.37031 -4.09913 0.303 -5.77892l4.8476 -4.86646c1.6733 -1.67979 4.2506 -1.81597 5.7566 -0.30416 1.506 1.51182 1.3703 4.0991 -0.303 5.77889l-2.4238 2.43325" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
231
+ <path d="M13.9536 10c1.506 1.5118 1.3703 4.0991 -0.303 5.7789l-2.4238 2.4332 -2.42381 2.4333c-1.6733 1.6798 -4.25062 1.8159 -5.75659 0.3041 -1.50597 -1.5118 -1.37031 -4.0991 0.30299 -5.7789l2.42384 -2.4333" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
232
+ </svg>
233
+ )
234
+ : icon === "lock" ? (
235
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
236
+ <path d="M2 16c0 -2.8284 0 -4.2426 0.87868 -5.1213C3.75736 10 5.17157 10 8 10h8c2.8284 0 4.2426 0 5.1213 0.8787C22 11.7574 22 13.1716 22 16s0 4.2426 -0.8787 5.1213C20.2426 22 18.8284 22 16 22H8c-2.82843 0 -4.24264 0 -5.12132 -0.8787C2 20.2426 2 18.8284 2 16Z" stroke="#2134f1" stroke-width="1.5"></path>
237
+ <path d="M6 10V8c0 -3.31371 2.68629 -6 6 -6 3.3137 0 6 2.68629 6 6v2" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
238
+ </svg>
239
+ )
240
+ : icon === "lock-password" ? (
241
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
242
+ <path d="M2 16C2 13.1716 2 11.7574 2.87868 10.8787C3.75736 10 5.17157 10 8 10H16C18.8284 10 20.2426 10 21.1213 10.8787C22 11.7574 22 13.1716 22 16C22 18.8284 22 20.2426 21.1213 21.1213C20.2426 22 18.8284 22 16 22H8C5.17157 22 3.75736 22 2.87868 21.1213C2 20.2426 2 18.8284 2 16Z" stroke="#2134f1" stroke-width="1.5"></path>
243
+ <path d="M6 10V8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8V10" stroke="#2134f1" stroke-width="1.5" stroke-linecap="round"></path>
244
+ <path d="M8 16H8.009M11.991 16H12M15.991 16H16" stroke="#2134f1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
245
+ </svg>
246
+ )
247
+ : icon === "notification-unread" ? (
248
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
249
+ <path d="M22 10.5V12c0 4.714 0 7.0711 -1.4645 8.5355C19.0711 22 16.714 22 12 22c-4.71405 0 -7.07107 0 -8.53553 -1.4645C2 19.0711 2 16.714 2 12c0 -4.71405 0 -7.07107 1.46447 -8.53553C4.92893 2 7.28595 2 12 2h1.5" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
250
+ <path stroke="#2134f1" d="M16 5a3 3 0 1 0 6 0 3 3 0 1 0 -6 0" stroke-width="1.5"></path>
251
+ <path d="M7 14h9" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
252
+ <path d="M7 17.5h6" stroke="#2134f1" stroke-linecap="round" stroke-width="1.5"></path>
253
+ </svg>
254
+ )
255
+ : icon === "shield-line" ? (
256
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none">
257
+ <path d="M3 10.4167c0 -3.19763 0 -4.79642 0.37752 -5.33429 0.37751 -0.53787 1.8808 -1.05245 4.88739 -2.08162l0.57281 -0.19607C10.405 2.26824 11.1886 2 12 2c0.8114 0 1.595 0.26824 3.1623 0.80472l0.5728 0.19607c3.0066 1.02917 4.5099 1.54375 4.8874 2.08162C21 5.62028 21 7.21907 21 10.4167l0 1.5747c0 5.638 -4.239 8.3741 -6.8986 9.5359C13.38 21.8424 13.0193 22 12 22c-1.0193 0 -1.38 -0.1576 -2.10144 -0.4727C7.23896 20.3655 3 17.6294 3 11.9914l0 -1.5747Z" stroke="#2134f1" stroke-width="1.5"></path>
258
+ <path d="m3 11 9 -3 9 3" stroke="#2134f1" stroke-width="1.5"></path>
259
+ <path d="M12 2v19.5" stroke="#2134f1" stroke-width="1.5"></path>
260
+ </svg>
261
+ )
171
262
  : (
172
263
  <span></span>
173
264
  )