Skip to content

Commit

Permalink
1.1.7 (#2034)
Browse files Browse the repository at this point in the history
* fix(loading): resolve style error (#1873)

* fix(loading): resolve style error

* test: update unit test

* feat: empty的文案添加换行 (#1870)

* fix(button): 修复[button] type="submit"时,disabled未生效 (#1878)

* fix(button): 修复[button] type="submit"时,disabled未生效

修复[button] type="submit"时,disabled未生效

* fix(button): 修复[button] type="submit"时,disabled未生效

修复[button] type="submit"时,disabled未生效

* test: update snap

---------

Co-authored-by: zjianzzhang <[email protected]>

* style(row): row垂直居中样式 (#1866)

添加row的flex布局,垂直居中

* fix(progress): 安卓机朗读异常 & 动态朗读 (#1354)

* fix: 安卓机朗读异常

* fix: fix code

* fix: 安卓不发音

* fix: fix code

* fix: wip 优化中

* fix: 优化

* chore: update snap

* fix: fix code

* fix: fix code

* fix: 错误使用iOS变量

* fix(补充注释): 补充注释

* fix: 优化

* test: update snap

* fix: 补充注释

* fix: 优化部分注释, remove code

* fix: 优化注释

---------

Co-authored-by: leejimqiu <[email protected]>

* feature/swiper aria v2 (#1598)

* feat(swiper): support aria

* feat(swiper): support custom ariaLabel

* feat(swiper): image name

* chore(swiper): update snap

---------

Co-authored-by: leejimqiu <[email protected]>

* docs: update custom theme

* fix(radio): resolve style (#1889)

* feat: 支持分割线组件的线条使用变量控制属性 (#1890)

* fix(action-sheet): resolve ts error of show method (#1907)

* fix(grid): 修复column>=4个时,--td-grid-item-image-width和--td-grid-item-text-font-size是无效的 (#1903)

* chore: update _common (#1902)

* feat: 支持radio的内容字体大小使用变量。 (#1895)

* feat: 支持radio的内容字体大小使用变量。

* style: 修改css变量名称

* Bitjian fix/radio icon size (#1909)

* fix: 修复--td-radio-icon-size对未选中的图标未生效

* fix: fix radio 未选择的图标未生效

* fix(radio): support css variables to change circle icon size

---------

Co-authored-by: bitjian <[email protected]>

* chore: publish v1.1.2 (#1910)

* chore: publish v1.1.2

* chore: changelog's changes

---------

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

* fix(rate): 评分组件支持无障碍滑动 (#1574)

* fix(rate): 评分组件支持滑动无障碍操作(#1050)

* fix(rate): 评分组件样式问题修复.(#1050)

* fix(rate): 评分组件单测问题.(#1050)

* fix(rate): 抽象样式, 冗余代码.(#1050)

* fix(rate): 删除冗余节点.(#1050)

* fix(rate): 优化读取.(#1050)

* fix(rate): 新增额外的读取.(#1050)

* fix(rate): 修复警告旁白导致的滑动卡顿.(#1050)

* fix(rate): sr-only注释(#1050)

* fix(rate): update test snapshots. (#1050)

* build: remove preview workflow tentatively

* fix(upload): resolve max (#1914)

* fix(navbar): resolve capsule zindex (#1920)

* chore: update site

* fix(button): 修复variant=outline等状态下loading不展示 (#1922)

* fix(button): 修复variant=outline等状态下loading不展示

* fix(button): loading inheritColor 字段错误

* fix(navbar): resolve vertical align (#1926)

* fix(navbar): resolve vertical align

* test(navbar): update snapshot

* fix(dropdown-menu): support multiple column radio (#1927)

* fix(Link): resolve disabled problem (#1928)

* fix(calendar): resolve error (#1930)

* fix(calendar): resolve error

* fix(calendar): make observer robust

* fix(tabs): resolve content overflow (#1931)

* fix(tabs): resolve content overflow

* test(tabs): update snapshot

* chore: update issue template

* fix(Input): resolve vertical layout style error (#1934)

* feat(collapse): add header-left-icon property (#1933)

* feat(tabs): add middle slot (#1936)

* chore: publish v1.1.3 (#1937)

* chore: publish v1.1.3

* chore: changelog's changes

---------

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

* fix(slider): enable dragstart and dragend event (#1940)

* fix(image-viewer): add using-custom-navation property (#1944)

* feat(Swiper): update api docs (#1945)

* feat(Swiper): update api docs

* Update CHANGELOG.md

* fix(picker): enable to using falsy value (#1948)

* fix(toast): auto hide when page is hide (#1947)

* feat(swiper): add image-load event (#1949)

* feat(swiper): add image-load event

* fix: resolve fallback value

* test: update snapshot

* chore: publish v1.1.4 (#1950)

* chore: publish v1.1.4

* chore: changelog's changes

---------

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

* docs(picker): enrich api detail (#1956)

* fix(tabs): resolve track position (#1958)

* feat(pulldown-refresh): add some properties from scroll-view (#1959)

* feat(pulldown-refresh): add some properties from scroll-view

* refactor(pulldown-refresh): using px to calculate

* feat(loading): support indicator slot

* test: update snapshot

* fix(pulldown-refresh): resolve value (#1960)

* feat(datetime-picker): support steps property (#1961)

* feat(steps): add sequence property (#1962)

* feat(dropdown-menu): add css variable for border width (#1967)

* feat(Stepper): allow input to be empty (#1971)

* fix(calendar): enable scroll into view when use-popup is false (#1969)

* chore(image-viewer): update demo (#1968)

* chore(image-viewer): update demo

* chore(image-viewer): update demo

* fix(action-sheet): enable close when click cancel

* chore: recover demo

* chore: publish v1.1.5 (#1975)

* chore: publish v1.1.5

* chore: changelog's changes

---------

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

* docs(badge): update api

* fix(navbar): Fix invalid fixed attribute of Navbar component (#1982)

* feat(Icon): update icon from 0.1.2 to 0.1.4 (#1979)

* feat(Icon): update iconform 0.1.2 to 0.1.4

* test: update snapshots

* chore: update _common

* Feat/picker-zindex (#1985)

* feat: picker添加层级控制

* refactor: 修改popupProps的处理逻辑

* refactor: fix template error

* fix: picker compile error

* fix(DropdownMenu): auto scroll to current (#1788) (#1981)

* fix(DropdownMenu): auto scroll to current (#1788)

* fix(DropdownMenu): resolve auto scroll wrong height (#1788)

* fix(DropdownMenu): auto multi scroll to current (#1788)

* feat: 添加支持date-picker的蒙层属性透 (#1991)

* feat(Slider): the step attribute supports decimals (#1990)

* feat(Slider): the step attribute supports decimals

* fix(slider): resolve emit same value

---------

Co-authored-by: leejimqiu <[email protected]>

* chore: publish v1.1.5-beta

* fix(pulldown-refresh): resolve refresh event

* fix: 修复variant动态修改无效

* feat(Grid): enrich demo (#1993)

* feat(Input): resolve label content wraps (#1994)

* docs(Steps): remove invalid attributes (#1995)

* fix(pulldown-refresh): resolve refresh event (#1998)

* fix(pulldown-refresh): resolve refresh event

* fix(pulldown-refresh): resolve change event

* fix: fix [下拉菜单] 单选选项行高不一致 #1980 (#1992)

* feat: action-sheet支持层级 (#2002)

* fix: 修复多余 row 的样式导致 col 不换行问题 (#1996)

* fix: 修复row样式问题

fix #1964, fix #1851

* fix: 修复多余 row 的样式导致 col 不换行问题

"fix #1964", "fix #1851"

---------

Co-authored-by: pingwu <[email protected]>

* fix(dialog): display of cancel and confirm button when calling a command. (#1986)

* fix(dialog): Display problem of cancel and confirm button when calling a command.

* revert(dialog): Revert changes to ` dialog.wxml`

* fix(dialog): Button issue when invoking commands.

---------

Co-authored-by: yuchumian <[email protected]>

* fix(calendar): enable calendar type (#2003)

* chore: publish v1.1.6 (#2004)

* chore: publish v1.1.6

* chore: changelog's changes

---------

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

* chore(ActionSheet): prohibit exporting components at index (#2008)

* feat: action-sheet支持cancel的颜色变量 (#2007)

* fix(sticky): resolve width (#2012)

* fix(side-bar-item): fix prefix and suffix style anomalies (#2011)

* fix(tabbar): resolve width when virtual-host not available (#2013)

* chore: publish v1.1.6-beta

* build: update npm publish

* fix(action-sheet): resolve invalid syntax

* fix(Icon): rename some icons (#2020)

* fix(Icon): rename some icons

* test: update snapshots

* chore: publish v1.1.7 (#2031)

* chore: publish v1.1.7

* chore: changelog's changes

---------

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

---------

Co-authored-by: Cyrus <[email protected]>
Co-authored-by: favouredddd <[email protected]>
Co-authored-by: 孜孜 <[email protected]>
Co-authored-by: zjianzzhang <[email protected]>
Co-authored-by: tomcat-hz <[email protected]>
Co-authored-by: 龙风 <[email protected]>
Co-authored-by: zhangpaopao <[email protected]>
Co-authored-by: Guan9 <[email protected]>
Co-authored-by: Y <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: byqbai <[email protected]>
Co-authored-by: betavs <[email protected]>
Co-authored-by: jarmywang <[email protected]>
Co-authored-by: jurrychen <[email protected]>
Co-authored-by: pingwu <[email protected]>
Co-authored-by: pingwu <[email protected]>
Co-authored-by: yuchumian <[email protected]>
Co-authored-by: yuchumian <[email protected]>
  • Loading branch information
19 people committed May 24, 2023
1 parent 431a2dd commit b70bd3f
Show file tree
Hide file tree
Showing 35 changed files with 2,612 additions and 2,158 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/tag-push.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: TAG_PUSH

on:
create
on: create

jobs:
TAG_PUSH:
Expand All @@ -24,16 +23,15 @@ jobs:
es6: true
es7: true
minify: true
env:
env:
MINI_APP_ID: ${{ secrets.TDESIGN_APP_ID }}
MINI_APP_PRIVATE_KEY: ${{ secrets.TDESIGN_MINI_KEY }}
- id: publish
name: publish NPM
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.TDESIGN_NPM_TOKEN }}
tag: ${{ contains(github.ref_name, 'alpha') && 'alpha' || 'latest' }}
tag: ${{ contains(github.ref_name, 'beta') && 'beta' || 'latest' }}
- if: steps.publish.outputs.type != 'none'
run: |
echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ toc: false
docClass: timeline
---

## 🌈 1.1.7 `2023-05-23`
### 🚀 Features
- `ActionSheet`: 新增 CSS Variable 用于控制取消按钮颜色 @favouredddd ([#2007](https://github.com/Tencent/tdesign-miniprogram/pull/2007))
### 🐞 Bug Fixes
- `ActionSheet`: 解决 ActionSheet 引入报错 @anlyyao ([#2008](https://github.com/Tencent/tdesign-miniprogram/pull/2008))
- `Sticky`: 处理在锁定的情况下,宽度计算错误的问题 @LeeJim ([#2012](https://github.com/Tencent/tdesign-miniprogram/pull/2012))
- `SideBarItem`: 修复选中态样式问题 @betavs ([#2011](https://github.com/Tencent/tdesign-miniprogram/pull/2011))
- `TabBar`: 修正 virtualHost 不可用时的宽度 @LeeJim ([#2013](https://github.com/Tencent/tdesign-miniprogram/pull/2013))
- `Icon`: 更正图标命名 @anlyyao ([#2020](https://github.com/Tencent/tdesign-miniprogram/pull/2020))

## 🌈 1.1.6 `2023-05-15`
### 🚀 Features
- `Icon`: 更新版本至 v0.1.4 @anlyyao ([#1979](https://github.com/Tencent/tdesign-miniprogram/pull/1979))
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-miniprogram",
"purename": "tdesign",
"version": "1.1.6",
"version": "1.1.7",
"description": "tdesign-miniprogram",
"title": "tdesign-ßminiprogram",
"main": "miniprogram_dist/index.js",
Expand Down
2 changes: 2 additions & 0 deletions src/action-sheet/action-sheet.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
@action-sheet-description-color: var(--td-action-sheet-description-color, @font-gray-3);
@action-sheet-text-align: var(--td-action-sheet-text-align, center);
@action-sheet-cancel-height: var(--td-action-sheet-cancel-height, 96rpx);
@action-sheet-cancel-color: var(--td-action-sheet-cancel-color, @font-gray-1);

.@{action-sheet} {
&__content {
Expand Down Expand Up @@ -124,6 +125,7 @@

&__cancel {
.flex-center();
color: @action-sheet-cancel-color;
height: @action-sheet-cancel-height;
}

Expand Down
14 changes: 11 additions & 3 deletions src/action-sheet/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
import ActionSheet from './action-sheet';
import { show, close, ActionSheetItem, ActionSheetTheme, ActionSheetShowOption } from './show';

export * from './show';
export { ActionSheetItem, ActionSheetTheme, ActionSheetShowOption };

export default ActionSheet;
export default {
show(options: ActionSheetShowOption) {
return show(options);
},

close(options: ActionSheetShowOption) {
return close(options);
},
};
50 changes: 30 additions & 20 deletions src/avatar/__test__/__virtualHostSnapshot__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,45 @@

exports[`Avatar & Avatar Groups Avatar Props : style && customStyle 1`] = `
<main>
<wx-view
class="t-avatar__wrapper class t-class"
style="color: red; font-size: 9px;"
<main
class="avatar"
>
<wx-view
ariaDescribedby="t_badge_0_description"
ariaLabelledby="t_badge_0_label"
ariaRole="option"
class="t-badge class t-class"
style=""
class="t-avatar__wrapper class t-class"
style="color: red; font-size: 9px;"
>
<wx-view
ariaHidden="true"
class="t-badge__content t-class-content"
id="t_badge_0_label"
<t-badge
tClass=""
tClassContent=""
tClassCount=""
>
<wx-view
ariaHidden="{{false}}"
ariaLabel="头像"
ariaRole="img"
class="t-avatar t-avatar--circle t-avatar--medium t-class-image"
ariaDescribedby="t_badge_0_description"
ariaLabelledby="t_badge_0_label"
ariaRole="option"
class="t-badge class t-class"
style=""
>
<wx-view
class="t-avatar__text t-class-content"
/>
ariaHidden="true"
class="t-badge__content t-class-content"
id="t_badge_0_label"
>
<wx-view
ariaHidden="{{false}}"
ariaLabel="头像"
ariaRole="img"
class="t-avatar t-avatar--circle t-avatar--medium t-class-image"
style=""
>
<wx-view
class="t-avatar__text t-class-content"
/>
</wx-view>
</wx-view>
</wx-view>
</wx-view>
</t-badge>
</wx-view>
</wx-view>
</main>
</main>
`;
Loading

0 comments on commit b70bd3f

Please sign in to comment.