diff --git a/packages/layout-kit/src/index.tsx b/packages/layout-kit/src/index.tsx index 745c38fc..cdce7c33 100644 --- a/packages/layout-kit/src/index.tsx +++ b/packages/layout-kit/src/index.tsx @@ -10,7 +10,7 @@ import type { type CommonSpaceNumber = 2 | 4 | 8 | 12 | 16 | 24; -interface IFlexbox { +export interface IFlexbox { direction?: FlexDirection; distribution?: ContentDistribution; align?: ContentPosition; diff --git a/packages/user-panel/CHANGELOG.md b/packages/user-panel/CHANGELOG.md index 03492b48..82904704 100644 --- a/packages/user-panel/CHANGELOG.md +++ b/packages/user-panel/CHANGELOG.md @@ -1,5 +1,101 @@ # Changelog +# @arvinxu/user-panel 1.0.0 (2021-11-28) + +### ♻ 重构 + +- 优化登录状态逻辑 ([a487a54](https://github.com/arvinxx/components/commit/a487a54)) +- 优化类名 ([c5d3149](https://github.com/arvinxx/components/commit/c5d3149)) +- 使用 @arvinxu/i18n 重构国际化 ([22d8aaf](https://github.com/arvinxx/components/commit/22d8aaf)) + +### ✅ 测试 + +- fix test ([575be7a](https://github.com/arvinxx/components/commit/575be7a)) +- 优化测试 ([bb67f27](https://github.com/arvinxx/components/commit/bb67f27)) +- 修正测试快照 ([b88d809](https://github.com/arvinxx/components/commit/b88d809)) +- 修正测试快照 ([c378456](https://github.com/arvinxx/components/commit/c378456)) +- 忽略不必要文件的覆盖率 ([b2e92fd](https://github.com/arvinxx/components/commit/b2e92fd)) +- 更新测试快照 ([f5390b5](https://github.com/arvinxx/components/commit/f5390b5)) +- 更新测试快照 ([2bc9567](https://github.com/arvinxx/components/commit/2bc9567)) +- 更新测试快照 ([f6d012f](https://github.com/arvinxx/components/commit/f6d012f)) +- 补充测试 ([4b4ddd3](https://github.com/arvinxx/components/commit/4b4ddd3)) +- 补充测试 ([4fb0732](https://github.com/arvinxx/components/commit/4fb0732)) +- 补充测试 ([bfa60e1](https://github.com/arvinxx/components/commit/bfa60e1)) +- 补充测试 ([6a009d9](https://github.com/arvinxx/components/commit/6a009d9)) + +### ✨ 新特性 + +- 从 ant design pro 迁移 ([0209bd5](https://github.com/arvinxx/components/commit/0209bd5)) +- 优化样式 & 新增 props ([d6fe164](https://github.com/arvinxx/components/commit/d6fe164)) +- 优化类型 ([6be12c1](https://github.com/arvinxx/components/commit/6be12c1)) +- 优化类型 ([c993874](https://github.com/arvinxx/components/commit/c993874)) +- 增加 classname props ([7e222ec](https://github.com/arvinxx/components/commit/7e222ec)) +- 增加 classname props ([c88da1d](https://github.com/arvinxx/components/commit/c88da1d)) +- 完成用户登录组件 Props 设计 ([11d0762](https://github.com/arvinxx/components/commit/11d0762)) +- 暴露 Login 组件和类型 ([114fcbe](https://github.com/arvinxx/components/commit/114fcbe)) +- 添加组件头部 logo 和标题 ([fde5195](https://github.com/arvinxx/components/commit/fde5195)) +- 添加获取验证码和登录 props ([ffcd57b](https://github.com/arvinxx/components/commit/ffcd57b)) +- 添加页脚元素 ([66ecc8a](https://github.com/arvinxx/components/commit/66ecc8a)) +- 补充类型说明 ([4d832de](https://github.com/arvinxx/components/commit/4d832de)) + +### 🎫 杂项 + +- 优化组件架构 ([0d19251](https://github.com/arvinxx/components/commit/0d19251)) +- 修正 lint ([ce90e46](https://github.com/arvinxx/components/commit/ce90e46)) +- 初始化 user panel 组件 ([a466d35](https://github.com/arvinxx/components/commit/a466d35)) +- 尝试修正样式引入 bug ([1d768de](https://github.com/arvinxx/components/commit/1d768de)) +- 清理代码 ([3bf7ae2](https://github.com/arvinxx/components/commit/3bf7ae2)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.1 [skip ci] ([b2c37cc](https://github.com/arvinxx/components/commit/b2c37cc)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.10 [skip ci] ([cc8a310](https://github.com/arvinxx/components/commit/cc8a310)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.11 [skip ci] ([615c350](https://github.com/arvinxx/components/commit/615c350)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.12 [skip ci] ([92f96b8](https://github.com/arvinxx/components/commit/92f96b8)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.13 [skip ci] ([00d32ee](https://github.com/arvinxx/components/commit/00d32ee)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.14 [skip ci] ([78cb6d5](https://github.com/arvinxx/components/commit/78cb6d5)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.15 [skip ci] ([061ce38](https://github.com/arvinxx/components/commit/061ce38)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.16 [skip ci] ([63a1f26](https://github.com/arvinxx/components/commit/63a1f26)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.17 [skip ci] ([12d38ac](https://github.com/arvinxx/components/commit/12d38ac)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.18 [skip ci] ([f938373](https://github.com/arvinxx/components/commit/f938373)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.19 [skip ci] ([f9e94b8](https://github.com/arvinxx/components/commit/f9e94b8)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.2 [skip ci] ([777d5e5](https://github.com/arvinxx/components/commit/777d5e5)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.3 [skip ci] ([a091e3c](https://github.com/arvinxx/components/commit/a091e3c)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.4 [skip ci] ([97b909d](https://github.com/arvinxx/components/commit/97b909d)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.5 [skip ci] ([8c59710](https://github.com/arvinxx/components/commit/8c59710)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.6 [skip ci] ([a5f58f3](https://github.com/arvinxx/components/commit/a5f58f3)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.7 [skip ci] ([e849fc2](https://github.com/arvinxx/components/commit/e849fc2)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.8 [skip ci] ([c230969](https://github.com/arvinxx/components/commit/c230969)) +- **自动发布**: @arvinxu/user-panel@1.0.0-beta.9 [skip ci] ([e4f1fcb](https://github.com/arvinxx/components/commit/e4f1fcb)) +- 调整文档目录位置 ([fa90112](https://github.com/arvinxx/components/commit/fa90112)) + +### 🐛 修复 + +- 优化文案 ([944cab4](https://github.com/arvinxx/components/commit/944cab4)) +- 修正类型错误 ([7ee4314](https://github.com/arvinxx/components/commit/7ee4314)) +- 修正类型错误 ([0a1796e](https://github.com/arvinxx/components/commit/0a1796e)) +- 修正缺少 loginStatus props 的 bug ([33e514c](https://github.com/arvinxx/components/commit/33e514c)) +- 修正验证码方法收不到字段的 bug ([9248004](https://github.com/arvinxx/components/commit/9248004)) +- 尝试修正类型定义 ([ef96618](https://github.com/arvinxx/components/commit/ef96618)) + +### 👷 构建系统 + +- 优化 pkg 配置 ([2df431f](https://github.com/arvinxx/components/commit/2df431f)) +- 优化依赖 ([8770781](https://github.com/arvinxx/components/commit/8770781)) +- 修复构建报错的问题 ([d0cb034](https://github.com/arvinxx/components/commit/d0cb034)) +- 修正依赖构建方式 ([6213e75](https://github.com/arvinxx/components/commit/6213e75)) +- 修正依赖版本 ([a18eb9b](https://github.com/arvinxx/components/commit/a18eb9b)) +- 修正构建问题 ([4bb1168](https://github.com/arvinxx/components/commit/4bb1168)) +- 去除重复依赖 ([c00d120](https://github.com/arvinxx/components/commit/c00d120)) +- 用 namespace 组织类型 ([2e73423](https://github.com/arvinxx/components/commit/2e73423)) +- 触发构建 ([58086e0](https://github.com/arvinxx/components/commit/58086e0)) + +### 💄 样式 + +- 优化 footer 样式 ([c0f1e25](https://github.com/arvinxx/components/commit/c0f1e25)) +- 优化容器样式 ([188154c](https://github.com/arvinxx/components/commit/188154c)) + +### 💥 BREAKING CHANGES + +- 调整了 register 和 forgot 的接口用法 + # @arvinxu/user-panel [1.0.0-beta.19](https://github.com/arvinxx/components/compare/@arvinxu/user-panel@1.0.0-beta.18...@arvinxu/user-panel@1.0.0-beta.19) (2021-09-25) ### 👷 构建系统 diff --git a/packages/user-panel/package.json b/packages/user-panel/package.json index 3ddc9cf4..d8919370 100644 --- a/packages/user-panel/package.json +++ b/packages/user-panel/package.json @@ -1,6 +1,6 @@ { "name": "@arvinxu/user-panel", - "version": "1.0.0-beta.19", + "version": "1.0.0", "files": [ "lib", "es"