Commit Graph

573 Commits

Author SHA1 Message Date
btea
aa3b1c4894
fix(components): [button] :not overrides the disabled style (#7977)
* fix(components): [button] :not overrides the disabled style

* fix: update style

* fix: update style
2022-05-30 16:19:32 +08:00
Vincent Guo
f7b8c33035
fix(components): [button] style compatible issue with :not (#7914)
downgrade :not(a,b) to :not(a):not(b) for compatiblity
2022-05-27 10:10:08 +08:00
Xc
61e9be07f9
fix(components): [select-v2] status-icon position (#7835)
* fix(components): [select] status-icon position

* fix(components): [select-v2] status-icon position

* fix(components): [select-v2] status-icon position
2022-05-25 23:02:57 +08:00
류한경
e4bb98102c
fix(components): [tabs] card type fixed height (#7840) 2022-05-25 21:54:17 +08:00
云游君
ca58f2beb3
fix(theme-chalk): [date-picker] basic & range height size (#7831) 2022-05-25 21:42:21 +08:00
三咲智子
7ff199c60f
fix(build): enhance type check (#7880)
* fix(build): enhance type check

* feat: stricter ts check
2022-05-24 22:54:34 +08:00
三咲智子
3d2a257101
refactor(build): use esbuild and tsx (#7876) 2022-05-24 11:31:16 +00:00
Delyan Haralanov
7ba931bee7
fix(components): [form-item] fix top label height (#7830) 2022-05-24 13:43:39 +08:00
류한경
ecb1fa75e9
improvement(components): [pagination] focusing tab border (#7814) 2022-05-24 13:42:47 +08:00
류한경
50ade1267e
fix(components): [form] align label width if it exists (#7826) 2022-05-22 22:35:51 +08:00
云游君
d441ee48ef
refactor(theme-chalk): [table] remove useless style (#7807) 2022-05-20 17:46:10 +08:00
云游君
eafb60f89f
fix(theme-chalk): [DatetimePicker] change inner to wrapper & use css var (#7703)
* fix(theme-chalk): [DatetimePicker] change inner to wrapper & use css var for width

* test: use wrapper to fix test
2022-05-19 13:57:15 +08:00
bqy_fe
fe302da668
fix(components): [form-item] label is not vertically centered (#7780) 2022-05-19 09:53:07 +08:00
JeremyWuuuuu
5bfa42cfed
feat(components): [button] restore type="text" (#7761) 2022-05-18 00:39:31 +08:00
류한경
9d6329cb99
refactor(components): [main] switch to script-setup syntax (#7707)
* refactor(components): [main] switch to script-setup syntax

* refactor(components): [main] switch to script-setup syntax
2022-05-16 21:11:59 +08:00
JeremyWuuuuu
f3a8856c63
improvement(theme-chalk): visual enhancement (#7563)
* improvement(theme-chalk): visual enhancement

- Add visual enhancement for keyboard nagivation on form items.

* Fix linter issue

* Fix switch active text issue

* Fix bordered radio demo issue
2022-05-16 21:01:41 +08:00
류한경
6521dbb42a
fix(components): [upload] show close tip text (#7696) 2022-05-16 20:58:25 +08:00
JeremyWuuuuu
5d2daca248
docs(components): [button] link button (#7694)
- Update docs for link button.
- Update vp-translation wrong usage of button.
- Update doc show cases examples.
- Update commit hash value for `link button`
2022-05-14 12:58:09 +08:00
Xc
ad3d998752
feat(components): [button] add link api (#7652)
* feat: button add link type

* fix: code lint

* feat: button add link api

* docs: edit word

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-05-14 12:20:02 +08:00
Hangyeong
eb6bb6265d
fix(components): tabs focus visible (#7665) 2022-05-13 08:42:49 +08:00
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
云游君
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
joson
cc9df6ea61
style: delete extra spaces (#6903)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-03-31 09:11:29 +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
云游君
19a4e2d7ac
refactor(theme-chalk): overlay/mask/box-shadow css vars (#6848) 2022-03-27 23:23:14 +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
btea
cffc865f21
fix(components): [cascader] loading icon position (#6802) 2022-03-24 18:29:47 +08:00
gjfei
e179ee6960
refactor(components): [time-picker] use useNamespace (#6523)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-23 22:58:43 +08:00
Hefty
35ad87ef0b
fix(components): [input] textarea border does not display on ios (#6768)
fix: #6752
2022-03-23 18:13:39 +08:00
YunYouJun
0574c7eaca refactor(theme-chalk): use getCssVar instead of var(--el) & fix details 2022-03-23 17:10:40 +08:00
云游君
e4c6f6d0d9
refactor(theme-chalk): use css var instead of component hex colors (#6727)
* refactor(theme-chalk): use css var instead of component hex colors

* refactor(theme-chalk): hex colors to css var & use mixin as namespace
2022-03-21 21:41:33 +08:00
Hefty
e464348655
fix(style): [el-checkbox-group] vertical align in form-item (#6688) 2022-03-19 09:35:34 +08:00
云游君
aeee7339f4
refactor: css vars for reset.scss & reset for docs & fix cards (#6698) 2022-03-18 23:53:11 +08:00
Zhongxiang Wang
9843fb1d69
fix(components): [table] not scroll empty block when scrolling table (#6615)
* fix(components): [table] not scroll empty block when scrolling table

* fix(components): [table] fix unexpected gap

* fix(components): [table] fix unexpected gap
2022-03-16 10:47:30 +08:00
三咲智子
bb939c6a58
refactor(build): move to internal package (#6585)
* refactor(build): move to internal package

* ci: fix

* chore: fix

* fix: docs

* chore: add fast-glob to root package

* chore: fix PR comments

* build: add tsx

* refactor: re-organize

* refactor: improve log
2022-03-15 19:23:38 +08:00
云游君
9c4f1774f2
fix(theme-chalk): [mixins] use set-css-var-value to transpile text (#6630)
* fix(theme-chalk): [mixins] use set-css-var-value to transpile text

* fix(theme-chalk): [mixins] format code
2022-03-15 10:47:00 +08:00
云游君
a7cab4fb52
fix(theme-chalk): [drawer] bg color (#6631) 2022-03-15 10:45:21 +08:00
云游君
f22614b11c
fix(components): [pagination] button bg color (#6628)
* fix(components): [pagination] button bg color

* fix(components): [pagination] button bg color
2022-03-14 23:41:50 +08:00
Zhongxiang Wang
b80d5f9d4d
fix(theme-chalk): [cascader/checkbox] fix unexpected fill color (#6619) 2022-03-14 19:57:25 +08:00
Hefty
15d543d69f
fix(theme-chalk): [message-box] el-message-box__status position may o… (#6614)
* fix(theme-chalk): [message-box] el-message-box__status position may override by el-icon

* fix(theme-chalk): [message-box] use class selector
2022-03-14 19:48:28 +08:00
云游君
d3a66b8767
refactor(components): [rate] use css var & disable to disabled & star-color to fill-color (#6601)
* refactor(components): [rate] use css var & disable to disabled

* refactor(components): [rate] remove getIconStyle

* refactor(components): [rate] rename star-color to fill-color

* fix(test-utils): rate vitest by css vars

* refactor: use ns.is('', state)
2022-03-14 19:34:49 +08:00