{"id":19442499,"url":"https://github.com/zsokami/transition","last_synced_at":"2026-03-19T09:54:48.185Z","repository":{"id":153698841,"uuid":"528887397","full_name":"zsokami/transition","owner":"zsokami","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-26T05:41:29.000Z","size":81,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T04:05:37.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://zsokami-transition.netlify.app/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zsokami.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-25T14:29:04.000Z","updated_at":"2023-05-19T02:01:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"d440ff27-1379-44dd-b2b3-093a5293de14","html_url":"https://github.com/zsokami/transition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zsokami/transition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsokami%2Ftransition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsokami%2Ftransition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsokami%2Ftransition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsokami%2Ftransition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zsokami","download_url":"https://codeload.github.com/zsokami/transition/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsokami%2Ftransition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28931073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T15:39:46.640Z","updated_at":"2026-01-31T06:02:38.151Z","avatar_url":"https://github.com/zsokami.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# transition\n\nVite + Vue3\n\n这个是用 CSS transition 实现的排行榜过渡动画，可以参考思路，不保证兼容性\n\n这个是基于数据驱动的思路：\n* 直接修改数组元素顺序\n* dom 更新前，获取 top\n* dom 更新后，计算旧 top 和新 top 差作为 y 位移值\n* 下一帧，设置 y 位移值为 0，执行过渡动画\n\n未来将添加使用 `\u003cTransitionGroup\u003e` 的 Demo\n\n## Recommended IDE Setup\n\n[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).\n\n## Project Setup\n\n```sh\nnpm install\n```\n\n### Compile and Hot-Reload for Development\n\n```sh\nnpm run dev\n```\n\n### Type-Check, Compile and Minify for Production\n\n```sh\nnpm run build\n```\n\n### Run Unit Tests with [Vitest](https://vitest.dev/)\n\n```sh\nnpm run test:unit\n```\n\n### Lint with [ESLint](https://eslint.org/)\n\n```sh\nnpm run lint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzsokami%2Ftransition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzsokami%2Ftransition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzsokami%2Ftransition/lists"}