Skip to content

Commit

Permalink
Update changeset content (#3038)
Browse files Browse the repository at this point in the history
* chore: 修改变更记录文件中的版本号语义

* docs: 优化组件示例文案

* chore: 贡献指南文案优化
  • Loading branch information
zyprepare authored Nov 8, 2024
1 parent a8b24b6 commit 235aa1d
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 33 deletions.
6 changes: 3 additions & 3 deletions .changeset/breezy-pumas-rest.md
Original file line number Diff line number Diff line change
@@ -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)
6 changes: 0 additions & 6 deletions .changeset/clever-monkeys-speak.md

This file was deleted.

3 changes: 2 additions & 1 deletion .changeset/fuzzy-radios-know.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
"@hi-ui/table": minor
"@hi-ui/hiui": minor
---

feat: 将表格中的交互统一加上回调事件
feat(table): 将表格中的交互统一加上回调事件 (#2977)
4 changes: 3 additions & 1 deletion .changeset/rude-ways-look.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
5 changes: 0 additions & 5 deletions .changeset/shy-coats-crash.md

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:
file: package.json
path: ./packages/ui/hiui


- name: Read ChangeLog
id: changelog
uses: BinPar/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ cd hiui
git checkout -b <BRANCH_NAME>
```

> 分支名建议是 hotfix/#<IssueId> 或者 feature/#<IssueId>
> 分支名建议是 hotfix/组件名/IssueId 或者 feature/组件名/IssueId
## 开发流程

Expand All @@ -66,7 +66,7 @@ yarn build
yarn storybook
```

- 生成变更记录文件(有组件代码修改时,需要记录变更)
- 生成变更记录文件(有组件代码修改时,需要记录变更,用于组件版本号变更和生成日志

```sh
yarn cs
Expand Down Expand Up @@ -134,7 +134,7 @@ yarn run generate-docs

### 发布流程
基于 GitHub Action 自动完成 CI/CD <br>
1. 修改版本号和 changelog
1. 修改版本号和 Changelog
操作:Actions -> Version -> Run workflow
2. 自动构建和发版
第1步操作完后会自动生成一个发版的 Pull Request,项目 owner 合并后会自动执行 Release 任务,进行代码构建和发布到 npm
第1步操作完后会自动生成一个发版的 Pull Request,项目 Owner 合并后会自动执行 Release 任务,进行代码构建和发布到 npm
2 changes: 1 addition & 1 deletion packages/ui/cascader/stories/select-close.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import Cascader from '../src'

/**
* @title 控制选择时是否关闭弹窗
* @title 选择后是否关闭弹窗
* @desc 用于 changeOnSelect 模式下控制点击父节点时是否关闭弹窗
*/
export const SelectClose = () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/check-cascader/stories/tag-input-wrap.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import CheckCascader from '../src'

/**
* @title 换行展示选中内容
* @title 展示全部已选项
* @desc 设置后,选中内容超出宽度时会换行展示
*/
export const TagInputWrap = () => {
Expand Down Expand Up @@ -76,7 +76,7 @@ export const TagInputWrap = () => {

return (
<>
<h1>换行展示选中内容</h1>
<h1>展示全部已选项</h1>
<div className="cascader-tag-input-wrap__wrap">
<CheckCascader
style={{ width: 240 }}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/check-select/stories/custom-render.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Space from '@hi-ui/space'
import CheckSelect from '../src'

/**
* @title 自定义选中内容渲染
* @title 自定义触发器
*/
export const CustomRender = () => {
const [data] = React.useState([
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/check-select/stories/tag-input-wrap.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import CheckSelect from '../src'

/**
* @title 换行展示选中内容
* @title 展示全部已选项
* @desc 设置后,选中内容超出宽度时会换行展示
*/
export const TagInputWrap = () => {
Expand All @@ -23,7 +23,7 @@ export const TagInputWrap = () => {

return (
<>
<h1>换行展示选中内容</h1>
<h1>展示全部已选项</h1>
<div className="check-select-tag-input-wrap__wrap">
<CheckSelect
style={{ width: 240 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import CheckTreeSelect from '../src'

/**
* @title 换行展示选中内容
* @title 展示全部已选项
* @desc 设置后,选中内容超出宽度时会换行展示
*/
export const TagInputWrap = () => {
Expand Down Expand Up @@ -88,7 +88,7 @@ export const TagInputWrap = () => {

return (
<>
<h1>换行展示选中内容</h1>
<h1>展示全部已选项</h1>
<div className="check-tree-select-tag-input-wrap__wrap">
<CheckTreeSelect
style={{ width: 240 }}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/menu/stories/sidebar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from '@hi-ui/icons'

/**
* @title 侧边栏风格的菜单
* @title 侧边栏风格菜单
*/
export const SidebarMenu = () => {
const [activeId, setActiveId] = React.useState<React.ReactText>('xiaomi1')
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/tree/stories/action-render.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/tree/stories/expand-on-click.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import Tree from '../src'

/**
* @title 选中节点时展开其子节点
* @title 选中时展开子节点
*/
export const ExpandOnSelect = () => {
return (
Expand Down

0 comments on commit 235aa1d

Please sign in to comment.