Commit Graph

503 Commits

Author SHA1 Message Date
Carter Li
325f84d44f
feat(components): menu add more controllable styles (#7549)
1. add some css variables
2. support specifying level padding
3. small code refactor
4. deprecate `background-color` etc
2022-05-12 22:38:26 +08:00
opengraphica
42ff59fc39
feat(components): [date-picker] work with modal focus trap; a11y controls and attributes (#7598)
* feat(components): [date-picker] a11y controls and attributes

* feat(components): [date-picker] keyboard controls for picker

* feat(components): [date-picker] unit test complete

* feat(components): [date-picker] remove immediate watch date
2022-05-10 21:51:17 +08:00
opengraphica
9c51dab123
feat(components): [dialog] a11y and focus trap on dialog components (#7550)
* feat(components): [dialog] a11y and focus trap on dialog components

* feat(components): [dialog] remove default browser focus style

* feat(components): [dialog] clean up async and comment
2022-05-10 17:58:18 +08:00
Satrong
339c619f64
fix(theme-chalk): [input] add not-allowed when disabled (#7612) 2022-05-10 16:47:18 +08:00
云游君
446e54b0e7
fix: datepicker range default height by map.get (#7608) 2022-05-10 12:25:59 +08:00
Zhongxiang Wang
5e63d1ed36
fix(theme-chalk): [input] fix unexpected var name of input-inner-height (#7600) 2022-05-10 09:48:23 +08:00
云游君
0795254a67
docs: add how to custom namespace & example (#7596) 2022-05-10 08:04:37 +08:00
云游君
4873d833e9
fix(components): input textarea padding & label line-height (#7570)
* fix(components): input textarea padding & label line-height

* fix(components): form label top align by line-height
2022-05-09 19:39:23 +08:00
云游君
92d3fcee3c
fix(components): date picker range input__inner inherit height (#7586) 2022-05-09 17:48:31 +08:00
云游君
5edc3a3adf
fix(components): input internal autofill border color (#7561) 2022-05-08 13:42:59 +08:00
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