Commit Graph

7 Commits

Author SHA1 Message Date
三咲智子
6503e55277
refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +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
btea
cb03f4d890
fix(hooks): add type remove ts error (#4055) 2021-10-28 04:44:27 +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
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
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