@massimo-cassandro/minimo 1.24.6 → 1.24.7

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": "@massimo-cassandro/minimo",
3
- "version": "1.24.6",
3
+ "version": "1.24.7",
4
4
  "description": "Light css framework & utilities",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -129,7 +129,10 @@
129
129
 
130
130
  .mAnimated {
131
131
  transform: translateY(-500%);
132
- animation: dialog-in .3s ease-out;
132
+
133
+ @media (prefers-reduced-motion: no-preference) {
134
+ animation: dialog-in .3s ease-out;
135
+ }
133
136
 
134
137
  &[open] {
135
138
  transform: none;
@@ -15,6 +15,7 @@
15
15
  border: var(--snackbar-outer-border);
16
16
  border-radius: var(--snackbar-outer-border-radius);
17
17
  box-shadow: var(--snackbar-outer-drop-shadow);
18
+
18
19
  animation: slide-in .3s cubic-bezier(.34, 1.56, .64, 1) forwards;
19
20
 
20
21
  &.isHiding {
@@ -196,9 +196,12 @@ html, body {
196
196
  cursor: w-resize;
197
197
  background-color: var(--uspg-icon-box-bg, var(--uspg-link-color, #fc0));
198
198
  border-radius: 50%;
199
- /* transition: all .2s ease-in-out; */
200
- /* duration | easing-function | delay | iteration-count | direction | name */
201
- animation: .2s ease-in 2s 2 reverse icon-shaking;
199
+
200
+ @media (prefers-reduced-motion: no-preference) {
201
+ /* transition: all .2s ease-in-out; */
202
+ /* duration | easing-function | delay | iteration-count | direction | name */
203
+ animation: .2s ease-in 2s 2 reverse icon-shaking;
204
+ }
202
205
 
203
206
  @media (hover: hover) {
204
207
  &:hover {