diff --git a/.changeset/breezy-pumas-rest.md b/.changeset/breezy-pumas-rest.md index 34c44bda2..4e6f35fa6 100644 --- a/.changeset/breezy-pumas-rest.md +++ b/.changeset/breezy-pumas-rest.md @@ -1,6 +1,6 @@ --- -"@hi-ui/scrollbar": patch -"@hi-ui/hiui": patch +"@hi-ui/scrollbar": minor +"@hi-ui/hiui": minor --- -feat(scrollbar): 滚动条固定在屏幕底部 (#3019) +feat(scrollbar): 支持滚动条吸底 (#3019) diff --git a/.changeset/clever-monkeys-speak.md b/.changeset/clever-monkeys-speak.md deleted file mode 100644 index 541cde5b0..000000000 --- a/.changeset/clever-monkeys-speak.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@hi-ui/hiui": minor ---- - -feat(select): Add searchOnInit api -feat(check-select): Add searchOnInit api diff --git a/.changeset/fuzzy-radios-know.md b/.changeset/fuzzy-radios-know.md index 793dcb29d..6fddf5bee 100644 --- a/.changeset/fuzzy-radios-know.md +++ b/.changeset/fuzzy-radios-know.md @@ -1,5 +1,6 @@ --- "@hi-ui/table": minor +"@hi-ui/hiui": minor --- -feat: 将表格中的交互统一加上回调事件 +feat(table): 将表格中的交互统一加上回调事件 (#2977) diff --git a/.changeset/rude-ways-look.md b/.changeset/rude-ways-look.md index dec82e2c1..2779c55c7 100644 --- a/.changeset/rude-ways-look.md +++ b/.changeset/rude-ways-look.md @@ -2,6 +2,8 @@ "@hi-ui/use-search-mode": minor "@hi-ui/check-select": minor "@hi-ui/select": minor +"@hi-ui/hiui": minor --- -feat: Add searchOnInit api +feat(select): Add searchOnInit api (#3004) +feat(check-select): Add searchOnInit api (#3004) diff --git a/.changeset/shy-coats-crash.md b/.changeset/shy-coats-crash.md deleted file mode 100644 index 335876994..000000000 --- a/.changeset/shy-coats-crash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hi-ui/hiui": patch ---- - -feat(table): 将表格中的交互统一加上回调事件 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bfd4fd7f0..9da6a37a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,6 @@ jobs: file: package.json path: ./packages/ui/hiui - - name: Read ChangeLog id: changelog uses: BinPar/read-conventional-commit-changelog@v2.0.2 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 048bc3ad5..fda90e295 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,7 +42,7 @@ cd hiui git checkout -b ``` -> 分支名建议是 hotfix/# 或者 feature/# +> 分支名建议是 hotfix/组件名/IssueId 或者 feature/组件名/IssueId ## 开发流程 @@ -66,7 +66,7 @@ yarn build yarn storybook ``` -- 生成变更记录文件(有组件代码修改时,需要记录变更) +- 生成变更记录文件(有组件代码修改时,需要记录变更,用于组件版本号变更和生成日志) ```sh yarn cs @@ -134,7 +134,7 @@ yarn run generate-docs ### 发布流程 基于 GitHub Action 自动完成 CI/CD
-1. 修改版本号和 changelog +1. 修改版本号和 Changelog 操作:Actions -> Version -> Run workflow 2. 自动构建和发版 - 第1步操作完后会自动生成一个发版的 Pull Request,项目 owner 合并后会自动执行 Release 任务,进行代码构建和发布到 npm + 第1步操作完后会自动生成一个发版的 Pull Request,项目 Owner 合并后会自动执行 Release 任务,进行代码构建和发布到 npm diff --git a/packages/ui/cascader/stories/select-close.stories.tsx b/packages/ui/cascader/stories/select-close.stories.tsx index 43ba4efb2..d6419f684 100644 --- a/packages/ui/cascader/stories/select-close.stories.tsx +++ b/packages/ui/cascader/stories/select-close.stories.tsx @@ -2,7 +2,7 @@ import React from 'react' import Cascader from '../src' /** - * @title 控制选择时是否关闭弹窗 + * @title 选择后是否关闭弹窗 * @desc 用于 changeOnSelect 模式下控制点击父节点时是否关闭弹窗 */ export const SelectClose = () => { diff --git a/packages/ui/check-cascader/stories/tag-input-wrap.stories.tsx b/packages/ui/check-cascader/stories/tag-input-wrap.stories.tsx index 8630ee116..f0c85413e 100644 --- a/packages/ui/check-cascader/stories/tag-input-wrap.stories.tsx +++ b/packages/ui/check-cascader/stories/tag-input-wrap.stories.tsx @@ -2,7 +2,7 @@ import React from 'react' import CheckCascader from '../src' /** - * @title 换行展示选中内容 + * @title 展示全部已选项 * @desc 设置后,选中内容超出宽度时会换行展示 */ export const TagInputWrap = () => { @@ -76,7 +76,7 @@ export const TagInputWrap = () => { return ( <> -

换行展示选中内容

+

展示全部已选项

{ const [data] = React.useState([ diff --git a/packages/ui/check-select/stories/tag-input-wrap.stories.tsx b/packages/ui/check-select/stories/tag-input-wrap.stories.tsx index 3ce7f4a89..c487be36c 100644 --- a/packages/ui/check-select/stories/tag-input-wrap.stories.tsx +++ b/packages/ui/check-select/stories/tag-input-wrap.stories.tsx @@ -2,7 +2,7 @@ import React from 'react' import CheckSelect from '../src' /** - * @title 换行展示选中内容 + * @title 展示全部已选项 * @desc 设置后,选中内容超出宽度时会换行展示 */ export const TagInputWrap = () => { @@ -23,7 +23,7 @@ export const TagInputWrap = () => { return ( <> -

换行展示选中内容

+

展示全部已选项

{ @@ -88,7 +88,7 @@ export const TagInputWrap = () => { return ( <> -

换行展示选中内容

+

展示全部已选项

{ const [activeId, setActiveId] = React.useState('xiaomi1') diff --git a/packages/ui/tree/stories/action-render.stories.tsx b/packages/ui/tree/stories/action-render.stories.tsx index 5e350c409..e2d21de3f 100644 --- a/packages/ui/tree/stories/action-render.stories.tsx +++ b/packages/ui/tree/stories/action-render.stories.tsx @@ -5,8 +5,8 @@ import PopConfirm from '@hi-ui/pop-confirm' import { PlusOutlined, DuplicateOutlined, EditOutlined, DeleteOutlined } from '@hi-ui/icons' /** - * @title 自定义可编辑树操作项 - * @desc 用于操作菜单放在外面的场景 + * @title 自定义编辑项 + * @desc 用于编辑树操作菜单显示在外面的场景 */ export const ActionRender = () => { const ActionTree = useTreeAction(Tree) diff --git a/packages/ui/tree/stories/expand-on-click.stories.tsx b/packages/ui/tree/stories/expand-on-click.stories.tsx index 10def7596..959d8bc2f 100644 --- a/packages/ui/tree/stories/expand-on-click.stories.tsx +++ b/packages/ui/tree/stories/expand-on-click.stories.tsx @@ -2,7 +2,7 @@ import React from 'react' import Tree from '../src' /** - * @title 选中节点时展开其子节点 + * @title 选中时展开子节点 */ export const ExpandOnSelect = () => { return (