Commit Graph

15 Commits

Author SHA1 Message Date
三咲智子
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