Yuki Zhang
c3e51506cc
feat: add Space.Compact ( #37652 )
...
* feat: add Space.Compact
* feat: update input style
* feat: add CompactItem for context memoize
* feat: add demo
* feat: update button style
* feat: update input style
* feat: 提取 getCompactClassNames 公用方法
* feat: update button style
* feat: update picker
* feat: add block prop for Space.Compact
* feat: use Space.Compact for Input#addonBefore/After
* feat: update addon
* refactor: compact
* feat: update
* feat: update
* feat: migrate styles to compact for new Input/Input.Search
* feat: organize input demo
* feat: add more button compact demo
* feat: resolve select border collapse
* feat: fix input addon select style
* feat: add input addon demo in Space
* feat: add useCompactItemContext hook
* feat: update compact-item style
* feat: rollback input#addon implements
* feat: rollback input#addon and input.search style
* feat: select border collapse
* feat: add Space.Compact demo
* feat: Space.Compact vertical for Button
* refactor: useCompactItemContext
* feat: update Button vertical demo
* feat: rtl for compact mixin
* feat: rtl for compact button
* feat: input rtl
* feat: add docs for Space.Compact
* test: add some tests for Space.Compact
* test: add tests
* feat: select style
* feat: handle select focus style
* feat: add useCompactItemContext for Picker and Cascader
* style: add compact-item style for cascader
* feat: support nested Space.Compact
* style: Input.Search in Space.Compact
* chore: clean
* feat: add useCompactItemContext for TreeSelect
* fix: lint issues
* fix: style lint
* docs: update demos for Space.Compact
* docs: update demo
* fix: add deps-lint-skip for space
* fix: add deps-lint-skip for space
* fix: handle edge case for useCompactItemContext
* test: add search test case
* chore: + bundlesize
* style: merge button compact style into one file
* style: improve style for nested compact
* fix: stylelint
* docs: update Space.Compact docs
* test: update demo snapshot
* test: update input debug test snapshot
* docs: update doccs for Space.Compact
* test: improve test cases for Compact
* docs: clean demos for Compact
* refactor: improve Space.Compact
* fix: add useCompactItemContext for Input.Search
* style: improve compact border-radius implementation
* refactor: use context to make nested compact works
* fix: input-number focused style
* refactor: remove useless style
* refactor: improve style for vertical compact
* test: update snapshot
* test: update snapshot for input
* refactor: improve compact-item-border-radius
* fix: search group in RTL
* style: improve style for button compact
* style: use after
* fix: stylelint
* chore: update snapshot
* style: improve button compact
* refactor: improve btn-icon-only style in compact
2022-10-18 16:23:10 +08:00
kiner-tang(文辉)
92a3c719dc
feat: Components under Form support custom disabled to override disabled of Form ( #37628 )
...
* feat: 当表单组件处于一个禁用的表单时, 该表单组件的禁用状态应该优先取决于表单组件本身的禁用状态
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: reset mergedSize change
* feat: reset mergedSize change
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: 优化 Checkbox 组件 disabled 逻辑判断
* Update components/switch/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: remove upload default value
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-09-20 16:48:59 +08:00
黑雨
8b05546367
feat: Replace dropdownClassName to popupClassName ( #36880 )
2022-08-05 11:21:07 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
MadCcc
1f080c299e
fix: Form.Item noStyle should not be affected by parent Form.Item ( #35849 )
...
* fix: Form.Item noStyle should not be affected by parent Form.Item
* test: update snapshot
* fix: status
* chore: code clean
* fix: modal and drawer
* test: fix lint
* chore: code clean
* refactor: noFormStyle
* chore: code clean
* revert: revert change in Form.Item
* chore: code clean
2022-06-06 23:39:00 +08:00
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps ( #35570 )
...
* chore: rm in root
* chore: fix ts
* test: Update snapshot
* chore: ignore part
2022-05-16 16:34:42 +08:00
afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +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
黑雨
b0a652580a
feat: Form disabled ( #35210 )
...
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
2022-04-29 20:48:10 +08:00
afc163
8f06430336
fix: DropDownProps => DropdownProps ( #35161 )
...
* fix: DropDown => Dropdown
* chore: leave DropDownProps for compatibility
2022-04-21 22:09:59 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
...
* refactor: feedbackIcon migration
* test: update snapshot
2022-03-25 17:48:12 +08:00
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
...
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
2022-03-24 21:54:20 +08:00
MadCcc
2258335e6c
feat: select support status ( #34084 )
...
* feat: select support status
* test: fix lint
2022-02-16 21:39:48 +08:00
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement ( #33541 )
...
* feat: select components add placement api
* feat: select components add placement api
* fix: delete placement
* fix: change md demo and delete export
* feat: cascader and tree-select add placement
* feat: datapicker add placement api
* fix: change repeat static declaration to single
* test: updata test units
* doc: change doc
* fix: delete merge message & delete decalare ts
* test: fix unit test
* fix: add transName in select & treeSelect & cascader
* fix: change common api in utils
* fix: change useless if block to only
* fix: change placement string to enum
* fix: lint done
Co-authored-by: 礼检 <ljj337009@antgroup.com>
2022-01-20 16:54:47 +08:00
二货机器人
ff88851c4c
chore: Bump Select related deps ( #33364 )
...
* chore: bump select related version
* test: Fix test case
* chore: bump rc-select version
* test: Update snapshot
* chore: Update Select ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* chore: Update ts definition
* chore: fix internal ts def
* test: update auto complete snapshot
* chore: update snapshot
* chore: bump version
* chore: fix demo ts
* chore: Move ValueType to the first place
* test: Update test case
2021-12-21 21:38:11 +08:00
张威
416482bb87
fix(select): omit getRawInputElement ( #31566 )
2021-08-02 12:07:26 +08:00
Gamote
a7130187ed
fix: undefined
was added to the SelectValue
type ( #30068 )
...
* Fix: `undefined` was added to the SelectValue type
* fix: `undefined` was added to the SelectValue type
2021-04-10 13:35:08 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
...
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
2021-02-08 17:09:13 +08:00
二货机器人
4315ac567c
chore: replace omit ( #28846 )
...
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
2021-01-13 21:00:30 +08:00
二货机器人
4703001e15
Revert "fix(Select): export SelectInterface to avoid ts error ( #27838 )" ( #27857 )
...
This reverts commit bc566c0731
.
2020-11-18 17:34:30 +08:00
pd
bc566c0731
fix(Select): export SelectInterface to avoid ts error ( #27838 )
2020-11-17 22:05:32 +08:00
Tom Xu
da681fe4dd
chore: improve select ref type ( #27594 )
2020-11-06 09:52:42 +08:00
Tom Xu
8faccc2563
fix: select ref typescript typo ( #27482 )
...
* fix: select ref typescript typo
* improve
2020-11-03 11:09:24 +08:00
Tom Xu
b0245e742b
refactor(select): rewrite with hook ( #27318 )
...
* refactor(select): rewrite with hook
* Update index.tsx
* Update index.tsx
* Update index.tsx
* fix test
* Update index.tsx
* Update index.tsx
2020-10-24 20:33:18 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
偏右
f4e76c603e
style: ⚡ remove Select choice animation ( #25852 )
2020-07-28 15:06:18 +08:00
二货机器人
67513cc71b
fix: Select icon interactive ( #25212 )
...
* fix: Select icon interactive
* updat snasphot
2020-06-24 23:28:54 +08:00
nitinknolder
b2c359cb34
fix: Add interface for Option props. ( #24870 )
...
* nitinknolder:export option props
* Add interface for option props in select component
* resolve pr comment
2020-06-10 11:00:01 +08:00
zefeng
3ca11e94ce
fix: Select default listItemHeight for small size & compact mode ( #24706 )
2020-06-03 17:13:22 +08:00
Tom Xu
747691f600
feat: ConfigProvider support virtual and dropdownMatchSelectWidth ( #23841 )
...
* feat: ConfigProvider support virtual and dropdownMatchSelectWidth
* update snap
* Update demo.test.js.snap
* update snap
2020-05-05 15:00:43 +08:00
xrkffgg
2cbad48ace
style: optimize select dropdown style in rtl ( #23097 )
2020-04-09 21:03:14 +08:00
偏右
06ba40e860
🆕 Add bordered prop ( #21242 )
...
close #19859
2020-02-06 10:02:02 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size ( #20570 )
...
* feat: Support form & ConfigProvider set component size
* update snapshot
* fix lint
* rm only
* update doc
* Table & Card support sizing
* Update snapshot
* fix lint
* update snapshot
* flush rest snapshot
2020-01-03 13:38:16 +08:00
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
二货机器人
4907996b97
feat: TreeSelect use virtual scroll ( #19040 )
...
* use new rc-tree-select
* support not found
* add switch icon support
* support function
* support selection motion
* show search icon if open
* clean up
* fix lint
* fix lint
2019-09-27 22:31:28 -05:00
二货机器人
2ea28af6ed
Virtual select component ( #18658 )
...
* init
* fix firefox
* add active style
* adjust arrow style
* update select
* update icon logic
* render empty
* init multiple
* fix ff display style
* sync font size
* adjust padding style
* add padding
* padding it
* hotfix of chrome
* single sm
* multiple size
* update option group style
* update snapshot
* clean up transition
* rm combobox in ts define
* auto complete init
* fix auto option def
* update demo
* update demo
* update uncertain demo
* update demo
* warning if user set `size` on AutoComplete
* add debug demo
* updat demo
* update demo of disabled
* update snapshot
* rm useless test
* fix pagination test
* fix Table test
* fix calendar test case
* fix calendar test case
* adjust style
* add big data demo
* support clean up
* fix ts define
* fix lint
* fix demo lint
* fix style lint fix
* rm useless deps
* update snapshot
* stop mock
* add space
2019-09-12 20:15:17 +08:00
zombiej
43b3da9eae
Merge remote-tracking branch 'origin/master' into 4.0-prepare
2019-09-04 16:20:28 +08:00
zombiej
aa9b9db4e1
add jsdoc
2019-09-03 15:01:42 +08:00
zombiej
4cac0a9822
warning if user use inputValue
2019-09-03 15:01:42 +08:00
zombiej
c0105aa48f
merge master
2019-09-03 14:35:58 +08:00
Daphne Won
9dc0378b3f
Add missing typescript inputValue to Select to enable placeholder to display for type string
...
Reason: RC-Select has this parameter to accept string value and it will
be a quick-fix to enable Typescript to acept inputValue.
Note:
- Added parameter in Documentation
2019-09-03 11:15:58 +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
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
afc163
57c28def68
revert unknown to any
2019-06-24 11:29:58 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
zombieJ
6853402e00
fix: Select ts define ( #16817 )
2019-05-27 16:17:43 +08:00
SylvanasGone
6eacfd7ebc
fix[Select]: add missing type definition ( #16504 )
...
* fix[Select]: add missing type definition
* update docs
2019-05-10 22:51:06 +08:00
Mathieu Anderson
6947d1bbaf
fix: TypeScript definitions for Select component's onSelect / onDeselect props, update inaccurate docs ( #16344 )
...
* Fix value param type for onSelect, onDeselect prop
* Fix docs for Select props (value, defaultValue, onSelect, onDeselect)
2019-05-03 22:10:45 +08:00
陈帅
30508b0124
fix error types ( #16043 )
2019-04-28 11:47:22 +08:00
陈帅
5e298dba51
3.14.0 Changelog ( #15145 )
...
* add responsive property to carousel (#15071 )
* add responsive property to carousel #15065
* extend carousel props from Slick type definitions #15065
* rm key in OptionProps (#15104 )
* update doc
* fix cascader should tab twice to exist (#15117 )
* fix cascader should tab twice to exist
* update snapshot
* Drawer Body padding should be variable
* fix DatePicker to support an array of formats (#15116 )
ref #13148
* table reader mobile friendly
* up
* up
* doc: add 3.14.0 changelog
* doc: fix ci warning
* doc: fix ci warning
* doc: fix typo
* doc: fix ci warning
* doc: fix ci warning
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* -m
* -m
* doc: fix cr warning
2019-03-04 10:45:15 +08:00