@mideind/netskrafl-react 3.2.2 → 3.2.3

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.
@@ -2321,18 +2321,6 @@ div.netskrafl-tile.dragging div.letterscore {
2321
2321
  }
2322
2322
  }
2323
2323
 
2324
- @-webkit-keyframes expand {
2325
- 0% {
2326
- transform: scale(1);
2327
- }
2328
- 40% {
2329
- transform: scale(1.05);
2330
- }
2331
- 100% {
2332
- transform: scale(1);
2333
- }
2334
- }
2335
-
2336
2324
  @keyframes slidein {
2337
2325
  0% {
2338
2326
  transform: scale(0);
@@ -2342,15 +2330,6 @@ div.netskrafl-tile.dragging div.letterscore {
2342
2330
  }
2343
2331
  }
2344
2332
 
2345
- @-webkit-keyframes slidein {
2346
- 0% {
2347
- transform: scale(0);
2348
- }
2349
- 100% {
2350
- transform: scale(1);
2351
- }
2352
- }
2353
-
2354
2333
  .netskrafl-container div.login-btn-large {
2355
2334
  text-align: center;
2356
2335
  font-size: 19px;
@@ -2507,7 +2486,6 @@ div.netskrafl-tile.dragging div.letterscore {
2507
2486
  .netskrafl-container div.right-tab.chat-alert > span.glyphicon {
2508
2487
  color: var(--cancel-button);
2509
2488
  animation: redBlink 1s infinite;
2510
- -webkit-animation: redBlink 1s infinite;
2511
2489
  }
2512
2490
 
2513
2491
  .netskrafl-container div.right-area {
@@ -2892,21 +2870,6 @@ div.netskrafl-tile.dragging div.letterscore {
2892
2870
  }
2893
2871
  }
2894
2872
 
2895
- @-webkit-keyframes colorPulseMobile {
2896
- 0% {
2897
- transform: scale(1);
2898
- }
2899
- 40% {
2900
- transform: scale(1.3);
2901
- }
2902
- 60% {
2903
- transform: scale(1.3);
2904
- }
2905
- 100% {
2906
- transform: scale(1);
2907
- }
2908
- }
2909
-
2910
2873
  .netskrafl-container span.score-mobile {
2911
2874
  display: inline-block;
2912
2875
  font-weight: 400;
@@ -2916,7 +2879,6 @@ div.netskrafl-tile.dragging div.letterscore {
2916
2879
 
2917
2880
  .netskrafl-container div.submitmove#move-mobile.word-great span.score-mobile {
2918
2881
  animation: colorPulseMobile 1.5s infinite;
2919
- -webkit-animation: colorPulseMobile 1.5s infinite;
2920
2882
  }
2921
2883
 
2922
2884
  .netskrafl-container div.submitmove#move-mobile span.glyphicon {
@@ -3754,128 +3716,6 @@ div.netskrafl-racktile {
3754
3716
  }
3755
3717
  }
3756
3718
 
3757
- @-webkit-keyframes selBlink {
3758
- 0% {
3759
- color: white;
3760
- background-color: var(--cancel-button);
3761
- border-color: var(--cancel-button);
3762
- }
3763
- 45% {
3764
- color: white;
3765
- background-color: var(--cancel-button);
3766
- border-color: var(--cancel-button);
3767
- }
3768
- 50% {
3769
- color: black;
3770
- background-color: white;
3771
- border-color: white;
3772
- }
3773
- 95% {
3774
- color: black;
3775
- background-color: white;
3776
- border-color: white;
3777
- }
3778
- 100% {
3779
- color: white;
3780
- background-color: var(--cancel-button);
3781
- border-color: var(--cancel-button);
3782
- }
3783
- }
3784
-
3785
- @keyframes selBlank {
3786
- 0% {
3787
- color: white;
3788
- background-color: var(--cancel-button);
3789
- border-color: var(--cancel-button);
3790
- }
3791
- 45% {
3792
- color: white;
3793
- background-color: var(--cancel-button);
3794
- border-color: var(--cancel-button);
3795
- }
3796
- 50% {
3797
- color: var(--blank-tile);
3798
- background-color: white;
3799
- border-color: white;
3800
- }
3801
- 95% {
3802
- color: var(--blank-tile);
3803
- background-color: white;
3804
- border-color: white;
3805
- }
3806
- 100% {
3807
- color: white;
3808
- background-color: var(--cancel-button);
3809
- border-color: var(--cancel-button);
3810
- }
3811
- }
3812
-
3813
- @-webkit-keyframes selBlank {
3814
- 0% {
3815
- color: white;
3816
- background-color: var(--cancel-button);
3817
- border-color: var(--cancel-button);
3818
- }
3819
- 45% {
3820
- color: white;
3821
- background-color: var(--cancel-button);
3822
- border-color: var(--cancel-button);
3823
- }
3824
- 50% {
3825
- color: var(--blank-tile);
3826
- background-color: white;
3827
- border-color: white;
3828
- }
3829
- 95% {
3830
- color: var(--blank-tile);
3831
- background-color: white;
3832
- border-color: white;
3833
- }
3834
- 100% {
3835
- color: white;
3836
- background-color: var(--cancel-button);
3837
- border-color: var(--cancel-button);
3838
- }
3839
- }
3840
-
3841
- /* Text-only animation for tiles (background handled by parent td) */
3842
-
3843
- @keyframes selBlinkText {
3844
- 0% {
3845
- color: white;
3846
- }
3847
- 45% {
3848
- color: white;
3849
- }
3850
- 50% {
3851
- color: black;
3852
- }
3853
- 95% {
3854
- color: black;
3855
- }
3856
- 100% {
3857
- color: white;
3858
- }
3859
- }
3860
-
3861
- @keyframes selBlankText {
3862
- 0% {
3863
- color: white;
3864
- }
3865
- 45% {
3866
- color: white;
3867
- }
3868
- 50% {
3869
- color: var(--blank-tile);
3870
- }
3871
- 95% {
3872
- color: var(--blank-tile);
3873
- }
3874
- 100% {
3875
- color: white;
3876
- }
3877
- }
3878
-
3879
3719
  @keyframes redBlink {
3880
3720
  0% {
3881
3721
  opacity: 1;
@@ -3894,24 +3734,6 @@ div.netskrafl-racktile {
3894
3734
  }
3895
3735
  }
3896
3736
 
3897
- @-webkit-keyframes redBlink {
3898
- 0% {
3899
- opacity: 1;
3900
- }
3901
- 30% {
3902
- opacity: 1;
3903
- }
3904
- 50% {
3905
- opacity: 0;
3906
- }
3907
- 70% {
3908
- opacity: 1;
3909
- }
3910
- 100% {
3911
- opacity: 1;
3912
- }
3913
- }
3914
-
3915
3737
  @keyframes opacityBlink {
3916
3738
  0% {
3917
3739
  opacity: 1;
@@ -3930,24 +3752,6 @@ div.netskrafl-racktile {
3930
3752
  }
3931
3753
  }
3932
3754
 
3933
- @-webkit-keyframes opacityBlink {
3934
- 0% {
3935
- opacity: 1;
3936
- }
3937
- 25% {
3938
- opacity: 1;
3939
- }
3940
- 75% {
3941
- opacity: 1;
3942
- }
3943
- 80% {
3944
- opacity: 0.1;
3945
- }
3946
- 100% {
3947
- opacity: 0.1;
3948
- }
3949
- }
3950
-
3951
3755
  .netskrafl-container div.sel {
3952
3756
  background-color: transparent;
3953
3757
  color: inherit;
@@ -3964,7 +3768,6 @@ div.netskrafl-blanktile.sel {
3964
3768
  .netskrafl-container div.board td:has(> div.sel),
3965
3769
  .netskrafl-container table.board td:has(> div.sel) {
3966
3770
  animation: selBlink 1.2s infinite;
3967
- -webkit-animation: selBlink 1.2s infinite;
3968
3771
  }
3969
3772
 
3970
3773
  /* Make the parent td match the background of an exchange-selected tile */
@@ -4052,15 +3855,6 @@ div.netskrafl-xchgsel {
4052
3855
  }
4053
3856
  }
4054
3857
 
4055
- @-webkit-keyframes fresh-appear {
4056
- 0% {
4057
- opacity: 0;
4058
- }
4059
- 100% {
4060
- opacity: 1;
4061
- }
4062
- }
4063
-
4064
3858
  div.netskrafl-freshtile {
4065
3859
  color: white;
4066
3860
  background-color: var(--autoplayer-color);
@@ -4069,10 +3863,6 @@ div.netskrafl-freshtile {
4069
3863
  animation-duration: 100ms;
4070
3864
  animation-delay: 0s;
4071
3865
  animation-fill-mode: forwards;
4072
- -webkit-animation-name: fresh-appear;
4073
- -webkit-animation-duration: 100ms;
4074
- -webkit-animation-delay: 0s;
4075
- -webkit-animation-fill-mode: forwards;
4076
3866
  }
4077
3867
 
4078
3868
  .netskrafl-container div.highlight0 {
@@ -4662,26 +4452,8 @@ div.highlight1.netskrafl-blanktile {
4662
4452
  }
4663
4453
  }
4664
4454
 
4665
- @-webkit-keyframes colorPulse {
4666
- 0% {
4667
- color: var(--ok-button);
4668
- }
4669
- 40% {
4670
- color: var(--cancel-button);
4671
- transform: scale(1.05);
4672
- }
4673
- 60% {
4674
- color: var(--cancel-button);
4675
- transform: scale(1.05);
4676
- }
4677
- 100% {
4678
- color: var(--ok-button);
4679
- }
4680
- }
4681
-
4682
4455
  .netskrafl-container div.score.word-great {
4683
4456
  animation: colorPulse 1.5s infinite;
4684
- -webkit-animation: colorPulse 1.5s infinite;
4685
4457
  border-color: var(--ok-button);
4686
4458
  }
4687
4459
 
@@ -5971,12 +5743,10 @@ div.highlight1.netskrafl-blanktile {
5971
5743
 
5972
5744
  .netskrafl-container .blink {
5973
5745
  animation: opacityBlink 1s infinite;
5974
- -webkit-animation: opacityBlink 1s infinite;
5975
5746
  }
5976
5747
 
5977
5748
  .netskrafl-container .opp-ready {
5978
5749
  animation: opacityBlink 1s infinite;
5979
- -webkit-animation: opacityBlink 1s infinite;
5980
5750
  }
5981
5751
 
5982
5752
  .netskrafl-container a.opp-ready:link,
@@ -8276,6 +8046,50 @@ div.netskrafl-container input[type="checkbox"] {
8276
8046
  }
8277
8047
  }
8278
8048
 
8049
+ /* Disable blinking/flashing animations for users who prefer reduced motion */
8050
+
8051
+ @media (prefers-reduced-motion: reduce) {
8052
+ .netskrafl-container .blinking {
8053
+ animation: none;
8054
+ }
8055
+ .netskrafl-container table.board td.center:empty::before {
8056
+ animation: none;
8057
+ }
8058
+ .netskrafl-container td.keyboard-target::after {
8059
+ animation: none;
8060
+ opacity: 0.8;
8061
+ }
8062
+ .netskrafl-container div.rack td:has(> div.sel),
8063
+ .netskrafl-container div.board td:has(> div.sel),
8064
+ .netskrafl-container table.board td:has(> div.sel) {
8065
+ animation: none;
8066
+ background-color: var(--cancel-button);
8067
+ border-color: var(--cancel-button);
8068
+ color: white;
8069
+ }
8070
+ .netskrafl-container .blink {
8071
+ animation: none;
8072
+ }
8073
+ .netskrafl-container .opp-ready {
8074
+ animation: none;
8075
+ }
8076
+ .netskrafl-container div.right-tab.chat-alert > span.glyphicon {
8077
+ animation: none;
8078
+ }
8079
+ .netskrafl-container div.opp-turn.flashing {
8080
+ animation: none;
8081
+ }
8082
+ .netskrafl-container div.score.word-great {
8083
+ animation: none;
8084
+ }
8085
+ .netskrafl-container div.submitmove#move-mobile.word-great span.score-mobile {
8086
+ animation: none;
8087
+ }
8088
+ .netskrafl-container div.animated-netskrafl-logo {
8089
+ animation: none;
8090
+ }
8091
+ }
8092
+
8279
8093
  /* ================= GÁTA DAGSINS STYLES =============== */
8280
8094
 
8281
8095
  /* Mobile styles for Gáta Dagsins */
@@ -10259,3 +10073,11 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
10259
10073
  flex: 1;
10260
10074
  }
10261
10075
  }
10076
+
10077
+ /* Disable blinking/flashing animations for users who prefer reduced motion */
10078
+
10079
+ @media (prefers-reduced-motion: reduce) {
10080
+ .netskrafl-container .thermometer-current-score.this-player .thermometer-current-circle {
10081
+ animation: none;
10082
+ }
10083
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mideind/netskrafl-react",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "React UI for Netskrafl",
5
5
  "repository": {
6
6
  "type": "git",