feat(core): adjust ai help island style and behavior, add animation (#7310)

- Move right-sidebar activeTab state into `RightSidebarService`
- Remove `styled` usage and adjust the UI
- Fix the issue that ai-button clicking not work when sidebar opened
- Add an animation if AI-Chat panel hasn't been opened.

![CleanShot 2024-06-24 at 18.10.27.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/14c86fbc-ad4c-44bf-93fe-ca3450db908b.gif)
This commit is contained in:
CatsJuice
2024-06-24 14:37:38 +00:00
parent 0918730274
commit b38c46649f
7 changed files with 204 additions and 126 deletions

View File

@@ -1,3 +1,8 @@
import styled from '@emotion/styled';
export { styled };
export {
/**
* @deprecated `@emotion/styled` is planned to be removed in the future. Do not use for new components.
**/
styled,
};