Skip to content

Commit

Permalink
feat(1.4.2): weekly sync update to 2.7 (#2513)
Browse files Browse the repository at this point in the history
* Release/1.4.0 (#2481)

* feat: release 1.4.0

* feat: update common

* chore: changelog's changes

* docs: add language pack contributing doc

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: 1.4.0 changelog render error (#2482)

* fix(input-number): do not set value if value is undefined/null (#2483)

* docs: update documentation for vue2.7 support (#2491)

* feat: move popup align style to less from inline style (#2496)

* feat: move popup align style to less from inline style

* chore: fix spelling error

* fix: spelling error

* test: update snapshot

* chore: add 2.7 infra (#2497)

* chore: add 2.7 infra

* chore: fix snapshot

* chore(deps-dev): bump workbox-precaching from 6.6.1 to 7.0.0 (#2467)

Bumps [workbox-precaching](https://github.com/googlechrome/workbox) from 6.6.1 to 7.0.0.
- [Release notes](https://github.com/googlechrome/workbox/releases)
- [Commits](https://github.com/googlechrome/workbox/commits/v7.0.0)

---
updated-dependencies:
- dependency-name: workbox-precaching
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(timeline): async timeline render (#2501)

* chore: update snapshot

* fix(timeline): fix async render timeline item

* chore: fix unused lint

* Feat/submenu popup props (#2504)

* feat: add popupProps interface to submenu

* feat: add submenu.popupProps

* test: submenu.popupProps demo

* chore: add ts type

* fix(table): 通过current修改分页,序列号没有变化问题修复 (#2506)

* fix(colorpicker): support empty initial value for graident color (#2511)

* feat: release 1.4.1 (#2512)

* feat: release 1.4.1

* feat: update common

* feat: update common

* chore: register component

* chore: update version

* feat: release 1.4.2 (#2515)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: azhe <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sheepluo <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: LoopZhou <[email protected]>
  • Loading branch information
6 people authored Jun 13, 2023
1 parent 24a992a commit c4d3973
Show file tree
Hide file tree
Showing 51 changed files with 252 additions and 256 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: MAIN_PULL_REQUEST

on:
pull_request:
branches: [develop, main, feature]
branches: [develop, main, feature, feat/2.7]
types: [opened, synchronize, reopened]

jobs:
Expand Down
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,43 @@ toc: false
docClass: timeline
---

## 🌈 1.4.2 `2023-06-13`
### 🚀 Features
- `Menu`:
- Submenu 新增 popupProps 属性,允许透传设置底层 Popup 弹窗属性 @xiaosansiji ([#2504](https://github.com/Tencent/tdesign-vue/pull/2504))
- 去除子菜单 inline 样式,改为样式类实现,方便通过全局 Design Token 方式调整尺寸和间距等 @xiaosansiji ([#2496](https://github.com/Tencent/tdesign-vue/pull/2496))
- `InputNumber`: 初始值为 `undefined/null`,且存在 decimalPlaces 时,不再进行小数点纠正 @chaishi ([#2483](https://github.com/Tencent/tdesign-vue/pull/2483))
### 🐞 Bug Fixes
- `Menu`:
- 修复弹出类菜单内容未对齐的问题 @xiaosansiji ([#2496](https://github.com/Tencent/tdesign-vue/pull/2496))
- 修复侧边导航横向内容可以滚动的问题 @xiaosansiji ([common#1398](https://github.com/Tencent/tdesign-common/pull/1398))
- 修复菜单项与展开箭头 icon 未两端对齐的问题 @xiaosansiji ([common#1390](https://github.com/Tencent/tdesign-common/pull/1390))
- `Timeline`: 修复 `timeline-item` 响应式渲染丢失的问题 @uyarn ([#2501](https://github.com/Tencent/tdesign-vue/pull/2501))
- `Table`: 修复通过 `current` 修改分页,序列号没有变化的问题 @LoopZhou ([#2506](https://github.com/Tencent/tdesign-vue/pull/2506))
- `ColorPicker`: 初始化为渐变模式时 支持空字符串作为初始值 @uyarn ([#2511](https://github.com/Tencent/tdesign-vue/pull/2511))
- `TreeSelect`: 修复 keys配合 `valueType = object` 时使用的异常问题 @uyarn ([#2511](https://github.com/Tencent/tdesign-vue/pull/2511))
- `Cascader`: 修复空数组选项展示异常的问题 @uyarn ([#2511](https://github.com/Tencent/tdesign-vue/pull/2511))
- `Upload`: 删除 Upload 中对 loading 的重复颜色设置 @sinbadmaster ([common#1399](https://github.com/Tencent/tdesign-common/pull/1399))

## 🌈 1.4.0 `2023-06-06`
### 🚀 Features
- `Menu`: @xiaosansiji ([#2461](https://github.com/Tencent/tdesign-vue/pull/2461))
- 设置 `href` 时使用 `<a>` 标签渲染菜单项 [#1671](https://github.com/Tencent/tdesign-vue-next/issues/1671)
- 使用 Popup 重构 Menu 弹出菜单实现
- `Select`: 优化选项结构 移除多余的span节点 @uyarn ([#2480](https://github.com/Tencent/tdesign-vue/pull/2480))
- `InputNumber`: 支持默认格式化小数点 @chaishi ([#2478](https://github.com/Tencent/tdesign-vue/pull/2478))
### 🐞 Bug Fixes
- `Loading`: 修复多次调用关闭全屏函数时控制台报错问题 @huangpiqiao ([#2465](https://github.com/Tencent/tdesign-vue/pull/2465))
- `Menu`: @xiaosansiji ([#2461](https://github.com/Tencent/tdesign-vue/pull/2461))
- 修复收起菜单时超出内容无法滚动的问题 [#2435](https://github.com/Tencent/tdesign-vue/issues/2435)
- 修复侧边导航菜单,次级弹出菜单也会展示 Tooltip 的问题
- `InputNumber`: 修复部分小数点数字无法输入问题 @chaishi ([#2460](https://github.com/Tencent/tdesign-vue/pull/2460))
- `Popup`: 修复 `popupPlugin `用法的 `triggerElement` 参数的类型报错的问题 @zhangpaopao0609 ([#2477](https://github.com/Tencent/tdesign-vue/pull/2477))
- `Input`: 修复快速输入或同时输入时输入值异常的问题 @uyarn ([#2479](https://github.com/Tencent/tdesign-vue/pull/2479))
- `InputAdornment`: 修复 1.3.4 中修复空字符串导致插槽没有正常渲染的问题 @uyarn ([#2480](https://github.com/Tencent/tdesign-vue/pull/2480))
- `ImageViewer`: 修复 closeBtn `prop = false` 时渲染异常的问题 @sinbadmaster ([#2472](https://github.com/Tencent/tdesign-vue/pull/2472))
- `类型问题`: 修复`Radio Checkbox Input Tabs Popup`等组件缺少 type 的问题 @chaishi ([#2475](https://github.com/Tencent/tdesign-vue/pull/2475))

## 🌈 1.3.4 `2023-05-30`
### 🚀 Features
- `TimePicker`: 没有选中值时不允许点击确认按钮 @uyarn ([#2448](https://github.com/Tencent/tdesign-vue/pull/2448))
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,24 @@
</a>
</p>

English | [简体中文](./README-zh_CN.md)
English | [简体中文](./README-zh_CN.md)

TDesign Vue is a UI component library for Vue 2 and desktop application.

# 🎉 Features

- Desktop application interaction
- High quality UI components for Vue 2.x (< Vue 2.7)
- High quality UI components for Vue 2.x
- Consistent API and UI with TDesign component libraries for other frameworks
- Dark mode and customizable theme
- Support tree-shaking

# 📦 Installation

```shell
npm i tdesign-vue
npm i tdesign-vue // for vue 2.6
npm i tdesign-vue@naruto // for vue 2.7

```

# 🔨 Usage
Expand All @@ -57,9 +59,8 @@ Visit [TDesign Starter](https://tdesign.tencent.com/starter/vue/) to experience
# Browser Support

| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/> IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Safari |
| --- | --- | --- | --- |
| Edge >=91 | Firefox >=83 | Chrome >=91 | Safari >=14.1 |

| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Edge >=91 | Firefox >=83 | Chrome >=91 | Safari >=14.1 |

Read our [browser compatibility](https://github.com/Tencent/tdesign/wiki/Browser-Compatibility) for more details.

Expand All @@ -77,4 +78,4 @@ Contributing is welcome. Read [guidelines for contributing](https://github.com/T

# License

The MIT License. Please see [the license file](./LICENSE) for more information.
The MIT License. Please see [the license file](./LICENSE) for more information.
97 changes: 0 additions & 97 deletions global.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tdesign-vue",
"purename": "tdesign",
"version": "1.3.4",
"version": "1.4.2-naruto",
"description": "tdesign-vue",
"title": "tdesign-vue",
"keywords": [
Expand Down
6 changes: 5 additions & 1 deletion script/generate-usage/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,11 @@ module.exports = {
timeline: {
panelStr: `const panelList = [{label: 'timeline', value: 'timeline'}];`,
render: {
timePicker: `<t-timeline v-bind="configProps" />`,
timeline: `<t-timeline v-bind="configProps">
<t-timeline-item label="2022-01-01">事件一</t-timeline-item>
<t-timeline-item label="2022-02-01">事件二</t-timeline-item>
<t-timeline-item label="2022-03-01">事件三</t-timeline-item>
</t-timeline>`,
},
},
upload: {
Expand Down
Loading

0 comments on commit c4d3973

Please sign in to comment.