云游君
3d1b3d4a58
refactor(theme-chalk): scss css var namespace ( #7344 )
...
* refactor(theme-chalk): scss css var namespace
* fix(theme-chalk): compile getCssVar
* fix(theme-chalk): more --el namespace replace & getCssVarWithDefault
* fix(theme-chalk): use cssVarBlockName & cssVar rewrite button css vars
* fix(theme-chalk): replace empty svg fill color with ns
* chore: use cssVarName for --el-color-white
* chore: fix namespace reactive
* chore: use defaultNamespace
2022-04-26 17:19:09 +08:00
Serendipity96
9b23b1c9ec
feat(components): [input] add input formatter ( #6876 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-23 22:48:21 +08:00
Delyan Haralanov
34f6f71042
test: enable clearMocks in vitest config ( #7263 )
2022-04-20 17:02:44 +08:00
三咲智子
1d13ebb05d
feat: drop jest ( #7248 )
...
* feat: drop jest
* test: remove ssr
* test: rename
* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0
test(components): switch all components to vitest ( #7205 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
三咲智子
b2bfb6f159
fix: vitest
2022-04-12 01:38:15 +08:00
Yuyao Nie
14b9b9f542
fix(components): [popper-container] recreate container when unmounted ( #7076 )
2022-04-10 14:08:12 +08:00
JeremyWuuuuu
993971e872
feat(components): [virtual-table] grid table ( #7081 )
...
- Add grid table props definitions
- Implemented TableGrid component
- Update Virtual Grid for rich typing
2022-04-10 14:05:12 +08:00
bqy_fe
b863db272e
feat(components): [tabs] add tab-change event ( #6978 )
2022-04-03 14:09:52 +08:00
JeremyWuuuuu
f576d5a57b
feat(components): [tooltip-v2] documentation ( #6870 )
...
- Add tooltip-v2 documentation
- Complete tooltip-v2 implementation
2022-03-29 15:12:10 +08:00
JeremyWuuuuu
0ff293b3e9
chore(hooks): [floating] fix eslint warnigns ( #6827 )
...
- Update importing order
2022-03-25 17:39:01 +08:00
JeremyWuuuuu
da992a97b2
feat(hooks): [floating] add use-floating ( #6822 )
...
* feat(hooks): [floating] add use-floating
- Implement floating-ui vue with composition API
- Add test for the hook.
* Update coordinate type
2022-03-25 15:43:54 +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
6aeb2d7aab
feat(components): [el-result] warn users using subTitle as slots ( #6651 )
...
* feat(components): [el-result] warn users using subTitle as slots
- Add deprecation warning for el-result sub-title slots
- Update documentation with a slotted sub title
* Fix useDeprecated typing issue
2022-03-15 19:50:50 +08:00
三咲智子
80d903771f
feat: extract eslint config to separate package ( #6495 )
2022-03-10 15:39:13 +08:00
三咲智子
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