handsomeFu
6b9ac43419
fix(components): [pagination] fix typo ( #7420 )
2022-05-01 06:42:41 +08:00
joson
9aa6cc1912
feat(components): [switch] add size ( #7377 )
...
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-05-01 05:58:43 +08:00
JeremyWuuuuu
46d04c7ddd
docs(components): [virtual-table] spans ( #7441 )
2022-04-29 17:57:39 +08:00
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
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
Xc
9ce92fb0a2
fix: reasonable remaining ( #7353 ) ( #7364 )
...
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-25 20:20:44 +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
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
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
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
三咲智子
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
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
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
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
云游君
56bbb81f2e
fix: empty svg when dark ( #7203 )
2022-04-17 23:55:02 +08:00
JeremyWuuuuu
0aabc18db7
feat(components): [virtual-table] renderers ( #7201 )
...
- Add RightTable component for rendering right fixed columns
- Add style for right fixed columns
- Fix the judgment bug for left fixed columns
2022-04-17 21:20:21 +08:00
JeremyWuuuuu
e610149fb7
feat(components): [virtual-table] renderers ( #7198 )
...
- Add LeftFixedTable component renderer
- Render LeftFixedTable for table-v2
- Add style for left table
2022-04-17 19:28:44 +08:00
JeremyWuuuuu
da63b35c6b
feat(components): [virtual-table] renderers ( #7195 )
...
- Move render function into rendering units
2022-04-17 15:34:52 +08:00
JeremyWuuuuu
83aba9fd7a
feat(components): [virtual-table] renderer ( #7191 )
...
- Add ExpandIcon for rendering expandable row
- Fix a potential bug in VirtualGrid component
- Add method for mapping expandable data
2022-04-17 11:36:14 +08:00
Xc
9f6a32fb28
fix(components): [popper] zIndex bug ( #7115 )
...
* fix: popper zIndex bug
* fix: add shouldUpdateZIndex control ZIndex
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-15 09:00:45 +08:00
JeremyWuuuuu
971d58d9f4
feat(components): [virtual-list] renderer ( #7167 )
...
- Add column-resizer for resizing column
- Add sort and column resizer to row header renderer
2022-04-14 22:13:16 +08:00
Zhongxiang Wang
bc4f82d7b5
fix(components): [tree-select] use proxy
instead of ctx
( #7160 )
2022-04-14 17:49:21 +08:00
JeremyWuuuuu
95df88fe70
feat(components): [virtual-table] renderer ( #7158 )
...
- Add renderer for rendering header and header cell
2022-04-14 12:16:01 +08:00
虞金攀
839a09d9e4
fix(components): [TreeSelect] incorrect props interaction and css paths ( #7156 )
...
* fix(components): [tree-select] `inheritAttrs` causes duplicate attributes
* fix(components): [TreeSelect] css path incorrect
* fix(components): [TreeSelect] `defaultExpandedKeys` contains `undefined`
* fix(components): [TreeSelect] only expand on click node when the `check-strictly` is false and auto expand selected parent node
* test(components): [TreeSelect] update render/filter/props unit test
2022-04-14 11:49:12 +08:00
Zhongxiang Wang
b462802824
fix(components): [date-picker] fix cell-class-name
not work ( #7149 )
2022-04-13 22:29:46 +08:00
JeremyWuuuuu
d8a138ea38
feat(components): [virtual-table] renderer ( #7151 )
...
- Add renderer for main table
2022-04-13 22:21:47 +08:00
JeremyWuuuuu
8ee55a6d20
feat(components): [virtual-table] renderer ( #7148 )
...
- Add renderer for render row and row-cell
2022-04-13 18:56:31 +08:00
iamkun
9dd5550bf3
refactor: refactor menu to support namespace ( #7131 )
2022-04-13 18:49:12 +08:00
JeremyWuuuuu
dbebca623b
feat(components): [virtual-table] composables ( #7143 )
...
- Add implementation for virtual table composables
2022-04-13 15:24:17 +08:00
云游君
9e083ff79d
fix: tag bg color & other dark details ( #7138 )
...
* fix: tag bg color & other dark details
* chore: use 0 instead of 0px
2022-04-13 14:40:01 +08:00
gjfei
851bd47c37
refactor(components): [virtual-list, visual-hidden] use useNamespace ( #6461 )
2022-04-12 22:52:48 +08:00
iamkun
317d2d2a45
chore: fix lint issue ( #7130 )
2022-04-12 22:20:21 +08:00
gjfei
2afb4a8611
refactor(components): [time-select] use useNamespace ( #6459 )
2022-04-12 21:40:17 +08:00
bqy_fe
f333ab898b
refactor(components): [message-box] use useNamespace ( #5721 )
2022-04-12 21:36:24 +08:00
三咲智子
efc1a4c816
feat(components): [form-item] support use form-item only ( #7095 )
...
* feat(components): [form-item] support use form-item only
* fix: lint
2022-04-12 20:17:23 +08:00
DoubleBird
a1a24edef2
perf(components): [loading] unmount instance when loading end ( #7110 )
...
Co-authored-by: 周陈旻琨 <zhouchenminkun@stary.com>
2022-04-12 02:02:55 +08:00
KAKI
e08e514414
fix(components): [table]emit "current-change" when currentRowKey changed ( #6992 )
2022-04-11 08:48:10 +08:00
云游君
33859cca5d
feat: add dark for custom button & adjust details ( #7086 )
2022-04-10 23:58:20 +08:00
JeremyWuuuuu
9a05d5cdc2
feat(components): [virtual-table] Table ( #7083 )
...
* feat(components): [virtual-table] Table
- Add composable for column management.
* Update table props
2022-04-10 17:50:18 +08:00
Xc
5849909577
fix: [dropdown] with dialog use zIndex loop ( #7012 )
...
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-10 17:30:08 +08:00
bqy_fe
2f38edd715
fix(components): [select] inner input height is inconsistent with select ( #6979 )
...
* fix(components): [select] inner input height is inconsistent with select
* Update packages/constants/size.ts
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-04-10 14:48:01 +08:00
白雾三语
793ca8ae29
fix(components): [input] improved when both suffix
and prefix
are displayed ( #7001 )
...
* fix: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object
* feat: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object,并增加单元测试
* improvement(components): The input component text display is optimized
* docs(components): Modify the comment
* improvement(components): Set padding default value
* improvement(components): 修改了部分写法并增加了类型
* improvement(components): 添加注释
* improvement(components): Modify the comment
Co-authored-by: 白雾三语 <32354856+czh740132583@users.noreply.github.com>
2022-04-10 14:25:25 +08:00
btea
17397ce9c1
fix(components): [scrollbar] dynamic update scrollbar ( #7050 )
2022-04-10 14:09:12 +08:00
Xc
02530026e6
fix: popover esc after visible invalid ( #7064 )
...
* fix: popover esc after visible invalid
* fix: popover esc after visible invalid(#7058 )
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-10 14:08:38 +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
Xc
b2e9d630a6
chore(style): refine repetitive code ( #7003 )
...
* style: Refine repetitive code
* style: add default value
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-10 14:04:46 +08:00
Wu Chengyu
dcbc0b156f
Update css.ts ( #7009 )
2022-04-10 13:59:22 +08:00
云游君
ee91b01400
feat(theme-chalk): dark bg color overlay for components ( #7005 )
...
* feat(theme-chalk): dark bg color overlay for components
* fix(theme-chalk): details of components
* fix(theme-chalk): box-shadow
2022-04-10 13:47:19 +08:00
JeremyWuuuuu
bf14b8f25f
feat(components): [virtual-table] TableHeaderCell ( #7075 )
...
- Add TableHeaderCell props definition
- Implement TableHeaderCell
- Extract some common props
- Fix components' name
2022-04-09 18:48:03 +08:00
JeremyWuuuuu
9b08619a69
feat(components): [virtual-table] table header row ( #7072 )
...
- Add table header row props definition
- Implement table header row
2022-04-09 17:02:08 +08:00
JeremyWuuuuu
c85d2cca3d
feat(components): [virtual-table] header ( #7070 )
...
- Add TableHeader props definition
- Implement TableHeader component
2022-04-09 15:16:22 +08:00
JeremyWuuuuu
aeb2b6fc4d
feat(components): [virtual-table] cell ( #7068 )
...
- Add Cell component props definition
- Implemented Cell component
2022-04-09 11:38:04 +08:00
三咲智子
2ca93aabd7
feat: publish eslint config and metadata ( #7063 )
2022-04-09 04:32:01 +08:00
JeremyWuuuuu
1aba790bdb
feat(components): [virtual-table] row ( #7060 )
...
- Implement TabelRow component
2022-04-08 17:57:36 +08:00
JeremyWuuuuu
0d84e44f15
feat(components): [virtual-table] row ( #7047 )
...
* feat(components): [virtual-table] row
- Define TableRow props
- Refine Table props
* Fix typing issue
2022-04-08 09:38:22 +08:00
JeremyWuuuuu
31feee871e
feat(components): [virtual-table] columns ( #7027 )
...
- Define column props and types
- Rearranged types
2022-04-06 22:01:53 +08:00
JeremyWuuuuu
144b0cd925
feat(components): [virtual-table] ( #7024 )
...
- Define Column type.
2022-04-06 18:28:32 +08:00
btea
c14ac56be7
fix(components): [image] add infinite prop ( #7021 )
2022-04-06 17:36:08 +08:00
JeremyWuuuuu
05e3f0c402
feat(components): [virtual-table] ( #7014 )
...
- Init Virtual Table
2022-04-06 09:59:33 +08:00
bqy_fe
b863db272e
feat(components): [tabs] add tab-change event ( #6978 )
2022-04-03 14:09:52 +08:00
btea
c0e6fd7d72
chore(components): [calender] remove import defineExpose ( #6974 )
2022-04-02 18:30:24 +08:00
虞金攀
904aa0e21b
feat(components): add tree select component ( #6843 )
...
* feat(ElTreeSelect): add tree select base component
* refactor(ElTreeSelect): use render function and move select/tree props to them self module
* fix(ElTreeSelect): init value not checked
* fix(ElTreeSelect): `toArray` ignores valid values
* fix(ElTreeSelect): expose not working when defined on mounted
* fix(ElTreeSelect): watch `modelValue` deep
* test(ElTreeSelect): add base unit test
* perf(ElTreeSelect): default slot should be a function
* fix(ElTreeSelect): `onNodeClick` can not call,
* test(ElTreeSelect): update unit test
* fix(ElTreeSelect): `onNodeClick` can not call,
* fix(ElTreeSelect): remove folder node when `checkStrictly` is false
* feat(ElTreeSelect): export `ElTreeSelect`
* fix(ElTreeSelect): `filterMethod` conflicts with `filterNodeMethod`
* docs(ElTreeSelect): add component docs
* fix(ElTreeSelect): fix lint
* docs(ElTreeSelect): fix lazy loading requires non-leaf nodes, and change mock labels
* docs(ElTreeSelect): the link address of the attributes is incorrect
* docs(ElTreeSelect): `dropdown` doesn't need the `-` symbol
* refactor(ElTreeSelect): use alias path and make sure vue is above to components
* refactor(ElTreeSelect): use a unified namespace for styles
* docs(ElTreeSelect): change option labels in default slots
* refactor(ElTreeSelect): import `ElOption` using unified entry and change the way to override the select click event
* style(ElTreeSelect): sort imports
* docs(ElTreeSelect): update the documentation for special codes
* refactor(ElTreeSelect): keep it consistent with the select style
* refactor(ElTreeSelect): use `isFunction` from `@element-plus/utils`
* refactor(ElTreeSelect): use single closing tag when no subset
* docs(ElTreeSelect): set `TreeSelect` promotion as `2.1.8`
2022-04-02 15:15:33 +08:00
bqy_fe
209f505a27
refactor(components): [calendar] refactor ( #6682 )
...
* refactor(components): [calendar] refactor
* fix: extract constant & rename type
2022-04-01 15:28:41 +08:00
msidolphin
5021214d77
feat(components): [el-virtual-list] support native behaviours ( #6945 )
2022-04-01 14:37:41 +08:00
btea
2e85acbf9e
fix(components): [select] value support object ( #6933 )
...
* fix(components): [select] value support object
* Update packages/components/select/src/select.vue
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-04-01 14:35:36 +08:00
白雾三语
c2ef5a82f5
fix: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object ( #6888 )
...
* fix: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object
* feat: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object,并增加单元测试
2022-03-31 20:45:50 +08:00
JeremyWuuuuu
337622ed95
feat(components): [tag] add new API for rounded
...
- Add new api `round` for rounded tag.
- Add documentation for rounded tag.
- Update document styles.
2022-03-31 17:27:49 +08:00
Zhongxiang Wang
41df8b724c
fix(components): [el-table] use table width as empty block width ( #6694 )
...
* fix(components): [table] fix wrong table width is set to resizeState
* fix(components): [table] add tableWidth as empty block width
2022-03-31 15:32:22 +08:00
LYlanfeng
c88e163931
fix(components): [update] fix onChange hook called twice ( #6885 )
...
second trigger is input.onchange event, because props has onChange bug not define in upload-content.vue props
2022-03-31 14:42:20 +08:00
msidolphin
d3756d941e
feat(components): [el-scrollbar] expose scrollTo method ( #6663 )
...
* feat(components): [el-scrollbar] expose scrollTo method
* chore: improve code
2022-03-31 14:25:58 +08:00
Xc
0c905bbf7e
fix: [ElMessage] grouping mode default type ( #6836 )
...
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-03-31 10:46:53 +08:00
msidolphin
7684dddac4
feat(components): [el-table] add placeholder for tree table ( #6905 )
2022-03-31 10:27:21 +08:00