breaking(header-action): use SlideParams to type transition prop (#1163)

This commit is contained in:
metonym 2022-03-12 14:35:59 -08:00 committed by GitHub
commit 47866b1d51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 41 deletions

View file

@ -4517,8 +4517,8 @@
{
"name": "transition",
"kind": "let",
"description": "Customize the panel transition (i.e., `transition:slide`)\nSet to `false` to disable the transition",
"type": "false | HeaderActionSlideTransition",
"description": "Customize the panel transition (i.e., `transition:slide`).\nSet to `false` to disable the transition",
"type": "false | import(\"svelte/transition\").SlideParams",
"value": "{ duration: 200 }",
"isFunction": false,
"isFunctionDeclaration": false,
@ -4539,13 +4539,7 @@
{ "type": "forwarded", "name": "click", "element": "button" },
{ "type": "dispatched", "name": "close" }
],
"typedefs": [
{
"type": "{ delay?: number; duration?: number; easing?: (t: number) => number; }",
"name": "HeaderActionSlideTransition",
"ts": "interface HeaderActionSlideTransition { delay?: number; duration?: number; easing?: (t: number) => number; }"
}
],
"typedefs": [],
"rest_props": { "type": "Element", "name": "button" }
},
{