Skip to content

Commit

Permalink
🐳 chore: 为1.2.0版本做准备
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoJikun committed Jan 18, 2024
1 parent 51d9c2c commit a857933
Show file tree
Hide file tree
Showing 6 changed files with 173 additions and 99 deletions.
99 changes: 52 additions & 47 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,53 +49,58 @@ pnpm test:unit

## 现有组件

| 组件名称 | 组件描述 |
| :-------------: | ---------------------------: |
| 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 | 消息弹出框 |

## 代办

| 组件名称 | 组件描述 |
| :----------: | :--------: |
| tabs | 标签页 |
| message | 消息提醒 |
| notification | 通知框 |
| table | 表格 |
| split | 分割面板 |
| datePicker | 日期选择器 |
| 组件名称 | 组件描述 |
| :----------- | :--------- |
| tabs | 标签页 |
| message | 消息提醒 |
| notification | 通知框 |
| table | 表格 |
| split | 分割面板 |
| datePicker | 日期选择器 |
| timePicker | 时间选择器 |
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"build-only": "pnpm --filter @ivy-design/ce run build-only",
"type-check": "pnpm --filter @ivy-design/ce run type-check",
"lint": "pnpm --filter @ivy-design/ce run lint",
"format": "pnpm --filter @ivy-design/ce run format"
"format": "pnpm --filter @ivy-design/ce run format",
"publish": "pnpm --filter @ivy-design/ce publish --access --registry=https://registry.npmjs.org/"
},
"keywords": [
"front-end",
Expand Down
99 changes: 52 additions & 47 deletions packages/ivy-design-wc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,53 +49,58 @@ pnpm test:unit

## 现有组件

| 组件名称 | 组件描述 |
| :-------------: | ---------------------------: |
| 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 | 消息弹出框 |

## 代办

| 组件名称 | 组件描述 |
| :----------: | :--------: |
| tabs | 标签页 |
| message | 消息提醒 |
| notification | 通知框 |
| table | 表格 |
| split | 分割面板 |
| datePicker | 日期选择器 |
| 组件名称 | 组件描述 |
| :----------- | :--------- |
| tabs | 标签页 |
| message | 消息提醒 |
| notification | 通知框 |
| table | 表格 |
| split | 分割面板 |
| datePicker | 日期选择器 |
| timePicker | 时间选择器 |
4 changes: 2 additions & 2 deletions packages/ivy-design-wc/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@ivy-design/ce",
"version": "1.1.0",
"version": "1.2.0",
"private": false,
"type": "module",
"main": "dist/ivy-design.js",
"module": "dist/ivy-design.js",
"module": "dist/ivy-design.mjs",
"types": "types/index.d.ts",
"unpkg": "dist/ivy-design.js",
"jsdelivr": "dist/ivy-design.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/ivy-design-wc/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export default defineConfig({
entry: fileURLToPath(new URL('./src/index.ts', import.meta.url)),
name: 'ivy-design',
fileName: (format) => {
if (format === 'es') return 'ivy-design.js'
return 'ivy-design.cjs'
if (format === 'es') return 'ivy-design.mjs'
return 'ivy-design.js'
}
},
rollupOptions: {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
// vite.config.ts
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///E:/private/ivy-design-wc/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/index.js";
import vue from "file:///E:/private/ivy-design-wc/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueJsx from "file:///E:/private/ivy-design-wc/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import dts from "file:///E:/private/ivy-design-wc/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite-plugin-dts/dist/index.mjs";
var __vite_injected_original_import_meta_url = "file:///E:/private/ivy-design-wc/packages/ivy-design-wc/vite.config.ts";
var vite_config_default = defineConfig({
appType: "custom",
publicDir: false,
plugins: [
vue({
template: {
compilerOptions: {
isCustomElement: (tag) => tag.startsWith("ivy-")
}
}
}),
vueJsx(),
dts({
outDir: "types"
})
],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
}
},
build: {
target: "es2017",
lib: {
entry: fileURLToPath(new URL("./src/index.ts", __vite_injected_original_import_meta_url)),
name: "ivy-design",
fileName: (format) => {
if (format === "es")
return "ivy-design.mjs";
return "ivy-design.js";
}
},
rollupOptions: {
// treeshake: false,
// input: {
// 'ivy-design': fileURLToPath(new URL('./src/index.ts', import.meta.url)),
// ...genInput()
// },
output: {
// interop: 'auto',
// format: 'es',
// entryFileNames: '[name].js',
// assetFileNames: (assetInfo) => {
// if (assetInfo.name === 'ivy-design.css') return 'style.css'
// return 'assets/[name][extname]'
// },
exports: "named"
}
},
cssTarget: "chrome61"
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxwcml2YXRlXFxcXGl2eS1kZXNpZ24td2NcXFxccGFja2FnZXNcXFxcaXZ5LWRlc2lnbi13Y1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRTpcXFxccHJpdmF0ZVxcXFxpdnktZGVzaWduLXdjXFxcXHBhY2thZ2VzXFxcXGl2eS1kZXNpZ24td2NcXFxcdml0ZS5jb25maWcudHNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0U6L3ByaXZhdGUvaXZ5LWRlc2lnbi13Yy9wYWNrYWdlcy9pdnktZGVzaWduLXdjL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgZmlsZVVSTFRvUGF0aCwgVVJMIH0gZnJvbSAnbm9kZTp1cmwnXG5pbXBvcnQgeyByZWFkZ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cyh7XG4gICAgICAgICAgICBvdXREaXI6ICd0eXBlcydcbiAgICAgICAgfSlcbiAgICBdLFxuICAgIHJlc29sdmU6IHtcbiAgICAgICAgYWxpYXM6IHtcbiAgICAgICAgICAgICdAJzogZmlsZVVSTFRvUGF0aChuZXcgVVJMKCcuL3NyYycsIGltcG9ydC5tZXRhLnVybCkpXG4gICAgICAgIH1cbiAgICB9LFxuICAgIGJ1aWxkOiB7XG4gICAgICAgIHRhcmdldDogJ2VzMjAxNycsXG4gICAgICAgIGxpYjoge1xuICAgICAgICAgICAgZW50cnk6IGZpbGVVUkxUb1BhdGgobmV3IFVSTCgnLi9zcmMvaW5kZXgudHMnLCBpbXBvcnQubWV0YS51cmwpKSxcbiAgICAgICAgICAgIG5hbWU6ICdpdnktZGVzaWduJyxcbiAgICAgICAgICAgIGZpbGVOYW1lOiAoZm9ybWF0KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGZvcm1hdCA9PT0gJ2VzJykgcmV0dXJuICdpdnktZGVzaWduLm1qcydcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2l2eS1kZXNpZ24uanMnXG4gICAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIHJvbGx1cE9wdGlvbnM6IHtcbiAgICAgICAgICAgIC8vIHRyZWVzaGFrZTogZmFsc2UsXG4gICAgICAgICAgICAvLyBpbnB1dDoge1xuICAgICAgICAgICAgLy8gICAgICdpdnktZGVzaWduJzogZmlsZVVSTFRvUGF0aChuZXcgVVJMKCcuL3NyYy9pbmRleC50cycsIGltcG9ydC5tZXRhLnVybCkpLFxuICAgICAgICAgICAgLy8gICAgIC4uLmdlbklucHV0KClcbiAgICAgICAgICAgIC8vIH0sXG4gICAgICAgICAgICBvdXRwdXQ6IHtcbiAgICAgICAgICAgICAgICAvLyBpbnRlcm9wOiAnYXV0bycsXG4gICAgICAgICAgICAgICAgLy8gZm9ybWF0OiAnZXMnLFxuICAgICAgICAgICAgICAgIC8vIGVudHJ5RmlsZU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