Commit Graph

237 Commits

Author SHA1 Message Date
Hefty
72d0bc2177
fix(components): add validate-event for form types component (#8173)
* fix(components): add validate-event for form types component

* chore: format code
2022-07-02 21:01:05 +08:00
yujinpan
4fe9c2bd6c
fix(components): [TreeSelect] checkbox interaction (#8102)
* fix(components): [TreeSelect] check child when parent checked

* refactor(components): [TreeSelect] move utility functions to utils.ts

* fix(components): [TreeSelect] exclude check event from click node

* fix(components): [TreeSelect] handle dup when `checkOnClickNode`

* feat(components): [TreeSelect] `treeFind` support find parent node

* fix(components): [TreeSelect] show current selected node only first time

* fix(components): [TreeSelect] incorrect node selection condition

* docs(components): [TreeSelect] update checkbox examples and tips

* fix(components): [TreeSelect] incorrect label when data modify
2022-07-02 14:49:21 +08:00
qiang
598f3ab5cd
feat(components): [autocomplete] expose blur event (#8364)
* feat(components): [autocomplete] expose blur event

* docs(components): [autocomplete] update
2022-06-27 13:39:25 +09:00
云游君
5d88f628bb
feat(components): [message-box] add autofocus attribute (#8445)
* feat(components): [message-box] add autofocus attribute

* fix: autofocus to be true by default

* docs: message-box autofocus default value

* chore: remove useless comment

* fix: focusStartRef value el
2022-06-26 04:32:05 +08:00
LinZhanMing
a9277187cf
docs: fix popper.js docs link(dropdown, select-v2, tooltip) (#8474) 2022-06-25 22:43:55 +09:00
류한경
c6b43df7b3
refactor(components): [popconfirm] changed button type (#8436)
* refactor(components): [popconfirm] changed button type

* docs: changes to attribute kebab case, add accepted values ​

* fix: remove del tag

* fix: remove del tag
2022-06-24 13:58:51 +09:00
LIUCHAO
63847a981f
docs(components): [message-box] add customized icon for examples (#8381) 2022-06-22 01:29:27 +00:00
0song
1706dfb6c5
docs: add autocomplete doc (#8320) 2022-06-17 16:20:04 +08:00
三咲智子
73f48ae7a7
fix(components): [upload] two-way binding fileList (#8258) 2022-06-17 15:01:30 +08:00
0song
9aa1632452
docs: add autocomplete doc (#8316) 2022-06-17 06:55:40 +00:00
Linmj
9f9a0657f7
docs(components): [tabs] update tabs.md (#8260) 2022-06-16 13:16:05 +08:00
Eddie
5cc33b01ad
docs(components): [time-picker] remove invalid attribute (#7801) 2022-06-15 16:37:35 +08:00
Carter Li
1aa9d43129
refactor(components): [switch] Simplify color handling (#8199)
1. Use CSS variables to set `(in)activeColor` in order not to modify DOM
2. Deprecate property `(in)activeColor` in favor of CSS variables
2022-06-12 22:40:53 +08:00
류한경
4ef6ee28a8
docs(components): [link] fix type accepted values (#8117) 2022-06-08 09:23:24 +08:00
qiang
d8739fa550
docs(components): [table] wrong default value for resizable (#8092) 2022-06-05 09:52:14 +08:00
云游君
92b2007d82
docs(components): [menu] add left and right example (#8094) 2022-06-05 09:51:58 +08:00
류한경
2805cb8aae
docs: fix typo (#8078)
* docs: fix typo

* fix: restore text
2022-06-04 06:48:44 +08:00
qiang
60cd22b890
feat(components): [image] support native lazy loading (#7968) 2022-06-01 13:21:05 +08:00
Jeremy
2a44274bf4
docs(components): [time-picker] event parameters (#8002)
* Update doc event parameters for blur/focus event.
* Update doc event parameters for change event.
* Update doc event parameters for visible-change event.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-31 10:03:44 +08:00
opengraphica
af732b124b
feat(components): [dropdown] a11y (#7946)
* feat(components): [dropdown] always use button trigger

* feat(components): [dropdown] a11y unit tests

* feat(components): [dropdown] pr comments
2022-05-30 11:51:25 +08:00
qiang
49117b6b03
docs: fix typo (#7815)
type="link" -> link
2022-05-24 09:36:23 +08:00
JeremyWuuuuu
15c3aa4fb1
docs(components): [input-number] HTML tag issue (#7864) 2022-05-23 22:05:37 +08:00
msidolphin
6f04af6c39
feat(components): [table] ensure minimum-size doesn't follow the content (#7627)
* feat(components): [table] ensure minimum-size doesn't follow the content

* chore: add version tag
2022-05-20 17:57:21 +08:00
0song
4172ff4da6
docs: update doc (#7799) 2022-05-20 12:06:00 +08:00
JeremyWuuuuu
5bfa42cfed
feat(components): [button] restore type="text" (#7761) 2022-05-18 00:39:31 +08:00
JeremyWuuuuu
01a3edf619
docs(components): [input-number] documentation updates (#7727)
- Add version tag for `value-on-clear`.
- Add breaking change log for `value-on-clear`.
2022-05-17 10:47:09 +08:00
Carter Li
2577b06328
feat(components): [input-number] add :value-on-clear and make it nullable (#7724) 2022-05-17 01:16:44 +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
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
qiang
2dc4e463fd
chore(ci): optimizing the generated code hint file (#7634) 2022-05-12 10:59:16 +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
btea
688dbb3011
fix(docs): copy icon (#7587)
* fix(docs): copy icon

* chore: modify demo & update copy
2022-05-10 08:06:04 +08:00
JeremyWuuuuu
16abb4ca41
improvement(components): [virtual-table] (#7557)
- Add method `scrollToRow` to VirtualTable.
- Restore missing `cellProps` attribute.
- Add example for **Manual Scroll**.
- Add example for **Cross Hovering**.
- Update documentation accordingly.
2022-05-07 19:06:57 +08:00
JeremyWuuuuu
9b3a88811d
improvement(components): [virtual-table] (#7548)
- Add example for selection.
- Add example for inline editing.
2022-05-07 11:47:52 +08:00
btea
43cf294f8c
fix(docs): icon collection link (#7547) 2022-05-07 09:48:23 +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
JeremyWuuuuu
a4aad5a9c0
feat(components): [button] update text button (#7515) 2022-05-05 23:53:47 +08:00
opengraphica
7173e402b7
feat(components): [form-item] auto attach labels to inputs (#7450)
* feat(components): [form-item] auto attach labels to inputs

* feat(components): [form-item] auto-attach up through select

* feat(components): [form-item] auto id complete for all inputs

* feat(components): [form-item] fix lint, remove unused usePopper hook

* feat(components): [form-item] PR comments
2022-05-05 22:04:32 +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
Travis
eda5bd8695
docs(docs): [badge] fix badge.md prop description error (#7419) 2022-05-04 12:10:25 +08:00
iamkun
f0c0ed8b14
docs: update message box doc 'callback accepted values' (#7469) 2022-05-03 02:42:11 +08:00
云游君
4ea1d85184
docs: fix color box spacing (#7458) 2022-05-01 18:38:08 +08:00
Kevin.Liao
ca5b8982eb
fix(docs): icon import (#7440) 2022-05-01 07:01:01 +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
iamkun
4b0613d354
docs: update some description in the docs (#7432) 2022-04-29 18:03:54 +08:00
JeremyWuuuuu
46d04c7ddd
docs(components): [virtual-table] spans (#7441) 2022-04-29 17:57:39 +08:00
三咲智子
7e33c87fe8
docs: add icons for cdn, global and automatic imports (#7407)
closes #7369
2022-04-28 12:35:11 +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