1206 Commits

Author SHA1 Message Date
不如摸鱼去
7e84c5c91f
feat: 引入vitest做组件测试
* chore: 🚀 引入vitest做组件测试

* chore: 🚀 引入vitest做组件测试

* chore: 🚀 update workflow

* chore: 🚀 update workflow

* chore: 🚀 update workflow

* chore: 🚀 update workflow

* chore: 🚀 update nodejs version

* chore: 🚀 update nodejs version
2025-05-06 13:38:08 +08:00
小马
60f2fe61ae
fix: 🐛 修复 Textarea 设置为 null 时,显示字数限制显示错误问题 (#1004)
 Closes: #1003
2025-05-06 11:03:00 +08:00
不如摸鱼去
a200337863 docs: ✏️ update cases 2025-04-24 18:34:50 +08:00
愿与君长安
f137a6313e
fix: 🐛 修复 message-box 配合 layouts 使用全局 message-box 时,切换页面可能会显示上一次的 message-box 内容的问题
message-box 关闭后并没有将 options 中的 show 置为 false,配合 layouts 使用全局 message-box 时,切换页面可能会显示上一次的 message-box 内容
2025-04-09 17:11:46 +08:00
不如摸鱼去
4103942ff5 refactor: ♻️ 优化文档国际化 2025-04-08 15:25:18 +08:00
不如摸鱼去
4ae9587d63
feat: 文档示例项目支持国际化切换 (#992) 2025-04-03 15:36:39 +08:00
QingHuan
dfaff531cb
feat: grid-item添加hover-class (#994) 2025-04-03 15:34:04 +08:00
sKy
0f693f9784
docs: ✏️ 优化 WdConfigProvider 文档,解决组件命名风格问题导致失效问题 (#989) 2025-04-03 15:33:23 +08:00
不如摸鱼去
49e5d63dd1 docs: ✏️ 修复全局 closeOutside 影响 DropDown 异步开关的问题 2025-03-28 17:15:05 +08:00
yuhengshen
f9605b71b6
perf: 增强 wd-drop-menu 组件,优化遮罩层闪烁 (#974) 2025-03-28 16:09:55 +08:00
QingHuan
91776bf3de
feat: 添加input props.type可选类型 (#983)
close #981
2025-03-28 15:45:07 +08:00
不如摸鱼去
51adb6b8a9
feat: Upload 上传组件支持根据扩展名过滤文件 (#980)
 Closes: #796,#581
2025-03-27 21:45:37 +08:00
不如摸鱼去
d23b2bf2c8
refactor: ♻️ useUpload 添加选择文件的api (#976) 2025-03-26 22:57:54 +08:00
不如摸鱼去
1876fc3d0c fix: 🐛 修复多个 ImgCropper 存在时生成图片异常的问题 2025-03-26 12:42:41 +08:00
不如摸鱼去
5a3f85df6f
feat: ImgCropper 图片剪裁支持设置裁剪框宽高比 (#973)
 Closes: #920
2025-03-25 23:41:32 +08:00
不如摸鱼去
b85237643c
feat: 添加组合式API文档并提供相关API (#972) 2025-03-25 17:32:45 +08:00
不如摸鱼去
58157d8014
chore: 🚀 添加 jest 用于组件库工具方法和hooks的测试 (#971) 2025-03-25 16:49:01 +08:00
不如摸鱼去
4319fa9bad
fix: 🐛 修复部分国际化文本不正确的问题 (#970) 2025-03-24 21:26:52 +08:00
不如摸鱼去
49fe25a99b
feat: 提供 useUpload hooks 用于便捷上传 (#969) 2025-03-24 21:26:25 +08:00
不如摸鱼去
460a83802b fix: 🐛 修复 Curtain 幕帘组件 close 事件触发2次的问题
 Closes: #894
2025-03-24 20:58:10 +08:00
不如摸鱼去
7dce564d33 build: compile 1.8.0 v1.8.0 2025-03-23 21:41:33 +08:00
不如摸鱼去
39376fefea chore(release): 1.8.0 2025-03-23 21:41:23 +08:00
不如摸鱼去
b4b4d594fc docs: ✏️ 修复 Navbar 文档部分标题显示 Tabbar 的问题 2025-03-23 21:40:46 +08:00
不如摸鱼去
aad3e8332b
feat: 重构 Signature 签字板历史记录模式并添加压感模式和横屏示例 (#967) 2025-03-23 21:34:29 +08:00
不如摸鱼去
8d9e5c6658 feat: 废弃 DateTimePicker 开启插槽开关use-label-slot和use-default-slot 2025-03-20 20:25:55 +08:00
不如摸鱼去
230e09ff2a fix: 🐛 修复 DateTimePicker 区域选择时边界值处理错误的问题 2025-03-20 20:25:55 +08:00
Abigmiu
34a48783f3
feat: Img 组件添加预览图片属性 (#945)
* feat(img): 添加预览图片属性

* docs: ✏️  img 组件添加 preview-src 属性
2025-03-19 19:05:15 +08:00
不如摸鱼去
34f02997dd docs: ✏️ 接入 petercatai 聊天助手 2025-03-19 19:00:19 +08:00
不如摸鱼去
2040230064 docs: ✏️ 新增优秀案例——随享小栈 2025-03-16 22:29:11 +08:00
gouzi
10ec731b89
feat: Signature 添加历史记录和历史记录步长(包含文档添加、i18n、代码示例) (#889)
* feat:  Signature 添加历史记录和历史记录步长(包含文档添加、i18n、代码示例)

* fix: 🐛 修复Signature 撤回跟恢复方法名字不正确的问题

* fix: 🐛 修复撤回跟恢复方法的名字的问题并且修复历史记录记录出错的问题

* fix: 🐛 Signature 给历史记录列表添加一个最大长度限制

* fix: 🐛 Signature 修复文档给自定义footer添加currentStep和historyList

* fix: 🐛 Signature 修复<slot/> footer 中historyList 属性
2025-03-16 21:57:52 +08:00
drylint
f63de5bd1d
fix: 🐛 修复 drop-menu-item 有选项值为空字符串时导致新值错误并触发组件内部警告的问题 2025-03-16 21:49:03 +08:00
TL
6f12aa4b04 feat: extend wd-fab component with 4 new positions and update docs
- add 'left-center', 'right-center', 'top-center', 'bottom-center' to fab position
- update example to include all 8 positions
- enhance docs to reflect new position options
2025-03-16 21:36:56 +08:00
TL
496cb732b1 fix(picker): clear selected value and options when columns is emptied
- Fixed issue where selected value and picker options were not cleared when columns became empty
- Updated wd-picker to reset pickerValue and showValue when columns is empty
- Updated wd-picker-view to clear formatColumns and selectedIndex when columns is empty
- Enhanced selectWithValue to handle empty columns case
- Resolves #935

Closes: https://github.com/Moonofweisheng/wot-design-uni/issues/935
2025-03-16 21:36:56 +08:00
QingHuan
1ac115fdac
fix: 🐛 修复input、textarea组件placeholder样式在微信小程序无效的问题 (#944)
 Closes: #943
2025-03-14 16:44:37 +08:00
QingHuan
f9d85232c4
fix: 🐛 修复textarea统计多码元字符长度错误的问题 (#940)
 Closes: #933
2025-03-14 16:43:38 +08:00
不如摸鱼去
747893904c refactor: ♻️ 添加WdKeyboard的类型声明
 Closes: #917
2025-03-04 21:33:03 +08:00
TL
0c32c29969
docs: fix drop-menu demo code type error (#905) 2025-03-04 21:29:38 +08:00
Chiko
94370876e4
feat: 新增 InputNumber 组件支持长按加减功能 (#910) 2025-03-04 21:25:34 +08:00
Chiko
15613b393a
docs: ✏️ 修复部分文档拼写错误 (#911) 2025-03-04 21:18:57 +08:00
Moonofweisheng
ee5b25fbc3 fix: 🐛 修复在template中使用readonly无法通过vue-ts校验的问题 2025-03-04 13:44:39 +08:00
Moonofweisheng
ef7c98bffb docs: ✏️ 添加优秀案例页面 2025-02-27 12:55:51 +08:00
不如摸鱼去
b1e1db3fae refactor: ♻️ 调整文档结构 2025-02-23 16:00:59 +08:00
不如摸鱼去
eb514f0252 build: compile 1.7.1 v1.7.1 2025-02-19 23:20:06 +08:00
不如摸鱼去
4b607f9bf3 chore(release): 1.7.1 2025-02-19 23:19:53 +08:00
不如摸鱼去
c48a67b027 docs: ✏️ 优化demo项目的展示方便支付宝平台提审 2025-02-19 22:54:40 +08:00
不如摸鱼去
3dfa69c282 fix: 🐛 修复 Upload 文档自定义唤起上传样式的示例错误的问题 2025-02-19 22:39:03 +08:00
不如摸鱼去
e3a03b1dbb
fix: 🐛 修复 InputNumber 微信小程序设置了precision后无法输入小数点的问题 (#902)
 Closes: #878
2025-02-19 15:36:07 +08:00
June
604faebf4b
fix: 🐛 修复分页组件为0时不更新页数问题 (#903)
 Closes: #897
2025-02-19 15:23:03 +08:00
xiaohe0601
8b4d2ed14b
fix: 🐛 修复web-types可选值/默认值类型识别错误 (#899) 2025-02-18 15:11:44 +08:00
不如摸鱼去
18cef13bae build: compile 1.7.0 v1.7.0 2025-02-16 21:08:25 +08:00