Skip to content

Commit

Permalink
feat(1.4.8): weekly sync update to 2.7 (#2596)
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

* feat: release 1.4.2 (#2515)

* fix(Drawer): 修复destroyOnClose不符合预期问题 (#2517)

* docs: provide en-version docs (#2520)

* docs: provide en-version docs

* chore: fix spell check

* feat(dropdown): 新增带图标的下拉菜单示例 (#2523)

* feat(dropdown): 新增带图标的下拉菜单示例

* feat(dropdown): 新增带图标的下拉菜单示例

更新 common 的 submodule ID

* fix: textarea auto height (#2527)

* fix(swiper): navigation slot (#2514)

* Release/1.4.3 (#2528)

* feat: release 1.4.3

* feat: update common

* feat: update common

* chore: changelog's changes

---------

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

* feat: release 1.4.4 (#2532)

* feat: dialog support full-screen mode (#2529)

* [Table] 修复列配置和列宽调整场景,列数量由多变少时未能更新宽度;新增事件 onColumnResizeChange (#2535)

* fix(table): onColumnResizeChange

* fix(table): resize table width on column reduce

* fix(table): update snapshots

* test: update snapshots

* chore: setup with pnpm (#2536)

* docs: add EN version site (#2521)

* docs: en version documentation

* docs: complete docs

* chore: update docs

* feat: release 1.4.5 (#2539)

* feat: release 1.4.5

* feat: update common

* chore: changelog's changes

---------

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

* chore: complete en docs (#2541)

* feat(DatePicker): 新增 onConfirm事件 (#2545)

* fix(input-number): calibration invalid for value=0 (#2546)

fix #2516

* chore: fix test script (#2553)

* feat(table): add new class name t-table-tr--level-${level} to table row element (#2547)

* feat(table): add new class name t-table-tr--level-${level} to table row element

* test: update snapshots

* fix(input): fix limit disabled bg color (#2557)

* chore: update snapshot

* fix(Input): disabled limitNumber style

* chore: update helper tips (#2544)

* chore: update helper tips

* chore: update helper tips

* feat: release 1.4.6 (#2560)

* feat: release 1.4.6

* chore: changelog's changes

---------

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

* chore(deps-dev): bump @commitlint/cli from 17.4.4 to 17.6.6 (#2552)

Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.4.4 to 17.6.6.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.6.6/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore(deps-dev): bump @babel/core from 7.16.12 to 7.22.5 (#2551)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.16.12 to 7.22.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.5/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* fix: alert opacity style when closed (#2571)

* [Upload] `theme=image`  fileListDisplay support, click fileName to open new tab;add more English API description (#2568)

* feat(upload): support displayFiles if theme=image

* feat(upload): support uploadFilePercent instance function

* feat(upload): add instance function uploadFilePercent

* test(upload): update snapshots

* test(upload): update snapshots

* feat(upload): add size=small to link

* feat(upload): filter drag files with accept

* feat: update common

* test: update snapshots

* fix(popup): fix comparison of initial state (#2573)

* feat: release 1.4.7 (#2574)

* feat: release 1.4.7

* feat: update common

* chore: changelog's changes

---------

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

* docs(Input): value type remove Number (#2582)

* feat(datepicker): 优化关闭浮层后重置默认选中区域 (#2585)

* fix: action ci script security (#2588)

* [Checkbox] Performance Optimization (#2583)

* refactor(checkbox): code

* feat(checkbox): performance

* feat(checkbox): checked & disabled performance

* feat(checkbox): performance

* feat(checkbox): update snapshots and fix test bug

* fix: lint error

* feat(checkbox): add useKeyboardEvent

* test(checkbox): update snapshots

* chore: remove useless code

* test: revert transfer test

* feat(checkbox): support options and slots

* test(checkbox): update snapshots

* feat(checkbox): checkbox add lazyload to checkboxgroup

* feat(checkbox): slot data

* docs(Grid): row Props.gutterTS类型补充lg,xl,xxl (#2584)

* docs(Input): value type remove Number

* docs(Grid): row Props.gutterTS类型补充lg,xl,xxl

* test: update

* [+] 销毁前需要移除dialog创建的DOM (#2581)

* feat: release 1.4.8 (#2590)

* feat: release 1.4.8

* feat: update common

* feat: update common

* chore: changelog's changes

---------

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

* fix(tabs): change tab navs dom to method render (#2595)

---------

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]>
Co-authored-by: Yuhang <[email protected]>
Co-authored-by: omnis <[email protected]>
Co-authored-by: Nero.hua <[email protected]>
Co-authored-by: liweijie0812 <[email protected]>
Co-authored-by: imp2002 <[email protected]>
Co-authored-by: ikeq <[email protected]>
Co-authored-by: Kyrie Lin <[email protected]>
Co-authored-by: logan <[email protected]>
  • Loading branch information
14 people authored Jul 19, 2023
1 parent 79fdfc3 commit 113162b
Show file tree
Hide file tree
Showing 40 changed files with 2,874 additions and 1,270 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ jobs:
with:
ref: ${{ steps.comment.outputs.branch }}
- name: Commit and push if needed
env:
BODY: ${{ github.event.comment.body }}
run: |
txt=$(cat CHANGELOG.md)
body='${{ github.event.comment.body }}'
echo "${txt%%##*}${body}${txt##*---}" > CHANGELOG.md
echo "${txt%%##*} $BODY ${txt##*---}" > CHANGELOG.md
git add .
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
Expand Down
1,206 changes: 783 additions & 423 deletions CHANGELOG.md

Large diffs are not rendered by default.

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.4.7-naruto",
"version": "1.4.8-naruto",
"description": "tdesign-vue",
"title": "tdesign-vue",
"keywords": [
Expand Down
88 changes: 58 additions & 30 deletions src/checkbox/__tests__/__snapshots__/index.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
exports[`Checkbox > :props > :checked 1`] = `
<label
class="t-checkbox t-is-checked"
tabindex="0"
>
<input
class="t-checkbox__former"
tabindex="-1"
type="checkbox"
value=""
/>
Expand All @@ -21,9 +23,11 @@ exports[`Checkbox > :props > :checked 1`] = `
exports[`Checkbox > :props > :defaultChecked 1`] = `
<label
class="t-checkbox t-is-checked"
tabindex="0"
>
<input
class="t-checkbox__former"
tabindex="-1"
type="checkbox"
value=""
/>
Expand All @@ -43,6 +47,7 @@ exports[`Checkbox > :props > :disabled 1`] = `
<input
class="t-checkbox__former"
disabled="disabled"
tabindex="-1"
type="checkbox"
value=""
/>
Expand All @@ -58,10 +63,12 @@ exports[`Checkbox > :props > :disabled 1`] = `
exports[`Checkbox > :props > :indeterminate 1`] = `
<label
class="t-checkbox t-is-indeterminate"
tabindex="0"
>
<input
class="t-checkbox__former"
indeterminate="indeterminate"
tabindex="-1"
type="checkbox"
value=""
/>
Expand All @@ -77,10 +84,12 @@ exports[`Checkbox > :props > :indeterminate 1`] = `
exports[`Checkbox > :props > :name 1`] = `
<label
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
name="checkbox-name"
tabindex="-1"
type="checkbox"
value=""
/>
Expand All @@ -95,15 +104,18 @@ exports[`Checkbox > :props > :name 1`] = `

exports[`Checkbox CheckboxGroup > :props > :checked 1`] = `
<div
aria-label="checkbox-group"
checked="checked"
class="t-checkbox-group"
role="group"
>
<label
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
name=""
tabindex="-1"
type="checkbox"
value="gz"
/>
Expand All @@ -117,12 +129,12 @@ exports[`Checkbox CheckboxGroup > :props > :checked 1`] = `
</span>
</label>
<label
class="t-checkbox t-is-disabled"
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
disabled="disabled"
name=""
tabindex="-1"
type="checkbox"
value="sz"
/>
Expand All @@ -140,15 +152,18 @@ exports[`Checkbox CheckboxGroup > :props > :checked 1`] = `

exports[`Checkbox CheckboxGroup > :props > :defaultChecked 1`] = `
<div
aria-label="checkbox-group"
class="t-checkbox-group"
defaultchecked="sz"
role="group"
>
<label
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
name=""
tabindex="-1"
type="checkbox"
value="gz"
/>
Expand All @@ -162,12 +177,12 @@ exports[`Checkbox CheckboxGroup > :props > :defaultChecked 1`] = `
</span>
</label>
<label
class="t-checkbox t-is-disabled"
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
disabled="disabled"
name=""
tabindex="-1"
type="checkbox"
value="sz"
/>
Expand All @@ -185,15 +200,17 @@ exports[`Checkbox CheckboxGroup > :props > :defaultChecked 1`] = `

exports[`Checkbox CheckboxGroup > :props > :disabled 1`] = `
<div
aria-label="checkbox-group"
class="t-checkbox-group"
role="group"
>
<label
class="t-checkbox t-is-disabled"
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
disabled="disabled"
name=""
tabindex="-1"
type="checkbox"
value="bj"
/>
Expand All @@ -207,12 +224,12 @@ exports[`Checkbox CheckboxGroup > :props > :disabled 1`] = `
</span>
</label>
<label
class="t-checkbox t-is-disabled"
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
disabled="disabled"
name=""
tabindex="-1"
type="checkbox"
value="gz"
/>
Expand All @@ -227,10 +244,11 @@ exports[`Checkbox CheckboxGroup > :props > :disabled 1`] = `
</label>
<label
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
name=""
tabindex="-1"
type="checkbox"
value="sz"
/>
Expand All @@ -248,15 +266,17 @@ exports[`Checkbox CheckboxGroup > :props > :disabled 1`] = `

exports[`Checkbox CheckboxGroup > :props > :max 1`] = `
<div
aria-label="checkbox-group"
class="t-checkbox-group"
role="group"
>
<label
class="t-checkbox t-is-disabled"
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
disabled="disabled"
name=""
tabindex="-1"
type="checkbox"
value="bj"
/>
Expand All @@ -270,11 +290,12 @@ exports[`Checkbox CheckboxGroup > :props > :max 1`] = `
</span>
</label>
<label
class="t-checkbox t-is-checked"
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
name=""
tabindex="-1"
type="checkbox"
value="gz"
/>
Expand All @@ -288,11 +309,12 @@ exports[`Checkbox CheckboxGroup > :props > :max 1`] = `
</span>
</label>
<label
class="t-checkbox t-is-checked"
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
name=""
tabindex="-1"
type="checkbox"
value="sz"
/>
Expand All @@ -310,14 +332,17 @@ exports[`Checkbox CheckboxGroup > :props > :max 1`] = `

exports[`Checkbox CheckboxGroup > :props > :name 1`] = `
<div
aria-label="checkbox-group"
class="t-checkbox-group"
role="group"
>
<label
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
name="checkbox-name"
tabindex="-1"
type="checkbox"
value="gz"
/>
Expand All @@ -331,12 +356,12 @@ exports[`Checkbox CheckboxGroup > :props > :name 1`] = `
</span>
</label>
<label
class="t-checkbox t-is-disabled"
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
disabled="disabled"
name="checkbox-name"
tabindex="-1"
type="checkbox"
value="sz"
/>
Expand All @@ -354,15 +379,17 @@ exports[`Checkbox CheckboxGroup > :props > :name 1`] = `

exports[`Checkbox CheckboxGroup > :props > :options 1`] = `
<div
aria-label="checkbox-group"
class="t-checkbox-group"
role="group"
>
<label
class="t-checkbox t-is-disabled"
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
disabled="disabled"
name=""
tabindex="-1"
type="checkbox"
value="gz"
/>
Expand All @@ -377,10 +404,11 @@ exports[`Checkbox CheckboxGroup > :props > :options 1`] = `
</label>
<label
class="t-checkbox"
tabindex="0"
>
<input
class="t-checkbox__former"
name=""
tabindex="-1"
type="checkbox"
value="sz"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/checkbox/_example/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<t-checkbox>未选中项</t-checkbox>
<t-checkbox indeterminate>半选状态</t-checkbox>
<t-checkbox :checked="true">选中项</t-checkbox>
<t-checkbox disabled>未选禁用项</t-checkbox>
<t-checkbox disabled :checked="false">未选禁用项</t-checkbox>
<t-checkbox disabled :checked="true">选中禁用项</t-checkbox>
</t-space>
</template>
Expand Down
Loading

0 comments on commit 113162b

Please sign in to comment.