Commit Graph

44 Commits

Author SHA1 Message Date
一只前端汪
7c16480bcd refactor(style): Update Eslint to V9 and Prettier to V3 (#21949)
* refactor(style): Update Eslint to V9 and Prettier to V3

* fix: vscode color

* fix: vscode color

* chore: remove Useless dependence and old config file

* chore: format

* Merge branch 'dev' into eslintV9

* fix: fix

* fix: ssr test

* fix: ssr test

* fix: use defineConfig

* fix: prettier format and ignore docs dist

* fix: index.mjs => index.js

* fix: Vscode color

* fix: prettier ignore global.d.ts

* fix: format

---------

Co-authored-by: 2586740555 <15972343+CYJ090915@user.noreply.gitee.com>
2025-09-29 14:14:30 +08:00
Rainbow
01dcccdfc3 fix(components): [form] inline-message of form-item defaults to undefined (#21944)
* fix(components): [form] inline-message of form-item should be Boolean

* fix: update

* fix: update

* docs: inline-message of form-item defaults to undefined
2025-08-30 00:09:38 +02:00
Zhong
72a26a48f0 docs: fix typo & prettier & unify attribute name format (#21600) 2025-08-03 16:47:48 +08:00
Zhong
09df413426 refactor(components): [form] enhance scrollIntoViewOptions type (#21552) 2025-07-31 09:20:07 +08:00
xingyixiang
bb5930e8b7 feat(components): [form] export getField (#20981)
* feat(components): [form] export getField

* fix(components): [form] test

* feat(components): [form] export getField

* Update packages/components/form/src/utils.ts

Co-authored-by: btea <2356281422@qq.com>

* feat(components): [form] export getField

* feat(components): [form] export getField

---------

Co-authored-by: btea <2356281422@qq.com>
2025-06-12 22:33:29 +08:00
btea
c29eac5f81 fix(components): [form] scrollToError scroll to correct position (#20826)
* fix(components): [form] `scrollToError` scroll to correct position

* fix: update

* fix: update

* fix: update

* fix: revert

* fix: set scrollIntoViewOptions default to true

* Update packages/components/form/src/form.vue

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* fix: update

* fix: update class

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-05-23 15:52:55 +08:00
btea
15b98154c1 Revert "docs: optimization API style (#19793)" (#20039)
This reverts commit fe9cc6351b.
2025-03-07 09:29:45 +08:00
jiaxiang
fe9cc6351b docs: optimization API style (#19793)
* docs: optimization API style

* chore: Transfer

* chore: update

* fix: update
2025-02-09 13:35:08 +08:00
Gustavo Oliveira
4fac13c469 docs(components): [form] update form clearValidate description (#17980)
docs(components): [form] Update form clearValidate description

Clarify that clearValidate can remove all validation messages.
2024-08-26 11:40:06 +08:00
kooriookami
8c2868e72e docs(form): beautify the demo (#17309)
docs(components): beautify the demo
2024-06-24 09:06:40 +00:00
星如雨
91ee8606fb feat(components): [form-item]: add label-position prop (#17111)
* feat(components): [form-item]: add `label-position` prop

* docs(components): form-item label-position docs

* test(components): form-item

closed form-item label-position test

* Update docs/en-US/component/form.md

Co-authored-by: btea <2356281422@qq.com>

* Update docs/en-US/component/form.md

Co-authored-by: btea <2356281422@qq.com>

* Update docs/en-US/component/form.md

Co-authored-by: btea <2356281422@qq.com>

* fix(components): form-item line-height is overridden by the form style
fix(components): form-item label-position style is invalid when label-width is auto

* docs(components):  update form and form-item alignment examples

* Update docs/en-US/component/form.md

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* Update docs/en-US/component/form.md

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2024-06-24 16:43:02 +08:00
btea
2c0db96109 docs: format docs (#16364) 2024-06-13 07:34:47 +09:00
sea / 神秘海
052af0c5eb docs(examples): delete form validate return and perfect types (#16778)
* docs: delete form exampls validate return value

* docs: delete form exampls validate return value

* update form.md

* docs: delete form validate return
2024-05-12 10:23:50 +08:00
sea / 神秘海
1fdbfd07fa feat(components): [form] export fields (#16755)
* feat(components): [form] export fields

* docs: format

* feat: add test

* Update packages/components/form/src/form.vue

Co-authored-by: btea <2356281422@qq.com>

* Update docs/en-US/component/form.md

Co-authored-by: btea <2356281422@qq.com>

* Update form.md

---------

Co-authored-by: btea <2356281422@qq.com>
2024-05-07 22:42:51 +08:00
btea
ec34092e45 chore: format (#15137) 2023-12-13 12:12:44 +00:00
dopamine
1bf6f1bc7a docs(form): add that prop supports dot notation string (#14325) 2023-09-18 22:03:41 +08:00
Wu Rui
3c1bd4efc6 fix(components): [form] improve types (#14062)
* fix(components): [form] improve types

* docs: update form

* fix: consider RegExp

* chore: update jsdoc
2023-08-30 13:31:10 +00:00
Kaine
3e7d3ea7d8 docs(components): add attr version tag (#13641)
1. docs(components): [cascader] add version tag for togglePopperVisible expose

2. docs(components): [color-picker] add version tag for show & hide expose

3. docs(components): [date-picker] add version tag for handleOpen & handleClose method

4. docs(components): [dialog] add version tag for align-center atrr

5. docs(components): [dropdown] add version tag for teleported attr

6. docs(components): [form] add version tag for scroll-into-view-options attr

7. docs(components): [image] add version tag for zoom-rate attr

8. docs(components): [input-number] add version tag for readonly attr

9. docs(components): [menu] add version tag for popper-effect attr

10. docs(components): [message-box] add version tag for append-to attr & message function

11. docs(components): [rate] add version tag for clearable attr

12. docs(components): [select-v2] add max-collapse-tags attr

13. docs(components): [select] add version tag for collapse-tags-tooltip & placement

14. docs(components): [table] fix show-overflow-toolip attr version tag

15. docs(components): [time-picker] add version tag for handleOption & handleClose expose

16. docs(components): [tree-v2] add version tag for item-size attr

17. docs(components): [tree] add version tag for empty slot
2023-08-24 07:43:05 +08:00
Jackie
9b75335c39 docs(components): [form] modify props description (#13950)
* docs(components): [form] update prop's type

* fix(components): [form] modify props description

---------

Co-authored-by: lvjiaqi <lvjiaqi@itcast.cn>
2023-08-11 21:17:53 +08:00
qiang
37e0b10e80 fix(theme-chalk): [form] remove default width of Input in inline form (#13375) 2023-06-30 21:56:03 +08:00
qiang
627d408e66 feat(theme-chalk): [form] add default width to Input in inline form (#12897)
* feat(theme-chalk): [form] add default width to Input in inline form

* docs: add clearable attributes to Input

* docs: add a description of the Input width
2023-06-06 16:18:37 +08:00
wzc520pyfm
5d0fa75793 docs(components): [form] use new display tag (#13007)
* docs(components): [form] use new display tag

* refactor(components): [form] update boolean default of attribute
2023-06-03 10:57:02 +09:00
류한경
eb88722841 feat(components): [form] scroll-into-view options (#12164) 2023-03-23 22:51:56 +09:00
guizo
0c694f47c8 docs(components): Adds tip about disabling validator trigger (#11745)
* docs(components): Adds tip about disabling validator trigger

* docs(components): Include other input type components on tip
2023-03-01 10:05:36 +00:00
btea
a5e09ca178 docs(components): [date-picker] add popper-options prop (#11555)
* docs(components): [date-picker] add popper-options prop

* chore: format
2023-02-24 10:49:56 +09:00
Xc
9de0a15b9a docs(components): [form] (#11021)
* docs(components): [form]
* Update form docs with new syntax.

* docs(components): [form]
* Update form docs with new syntax.
2023-02-12 01:33:02 +08:00
virgosoy
4760f13150 docs(components): [form] (#11071)
FormValidationResult is Promise<boolean>
2023-02-05 19:59:20 +08:00
qiang
ae67a610bd docs: optimize the format of some types in the document (#9998) 2022-10-05 18:21:36 +08:00
Qiang
cc8b816bd9 fix(components): [form] no margin when there is no label (#9940) 2022-09-27 14:54:00 +00:00
云游君
f90d3aa6ac docs(form): fix hide-required-asterisk desc (#9763) 2022-09-14 18:55:18 +00:00
qiang
189c379ddc chore: add attribute enum autosuggestion for WebStorm (#9663) 2022-09-10 09:14:31 +08:00
btea
1f3c661c57 feat(components): [form] add require-asterisk-position prop (#9433) 2022-08-25 09:27:51 +08:00
류한경
efbc4fec09 docs(components): [form] add scroll-to-error attribute (#8650) 2022-07-06 19:15:25 +09:00
opengraphica
7173e402b7 feat(components): [form-item] auto attach labels to inputs (#7450)
* feat(components): [form-item] auto attach labels to inputs

* feat(components): [form-item] auto-attach up through select

* feat(components): [form-item] auto id complete for all inputs

* feat(components): [form-item] fix lint, remove unused usePopper hook

* feat(components): [form-item] PR comments
2022-05-05 22:04:32 +08:00
三咲智子
eab6be93e7 refactor(docs): [form] improve docs and typings (#6447) 2022-03-07 13:37:13 +08:00
C.Y.Kun
b46bdae9e6 docs(components): check docs before stable (#5740) 2022-01-31 23:43:56 +08:00
云游君
efb48a61fd fix(style): adjust component size & demo (#4801)
* fix(style): adjust button size & demo spacing

* fix(style): adjust input padding & with prefix/suffix

* fix(style): adjust button padding horizontal

* fix(style): adjust form margin & font-size

* refactor(docs): use setup simplify form examples
2021-12-15 16:36:49 +08:00
云游君
4560adfdf8 refactor(style): adjust component size to large/default/small (#4491)
* refactor(style): adjust component size to large/default/small

* refactor(components): avatar size & use flex instead of block

* refactor(components): adjust check button size

* refactor(components): adjust tag size

* refactor(components): adjust size doc

* fix(components): datetime-picker demo style width

* refactor(components): color-picker size & block to flex

* refactor(components): adjust slider input size

* refactor(components): adjust radio input size for demo

* refactor(components): adjust select size & docs

* refactor(components): adjust form radio size & docs

* refactor(components): add windicss for docs

* refactor(components): adjust skeleton avatar size to css var

* refactor(components): simplify typography size demo

* refactor(components): adjust dropdown size & demo

* refactor(components): adjust descriptions size

* fix(components): datetime-picker showcase class pollute global button

* chore(ci): upgrade docs dependencies to fix ci

* fix(ci): add highlight because vitepress not export it

* fix(ci): disable line for no-console

* fix(ci): remove mini to fix test

* fix(style): code font size

* fix(style): button span flex style

* fix(style): button padding horizontal default 15px

* refactor(components): adjust tag padding size & demo

* refactor(components): adjust form line-height for input

* refactor(components): adjust dropdown menu size & button padding

* fix(style): picker separator block to flex center

* fix: dropdown button span items-center

* style: adjust input-with-icon & size demo & fix input vitepress load

* chore: upgrade dependencies

* chore: upgrade dependencies

* ci: fix website build

* ci: regenerate pnpm-lock.yaml

* ci: use dev pnpm-lock

* ci: update pnpm-lock.yaml
2021-12-12 17:54:21 +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
qiang
8adbd4735b build: add default slot to generate better code hint files (#3763) 2021-10-04 08:26:51 +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