jeremywu
16f069ebbe
Revert "build!: simplify build & support native esm import ( #3900 )" ( #3945 )
...
* Revert "build!: simplify build & support native esm import (#3900 )"
This reverts commit fb94222bb4
.
* remove module
* Fix linter
* Add @element-plus/icons as dependency
* update pnpm lock file
* temporary lock element-plus at 1.1.0-beta.20
2021-10-20 09:42:32 +08:00
btea
208be236cd
fix(utils): svg classname deal ( #3926 )
2021-10-19 13:26:30 +08:00
btea
3c98dd627f
refactor(utils): addClass and removeClass ( #3858 )
2021-10-18 16:33:34 +08:00
波比小金刚
fdfe38deb0
refactor(utils): use built-in throwError function ( #3916 )
2021-10-18 16:30:45 +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
三咲智子
ffe6d251c6
refactor(components): refactor input ( #3805 )
...
* refactor(input): rename
* refactor(input): with-install
* refactor(input): kebab-case
* refactor(components): refactor input
* fix: fix test import
* refactor(components): [el-input] refactor export named
* refactor: improve types
* refactor: improve types
2021-10-18 16:21:30 +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
三咲智子
cf112c5866
refactor(utils): improve props validator warning ( #3847 )
...
* refactor(utils): improve props validator warning
* Update props.ts
* refactor: improve buildProps
* fix: test
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 18:24:49 +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
三咲智子
4e458fe586
refactor(utils): improve defineProps ( #3811 )
...
* refactor(utils): improve defineProps
* refactor(utils): improve defineProps
2021-10-08 14:58:48 +08:00
三咲智子
3cf091f2d5
refactor(components): refactor image ( #3770 )
2021-10-06 20:17:18 +08:00
三咲智子
edb5726c2d
refactor(utils): refactor buildProps & replace buildProp ( #3775 )
2021-10-06 19:56:24 +08:00
三咲智子
3b9e63d587
refactor(components): refactor space ( #3757 )
2021-10-06 19:34:32 +08:00
btea
fd06ac17c1
refactor(utils): refactor aria color ( #3742 )
2021-09-30 15:07:44 +08:00
三咲智子
bf8697cc0e
feat(utils): add buildProps ( #3718 )
2021-09-29 09:52:58 +08:00
三咲智子
ab8982379e
build: refactor each package build ( #3709 )
2021-09-28 20:28:47 +08:00
btea
ea31eeabed
chore(project): revise rm rf to rimraf ( #3680 )
2021-09-27 16:38:15 +08:00
云游君
51cc956589
feat(utils): extract color to utils & fix submenu color ( #3638 )
2021-09-26 12:01:20 +08:00
三咲智子
7a9c6f38d7
build: parallel build ( #3416 )
2021-09-26 01:29:07 +08:00
jeremywu
3138dea797
fix(components): sub components no install issue ( #3615 )
...
- Add noop install for all sub components for supress the warning
2021-09-24 19:11:56 +08:00
三咲智子
5f5248020c
chore(project): adjust dependency ( #3595 )
2021-09-24 09:28:21 +08:00
三咲智子
6f5ef560ea
refactor: improve buildProp ( #3592 )
2021-09-23 20:06:07 +08:00
三咲智子
f9e192535f
refactor: replace yarn with pnpm ( #3571 )
...
* refactor: replace yarn with pnpm
* chore: install pnpm
* chore: disable cache
* ignore pnpm-lock.yaml
* resolve deps
* setup pnpm
2021-09-23 08:12:37 +08:00
三咲智子
46d69bd37f
refactor: improve buildProp ( #3558 )
...
* refactor: improve buildProp
* fix: fix key
* fix: improve validator
2021-09-22 20:27:23 +08:00
三咲智子
2431b589af
refactor(components): refactor notification ( #3495 )
...
* refactor(components): refactor notification
* chore: fix type
* refactor(components): improve vnode
* Update notification.vue
2021-09-22 01:19:35 +08:00
三咲智子
6256189100
refactor(components): refactor pagination ( #3526 )
...
* refactor(components): refactor pagination
* fix: tests
* fix: emits
* refactor: improve props
2021-09-22 01:19:04 +08:00
三咲智子
d71c87344a
refactor: fix buildProp ( #3529 )
2021-09-21 17:19:35 +08:00
云游君
ac30cd0d6e
chore: add vscode config & upgrade typescript/sass/vite ( #3502 )
...
* chore: add vscode config & upgrade typescript/sass/vite
* fix: format scss by prettier
2021-09-19 19:34:25 +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
三咲智子
1615b9ee67
feat(dev): improve typings ( #3457 )
...
* refactor: improve buildProp
* feat(dev): add global components type for Volar
2021-09-17 15:07:32 +08:00
三咲智子
c86c2b0fe9
style: eslint enable prefer-template ( #3414 )
...
* style: eslint enable prefer-template
* chore: apply eslint rules
2021-09-17 09:18:24 +08:00
btea
9d142ae129
fix(utils): add type remove the ts error ( #3406 )
...
* fix(utils): add type remove the ts error
* fix: optional chaining operator replace non-nullish assertion
* chore: try again test
2021-09-15 08:30:30 +08:00
三咲智子
f538abae77
build: no strict when build ( #3373 )
2021-09-13 13:14:39 +08:00
三咲智子
7a4bd0f236
refactor(components): refactor affix ( #3368 )
2021-09-13 12:02:18 +08:00
jectychen
4d3a499fa6
feat(utils): getPropByPath function adjust ( #1276 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2021-09-13 03:14:47 +08:00
三咲智子
0327d2d0b2
refactor(components): refactor button ( #3341 )
...
* feat(utils): add buildProp
* chore: disable eslint rule
* chore: typescript use strict
* refactor(components): refactor button
* feat: add comment for buildProp
2021-09-12 19:38:48 +08:00
三咲智子
5be1f0d878
refactor(utils): refactor with-install ( #3355 )
2021-09-12 19:18:14 +08:00
btea
72774e95d1
refactor(utils): refactor menu-bar ( #3343 )
2021-09-12 17:46:55 +08:00
三咲智子
200effa261
refactor(utils): drop ie support ( #3304 )
...
* refactor(utils): drop ie support
* fix(utils): remove unused
2021-09-10 15:00:39 +08:00
三咲智子
b8869f8b9d
refactor(components): refactor check-tag ( #3311 )
2021-09-10 10:04:09 +08:00
三咲智子
2f23940152
refactor(utils): refactor throwError
( #3301 )
...
* refactor(utils): refactor error
* refactor(utils): remove default export
2021-09-10 10:01:17 +08:00
Aex
03f02b5554
refactor(utils): improve debug warn ( #3302 )
2021-09-09 11:49:48 +08:00
Aex
ac7c226196
chore(project): upgrade dependencies to latest minor ( #3242 )
...
* chore(project): bump @babel/cli from 7.12.1 to 7.15.4
* chore(project): bump @babel/core from 7.11.6 to 7.15.5
* chore(project): bump @babel/plugin-proposal-class-properties to 7.14.5
* chore(project): bump @babel/plugin-transform-runtime to 7.15.0
* chore(project): bump @babel/preset-env from 7.11.5 to 7.15.4
* chore(project): bump @babel/preset-typescript from 7.10.4 to 7.15.0
* chore(project): bump babel-loader from 8.1.0 to 8.2.2
* chore(project): bump babel-plugin-module-resolver from 4.0.0 to 4.1.0
* chore(project): bump @popperjs/core from 2.4.4 to 2.10.1
* chore(project): update babel.config.js
* chore(project): update jest.config.js
* chore(project): bump @typescript-eslint/eslint-plugin to 4.30.0
* chore(project): bump @typescript-eslint/parser from 4.29.3 to 4.30.0
* chore(project): bump algoliasearch from 4.4.0 to 4.10.5
* chore(project): bump transliteration from 2.1.11 to 2.2.0
* chore(project): bump typescript from 4.3.5 to 4.4.2
* chore(project): bump esbuild from 0.12.5 to 0.12.25
* chore(project): bump file-loader from 6.1.0 to 6.2.0
* chore(project): bump rollup from 2.28.2 to 2.56.3
* chore(project): bump rollup-plugin-esbuild from 4.2.3 to 4.5.0
* chore(project): bump sass from 1.37.0 to 1.39.0
* chore(project): move sass & typescript to devDependencies
2021-09-05 19:57:35 +08:00
Aex
7fc2d6bc7d
chore(project): upgrade dependencies to latest patch ( #3241 )
...
bump lodash from 4.17.20 to 4.17.21
bump url-loader from 4.1.0 to 4.1.1
bump chalk from 4.1.0 to 4.1.2
bump cross-env from 7.0.2 to 7.0.3
bump components-helper from 1.0.2 to 1.0.4
bump @vue/babel-plugin-jsx from 1.0.0 to 1.0.7
bump @vue/compiler-sfc from 3.2.6 to 3.2.8
bump @vue/component-compiler-utils 3.2.0 from to 3.2.2
2021-09-05 16:27:17 +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
神楽坂みずき
8b801cfd8a
fix(utils): make width valid with calc
( #3181 )
...
fix #3032
2021-09-02 09:45:15 +08:00
Aex
017eb705d3
fix(utils): improve element.addEventListener ( #3173 )
2021-09-01 17:38:54 +08:00
jeremywu
12006ecdb7
chore(build): remove unused package.json scripts ( #3150 )
...
* chore(build): remove unused package.json scripts
- Remove unused scripts
- Revert changes made for removing ts-node
- Fix button.var error
* Update dropdown.vue
2021-08-31 17:57:35 +08:00
Sanxiaozhizi
6cc16bbd06
refactor: enhance type definition ( #3062 )
...
* chore: add vue-tsc for type check
* refactor(components): respect Vue's own style type
* refactor(components): improve props type
* chore(build): improve types
* fix(components): remove unnecessary props
* perf(components): use shallowRef
* fix(components): add missing property type for table
* refactor(components): improve time-picker types
* refactor(components): extract import type
* refactor(components): improve popper types
* refactor(components): upload list types
* fix(docs): fix type
* better type
* fix: remove index
2021-08-31 09:40:13 +08:00
Sanxiaozhizi
e9e56d5938
chore: upgrade & improve eslint rule ( #3105 )
...
* chore: remove unused ts-node
* chore: upgrade lodash
* chore: upgrade eslint
* perf: remove side effects in computed
* refactor: follow eslint rules
* chore: remove vue-template-compiler
* style: enhance eslint format rule
* style: format code
2021-08-27 17:46:06 +08:00
SongWuKong
7b79aae8ff
fix(input): autosize type problem ( #3008 ) ( #3012 )
...
* fix(input): autosize type problem (#3008 )
* fix(input/card): ( autosize/bodyStyle )type problem (#3008 )
* fix(input/card): (autosize/bodyStyle)type problem (#3008 )
* fix(components): input/card (autosize/bodyStyle) type problem (#3008 )
* fix(components): input/card (autosize/bodyStyle) type problem (#3008 )
2021-08-26 17:00:18 +08:00
Haoqun Jiang
5d9037a8b5
fix: stop pinning vue peer dependency version ( #3051 )
...
* fix: stop pinning vue peer dependency version
It should be safe to trust `vue` to follow semver.
Pinning a peer dependency version is a bad idea because any change in
peer dependency requirement should be considered a breaking change in
theory.
On the other hand, `@vue/compiler-sfc` has a strict peer dependency
version requirement.
So pinning the `vue` version is likely to causing issues like
https://github.com/vitejs/vite/issues/4573 in the future.
* chore: update lockfile
2021-08-25 17:34:57 +08:00
jeremywu
ef94ac1a70
fix(build): upgrade vue to 3.2.x ( #3031 )
...
* chore(build): upgrade vue to 3.2.x
- Update Vue related dependencies version
* update vue version
2021-08-25 00:18:06 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder ( #3016 )
2021-08-24 13:36:48 +08:00
jeremywu
7c97bc5283
fix(project): node is not exporting issue ( #2827 )
...
- Fix issue that caused ts definition file not generating
2021-08-04 18:28:08 +08:00
Daniel Jost
f3784cfb62
[types.ts] Fixed Nullable type for RefElement ( #2730 )
...
* Fixed Nullable type for RefElement
* Changed undefined to null
2021-07-28 10:16:41 +08:00
jeremywu
c8d65bf43d
feat(locale): locale-provider ( #2662 )
...
- Add a component for providing configs
- Add `use-locale` hooks into hooks for composable usage
- Add `use-locale` for `config-provider` to allow user to provide locale config via `react-like` API
- Add test cases against these new features
2021-07-25 15:26:00 +08:00
JeremyWuuuuu
a7a8f29a19
refactor(popper): use-popper-hook for popper
...
- Add new use popper hook into the codebase for replacing the current `use-popper`
2021-07-13 17:49:00 +08:00
yanzhuang
4e9ddcdb53
Utils: fix isScroll ( #2433 )
2021-07-05 09:16:00 +08:00
jeremywu
913aaafabb
feat(hooks): add use-teleport hook ( #2421 )
...
* feat(hooks) add use-teleport hook
- Add teleport hook for teleported components
- Add teleport hooks hepler methods
- Add coresponding testing cases
* - add use teleport to the exporting entry
2021-07-03 19:04:03 +08:00
kooriookami
f2e3dcb68e
feat(descriptions): add new feature for customized style ( #2358 )
...
* feat(descriptions): add new feature for customized style
add props: width, min-width, align, label-align, class-name, label-class-name
re #1976 #2353
* feat: update docs
* feat: update docs
* feat: update
* feat: separate type
2021-07-03 15:01:55 +08:00
Simona
e93f6f6984
style: add no-multi-spaces rule ( #2345 )
...
* style: add no-multi-spaces rule
* style: remove extra spaces
2021-06-25 16:25:54 +08:00
Simona
5c4a3cb27b
fix(cascader-panel): should not re-init when props's value not change ( #2344 )
...
* fix(cascader-panel): should not re-init when props's value not change
fix #2317 #1871
* style: extra space
2021-06-25 16:08:00 +08:00
jeremywu
e9ea4b4ee2
Fix/revert changes for fixing issue ( #2313 )
...
* Revert "fix(project): fix beta 49 build issue (#2310 )"
This reverts commit 7d39b37f00
.
* Revert "feat(hooks): feat: Encapsulate function for rendering teleport element"
This reverts commit 74ec002d23
.
* Revert "refactor(popper): refactor extract common props for props (#2300 )"
This reverts commit 45982cff8a
.
Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
2021-06-23 21:08:31 +08:00
jeremywuuuuu
74ec002d23
feat(hooks): feat: Encapsulate function for rendering teleport element
...
- Add new function for rendering teleport element.
2021-06-23 16:41:13 +08:00
jeremywu
8206e34a66
fix(project): fix/upgrade-to-vue-3-1-1-and-with-bug-fix ( #2220 )
...
- Upgrade Vue to 3.1.1 and fix the bug alone with the upgrade
2021-06-11 18:20:49 +08:00
jeremywu
a99232f582
feat(select-v2): feat/integrate-virtual-list-with-select ( #1906 )
2021-06-08 14:12:16 +08:00
Enoch Qin
79876b9733
refactor(date-picker): attribute 'type' add ts declare ( #1979 )
...
* refactor(date-picker): attribute 'type' add ts declare
* refactor(date-picker): add isValidDatePicktype utils
* style: date-picker code fix
* Update date-picker.ts
Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-05-21 15:30:12 +08:00
justwiner
6e23b46289
refactor(table): refactored the type definition of table ( #1997 )
...
Co-authored-by: winerlu <winerlu@tencent.com>
2021-05-13 17:55:04 +08:00
jeremywu
05c17b9b52
fix(time-picker): fix/date-time-picker-positioning-issue ( #1980 )
...
* fix(time-picker): fix/date-time-picker-positioning-issue
- Make time-picker accepting popper-options injection
* update the providing strategy
2021-05-10 22:52:23 +08:00
0song
996c405b7f
fix: fix utils ( #1792 )
2021-04-09 13:45:21 +08:00
kooriookami
a17088d5eb
fix(slider): fix input event and style ( #1786 )
...
* fix(slider): fix input event and style
fix #1781
* fix: update
* fix: fix indent
2021-04-09 10:40:50 +08:00
jeremywu
06731d8e70
fix(project): fix/1778-import-on-demand-not-working ( #1788 )
...
* fix(project): fix/1778-import-on-demand-not-working
- Fix the issue that when building utils the functions are inlined
* - remove unnecessary variable
2021-04-09 10:00:21 +08:00
inottn
7380b8131c
fix(utils): fix isIE logic ( #1757 )
2021-04-06 11:27:30 +08:00
jeremywu
ac0612965f
build(project): project/bumping-vue-version ( #1702 )
...
* build(project): project/bumping-vue-version
- Bumping vue to 3.0.9
* remove unnecessary dependency
* restore @vue/compiler-sfc
2021-03-28 12:46:58 +08:00
qiang
272b8c76c8
fix: some components miss install type ( #1547 )
...
* fix: some components miss install type
* fix: some components miss install type
2021-03-09 21:24:22 +08:00
Ryan2128
c550bcfd27
fix(popper): fix popper error cause by vue version update ( #1556 )
...
* chore: update vue version
* fix(infinite-scroll): fix test case error
* fix(popper): fix popper error cause by vue version update
2021-03-03 11:43:31 +08:00
kooriookami
540a02bea5
feat(other): add addUnit util ( #1382 )
2021-01-28 22:10:45 +08:00
Ryan2128
91b8e5d47b
improvement(dialog): make dialog's width can accept number type ( #1373 )
2021-01-27 23:18:22 +08:00
jeremywu
5e031237e3
feat(project): Update with functionality to compat with vue-i18n ( #1306 )
2021-01-19 23:49:07 +08:00
jeremywu
30f1947c47
fix(overlay): Fix overlay event triggering issue ( #1235 )
2021-01-14 17:01:37 +08:00
jeremywu
a58f0fab90
chore(project): chore/bumping-vue-version ( #1159 )
...
* chore(project): chore/bumping-vue-version
- Upgrade vue to 3.0.5
* chore(project): - revision dependencies
2020-12-31 11:11:45 +08:00
jeremywu
70c31d0bec
build(build): buid/add-locale-theme-in-es-build ( #1132 )
...
- Now lib provides cjs format exports and es provides esm format
2020-12-27 18:05:32 +08:00
XiongAmao
c9c9e0d494
fix: app.use(comp.vue) type is not compatible ( #1067 )
2020-12-23 14:07:15 +08:00
jeremywu
e97b9c972a
feat(space): feat/space ( #1002 )
...
* feat(space): feat/space
- Init commit for space component
* complete code & test & partial demo
* feat(space): feat/space
- Finish documentation for 中文 and English.
* feat(space): feat/space
- Replace flatMap to reduce.
2020-12-18 10:30:26 +08:00
bastarder
3832028775
fix(form-item): Fix form-item props undefined bug ( #888 )
...
Co-authored-by: bastarder <jie.qian@blockheaders.com>
2020-12-08 21:04:04 +08:00
jeremywu
2280dd5c5e
fix(project): fix/exporting-fix-for-volar ( #849 )
...
- Using `defineComponent` to wrap component up for Volar support, this should close #841
- Also made changes for some typing
- Removed `merge.ts` since `Object.assign` are now supported natively
2020-12-06 23:52:47 +08:00
jeremywu
de0696b4f6
core/bumping-dependency-vue-version ( #729 )
...
* bumping version
* build(core): bumping vue version
- Bumping up vue version from ^3.0.0 to ^3.0.3 due to the change of `emitOptions`
* Remove transition mock/Add before-enter and before-leave hook emitter for popper
2020-12-01 10:28:42 +08:00
jeremywu
79ce9ae5a2
fix(message): message covered by dialog ( #701 )
...
- Fix the bug that cause poppup-manager unable to use zIndex from global config
2020-11-26 19:56:10 +08:00
JeremyWuuuuu
62d0e8def9
fix(cascader): fix cascader initial binding not working
2020-11-24 10:48:10 +08:00
Square Coin
da81648df7
feat: add nav menu ( #572 )
2020-11-12 14:43:55 +08:00
jeremywu
f3d24d6109
fix(popper): fix popper related style ( #562 )
...
* fix(popper): fix popper related style
* fix(popper): restore `onMount` hook, rewrite `Teleport` usage
* fix(popper): fix failed tests due to change
* fix(popper): - Fix popper initialiation method
* fix(popper): - Replace unref with internal defined unwrap function
2020-11-10 14:55:03 +08:00
Simona
c5fc8b4e9a
build: optimize ( #560 )
...
* build: replace ts-loader with @babel/preset-typescript
2020-11-10 14:24:09 +08:00
hangzou
bb85d50cb4
feat(build): add build:locale & build:utils ( #538 )
2020-11-04 11:15:35 +08:00
Simona
4e8ea7e4c1
feat: unify form event dispatch and global config ( #527 )
2020-11-02 11:05:08 +08:00
JeremyWuuuuu
2163969059
refactor(radio): refactor radio components
2020-10-31 16:17:39 +08:00
hangzou
c408492b2b
build: build esm bundle & esm components ( #518 )
2020-10-30 23:26:57 +08:00
Simona
52ea214896
feat(cascader): refactor done ( #435 )
2020-10-30 23:26:33 +08:00
hxp971130
c864b7d53e
fix(utils): isServer
judgment error ( #441 )
2020-10-20 13:50:29 +08:00
hangzou
e8c162ea72
fix: fix rollup module ( #434 )
...
* fix(build): fix some export & import path
* fix(build): build utils
* fix: fix error import
* fix(build): fix import error
* fix(build): remove useless dependent
* fix(build): fix build command error
2020-10-20 11:45:44 +08:00