Commit Graph

30 Commits

Author SHA1 Message Date
Kylin
97652eb14b
refactor(components): [affix] optimized code logic (#17929)
* perf(components): [affix] optimized code logic

* perf(components): [affix] restore the original writing
2024-08-20 11:42: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
Akash Bagchi
f5e49591a9
improvement(other): Minor change to English phrasing (#16654)
Update affix.vue

Minor fix to phrasing
2024-04-25 15:30:37 +08:00
Jeremy
dd65c73870
docs(components): [affix] (#10345)
docs(components): [affix]

* Add lost exposed API to documentation.
* Refine code.
* Add descriptions for APIs.
* Refine implementation for `FunctionType` and `EnumType`.
* Update affix documentation based on the changes above.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-11-01 21:52:16 +08:00
Li Zhequ
5be9bd2d4d
fix(components): [affix] fix affix when scroll container is not window (#9660)
Co-authored-by: lizhequ <lizhequ@ysbang.cn>
2022-09-20 17:06:00 +08:00
三咲智子
861a7953b4
refactor(components): switch to vue macros (#9306) 2022-09-16 22:57:41 +08:00
yangguang
4a20c326fa
fix(components): [affix] expose updateRoot (#9159)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-08-27 16:52:06 +00:00
류한경
e757409852
refactor(components): [affix] props and emits validation (#7945)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-05-29 06:24:45 +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
JeremyWuuuuu
6eb8cfa1ef
chore(ssr): moveout ssr testing files (#6655)
- Move testing files to ssr-testing/
2022-03-15 20:18:06 +08:00
JeremyWuuuuu
2d3d09b545
test(ssr): add ssr testing cases (#6647) 2022-03-15 19:21:54 +08:00
三咲智子
bb160c5f9b
refactor(components): [affix] use vueuse utils (#6295)
* refactor(components): refactor affix

* refactor: resolve review comments
2022-03-01 23:27:00 +08:00
bqy
77eb2ea4e4
refactor(components): [affix] use JSX in Unit test (#6159)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-02-23 16:44:48 +08:00
bqy
c2fe2a4f05
refactor(components): [affix] switch to script-setup syntax (#6065) 2022-02-16 21:47:01 -05: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
三咲智子
58463b9ba4
refactor(components): [affix] add namespace & instance type (#5474) 2022-01-19 11:37:37 +08:00
Herrington Darkholme
343b7e333f
fix(components): always emit scroll with scrollTop number (#4974) 2021-12-26 15:44:47 +08:00
midcu
fb55efe48b
fix(components): [el-affix] 监听容器的大小变化 (#3932)
Co-authored-by: midcu <me@midcu.com>
2021-11-02 18:46:10 +08:00
Alan Wang
4b76238ea3
fix(components): [el-affix] update method does not exist (#3996) 2021-10-22 12:15:35 +08:00
deepthan
e8043abca8
fix: capitalize the first letter of the error message (#3882)
* Fix: fix erros message typo

Co-authored-by: linkun.he <helinkun@ithinkdt.com>
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 17:51:15 +08:00
三咲智子
edb5726c2d
refactor(utils): refactor buildProps & replace buildProp (#3775) 2021-10-06 19:56:24 +08:00
Summer
ec96e9dbc7
fix(components): [el-affix] get scrollContainer of vertical (#3424)
Co-authored-by: 徐志伟 <zwxu01@wisedu.com>
2021-09-27 14:53:16 +08:00
三咲智子
46d69bd37f
refactor: improve buildProp (#3558)
* refactor: improve buildProp

* fix: fix key

* fix: improve validator
2021-09-22 20:27:23 +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
三咲智子
7a4bd0f236
refactor(components): refactor affix (#3368) 2021-09-13 12:02:18 +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