Commit Graph

18 Commits

Author SHA1 Message Date
Jevin
66a0ca2758 fix(components): [carousel] special case activeIndex is inaccurate (#21736)
* fix: done

* chore: update

* chore: update

* chore: foramt

---------

Co-authored-by: chenwenjie <chenwenjie@zujibao.net>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-08-13 09:49:35 +00:00
dopamine
eff628a65a refactor(components): [carousel] simplify the code for motion blur (#20696) 2025-05-12 16:41:36 +08:00
sea
0b2f6911a9 feat(components): [carousel] export activeIndex (#17650)
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-07-26 10:20:25 +08:00
sea
a11a7d09dc feat(components): [carousel] add cardScale prop (#17621)
* feat: add params

* docs: add content

* perf: code

* ci: again test
2024-07-25 14:31:37 +08:00
Jed
53bc6517f2 feat(components): [Carousel] Add motion blur functionality (#15603)
* feat(components): [Carousel] Add motion blur functionality

docs(components): [Carousel] Add example properties

docs(components): [Carousel] Add docs properties

* fix(components): [Carousel] change the id name in filter in svg

fix(components): [Carousel] button to remove motion blur effect

fix(components): [Carousel] svg hides when motion blur is false

* update(components): [Carousel]  docs/en-US/component/carousel.md

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

* update(components): [Carousel] docs/examples/carousel/motion-blur.vue

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

* update(components): [Carousel] docs/examples/carousel/motion-blur.vue

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

* update(components): [Carousel] packages/components/carousel/src/carousel.ts

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

* docs(components): [Carousel]  add feature version labels

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2024-02-29 14:54:06 +08:00
井柏然
d88cb758d8 fix(components): [carousel] two length transform optimize (#12174)
* fix(components): [carousel] two length transform optimize

* fix(components): [carousel] default init function slot

* fix(components): [carousel] cancel optimize when loop is false

* fix(components): [carousel] filter card type

* fix: test

* style: code lint

* fix: cardtype

* fix: remove test code

* fix: act index

* feat: use flattedchildren

* fix: code lint

* fix: rename and add comment
2023-10-11 19:32:26 +08:00
热爱vue的小菜鸟
cd306117ae feat(components): [carousel] If the carousel height is auto apply item height (#12388)
* fix(components): [carousel] :height is auto and card direction  vertical

* fix(components): [carousel] :height is auto and card direction vertical

* fix(components): [carousel] :height is auto and card direction 垂直

* feat(components): [carousel] height is adaptive when height is auto

* feat(components): [carousel] height is adaptive when height is auto

* fix(components): [carousel] :height is auto and card direction 垂直

* fix(components): [carousel] :height is auto and card direction 垂直

* fix(components): [carousel] :height is auto  test.tsx

* fix(components): [carousel] :height is auto and card direction

* fix: delete zIndex

* fix: delete ts type

* fix: add test

* fix: css modification

* fix: delete doc inside

* fix: Revise card width not adaptive

* fix: Modify calcCardTranslate

* fix: test

* fix: calcCardTranslate

* fix: remove redundant code
2023-05-14 17:47:43 +08:00
Jeremy
904605587f refactor(components): [carousel] (#10188)
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-10-24 12:47:42 +00:00
dopamine
a03cf125fd fix(components): [carousel] improper active item (#8904)
* fix(components): [carousel] none of active item

closed #8891

* fix: ts error

* fix: guarantee items order when reusing carousel-item component

* style: code format

* fix: test fail

* chore: correct type

* fix: sorting failed in some cases

* better implementation

better implementation

* impove code accroding to review comment
2022-10-02 08:44:40 +08:00
Delyan Haralanov
c99592502f test: remove deprecated done callback (#7741)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-05-17 20:32:52 +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
JeremyWuuuuu
6b74660a20 chore(components): [el-carousel] code style refactor (#6693)
* chore(components): [el-carousel] code style refactor

- Remove duplicated code
- Simplified the code for components

* Wrap resize handle into shallowRef

* Export CourouselItemState type

* Enhance itemInStage method

* Refine code
2022-03-17 22:20:25 +08:00
卜启缘
176bc652ea refactor(components): [carousel] refactor (#6681)
* refactor(components): [carousel] refactor

* fix: build error
2022-03-17 12:21:06 +08:00
三咲智子
b8c38a9fe5 chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +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
jeremywu
b0f4fc5f23 refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00