Commit Graph

66 Commits

Author SHA1 Message Date
chouchouji
c03c1dd2ce
refactor(components): [button-group] optimize code (#17607) 2024-07-21 18:05:47 +08:00
yang
c3c3793e4f
flx(component): buttonColor is calculated in the 'var' case (#17319)
* flx(component): buttonColor is calculated in the 'var' case

* pass test:ssr

* add prefix

* pass lint
2024-06-28 14:14:01 +08:00
wzc520pyfm
af94533e10
refactor(components): [button] use buttonkls (#16090) 2024-04-04 17:08:01 +08:00
sleepyShen1989
74bfbefc28
test(components): [button] change slot mode (#14823) 2023-11-18 16:47:34 +08:00
Hill
820e5a6b20
test(components): [button] fix typos in test description (#14314) 2023-09-18 08:47:36 +08:00
btea
4315f02362
test: [button] add comment resolve ts error (#13965)
* test: [button] add comment resolve ts error

* chore: update comment
2023-08-15 19:23:08 +08:00
Fl
4515023c40
test(components): [button] add test cases for using props of form and form-item (#13726)
test(components): add test cases for using props of form and form-item

add case for using size and disabled from form

add case for using size from form-item
2023-07-29 22:18:45 +08:00
qiang
b0709e1d83
feat(components): [button] add tag attribute (#11853)
* feat(components): [button] add tag attribute

* fix: typo

* docs: update

* refactor(components): [button] detach button props

* docs: update
2023-04-10 22:27:43 +08:00
Jeremy
4c27822ef0
fix(components): circular referencing issue (#11777)
* fix(components): circular referencing issue

* Move sizes related into hooks.
* Remove size definitions in forms only re-exports.

* chore: fix failing tests
2023-03-01 16:44:09 +08:00
Jeremy
a30ae9d103
refactor(project): removing packages/tokens (#11769)
* refactor(tokens): remove tokens

* Remove tokens/breadcrumb.

* refactor(tokens): remove tokens/button

* refactor(tokens): remove tokens/carousel

* refactor(tokens): removing tokens/checkbox

* refactor(tokens): removing tokens/collapse

* refactor(tokens): removing tokens/dialog

* refactor(tokens): removing tokens/pagination

* refactor(tokens): removing tokens/radio

* refactor(tokens): removing tokens/row

* refactor(tokens): removing tokens/scrollbar

* refactor(tokens): removing tokens/slider

* refactor(tokens): removing tokens/tabs

* refactor(tokens): removing tokens/upload

* refactor(tokens): removing tokens/popper

* refactor(tokens): removing tokens/tooltip

* refactor(tokens): removing tokens/tooltip-v2

* refactor(tokens): removing tokens/date-picker

* refactor(project): removing tokens/experimentals

* Remove tokens/experimentals
* Remove package/tokens
* Remove tokens related parts

* refactor(project): removing packages/tokens completely

* chore: update import statement
2023-03-01 13:59:21 +08:00
Jeremy
d58149f4bb
refactor(components): [config-provider] (#11749)
* refactor(components): [config-provider]

* Port useConfigProviders and tokens to components/.

* refactor(hooks): [global-config]

* Reimplement a few coupled hooks.
* Remove hooks/globa-config and tokens/&.
* Update import paths based on the changes.

* chore: fix a failing test case
2023-02-28 10:35:56 +08:00
Jeremy
11925c8231
refactor(tokens) - [form] (#11743)
* refactor(tokens): [form] - remove tokens/form

* Move content in tokens/form to components/form.
* Replace token imports in components/form.

* chore: remove form/tokens and replace imports

* refactor(components): [form/form-item]

* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
Xc
b3553a1cae
docs(components): [button] (#10594)
* docs(components): [button]

* docs(components): [button]
2022-11-14 10:46:38 +08:00
Jeremy
4150baa7a3
refactor(components): [button] (#10152)
* refactor(components): [button]

* Extract logic code out of component.
* Reorganize code for better readabilities.

* chore: remove export of button group instance
2022-10-20 17:14:02 +08:00
Xc
ebc1e969e6
fix(components): [button] type text deprecated (#9611) 2022-09-03 23:09:53 +08:00
zz
f5fa7e741f
refactor(utils): refactor iconPropType (#9502) 2022-08-28 13:20:07 +08:00
류한경
a9766220a6
refactor(components): [button] use JSX in Unit test (#8024) 2022-06-01 13:02:18 +08:00
0song
0e3ea58421
fix: correct the deprecated note for el-button (#7854)
fix: correct the deprecated note for el-button
2022-05-23 08:30:50 +00:00
JeremyWuuuuu
5bfa42cfed
feat(components): [button] restore type="text" (#7761) 2022-05-18 00:39:31 +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
JeremyWuuuuu
a4aad5a9c0
feat(components): [button] update text button (#7515) 2022-05-05 23:53:47 +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
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
云游君
33859cca5d
feat: add dark for custom button & adjust details (#7086) 2022-04-10 23:58:20 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
Herrington Darkholme
14353dbfce
fix(ci): suppress warning by mark icon as raw (#6555) 2022-03-12 15:58:29 +08:00
Alan Wang
e95dedd22b
fix(components): [button] space is not added (#6361) 2022-03-02 12:17:03 +08:00
三咲智子
dbbfa34bec
feat(components): [button] add icon slot (#6343) 2022-03-01 00:11:24 +08:00
blackie
c7d738e468
refactor(components): [button-group] switch to script-setup syntax (#6256) 2022-02-24 10:15:28 +08:00
云游君
496398ce38
refactor(theme-chalk): use scss list & map generate type css var (#6221)
* refactor(theme-chalk): use scss list & map generate type css var

* chore(theme-chalk): remove quote for var

* refactor(theme-chalk): use light-7 for check button

* refactor(theme-chalk): use light var for check-tag

* refactor(theme-chalk): use css var for tag color

* refactor(theme-chalk): remove tag-color in scss var
2022-02-23 10:09:32 +08:00
三咲智子
ea812ae622
refactor(components): refactor button (#5933)
* refactor(components): refactor button

* refactor: rename

* test: apply jsx

* feat: expose

* test: fix
2022-02-12 18:37:16 +08:00
三咲智子
6503e55277
refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
msidolphin
13de0524eb
feat(components): [el-button] support for customize loading component (#5505) 2022-01-21 23:11:35 -03:00
三咲智子
68bbd0e79a
refactor(components): use useNamespace is (#5468) 2022-01-19 15:04:01 +08:00
三咲智子
58c4040b45
fix(hooks): component size (#5402) 2022-01-17 17:20:26 +08:00
iamkun
9929c0fba4
feat: support custom namespace (#5377) 2022-01-15 18:12:48 +08:00
云游君
2b209fd760
fix(components): input-number/input/dropdown/select/badge details (#4866) 2021-12-28 19:38:23 +08:00
云游君
4560adfdf8
refactor(style): adjust component size to large/default/small (#4491)
* refactor(style): adjust component size to large/default/small

* refactor(components): avatar size & use flex instead of block

* refactor(components): adjust check button size

* refactor(components): adjust tag size

* refactor(components): adjust size doc

* fix(components): datetime-picker demo style width

* refactor(components): color-picker size & block to flex

* refactor(components): adjust slider input size

* refactor(components): adjust radio input size for demo

* refactor(components): adjust select size & docs

* refactor(components): adjust form radio size & docs

* refactor(components): add windicss for docs

* refactor(components): adjust skeleton avatar size to css var

* refactor(components): simplify typography size demo

* refactor(components): adjust dropdown size & demo

* refactor(components): adjust descriptions size

* fix(components): datetime-picker showcase class pollute global button

* chore(ci): upgrade docs dependencies to fix ci

* fix(ci): add highlight because vitepress not export it

* fix(ci): disable line for no-console

* fix(ci): remove mini to fix test

* fix(style): code font size

* fix(style): button span flex style

* fix(style): button padding horizontal default 15px

* refactor(components): adjust tag padding size & demo

* refactor(components): adjust form line-height for input

* refactor(components): adjust dropdown menu size & button padding

* fix(style): picker separator block to flex center

* fix: dropdown button span items-center

* style: adjust input-with-icon & size demo & fix input vitepress load

* chore: upgrade dependencies

* chore: upgrade dependencies

* ci: fix website build

* ci: regenerate pnpm-lock.yaml

* ci: use dev pnpm-lock

* ci: update pnpm-lock.yaml
2021-12-12 17:54:21 +08:00
云游君
3fa3e9ff6b
refactor(utils): use @ctrl/tinycolor instead of custom color.ts (#4682) 2021-12-12 16:14:42 +08:00
三咲智子
db1d9401fe
feat(components): [el-config-provider] add size (#4730) 2021-12-10 17:21:01 +08:00
三咲智子
5087026948
refactor: change icon package name (#4625) 2021-12-04 11:20:06 +08:00
btea
3c4d4a841c
fix(components): [el-button] computed type (#4641) 2021-12-04 01:23:40 +08:00
C.Y.Kun
0832a55f89
refactor(components): refactor button (#4499) 2021-11-23 00:10:54 +08:00
云游君
5a166b4ba5
feat(components): add custom color for button & rename css var bg-color (#3664) 2021-11-19 20:22:16 +08:00
msidolphin
75c6ea967a
refactor: [el-config-provider] change default autoInsertSpace to false (#4330) 2021-11-10 15:21:20 +08:00
msidolphin
66043aa3b5
refactor(components): [el-config-provider] improve componomponent extendiability (#4175)
re #4146

added button configuration
added useGlobalConfig hook
2021-11-05 18:10:07 +08:00