Commit Graph

13 Commits

Author SHA1 Message Date
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
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
jeremywu
2e097605dc
feat(hooks): export popperjs common attributes (#2520)
- Export popperjs/core common attributes for reusing
2021-07-14 14:59:39 +08:00
jeremywu
6b4c04fd0a
feat(hooks): add use-timeout hook (#2439)
* feat(hooks): add use-timeout hook

- Add use timeout hook for register timeout callbacks
- Add test cases against add-timeout

* resolve linter issue
2021-07-06 07:49:49 +08:00
JeremyWuuuuu
5f8b25bc31 feat(hooks): add use-model-toggle hook
- Add use model hook to the hooks for toggleable model common logic
2021-07-05 08:50:36 +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
jeremywu
30f1947c47
fix(overlay): Fix overlay event triggering issue (#1235) 2021-01-14 17:01:37 +08:00
porcelainHeart
8b2febe2f6
feat: new compontent Skeleton (#953) 2020-12-21 20:07:48 +08:00
bastarder
e4bb9daf4f
fix(select): Fix select.focus is undefined bug (#862)
* fix(select): Fix select.focus is undefined bug

* fix(select): Add hook test

Co-authored-by: bastarder <jie.qian@blockheaders.com>
2020-12-07 11:29:08 +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
Simona
e1add47603
feat(hooks): add useAttrs hook (#317)
* feat(hooks): add useAttrs hook

* feat(hooks): undo binding class and style automatically

* test: remove unused import statement
2020-09-19 20:44:07 +08:00
jeremywu
ef92b6c11c
### feat: add dialog (#197)
* Add overlay component; Dialog component almost done

* feat(dialog): add use-lockscreen

* feat(dialog): coding completed awaiting tests

* feat(dialog): finish writing test cases

* fix test failures

* Address PR comments

* fallback some changes
2020-09-09 21:18:08 +08:00
JeremyWuuuuu
af45dbd070 feat(tooltip): tooltip component 2020-08-25 22:51:26 +08:00