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

refactor(search): new search #540

Merged
merged 2 commits into from
Apr 4, 2023
Merged

refactor(search): new search #540

merged 2 commits into from
Apr 4, 2023

Conversation

anlyyao
Copy link
Collaborator

@anlyyao anlyyao commented Mar 29, 2023

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

fix #506

相关pr:
common:
Tencent/tdesign-common#1226
Tencent/tdesign-common#1245

💡 需求背景和解决方案

📝 更新日志

  • break(Search): 调整 DOM 结构

  • break(Search): 移除 label 属性相关

  • break(Search): blur、focus 事件参数类型变更

  • feat(Search): 新增 submit 事件

  • feat(Search): 新增 disabled、 readonly 属性

  • 本条 PR 不需要纳入 Changelog

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

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

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

@github-actions
Copy link
Contributor

Size Change: +354 B (0%)

Total Size: 397 kB

Filename Size Change
./dist/tdesign.css 34.4 kB +45 B (0%)
./dist/tdesign.js 228 kB +139 B (0%)
./dist/tdesign.min.css 26.1 kB +42 B (0%)
./dist/tdesign.min.js 109 kB +128 B (0%)

@github-actions
Copy link
Contributor

github-actions bot commented Mar 29, 2023

完成

@github-actions
Copy link
Contributor

Size Change: +373 B (0%)

Total Size: 397 kB

Filename Size Change
./dist/tdesign.css 34.4 kB +45 B (0%)
./dist/tdesign.js 228 kB +147 B (0%)
./dist/tdesign.min.css 26.1 kB +42 B (0%)
./dist/tdesign.min.js 109 kB +139 B (0%)

@anlyyao anlyyao mentioned this pull request Mar 29, 2023
@LeeJim
Copy link
Collaborator

LeeJim commented Mar 29, 2023

#506 这个问题有顺便修复吗?

@anlyyao
Copy link
Collaborator Author

anlyyao commented Mar 29, 2023

#506 这个问题有顺便修复吗?

已处理。 可以试试第一个demo示例

@github-actions
Copy link
Contributor

Size Change: +279 B (0%)

Total Size: 398 kB

Filename Size Change
./dist/tdesign.css 34.4 kB +10 B (0%)
./dist/tdesign.js 228 kB +106 B (0%)
./dist/tdesign.min.css 26.3 kB +38 B (0%)
./dist/tdesign.min.js 109 kB +125 B (0%)

@anlyyao anlyyao force-pushed the refactor/search branch 2 times, most recently from 968bebd to 39b7f5f Compare April 3, 2023 06:46
@github-actions
Copy link
Contributor

github-actions bot commented Apr 3, 2023

Size Change: +281 B (0%)

Total Size: 399 kB

Filename Size Change
./dist/tdesign.css 34.6 kB +10 B (0%)
./dist/tdesign.js 229 kB +107 B (0%)
./dist/tdesign.min.css 26.4 kB +39 B (0%)
./dist/tdesign.min.js 109 kB +125 B (0%)

@anlyyao anlyyao force-pushed the refactor/search branch 3 times, most recently from 066654d to 1f1d77d Compare April 3, 2023 07:28
@github-actions
Copy link
Contributor

github-actions bot commented Apr 3, 2023

Size Change: +281 B (0%)

Total Size: 399 kB

Filename Size Change
./dist/tdesign.css 34.6 kB +10 B (0%)
./dist/tdesign.js 229 kB +107 B (0%)
./dist/tdesign.min.css 26.4 kB +39 B (0%)
./dist/tdesign.min.js 109 kB +125 B (0%)

@LeeJim
Copy link
Collaborator

LeeJim commented Apr 4, 2023

#506 这个问题有顺便修复吗?

已处理。 可以试试第一个demo示例

已处理的话,记得关联一下 issue 啊

Copy link
Collaborator

@LeeJim LeeJim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

center 不生效,其他没问题

@github-actions
Copy link
Contributor

github-actions bot commented Apr 4, 2023

Size Change: +313 B (0%)

Total Size: 399 kB

Filename Size Change
./dist/tdesign.css 34.6 kB +4 B (0%)
./dist/tdesign.js 229 kB +133 B (0%)
./dist/tdesign.min.css 26.4 kB +34 B (0%)
./dist/tdesign.min.js 109 kB +142 B (0%)

@LeeJim LeeJim merged commit 5090fb1 into develop Apr 4, 2023
@LeeJim LeeJim deleted the refactor/search branch April 4, 2023 04:23
This was referenced Apr 4, 2023
anlyyao added a commit that referenced this pull request Apr 7, 2023
* refactor(Search): new search

* fix: fix cr
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[t-search] @change 事件触发两次
2 participants