Commit Graph

867 Commits

Author SHA1 Message Date
jeremywu
c42f905c10
refactor: i18n implementation (#2670) 2021-07-26 00:24:30 +08:00
haoming
d55ca77137
fix(input): input maxlength calculate the correct length (#2654)
* fix(input): input maxlength calculate the correct length

* docs(input): Update maxlength comment

* fix(input): format code and remove upperLimit calculated attributes

* fix(input): props.maxlength is converted to number type

* docs(input): modify maxlength type
2021-07-25 22:48:47 +08:00
云游君
3181258403
refactor(border): migrate css var & simplify docs (#2663) 2021-07-25 16:27:07 +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
Jimmy
b609145f6a
style: remove bg-color of menu items at ':focus' state in vertical mode (#2659) 2021-07-25 15:13:21 +08:00
云游君
0a0db513e3
refactor(collapse): migrate css var (#2661) 2021-07-25 14:54:55 +08:00
云游君
6166d7ff21
refactor(color): migrate all color-text var & simplify color docs (#2656) 2021-07-25 00:01:34 +08:00
msidolphin
80a44d87a5
fix(select-v2): adjust the trigger conditions of focus and blur (#2650) 2021-07-24 23:51:53 +08:00
JeremyWuuuuu
48fd68bdf1 fix(locale): fix default translate method
- Fix the wrong logic of default translate method
2021-07-24 20:07:10 +08:00
内小子
2493048152
fix: ondemand style lost (#2648) 2021-07-24 20:06:02 +08:00
Mao NianYou
d6fecf9b32
fix(select): should not stop at invisible options by up and down (#2585)
* fix(select): should not stop at invisible options by up and down

this also fix another problem (#2562): about unselect user-created tag in ElSelect

fix #2563 #2562

* fix(select): checkDefaultFirstOption: exlucde disabled options

fix #2562 #2563

* test(select): add test for "default-first-option" (with navigation)

check default first option

re #2585
2021-07-24 11:41:23 +08:00
msidolphin
5b16f20725
fix: missing install & locale issue (#2647) 2021-07-24 00:47:20 +08:00
云游君
e3bf8ad3b3
refactor(empty): migrate css var (#2644) 2021-07-23 23:14:07 +08:00
云游君
741fd86f1d
refactor(descriptions): migrate css var (#2643) 2021-07-23 23:13:31 +08:00
云游君
0154b542e5
refactor(menu): migrate css var (#2642) 2021-07-23 23:13:08 +08:00
云游君
4ae485123e
refactor(dialog): migrate css var (#2641) 2021-07-23 23:12:45 +08:00
云游君
7e3b9df2da
refactor(transfer): migrate css var (#2639) 2021-07-23 23:11:41 +08:00
云游君
02f3c7d66d
refactor(carousel): migrate css var (#2638) 2021-07-23 23:11:00 +08:00
云游君
fc40a3bbfb
refactor(result): migrate css var (#2637) 2021-07-23 23:09:50 +08:00
jeremywu
2bba6d570f
fix(locale): Fix locale translation method (#2645)
- Fix defaultTranslation method that causes error
2021-07-23 23:02:16 +08:00
云游君
c4d1f547eb
refactor(link): migrate css var (#2622) 2021-07-23 17:06:53 +08:00
msidolphin
60c13b6f6b
test(select-v2): add some test cases & fix selectLabel/multiple-limit issue (#2626) 2021-07-23 17:06:01 +08:00
msidolphin
7aa732892d
style(select-v2): optimized the style (#2628) 2021-07-23 17:05:39 +08:00
jeremywuuuuu
4e5ef0d3a8 build(project): update bundle strategy
- Update the build script for generating *.d.ts files
- Update package.json module entry.
- Update CI pipeline node version
- Reorganized main bundle structure
- Update i18n functionalities
2021-07-23 16:46:53 +08:00
kooriookami
6ddd84d61a
perf(date-picker): shortcuts support function type (#2617)
re #2598
2021-07-22 17:49:52 +08:00
anguiao
82bd102995
fix(style): ensure that the loading icon is inline (#2550) 2021-07-22 11:21:28 +08:00
kooriookami
47bc9f7f83
perf(affix): expose update function (#2603)
re #2594
2021-07-22 08:30:17 +08:00
云游君
912cb45e11
refactor(avatar): migrate css var (#2601) 2021-07-21 22:51:41 +08:00
ZenQuan
6a7b9a4d8b
feat(autocomplete): optimize some const of autocomplete (#2593)
* feat(autocomplete): optimize some const of autocomplete

* feat(autocomplete): optimize some const of autocomplete
2021-07-21 22:47:51 +08:00
云游君
0bf673def1
refactor(tag): migrate css var (#2592) 2021-07-21 20:34:49 +08:00
云游君
d05e5a6b4a
refactor(color): migrate color css var & simplify color box docs (#2589)
* refactor(color): migrate color css var & simplify color box docs

* Update unit-test.yml

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-07-20 22:58:06 +08:00
hangzou
65924dd40c
feat: new hook: useCssVar for inject custom css vars (#2547)
* feat: new hook: `usecssvars` for inject custom css vars

* perf: optimize usecssvar logic

* test: test css var
2021-07-20 15:26:17 +08:00
云游君
57b23f5544
refactor(table+calendar): migrate css var (#2588)
* refactor(table): migrate css var

* refactor(calendar): migrate css var
2021-07-20 15:16:03 +08:00
云游君
c9f03eaee4
refactor(pagination): migrate css var (#2587) 2021-07-20 13:18:24 +08:00
云游君
43b02d2f73
refactor(skeleton): migrate css var (#2586) 2021-07-20 13:16:54 +08:00
云游君
c2661e9363
refactor(switch): migrate css var (#2584)
* refactor(switch): migrate css var

* refactor(switch): remove switch var in common
2021-07-20 12:53:09 +08:00
云游君
2663d7e219
refactor(button): migrate css var (#2582) 2021-07-20 12:51:52 +08:00
kooriookami
a0e5776ea3
fix(descriptions): fix the last td colspan (#2567)
re #2559
2021-07-19 20:15:24 +08:00
云游君
4ffb2d164c
refactor(cascader): migrate css var (#2578) 2021-07-19 20:11:27 +08:00
云游君
e430bd3d49
refactor(message-box): migrate css var (#2568) 2021-07-19 19:38:44 +08:00
云游君
9744f089f0
refactor(color): add error var (#2565) 2021-07-19 17:28:52 +08:00
inottn
c49b84e81f
fix(time-select): fix editable prop and add disabled prop (#1899)
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2021-07-19 15:42:18 +08:00
云游君
a08a6c5670
refactor(message): migrate css var (#2560) 2021-07-19 14:33:22 +08:00
jeremywu
425567ec3b
refactor(hooks): refactor transition (#2556)
* refactor(hooks): refactor transition

- Introduce new hook named useTransition
- Update transition.scss with css vars

* - Align variable name.

* - Update transitions to cssvars

* - Address PR comments
2021-07-18 20:08:58 +08:00
云游君
deac9dd213
refactor(notification): migrate css var (#2552) 2021-07-16 14:24:25 +08:00
msidolphin
c8244b381b
feat(cascader): supports popper-append-to-body feature (#2544)
supports popper-append-to-body feature and improved documentation for cascader and select

fix #2500
2021-07-16 09:10:55 +08:00
云游君
47c40708b8
refactor(alert): replace all css var (#2545) 2021-07-16 09:00:30 +08:00
云游君
6e46c23000
refactor(color): css var for border-color & simplify border-color docs (#2540) 2021-07-15 21:06:30 +08:00
Square Coin
d17d6a5b49
feat(menu): improve handleItemClick (#2514)
* feat(menu): improve handleItemClick function

* chore(menu): add description of handleItemClick

* feat(menu): better name

* Address comments

* Update doc for all languages

Co-authored-by: liik <linyunqianpp@126.com>
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-07-15 15:18:02 +08:00
jeremywu
c28d7b3738
feat(hooks): redesign popper apis (#2529)
* feat(hooks): redesign popper apis

- Redesign use-popper APIs to make it more adaptable.

* - Reorganize the popper APIs
2021-07-15 14:08:13 +08:00