innoboxrr-form-core 2.2.0 → 2.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innoboxrr-form-core",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "El nucleo agnostico de los formularios innoboxrr: tema, archivos y zonas horarias.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -535,6 +535,29 @@
535
535
  box-shadow: var(--fe-shadow);
536
536
  }
537
537
 
538
+ /*
539
+ * Un menú que vive en la capa superior del navegador, con el atributo
540
+ * `popover`. El navegador ya se encarga de abrirlo, cerrarlo al pulsar fuera,
541
+ * cerrarlo con Escape y sacarlo por encima de todo; aquí solo hay que quitarle
542
+ * los estilos que trae de fábrica para que Floating UI pueda colocarlo.
543
+ */
544
+ .fe-menu[popover] {
545
+ position: fixed;
546
+ inset: auto;
547
+ margin: 0;
548
+ overflow: visible;
549
+ }
550
+
551
+ .fe-menu[popover]:popover-open {
552
+ animation: fe-fade-in 120ms ease;
553
+ }
554
+
555
+ .fe-menu-list {
556
+ list-style: none;
557
+ margin: 0;
558
+ padding: 0;
559
+ }
560
+
538
561
  .fe-menu-item {
539
562
  display: flex;
540
563
  align-items: center;
package/src/icons.js CHANGED
@@ -64,6 +64,17 @@ export const defaultIcons = {
64
64
  users: 'fa6-solid:users',
65
65
  gift: 'fa6-solid:gift',
66
66
  file: 'fa6-solid:file',
67
+ media: 'fa6-solid:photo-film',
68
+
69
+ // EDICION
70
+ save: 'fa6-solid:floppy-disk',
71
+ copy: 'fa6-solid:clone',
72
+ drag: 'fa6-solid:grip-vertical',
73
+
74
+ // GRABACION
75
+ record: 'fa6-solid:microphone',
76
+ pause: 'fa6-solid:pause',
77
+ play: 'fa6-solid:play',
67
78
  }
68
79
 
69
80
  /** @type {IconMap} */