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

feat(Stepper): new stepper #518

Merged
merged 2 commits into from
Mar 16, 2023
Merged

feat(Stepper): new stepper #518

merged 2 commits into from
Mar 16, 2023

Conversation

anlyyao
Copy link
Collaborator

@anlyyao anlyyao commented Mar 14, 2023

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

fix #486

相关pr:
common:
Tencent/tdesign-common#1198
Tencent/tdesign-common#1199

api:
TDesignOteam/tdesign-api#90

💡 需求背景和解决方案

背景:input事件触发顺序:focus > input > change > blur
解决方案:input 阶段仅限制输入值为number,首位不为0,在 change 阶段开始判断是否超出最大/最小值

📝 更新日志

  • fix(Stepper): 修复 min/max 存在时,输入受限问题

  • feat(Stepper): 新增 size 属性

  • break(Stepper): 属性 theme 的 gray 主题更名为 filled,并新增 outline 主题

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@anlyyao anlyyao mentioned this pull request Mar 14, 2023
@github-actions
Copy link
Contributor

Size Change: +87 B (0%)

Total Size: 385 kB

Filename Size Change
./dist/tdesign.js 226 kB +57 B (0%)
./dist/tdesign.min.js 108 kB +30 B (0%)
ℹ️ View Unchanged
Filename Size
./dist/tdesign.css 26.8 kB
./dist/tdesign.min.css 24.8 kB

@github-actions
Copy link
Contributor

github-actions bot commented Mar 14, 2023

完成

@github-actions
Copy link
Contributor

Size Change: +447 B (0%)

Total Size: 385 kB

Filename Size Change
./dist/tdesign.css 26.8 kB +187 B (+1%)
./dist/tdesign.js 226 kB +57 B (0%)
./dist/tdesign.min.css 24.8 kB +173 B (+1%)
./dist/tdesign.min.js 108 kB +30 B (0%)

@LeeJim LeeJim merged commit 3ba6a28 into develop Mar 16, 2023
@LeeJim LeeJim deleted the feat/stepper/size branch March 16, 2023 09:03
@github-actions github-actions bot mentioned this pull request Mar 20, 2023
LeeJim added a commit that referenced this pull request Mar 20, 2023
* chore: update site-components

* fix(Loading): fix loading render in safari

* fix(Tag): update style (#507)

* fix(Tag): update style

* fix: fix type

* style: update common

* fix: fix cr

* feat(Stepper): new stepper (#518)

* feat(Stepper): support size attr

* feat: adjust the api document path to the v2 folder

* feat(radio): new radio (#517)

* feat(radio): update api

* refactor(radio): move radio-group folder

* fix: import less use new way

* feat(radio): enrich property

* test(radio): update unit test

* test: update snapshot

* feat(switch): enrich property (#520)

* feat(switch): enrich property

* feat(switch): finish new switch

* test(switch): update unit test

* test(switch): update snapshots

* test(switch): update snapshots

* test: update snapshot

* chore: publish v0.15.0 (#522)

* chore: publish v0.15.0

* chore: changelog's changes

---------

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

---------

Co-authored-by: HQ-Lin <a154571896@gmail.com>
Co-authored-by: Y <anly_yaw@163.com>
Co-authored-by: yuyang <uyarnchen@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
LeeJim added a commit that referenced this pull request Mar 27, 2023
* chore: update site-components

* fix(Loading): fix loading render in safari

* fix(Tag): update style (#507)

* fix(Tag): update style

* fix: fix type

* style: update common

* fix: fix cr

* feat(Stepper): new stepper (#518)

* feat(Stepper): support size attr

* feat: adjust the api document path to the v2 folder

* feat(radio): new radio (#517)

* feat(radio): update api

* refactor(radio): move radio-group folder

* fix: import less use new way

* feat(radio): enrich property

* test(radio): update unit test

* test: update snapshot

* refactor(Footer): add api

* feat: add footer router

* feat(switch): enrich property (#520)

* feat(switch): enrich property

* feat(switch): finish new switch

* test(switch): update unit test

* test(switch): update snapshots

* test(switch): update snapshots

* test: update snapshot

* chore: publish v0.15.0 (#522)

* chore: publish v0.15.0

* chore: changelog's changes

---------

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

* fix: resolve misspell (#527)

* feat(loading): using new style (#528)

* feat(loading): using new style

* fix(loading): update api and snapshot

* chore: remove uesless console

* refactor(cell): move cell-group folder (#529)

* refactor(cell): move cell-group folder

* fix(cell): update dom and style

* chore: update common

* fix(cell): update demo

* test(cell): update snapshot

* chore(footer): base code (#525)

* chore(footer): base code

* fix(footer): copyright

* fix(footer): api update

* chore(footer): url

---------

Co-authored-by: lem <11597313+lemc@user.noreply.gitee.com>

* refactor(Textarea): new textarea (#523)

* refactor(Textarea): new textarea

* test: update snapshots

* fix: fix cr

* chore: publish v0.16.0 (#535)

* chore: publish v0.16.0

* chore: changelog's changes

---------

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

---------

Co-authored-by: HQ-Lin <a154571896@gmail.com>
Co-authored-by: Y <anly_yaw@163.com>
Co-authored-by: yuyang <uyarnchen@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: mamumu123 <1500012802@pku.edu.cn>
Co-authored-by: lem <11597313+lemc@user.noreply.gitee.com>
xiaosansiji pushed a commit that referenced this pull request Apr 7, 2023
* 0.14.1 (#484)

* test(indexes): 新增 `Index` 单元测试用例

* test(indexes): `Indexes` 单测覆盖率提升

* docs(stepper): update stepper demo

re #413

* test: update snapshots

* feat(Cascader): update demo

* feat(search): update demo for search

* docs(slider): update docs and demo (#458)

* fix(slider): update docs and demo

* docs(slider): update docs and demo

* fix(slider): update snap

* Refactor/navbar: 重构NavBar组件 (#391)

* refactor(nav-bar): refactor nav-bar

re #347

* feat(navbar): add homeIcon slot and fixed style

* feat(navbar): update navbar demo

* test(navbar): navbar unit test

re #271

* refactor(navbar): refactor navbar

re #347

* test(Cascader): add unit test for cascader (#452)

* docs: update cascader demo (#451)

* docs(cascader): update demo code

re #413

* docs(cascader): update cascader demo

re #413

* test(Calendar): add unit test for calendar (#454)

* test(Overlay): improve unit test coverage (#455)

* test(Message): improve unit test coverage (#456)

* chore(Collapse): remove useless code (#457)

* docs(upload): update doc and demo 修复初始值无法正常使用问题 (#460)

* docs(upload): update doc and demo 修复 初始值无法显示问题

* fix(upload): update snap

* docs(steps): update doc and demo (#459)

* docs(steps): update doc and demo

* fix(steps): update snap

* docs(collapse): update doc and demo

* fix(collapse): update snap

* docs(acton-sheet): update doc and demo

* fix(action-sheep): update snap

* docs(image-viewer): update demo

* fix(image-viewer): update snap

* docs(list): update demo

* docs(notice-bar): 规范 `NoticeBar` 组件的示例代码 (#465)

* docs(back-top): update doc and demo and styles

* docs(list): update demo (#464)

* fix(action-sheet): fix cr

* fix(action-sheet): update snap

* fix(list): fix button color

* fix(image-viewer): fix cr

* docs(back-top): update doc and demo

* fix(back-top): update snap

* chore: publish v0.14.0 (#469)

* chore: publish v0.14.0

* chore: changelog's changes

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

* docs(pull-down-refresh): update docs and demo

* fix(pull-down-refresh): update snap

* feat(progress): update progress docs and demo

* fix(back-top): fix cr

* fix(pull-down-refresh): fix cr

* feat(progress): update progress docs and demo

* feat(progress): update progress docs and demo

* docs(swipe-cell): update docs and demo

* chore: lock @vue/runtime-core version && update snapshot (#474)

* docs(button): refactor button demo

re #413

* fix(back-top): fix cr

* docs(swipe-cell): update docs and demo

* fix(pull-down-refresh): fix cr

* fix(pull-down-refresh): delete file

* fix: remove useless files

* docs(countdown): update countdown demo (#477)

re #413

* docs(image): update image demo

re #413

* docs(image): update image demo

re #413

* test: update test coverage data and badge (#479)

* docs(Loading): update demo #476

* test: update snapshots

* chore: lock tdesign-site-components version (#482)

* chore: publish v0.14.1 (#483)

* chore: publish v0.14.1

* chore: changelog's changes

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

Co-authored-by: byq1213 <1213567900@qq.com>
Co-authored-by: VeryHandSomeBoy <791405318@qq.com>
Co-authored-by: Y <anly_yaw@163.com>
Co-authored-by: palmcivet <palmcivet_email@qq.com>
Co-authored-by: zhongyuan <y243139883@163.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: xxxlj <xlj983664@163.com>
Co-authored-by: wwlh200 <wwlh200@163.com>
Co-authored-by: xxxlj <39047758+xxxlj@users.noreply.github.com>
Co-authored-by: lockiechen <290015551@qq.com>

* 0.15.0 (#524)

* chore: update site-components

* fix(Loading): fix loading render in safari

* fix(Tag): update style (#507)

* fix(Tag): update style

* fix: fix type

* style: update common

* fix: fix cr

* feat(Stepper): new stepper (#518)

* feat(Stepper): support size attr

* feat: adjust the api document path to the v2 folder

* feat(radio): new radio (#517)

* feat(radio): update api

* refactor(radio): move radio-group folder

* fix: import less use new way

* feat(radio): enrich property

* test(radio): update unit test

* test: update snapshot

* feat(switch): enrich property (#520)

* feat(switch): enrich property

* feat(switch): finish new switch

* test(switch): update unit test

* test(switch): update snapshots

* test(switch): update snapshots

* test: update snapshot

* chore: publish v0.15.0 (#522)

* chore: publish v0.15.0

* chore: changelog's changes

---------

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

---------

Co-authored-by: HQ-Lin <a154571896@gmail.com>
Co-authored-by: Y <anly_yaw@163.com>
Co-authored-by: yuyang <uyarnchen@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* 0.16.0 (#536)

* chore: update site-components

* fix(Loading): fix loading render in safari

* fix(Tag): update style (#507)

* fix(Tag): update style

* fix: fix type

* style: update common

* fix: fix cr

* feat(Stepper): new stepper (#518)

* feat(Stepper): support size attr

* feat: adjust the api document path to the v2 folder

* feat(radio): new radio (#517)

* feat(radio): update api

* refactor(radio): move radio-group folder

* fix: import less use new way

* feat(radio): enrich property

* test(radio): update unit test

* test: update snapshot

* refactor(Footer): add api

* feat: add footer router

* feat(switch): enrich property (#520)

* feat(switch): enrich property

* feat(switch): finish new switch

* test(switch): update unit test

* test(switch): update snapshots

* test(switch): update snapshots

* test: update snapshot

* chore: publish v0.15.0 (#522)

* chore: publish v0.15.0

* chore: changelog's changes

---------

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

* fix: resolve misspell (#527)

* feat(loading): using new style (#528)

* feat(loading): using new style

* fix(loading): update api and snapshot

* chore: remove uesless console

* refactor(cell): move cell-group folder (#529)

* refactor(cell): move cell-group folder

* fix(cell): update dom and style

* chore: update common

* fix(cell): update demo

* test(cell): update snapshot

* chore(footer): base code (#525)

* chore(footer): base code

* fix(footer): copyright

* fix(footer): api update

* chore(footer): url

---------

Co-authored-by: lem <11597313+lemc@user.noreply.gitee.com>

* refactor(Textarea): new textarea (#523)

* refactor(Textarea): new textarea

* test: update snapshots

* fix: fix cr

* chore: publish v0.16.0 (#535)

* chore: publish v0.16.0

* chore: changelog's changes

---------

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

---------

Co-authored-by: HQ-Lin <a154571896@gmail.com>
Co-authored-by: Y <anly_yaw@163.com>
Co-authored-by: yuyang <uyarnchen@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: mamumu123 <1500012802@pku.edu.cn>
Co-authored-by: lem <11597313+lemc@user.noreply.gitee.com>

* fix(footer): remove useless dom

* chore: update site

* feat(checkbox): new checkbox (#519)

* feat(checkbox): new checkbox

* test: update snapshots

* feat(checkbox): add unit test

* fix(checkbox): indeterminate and icon type is line

* fix(checkbox): update snap and add vue/server-renderer

* test: update snapshot

* build: recover transform logic

---------

Co-authored-by: anlyyao <anly_yaw@163.com>
Co-authored-by: leejimqiu <leejimqiu@gmail.com>

* fix(picker): update style

* test: update snapshot

* fix(picker): update docs and api

* Refactor/empty (#538)

* docs(Empty): add api

* feat: add empty router

* fix: fix conflict

* chore: empty

* chore: empty demo  test

* chore: support function

* chore: test update

* fix: fix conflict

* feat(Empty): update api

---------

Co-authored-by: anlyyao <anly_yaw@163.com>
Co-authored-by: lem <11597313+lemc@user.noreply.gitee.com>

* Refactor/result (#543)

* feat(Result): update api

* chore: result

* chore: update theme

* chore: update snap

---------

Co-authored-by: anlyyao <anly_yaw@163.com>
Co-authored-by: lem <11597313+lemc@user.noreply.gitee.com>

* feat(Sticky): update demo (#555)

* Feat/new date time picker (#556)

* feat(datetime-picker): using new style

* feat(datetime-picker): finish new picker

* fix(date-time-picker): resolve time mode

* fix(date-time-picker): resolve time mode

* fix(date-time-picker): resolve time mode

* test(date-time-picker): update snapshot

* refactor(search): new search (#540)

* refactor(Search): new search

* fix: fix cr

* fix(Skeleton): remove content attr (#557)

* fix(Skeleton): remove content attr

* test: update snapshots

* fix: fix cr

* refactor(image): finish (#561)

* refactor(image): finish

* chore: update common

* test(image): update

* test: update snapshot

* feat: new input (#531)

* chore: publish v0.17.0 (#568)

* chore: publish v0.17.0

* chore: changelog's changes

---------

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

* test: update snapshots

---------

Co-authored-by: leejimqiu <leejimqiu@gmail.com>
Co-authored-by: byq1213 <1213567900@qq.com>
Co-authored-by: VeryHandSomeBoy <791405318@qq.com>
Co-authored-by: palmcivet <palmcivet_email@qq.com>
Co-authored-by: zhongyuan <y243139883@163.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: xxxlj <xlj983664@163.com>
Co-authored-by: wwlh200 <wwlh200@163.com>
Co-authored-by: xxxlj <39047758+xxxlj@users.noreply.github.com>
Co-authored-by: lockiechen <290015551@qq.com>
Co-authored-by: HQ-Lin <a154571896@gmail.com>
Co-authored-by: yuyang <uyarnchen@gmail.com>
Co-authored-by: Peter Qiu <273743552@qq.com>
Co-authored-by: mamumu123 <1500012802@pku.edu.cn>
Co-authored-by: lem <11597313+lemc@user.noreply.gitee.com>
Co-authored-by: Wang <awangjianjun9@gmail.com>
Co-authored-by: ccccpj <ccccpj@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Stepper] 设置最大最小值后输入功能失效
2 participants