Commit Graph

30 Commits

Author SHA1 Message Date
sea
b9ac07cb68 refactor(components): [drawer] resizable (#21932)
* Revert "drawer resizable #21608"

* refactor: drawer resizable

* feat: direction & event core

* docs: update

* fix: animation conflict

* fix: watchEffect onCleanup hrm error

* test: add resize case

* chore: format

* test: old case typo

* refactor: rel #21595 & add hover style

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: cszhjh <cszhjh@gmail.com>

* chore: del useless file

* chore: del useless file

* chore: rename

Co-authored-by: Dsaquel <291874700n@gmail.com>

* fix: use min resizable error

* fix: multiple resizable style conflicts

* test: fix

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: cszhjh <cszhjh@gmail.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-04 15:33:06 +08:00
thinkasany
a6d319bfaa docs: improve drawer api tips (#21962) 2025-08-30 10:25:58 +08:00
Zhong
ca976e3620 feat(components): [drawer] add resizable prop (#21608)
* feat(components): [drawer] add `resizable` prop

* style(theme-chalk): [drawer] update based on review feeddback

* chore: adjust style & example

* docs: update example

* docs: remove default direction

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-17 14:46:27 +08:00
Zhong
72a26a48f0 docs: fix typo & prettier & unify attribute name format (#21600) 2025-08-03 16:47:48 +08:00
betavs
5f519a6f25 refactor(components): unify append-to prop type across multiple components (#20501)
* fix(components): [select] update `append-to` prop type

* fix(components): unify `append-to` prop type across multiple components

* docs: update `append-to` prop type
2025-04-22 09:29:19 +08:00
Noblet Ouways
5f72ca51cd feat(components): [dialog/drawer] add custom sub classes (#19099)
* feat(components): [dialog/drawer] add custom sub classes

* docs(components): add custom classes for drawer/dialog slots

* docs(components): [dialog/drawer] keep same description

* test: add dialog/drawer sub classes

* refactor: sync typo docs with props

* chore: change release version

* chore: rename

* chore: fix doc

---------

Co-authored-by: btea <2356281422@qq.com>
2025-01-06 10:52:39 +08:00
dopamine
da3e68791b docs: move deprecated APIs to the end of the table (#18547) 2024-10-15 08:10:59 +08:00
qiang
c0f06a4fc4 docs: remove tip about client-only (#17852) 2024-08-13 08:40:30 +08:00
qiang
ef54dfbb35 feat(components): [drawer] add append-to (#17761) 2024-08-05 11:32:48 +08:00
btea
5b4254f73f chore: format code (#16101) 2024-03-13 09:35:00 +08:00
大河
6c6a7c6240 docs(components): [drawer] remove duplicate value (#16084)
docs(components): [drawer] delete excess attributes
2024-03-10 09:39:17 +08:00
qiang
3f1d45b3d7 fix(components): [drawer] click allow focus out (#11965)
* fix(components): [drawer] click allow focus out

closed #11943

* fix(components): [drawer] lint error
2024-01-31 14:20:22 +08:00
wzc520pyfm
15d0f62a23 docs(components): [drawer] fix format error (#15388) 2024-01-06 23:01:57 +08:00
wzc520pyfm
76acd7f6bd docs(components): [drawer] use new display tag (#14964) 2023-12-04 19:30:46 +08:00
Karolis_Stoncius_Sneakybox
268457135e feat(components): added aria-level attributes for dialog and drawer headers; Fixed input-number's aria-valuenow being null (#13822)
* feat(components): [dialog] added dialog header aria-level attribute

To pass accessibility tests elements with role="heading" require aria-level

* feat(components): [drawer] added drawer header aria-level attribute

To pass accessibility tests elements with role="heading" require aria-level

* fix(components): [input-number] prevent aria-valuenow from being null

To pass accessibility tests aria-valuenow cannot be null

* fix(components): [input-number] fix number input when 0 and update test

Fixes a bug where number input's aria-valuenow will be set to '' when input's value is 0. Also
updates a failing test

* refactor(components): [dialog] change default aria-level to 2

* docs(components): dialog and drawer header aria-level docs update

* docs(components): change headerAriaLevel type to string

* docs(components): kebab-case for docs
2023-08-24 20:14:59 +08:00
btea
d4ffc4f644 docs(components): [drawer] (#13677) 2023-07-22 17:19:19 +09:00
Xc
76ee456b29 docs(style): use new display tag (#11648)
* docs(style): use new display tag

* docs(components): use new tag
2023-04-09 21:02:49 +08:00
btea
19bb7229fc chore: format code (#11397) 2023-02-02 20:26:00 +08:00
liu
751ec3760e fix(docs): some wrong examples in the document (#11072)
* docs(docs): fix wrong types in examples

* docs(docs): update deprecated attributes in the example
2022-12-28 20:37:57 +08:00
LooSheng
91c79c955e docs(ssr): component ssr/ssg usage tips (#10982) 2022-12-15 19:59:34 +08:00
0song
a389b80e3e docs: update drawer doc deprecated custom-class (#10744) 2022-11-24 20:58:32 +08:00
qiang
189c379ddc chore: add attribute enum autosuggestion for WebStorm (#9663) 2022-09-10 09:14:31 +08:00
opengraphica
9c51dab123 feat(components): [dialog] a11y and focus trap on dialog components (#7550)
* feat(components): [dialog] a11y and focus trap on dialog components

* feat(components): [dialog] remove default browser focus style

* feat(components): [dialog] clean up async and comment
2022-05-10 17:58:18 +08:00
C.Y.Kun
b46bdae9e6 docs(components): check docs before stable (#5740) 2022-01-31 23:43:56 +08:00
Alan Wang
984e0c2578 feat(components): [el-drawer] add footer slot (#5404)
* feat: [el-drawer]add footer slot

* feat(components): [el-drawer]add footer slot

* feat(components): [el-drawer]add cancel and confirm function
2022-01-17 14:58:06 +08:00
jeremywu
8fdf558b04 fix(docs): adding title for components (#4025)
- Remove `type` field.
- Add `title` field
2021-10-25 15:21:08 +08:00
jeremywuuuuu
74fa835f9f fix(docs): add extra field for frontmatter
- Add `type` into frontmatter field to avoid crowdin auto wrap
2021-10-25 14:26:50 +08:00
jeremywu
db976bba68 chore(docs): adding lang field for markdowns (#4005)
- Add lang field for all *.md files' frontmatters
2021-10-22 19:32:39 +08:00
jeremywu
9a160450ea fix(docs): document wrong line error (#3453)
- Add empty line between demo block and content
2021-09-17 11:09:38 +08:00
jeremywu
c6bed151a5 epic(website): refactor website (#3426)
* feat(website): init viteperss (#3162)

* init vitepress

* Finish homepage

* relayout page

* partial finish

* update

* update use lang

* remove font weight; change font size

* docs: optimize docs folder structure

* reorganize project

* fix ssr issue

* fix build issues

Co-authored-by: Kevin <sxzz@sxzz.moe>
Co-authored-by: zouhang <zouhang@didiglobal.com>

* feat(website) integrate with crowdin (#3218)

- Introduce Crowdin CLI
- Add script for fetching Crowdin token from env
- Add script for local development

* fix formatting

* update codeblocks (#3249)

* feat(docs): update website preview script

- Update azure preview build script
- Eliminate dead links

* bootstrap docs

* fix homepage layout issue

* fix formating

* Finish ToC and codepen integration

* reorganized files and fix issue that causes demo unavailable after build

* feat(docs): migration documentations (#3283)

* feat(docs): migration documentations

- Move documentations to docs/

* remove unused files

* docs: [popconfirm] migrate document (#3285)

* feat(docs): migrate documentation from space.md to upload.md (#3292)

- Upload documentations acorrodingly

* docs: [date-picker] migrate document  (#3289)

* docs: [date-picker] migrate document

* fix: typo

* docs: [slider] migrate document (#3287)

* docs: migrate documents (#3290)

* docs: migrate-datetime-picker

* docs: migrate descriptions

* docs: migrate dialog

* docs: migrate divider

* docs: migrate drawer

* docs: migrate drapdown

* docs: fix drapdown

* docs: migrate empty

* docs: migrate form

* docs: add scoped for style

* docs: simplify toRefs

* chore: update doc (#3297)

* chore: update doc

* chore: update doc

* chore: update doc

* feat(docs): migrate documentations from infinite-scroll to page-header (#3303)

- Update docs accordingly
- Update CodePen icon to match style
- Update component name to match others

* docs: migrate documentions (#3293)

migrate list:
* image
* popover
* scrollbar
* radio
* rate
* skeleton
* select
* select-v2
* reault
* progress
* pagination

* chore: update doc (#3305)

Co-authored-by: 0song <0song@gmail.com>

* Fix broken pipeline

* chore: update demo plugin

* website perfection

* fix hydration bug

* docs: update guide (#3342)

* WIP docs

* docs: update docs

* add dark mode

* make dev fetch components from local instead of node_modules

Co-authored-by: msidolphin <msidolphin@outlook.com>
Co-authored-by: Aex <spryti@qq.com>
Co-authored-by: 0song <82012629+0song@users.noreply.github.com>
Co-authored-by: 0song <0song@gmail.com>
Co-authored-by: zouhang <zouhang@didiglobal.com>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>

* fix(docs): fix codepen code example issue (#3380)

* fix(docs): fix codepen code example issue

- Add lang="ts" for all example files
- Fix codepen import error

* revert changes in resource.vue

* feat(docs): complete crowdin integration (#3408)

* Update mds for preparing the integration script

* deprecate old website

* update sponsors and even handler for resize

* update build script for preview

* fix preview-build error

* fix preview-build error

* fix preview-build error

* fix preview-build error

* fix preview-build error

* update deploy script and some bugs

* Fix existing issue

* chore(project): add dev preview workflow

* chore(project): rename dev to staging

* update the size of toc

* update staging-preview script

* update preview scripts

* enable website build for preview

* fix build error

* final commitment for update the details

* remove azure pipeline

* move docs ignores into docs and update date

Co-authored-by: Kevin <sxzz@sxzz.moe>
Co-authored-by: zouhang <zouhang@didiglobal.com>
Co-authored-by: msidolphin <msidolphin@outlook.com>
Co-authored-by: Aex <spryti@qq.com>
Co-authored-by: 0song <82012629+0song@users.noreply.github.com>
Co-authored-by: 0song <0song@gmail.com>
2021-09-17 00:18:50 +08:00