From cff422830cc9a7a790001e9b378ba9d5a72b441c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=A6=82=E6=91=B8=E9=B1=BC=E5=8E=BB?= <1780903673@qq.com> Date: Mon, 9 Dec 2024 21:12:26 +0800 Subject: [PATCH] build: compile 1.5.0 --- docs/component/calendar.md | 6 +-- docs/component/curtain.md | 6 +-- docs/component/divider.md | 10 ++--- docs/component/drop-menu.md | 4 +- docs/component/input.md | 2 +- docs/component/message-box.md | 6 +-- docs/component/radio.md | 2 +- docs/component/table.md | 4 +- docs/component/textarea.md | 2 +- docs/component/upload.md | 2 +- docs/guide/changelog.md | 39 +++++++++++++++++++ src/uni_modules/wot-design-uni/changelog.md | 39 +++++++++++++++++++ .../components/wd-config-provider/types.ts | 14 ++++++- src/uni_modules/wot-design-uni/package.json | 2 +- 14 files changed, 113 insertions(+), 25 deletions(-) diff --git a/docs/component/calendar.md b/docs/component/calendar.md index e5be9e3ab..44edfaa1f 100644 --- a/docs/component/calendar.md +++ b/docs/component/calendar.md @@ -164,8 +164,8 @@ function handleConfirm({ value }) { | middle | 范围开始与结束之间的日期 | - | | same | 范围开始与结束日期同一天 | - | | current | 当前日期 | - | -| multiple-middle | 多日期范围选择,开始与结束之间的日期 | $LOWEST_VERSION$ | -| multiple-selected | 多日期范围选择,选中的日期 | $LOWEST_VERSION$ | +| multiple-middle | 多日期范围选择,开始与结束之间的日期 | 1.5.0 | +| multiple-selected | 多日期范围选择,选中的日期 | 1.5.0 | ```html @@ -437,7 +437,7 @@ function handleConfirm({ value }) { | prop | 表单域 `model` 字段名,在使用表单校验功能的情况下,该属性是必填的 | string | - | - | - | | rules | 表单验证规则,结合`wd-form`组件使用 | `FormItemRule []` | - | `[]` | - | | immediate-change | type 为 'datetime' 或 'datetimerange' 时有,是否在手指松开时立即触发 picker-view 的 change 事件。若不开启则会在滚动动画结束后触发 change 事件,1.2.25 版本起提供,仅微信小程序和支付宝小程序支持。 | boolean | - | false | 1.2.25 | -| with-cell | 是否使用内置 cell 选择器 | boolean | - | true | $LOWEST_VERSION$ | +| with-cell | 是否使用内置 cell 选择器 | boolean | - | true | 1.5.0 | ### FormItemRule 数据结构 diff --git a/docs/component/curtain.md b/docs/component/curtain.md index 5d0e607ac..f8ff64791 100644 --- a/docs/component/curtain.md +++ b/docs/component/curtain.md @@ -131,12 +131,12 @@ function handleClose() { | name | 说明 | 最低版本 | | ----- | ------------ | ---------------- | -| close | 关闭按钮插槽 | $LOWEST_VERSION$ | +| close | 关闭按钮插槽 | 1.5.0 | ## 外部样式类 | 类名 | 说明 | 最低版本 | | ------------------ | -------------- | ---------------- | | custom-class | 根节点样式 | - | -| custom-close-class | 关闭按钮样式类 | $LOWEST_VERSION$ | -| custom-close-style | 关闭按钮样式 | $LOWEST_VERSION$ | +| custom-close-class | 关闭按钮样式类 | 1.5.0 | +| custom-close-style | 关闭按钮样式 | 1.5.0 | diff --git a/docs/component/divider.md b/docs/component/divider.md index 818ceff24..3bcfe371a 100644 --- a/docs/component/divider.md +++ b/docs/component/divider.md @@ -1,7 +1,7 @@ # Divider 分割线 :::danger 请注意 -`hairline`、`dashed`、`content-position`、`vertical`属性为 $LOWEST_VERSION$ 版本新增支持,在此之前仅支持默认插槽显示文本和自定义`color`。 +`hairline`、`dashed`、`content-position`、`vertical`属性为 1.5.0 版本新增支持,在此之前仅支持默认插槽显示文本和自定义`color`。 ::: ## 基本使用 @@ -85,10 +85,10 @@ | 参数 | 说明 | 类型 | 可选值 | 默认值 | 最低版本 | | ---------------- | ------------------------------ | ------- | ----------------------- | -------- | ---------------- | | color | 自定义颜色,支持所有颜色的写法 | string | - | - | - | -| hairline | 是否显示边框 | boolean | - | true | $LOWEST_VERSION$ | -| dashed | 是否显示为虚线 | boolean | - | false | $LOWEST_VERSION$ | -| content-position | 内容位置 | string | `left`/`center`/`right` | `center` | $LOWEST_VERSION$ | -| vertical | 是否显示为垂直分割线 | boolean | - | false | $LOWEST_VERSION$ | +| hairline | 是否显示边框 | boolean | - | true | 1.5.0 | +| dashed | 是否显示为虚线 | boolean | - | false | 1.5.0 | +| content-position | 内容位置 | string | `left`/`center`/`right` | `center` | 1.5.0 | +| vertical | 是否显示为垂直分割线 | boolean | - | false | 1.5.0 | ## Slot diff --git a/docs/component/drop-menu.md b/docs/component/drop-menu.md index 552a1161a..0f581bb9e 100644 --- a/docs/component/drop-menu.md +++ b/docs/component/drop-menu.md @@ -252,5 +252,5 @@ const handleBeforeToggle: DropMenuItemBeforeToggle = ({ status, resolve }) => { | custom-class | DropMenuItem 根节点样式 | - | | custom-title | DropMenuItem 左侧文字样式 | - | | custom-icon | DropMenuItem 右侧 icon 样式 | - | -| custom-popup-class | 自定义下拉菜单 popup 样式类 | $LOWEST_VERSION$ | -| custom-popup-style | 自定义下拉菜单 popup 样式 | $LOWEST_VERSION$ | +| custom-popup-class | 自定义下拉菜单 popup 样式类 | 1.5.0 | +| custom-popup-style | 自定义下拉菜单 popup 样式 | 1.5.0 | diff --git a/docs/component/input.md b/docs/component/input.md index 00095d6a0..dd390c5b4 100644 --- a/docs/component/input.md +++ b/docs/component/input.md @@ -171,7 +171,7 @@ function handleChange(event) { | clearTrigger | 显示清除图标的时机,always 表示输入框不为空时展示,focus 表示输入框聚焦且不为空时展示 | `InputClearTrigger` | `focus` / `always` | `always` | 1.3.7 | | focusWhenClear | 是否在点击清除按钮时聚焦输入框 | boolean | - | true | 1.3.7 | | ignoreCompositionEvent | 是否忽略组件内对文本合成系统事件的处理。为 false 时将触发 compositionstart、compositionend、compositionupdate 事件,且在文本合成期间会触发 input 事件。 | boolean | - | true | 1.3.11| -| inputmode | 提供用户在编辑元素或其内容时可能输入的数据类型的提示。 | InputMode | - | text | $LOWEST_VERSION$ | +| inputmode | 提供用户在编辑元素或其内容时可能输入的数据类型的提示。 | InputMode | - | text | 1.5.0 | ### InputMode 可选值 diff --git a/docs/component/message-box.md b/docs/component/message-box.md index f16f47f17..8d44127f1 100644 --- a/docs/component/message-box.md +++ b/docs/component/message-box.md @@ -189,7 +189,7 @@ function beforeConfirm() { } ``` -## 自定义操作按钮$LOWEST_VERSION$ +## 自定义操作按钮1.5.0 可以通过按钮属性 `cancel-button-props` 和 `confirm-button-props` 自定义操作按钮的样式,具体参考 [Button Attributes](/component/button.html#attributes)。 @@ -267,8 +267,8 @@ MessageBox.prompt(options) | selector | 指定唯一标识 | string | - | #wd-message-box | - | | zIndex | 弹窗层级 | number | - | 99 | - | | lazyRender | 弹层内容懒渲染,触发展示时才渲染内容 | boolean | - | true | - | -| cancel-button-props | 取消按钮的属性,具体参考 [Button Attributes](/component/button.html#attributes) | object | - | - | $LOWEST_VERSION$ | -| confirm-button-props | 确定按钮的属性,具体参考 [Button Attributes](/component/button.html#attributes) | object | - | - | $LOWEST_VERSION$ | +| cancel-button-props | 取消按钮的属性,具体参考 [Button Attributes](/component/button.html#attributes) | object | - | - | 1.5.0 | +| confirm-button-props | 确定按钮的属性,具体参考 [Button Attributes](/component/button.html#attributes) | object | - | - | 1.5.0 | ## 外部样式类 diff --git a/docs/component/radio.md b/docs/component/radio.md index 3ef9ac72c..d09494732 100644 --- a/docs/component/radio.md +++ b/docs/component/radio.md @@ -157,7 +157,7 @@ radio设置的props优先级比radioGroup上设置的props优先级更高 | max-width | 文字位置最大宽度 | string | - | - | - | | inline | 同行展示 | boolean | - | false | - | | cell | 表单模式 | boolean | - | false | - | -| icon-placement | 勾选图标对齐方式 | string | left / right/ auto | auto | $LOWEST_VERSION$ | +| icon-placement | 勾选图标对齐方式 | string | left / right/ auto | auto | 1.5.0 | ## RadioGroup Events diff --git a/docs/component/table.md b/docs/component/table.md index ef2afa4d5..c97a80b87 100644 --- a/docs/component/table.md +++ b/docs/component/table.md @@ -3,7 +3,7 @@ 用于展示多条结构类似的数据, 可对数据进行排序等操作。 ::: warning 提示 -`$LOWEST_VERSION$`后取消了`height`的默认值,需要自行设置,最好设置为`number`类型,方便未来适配虚拟列表。 +`1.5.0`后取消了`height`的默认值,需要自行设置,最好设置为`number`类型,方便未来适配虚拟列表。 ::: ## 基础用法 @@ -461,7 +461,7 @@ const paginationData = computed(() => { | showHeader | 是否显示表头 | boolean | - | true | 0.0.39 | | ellipsis | 是否超出 2 行隐藏 | boolean | - | true | 0.0.39 | | index | 是否显示索引列,可传入`boolean`也可传入 column 配置 | `boolean / TableColumnProps` | | false | 1.2.19 | -| fixed-header | 是否固定表头,需要结合`height`才可以实现固定表头的效果。 | boolean | - | true | $LOWEST_VERSION$ | +| fixed-header | 是否固定表头,需要结合`height`才可以实现固定表头的效果。 | boolean | - | true | 1.5.0 | ## Events diff --git a/docs/component/textarea.md b/docs/component/textarea.md index 91c937971..31a79c7fd 100644 --- a/docs/component/textarea.md +++ b/docs/component/textarea.md @@ -161,7 +161,7 @@ const value = ref('') | clearTrigger | 显示清除图标的时机,always 表示输入框不为空时展示,focus 表示输入框聚焦且不为空时展示 | `InputClearTrigger` | `focus` / `always` | `always` | 1.3.7 | | focusWhenClear | 是否在点击清除按钮时聚焦输入框 | boolean | - | true | 1.3.7 | | ignoreCompositionEvent | 是否忽略组件内对文本合成系统事件的处理。为 false 时将触发 compositionstart、compositionend、compositionupdate 事件,且在文本合成期间会触发 input 事件。 | boolean | - | true | 1.3.11| -| inputmode | 提供用户在编辑元素或其内容时可能输入的数据类型的提示。 | InputMode | - | text | $LOWEST_VERSION$ | +| inputmode | 提供用户在编辑元素或其内容时可能输入的数据类型的提示。 | InputMode | - | text | 1.5.0 | ### InputMode 可选值 diff --git a/docs/component/upload.md b/docs/component/upload.md index 0c1d681ce..70296a718 100644 --- a/docs/component/upload.md +++ b/docs/component/upload.md @@ -612,7 +612,7 @@ const action: string = 'https://mockapi.eolink.com/zhTuw2P8c29bc981a741931bdd86e | header | 设置上传的请求头部 | object | - | - | - | | multiple | 是否支持多选文件 | boolean | - | - | - | | disabled | 是否禁用 | boolean | - | false | - | -| reupload | 是否开启覆盖上传,开启后会关闭图片预览 | boolean | - | false | $LOWEST_VERSION$ | +| reupload | 是否开启覆盖上传,开启后会关闭图片预览 | boolean | - | false | 1.5.0 | | limit | 最大允许上传个数 | number | - | - | - | | show-limit-num | 限制上传个数的情况下,是否展示当前上传的个数 | boolean | - | false | - | | max-size | 文件大小限制,单位为`byte` | number | - | - | - | diff --git a/docs/guide/changelog.md b/docs/guide/changelog.md index 8aabfbdf6..4ba010322 100644 --- a/docs/guide/changelog.md +++ b/docs/guide/changelog.md @@ -1,6 +1,45 @@ # 更新日志 +## [1.5.0](https://github.com/Moonofweisheng/wot-design-uni/compare/v1.4.0...v1.5.0) (2024-12-09) + + +### 🐛 Bug Fixes | Bug 修复 + +* 🐛 修复 Button 按钮设置为 block 无效的问题 ([#762](https://github.com/Moonofweisheng/wot-design-uni/issues/762)) ([ea8bc66](https://github.com/Moonofweisheng/wot-design-uni/commit/ea8bc6671012a811f49027062e6e7f8f1359a175)) +* 🐛 修复 Cell 设置 label 过长时影响页面结构的问题 ([70058f2](https://github.com/Moonofweisheng/wot-design-uni/commit/70058f2270788fb9d7edd56eff35bd2cbebcd99e)) +* 🐛 修复 Collapse v-model绑定数据变化时未更新折叠面板状态的问题 ([#744](https://github.com/Moonofweisheng/wot-design-uni/issues/744)) ([09f7f9c](https://github.com/Moonofweisheng/wot-design-uni/commit/09f7f9caf5e381ef44fb9a31965f8d2d70d4e271)), closes [#741](https://github.com/Moonofweisheng/wot-design-uni/issues/741) +* 🐛 修复 GridItem 徽标属性类型标注错误的问题 ([c018560](https://github.com/Moonofweisheng/wot-design-uni/commit/c018560b7d3087b89b759b3c83aff91c74354021)), closes [#766](https://github.com/Moonofweisheng/wot-design-uni/issues/766) +* 🐛 修复 Progress 无法设置进度为 0 的问题 ([#748](https://github.com/Moonofweisheng/wot-design-uni/issues/748)) ([c136f54](https://github.com/Moonofweisheng/wot-design-uni/commit/c136f54cda6164ab3653d47342d7c88c5f515efc)), closes [#747](https://github.com/Moonofweisheng/wot-design-uni/issues/747) +* 🐛 修复 Swiper 在支付宝小程序平台点击事件无效的问题 ([f63bf10](https://github.com/Moonofweisheng/wot-design-uni/commit/f63bf101338d7f9d2f72c5941d3405950544a1d7)) +* 🐛 修复 Tab 未渲染项高度会影响整体高度的问题 ([5e06378](https://github.com/Moonofweisheng/wot-design-uni/commit/5e063781a3b58f94f107816473600ce95f3761e9)) +* 🐛 修复 vue-tsc 校验不通过的问题 ([#753](https://github.com/Moonofweisheng/wot-design-uni/issues/753)) ([a90f4ad](https://github.com/Moonofweisheng/wot-design-uni/commit/a90f4ad2f2b68bb79f30a2e6973a4e149b7ba66e)), closes [#752](https://github.com/Moonofweisheng/wot-design-uni/issues/752) +* 🐛 修复微信小程序在iOS设备上处于后台一段时间后抖动的问题 ([6091566](https://github.com/Moonofweisheng/wot-design-uni/commit/6091566380c7c129fca284eb4e5a2ba6e447a7ab)), closes [#694](https://github.com/Moonofweisheng/wot-design-uni/issues/694) + + +### ✏️ Documentation | 文档 + +* ✏️ 调整文档结构增加文档内容可用宽度,支持收起演示demo ([#765](https://github.com/Moonofweisheng/wot-design-uni/issues/765)) ([402f73f](https://github.com/Moonofweisheng/wot-design-uni/commit/402f73f6ee8aa7d022b640333e6bfef4311fdc6f)) +* ✏️ 添加 MessageBox 自定义按钮样式的文档 ([46b1c39](https://github.com/Moonofweisheng/wot-design-uni/commit/46b1c394a024c293fb07c7788691e2ac572a2fa1)) +* ✏️ 添加关于Sass的介绍 ([995a65f](https://github.com/Moonofweisheng/wot-design-uni/commit/995a65f8451801062ae83f0f71470d0c428dba7f)) +* ✏️ 优化 Cell 关于 clickable 和 is-link 的介绍 ([6f58e72](https://github.com/Moonofweisheng/wot-design-uni/commit/6f58e72b1d5436326052a79da19e21d071ab9b3c)) +* ✏️ 增加 ConfigProvider 组件设定全局共享示例 ([#758](https://github.com/Moonofweisheng/wot-design-uni/issues/758)) ([356cb4a](https://github.com/Moonofweisheng/wot-design-uni/commit/356cb4ad11791366138002233754b2d2e79d5d18)) +* ✏️ Table 表格组件提供结合分页器使用的demo ([#738](https://github.com/Moonofweisheng/wot-design-uni/issues/738)) ([fb7580d](https://github.com/Moonofweisheng/wot-design-uni/commit/fb7580df7eee7d81d3826c399e565975cef81625)) + + +### ✨ Features | 新功能 + +* ✨ 优化 Divider 分割线功能支持虚线、垂直等功能 ([#737](https://github.com/Moonofweisheng/wot-design-uni/issues/737)) ([1b9d7e6](https://github.com/Moonofweisheng/wot-design-uni/commit/1b9d7e625256b365a381b30e902bb54692d636cf)) +* ✨ Calendar 优化选中样式和滚动位置处理并支持屏蔽内置cell ([#768](https://github.com/Moonofweisheng/wot-design-uni/issues/768)) ([97c4004](https://github.com/Moonofweisheng/wot-design-uni/commit/97c40047e8ed46af31d4c1647056d90c2edf4842)) +* ✨ Curtain 幕帘新增 close 插槽和自定义关闭插槽样式类 ([#746](https://github.com/Moonofweisheng/wot-design-uni/issues/746)) ([7bc3592](https://github.com/Moonofweisheng/wot-design-uni/commit/7bc359205deb99899baf01c733af9690b12703fa)), closes [#648](https://github.com/Moonofweisheng/wot-design-uni/issues/648) +* ✨ DropMenuItem 增加自定 Popup 样式参数 ([28ad03b](https://github.com/Moonofweisheng/wot-design-uni/commit/28ad03b7afdd38a86f168d15a7c0f3564d122101)) +* ✨ Input、Textarea在APP-VUE和H5端支持inputmode ([#771](https://github.com/Moonofweisheng/wot-design-uni/issues/771)) ([9ceb2e8](https://github.com/Moonofweisheng/wot-design-uni/commit/9ceb2e807e33edd3937db5f57a4306f1ce719cff)), closes [#743](https://github.com/Moonofweisheng/wot-design-uni/issues/743) +* ✨ MessageBox 新增确认、取消按钮的 ButtonProps 属性 ([#761](https://github.com/Moonofweisheng/wot-design-uni/issues/761)) ([80682ba](https://github.com/Moonofweisheng/wot-design-uni/commit/80682ba933427fac7bfefc6c692cd058a14163c5)), closes [#740](https://github.com/Moonofweisheng/wot-design-uni/issues/740) +* ✨ Radio添加icon-placement属性用于控制图标方向 ([#763](https://github.com/Moonofweisheng/wot-design-uni/issues/763)) ([b06a7a7](https://github.com/Moonofweisheng/wot-design-uni/commit/b06a7a751b3115c8e3909af4cbe595684ed9d00f)), closes [#371](https://github.com/Moonofweisheng/wot-design-uni/issues/371) +* ✨ Segmented 提供 updateActiveStyle 方法设置激活样式 ([529e57f](https://github.com/Moonofweisheng/wot-design-uni/commit/529e57fc83b00482f101e84cf0437627e140a59f)) +* ✨ Table 支持设置不固定表头 ([#769](https://github.com/Moonofweisheng/wot-design-uni/issues/769)) ([b0a2461](https://github.com/Moonofweisheng/wot-design-uni/commit/b0a2461a1a6f9691502a1f4a1a06ec4103fabd4b)) +* ✨ Upload 支持文件重传 ([3cd5137](https://github.com/Moonofweisheng/wot-design-uni/commit/3cd5137129ae13f90744a5d0038686cef5602d8c)) + ## [1.4.0](https://github.com/Moonofweisheng/wot-design-uni/compare/v1.3.14...v1.4.0) (2024-11-24) diff --git a/src/uni_modules/wot-design-uni/changelog.md b/src/uni_modules/wot-design-uni/changelog.md index 8aabfbdf6..4ba010322 100644 --- a/src/uni_modules/wot-design-uni/changelog.md +++ b/src/uni_modules/wot-design-uni/changelog.md @@ -1,6 +1,45 @@ # 更新日志 +## [1.5.0](https://github.com/Moonofweisheng/wot-design-uni/compare/v1.4.0...v1.5.0) (2024-12-09) + + +### 🐛 Bug Fixes | Bug 修复 + +* 🐛 修复 Button 按钮设置为 block 无效的问题 ([#762](https://github.com/Moonofweisheng/wot-design-uni/issues/762)) ([ea8bc66](https://github.com/Moonofweisheng/wot-design-uni/commit/ea8bc6671012a811f49027062e6e7f8f1359a175)) +* 🐛 修复 Cell 设置 label 过长时影响页面结构的问题 ([70058f2](https://github.com/Moonofweisheng/wot-design-uni/commit/70058f2270788fb9d7edd56eff35bd2cbebcd99e)) +* 🐛 修复 Collapse v-model绑定数据变化时未更新折叠面板状态的问题 ([#744](https://github.com/Moonofweisheng/wot-design-uni/issues/744)) ([09f7f9c](https://github.com/Moonofweisheng/wot-design-uni/commit/09f7f9caf5e381ef44fb9a31965f8d2d70d4e271)), closes [#741](https://github.com/Moonofweisheng/wot-design-uni/issues/741) +* 🐛 修复 GridItem 徽标属性类型标注错误的问题 ([c018560](https://github.com/Moonofweisheng/wot-design-uni/commit/c018560b7d3087b89b759b3c83aff91c74354021)), closes [#766](https://github.com/Moonofweisheng/wot-design-uni/issues/766) +* 🐛 修复 Progress 无法设置进度为 0 的问题 ([#748](https://github.com/Moonofweisheng/wot-design-uni/issues/748)) ([c136f54](https://github.com/Moonofweisheng/wot-design-uni/commit/c136f54cda6164ab3653d47342d7c88c5f515efc)), closes [#747](https://github.com/Moonofweisheng/wot-design-uni/issues/747) +* 🐛 修复 Swiper 在支付宝小程序平台点击事件无效的问题 ([f63bf10](https://github.com/Moonofweisheng/wot-design-uni/commit/f63bf101338d7f9d2f72c5941d3405950544a1d7)) +* 🐛 修复 Tab 未渲染项高度会影响整体高度的问题 ([5e06378](https://github.com/Moonofweisheng/wot-design-uni/commit/5e063781a3b58f94f107816473600ce95f3761e9)) +* 🐛 修复 vue-tsc 校验不通过的问题 ([#753](https://github.com/Moonofweisheng/wot-design-uni/issues/753)) ([a90f4ad](https://github.com/Moonofweisheng/wot-design-uni/commit/a90f4ad2f2b68bb79f30a2e6973a4e149b7ba66e)), closes [#752](https://github.com/Moonofweisheng/wot-design-uni/issues/752) +* 🐛 修复微信小程序在iOS设备上处于后台一段时间后抖动的问题 ([6091566](https://github.com/Moonofweisheng/wot-design-uni/commit/6091566380c7c129fca284eb4e5a2ba6e447a7ab)), closes [#694](https://github.com/Moonofweisheng/wot-design-uni/issues/694) + + +### ✏️ Documentation | 文档 + +* ✏️ 调整文档结构增加文档内容可用宽度,支持收起演示demo ([#765](https://github.com/Moonofweisheng/wot-design-uni/issues/765)) ([402f73f](https://github.com/Moonofweisheng/wot-design-uni/commit/402f73f6ee8aa7d022b640333e6bfef4311fdc6f)) +* ✏️ 添加 MessageBox 自定义按钮样式的文档 ([46b1c39](https://github.com/Moonofweisheng/wot-design-uni/commit/46b1c394a024c293fb07c7788691e2ac572a2fa1)) +* ✏️ 添加关于Sass的介绍 ([995a65f](https://github.com/Moonofweisheng/wot-design-uni/commit/995a65f8451801062ae83f0f71470d0c428dba7f)) +* ✏️ 优化 Cell 关于 clickable 和 is-link 的介绍 ([6f58e72](https://github.com/Moonofweisheng/wot-design-uni/commit/6f58e72b1d5436326052a79da19e21d071ab9b3c)) +* ✏️ 增加 ConfigProvider 组件设定全局共享示例 ([#758](https://github.com/Moonofweisheng/wot-design-uni/issues/758)) ([356cb4a](https://github.com/Moonofweisheng/wot-design-uni/commit/356cb4ad11791366138002233754b2d2e79d5d18)) +* ✏️ Table 表格组件提供结合分页器使用的demo ([#738](https://github.com/Moonofweisheng/wot-design-uni/issues/738)) ([fb7580d](https://github.com/Moonofweisheng/wot-design-uni/commit/fb7580df7eee7d81d3826c399e565975cef81625)) + + +### ✨ Features | 新功能 + +* ✨ 优化 Divider 分割线功能支持虚线、垂直等功能 ([#737](https://github.com/Moonofweisheng/wot-design-uni/issues/737)) ([1b9d7e6](https://github.com/Moonofweisheng/wot-design-uni/commit/1b9d7e625256b365a381b30e902bb54692d636cf)) +* ✨ Calendar 优化选中样式和滚动位置处理并支持屏蔽内置cell ([#768](https://github.com/Moonofweisheng/wot-design-uni/issues/768)) ([97c4004](https://github.com/Moonofweisheng/wot-design-uni/commit/97c40047e8ed46af31d4c1647056d90c2edf4842)) +* ✨ Curtain 幕帘新增 close 插槽和自定义关闭插槽样式类 ([#746](https://github.com/Moonofweisheng/wot-design-uni/issues/746)) ([7bc3592](https://github.com/Moonofweisheng/wot-design-uni/commit/7bc359205deb99899baf01c733af9690b12703fa)), closes [#648](https://github.com/Moonofweisheng/wot-design-uni/issues/648) +* ✨ DropMenuItem 增加自定 Popup 样式参数 ([28ad03b](https://github.com/Moonofweisheng/wot-design-uni/commit/28ad03b7afdd38a86f168d15a7c0f3564d122101)) +* ✨ Input、Textarea在APP-VUE和H5端支持inputmode ([#771](https://github.com/Moonofweisheng/wot-design-uni/issues/771)) ([9ceb2e8](https://github.com/Moonofweisheng/wot-design-uni/commit/9ceb2e807e33edd3937db5f57a4306f1ce719cff)), closes [#743](https://github.com/Moonofweisheng/wot-design-uni/issues/743) +* ✨ MessageBox 新增确认、取消按钮的 ButtonProps 属性 ([#761](https://github.com/Moonofweisheng/wot-design-uni/issues/761)) ([80682ba](https://github.com/Moonofweisheng/wot-design-uni/commit/80682ba933427fac7bfefc6c692cd058a14163c5)), closes [#740](https://github.com/Moonofweisheng/wot-design-uni/issues/740) +* ✨ Radio添加icon-placement属性用于控制图标方向 ([#763](https://github.com/Moonofweisheng/wot-design-uni/issues/763)) ([b06a7a7](https://github.com/Moonofweisheng/wot-design-uni/commit/b06a7a751b3115c8e3909af4cbe595684ed9d00f)), closes [#371](https://github.com/Moonofweisheng/wot-design-uni/issues/371) +* ✨ Segmented 提供 updateActiveStyle 方法设置激活样式 ([529e57f](https://github.com/Moonofweisheng/wot-design-uni/commit/529e57fc83b00482f101e84cf0437627e140a59f)) +* ✨ Table 支持设置不固定表头 ([#769](https://github.com/Moonofweisheng/wot-design-uni/issues/769)) ([b0a2461](https://github.com/Moonofweisheng/wot-design-uni/commit/b0a2461a1a6f9691502a1f4a1a06ec4103fabd4b)) +* ✨ Upload 支持文件重传 ([3cd5137](https://github.com/Moonofweisheng/wot-design-uni/commit/3cd5137129ae13f90744a5d0038686cef5602d8c)) + ## [1.4.0](https://github.com/Moonofweisheng/wot-design-uni/compare/v1.3.14...v1.4.0) (2024-11-24) diff --git a/src/uni_modules/wot-design-uni/components/wd-config-provider/types.ts b/src/uni_modules/wot-design-uni/components/wd-config-provider/types.ts index 9aa406337..a9ce50548 100644 --- a/src/uni_modules/wot-design-uni/components/wd-config-provider/types.ts +++ b/src/uni_modules/wot-design-uni/components/wd-config-provider/types.ts @@ -209,10 +209,12 @@ export type calendarThemeVars = { calendarDayHeight?: string calendarMonthWidth?: string calendarActiveColor?: string + calendarSelectedColor?: string calendarDisabledColor?: string calendarRangeColor?: string calendarActiveBorder?: string calendarInfoFs?: string + calendarItemMarginBottom?: string } export type checkboxThemeVars = { @@ -259,9 +261,18 @@ export type collapseThemeVars = { export type dividerThemeVars = { dividerPadding?: string + dividerMargin?: string dividerColor?: string dividerLineColor?: string + dividerLineHeight?: string dividerFs?: string + dividerContentLeftWidth?: string + dividerContentLeftMargin?: string + dividerContentRightMargin?: string + dividerContentRightWidth?: string + dividerVerticalHeight?: string + dividerVerticalContentMargin?: string + dividerVerticalLineWidth?: string } export type dropMenuThemeVars = { @@ -469,9 +480,8 @@ export type progressThemeVars = { progressBg?: string progressDangerColor?: string progressSuccessColor?: string + progressWarningColor?: string progressColor?: string - progressLinearSuccessColor?: string - progressLinearDangerColor?: string progressHeight?: string progressLabelColor?: string progressLabelFs?: string diff --git a/src/uni_modules/wot-design-uni/package.json b/src/uni_modules/wot-design-uni/package.json index e883648ff..0eefc237c 100644 --- a/src/uni_modules/wot-design-uni/package.json +++ b/src/uni_modules/wot-design-uni/package.json @@ -1 +1 @@ -{"id":"wot-design-uni","name":"wot-design-uni","displayName":"wot-design-uni 基于vue3+Typescript的高颜值组件库","version":"1.4.0","license":"MIT","description":"一个基于Vue3+TS开发的uni-app组件库,提供70+高质量组件,支持暗黑模式、国际化和自定义主题。","keywords":["wot-design-uni","国际化","组件库","vue3","暗黑模式"],"main":"index.ts","repository":{"type":"git","url":"https://github.com/Moonofweisheng/wot-design-uni.git"},"engines":{"HBuilderX":"^3.8.7"},"dcloudext":{"type":"component-vue","sale":{"regular":{"price":"0.00"},"sourcecode":{"price":"0.00"}},"contact":{"qq":""},"declaration":{"ads":"无","data":"插件不采集任何数据","permissions":"无"},"npmurl":"https://www.npmjs.com/package/wot-design-uni"},"uni_modules":{"dependencies":[],"encrypt":[],"platforms":{"cloud":{"tcb":"y","aliyun":"y"},"client":{"Vue":{"vue2":"n","vue3":"y"},"App":{"app-vue":"y","app-nvue":"u"},"H5-mobile":{"Safari":"y","Android Browser":"y","微信浏览器(Android)":"y","QQ浏览器(Android)":"y"},"H5-pc":{"Chrome":"u","IE":"u","Edge":"u","Firefox":"u","Safari":"u"},"小程序":{"微信":"y","阿里":"y","百度":"u","字节跳动":"u","QQ":"u","钉钉":"y","快手":"u","飞书":"u","京东":"u"},"快应用":{"华为":"u","联盟":"u"}}}},"peerDependencies":{"vue":">=3.2.47"}} \ No newline at end of file +{"id":"wot-design-uni","name":"wot-design-uni","displayName":"wot-design-uni 基于vue3+Typescript的高颜值组件库","version":"1.5.0","license":"MIT","description":"一个基于Vue3+TS开发的uni-app组件库,提供70+高质量组件,支持暗黑模式、国际化和自定义主题。","keywords":["wot-design-uni","国际化","组件库","vue3","暗黑模式"],"main":"index.ts","repository":{"type":"git","url":"https://github.com/Moonofweisheng/wot-design-uni.git"},"engines":{"HBuilderX":"^3.8.7"},"dcloudext":{"type":"component-vue","sale":{"regular":{"price":"0.00"},"sourcecode":{"price":"0.00"}},"contact":{"qq":""},"declaration":{"ads":"无","data":"插件不采集任何数据","permissions":"无"},"npmurl":"https://www.npmjs.com/package/wot-design-uni"},"uni_modules":{"dependencies":[],"encrypt":[],"platforms":{"cloud":{"tcb":"y","aliyun":"y"},"client":{"Vue":{"vue2":"n","vue3":"y"},"App":{"app-vue":"y","app-nvue":"u"},"H5-mobile":{"Safari":"y","Android Browser":"y","微信浏览器(Android)":"y","QQ浏览器(Android)":"y"},"H5-pc":{"Chrome":"u","IE":"u","Edge":"u","Firefox":"u","Safari":"u"},"小程序":{"微信":"y","阿里":"y","百度":"u","字节跳动":"u","QQ":"u","钉钉":"y","快手":"u","飞书":"u","京东":"u"},"快应用":{"华为":"u","联盟":"u"}}}},"peerDependencies":{"vue":">=3.2.47"}} \ No newline at end of file