Skip to content

Commit

Permalink
feat: 准备发布 v1.5.0 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoJikun committed Jan 26, 2024
1 parent b6b42c4 commit 7591f8f
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 73 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pnpm dev
pnpm build
```

### Run Unit Tests with [Vitest](https://vitest.dev/)
### 单元测试

```sh
pnpm test:unit
Expand Down Expand Up @@ -92,15 +92,17 @@ pnpm test:unit
| Link | 链接 |
| Affix | 固钉 |
| MessageBox | 消息弹出框 |
| TimeSelect | 时间选择 |
| Scrollbar | 滚动条 |
| split | 分割面板 |
| notification | 通知框 |

## 代办

| 组件名称 | 组件描述 |
| :----------- | :--------- |
| tabs | 标签页 |
| message | 消息提醒 |
| notification | 通知框 |
| table | 表格 |
| split | 分割面板 |
| datePicker | 日期选择器 |
| timePicker | 时间选择器 |
| 组件名称 | 组件描述 |
| :--------- | :--------- |
| tabs | 标签页 |
| message | 消息提醒 |
| table | 表格 |
| datePicker | 日期选择器 |
| timePicker | 时间选择器 |
11 changes: 11 additions & 0 deletions packages/docs/src/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# 更新日志

## v1.5.0 版本

Feats:

- 增加 `Notification` 组件
- 增加 `Split` 组件

Chore:

- 尝试修复自定发布 npm action 错误

## v1.4.0 版本

Feats:
Expand Down
113 changes: 60 additions & 53 deletions packages/docs/src/components/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ pnpm add @ivy-design/ce
```js
// vue2
import Vue from "vue";
import { registerComponents } from "@ivy-design/wc";
import "@ivy-design/wc/dist/style.css";
import { registerComponents } from "@ivy-design/ce";
import "@ivy-design/ce/dist/style.css";
registerComponents();
Vue.config.ignoredElements = [
// 用一个 `RegExp` 忽略所有“ion-”开头的元素
Expand All @@ -40,8 +40,8 @@ Vue.config.ignoredElements = [

// vue3
import { createApp } from "vue";
import { registerComponents } from "@ivy-design/wc";
import "@ivy-design/wc/dist/style.css";
import { registerComponents } from "@ivy-design/ce";
import "@ivy-design/ce/dist/style.css";
registerComponents();
createApp().config.compilerOptions.isCustomElement = (tag) =>
tag.startsWith("ivy-");
Expand All @@ -50,8 +50,8 @@ createApp().config.compilerOptions.isCustomElement = (tag) =>
### react 中使用

```js
import { registerComponents } from "@ivy-design/wc";
import "@ivy-design/wc/dist/style.css";
import { registerComponents } from "@ivy-design/ce";
import "@ivy-design/ce/dist/style.css";
registerComponents();
//如需单独使用
import { defineCustomElement } from "ivy-ui/dist/components/ivy-button.js";
Expand All @@ -60,53 +60,60 @@ ReactDOM.render(<ivy-button>button</ivy-button>, document.body);

## 已有组件

| 组件名称 | 组件描述 |
| :-------------: | ---------------------------: |
| Button | 按钮 |
| Space | 间隔 |
| Collapse | 折叠面板 |
| Divider | 分割线 |
| Card | 卡片 |
| Grid | 宫格 |
| Empty | 空状态 |
| Timeline | 时间轴 |
| Breadcrumb | 面包屑导航 |
| Tag | 标签 |
| Badge | 徽章 |
| Row ||
| Col ||
| Result | 结果 |
| Drawer | 抽屉 |
| Input | 输入框 |
| Tip | 提示 |
| Select | 下拉选择 |
| Loading | 加载 |
| Details | 详情-同原生的 `details` 标签 |
| Progress | 进度条 |
| Dialog | 弹框 |
| Dropdown | 下拉菜单 |
| Steps | 步骤条 |
| Switch | 开关 |
| Radio | 单选框 |
| Checkbox | 多选框 |
| AspectRatio | 固定宽高比例容器 |
| Icon | 图标 |
| Circle | 圆形进度条 |
| Image | 图片 |
| Description | 描述列表 |
| Contextmenu | 邮件菜单 |
| rate | 评分 |
| Avatar | 头像 |
| Carousel | 轮播图 |
| CopyToClipboard | 复制到剪切板 |
| 组件名称 | 组件描述 |
| :-------------- | ---------------------------- |
| Button | 按钮 |
| Space | 间隔 |
| Collapse | 折叠面板 |
| Divider | 分割线 |
| Card | 卡片 |
| Grid | 宫格 |
| Empty | 空状态 |
| Timeline | 时间轴 |
| Breadcrumb | 面包屑导航 |
| Tag | 标签 |
| Badge | 徽章 |
| Row ||
| Col ||
| Result | 结果 |
| Drawer | 抽屉 |
| Input | 输入框 |
| Tip | 提示 |
| Select | 下拉选择 |
| Loading | 加载 |
| Details | 详情-同原生的 `details` 标签 |
| Progress | 进度条 |
| Dialog | 弹框 |
| Dropdown | 下拉菜单 |
| Steps | 步骤条 |
| Switch | 开关 |
| Radio | 单选框 |
| Checkbox | 多选框 |
| AspectRatio | 固定宽高比例容器 |
| Icon | 图标 |
| Circle | 圆形进度条 |
| Image | 图片 |
| Description | 描述列表 |
| Contextmenu | 邮件菜单 |
| rate | 评分 |
| Avatar | 头像 |
| Carousel | 轮播图 |
| CopyToClipboard | 复制到剪切板 |
| Text | 文字 |
| Link | 链接 |
| Affix | 固钉 |
| MessageBox | 消息弹出框 |
| TimeSelect | 时间选择 |
| Scrollbar | 滚动条 |
| split | 分割面板 |
| notification | 通知框 |

## 未完成组件

| 组件名称 | 组件描述 |
| :----------: | :--------: |
| tabs | 标签页 |
| message | 消息提醒 |
| notification | 通知框 |
| table | 表格 |
| split | 分割面板 |
| datePicker | 日期选择器 |
| 组件名称 | 组件描述 |
| :--------- | :--------- |
| tabs | 标签页 |
| message | 消息提醒 |
| table | 表格 |
| datePicker | 日期选择器 |
| timePicker | 时间选择器 |
18 changes: 9 additions & 9 deletions packages/ivy-design-wc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ pnpm test:unit
| MessageBox | 消息弹出框 |
| TimeSelect | 时间选择 |
| Scrollbar | 滚动条 |
| split | 分割面板 |
| notification | 通知框 |

## 代办

| 组件名称 | 组件描述 |
| :----------- | :--------- |
| tabs | 标签页 |
| message | 消息提醒 |
| notification | 通知框 |
| table | 表格 |
| split | 分割面板 |
| datePicker | 日期选择器 |
| timePicker | 时间选择器 |
| 组件名称 | 组件描述 |
| :--------- | :--------- |
| tabs | 标签页 |
| message | 消息提醒 |
| table | 表格 |
| datePicker | 日期选择器 |
| timePicker | 时间选择器 |
2 changes: 1 addition & 1 deletion packages/ivy-design-wc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ivy-design/ce",
"version": "1.4.0",
"version": "1.5.0",
"private": false,
"type": "module",
"main": "dist/ivy-design.js",
Expand Down

0 comments on commit 7591f8f

Please sign in to comment.