-
Notifications
You must be signed in to change notification settings - Fork 36
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: new component Catalogue in v5 #389
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
给个预览地址 |
可以补充个 |
这个PR,你们两个重点看下,我看修能之前写过树形的,其次这个在开发这边试用。 |
8 tasks
预览地址:Reviewer |
@OnlyFlyer 这个近期跟进一下,我这边确定版本时间 |
在修复中 |
可通过 |
@liuxy0551 上面问题已修复,新增 |
mortalYoung
approved these changes
Nov 9, 2023
liuxy0551
reviewed
Nov 9, 2023
Cythia828
approved these changes
Nov 9, 2023
所有问题均已修复 |
mumiao
pushed a commit
that referenced
this pull request
Nov 14, 2023
* feat(Catalogue): new component, catalogue initial * chore(Catalogue): lint * docs: update demo docs * feat: clear searchStr when close search * docs: update demo docs * feat: add defaultStatus & onStatusChange props in Catalogue.DtTree * chore: rename dtTree、dtTreeSelect to Tree、TreeSelect * chore: update demos and docs * chore: treeTit prop exchange to treeTitle --------- Co-authored-by: dilu <dilu@dtstack.com>
mumiao
added a commit
that referenced
this pull request
Nov 14, 2023
* Feat update slide pane (#385) * feat: update slidePane for mask * feat(slidepane): add tabs for slidepane * feat(slidepane): update motion for slidePane * feat(slidepane): update ts error and style * feat(slidepane): update doc and unit test * fix(slidepane): update props name and edit showMask to mask * fix(unittest): update unit test * fix(slidepane): update ts type * feat: add tinyTag (#396) * feat: add tinyTag * feat: support HTMLSpanElement's Attributes and color * docs: update docs * Feat image (#395) * feat(intersectionobserver): add IntersectionObserver hook * feat(intersectionobserver): update IntersectionObserver unit test * feat(useintersectionobserver): use ref and add freezeOnceVisible * feat(useintersectionobserver): update test unit * feat(image): add image component * feat(image): update review comment and mock window.Image * feat(image): add image test * feat(contentlayout): add contentLayout (#384) * feat(contentlayout): add contentLayout * feat(contentlayout): update contentLayout export table/header * feat(contentlayout): update contentLayout info * feat: update contentLayout md * feat(contengtlayout): update contentLayout md * feat(contentlayout): update some props * feat: develop modal (#401) * fix(useList): initialParams suppport function type (#393) * build(deps-dev): bump browserify-sign from 4.2.1 to 4.2.2 (#399) Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2. - [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md) - [Commits](browserify/browserify-sign@v4.2.1...v4.2.2) --- updated-dependencies: - dependency-name: browserify-sign dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: import highlight core only (#402) * feat: import highlight core only * feat: improve Hljs types * feat: add sideEffects field to improve treeShaking (#403) * fix: upgrade SpreadSheet component for can be binded ref (#404) Co-authored-by: zhaoge <> * feat: add search component on sidebar (#405) * feat: develop modal * feat(Modal): improve banner check * test: add test cases --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hayden <hayden9653@gmail.com> Co-authored-by: XCynthia <942884029@qq.com> * Feat utils (#409) * build(deps-dev): bump browserify-sign from 4.2.1 to 4.2.2 (#399) Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2. - [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md) - [Commits](browserify/browserify-sign@v4.2.1...v4.2.2) --- updated-dependencies: - dependency-name: browserify-sign dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: remove inner utils and add dt-utils dependence * fix: fix pnpm-lock antd/icon patch version --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jialan <jialan@dtstack.com> * feat: new component Catalogue in v5 (#389) * feat(Catalogue): new component, catalogue initial * chore(Catalogue): lint * docs: update demo docs * feat: clear searchStr when close search * docs: update demo docs * feat: add defaultStatus & onStatusChange props in Catalogue.DtTree * chore: rename dtTree、dtTreeSelect to Tree、TreeSelect * chore: update demos and docs * chore: treeTit prop exchange to treeTitle --------- Co-authored-by: dilu <dilu@dtstack.com> * feat(filterrules): add FilterRules (#407) * feat(filterrules): add FilterRules * feat(filterrules): update some example * feat(filterrules): add some example and props type and use weakMap to save height/lineheight * feat(filterrules): update ts and add comment * feat(filterrules): update FilterRules props and formitem name * feat(filterrules): add comment and unit test * feat(filterrrules): update contants file and style * test(filterrules): update test unit --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: 霜序 <38368040+LuckyFBB@users.noreply.github.com> Co-authored-by: 野迂迂 <yangwei1@outlook.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hayden <hayden9653@gmail.com> Co-authored-by: XCynthia <942884029@qq.com> Co-authored-by: JackWang032 <64318393+JackWang032@users.noreply.github.com> Co-authored-by: jialan <jialan@dtstack.com> Co-authored-by: Frank <scofield90.email@gmail.com> Co-authored-by: dilu <dilu@dtstack.com>
mumiao
pushed a commit
that referenced
this pull request
Nov 15, 2023
* feat(Catalogue): new component, catalogue initial * chore(Catalogue): lint * docs: update demo docs * feat: clear searchStr when close search * docs: update demo docs * feat: add defaultStatus & onStatusChange props in Catalogue.DtTree * chore: rename dtTree、dtTreeSelect to Tree、TreeSelect * chore: update demos and docs * chore: treeTit prop exchange to treeTitle --------- Co-authored-by: dilu <dilu@dtstack.com>
mumiao
pushed a commit
that referenced
this pull request
Nov 15, 2023
* feat(Catalogue): new component, catalogue initial * chore(Catalogue): lint * docs: update demo docs * feat: clear searchStr when close search * docs: update demo docs * feat: add defaultStatus & onStatusChange props in Catalogue.DtTree * chore: rename dtTree、dtTreeSelect to Tree、TreeSelect * chore: update demos and docs * chore: treeTit prop exchange to treeTitle --------- Co-authored-by: dilu <dilu@dtstack.com>
mumiao
pushed a commit
that referenced
this pull request
Nov 15, 2023
* feat(Catalogue): new component, catalogue initial * chore(Catalogue): lint * docs: update demo docs * feat: clear searchStr when close search * docs: update demo docs * feat: add defaultStatus & onStatusChange props in Catalogue.DtTree * chore: rename dtTree、dtTreeSelect to Tree、TreeSelect * chore: update demos and docs * chore: treeTit prop exchange to treeTitle --------- Co-authored-by: dilu <dilu@dtstack.com>
mumiao
pushed a commit
that referenced
this pull request
Nov 15, 2023
* feat(Catalogue): new component, catalogue initial * chore(Catalogue): lint * docs: update demo docs * feat: clear searchStr when close search * docs: update demo docs * feat: add defaultStatus & onStatusChange props in Catalogue.DtTree * chore: rename dtTree、dtTreeSelect to Tree、TreeSelect * chore: update demos and docs * chore: treeTit prop exchange to treeTitle --------- Co-authored-by: dilu <dilu@dtstack.com>
mumiao
pushed a commit
that referenced
this pull request
Nov 15, 2023
* feat(Catalogue): new component, catalogue initial * chore(Catalogue): lint * docs: update demo docs * feat: clear searchStr when close search * docs: update demo docs * feat: add defaultStatus & onStatusChange props in Catalogue.DtTree * chore: rename dtTree、dtTreeSelect to Tree、TreeSelect * chore: update demos and docs * chore: treeTit prop exchange to treeTitle --------- Co-authored-by: dilu <dilu@dtstack.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#193
简介
设计思路:
按照 设计稿,由
Header
、TabsWithSearch
、Tree
三个组件组成Header
组件,用于展示 头部文案 和 按钮组 信息,可通过showHeader
控制隐藏,treeTit
控制文案,btnSlots
控制 按钮组TabsWithSearch
组件,控制Tabs
和Search
展示,支持传入tabsProps
进行自定义,默认展示tabs
还是search
通过defaultStatus
、onStatusChange
控制Tree
组件,同Antd
的Tree
组件,其中treeData
属性 增加了contextMenuConfig
属性配置,用于配置ContextMenu