Commit Graph

36 Commits

Author SHA1 Message Date
Lucuai
8411ecc93a
feat(components): [image] fix #8919 bug (#8920)
Co-authored-by: wanyiding <wanyiding@tuhu.cn>
2022-07-26 17:53:35 +08:00
qiang
d10b02b422
fix(components): [image] position styles error when used slots (#8109)
* fix(components): [image] position styles error when used slots

* feat(components): [image] hide image on load

* feat(components): [image] load emit
2022-06-09 10:23:58 +08:00
qiang
60cd22b890
feat(components): [image] support native lazy loading (#7968) 2022-06-01 13:21:05 +08:00
三咲智子
21a7089ec5
refactor(build): use type unsafe (#7523)
* refactor(build): use type unsafe

* fix: windows
2022-05-13 16:55:10 +08:00
JeremyWuuuuu
5daf53e8e1
refactor(components)!: remove deprecated warning (#7528) 2022-05-06 13:19:01 +08:00
三咲智子
879be3ce28
fix(components): [image] fix attrs (#7451)
closes #7242
2022-05-02 14:49:25 +08:00
Xc
335569e8a7
feat(components)[image] imageviewer add close-on-press-escape(#7154) (#7182)
* feat: imageviewer add close-on-press-escape(#7154)

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-25 13:34:40 +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
btea
c14ac56be7
fix(components): [image] add infinite prop (#7021) 2022-04-06 17:36:08 +08:00
bqy_fe
8c26036e60
refactor(components): [image, image-viewer] refactor (#6704)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-30 21:44:30 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
btea
15895d6d4d
refactor(utils): extract isElement (#6292) 2022-02-26 15:00:57 +08:00
msidolphin
dcb7365365
feat(components): [el-image] support append preview to body (#5883)
* feat(components): [el-image] support append preview to body

* chore: add deprecated warning

* chore: compatible with  append-to-body and get zIndex from PopupManager

* fix: apply transition on the initial render

* fix: PopupManager import

* fix: modify default value

* chore: rename to teleported

* chore: rename to teleported

* fix: resolve import issue

* fix: resolve import issue

* fix: resolve import issue
2022-02-11 15:16:45 +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
kooriookami
eb6553bedf
fix(components): [image-viewer] fix some bugs and improve style (#5673)
* fix: fix ElImageViewer

* fix: update

* perf: perf zoomRate
2022-01-28 15:21:43 +08:00
btea
d7297131cf
refactor(components): [image, image-viewer] use useNamespace (#5513) 2022-01-22 17:35:50 +08:00
程成
9460e42ac6
fix(components): [el-image] image load error (#4820)
Co-authored-by: C.Y.Kun <30518686+emojiiii@users.noreply.github.com>
2022-01-18 22:26:28 +08:00
三咲智子
6287c1f92d
refactor(utils): remove isServer (#4792) 2021-12-12 23:28:03 +08:00
三咲智子
bbd16a08e9
refactor(hooks): refactor hooks (#4253)
* refactor(hooks): remove use-css-var

* refactor(hooks): remove use-events

* refactor(hooks): remove use-migrating

* refactor(hooks): remove use-transition

* refactor(hooks): named export useAttrs

* refactor(hooks): named export useFocus

* refactor(hooks): refactor useFormItem

* refactor(hooks): refactor useGlobalConfig

* refactor(hooks): refactor useLocale

* refactor(hooks): refactor useLockscreen

* refactor(hooks): refactor useModal

* refactor(hooks): refactor useModelToggle

* refactor(hooks): refactor usePreventGlobal

* refactor(hooks): refactor useRestoreActive

* refactor(hooks): refactor useTeleport

* refactor(hooks): refactor useThrottleRender

* refactor(hooks): refactor useTimeout

* refactor(hooks): refactor useTransitionFallthrogh
2021-11-29 15:58:44 +08:00
Alan Wang
c0ca1389bb
feat(components): [el-image] initialIndex (#4235) 2021-11-05 17:52:13 +08:00
三咲智子
12bf28e8c8
refactor(components): refactor image-viewer (#3810)
* refactor(components): refactor image-viewer

* fix: remove unused

* refactor: improve type
2021-10-18 16:24:52 +08:00
三咲智子
fb94222bb4
build!: simplify build & support native esm import (#3900)
* build: refactor build

* refactor: reorganize files

* refactor: refactor build

* build: improve perf

* fix: scripts

* build: add rollup-plugin-filesize

* chore: scripts ignore no-console

* build: disable tree-shaking

* build: improve code

* build: add sourcemap

* build: add banner

* refactor: remove annotation
2021-10-18 14:45:57 +08:00
三咲智子
3cf091f2d5
refactor(components): refactor image (#3770) 2021-10-06 20:17:18 +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
啝裳
2816cd3332
feat(components): image-viewer component support slot (#3345)
* feat(components): image-viewer component support slot

* feat(components): image-viewer component support named slot viewer

* feat(components): image-viewer component support named slot viewer
2021-09-11 19:47:47 +08:00
三咲智子
519630a813
style(components): [el-image] format code (#3238) 2021-09-05 01:25:30 +08:00
zycoJamie
c572d5e6e3
fix(components): lazy image is not work when it changes src (#3189) 2021-09-05 01:06:19 +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
Alan Wang
90f77308a9
fix: [image-viewer] two-finger zoom in and out (#3114)
Co-authored-by: jia <Fire_Mars_j@163.com>
2021-08-31 17:19:39 +08:00
btea
4e19718553
feat(components): [el-image-viewer] emit close event (#3129) 2021-08-30 18:01:44 +08:00
SongWuKong
d1b48949f5
fix(components): image no emit switch event (close #3132) (#3134) 2021-08-30 17:44:05 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00