63 Commits

Author SHA1 Message Date
a36792abc5 fix(components): [pagination] reset icon hover state when page changes (#21371)
* fix(components): [pagination] reset icon hover state when page changes

* test(components): [pagination] add test case

* fix(components): [pagination] correctly reset status

* chore(components): [pagination] optimize code

---------

Co-authored-by: cszhjh <cszhjh@iMac.local>
2025-07-21 09:57:10 +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
sea
1084071fcf chore(eslint-config): add newline-after-import rules (#20309)
chore: add `newline-after-import` rules
2025-03-31 20:48:10 +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
7dbac0e1bc chore: use event constants instead string (#20104)
* chore: use UPDATE_MODEL_EVENT constants

* chore: update INPUT_EVENT & CHANGE_EVENT
2025-03-12 15:52:07 +08:00
sea
244e811b44 chore(eslint-config): add line-between-blocks rules (#20051) 2025-03-08 08:55:02 +08:00
90c45e108d fix(components): [pagination] input style loss (#18878) 2024-11-13 10:33:14 +08:00
10fcc59ed4 refactor: replace Array.isArray with the built-in isArray (#18671)
chore(components): [descriptions] isArray replace Array.isArray
2024-10-28 15:36:44 +08:00
03fa5d6839 feat(components): add the ability to append table filter panel, select and pagination size dropdowns to any element (#14318)
* feat(components): [pagination] append size dropdown to element

* feat(components): [select] append select dropdown to element

* feat(components): [table] append table filter panel to element

* refactor(components): [pagination] shorten prop names

* fix(components): [select] appendTo prop

* docs(components): add pagination docs append-size-to version tag

* docs(components): remove append-size-to default value in docs

* refactor(components): remove default appendTo values

* docs: version bump

* refactor(components): remove default appendFilterPanelTo value
2024-09-26 09:56:23 +08:00
6ce83d38a7 fix(components): [pagination] global size dynamic modification error (#18004) 2024-08-27 09:03:06 +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
9619e62d0c fix(components): [pagination] size global adaptation (#17306)
* fix(components): [pagination] `size` global adaptation

* Update packages/components/pagination/src/pagination.ts

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

---------

Co-authored-by: btea <2356281422@qq.com>
2024-06-25 09:01:29 +08:00
a8a2298a6d feat(pagination) : add size prop (#16858)
* fix(components): [table]

closed #11023

* fix(components): add component prop 'size' and related style supplement

BREAKING CHANGE :
size

closed #16830

* Update component documentation

* Update documentation and tests

* Optimized using useFormSize

* Keep the 'small' api for now

* Eliminate unwanted code

* Eliminate the impact of errors

* Remove 'ref'

* Update docs/examples/pagination/more-elements.vue

Co-authored-by: qiang <qw13131wang@gmail.com>

* Modify documents and declarations

* Eliminate uselessness

* Update packages/components/pagination/src/pagination.ts

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

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

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

* Update packages/components/pagination/src/pagination.ts

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

* Adjust public access

* pass Lint

* Modify attribute acquisition

* change the source of 'size'

* remove `pagination-font-size-large`

* Lift response

* Update packages/theme-chalk/src/common/var.scss

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

* Update pagination.ts

* Update docs/examples/pagination/more-elements.vue

---------

Co-authored-by: yang <29636098325@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2024-06-21 11:29:51 +08:00
42aa1724ea fix(components): [pagination] jumper input label warning (#16682) 2024-04-28 09:17:01 +08:00
ac6b0e74f5 feat(components): [pagination] add change event (#14828)
* feat(components): [pagination] add change event

* feat(components): [pagination] add change event

* feat(components): [pagination] add change event

* feat(components): [pagination] add change event

* feat(components): [pagination] add change event
2023-12-13 09:54:27 +08:00
9a60a90e1e feat(components): [el-pagination] add teleported prop (#14072)
* fix(components): [pagination] 修复toplayer全屏模式下分页下拉框无法显示问题

分页组件新增teleported参数 默认为true  便于用户控制size下拉框是否插入body

closed #14070

* docs(docs): [pagination] Add a teleported attribute

closed #14070

* fix(components): [pagination] teleported props default value

delete set teleported default value

closed #14070

* fix(components): [pagination] change the default value of teleported

change the default value of teleported to true

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

Co-authored-by: qiang <qw13131wang@gmail.com>

---------

Co-authored-by: shaojia.cheng <shaojia.cheng@arvetech.net>
Co-authored-by: qiang <qw13131wang@gmail.com>
2023-09-06 00:14:58 +00:00
c51c686ed9 docs(components): [pagination] use new display tag (#12680)
* docs(components): [pagination] use new display tag

* docs(components): [pagination] update doc format

adjust attribute order

update default for attribute

update title

update description for attribute

* docs(components): [pagination] restores the order of attributes
2023-05-24 08:22:28 +08:00
128fe7026a fix(components): [pagination] delete input value display empty string (#12134) 2023-03-25 18:18:35 +08:00
02955a924c chore(components): [pagination] accessibility improvement (#11817)
* chore(components): [pagination] accessibility improvement

closed #11730

* test(components): [pagination] fix test

* test: add test
2023-03-10 14:52:17 +08:00
a30ae9d103 refactor(project): removing packages/tokens (#11769)
* refactor(tokens): remove tokens

* Remove tokens/breadcrumb.

* refactor(tokens): remove tokens/button

* refactor(tokens): remove tokens/carousel

* refactor(tokens): removing tokens/checkbox

* refactor(tokens): removing tokens/collapse

* refactor(tokens): removing tokens/dialog

* refactor(tokens): removing tokens/pagination

* refactor(tokens): removing tokens/radio

* refactor(tokens): removing tokens/row

* refactor(tokens): removing tokens/scrollbar

* refactor(tokens): removing tokens/slider

* refactor(tokens): removing tokens/tabs

* refactor(tokens): removing tokens/upload

* refactor(tokens): removing tokens/popper

* refactor(tokens): removing tokens/tooltip

* refactor(tokens): removing tokens/tooltip-v2

* refactor(tokens): removing tokens/date-picker

* refactor(project): removing tokens/experimentals

* Remove tokens/experimentals
* Remove package/tokens
* Remove tokens related parts

* refactor(project): removing packages/tokens completely

* chore: update import statement
2023-03-01 13:59:21 +08:00
1c20ad25b1 docs(components): [pagination] format the Type value (#10894)
* docs(components): [pagination] format the Type value

closed #10192

* docs(components): [pagination] format the Type value
2022-12-07 20:08:15 +08:00
7de79bdfcf style(components): [pagination] Refactor pagination style (#10563)
* style(components): [pagination]
2022-11-13 14:09:26 +08:00
d0ec3e3941 fix(components): [pagination] fix type error (#9893)
* fix(components): [pagination] fix type error

* chore: improve type

* chore: removed default value
2022-09-26 08:04:17 +08:00
351915927c fix(components): [pagination] add validate-event (#9563) 2022-08-31 20:04:06 +08:00
3d13c14ae7 feat(components): [pagination] btns icon can be customized Vuecomponent (#9372)
closed #9300
2022-08-19 13:32:29 +08:00
33fc8e5c4e refactor(components): [pagination] use JSX in Unit test (#8269)
* refactor(components): [pagination] remove no unused vars
2022-07-13 19:36:55 +09:00
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
eace0489ea fix(components): [pagination] tab enable error if disabled (#8222) 2022-06-16 00:34:09 +08:00
df5ba0fffd fix(components): [pagination] improved keyboard accessibility (#8107)
* fix(components): [pagination] improved keyboard accessibility

* refactor(components): [pagination] change arguments type

* refactor(components): [pagination] change camel case
2022-06-11 19:52:35 +08:00
e0a2544f70 refactor(components): [pagination/sizes] switch to script-setup syntax (#7749)
* refactor(components): [pagination/sizes] switch to script-setup syntax

* fix(components): [pagination/sizes] cast props to const

* fix(components): [pagination/sizes] remove prop default

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-20 15:42:30 +08:00
f245986996 refactor(components): [pagination/next] switch to script-setup syntax (#7748)
* refactor(components): [pagination/next] switch to script-setup syntax

* fix(components): [pagination/next] move emits

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 22:21:09 +08:00
82484bab98 refactor(components): [pagination/prev] switch to script-setup syntax (#7745)
* refactor(components): [pagination/prev] switch to script-setup syntax

* fix(components): [pagination/prev] cast props to const

* fix(components): [pagination/prev] extract emits to utility file

* fix(components): [pagination/prev] remove prop default

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 22:20:55 +08:00
353b56e2c8 refactor(components): [pagination/total] switch to script-setup syntax (#7750)
* refactor(components): [pagination/total] switch to script-setup syntax

* fix(components): [pagination/total] cast props to const

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 09:18:39 +08:00
37ac01d025 refactor(components): [pagination/jumper] switch to script-setup syntax (#7747)
Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 09:02:40 +08:00
66bf5c1280 refactor(components): [pagination/pager] switch to script-setup syntax (#7746)
* refactor(components): [pagination/pager] switch to script-setup syntax

* fix(components): [pagination/pager] cast props to const

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 09:01:00 +08:00
6b9ac43419 fix(components): [pagination] fix typo (#7420) 2022-05-01 06:42:41 +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
184facdb4c chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
c35dfec666 style(components): rename disabled to is-disabled (#6475)
* style(components): [pagination] rename disabled to is-disabled

* style(components): [slider] rename disabled to is-disabled

* style(components): [pagination] rename active to is-active

* refactor(components): [calendar] use namespace hooks

* fix(components): [pagination] fix test error
2022-03-10 23:57:07 +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
bqy
7e803e92f4 refactor(components): [pagination] use useNamespace (#5725) 2022-02-11 10:50:00 +08:00
c1e5d724d8 refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
426a6a686c feat: switch to lodash-unified (#5734)
* feat: switch to lodash-unified

* chore: move lodash mocks
2022-02-08 10:37:21 +08:00
baf6bc0260 fix: [el-pagination] fix justify alignment (#5814)
fix #5807
2022-02-07 16:46:26 +08:00
8322bcf843 refactor(components): [el-pagination] optimize component style (#5666) 2022-01-27 16:52:45 +08:00
3956faacba fix(components): [el-pagination] jumper prohibit decimal (#5512) 2022-01-22 17:34:29 +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