Commit Graph

99 Commits

Author SHA1 Message Date
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
justwiner
2985a71751
feat(table): table (#407)
Co-authored-by: winerlu <winerlu@tencent.com>
Co-authored-by: zazzaz <izazzaz@hotmail.com>
2020-10-20 10:31:47 +08:00
余林夕
c2951875b3
feat(message-box): migrate MessageBox (#300)
* feat(message-box): migrate MessageBox

* refactor(message-box): import sleep from test-utils

* refactor(message-box): optimize props

* refactor(message-box): optimize message-box

* refactor(message-box): optimize message-box

* refactor(message-box): optimize message-box

* refactor(message-box): remove `removeClass` & `addClass`

* refactor(message-box): replace 'HTMLElement' with 'HTMLButtonElement'

* refactor(message-box): review optimize

* refactor(message-box): __test__ optimize

* refactor(message-box): replace addEvent with on and off

* refactor(message-box): remove doc

* feat(message-box): jest add @babel/plugin-proposal-class-properties

Co-authored-by: YuLinXi <yumengyuan@klicen.com>
2020-10-19 13:50:22 +08:00
jeremywu
73fb527f49
feat/Popover (#339)
* init popover

* feat(popover): component almost done. next `directive`

* modifications

* code finished

* partial complete testing code

* feat(popover): popover component

* fix linter complains
2020-10-19 13:44:50 +08:00
zouhang
a14afae7c9 fix: fix some comp type erro & add rollup build 2020-10-09 20:24:53 +08:00
zazzaz
355a778a2c
Feat/datepicker && datetimepicker (#326)
* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* Feat/form (#342)

* feat(form): add form component

fix #125

* test(form): add test code

* docs(form): add form doc

* feat: add uitls merge

* fix(form): fix style

* test(form): add form test code

* refactor(form): review changes

* test(form): use idiomatic vue-test-util methods

* feat(core): bump vue version

* feat(form): rewrite label wrap

* feat(form): fix tons of bugs

* fix(form): reuse ts extension

* refactor(form): move out label width computation

* fix(form): fix tons of bugs

* fix(form): test

Co-authored-by: 286506460 <286506460@qq.com>

* Feat/select (#381)

* fix: resove conflict

* feat: select basic usage

* feat: select basic usage

* feat: select feature create item

* fix: fix option data insert

* refactor: select

* fix: fix parse error

* feat: select test

* fix: select add popper

* fix: update select option

* fix: add select dependency

* fix: add index.ts file

* fix(select): clean up

* fix(select): some refactor

* fix(select): some update

* fix(select): fix all test cases

Co-authored-by: helen <yinhelen.hlj@qq.com>

Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
Co-authored-by: 286506460 <286506460@qq.com>
Co-authored-by: helen <yinhelen.hlj@qq.com>
2020-10-03 20:13:19 +08:00