10000 Transitions by Rich-Harris · Pull Request #525 · sveltejs/svelte · GitHub
[go: up one dir, main page]

Skip to content

Transitions #525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
May 3, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
2784ae0
parse transition directives
Rich-Harris Apr 25, 2017
4fa7765
failing test for intro transition
Rich-Harris Apr 25, 2017
9df2243
Merge branch 'master' into gh-7
Rich-Harris Apr 25, 2017
d0c0fbc
add transitions property to default export, track intros/outros in Block
Rich-Harris Apr 26, 2017
8ccad1f
first working intro transition, woooo
Rich-Harris Apr 26, 2017
6ed2a6c
update tests
Rich-Harris Apr 26, 2017
53c5c32
allow parameter-less transitions
Rich-Harris Apr 26, 2017
2a5b0ee
support very basic outro transitions
Rich-Harris Apr 26, 2017
7f76ab2
Merge branch 'master' into gh-7
Rich-Harris Apr 30, 2017
aa67f8b
abort transitions
Rich-Harris Apr 30, 2017
45a9ce0
handle bidirectional transitions differently
Rich-Harris Apr 30, 2017
806b098
CSS transitions
Rich-Harris Apr 30, 2017
d63f80f
never abort transitions, they are either bidi or non-abortable
Rich-Harris Apr 30, 2017
5638a76
restart animations on secondary intro, various bits of cleanup
Rich-Harris Apr 30, 2017
5bee31f
get basic intro transition test passing
Rich-Harris May 1, 2017
26ed672
some more transition tests, albeit somewhat ugly
Rich-Harris May 1, 2017
dfe00d8
support dynamic simple if-blocks
Rich-Harris May 1, 2017
ec0e4a6
support transitions in compound if-blocks
Rich-Harris May 1, 2017
07f6ec5
only apply easing function once!
Rich-Harris May 1, 2017
f5bc3e3
remove method is unused
Rich-Harris May 1, 2017
f76fac2
tighten up transition tests
Rich-Harris May 1, 2017
65064cb
improve deindent slightly — allow inline false expressions (which get…
Rich-Harris May 1, 2017
a2cd983
intro transitions in each-blocks
Rich-Harris May 1, 2017
2d533f9
remove redundant ternary
Rich-Harris May 1, 2017
42af2bb
fix mount order of keyed each-block with intros
Rich-Harris May 1, 2017
f06eced
unkeyed each-blocks with outros
Rich-Harris May 1, 2017
22ac50a
outros on keyed each-blocks
Rich-Harris May 1, 2017
b8affd4
simplify/unify transitions
Rich-Harris May 1, 2017
8da7019
rename styles method to css - less ambiguity over what it returns, no…
Rich-Harris May 3, 2017
dee8694
merge master -> gh-7
Rich-Harris May 3, 2017
e796fef
stringify helpers before bundling
Rich-Harris May 3, 2017
bdfa01b
fix script path, duh
Rich-Harris May 3, 2017
d7b3f2e
lint after build
Rich-Harris May 3, 2017
90adb3b
gah node 4
Rich-Harris May 3, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update tests
  • Loading branch information
Rich-Harris committed Apr 26, 2017
commit 6ed2a6c78549624ca62eb464b0acf90deffe52a8
2 changes: 1 addition & 1 deletion test/js/samples/collapses-text-around-comments/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function SvelteComponent ( options ) {

this._handlers = Object.create( null );

this._root = options._root;
this._root = options._root || this;
this._yield = options._yield;

this._torndown = false;
Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/computed-collapsed-if/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function SvelteComponent ( options ) {

this._handlers = Object.create( null );

this._root = options._root;
this._root = options._root || this;
this._yield = options._yield;

this._torndown = false;
Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/each-block-changed-check/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function SvelteComponent ( options ) {

this._handlers = Object.create( null );

this._root = options._root;
this._root = options._root || this;
this._yield = options._yield;

this._torndown = false;
Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/event-handlers-custom/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function SvelteComponent ( options ) {

this._handlers = Object.create( null );

this._root = options._root;
this._root = options._root || this;
this._yield = options._yield;

this._torndown = false;
Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/if-block-no-update/expected.js
8000
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function SvelteComponent ( options ) {

this._handlers = Object.create( null );

this._root = options._root;
this._root = options._root || this;
this._yield = options._yield;

this._torndown = false;
Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/if-block-simple/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function SvelteComponent ( options ) {

this._handlers = Object.create( null );

this._root = options._root;
this._root = options._root || this;
this._yield = options._yield;

this._torndown = false;
Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/use-elements-as-anchors/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function SvelteComponent ( options ) {

this._handlers = Object.create( null );

this._root = options._root;
this._root = options._root || this;
this._yield = options._yield;

this._torndown = false;
Expand Down
0