Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 18, 2024
2 parents 7c3cfbd + 067f0c2 commit 58eb098
Show file tree
Hide file tree
Showing 32 changed files with 3,020 additions and 961 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ toc: false
spline: explain
---

## 🌈 1.5.0 `2024-10-18`
### 🚀 Features
- `Cascader`: `sfc``tsx` @anlyyao ([#1620](https://github.com/Tencent/tdesign-mobile-vue/pull/1620))
- `Picker`: 新增 `option` 属性,支持自定义选项内容 @anlyyao ([#1623](https://github.com/Tencent/tdesign-mobile-vue/pull/1623))
### 🐞 Bug Fixes
- `ImageViewer`: 补充图片默认样式 @anlyyao ([#1617](https://github.com/Tencent/tdesign-mobile-vue/pull/1617))
- `Textarea`: 修复指示器不更新问题 @anlyyao ([#1615](https://github.com/Tencent/tdesign-mobile-vue/pull/1615))
- `Cascader`: 修复 `value``options` 动态变更时页面未响应,`close` 事件返回值类型错误等问题 @anlyyao ([#1620](https://github.com/Tencent/tdesign-mobile-vue/pull/1620))
- `Calendar`: 修复 `confirmBtn` 值为 `null` 时仍显示确认按钮的问题 @GaoJiuJiu ([#1621](https://github.com/Tencent/tdesign-mobile-vue/pull/1621))
- `Indexes`: 修复索引及列表内容为异步数据时,索引链接失效的问题 @anlyyao ([#1622](https://github.com/Tencent/tdesign-mobile-vue/pull/1622))
- `fix`: 修复使用 `import "tdesign-mobile-vue/esm/style/index.js"; ` 引入组件库全局样式资源时,资源路径不存在的问题 @anlyyao ([#1624](https://github.com/Tencent/tdesign-mobile-vue/pull/1624))
### 🚧 Others
- `other`: 单独导出涉及 Plugin 相关组件的样式,支持修改类名前缀的部分场景使用 @anlyyao ([#1616](https://github.com/Tencent/tdesign-mobile-vue/pull/1616))

## 🌈 1.4.3 `2024-09-26`
### 🚀 Features
- `Radio`: 新增 `readonly`属性 ,配置只读 @liweijie0812 ([#1593](https://github.com/Tencent/tdesign-mobile-vue/pull/1593))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tdesign-mobile-vue",
"purename": "tdesign",
"version": "1.4.3",
"version": "1.5.0",
"description": "tdesign-mobile-vue",
"author": "TDesign Group",
"homepage": "https://tdesign.tencent.com/mobile-vue/",
Expand Down
10 changes: 10 additions & 0 deletions scripts/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,15 @@ const resetCss = {
plugins: [postcss({ extract: true })],
};

// 单独导出 plugin 相关组件的样式,支持修改类名前缀后因上下文暂时无法获取的情况导致组件样式失效的场景下使用
const pluginCss = {
input: 'src/_common/style/mobile/_plugin.less',
output: {
file: 'dist/plugin.css',
},
plugins: [postcss({ extract: true })],
};

export default [
cssConfig,
esConfig,
Expand All @@ -278,6 +287,7 @@ export default [
cjsConfig,
umdConfig,
umdMinConfig,
pluginCss,
resetCss,
deleteEmptyJSConfig,
];
2 changes: 1 addition & 1 deletion src/calendar/calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default defineComponent({

return () => {
const title = renderTNodeJSX('title');
const confirmBtn = renderTNodeJSX('confirmBtn');
const confirmBtn = renderTNodeJSX('confirmBtn') === undefined ? null : renderTNodeJSX('confirmBtn');
return (
<div>
{!props.usePopup ? (
Expand Down
Loading

0 comments on commit 58eb098

Please sign in to comment.