Commit Graph

79 Commits

Author SHA1 Message Date
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
MadCcc
96fa23ea7c
refactor: Tooltip, Popover, Dropdown, Tour support css var (#45705)
* feat: Tooltip, Popover, Dropdown, Tour support css var

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: add test
2023-11-08 14:56:15 +08:00
afc163
b1f8fb1236
type: remove type ghost from ButtonTypes (#43675)
* type: remove type ghost from ButtonTypes

Signed-off-by: afc163 <afc163@gmail.com>

* chore: fix DropdownButtonType

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-07-20 17:59:35 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +08:00
Muhammad Sohaib Raza
5191b85b96
refactor: button (#40077)
* fix: type updated from any, and comments removed #15930

* refactor: removed unnecessary comments, created helper for button

* fix: cleanupTimer

* fix: import fixed

* Update components/button/button.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/dropdown/dropdown-button.tsx

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
2023-01-11 10:32:05 +08:00
lijianan
120db80c25
type: Button type optimization (#39533)
* type: type optimization

* fix type

* fix type

* fix type

* update docs
2022-12-15 17:48:29 +08:00
Dave
337703d550
refactor(type): replace interface with type for export component (#39060) 2022-12-01 14:33:51 +08:00
章鱼怪
ee3b94fcfc
fix: Dropdown.Button's dropdownRender is not executed (#38862) 2022-11-22 20:33:10 +08:00
二货机器人
ac85fbec6f chore: merge master 2022-11-13 14:33:07 +08:00
lijianan
fe9ac7b936
fix: incorrect warning (#38446) 2022-11-09 09:46:27 +08:00
二货机器人
d5cfd195dd chore: merge master 2022-11-07 23:32:46 +08:00
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender (#37885) 2022-10-23 00:33:45 +08:00
MadCcc
ca72c10feb Merge branch 'feature' into next-merge-feature 2022-10-22 13:14:19 +08:00
Yuki Zhang
9721ebe331
refactor: use Space.Compact for Dropdown.Button (#38090)
* feat: use Space.Compact for Dropdown.Button

* test: update button demo tests

* test: update config-provider demo tests

* fix: deps-lint-skip for dropdown

* fix: lint issue
2022-10-19 23:36:41 +08:00
MadCcc
03a1ae427d Merge branch 'feature' into next-merge-feature 2022-10-11 20:29:55 +08:00
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups (#37816) 2022-09-30 14:26:41 +08:00
lijianan
3588ae82c1
type: strong type (#37805) 2022-09-30 09:49:28 +08:00
yykoypj
bcb0b4dff1
feat: switch visible to open for Dropdown (#37232)
* feat: switch visible to open for Dropdown

* fix: merge state

* fix: props pass

* test: fix coverage
2022-09-02 17:22:23 +08:00
yykoypj
41a8003241
feat: switch visible to open for Dropdown (#36799)
* feat: switch visible to open for Dropdown

* feat: add warning when use visible

* fix: visible in dropdown-button

* chore: merge conflict

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-24 17:46:44 +08:00
二货机器人
d970d80fa0 chore: next merge feature 2022-08-05 15:23:36 +08:00
nuintun
dd6e93d4ae
feat: Dropdown button add danger status support (#36810)
* feat: Dropdown button add danger status support

* fix: Dropdown button danger test

* fix: Dropdown button danger test

* Update components/dropdown/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/dropdown/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
2022-08-04 10:49:55 +08:00
zombiej
8749c1ae04 chore: merge master 2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
MadCcc
1f5e271eb6 Merge branch 'master' into next-merge-master 2022-05-09 21:26:25 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
二货机器人
b4730281a9
refactor: Dropdown cssinjs support (#35214)
* chore: init

* chore: dropdown style

* chore: more style

* chore: icon style

* chore: more style

* chore: diff shows the cache path

* chore: motion support

* chore: more style

* feat: status

* chore: sub menu style

* chore: all dropdown style

* fix: ts

* chore: update snapshot

* Update components/dropdown/style/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* chore: update style

Co-authored-by: MadCcc <1075746765@qq.com>
2022-04-25 10:54:00 +08:00
afc163
8f06430336
fix: DropDownProps => DropdownProps (#35161)
* fix: DropDown => Dropdown

* chore: leave DropDownProps for compatibility
2022-04-21 22:09:59 +08:00
guhao.zeng
56c675cd52
fix: Dropdown button destroyPopupOnHide prop not working #33433 (#33442)
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2021-12-28 13:48:23 +08:00
Kayson Wu
2769f44536
feat: add loading prop for Dropdown.Button (#32467)
close #24017
2021-10-21 21:07:55 +08:00
Zuobin Wang
41fbcf10c1
refactor(dropdown): add dropdownButtonType export and refactor defaultProps (#31957) 2021-09-13 19:38:09 +08:00
afc163
f73a7d2e1a
fix: Dropdown.Button do not support overlayClassName (#31187) 2021-06-29 17:55:02 +08:00
陈帅
0d1b1c40a6
merge featrue into master (#30636)
* feat: add Table expandable fixed (#29959)

* fix: Use flex gap of space (#30023)

* fix: use flex gap when supported

* test: update snapshot

* refactor: Use single hooks

* feat: Allow breadcrumb component in PageHeader (#30019)

* Allow breadcrumb component in PageHeader

* Allow breadcrumb component in PageHeader

* Allow breadcrumb component in PageHeader

* Rename variable

rename var from _breadcrumbRender to breadcrumbRenderDomFromProps

* feat: add onChange for Statistic.Countdown (#30265)

* feat: add onChange for countdown

* update the demo

* feat(upload): add onDrop (#30319)

* feat(upload): Add onDrop

* Replace "if prop" logic with existential operator

* Remove redundant conditional

* feat(upload): itemRender add actions params (#30236)

* feat(upload): itemRender add actions params

* chore: optimize type definition

* chore: update doc

* chore: rename actions

* chore: trigger ci

* chore: rename method name of actions

* feat: Add missing dutch translations (#30389)

* feat: Add missing dutch translations

* fix: Translate remaining english values

* fix: Update snapshot for ui tests

* test: increase code coverage to 100% (#30415)

* test: fix Space code coverage

* test: should use nl_BE locale for DatePicker

* fix: Switch tabIndex type (#30416)

* feat: updated Romanian internationalization (#30419)

* feat: updated Romanian internationalization

* fixed lint error

* feat: Menu support accessibility & keyboard access (#30382)

* chore: Use focus style

* fix: prefixCls

* fix: prefixCls

* fix: inline tooltip

* fix: inlineCollapse logic

* fix: ts definition

* test: Update snapshot

* test: Update snapshot

* fix: dropdown logic

* test: Update snapshot

* test: Fix some test  case

* bump rc-menu

* test: More test case

* fix test finder

* test: fix test case

* test: Update snapshot

* test: Update snapshot

* chore: Update ssr effect

* test: Update ConfigProvider snapshot

* test: Fix Table Filter test case

* test: Fix table test case

* chore: Update style

* chore: beauti css

* bump rc-menu

* test: update snapshot

* test: update snapshot

* test: Fix menu test

* test: Fix test case

* test: Coverage

* chore: clean up

* bump rc-menu

* ehance accessibility style

* feat(radioGroup): support data-* and aria-* props (#30507)

close #30501

* feat: Typography add italic type (#30458)

* Typography增加斜体字支持

* update snapshot

* 文档添加版本号

Co-authored-by: lidahao <lidahao@sisyphe.com.cn>

* chore: alpha Menu fix merge (#30546)

* chore: Update script

* bump alpha version

* chore: Update script desc

* chore: bump rc-tabs & rc-mentions

* chore: Adjust style

* chore: 4.16.0-alpha.1

* test: Fix mention test case

* fix: sider of layout width style

* chore: bump 4.16.0-alpha.2

* fix: Tabs tabBarGutter should work as expected (#30545)

close #30526

* feat: Table summary support sticky mode (#30631)

* chore: Bump rc-table

* feat: Patch summary fixed color

* fix: style className

* test: Update snapshot

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
2021-05-24 16:24:00 +08:00
afc163
effb9d9eef
fix: Dropdown.Button do not support mouseEnterDelay (#30452)
close #30280
2021-05-10 10:37:52 +08:00
Tom Xu
4a3af4caef
refactor(dropdown): rewrite with hook (#24212) 2020-05-17 00:51:05 +08:00
xrkffgg
5d9d45b597
fix: dropdown button default placement in rtl (#24150)
* fix: dropdown button default placement in rtl

* change test
2020-05-14 15:06:50 +08:00
偏右
e188537c00
refactor: Dropdown.Button icon prop (#24020)
ref #24017
2020-05-10 23:53:29 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking (#21752)
* alert

* more icons

* another grouping

* all done
2020-03-02 12:09:38 +08:00
cjmafei
32e80157c6 Tooltip doesn't disappear on disabled Dropdown.Button (#20960) 2020-01-17 12:10:59 +08:00
偏右
2dc7b3fc17
feat: 🆕 Add buttonsRender to Dropdown (#20815)
* 🆕 Add buttonsRender to Dropdown

*  update snapshot

* 📝 update document for buttonsRender

*  fix demo lint
2020-01-13 12:15:20 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
Meck Zhu
2815198df6 fix: Dropdown.Button[title] should be optional 2019-08-09 18:10:00 +08:00
Amumu
187f8f8372 fix: button should accept title prop (#18130)
* pass title to button

* update

* update
2019-08-08 11:11:46 +08:00
Zzzen
f1ee189bd2 eliminate any type in exported interfaces.#14044 2019-06-16 20:51:47 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
* master:
  📝 Add bodyStyle and style of Drawer in documentation, #13850
  🐛 Fix Drawer style not working
  🐛 fix markStyle affset style
  Update Santa.jsx
  update changelog
  bump 3.11.6
  revert Christmas egg
  [type] make type of components compatible with ComponentType<P>
  bump 3.11.5
   site: make document side bar sticky
2018-12-25 16:28:50 +08:00
frezc
5f9b376456 [type] make type of components compatible with ComponentType<P> 2018-12-25 01:10:00 +08:00
afc163
607d08094d
🎉 Dropdown.Button support href prop 2018-12-21 21:12:36 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00