Commit Graph

493 Commits

Author SHA1 Message Date
JeremyWuuuuu
090706250b
feat(components): [auto-resizer] new component (#7541)
* feat(components): [auto-resizer] new component

- Add new component AutoResizer for skip passing width/height.
- Update documentation for AutoResizer.
- Update FAQs for TableV2.
- Update interfaces for TableV2.

* Fix linter error

* Fix linter issue
2022-05-07 09:47:32 +08:00
云游君
431033b00f
fix(theme-chalk): datetime picker time panel bg (#7543) 2022-05-07 02:26:41 +08:00
三咲智子
5bc6e0ce18
fix(theme-chalk): [button] auto insert space (#7539) 2022-05-06 21:56:07 +08:00
JeremyWuuuuu
a4aad5a9c0
feat(components): [button] update text button (#7515) 2022-05-05 23:53:47 +08:00
云游君
6f9d55471b
docs: add dark mode usage & compile dark/css-vars.css (#7513)
* docs: add dark mode usage & compile dark/css-vars.css

* docs: add example link
2022-05-05 19:56:10 +08:00
JeremyWuuuuu
14cfb0500f
docs(components): [virtualized-table] finishing leftovers (#7496)
- Finishing the documentation examples
- Add APIs to the documentation
- Fix some issue while updating the documentations
2022-05-05 00:54:49 +08:00
云游君
b92b229327
fix: table/dropdown/step dark details (#7483)
* docs: add box-shadow for home cards when dark

* fix: table bg color by not mix fill-color blank

* fix: card bg-color by use mixins

* fix(components): dark details

* docs: adjust config provider example spacing

* fix: table header bg color

* fix: step icon bg color & caret button divider

Co-authored-by: huangzz <1073555675@qq.com>
2022-05-04 13:57:43 +08:00
云游君
8a4bf644ad
fix(theme-chalk): dark mode details (#7460) 2022-05-03 14:02:56 +08:00
云游君
281249c113
feat: add custom mix function for colors (#7459) 2022-05-01 20:43:30 +08:00
Satrong
cca6361a55
refactor(theme-chalk): [tabs] use font-size-base (#7416) 2022-05-01 18:45:02 +08:00
云游君
49c7ef2633
feat(docs): use home svg layers for dark (#7408)
* feat(docs): use home svg layers for dark

* fix: people leg color & shadow color

* fix: add shadow for right layer

* fix: dot position in screen
2022-05-01 14:30:14 +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
云游君
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
Zhongxiang Wang
7affd9a3fd
fix(components): [input] fix prepend/append not fill height (#7274) 2022-04-25 22:30:20 +08:00
Zhongxiang Wang
0891d46d18
fix(components): [date-picker] fix input inner box sizing (#7373) 2022-04-25 20:13:07 +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
云游君
c022b6cb94
docs: fix some spacing styles (#7343) 2022-04-24 00:56:03 +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
云游君
60d38a464f
docs: dark palette when toggle & fix autocomplete bg (#7317) 2022-04-23 08:39:21 +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
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
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
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
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
云游君
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
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
云游君
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
云游君
9c7c61eac5
fix(components): [color-picker] vertical bar bg (#7113) 2022-04-12 01:41:52 +08:00
云游君
33859cca5d
feat: add dark for custom button & adjust details (#7086) 2022-04-10 23:58:20 +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
云游君
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
三咲智子
2ca93aabd7
feat: publish eslint config and metadata (#7063) 2022-04-09 04:32:01 +08:00
云游君
316efcc045
feat(theme-chalk): dark palette & common color mixins (#6999)
* feat(theme-chalk): dark palette & common color mixins

* chore: move layouts var

* feat: add dark transparent colors for designer

* refactor: remove example-showcase dark bg
2022-04-04 22:46:00 +08:00
云游君
0529352776
feat(theme-chalk): card support dark (#6975)
* feat(theme-chalk): card support dark

* refactor: move dark css-vars to one file
2022-04-04 13:33:39 +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
Zhongxiang Wang
ec559688f9
fix(theme-chalk): [el-table] fix custom header background of fixed column (#6931)
* fix(components): [el-table] fix custom header bg of fixed column

* fix(components): [el-table] fix custom header bg of fixed column

* fix(components): [el-table] fix custom header bg of fixed column
2022-04-01 17:01:05 +08:00
msidolphin
5021214d77
feat(components): [el-virtual-list] support native behaviours (#6945) 2022-04-01 14:37:41 +08:00
troy
d0280b5eff
fix(components): [input] 添加prepend或append插槽后, clearable无法显示 (#6756) 2022-03-31 21:08:35 +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
云游君
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