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(drawer): add DrawerPlugin #5067

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

Wesley-0808
Copy link
Collaborator

@Wesley-0808 Wesley-0808 commented Feb 22, 2025

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • feat(drawer): 支持插件函数式调用

  • 本条 PR 不需要纳入 Changelog

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

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

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

Copy link
Contributor

github-actions bot commented Feb 22, 2025

完成

Copy link

pkg-pr-new bot commented Feb 25, 2025

Open in Stackblitz

npm i https://pkg.pr.new/tdesign-vue-next@5067

commit: 073d138

@uyarn uyarn changed the title feat: DrawerPlugin feat(drawer): add DrawerPlugin Feb 26, 2025
commit 9662ef4
Author: liweijie0812 <[email protected]>
Date:   Sun Mar 23 22:31:11 2025 +0800

    chore: add preinstall script to skip init submodule in common repo(Tencent#5214)

    * ci: disable run pnpm:devPreinstall

    * chore: compatible windows

    * chore: rename pnpm-dev-preinstall.js

commit ff317bc
Author: betavs <[email protected]>
Date:   Sat Mar 22 18:36:24 2025 +0800

    docs(card): fix card api documentation text (Tencent#5209)

commit 43f06d7
Author: TDesign bot <[email protected]>
Date:   Sat Mar 22 18:11:41 2025 +0800

    feat(Icon): upgrade tdesign-icons-vue-next to 0.3.5 (Tencent#5213)

    * feat(Icon): upgrade tdesign-icons-vue-next to 0.3.5

    * chore: update snapshot

commit 970592a
Author: zhangpaopao <[email protected]>
Date:   Sat Mar 22 17:45:20 2025 +0800

    ci: up pnpm to 9.15.9 (Tencent#5211)

commit dd7e5ac
Author: zhangpaopao <[email protected]>
Date:   Thu Mar 20 20:17:12 2025 +0800

    refactor(bundle): builds components (Tencent#5192)

    * refactor: es

    * refactor: esm

    * refactor: lib

    * refactor: cjs

    * refactor: umd

    * refactor: umd and umdmin

    * refactor: output

    * refactor: script

    * chore: word spell

    * chore: up

    * refactor: remove esbuild tsconfig

    * refactor: use root babel.config.js

    * refactor: ignoreImport

    * refactor: deleteOutput first

    * refactor: remove rollup.config.js

    * refactor: utils paths

    * refactor: replace getworkspaceRoot to sync

    * refactor: resolve path to sync

    * refactor: remove @pnpm/find-workspace-dir

    * refactor: remove path-v2

    * refactor: sync

    * refactor: components/style use @tdesign/common-style

    * refactor: better plugin and esm

    * refactor: move postcss extract

    * refactor: move tdesign-vue-next scripts

    * revert: revert postcss extract

    * refactor: add node_env to tdesign-vue-next build

commit 1cda0bd
Author: Cal And Nong <[email protected]>
Date:   Wed Mar 19 11:35:05 2025 +0800

    fix(menu): fix missing string type of menu-item props to (Tencent#5198)

    修复menu-item的props中to定义时缺少string类型问题

commit 20d7d26
Author: 阿菜 Cai <[email protected]>
Date:   Mon Mar 17 15:53:16 2025 +0800

     chore: add default issue labels  (Tencent#5190)

    * chore: 预设 issue 分类

    * chore: update label unconfirmed icons

commit 8adfb0c
Author: wū yāng <[email protected]>
Date:   Sat Mar 15 12:04:46 2025 +0800

    chore: release tdesign-vue-next 1.11.4 (Tencent#5189)

    * release/1.11.4

    * chore: update common

    * chore: changelog's changes

    ---------

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

commit 53ae917
Author: Leo Xia <[email protected]>
Date:   Sat Mar 15 11:45:18 2025 +0800

    fix(button): add class when the shape props is rectangle (Tencent#5187)

    * fix(button): add class when the shape props is rectangle

    closed Tencent#5186

    * chore: update snapshot

    ---------

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

commit ae5ec91
Author: liweijie0812 <[email protected]>
Date:   Sat Mar 15 11:40:47 2025 +0800

    fix(Descriptions): fix helper (Tencent#5182)

    * fix(Descriptions): fix helper

    * chore: fix lint

    * chore: fix lint

    * chore: fix lint

    * chore: remove color-picker event

    * Remove 'align' and 'clear' attributes.

    ---------

    Co-authored-by: wū yāng <[email protected]>

commit 010efea
Author: zhangpaopao <[email protected]>
Date:   Thu Mar 13 19:37:37 2025 +0800

    chore: release tdesign-vue-next  1.11.3 (Tencent#5180)

    * chore: up tdesign-vue-next version to 1.11.3

    * chore: changelog's changes

    ---------

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

commit fffc99b
Author: wū yāng <[email protected]>
Date:   Thu Mar 13 18:50:28 2025 +0800

    chore: fix warning and update common (Tencent#5179)

commit 07accf0
Author: 阿菜 Cai <[email protected]>
Date:   Thu Mar 13 18:44:29 2025 +0800

    fix(Select): select all error when `valueType = 'object'` (Tencent#5167)

    * fix(Select): select all error when `valueType = 'object'`

    * chore: optimize format

    ---------

    Co-authored-by: wū yāng <[email protected]>

commit 257bd90
Author: waki <[email protected]>
Date:   Thu Mar 13 18:34:34 2025 +0800

    fix(ColorPicker): colorPicker Input register onChange event (Tencent#5111)

    colorPicker Input register onChange event

    closed Tencent#5079

    Co-authored-by: wū yāng <[email protected]>

commit 3649aad
Author: 阿菜 Cai <[email protected]>
Date:   Thu Mar 13 18:17:09 2025 +0800

    refactor(DatePicker): `useDisableDate` to use common `isEnabledDate` (Tencent#5119)

    fix(date-picker): disable date range error
    chore: remove unnecessary explicit type declarations

    close Tencent#4927

commit ca2697f
Author: 阿菜 Cai <[email protected]>
Date:   Thu Mar 13 18:07:15 2025 +0800

    fix(Select): unnecessary `filterable` when `filter` (Tencent#5169)

commit 636926a
Author: zhangpaopao <[email protected]>
Date:   Thu Mar 13 15:44:53 2025 +0800

    fix: fix build vue-next types (Tencent#5174)

    * feat: builds tdesign-vue-next types

    * feat: build:vue-next-tsc script

    * chore: remove

    * refactor: remove tsconfig.components.json

    * fix: internal/builds prebuild

    * refactor: typesRoot

    * refactor: tsconfig.json include common

    * refactor: glob

commit e37511d
Author: liweijie0812 <[email protected]>
Date:   Tue Mar 11 13:37:56 2025 +0800

    chore(deps):  update deps (Tencent#5162)

    * chore(deps):  remove cypress

    * chore: update dependencies

    ---------

    Co-authored-by: wū yāng <[email protected]>

commit 3c683a7
Author: Wesley <[email protected]>
Date:   Sun Mar 9 23:24:24 2025 +0800

    fix: table drag register event (Tencent#5140)

commit ca22399
Author: 阿菜 Cai <[email protected]>
Date:   Fri Mar 7 17:30:37 2025 +0800

    fix(Dialog):  custom `cancelBtn` text retains `t-dialog__cancel` className (Tencent#5157)

    * fix(Dialog):  custom `cancelBtn` text, retains `t-dialog__cancel` className

    * chore: update snapshot

    ---------

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

commit b900665
Author: wū yāng <[email protected]>
Date:   Wed Mar 5 17:40:09 2025 +0800

    chore: release 1.11.2 (Tencent#5154)

    * chore: release 1.11.2

    * chore: changelog's changes

    ---------

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

commit 4a79516
Author: Wesley <[email protected]>
Date:   Wed Mar 5 17:03:31 2025 +0800

    fix(Dialog): fail to update footer(Tencent#5152)

    * fix: confirmLoad update invalid

    * fix: footerContent not found

    * chore: improve dialog-card

    * fix: div

    * chore: testFile

    * chore: add utils

    * fix: lint

commit a0ce2c4
Author: zhangpaopao <[email protected]>
Date:   Wed Mar 5 13:01:41 2025 +0800

    refactor(color-picker): component optimization v2 (Tencent#5148)

    * refactor(color-picker): components

    * refactor(color-picker): format switch render to setup return

    * refactor(color-picker): inputs switch render to setup return

    * refactor(color-picker): alpha switch render to setup return

    * refactor(color-picker): hue switch render to setup return

    * refactor(color-picker): panel switch render to setup return

    * refactor(color-picker): linear-gradient switch render to setup return

    * refactor(color-picker): saturation switch render to setup return

    * refactor(color-picker): slider switch render to setup return

    * refactor(color-picker): swatches switch render to setup return

    * fix(color-picker): panel style path

    * fix(color-picker): trigger vmodel value.value

commit 4ceaf0a
Author: liweijie0812 <[email protected]>
Date:   Wed Mar 5 10:27:06 2025 +0800

    fix(webstorm): fix ts type prompt (Tencent#5136)

    * fix(webstorm): fix ts type

    * chore: test

    * chore: sync api

    * chore: sync api

commit c859d4e
Author: Wesley <[email protected]>
Date:   Tue Mar 4 16:04:23 2025 +0800

    feat(imageViewer): Custom Download Callback (Tencent#5134)

    * feat: docs & props & type

    * feat: support referrerpolicy API

    * feat: custom download callback

    * fix: lint

commit 820ce8f
Author: zhangpaopao <[email protected]>
Date:   Sun Mar 2 23:39:52 2025 +0800

    refactor(select-input): component optimization (Tencent#5068)

    * refactor(select-input): component optimization

    * refactor(select-input): expose

    * chore: fix build

    ---------

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

commit c87827e
Author: zhangpaopao <[email protected]>
Date:   Sun Mar 2 16:02:29 2025 +0800

    refactor(dialog): component optimization (Tencent#5138)

    * refactor(dialog): component optimization

    * chore(dialog): fix import error

    * chore: fix build

    ---------

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

commit 62db1bc
Author: zhangpaopao <[email protected]>
Date:   Sun Mar 2 15:56:53 2025 +0800

    refactor(color-picker): component optimization (Tencent#5142)

    * refactor(color-picker): component optimization

    * refactor(color-picker): class ref

    * chore: fix build

    ---------

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

commit c9805e7
Author: zhangpaopao <[email protected]>
Date:   Sun Mar 2 15:36:19 2025 +0800

    refactor(date-picker): component optimization (Tencent#5139)

commit 46db7a4
Author: zhangpaopao <[email protected]>
Date:   Sun Mar 2 15:26:50 2025 +0800

    refactor: component optimization (Tencent#5137)

commit bcb2ba0
Author: zhangpaopao <[email protected]>
Date:   Sun Mar 2 13:53:44 2025 +0800

    refactor(loading): component optimization (Tencent#5127)

    * refactor(loading): component otimization

    * chore(loading): remove unused showNormalLoading

commit f826c95
Author: Wesley <[email protected]>
Date:   Sun Mar 2 13:41:26 2025 +0800

    chore: fix change typo (Tencent#5135)

commit cf19e06
Author: zhangpaopao <[email protected]>
Date:   Sun Mar 2 13:39:44 2025 +0800

    refactor(common-components): component optimization (Tencent#5141)

commit 0fa1519
Author: zhangpaopao <[email protected]>
Date:   Sat Mar 1 14:35:37 2025 +0800

    fix(hooks): useTNodeJSX (Tencent#5102)

    * fix(hooks): useTNodeJSX

    * fix(hooks): up

    * test: up test

    * test: up menu multi-side example

    * chore: update snapshot

    * chore: up multi-side

    * chore: up multi-side

    ---------

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

commit e02eef4
Author: wū yāng <[email protected]>
Date:   Sat Mar 1 14:28:22 2025 +0800

    chore: release 1.11.1 (Tencent#5125)

    * chore: release 1.11.1

    * chore: fix typo

    * chore: remove deprecated CHANGELOG

    * chore: changelog's changes

    ---------

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

commit 091fdc1
Author: Wesley <[email protected]>
Date:   Sat Mar 1 14:11:49 2025 +0800

    fix: dialogCard Console Warn (Tencent#5126)

    * fix: dialogCard Console Warn

    * fix: typo & className

commit da52954
Author: wū yāng <[email protected]>
Date:   Sat Mar 1 12:19:45 2025 +0800

    fix(List): fix scrollTo instance func (Tencent#5117)

commit ea31dea
Author: wū yāng <[email protected]>
Date:   Sat Mar 1 12:17:56 2025 +0800

    fix: fix cjs bundle (Tencent#5116)

commit 41d0302
Author: Wesley <[email protected]>
Date:   Sat Mar 1 12:17:24 2025 +0800

    fix: ignore Ctrl-Key & Command-Key (Tencent#5124)

commit fec58d2
Author: liweijie0812 <[email protected]>
Date:   Fri Feb 28 15:57:52 2025 +0800

    ci(pr-comment-ci): fix check snap conflict (Tencent#5120)

commit 07a3059
Author: liweijie0812 <[email protected]>
Date:   Fri Feb 28 14:48:39 2025 +0800

    ci(pkg-pr-new): add running conditions (Tencent#5103)

commit 5e52d50
Author: PY <[email protected]>
Date:   Thu Feb 27 23:22:44 2025 +0800

    chore: release 1.11.0 (Tencent#5110)

    * chore: release 1.11.0

    * chore: changelog's changes

    ---------

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

commit 0de27a5
Author: wū yāng <[email protected]>
Date:   Thu Feb 27 22:54:42 2025 +0800

    fix(Select): fix checkall behavior when using filter props (Tencent#5104)

    * fix(Select): fix checkall behavior when using filter props

    * chore: optimize

    * chore: update snapshot

    * chore: optimize

commit 012d205
Author: wū yāng <[email protected]>
Date:   Thu Feb 27 22:31:42 2025 +0800

    chore: optimize ai search (Tencent#5108)

    * chore: optimize ai search

    * chore: optimize ai search

    * chore: comment

commit 01f3b7c
Author: Wesley <[email protected]>
Date:   Thu Feb 27 19:43:55 2025 +0800

    feat(Table): Supple Validate Table Cell Data (Tencent#5105)

    * feat: validateTableCellData

    * update typo

commit e8dcb27
Author: liweijie0812 <[email protected]>
Date:   Thu Feb 27 14:28:14 2025 +0800

    chore: fix import path (Tencent#5101)

commit 6fa0e07
Author: liweijie0812 <[email protected]>
Date:   Thu Feb 27 12:04:46 2025 +0800

    chore: update plugin prompt (Tencent#5090)

    * chore: update plugin prompt

    * feat: add ConfigProviderProps

    * docs: remove attach

    * chore: fix lint

    * chore: lint

    * chore: sync api

    * chore: update route

    * chore: fix doc url

    * chore: sync api

    * feat(Content): support content api

    * fix: content props

commit 5cc361f
Author: betavs <[email protected]>
Date:   Thu Feb 27 11:59:53 2025 +0800

    refactor(select): improve tag removal logic and update context handling (Tencent#5092)

commit 3144f27
Author: 阿菜 Cai <[email protected]>
Date:   Thu Feb 27 10:57:33 2025 +0800

    fix(treeSelect): auto expand the selected nodes on initial render (Tencent#5003)

    * fix(treeSelect): automatically expand the selected nodes on initial render

    * chore: remove extra code

    * chore: 支持别名筛选

    * chore: style findParentValues function

    * feat: 使用 `getParents` 获取父节点

    * chore: 使用 `treeSelectValue` 获取父节点

    * chore: extract public functions to common

    * chore: 参数调整

    * chore: update common

    * chore: update common

    * chore: update common

    ---------

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

commit 907de18
Author: zhangpaopao <[email protected]>
Date:   Thu Feb 27 10:49:00 2025 +0800

    docs: update CONTRIBUTING.md and test README.md (Tencent#5056)

commit d42741c
Author: wū yāng <[email protected]>
Date:   Wed Feb 26 22:31:00 2025 +0800

    chore: ignore beta version (Tencent#5100)

    * chore: ignore beta version

    * chore: fix bundle files missing

commit a9ef7eb
Author: wū yāng <[email protected]>
Date:   Wed Feb 26 21:53:22 2025 +0800

    chore: release 1.11.0-beta.1 to test npm publish workflow based on mono repo (Tencent#5099)

commit b8fadae
Author: zhangpaopao <[email protected]>
Date:   Wed Feb 26 21:30:27 2025 +0800

    refactor(menu): component optimization (Tencent#5097)

    * refactor(menu): component optimization

    * refactor(menu): fix

    * refactor: up snap
Merge branch 'develop' into feat/drawerPlugin
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.

2 participants