general-library-union 2.5.85 → 2.5.87

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": "general-library-union",
3
- "version": "2.5.85",
3
+ "version": "2.5.87",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/animations": "^18.0.4",
@@ -598,6 +598,27 @@ color: var(--color-700);
598
598
  .eleccion-modo .p-inputswitch .p-inputswitch-slider{
599
599
  color: #fff;
600
600
  }
601
+
602
+ /* Definición de la animación de escala solo para la bolita */
603
+ @keyframes scaleBall {
604
+ from {
605
+ transform: scale(0.8); /* Tamaño inicial de la bolita */
606
+ }
607
+ to {
608
+ transform: scale(1); /* Tamaño final de la bolita */
609
+ }
610
+ }
611
+
612
+ /* Aplicación de la animación de escala a la bolita (p-inputswitch-slider) */
613
+ .p-inputswitch-slider {
614
+ animation: scaleBall 0.6s ease-in-out; /* Duración y suavidad */
615
+ }
616
+
617
+ /* Solo aplicar la animación al cambiar de estado (checked) */
618
+ .p-inputswitch-checked .p-inputswitch-slider {
619
+ animation: scaleBall 0.6s ease-in-out; /* Ajusta duración y suavidad */
620
+ }
621
+
601
622
  /******************************************************************************
602
623
  * color border styles
603
624
  *****************************************************************************/