Commit Graph

45 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
yuhengshen
cfc661c626 feat(types): [components] add public prop types (#21222)
* feat(types): [utils] add ExtractPublicPropTypes type

* feat(types): [components] add props public type

* chore(types): use type-only import for Prop from 'vue'

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-07 00:51:32 +08:00
Noblet Ouways
2f17df1209 style(eslint-config): newline before import type (#21036)
* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288.

* Revert "chore: fix"

This reverts commit 69c82a90c0.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
知晓同丶
73150c1214 refactor(components): improve alignment type definitions (#20695)
* refactor(components): improve alignment type definitions

* fix: rename Alignment to Align

* refactor: rename align to columnAlignment

* fix: use values to perf types

* fix: remove useless isValidColumnAlignment
2025-05-20 17:30:54 +08:00
dopamine
7be4a3765e chore: emits smaller declaration files (#20109)
* Revert "fix(types): packing unexpected types (#19419)"

This reverts commit 13506ffb81.

* Revert "chore: add explicit type annoation (#19352)"

* fix(typescript): borken import paths in declaration files

* chore: emits smaller declaration files
2025-03-18 10:08:44 +08:00
风屿
e87a8670d4 refactor(components): [description, input] use the component name constant (#20107)
* refactor(components): [description] extracts the component name constant

* refactor: extracts the component name constant

* refactor: change the location of COMPONENT_NAME

* Update packages/components/descriptions/src/description-item.ts

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

* refactor: change the name

* refactor: Extract COMPONENT_NAME to a separate file

* refactor: Adjust rows

---------

Co-authored-by: btea <2356281422@qq.com>
2025-03-15 23:14:51 +08:00
btea
d323d7f71e fix(components): [description] tsx rendering functional component error (#19879)
* fix(components): [description] tsx render

* fix: update

* fix: update

* test: add test case
2025-02-18 18:33:49 +08:00
btea
45fa8d3b31 fix(components): [description] labelWidth is invalid when no border (#19162)
* fix(components): [description] `labelWidth` is invalid when no border

* test: add test case
2025-01-04 14:10:26 +08:00
Harry Li
6a3dccaad8 feat(components): [description-item] add labelWidth prop (#18673)
* feat(components): [description-item] add labelWidth prop

* feat(docs): [description-item] add labelWidth prop in api

* feat(components): [descriptions] add test code for

* fix(components): [descriptions] more maintainable width compute

* feat(docs): [descriptions] add version tips for label-width prop

* feat(docs): [descriptions] update label-width support version

* chore: code format

* feat(components): [descriptions] add labelWidth to descriptions

* feat(components): [descriptions] add test code for labelWidth

* feat(components): [descriptions] add docs for new labelWidth props

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2024-11-13 17:34:37 +08:00
jiaxiang
db2cc84d54 chore(components): [descriptions] optimize the labelAlign (#18644)
refactor(components): [ElDescriptionsCell] optimize the labelAlign
2024-10-23 14:22:46 +08:00
betavs
31e00e7c19 fix(components): [descriptions-cell] redundant slot function calls (#18330) 2024-09-22 21:32:11 +08:00
guze2003
00e1ccc2b1 feat(components): [descriptions] add rowspan (#10314)
* feat(components): [descriptions] add rowspan

* fix: type error

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

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

* chore: format

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2024-08-22 21:39:09 +08:00
ntnyq
770ec04694 feat(components): [description] export props types (#17859) 2024-08-13 10:26:06 +08:00
dopamine
79938178dd build: use vue-tsc to generate dts (#16111)
* build: use vue-tsc to generate dts

* reduce inline type declaration

* fix: type checking failed

* apply suggestions from code review

* address PR comments
2024-08-07 12:01:46 +08:00
chouchouji
2564007850 refactor(components): optimize component boolean type (#17622)
* refactor(components): optimize component boolean type

* style(components): [overlay] fromat code
2024-07-25 14:17:23 +08:00
otto
434c8d26df fix(components): Add missing export (#16323)
* fix(components): Add missing export

* fix(components): Add missing export

* fix(components): Add missing blank line.
2024-04-25 21:18:05 +08:00
wzc520pyfm
4bfe10e682 docs(components): [descriptions] use new display tag (#12673) 2023-10-11 10:28:46 -05:00
btea
230a246c02 fix(components): [description] use withDirectives add custom directive (#14299)
* fix(components): [description] use `withDirectives` add custom directive

* feat: add DirectiveArguments
2023-09-29 05:21:20 -05:00
dopamine
625b4ad0a8 refactor(descriptions): improve types (#14313)
* refactor(descriptions): improve types

* use buildProps
2023-09-19 10:47:08 +08:00
Jeremy
4c27822ef0 fix(components): circular referencing issue (#11777)
* fix(components): circular referencing issue

* Move sizes related into hooks.
* Remove size definitions in forms only re-exports.

* chore: fix failing tests
2023-03-01 16:44:09 +08:00
Jeremy
11925c8231 refactor(tokens) - [form] (#11743)
* refactor(tokens): [form] - remove tokens/form

* Move content in tokens/form to components/form.
* Replace token imports in components/form.

* chore: remove form/tokens and replace imports

* refactor(components): [form/form-item]

* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
Dave
8055220c84 feat(components): [descriptions] render null when empty label (#11575) 2023-02-16 15:23:59 +00:00
Naeemo
702c71b352 refactor(tokens): use Symbol as injection key (#11251) 2023-02-05 13:10:33 +08:00
LIUCHAO
bd95cae599 fix(components): [descriptions] fix type error (#9899) 2022-09-26 12:15:26 +08:00
LIUCHAO
1c94256c19 refactor(utils): refactor flattedChildren (#9748) 2022-09-14 11:23:46 +08:00
류한경
fbe5990f1c refactor(components): [descriptions] switch to script-setup syntax (#8349) 2022-07-19 19:21:30 +08:00
三咲智子
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
류한경
40fa4a4b3e refactor(components): [descriptions] use JSX in Unit test (#8351) 2022-06-21 02:01:22 +08:00
kooriookami
4dc6106660 fix(components): [descriptions] style (#7474) 2022-05-02 23:39:01 +08:00
三咲智子
1d13ebb05d feat: drop jest (#7248)
* feat: drop jest

* test: remove ssr

* test: rename

* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0 test(components): switch all components to vitest (#7205)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
三咲智子
184facdb4c chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
三咲智子
b8c38a9fe5 chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
三咲智子
6503e55277 refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
三咲智子
c1e5d724d8 refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
btea
a80e295194 refactor(components): [descriptions] use useNamespace (#5499) 2022-01-20 06:00:53 +08:00
kooriookami
10e231168a style: update descriptions style (#5025)
* style: update descriptions style

* style: update

* style: update demo

* style: update

* style: update

* style: update

* style: update

* style: update

* feat: update
2021-12-30 17:46:33 +08:00
Herrington Darkholme
b431838d60 fix(core): fix unit testing warning (#4948) 2021-12-26 15:08:04 +08:00
三咲智子
db1d9401fe feat(components): [el-config-provider] add size (#4730) 2021-12-10 17:21:01 +08:00
jeremywu
3138dea797 fix(components): sub components no install issue (#3615)
- Add noop install for all sub components for supress the warning
2021-09-24 19:11:56 +08:00
三咲智子
0636e1e240 style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +08:00
三咲智子
55348b30b6 style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
Aex
eb8ec6fb7a fix(components): descriptions cell class (#3195) 2021-09-02 15:01:13 +08:00
Aex
84d8d7111e fix(components): [descriptions] avoid conflict with el-table (#3005)
Co-authored-by: imwsk <syfzxx@vip.qq.com>

Co-authored-by: imwsk <syfzxx@vip.qq.com>
2021-08-25 11:00:02 +08:00
jeremywu
b0f4fc5f23 refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00