Skip to content

Commit 558a1e8

Browse files
committed
- set animatin-play-state based on if it's running
- set transition on base classes instead of when running - upgrade dependencies
1 parent 171222e commit 558a1e8

File tree

7 files changed

+2347
-1776
lines changed

7 files changed

+2347
-1776
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Logs
22

3+
## v2.0.2 (upcoming)
4+
5+
- set animatin-play-state based on if it's running
6+
- set transition on base classes instead of when running
7+
- upgrade dependencies
8+
9+
310
## v2.0.1
411

512
- limit transition to only the style we need to animate.

dist/index.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
z-index: -1;
2727
transition: all 0.3s;
2828
transition-timing-function: ease-in;
29+
animation-play-state: paused;
2930
}
3031
.ld-ext-right > .ld > *,
3132
.ld-ext-left > .ld > *,
@@ -53,42 +54,51 @@
5354
opacity: 1;
5455
z-index: auto;
5556
visibility: visible;
57+
animation-play-state: running;
5658
}
5759
.ld-ext-right,
5860
.ld-ext-left,
5961
.ld-ext-bottom,
6062
.ld-ext-top {
6163
transition-timing-function: ease-in;
6264
}
63-
.ld-ext-right.running {
65+
.ld-ext-right {
6466
transition: padding-right 0.3s;
67+
}
68+
.ld-ext-right.running {
6569
padding-right: 2.5em !important;
6670
}
6771
.ld-ext-right > .ld {
6872
top: 50%;
6973
left: auto;
7074
right: 1.25em;
7175
}
72-
.ld-ext-left.running {
76+
.ld-ext-left {
7377
transition: padding-left 0.3s;
78+
}
79+
.ld-ext-left.running {
7480
padding-left: 2.5em !important;
7581
}
7682
.ld-ext-left > .ld {
7783
top: 50%;
7884
right: auto;
7985
left: 1.25em;
8086
}
81-
.ld-ext-bottom.running {
87+
.ld-ext-bottom {
8288
transition: padding-bottom 0.3s;
89+
}
90+
.ld-ext-bottom.running {
8391
padding-bottom: 2.5em !important;
8492
}
8593
.ld-ext-bottom > .ld {
8694
top: auto;
8795
left: 50%;
8896
bottom: 1.25em;
8997
}
90-
.ld-ext-top.running {
98+
.ld-ext-top {
9199
transition: padding-top 0.3s;
100+
}
101+
.ld-ext-top.running {
92102
padding-top: 2.5em !important;
93103
}
94104
.ld-ext-top > .ld {

dist/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)