Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.4 #1819

Merged
merged 100 commits into from
Mar 20, 2023
Merged

1.0.4 #1819

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
fb4a31a
fix(SwipeCell): fix docs (#1634)
anlyyao Feb 22, 2023
5da469e
fix(Dialog): fix button style (#1633)
anlyyao Feb 22, 2023
0813b23
fix(loading): update loading color (#1627)
LeeJim Feb 22, 2023
2c96f51
Refactor/loading remove (#1626)
LeeJim Feb 22, 2023
61d9a43
chore(Cell): adjust className for hover-class (#1635)
anlyyao Feb 22, 2023
488c6ff
chore(Picker&&DateTimePicker): remove footer slot (#1631)
anlyyao Feb 22, 2023
bfcf649
chore(Radio): align attribute is renamed to placement (#1630)
anlyyao Feb 22, 2023
8f1c4b0
chore(Checkbox): align attribute is renamed to placement (#1629)
anlyyao Feb 22, 2023
cfddfb3
chore(Search): remove the right-icon and add the clearable attribute …
anlyyao Feb 22, 2023
86f4742
feat(button): support suffix slot (#1624)
LeeJim Feb 22, 2023
062ef43
chore(Avatar): remove bordered attribute (#1632)
anlyyao Feb 23, 2023
221aba8
chore(Message): remove action and add the link attribute (#1637)
anlyyao Feb 23, 2023
ff77931
fix(navbar): resolve capsule event currectly (#1641)
LeeJim Feb 23, 2023
c787a51
chore(Footer): copyright attribute is renamed to text (#1642)
anlyyao Feb 23, 2023
e810c0d
fix(dialog): resolve word misspelling (#1644)
jarmywang Feb 23, 2023
ee6b48b
chore(CountDown): remove hightlight theme (#1645)
anlyyao Feb 23, 2023
dfbf99e
fix(slider): 规范无障碍语义. (#1388)
byq1213 Feb 23, 2023
7fc0312
docs(steps): update api
LeeJim Feb 23, 2023
82e96e7
fix(toast): replace fail theme with error (#1647)
LeeJim Feb 23, 2023
41f0689
docs: update api & changelog
LeeJim Feb 24, 2023
a0afded
fix: fix overview.md errors (#1651)
anlyyao Feb 24, 2023
e2c7b6a
fix: update pages
LeeJim Feb 24, 2023
7d3ccdb
fix(collapse): resolve disabled color (#1648)
LeeJim Feb 24, 2023
7b911df
chore(Link): remove status and add disabled and hover (#1652)
anlyyao Feb 24, 2023
62e12ad
feat(Drawer): add hover style (#1673)
anlyyao Feb 27, 2023
c649a1d
fix(Tag): use catch to bind events (#1669)
anlyyao Feb 27, 2023
2fb8cea
fix(rate): remove variant property and update tips disapper logic (#1…
LeeJim Feb 27, 2023
e191668
fix(BackTop): fix icon (#1660)
anlyyao Feb 27, 2023
03055b0
fix(Picker): update demo (#1661)
anlyyao Feb 27, 2023
f754cbb
fix: update sidebar of the site (#1659)
anlyyao Feb 27, 2023
8992f67
docs(common): update design docs (#1658)
anlyyao Feb 27, 2023
79d9ea5
fix(SideBar): fix inaccurate positioning when the page was init (#1675)
anlyyao Feb 27, 2023
1009e42
fix(slider): remove colors and disabledColor property (#1676)
LeeJim Feb 27, 2023
23cd33a
feat(AvatarGroup): add border style (#1678)
anlyyao Feb 27, 2023
4a3270c
fix(dialog): resolve action tsd error and support buttonLayout (#1654…
jarmywang Feb 27, 2023
0186186
chore(NoticeBar): extra attribute is renamed to operation (#1638)
anlyyao Feb 27, 2023
a515aef
fix(Cell): resolve demo problems (#1679)
anlyyao Feb 27, 2023
a2ee5b2
chore: publish v1.0.0 (#1680)
LeeJim Feb 27, 2023
e8d589a
docs: update changelog
LeeJim Feb 28, 2023
8ec6f71
chore: update common
LeeJim Feb 28, 2023
eb80e2e
fix(action-sheet): add close event (#1683)
LeeJim Feb 28, 2023
7f50b82
fix(cascader): resolve events (#1685)
LeeJim Feb 28, 2023
aef1bff
fix(drawer): resolve close event (#1686)
LeeJim Feb 28, 2023
cb1bbef
feat(picker): add close event (#1687)
LeeJim Feb 28, 2023
46fa5bf
fix(Message): fix t-class-link invalid (#1690)
anlyyao Mar 1, 2023
5a04c66
fix: fix docs (#1688)
anlyyao Mar 1, 2023
c9f9ad5
feat(upload): support aria (#1238)
zhangpaopao0609 Mar 1, 2023
9bf9e0f
fix: resolve radio placement (#1693)
LeeJim Mar 1, 2023
b30c83a
fix(Message): fix demo for message (#1694)
anlyyao Mar 1, 2023
79d4126
chore: publish v1.0.1 (#1695)
LeeJim Mar 1, 2023
bd6a0e9
Merge branch 'main' into develop
LeeJim Mar 2, 2023
b57419e
chore: add test:snap-update (#1706)
anlyyao Mar 2, 2023
76dbab8
fix: update api for checkbox and radio (#1707)
LeeJim Mar 6, 2023
9f53b78
fix(action-sheet): resolve click event (#1726)
LeeJim Mar 6, 2023
df7b9bd
feat: update used page (#1734)
LeeJim Mar 7, 2023
c92849d
fix(Swiper): resolve border radius invalid (#1733)
anlyyao Mar 7, 2023
764a156
docs: update changelog
LeeJim Mar 7, 2023
010f34d
fix(navbar): resolve extenal class (#1735)
LeeJim Mar 7, 2023
efe64e5
docs(Footer): update docs (#1737)
anlyyao Mar 7, 2023
5009073
fix(Swiper): the image is disappears when the version is lower than 2…
anlyyao Mar 7, 2023
61a2ff8
chore(ImageViewer): resolved imageViewer display is incomplete (#1656)
anlyyao Mar 7, 2023
dc4fb64
fix(Input): resolve maxLength invalid (#1732)
anlyyao Mar 7, 2023
9ba0038
chore: publish v1.0.2 (#1740)
LeeJim Mar 7, 2023
c024338
Merge branch 'main' into develop
LeeJim Mar 8, 2023
1deb8ce
fix(dropdown-menu): resolve label and radio icon placement (#1748)
LeeJim Mar 8, 2023
b3a3cef
Update README.md (#1751)
hezhi3f Mar 9, 2023
be20b2f
fix(popup): resolve close can not tap (#1754)
jarmywang Mar 9, 2023
8dacfe8
fix(calendar): resolve format property reactive (#1753)
LeeJim Mar 9, 2023
6c6d3ca
fix: fix docs for upload and icon components (#1752)
anlyyao Mar 9, 2023
24f33b8
feat(picker): support keys property (#1759)
LeeJim Mar 11, 2023
6fb5a5d
fix(checkbox): resolve check all when some is diabled (#1766)
LeeJim Mar 13, 2023
e55efb2
fix(badge): resolve color property (#1764)
LeeJim Mar 13, 2023
ce1214b
feat(Input): support bindnicknamereview (#1755)
anlyyao Mar 13, 2023
87af653
fix(upload): make size-limit support object (#1763)
LeeJim Mar 13, 2023
fe550ec
fix(Button): fix disabled invalid (#1739)
anlyyao Mar 13, 2023
8a262e4
fix(grid | cell | tabs | tabbar | sliderBar): 有 badge,有新的消息、不朗读异常 (#1…
yaogengzhu Mar 13, 2023
c12d11d
chore: update projects who use tdesign
LeeJim Mar 14, 2023
934e981
fix(Cell): resolve the incomplete display of note content (#1769)
anlyyao Mar 14, 2023
38dd037
feat(wxs): the style attr supports camel case (#1744)
anlyyao Mar 14, 2023
96a3301
feat(popup): support background,border-radius,safe-area (#1758)
jarmywang Mar 14, 2023
a05cc67
fix(Progress): resolve slot invalid when label is true (#1771)
anlyyao Mar 14, 2023
98a0eb2
fix(grid): resolve image slot (#1772)
LeeJim Mar 14, 2023
875b28b
chore: publish v1.0.3 (#1774)
LeeJim Mar 14, 2023
6c9a9a9
Merge branch 'main' into develop
LeeJim Mar 14, 2023
694a5e6
feat(pull-down-refresh.wxml): pull-down-refresh无障碍支持 (#1241)
shinyina Mar 14, 2023
680613c
docs(radio): update api
LeeJim Mar 15, 2023
fad9297
fix(Textarea): resolve the style problem when autosize is true (#1781)
anlyyao Mar 16, 2023
c0b6a40
feat(step aria): step aria (#1783)
tangzixuan Mar 16, 2023
83ad687
chore: update site-components (#1795)
honkinglin Mar 17, 2023
cba42b0
fix(upload): 修复upload点击事件失效问题 (#1802)
yaogengzhu Mar 18, 2023
7826aed
fix(switch): resolve label and icon (#1809)
LeeJim Mar 18, 2023
7b2c976
fix(loading): resolve style error (#1810)
LeeJim Mar 19, 2023
1c627de
chore: add new project
LeeJim Mar 19, 2023
bdf5ad5
fix(radio): resolve placement (#1812)
LeeJim Mar 19, 2023
b6e1d38
fix(button): resolve multiple slot (#1813)
LeeJim Mar 19, 2023
9fb1ed7
fix(upload): 修复limit限制的问题 (#1800)
yaogengzhu Mar 19, 2023
ee7d94c
build: add workflow for issue labeld
LeeJim Mar 20, 2023
d484171
fix: resolve multiple slots (#1816)
LeeJim Mar 20, 2023
d81e812
chore: publish v1.0.4 (#1818)
LeeJim Mar 20, 2023
41768cc
Merge branch 'main' into develop
LeeJim Mar 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/issue-shoot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## IssueShoot
- 预估时长: {{ .duration }}
- 期望完成时间: {{ .deadline }}
- 开发难度: {{ .level }}
- 参与人数: 1
- 验收标准: 实现期望改造效果,提 PR 并通过验收无误
- 备注: 最终激励以实际提交 `pull request` 并合并为准
50 changes: 50 additions & 0 deletions .github/workflows/issue-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: issue on label
on:
issues:
types: ['labeled']
jobs:
add-issueshoot-template:
runs-on: ubuntu-latest
if: contains(fromJSON('["easy", "middle", "hard"]'), github.event.label.name)
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get token
id: token
run: |
label=${{ github.event.label.name }}
if [[ $label = "easy" ]]
then
echo "level=简单" >> $GITHUB_OUTPUT
echo "duration=1" >> $GITHUB_OUTPUT
deadline=$(date -d "+3 days" +'%Y-%m-%d')
echo "deadline=${deadline}" >> $GITHUB_OUTPUT
elif [[ $label = "middle" ]]
then
echo "level=中等" >> $GITHUB_OUTPUT
echo "duration=3" >> $GITHUB_OUTPUT
deadline=$(date -d "+7 days" +'%Y-%m-%d')
echo "deadline=${deadline}" >> $GITHUB_OUTPUT
else
echo "level=困难" >> $GITHUB_OUTPUT
echo "duration=5" >> $GITHUB_OUTPUT
deadline=$(date -d "+10 days" +'%Y-%m-%d')
echo "deadline=${deadline}" >> $GITHUB_OUTPUT
fi
- name: Create template
id: template
uses: chuhlomin/render-template@v1.4
with:
template: .github/issue-shoot.md
vars: |
level: ${{ steps.token.outputs.level }}
duration: ${{ steps.token.outputs.duration }}
deadline: ${{ steps.token.outputs.deadline }}
- name: Update issue
uses: actions-cool/issues-helper@v3
with:
actions: 'update-issue'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: ${{ steps.template.outputs.result }}
update-mode: 'append'
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@ toc: false
docClass: timeline
---

## 🌈 1.0.4 `2023-03-20`
### 🚀 Features
- `PullDownRefresh`: 支持无障碍访问支持 @shinyina ([#1241](https://github.com/Tencent/tdesign-miniprogram/pull/1241))
- `Steps`: 支持无障碍访问 @tangzixuan ([#1783](https://github.com/Tencent/tdesign-miniprogram/pull/1783))

### 🐞 Bug Fixes
- `Textarea`: 修复 `autosize` 为 `true` 时,`placeholder` 上移问题 @anlyyao ([#1781](https://github.com/Tencent/tdesign-miniprogram/pull/1781))
- `Switch`: 修复 label 和 icon 渲染顺序错误的问题 @LeeJim ([#1809](https://github.com/Tencent/tdesign-miniprogram/pull/1809))
- `Loading`: 修复错误的 style 导致 wxs 报错 @LeeJim ([#1810](https://github.com/Tencent/tdesign-miniprogram/pull/1810))
- `Radio`: 修复 placement 优先级的问题 @LeeJim ([#1812](https://github.com/Tencent/tdesign-miniprogram/pull/1812))
- `Button`: 解决多个插槽的渲染问题 @LeeJim ([#1813](https://github.com/Tencent/tdesign-miniprogram/pull/1813))
- `Link`: 解决多个插槽无法渲染的问题 @LeeJim ([#1816](https://github.com/Tencent/tdesign-miniprogram/pull/1816))
- `TabPanel`: 解决多个插槽无法渲染的问题 @LeeJim ([#1816](https://github.com/Tencent/tdesign-miniprogram/pull/1816))
- `Upload`: 修复点击事件失效问题 @yaogengzhu ([#1802](https://github.com/Tencent/tdesign-miniprogram/pull/1802))
- `Upload`: 修复 limit 限制的问题 @yaogengzhu ([#1800](https://github.com/Tencent/tdesign-miniprogram/pull/1800))


## 🌈 1.0.3 `2023-03-14`
### 🚀 Features
- `Picker`: 新增支持 keys 属性 @LeeJim ([#1759](https://github.com/Tencent/tdesign-miniprogram/pull/1759))
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tdesign-miniprogram",
"purename": "tdesign",
"version": "1.0.3",
"version": "1.0.4",
"description": "tdesign-miniprogram",
"title": "tdesign-ßminiprogram",
"main": "miniprogram_dist/index.js",
Expand Down Expand Up @@ -102,7 +102,7 @@
"stylelint": "^13.13.1",
"tdesign-icons-view": "^0.1.0",
"tdesign-publish-cli": "^0.0.12",
"tdesign-site-components": "^0.11.1",
"tdesign-site-components": "^0.12.2",
"typescript": "~4.7.2",
"vite": "^2.7.6",
"vite-plugin-tdoc": "^2.0.1",
Expand Down
6 changes: 6 additions & 0 deletions site/data/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ export default
preview: ['https://tdesign.gtimg.com/miniprogram/case/codingyutang.png'],
qrcode: 'https://tdesign.gtimg.com/miniprogram/case/codingyutang-code.jpg',
},
{
name: '智写 AI',
tags: ['效率工具'],
preview: ['https://tdesign.gtimg.com/miniprogram/case/zhixieai.png'],
qrcode: 'https://tdesign.gtimg.com/miniprogram/case/zhixieai-code.png',
},
]
50 changes: 20 additions & 30 deletions src/avatar/__test__/__virtualHostSnapshot__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,35 @@

exports[`Avatar & Avatar Groups Avatar Props : style && customStyle 1`] = `
<main>
<main
class="avatar"
<wx-view
class="t-avatar__wrapper class t-class"
style="color: red; font-size: 9px;"
>
<wx-view
class="t-avatar__wrapper class t-class"
style="color: red; font-size: 9px;"
ariaDescribedby="t_badge_0_description"
ariaLabelledby="t_badge_0_label"
ariaRole="option"
class="t-badge class t-class"
style=""
>
<t-badge
tClass=""
tClassContent=""
tClassCount=""
<wx-view
ariaHidden="true"
class="t-badge__content t-class-content"
id="t_badge_0_label"
>
<wx-view
ariaDescribedby="t_badge_0_description"
ariaLabelledby="t_badge_0_label"
ariaRole="option"
class="t-badge class t-class"
ariaHidden="{{false}}"
ariaLabel="头像"
ariaRole="img"
class="t-avatar t-avatar--circle t-avatar--medium t-class-image"
style=""
>
<wx-view
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>
class="t-avatar__text t-class-content"
/>
</wx-view>
</t-badge>
</wx-view>
</wx-view>
</main>
</wx-view>
</main>
`;
4 changes: 4 additions & 0 deletions src/button/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ export default class Button extends SuperComponent {

properties = props;

options = {
multipleSlots: true,
};

data = {
prefix,
className: '',
Expand Down
Loading