halo-admin/packages/components
Ryan Wang fdf964b18d
perf: improve theme preview modal (#683)
#### What type of PR is this?

/kind improvement
/milestone 2.0

#### What this PR does / why we need it:

重构主题预览弹框,支持选择主题以及针对主题进行设置。

todolist:

- [x] 支持保存之后自动刷新预览区域。
- [x] 优化 Tabs 组件,支持横向滚动以解决设置项过多时,选项卡的样式问题。

#### Screenshots:

https://user-images.githubusercontent.com/21301288/200233823-fe317efe-536a-47a9-9495-efdde39be7ca.mp4


#### Special notes for your reviewer:

测试方式:

1. 需要先执行 `pnpm build:packages`
2. 进入主题管理,点击右上角的预览即可打开主题预览窗口

#### Does this PR introduce a user-facing change?

```release-note
重构主题预览弹框,支持选择主题以及针对主题进行设置。
```
2022-11-07 07:12:15 +00:00
..
src perf: improve theme preview modal (#683) 2022-11-07 07:12:15 +00:00
.eslintrc.cjs chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
env.d.ts chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
histoire.config.ts chore: bump histoire version 2022-08-14 11:59:35 +08:00
package.json feat: add preset language support for codemirror components (#675) 2022-11-01 06:18:16 +00:00
postcss.config.js chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
prettier.config.js chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tailwind.config.js refactor: admin ui theme system 2022-07-14 11:38:13 +08:00
tsconfig.app.json feat: refine the configuration of unplugin-icons 2022-07-03 16:50:25 +08:00
tsconfig.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tsconfig.vite-config.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tsconfig.vitest.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
vite.config.ts perf: refine user detail page 2022-09-27 16:47:13 +08:00