diff --git a/docs/component/notice-bar.md b/docs/component/notice-bar.md index 291998265..268fb10ab 100644 --- a/docs/component/notice-bar.md +++ b/docs/component/notice-bar.md @@ -177,7 +177,7 @@ function handleReset() { | 方法名称 | 说明 | 参数 | 最低版本 | |---------|-----|-----|---------| -| reset | 用于重置播放动画| - | $LOWEST_VERSION$ | +| reset | 用于重置播放动画| - | 1.3.13 | ## Slot diff --git a/docs/component/picker.md b/docs/component/picker.md index 87d49ccde..bc5a44479 100644 --- a/docs/component/picker.md +++ b/docs/component/picker.md @@ -273,7 +273,7 @@ function handleConfirm({ value }) { | prop | 表单域 `model` 字段名,在使用表单校验功能的情况下,该属性是必填的 | string | - | - | - | | rules | 表单验证规则,结合`wd-form`组件使用 | `FormItemRule []` | - | `[]` | - | | immediate-change | 是否在手指松开时立即触发picker-view的 change 事件。若不开启则会在滚动动画结束后触发 change 事件,1.2.25版本起提供,仅微信小程序和支付宝小程序支持。 | boolean | - | false | 1.2.25 | -| clearable | 显示清空按钮 | boolean | - | false | $LOWEST_VERSION$ | +| clearable | 显示清空按钮 | boolean | - | false | 1.3.13 | ### FormItemRule 数据结构 @@ -291,7 +291,7 @@ function handleConfirm({ value }) { | confirm | 点击右侧按钮触发 | { value, selectedItems }, value 为选中值(多列则为数组),selectedItems为选中项(多列则为数组) | - | | cancel | 点击左侧按钮触发 | - | - | | open | 打开选择器弹出层时触发 | - | - | -| clear | 点击清空按钮时触发 | - | $LOWEST_VERSION$ | +| clear | 点击清空按钮时触发 | - | 1.3.13 | ## Methods diff --git a/docs/component/select-picker.md b/docs/component/select-picker.md index b572e70fa..0cec4e626 100644 --- a/docs/component/select-picker.md +++ b/docs/component/select-picker.md @@ -360,7 +360,7 @@ function handleConfirm({ value, selectedItems }) { | show-confirm | 是否显示确认按钮(仅`radio`类型生效) | boolean | | true | 1.2.8 | | prop | 表单域 `model` 字段名,在使用表单校验功能的情况下,该属性是必填的 | string | - | - | - | | rules | 表单验证规则,结合`wd-form`组件使用 | `FormItemRule []` | - | `[]` | - | -| clearable | 显示清空按钮 | boolean | - | false | $LOWEST_VERSION$ | +| clearable | 显示清空按钮 | boolean | - | false | 1.3.13 | ### FormItemRule 数据结构 @@ -388,7 +388,7 @@ function handleConfirm({ value, selectedItems }) { | cancel | 点击关闭按钮或者蒙层时触发 | - | - | | close | 弹窗关闭时触发 | - | 1.2.29 | | open | 弹窗打开时触发 | - | 1.2.29 | -| clear | 点击清空按钮时触发 | - | $LOWEST_VERSION$ | +| clear | 点击清空按钮时触发 | - | 1.3.13 | ## Methods diff --git a/docs/component/swiper.md b/docs/component/swiper.md index 907d8e92d..16c963bb5 100644 --- a/docs/component/swiper.md +++ b/docs/component/swiper.md @@ -321,14 +321,14 @@ const isLoop = ref(false) | snapToEdge | 边距是否应用到第一个、最后一个元素 | `boolean` | - | false | 0.1.22 | | indicator | 指示器全部配置 | `SwiperIndicatorProps \| boolean` | - | true | 0.1.22 | | imageMode | 图片裁剪、缩放的模式 | `string` | 参考官方文档[mode](https://uniapp.dcloud.net.cn/component/image.html#mode-%E6%9C%89%E6%95%88%E5%80%BC) | `aspectFill` | 0.1.55 | -| autoplayVideo | 视频是否自动播放,默认自动播放 | `boolean` | - | true | $LOWEST_VERSION$ | -| stopPreviousVideo  | 切换轮播项时是否停止上一个视频的播放,默认切换时停止播放上一个视频 | `boolean` | - | true | $LOWEST_VERSION$ | -| stopAutoplayWhenVideoPlay | 视频播放时是否停止自动轮播 | `boolean` | - | false | $LOWEST_VERSION$ | +| autoplayVideo | 视频是否自动播放,默认自动播放 | `boolean` | - | true | 1.3.13 | +| stopPreviousVideo  | 切换轮播项时是否停止上一个视频的播放,默认切换时停止播放上一个视频 | `boolean` | - | true | 1.3.13 | +| stopAutoplayWhenVideoPlay | 视频播放时是否停止自动轮播 | `boolean` | - | false | 1.3.13 | | customStyle | 外部自定义样式 | `string` | - | '' | 0.1.22 | | value-key | 选项对象中,value 对应的 key | `string` | - | `value` | 1.3.7 | -| text-key | 选项对象中,标题 text 对应的 key | `string` | - | `text` | $LOWEST_VERSION$ | -| adjust-height | 自动以指定滑块的高度为整个容器的高度。当 vertical 为 true 时,默认不调整,仅支付宝小程序支持。| `string` | `'first' \| 'current' \| 'highest' \| 'none'` | `highest` | $LOWEST_VERSION$ | -| adjust-vertical-height | vertical 为 true 时强制使 adjust-height 生效。仅支付宝小程序支持。 | `boolean` | - | `false` | $LOWEST_VERSION$ | +| text-key | 选项对象中,标题 text 对应的 key | `string` | - | `text` | 1.3.13 | +| adjust-height | 自动以指定滑块的高度为整个容器的高度。当 vertical 为 true 时,默认不调整,仅支付宝小程序支持。| `string` | `'first' \| 'current' \| 'highest' \| 'none'` | `highest` | 1.3.13 | +| adjust-vertical-height | vertical 为 true 时强制使 adjust-height 生效。仅支付宝小程序支持。 | `boolean` | - | `false` | 1.3.13 | @@ -389,8 +389,8 @@ const isLoop = ref(false) | customImageClass | 自定义图片类名,1.3版本将废弃,请使用`customItemClass`代替 | 0.1.22 | | customPrevImageClass | 自定义上一个图片类名,1.3版本将废弃,请使用`customPrevClass`代替 | 0.1.22 | | customNextImageClass | 自定义下一个图片类名,1.3版本将废弃,请使用`customNextClass`代替 | 0.1.22 | -| customItemClass | 自定义子项类名 | $LOWEST_VERSION$ | -| customPrevClass | 自定义上一个子项类名 | $LOWEST_VERSION$ | -| customNextClass | 自定义下一个子项类名 | $LOWEST_VERSION$ | -| customTextClass | 自定义文字标题类名 | $LOWEST_VERSION$ | -| customTextStyle | 自定义文字标题样式 | $LOWEST_VERSION$ | +| customItemClass | 自定义子项类名 | 1.3.13 | +| customPrevClass | 自定义上一个子项类名 | 1.3.13 | +| customNextClass | 自定义下一个子项类名 | 1.3.13 | +| customTextClass | 自定义文字标题类名 | 1.3.13 | +| customTextStyle | 自定义文字标题样式 | 1.3.13 | diff --git a/docs/guide/changelog.md b/docs/guide/changelog.md index 443d3c28a..cc6094cf5 100644 --- a/docs/guide/changelog.md +++ b/docs/guide/changelog.md @@ -1,6 +1,30 @@ # 更新日志 +### [1.3.13](https://github.com/Moonofweisheng/wot-design-uni/compare/v1.3.12...v1.3.13) (2024-10-25) + + +### ✏️ Documentation | 文档 + +* ✏️ 快速上手增加vue和uni-app的快速上手链接 ([20148a7](https://github.com/Moonofweisheng/wot-design-uni/commit/20148a7800d12376adedadb32bf29239f02baef3)) +* ✏️ 添加关于深度选择的介绍 ([63428f2](https://github.com/Moonofweisheng/wot-design-uni/commit/63428f244ae84574027ea89e19598c3600716f7b)) +* ✏️ 文档新增展示优秀案例 ([47c1764](https://github.com/Moonofweisheng/wot-design-uni/commit/47c176490dabda1937abea8342d02cc6cbbcfc02)) +* ✏️ 优化文档快速上手章节 ([4e9a9da](https://github.com/Moonofweisheng/wot-design-uni/commit/4e9a9da914a372f1b0f31cfcc7fbc2f96650ef58)) + + +### 🐛 Bug Fixes | Bug 修复 + +* 🐛 修复Notice在Tabbar页面时跳转至其他页面导致播放异常的问题并提供reset方法 ([#680](https://github.com/Moonofweisheng/wot-design-uni/issues/680)) ([7584ac2](https://github.com/Moonofweisheng/wot-design-uni/commit/7584ac2a1249b6bee79669ae57c80da08a17d912)), closes [#358](https://github.com/Moonofweisheng/wot-design-uni/issues/358) [#650](https://github.com/Moonofweisheng/wot-design-uni/issues/650) + + +### ✨ Features | 新功能 + +* ✨ 为Picker和SelectPicker补充clear事件 ([8fffaa6](https://github.com/Moonofweisheng/wot-design-uni/commit/8fffaa646aad195b33c56719ffb28b2529f3f627)) +* ✨ 移除 Navbar 点击热区的激活态样式 ([60b07e5](https://github.com/Moonofweisheng/wot-design-uni/commit/60b07e514b836c55305536e2ba29ec5239b62de3)), closes [#511](https://github.com/Moonofweisheng/wot-design-uni/issues/511) +* ✨ cell组件border属性以props为最高优先级 ([#656](https://github.com/Moonofweisheng/wot-design-uni/issues/656)) ([31353ce](https://github.com/Moonofweisheng/wot-design-uni/commit/31353ceafa3bcae01202c40918e579d141957c0a)) +* ✨ picker和selectPicker添加clearable属性 ([b0d60a0](https://github.com/Moonofweisheng/wot-design-uni/commit/b0d60a0b750e8ed2cbae0b55309145c6963e498a)) +* ✨ Swiper 轮播组件支持展示视频和设置轮播项标题 ([#663](https://github.com/Moonofweisheng/wot-design-uni/issues/663)) ([a50c0be](https://github.com/Moonofweisheng/wot-design-uni/commit/a50c0be38465342e5b688b8e10b377d69ba998a6)) + ### [1.3.12](https://github.com/Moonofweisheng/wot-design-uni/compare/v1.3.11...v1.3.12) (2024-10-08) diff --git a/src/uni_modules/wot-design-uni/changelog.md b/src/uni_modules/wot-design-uni/changelog.md index 443d3c28a..cc6094cf5 100644 --- a/src/uni_modules/wot-design-uni/changelog.md +++ b/src/uni_modules/wot-design-uni/changelog.md @@ -1,6 +1,30 @@ # 更新日志 +### [1.3.13](https://github.com/Moonofweisheng/wot-design-uni/compare/v1.3.12...v1.3.13) (2024-10-25) + + +### ✏️ Documentation | 文档 + +* ✏️ 快速上手增加vue和uni-app的快速上手链接 ([20148a7](https://github.com/Moonofweisheng/wot-design-uni/commit/20148a7800d12376adedadb32bf29239f02baef3)) +* ✏️ 添加关于深度选择的介绍 ([63428f2](https://github.com/Moonofweisheng/wot-design-uni/commit/63428f244ae84574027ea89e19598c3600716f7b)) +* ✏️ 文档新增展示优秀案例 ([47c1764](https://github.com/Moonofweisheng/wot-design-uni/commit/47c176490dabda1937abea8342d02cc6cbbcfc02)) +* ✏️ 优化文档快速上手章节 ([4e9a9da](https://github.com/Moonofweisheng/wot-design-uni/commit/4e9a9da914a372f1b0f31cfcc7fbc2f96650ef58)) + + +### 🐛 Bug Fixes | Bug 修复 + +* 🐛 修复Notice在Tabbar页面时跳转至其他页面导致播放异常的问题并提供reset方法 ([#680](https://github.com/Moonofweisheng/wot-design-uni/issues/680)) ([7584ac2](https://github.com/Moonofweisheng/wot-design-uni/commit/7584ac2a1249b6bee79669ae57c80da08a17d912)), closes [#358](https://github.com/Moonofweisheng/wot-design-uni/issues/358) [#650](https://github.com/Moonofweisheng/wot-design-uni/issues/650) + + +### ✨ Features | 新功能 + +* ✨ 为Picker和SelectPicker补充clear事件 ([8fffaa6](https://github.com/Moonofweisheng/wot-design-uni/commit/8fffaa646aad195b33c56719ffb28b2529f3f627)) +* ✨ 移除 Navbar 点击热区的激活态样式 ([60b07e5](https://github.com/Moonofweisheng/wot-design-uni/commit/60b07e514b836c55305536e2ba29ec5239b62de3)), closes [#511](https://github.com/Moonofweisheng/wot-design-uni/issues/511) +* ✨ cell组件border属性以props为最高优先级 ([#656](https://github.com/Moonofweisheng/wot-design-uni/issues/656)) ([31353ce](https://github.com/Moonofweisheng/wot-design-uni/commit/31353ceafa3bcae01202c40918e579d141957c0a)) +* ✨ picker和selectPicker添加clearable属性 ([b0d60a0](https://github.com/Moonofweisheng/wot-design-uni/commit/b0d60a0b750e8ed2cbae0b55309145c6963e498a)) +* ✨ Swiper 轮播组件支持展示视频和设置轮播项标题 ([#663](https://github.com/Moonofweisheng/wot-design-uni/issues/663)) ([a50c0be](https://github.com/Moonofweisheng/wot-design-uni/commit/a50c0be38465342e5b688b8e10b377d69ba998a6)) + ### [1.3.12](https://github.com/Moonofweisheng/wot-design-uni/compare/v1.3.11...v1.3.12) (2024-10-08) 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 ca9719f0a..4a1415913 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 @@ -755,6 +755,8 @@ export type circleThemeVars = { export type swiperThemeVars = { swiperRadius?: string swiperItemPadding?: string + swiperItemTextColor?: string + swiperItemTextFs?: string } export type swiperNavThemeVars = { diff --git a/src/uni_modules/wot-design-uni/package.json b/src/uni_modules/wot-design-uni/package.json index 97ce30a10..400063aa3 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.3.12","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.3.13","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