云游君
5d0ee3ab34
fix: remove default size warn by set componetSizes ( #6908 )
...
* fix: remove default size warn by set componetSizes
* fix: default avatar size
2022-03-31 10:12:52 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports ( #6823 )
2022-03-25 15:35:56 +08:00
云游君
f74f4e94d2
refactor(theme-chalk): remove default size class & simplify button css ( #6782 )
...
* refactor(theme-chalk): [button] remove default size class & simplify css
* test: fix test caused by size remove default
* fix: adapt for form default & remove tag default button m 0
* fix: add uno.css & bem for tag
2022-03-24 19:42:09 +08:00
JeremyWuuuuu
daa62d6170
feat(components): [el-config-provider] add config items ( #6797 )
...
- Add `a11y` to global config
- Add `keyboardNavigation` to global config
- Enhance config provider injection test
2022-03-24 15:19:32 +08:00
JeremyWuuuuu
b051efd1b7
feat(components): [el-config-provider] experimental feature toggle ( #6794 )
...
- Add experimental feature toggle to config provider
- Add experimental feature toggle documentation
- Update test cases against feature toggle
2022-03-24 13:48:58 +08:00
三咲智子
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
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils ( #5699 )
2022-02-09 16:59:08 +08:00
iamkun
9929c0fba4
feat: support custom namespace ( #5377 )
2022-01-15 18:12:48 +08:00
btea
e3417babe2
test(components): [el-config-provider] use useFakeTimers ( #5228 )
...
* fix(components): modify config-provider sleep time
* test: use useFakeTimers
2022-01-09 20:45:01 -05:00
btea
70fa3e7f26
feat(components): [el-message] config-provider message max attr ( #5063 )
...
* feat(components): [el-message] config-provider message max attr
* chore: update test
* feat: update test and message-method
* chore: format config-provider.md
* test: add multiple config-provider
* test: config-provider nesting
2022-01-08 20:03:13 +08:00
三咲智子
81e6c377ba
fix(hooks): provide root locale ( #5218 )
...
* fix: provide root locale
* refactor(locale): refactor locale
* fix: tests
* revert: play
2022-01-08 19:36:13 +08:00
三咲智子
bd0a634069
refactor(utils)!: remove global config ( #5093 )
2022-01-01 00:43:08 -05:00
三咲智子
4335b01d6c
refactor(utils)!: refactor global config ( #4793 )
...
* refactor(utils)!: remove global config
* refactor(utils): named export PopupManager
* fix tests
2021-12-30 19:31:35 +08:00
三咲智子
db1d9401fe
feat(components): [el-config-provider] add size ( #4730 )
2021-12-10 17:21:01 +08:00
Alan Wang
54583bbec7
fix(components): [el-config-provider] autoInsertSpace false ( #4629 )
2021-12-02 20:00:56 +08:00
三咲智子
57dd10ad49
fix(utils): setTimeout & config-provider type ( #4598 )
...
* fix(utils): setTimeout type
* fix(components): export config-provider types
2021-12-01 15:58:53 +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
msidolphin
66043aa3b5
refactor(components): [el-config-provider] improve componomponent extendiability ( #4175 )
...
re #4146
added button configuration
added useGlobalConfig hook
2021-11-05 18:10:07 +08:00
jeremywu
19bc41f965
feat(hooks): extracting size injection for form items ( #3383 )
...
* feat(hooks): extracting size injection for form items
- Extract common code for form items
- Apply extracted code for el-button
* - Address import order
* Update packages/hooks/use-form-item/index.ts
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
* - Fix type annotation for fallbacks
* - Use MaybeRef to mark type of local fallbacks
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2021-09-13 23:14:48 +08:00
三咲智子
5be1f0d878
refactor(utils): refactor with-install ( #3355 )
2021-09-12 19:18:14 +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
b0f4fc5f23
refactor: update package path and bundle folder ( #3016 )
2021-08-24 13:36:48 +08:00