Commit Graph

2010 Commits

Author SHA1 Message Date
joson
f8eee1e668
style(components): [upload] dragger unlimited width (#7330)
* style(components): [upload] dragger unlimited width

* style(components): [upload] only modify the style when dragged

* style(components): [upload] set variables for dragger padding

* style(components): [upload] use getCssVar

Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-04-28 00:06:31 +08:00
opengraphica
16989d8187
feat(components): [slider] aria keyboard controls and attrs (#7389)
* feat(components): [slider] aria keyboard controls and attrs

fix #7350

* feat(components): [slider] fix lint error in slider types

* feat(components): [slider] change start value for home/end unit test

* feat(components): prevent scrolling on touch screen for runway

* feat(components): [slider] type-o in locale prop

* fix(components): [slider] PR comments r1

* fix(components): [slider] linting errors
2022-04-27 21:38:47 +08:00
JeremyWuuuuu
dc98974db9
docs(components): [virtual-table] filtering (#7401)
- Add example for adding filter.
- Export header cell slot renderer interface.
2022-04-27 15:41:22 +08:00
Xc
28e87550e9
fix(components): [autocomplete] fetch-suggestions support AsyncFunction (#7315)
* fix: promise fetch bug

* fix: fetchSuggestions is AsyncFunction

* refactor: improve promise

* fix: del unuse

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-27 02:14:45 +08:00
JeremyWuuuuu
1037eb75b4
docs(components): [virtual-table] grouping header (#7397) 2022-04-26 19:21:12 +08:00
云游君
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
三咲智子
c75b20fa64
refactor(components): [autocomplete] improve typings (#7381)
* refactor(components): [autocomplete] improve typings

* fix: rename
2022-04-26 12:54:46 +08:00
joson
76297424cd
fix(components): [el-select-v2] clear created options (#7305) 2022-04-26 09:13:56 +08:00
JeremyWuuuuu
3f394971dc
fix(components): [col] component typing issue (#7376)
- Add `push` and `pull` to `ColSizeObject`
2022-04-25 23:22:19 +08:00
TANGENNT
9b399385e0
fix(directives): use standard wheel event with passive option (#7256)
Both DOMMouseScroll and mousewheel event are non-standard now. And "[Violation]" warning will be
printed in console without setting `passive: true`.

fix #7016 #2016
2022-04-25 23:19:59 +08:00
Xc
6f8d8326c3
fix: color-picker v-model trigger active-change (#7260)
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-25 22:59:49 +08:00
Zhongxiang Wang
7affd9a3fd
fix(components): [input] fix prepend/append not fill height (#7274) 2022-04-25 22:30:20 +08:00
Xc
9ce92fb0a2
fix: reasonable remaining (#7353) (#7364)
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-25 20:20:44 +08:00
Zhongxiang Wang
0891d46d18
fix(components): [date-picker] fix input inner box sizing (#7373) 2022-04-25 20:13:07 +08:00
JeremyWuuuuu
915e1ffe26
docs(components): [virtual-table] custom cell & row class (#7370)
- Add example for customizing cell
- Add example for customize row class
2022-04-25 17:53:49 +08:00
Xc
335569e8a7
feat(components)[image] imageviewer add close-on-press-escape(#7154) (#7182)
* feat: imageviewer add close-on-press-escape(#7154)

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-25 13:34:40 +08:00
joson
71d61bad5b
fix(components): [input-number] suffix icon position (#7358)
* fix(components): [input-number] suffix icon position

* fix(components): [input-number] input-number remove display block

Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-04-25 13:07:00 +08:00
JeremyWuuuuu
79d45df09c
chore(components): [virtual-table] code reorg (#7356)
- Reorganize code for components under vtable/components
2022-04-24 15:42:25 +08:00
JeremyWuuuuu
77c7225a9d
docs(components): [virtual-table] basic usage (#7352)
- Add entry for table-v2
- Add basic usage for table-v2
2022-04-24 13:44:40 +08:00
云游君
c022b6cb94
docs: fix some spacing styles (#7343) 2022-04-24 00:56:03 +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
Dreamcreative
8be7123c75
fix(components): [calendar] fix range year bug (#7227) 2022-04-23 22:30:32 +08:00
三咲智子
9de79794a3
refactor(utils): move function (#7336) 2022-04-23 21:59:17 +08:00
Zhongxiang Wang
6c399d32d9
fix(theme-chalk): [pagination] fix spacing when sizes is at the end (#7339) 2022-04-23 20:05:49 +08:00
JeremyWuuuuu
6d9e56a106
feat(components): [virtual-table] compsables (#7341)
- Split `use-table` into separate files for better readability
2022-04-23 20:05:20 +08:00
云游君
60d38a464f
docs: dark palette when toggle & fix autocomplete bg (#7317) 2022-04-23 08:39:21 +08:00
三咲智子
286824b793
fix(components): [upload] make action optional (#7325)
closes #7035
2022-04-23 08:39:09 +08:00
三咲智子
b6f6e8035f
fix: [upload] prevent preview link (#7326)
closes #6866
2022-04-23 03:31:57 +08:00
joson
b0e62faf79
style(components): [table] clean code (#7309)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-04-22 10:50:11 +08:00
joson
b03cccab71
fix(components): [upload] stop bubble (#7304) 2022-04-22 10:38:37 +08:00
三咲智子
cecde342dc
fix: popperjs esm version (#7321) 2022-04-22 10:24:52 +08:00
JeremyWuuuuu
5f58657b69
feat(components): [virtual-table] overlay renderer (#7314)
- Add Overlay renderer
- Add Overlay in table-v2
- Update table-v2.scss for overlay
2022-04-22 08:07:01 +08:00
JeremyWuuuuu
74a8d8ba32
feat(components): [virtual-table] empty renderer (#7308)
- Add Empty component.
- Add empty render conditions.
- Add empty rendering to table-v2.
2022-04-21 18:45:35 +08:00
JeremyWuuuuu
658d396ff7 feat(components): [virtual-list] renderers
- Add Footer renderer.
- Add footer rendering for table-v2.
- Update table-v2.scss for footer rendering.
- Update utils typing.
2022-04-21 16:37:07 +08:00
JeremyWuuuuu
655fecd8f2
feat(components): [virtual-table] renderers (#7273)
- Update table grid for dynamic height row rendering
- Expose reset rendered row methods for Grid
- Expose enums in virtual table for user facing usages.
- Update table-v2 style.
2022-04-20 18:06:45 +08:00
Delyan Haralanov
34f6f71042
test: enable clearMocks in vitest config (#7263) 2022-04-20 17:02:44 +08:00
Zhongxiang Wang
de29873f40
fix(components): [select] not set input padding anymore (#7269) 2022-04-20 17:01:29 +08:00
Delyan Haralanov
0a0241e54d
test: fix console output errors and warnings (#7237) 2022-04-19 17:37:56 +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
Zhongxiang Wang
d2810c867e
fix(components): [input] fix status icon gap (#7228) 2022-04-19 12:39:08 +08:00
云游君
2b47933c8f
fix(theme-chalk): components details when dark (#7229)
* fix(theme-chalk): components details when dark

* fix(theme-chalk): remove step icon bg color
2022-04-19 12:38:12 +08:00
renovate[bot]
dd84f90946
fix(deps): update all non-major dependencies (#7209)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 08:45:52 +08:00
joson
ff7061d9b8
fix(components): [el-upload] icon is covered (#6951)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-04-19 07:54:30 +08:00
JeremyWuuuuu
ed08609bd4
feat(components): [virtual-table] renderers (#7224)
- Fix custom renderer for column cell and header column cell.
- Add helper method for rendering cells.
- Update column interface for correctness.
- Remove some unused code in `use-columns`.
2022-04-18 23:32:10 +08:00
Zhongxiang Wang
8307d109fd
refactor(components): [input] change to flex layout (#7179)
* Revert "fix(components): [input] improved when both `suffix` and `prefix` are displayed (#7001)"

This reverts commit 793ca8ae29.

* refactor(components): [input] change to flex layout
2022-04-18 23:18:13 +08:00
JeremyWuuuuu
5716a94211
feat(components): [virtual-table] renderers (#7218)
- Temporarily removed ColumnResizer in HeaderCell
- Update VirtualScrollbar to match the design
- Style updates
2022-04-18 15:53:03 +08:00
hminghe
3d3621698f
fix(components): [table] fix SummaryMethod type (#7206) 2022-04-18 14:28:44 +08:00
webfansplz
503be91343
docs(theme-chalk): [select] fix a typo (#7214) 2022-04-18 14:01:09 +08:00
JeremyWuuuuu
8f57571d6b
feat(components): [virtual-table] renderers (#7204)
- Update sorting for table-v2.
- Update SortIndicator component's style.
2022-04-18 00:49:35 +08:00