27 Commits

Author SHA1 Message Date
54cb51f2d9 feat(components): [config-provider] support card config (#21483) 2025-07-28 17:19:44 +08:00
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
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 db0116a288299c507e3cfc4d7a22e2207265d920.

* Revert "chore: fix"

This reverts commit 69c82a90c01525e38180be4c21e8ef5602512318.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
72e202f74b feat(components): [card] add header-class and footer-class for slots (#20408) 2025-04-13 15:51:57 +08:00
7be4a3765e chore: emits smaller declaration files (#20109)
* Revert "fix(types): packing unexpected types (#19419)"

This reverts commit 13506ffb814d2b1300bf57c06648b6b27281c7c5.

* 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
sea
244e811b44 chore(eslint-config): add line-between-blocks rules (#20051) 2025-03-08 08:55:02 +08:00
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
dfad5539f5 feat(components): [card] adds footer slot (#10357)
feat(components): [card]

adds footer slot

closed #6873

Co-authored-by: btea <2356281422@qq.com>
2023-11-06 19:29:22 +08:00
564476b064 feat(components): [card] add body class (#11869)
* feat(components): [card]  add body class

* fix(components): [card] remove default value

* fix(components): [card] modify description
2023-08-10 22:23:04 +08:00
c3f529c411 docs(components): [card] (#10978)
* docs(components): [card]

* Update card docs with new syntax

* docs(components): [card]

* Update docs with new syntax
* Reorganize code for readabiltiies.

* chore: address PR comments

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-12-14 22:32:51 +08:00
90702b591e test(components): [card] correct shadow props (#8059) 2022-06-03 09:01:47 +08:00
63cbc59e2a test(components): [card] add optional chaining (#8058) 2022-06-03 01:40:44 +08:00
3adb0f2077 refactor(component): improve code (#7959) 2022-05-29 09:42:31 +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
de0ee53cf0 test(components): switch all components to vitest (#7205)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
5d85fba20c chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
bqy
7928a4d214 refactor(components): [card] switch to script-setup syntax (#6071) 2022-02-23 20:52:27 +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
68bbd0e79a refactor(components): use useNamespace is (#5468) 2022-01-19 15:04:01 +08:00
cc4cebf465 refactor(components): [card] add namespace & instance type (#5445) 2022-01-18 14:45:04 +08:00
edb5726c2d refactor(utils): refactor buildProps & replace buildProp (#3775) 2021-10-06 19:56:24 +08:00
46d69bd37f refactor: improve buildProp (#3558)
* refactor: improve buildProp

* fix: fix key

* fix: improve validator
2021-09-22 20:27:23 +08:00
60da0daf98 refactor(components): refactor card (#3367) 2021-09-13 10:51:11 +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
7b79aae8ff fix(input): autosize type problem (#3008) (#3012)
* fix(input): autosize type problem (#3008)

* fix(input/card):  ( autosize/bodyStyle )type problem (#3008)

* fix(input/card): (autosize/bodyStyle)type problem (#3008)

* fix(components): input/card (autosize/bodyStyle) type problem (#3008)

* fix(components): input/card (autosize/bodyStyle) type problem (#3008)
2021-08-26 17:00:18 +08:00
b0f4fc5f23 refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00