三咲智子
b8c38a9fe5
chore: enhance eslint rules ( #6476 )
...
* chore: enhance eslint rules
* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
三咲智子
c72679e4e9
refactor(components)!: refactor form ( #5401 )
...
* refactor(components): refactor form
* refactor: resolve PR comments
* refactor(components): refactor isNested
* refactor: resolve PR comments
2022-03-06 22:20:56 +08:00
三咲智子
cb6300c739
refactor(components): [dialog] refactor ( #6300 )
...
* refactor(components): [dialog] refactor
- fix TS type.
- enhance prop type `beforeClose`
- move `token.ts` to `@element-plus/tokens`
* refactor: resolve review comments
* test: fix slots
2022-03-01 23:43:50 +08:00
三咲智子
aaf90d99d0
test: switch to vitest ( #5991 )
...
* test: use vitest
* test: add script and ci
* chore: improve tsconfig
* refactor: use-form-item
* fix: remove unused
* chore: improve scripts
* test: improve mock
* refactor: change coverage
2022-02-21 14:28:22 +08:00
三咲智子
ea812ae622
refactor(components): refactor button ( #5933 )
...
* refactor(components): refactor button
* refactor: rename
* test: apply jsx
* feat: expose
* test: fix
2022-02-12 18:37:16 +08:00
三咲智子
b712dd8466
refactor: fix buildProps ( #5936 )
2022-02-11 11:40:50 +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
三咲智子
f3e9e53f3d
fix(hooks): namespace.is
default state ( #5941 )
2022-02-11 09:09:21 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils ( #5699 )
2022-02-09 16:59:08 +08:00
三咲智子
b80e5c69e9
refactor(hooks): refactor popup manager to useZIndex ( #5701 )
2022-02-09 16:31:31 +08:00
bqy
14474efccb
fix(hooks): [use-namespace] cannot be used in nested hooks ( #5795 )
2022-02-09 00:35:29 +08:00
三咲智子
426a6a686c
feat: switch to lodash-unified ( #5734 )
...
* feat: switch to lodash-unified
* chore: move lodash mocks
2022-02-08 10:37:21 +08:00
jeremywu
dbb00ef4b6
fix(components): [el-popper] append to body compatability ( #5755 )
...
* fix(components): [el-popper] append to body compatability
- Add a new hook for deprecation warning
- Add deprecation warnings for previous used `append-to-body` API
- Add test for the API.
* Address PR comments
* Update documentations for deprecated
* Fix formatting issue
2022-02-04 14:59:58 +08:00
kooriookami
fb50b4ff8d
fix(components): [Dialog & MessageBox] support draggable ( #5369 )
...
* feat: add use-draggable
* feat: msgbox add draggable
* feat: update
* feat: update
* feat: update
* feat: update
* feat: update
* feat: update
2022-02-03 21:04:25 +08:00
三咲智子
df3be7c661
feat(hooks): [use-namespace] add bm ( #5475 )
2022-01-19 00:06:19 +08:00
三咲智子
75758d83b2
feat(hooks): [use-namespace] add is ( #5466 )
2022-01-18 21:04:56 +08:00
三咲智子
58c4040b45
fix(hooks): component size ( #5402 )
2022-01-17 17:20:26 +08:00
iamkun
9929c0fba4
feat: support custom namespace ( #5377 )
2022-01-15 18:12:48 +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
btea
15ffab1255
refactor(utils): remove isServer ( #5173 )
2022-01-06 12:00:57 +08:00
jeremywu
dd19cae2bc
refactor(components): popper composables ( #5035 )
...
* refactor(components): popper composables
- Refactor popper composables
* updates
* updates for tooltip
* Updates for popper. TODO: fix controlled tooltip animation
* Fix controlled mode popper animation issue
* Add new feature for customizing tooltip theme
* Fix popover and popconfirm error
* - Add Collection component for wrapping a collection of component
- Add FocusTrap component for trap focus for popups
- Add RovingFocus component for roving focus component type
- Adjust dropdown component based on these newly added components
- Add popper-trigger component for placing the trigger
- TODO: Finish current dropdown component, and all component's tests plus documents
* Refactor popper
* Complete organizing popper
* Almost finish dropdown
* Update popper tests
* update only-child test
* Finish focus trap component test
* Finish tooltip content test
* Finish tooltip trigger tests
* Finish tooltip tests
* finish tests for Collection and RovingFocusGroup
* Fix test cases for timeselect & select & popover
* Fix popover, popconfirm, menu bug and test cases
* Fix select-v2 test error caused by updating popper
* Fix date-picker test issue for updating popper
* fix test cases
* Fix eslint
* Rebase dev & fix tests
* Remove unused code
2022-01-04 09:15:15 +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
Herrington Darkholme
d03d8cc20a
fix(components): change size mini to small ( #4947 )
2021-12-26 15:08:39 +08:00
Herrington Darkholme
b431838d60
fix(core): fix unit testing warning ( #4948 )
2021-12-26 15:08:04 +08:00
三咲智子
6287c1f92d
refactor(utils): remove isServer ( #4792 )
2021-12-12 23:28:03 +08:00
云游君
4560adfdf8
refactor(style): adjust component size to large/default/small ( #4491 )
...
* refactor(style): adjust component size to large/default/small
* refactor(components): avatar size & use flex instead of block
* refactor(components): adjust check button size
* refactor(components): adjust tag size
* refactor(components): adjust size doc
* fix(components): datetime-picker demo style width
* refactor(components): color-picker size & block to flex
* refactor(components): adjust slider input size
* refactor(components): adjust radio input size for demo
* refactor(components): adjust select size & docs
* refactor(components): adjust form radio size & docs
* refactor(components): add windicss for docs
* refactor(components): adjust skeleton avatar size to css var
* refactor(components): simplify typography size demo
* refactor(components): adjust dropdown size & demo
* refactor(components): adjust descriptions size
* fix(components): datetime-picker showcase class pollute global button
* chore(ci): upgrade docs dependencies to fix ci
* fix(ci): add highlight because vitepress not export it
* fix(ci): disable line for no-console
* fix(ci): remove mini to fix test
* fix(style): code font size
* fix(style): button span flex style
* fix(style): button padding horizontal default 15px
* refactor(components): adjust tag padding size & demo
* refactor(components): adjust form line-height for input
* refactor(components): adjust dropdown menu size & button padding
* fix(style): picker separator block to flex center
* fix: dropdown button span items-center
* style: adjust input-with-icon & size demo & fix input vitepress load
* chore: upgrade dependencies
* chore: upgrade dependencies
* ci: fix website build
* ci: regenerate pnpm-lock.yaml
* ci: use dev pnpm-lock
* ci: update pnpm-lock.yaml
2021-12-12 17:54:21 +08:00
三咲智子
d14609954b
fix(build): circular dependency ( #4791 )
2021-12-12 13:39:54 +08:00
三咲智子
db1d9401fe
feat(components): [el-config-provider] add size ( #4730 )
2021-12-10 17:21:01 +08:00
Zapic
d2ab3844b6
fix(hooks): [lockscreen] body lock remove unexpected ( #4693 ) ( #4694 )
...
Co-authored-by: KawaiiZapic <kawaiizapic@zapic.moe>
2021-12-07 17:25:50 +08:00
三咲智子
b153aaa7a5
fix(hooks): return key name if not defined ( #4664 )
2021-12-04 23:40:06 +08:00
三咲智子
7647c9e685
fix(hooks): fix translate option ( #4619 )
2021-12-04 11:15:49 +08:00
C.Y.Kun
f1c9be0bbc
fix(hooks): rename ConfigProvdierContext
to ConfigProviderContext
( #4620 )
2021-12-01 22:26:57 +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
C.Y.Kun
0832a55f89
refactor(components): refactor button ( #4499 )
2021-11-23 00:10:54 +08:00
云游君
e68b6c05d7
refactor(style): rename to text-color bg-color ( #4468 )
...
* refactor(style): rename -font to -text-color & -background to -bg-color
* refactor(style): rename bg-color text-color
* refactor(style): rename 'color' to 'text-color'
2021-11-22 11:19:44 +08:00
msidolphin
75c6ea967a
refactor: [el-config-provider] change default autoInsertSpace to false ( #4330 )
2021-11-10 15:21:20 +08:00
Kevin
e9a110ed47
refactor(components): refactor radio
2021-11-06 03:48:19 +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
5a0ac482ce
feat(components): el-teleport ( #4186 )
2021-11-03 17:42:05 +08:00
btea
cb03f4d890
fix(hooks): add type remove ts error ( #4055 )
2021-10-28 04:44:27 +08:00
三咲智子
4e99d0b5ba
build!: simplify build & support esm import ( #4018 )
...
* build!: simplify build & support native esm import
* build: refactor build
* refactor: reorganize files
* refactor: refactor build
* build: improve perf
* fix: scripts
* build: add rollup-plugin-filesize
* chore: scripts ignore no-console
* build: disable tree-shaking
* build: improve code
* build: add sourcemap
* build: add banner
* refactor: remove annotation
* build!: improve esm exports (#3871 )
* build: improve esm import
* refactor: change mjs for esm version
* chore: improve exports map
* fix: add sideEffects
* refactor: improve alias
* build: upgrade dependencies
2021-10-25 17:07:48 +08:00
jeremywu
6006e910aa
refactor(components): ElInputNumber ( #3974 )
...
* refactor(components): ElInputNumber
- Rename index.vue -> input-number.vue
- Extract inputNumberProps and inputNumberEmits to input-number.ts
* Update input number docs
* Update input number docs
* Update input number docs
* Address comments
* Code perfection
* Make modelValue required field
* Fix linter
* Remove unnecessary code
* Fix linter
2021-10-22 23:28:03 +08:00
jeremywu
16f069ebbe
Revert "build!: simplify build & support native esm import ( #3900 )" ( #3945 )
...
* Revert "build!: simplify build & support native esm import (#3900 )"
This reverts commit fb94222bb4
.
* remove module
* Fix linter
* Add @element-plus/icons as dependency
* update pnpm lock file
* temporary lock element-plus at 1.1.0-beta.20
2021-10-20 09:42:32 +08:00
三咲智子
fb94222bb4
build!: simplify build & support native esm import ( #3900 )
...
* build: refactor build
* refactor: reorganize files
* refactor: refactor build
* build: improve perf
* fix: scripts
* build: add rollup-plugin-filesize
* chore: scripts ignore no-console
* build: disable tree-shaking
* build: improve code
* build: add sourcemap
* build: add banner
* refactor: remove annotation
2021-10-18 14:45:57 +08:00
三咲智子
3cf091f2d5
refactor(components): refactor image ( #3770 )
2021-10-06 20:17:18 +08:00
三咲智子
edb5726c2d
refactor(utils): refactor buildProps & replace buildProp ( #3775 )
2021-10-06 19:56:24 +08:00
三咲智子
ab8982379e
build: refactor each package build ( #3709 )
2021-09-28 20:28:47 +08:00
btea
ea31eeabed
chore(project): revise rm rf to rimraf ( #3680 )
2021-09-27 16:38:15 +08:00
三咲智子
7a9c6f38d7
build: parallel build ( #3416 )
2021-09-26 01:29:07 +08:00