Tom Xu
edf7805922
fix: Radio.Group options: Element type is invalid ( #24666 )
2020-06-02 14:12:04 +08:00
偏右
b83c8636fa
chore: 📦 enable ESBUILD for site again ( #24657 )
...
* 📦 enable ESBUILD for site again
* re-enable ESBUILD 📦
2020-06-01 19:29:58 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
...
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
Tom Xu
2a3fc818d0
refactor(radio): rewrite with hook ( #24485 )
...
* refactor(radio): rewrite with hook
* fix lint
2020-05-27 10:21:17 +08:00
偏右
d13c76d7e4
refactor components/radio/group.tsx ( #24480 )
2020-05-26 22:26:51 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode ( #23135 )
...
* feat(theme): adjust font-size in compact mode
With compact theme mode, we adjust default font-size from 14px to 12px.
Closes #23015
* patch: update docs min font-size
* patch
* patch
* patch
* patch
* patch
* patch
2020-04-28 11:16:01 +08:00
xrkffgg
e652eef04c
style: add rtl base ( #22857 )
...
* style: add rtl base
* fix: add test snap
2020-04-09 12:39:10 +08:00
zefeng
4e20ed2b41
fix(rtl): fix radio rtl overrided by theme ( #22926 )
2020-04-04 22:27:11 +08:00
Amumu
4ef3215e1a
fix typo ( #22803 )
2020-04-01 11:13:08 +08:00
偏右
dc4d98a46a
🆙 upgrade rc-checkbox ( #22761 )
2020-03-30 22:14:13 +08:00
xrkffgg
289d66ac12
style: add rtl.less of Radio ( #22405 )
2020-03-19 19:53:24 +08:00
二货机器人
c86c3cf5a1
refactor: Adjust Radio.Group logic that value is undefined should be uncontrolled mode. ( #22245 )
...
* test driven
* adjust raido group logic
2020-03-16 12:47:24 +08:00
偏右
1eea3c5395
🐛 revert Radio no wrapping style ( #22229 )
...
close #22224
2020-03-15 19:44:10 +08:00
xrkffgg
8adefd4390
style: fix radio button in rtl ( #22066 )
2020-03-10 20:29:50 +08:00
二货机器人
578c4132a0
fix: ref in radio button has not forward ( #21895 )
2020-03-05 16:25:47 +08:00
afc163
c8a8e5d95b
💄 Radio.Group not wrapping now
2020-03-03 15:26:51 +08:00
zhangj
621df692b3
fix: Radio.Button type error ( #21807 )
2020-03-03 15:01:33 +08:00
GJ Wang
f78332171e
docs: fix size props ( #21724 )
2020-03-01 18:24:59 +08:00
zefeng
e3fbb0dbd4
chore: replace legacy context and use PureComponent ( #21597 )
2020-02-26 16:09:22 +08:00
zefeng
55133b7757
chore: use purecomponent replace shallow compare ( #21575 )
2020-02-25 16:23:34 +08:00
何乐
56bccb02a8
[Radio.Button] fix: replace 'outline' with 'box-shadow' ( #21392 )
...
* fix: replace 'outline' with 'box-shadow'
* chore: add transition for presudo element
* chore: use 'content-box' + 'padding' instead of 'calc()'
* chore: style lint
2020-02-16 18:26:11 +08:00
二货机器人
52a1600a01
fix: Badge number style ( #21235 )
...
* fix css priority
* update snapshot
* update snapshot
2020-02-05 13:52:26 +08:00
偏右
fd8d71717b
🆕 Add style for Checkbox & Radio Group options ( #21219 )
...
close #19739
2020-02-04 17:34:02 +08:00
偏右
7d47413afa
fix: Radio Group style with Badge ( #21215 )
...
* 💄 fix Radio Group style with Badge
close #21213
* ✅ update snapshot
2020-02-04 17:01:19 +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
zombiej
530db658bc
chore: Merge master
2019-12-30 16:43:34 +08:00
liyuanqiu
121437b666
Remove inconsistant style ( #20533 )
...
Remove "line-height: unset;" from ".@{radio-group-prefix-cls}".
It causes inconsistance with Checkbox.Group.
See: https://codesandbox.io/s/antd-radio-line-height-8kt7u
2019-12-30 16:01:29 +08:00
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
...
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
ycjcl868
dc1d1876f8
feat: @radio-dot-disabled-color
2019-12-02 12:03:05 +08:00
ycjcl868
817b2ab70d
feat: add @comment-bg, @anchor-bg, @radio-disabled-button-checked-bg, @radio-disabled-button-checked-color, @radtio-solid-checked-color
2019-11-29 09:04:39 +00:00
Qhan W
5a24beaf9f
docs: clean up version info in 4.0 ( #19876 )
...
* docs: clean up version info in 4.0
* docs: removed version column in 4.0
2019-11-22 14:37:39 +08:00
afc163
a51f7a0508
✅ test unmount
2019-08-27 18:31:01 +08:00
orzyyyy
6584b61eb5
test(radio): re-check in react 15
2019-08-06 15:36:13 +08:00
orzyyyy
91146e5e91
fix: correct type of key
2019-08-06 15:36:13 +08:00
orzyyyy
47fd80c8ad
fix: disable next line instead of the whole file
2019-08-06 15:36:13 +08:00
orzyyyy
06c1f1a77c
fix: disable jsx-a11y/label-has-associated-control
2019-08-06 15:36:12 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
afc163
d43ff9d37a
🐛 Fix Radio.Button disabled item style
...
close #17736
2019-07-22 10:47:49 +08:00
wenhong
77d8c92a16
chore: remove unnecessary disable default props
2019-07-19 17:05:29 +08:00
MuYu
fb0b4f0fc9
docs: show version Number features were added ( #17373 )
...
* docs: add api first appearance
* docs: fix auto-complete doc
* docs: replace Version Added with Version
* docs: date picker common method
* docs: date picker common method
* docs: tree
* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +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
afc163
13379aa0d8
💄 Optimize examples code style
2019-05-27 22:04:17 +08:00
afc163
b780070351
💄 prittier all files
2019-05-07 14:57:32 +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
zombieJ
4cfbeeac2e
use 8px for radio circle ( #16119 )
2019-04-16 15:48:36 +08:00
afc163
2737c00633
💄 Fix stylelint problems
2019-04-15 22:44:51 +08:00
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +08:00
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
2019-04-03 15:54:26 +08:00
William Cai
57c20e3622
refactor: add @radio-button-checked-bg
2019-03-20 16:46:23 +08:00
杨小事er
668c330cae
fix(radio): delete unnecessary onChange ( #14984 )
...
* fix(radio): delete unnecessary onChange
* fix(radio): fix multi trigger
2019-02-21 20:53:19 +08:00
米老朱
6936599aef
Enhance stylelint rules ( #14803 )
...
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
ztplz
18332d8e76
FIx RadioButton cause RadioGroup onChange event trigger twice ( #14523 )
...
fix #14485
2019-01-25 10:32:30 +08:00
ztplz
be51df6c4c
Format
2019-01-18 18:15:50 +08:00
ztplz
2d5b625177
Fix the bug that radio onchange will be ovrride by radioGroup onchange ( #14364 )
...
* Fix the bug that radio onchange will be ovrride by radioGroup onchange
* Update
* Remove unused comment
* Add tests
* Update
2019-01-18 16:12:47 +08:00
偏右
4102fe200b
💄 Improve Radio focused state style ( #14191 )
...
close #14186
2019-01-10 16:55:18 +08:00
afc163
1d06fbef4c
🐛 Fix disabled style of Radio.Button
...
close #14165
2019-01-08 00:04:39 +08:00
afc163
8b5e78f174
Merge branch 'master' into feature
...
* master:
Fixed Modal width when screen size smaller than 768px
🚨 coverage precision to 1
🚨 update .codecov.yml
💄 Fix Badge animation jump when count is ReactNode
fix Popover arrow narrow line at top
fix Popover arrow border in different directions
fix popover arrow top shadow
Change render of + & - icon fix #13924
🐛 loose button type propTypes for custom usage
fix input has min size close #3699
fix: fix-picture-spell-error
2018-12-26 20:47:12 +08:00
zombiej
73b5437b3a
fix input has min size
...
close #3699
2018-12-26 17:12:14 +08:00
zombiej
cdf4c1e6b8
merge origin/master
2018-12-18 19:18:08 +08:00
Damian Green
a140533a26
Fix lifecycle method for radio ( #13239 )
2018-12-17 15:01:55 +08:00
Gianfrancø Palumbo
219500ee7a
Fix cursor for radio button disabled state
...
Add a style for `ant-radio-inner` span element.
2018-12-16 20:43:52 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
afc163
a616f89a1b
🔥 update less code style
2018-11-12 12:02:30 +08:00
ztplz
6ad23c370e
Fix CI
2018-11-10 22:09:29 +08:00
afc163
9b9c4c7dec
fix typescript errors
2018-11-09 17:38:19 +08:00
afc163
f99b9ab56e
Remove wave effect of Radio.Button
2018-11-07 14:25:02 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
afc163
83cc148a7a
fix stylelint again by locking version :sad:
2018-10-31 17:51:22 +08:00
Jacques Kvam
4f8200bf53
more natural sounding english for radio component
...
This sounded a little awkward to me, so I tried to improve it.
2018-10-21 12:48:45 +08:00
afc163
2952a8625b
site: remove old version hint of API
2018-09-12 21:43:01 +08:00
afc163
754a22ca24
Fix radio align problem in safari
2018-08-11 20:57:43 +08:00
afc163
9cf6ae6010
Refactor and apply wave click animation to more components
...
now support Button, Tag, Radio.Button and switch
2018-08-11 15:14:34 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
Wei Zhu
6199340b5f
Merge branch 'master' into feature-3.8.0
2018-07-24 14:55:53 +08:00
Raphael Chauveau
08e83193f2
Multiple row selection ( #11406 )
...
This PR intends to solve issue #11404 (Multiple row selection in table component).
The Chinese documentation is missing from the PR. Could someone please add it ?
2018-07-24 14:49:23 +08:00
Ed Moore
cd5cbafdf0
Fix types for Radio Group
2018-07-23 14:33:47 +08:00
afc163
3eee357bfb
Add buttonStyle(outline|solid) for RadioGroup
2018-06-28 15:01:03 +08:00
afc163
c55fabc7b4
docs: improve radio API documentation
2018-06-28 14:18:23 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
2018-06-02 20:12:09 +08:00
Wei Zhu
8a6d9b92b7
Improve table types
...
Fix #10374
2018-05-07 12:32:26 +08:00
afc163
52c8f34a73
Fix radio border radius
2018-04-25 11:08:21 +08:00
Wei Zhu
7ee2eca848
Pass CheckboxGroup/RadioGroup prefixCls down to children ( #10002 )
...
Close #9950
2018-04-22 16:35:34 +08:00
Wei Zhu
473872af66
Remove AbstractCheckboxChangeEvent, fix TS4029 error
...
See https://github.com/Microsoft/TypeScript/issues/9944
2018-03-08 21:42:22 +08:00
Wei Zhu
f78e0098fa
Improve Radio/Checkbox type definition
...
Close #9574
2018-03-08 20:39:34 +08:00
niko
f2ba99978d
upgrade snapshots ( #9127 )
2018-01-25 18:24:59 +08:00
George Gray
a9abe14122
Vars for checkbox and radio ( #9003 )
...
* vars for radio component
* add @checkbox-color var
2018-01-18 10:22:03 +08:00
afc163
a0e5bb7336
Fix align issue in chrome
2018-01-03 21:10:16 +08:00
Wei Zhu
999d6184ad
docs: Sort api table
2017-12-29 20:22:58 +08:00
afc163
abf9717eab
Large component should has larger font size
...
14px => 16px
2017-12-28 15:41:48 +08:00
Graeme Yeates
1e47a6c518
Control checkbox button size with btn-height base instead of input-height-base ( #8340 )
2017-12-02 16:05:51 +08:00
Wei Zhu
d2dc88c470
Add focus() and blur() document
...
Close #3790
2017-12-01 19:28:41 +08:00
Wei Zhu
01f4b4e713
Merge branch 'master' into antd-3.0
2017-12-01 11:50:07 +08:00
afc163
7604495ab4
Fix RadioGroup id props
2017-11-27 10:49:17 +08:00
ChrisF
eb5d423ca7
make children prop of RadioGroupProps optional ( #8307 )
2017-11-24 15:36:59 +08:00
Wei Zhu
9b5a16ba93
Fix implicit any for Radio
2017-11-21 15:22:27 +08:00
Wei Zhu
9678d3fcfd
Focus && blur support ( #8204 )
...
* Add test for select
* Add focus() and blur() for AutoComplete
* Add focus() and blur() to Cascader
* Add focus test for input
* Add focus() and blur() for Checkbox
* Add focus() and blur() for Radio
* Add focus() and blur() for Switch
* Add blur() for TimePicker
* Add focus() and blur() to TreeSelect
2017-11-19 01:41:40 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
afc163
4eb9d5ef56
Merge branch 'master' into antd-3.0
2017-10-09 13:33:59 +08:00
afc163
475e4ff23d
upgrade eslint-config-airbnb
2017-10-09 13:27:35 +08:00
afc163
25771bed77
Tweak radio style
2017-09-29 11:45:01 +08:00
偏右
2bced36f0c
New component styles ( #7731 )
...
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
ChaXinyu
14e2a56b75
export components interface ( #7654 )
...
* export components interface
* export specific props
* fix formItem missed import
2017-09-25 22:14:49 +08:00
偏右
759b0bb821
seperate reset styles ( #7682 )
...
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
2017-09-22 18:33:29 +08:00
afc163
acc4061eeb
Tweak align problems
2017-09-21 18:13:36 +08:00
Benjy Cui
070b2696ba
chore: remove hacks for IE8-, close : #7447 ( #7512 )
2017-09-08 13:08:46 +08:00
Randy
e4c5ab9c69
Radiogroup with name
( #7009 )
...
* Add a name property for RadioGroup
* Add document for RadioGroup's name property
* Add test case for RadioGroup name property
2017-08-07 10:41:38 +08:00
afc163
6a17efcbf1
upgrade some devDeps and fix stylelint
2017-08-04 18:01:40 +08:00
Wei Zhu
401519ec6f
Fix types
2017-07-31 01:50:46 +08:00
clinyong
6f586ba243
change type of radio group value to any
2017-07-20 17:04:10 +08:00
neekey
7e522291c8
add unit px
to all less value, make them explicit
2017-07-17 17:44:40 +10:00
afc163
eccaeaea0e
Add click animation for checkbox and radio
2017-07-02 19:14:56 +08:00
Pierre Neter
f512baeb71
Add relative for radio-button-wrapper.
...
Fix e585103d4d (commitcomment-22720463)
2017-06-24 01:22:35 +07:00
Harshit Mehrotra
c7c3625899
Update docs for checkbox and radio
...
Update docs with prop "disabled" for Radio, RadioGroup, Checkbox and CheckboxGroup.
2017-06-23 16:38:22 +05:30
Pierre Neter
e585103d4d
Left border for wrap radio wrapper, small screen.
...
Fix #6492
2017-06-16 04:53:05 +07:00
afc163
8703145d70
Fix prop-types and createClass warning, #5678
2017-05-18 14:22:47 +08:00
Benjy Cui
2feb3d42e6
chore: add definition for Button[onMouseDown], close : #6054
2017-05-16 11:55:17 +08:00
Tyler
919cb22eb7
Use the prop-types package from npm instead of React.PropTypes ( #6057 )
...
* Use the prop-types package from npm instead of React.PropTypes
* Remove using of PropTypes from React in docs and site
2017-05-09 13:40:33 +08:00
BK Heleth
291ca97428
Fix #6044 | Radio.Button types ( #6053 )
2017-05-08 13:12:34 +08:00
Graeme Yeates
5841746ec9
Decompose @background-color-base into several variables
2017-04-28 16:04:41 -04:00
Graeme Yeates
ede77a8aa7
Consistently use @background-color-base for disabled states
2017-04-28 15:43:02 -04:00
afc163
45e7c86067
Fix Checkbox and Radio disabled cursor, close #5935
2017-04-27 20:58:46 +08:00
Graeme Yeates
1790642e98
Allow styling of radio button backgrounds ( #5791 )
2017-04-22 14:09:25 +08:00
Benjy Cui
eb9e19be1f
feat: make Checkbox work in Checkbox.Group, close : #5645 ( #5714 )
...
* refactor: simplify Radio's code
* feat: make Checkbox work in Checkbox.Group, close : #5645
* test: add snapshot
2017-04-14 16:20:09 +08:00
afc163
139eedf87c
update radio group demo
2017-04-05 11:32:35 +08:00
Wei Zhu
1a8e738142
Set snapshotSerializers
2017-04-02 18:09:23 +08:00
afc163
0bfb35c562
fix snapshot
2017-03-30 14:29:30 +08:00
黄子毅
0648172973
fix jslint ( #5514 )
2017-03-28 11:56:38 +08:00
afc163
4723173c33
update Radio demo description
2017-03-27 10:09:38 +08:00
Wei Zhu
68cdfc550d
refactor: RadioGroup's cloneElement to context ( #5453 )
2017-03-27 10:09:06 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Wei Zhu
54b49afd32
Use a special static property for type detecting
...
close #5359
2017-03-17 17:54:02 +08:00
一喵呜
5bf0552691
Radio组件的一个样式问题 ( #5336 )
...
box-shadow
2017-03-16 23:37:10 +08:00
Benjy Cui
15c3656a6d
test: update test for Radio className
2017-03-15 14:25:43 +08:00
Benjy Cui
4579d8c419
fix: should not generate className twice, close : #5295
2017-03-15 11:01:06 +08:00
afc163
696a3c0e34
fix Checkbox and Radio text alignment with form label, close #5276
2017-03-13 12:43:33 +08:00
Benjy Cui
758559f718
test: update snapshots
2017-02-28 16:14:53 +08:00
Benjy Cui
27def1e7dd
fix: should not generate cls twice
2017-02-28 16:14:53 +08:00
afc163
d8fb282088
Adjust checkbox and radio vertical, close #5001
2017-02-22 21:22:42 +08:00
afc163
18203972a1
rewrite Radio demos to es6 component, #4878
2017-02-20 22:04:17 +08:00
HQidea
7471780ffe
fix: fix Radio children === 0 ( #4882 )
2017-02-16 10:00:00 +08:00
afc163
94ec19570e
Make InputNumber & RadioButton height style more flexible
2017-02-15 11:47:22 +08:00
afc163
df1e30d9f8
Tweak radio vertical align
2017-02-13 16:38:31 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
Benjy Cui
d2b8d65c87
style: update code style to please lint, close : #2179
2017-02-06 12:09:58 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
Wei Zhu
f6c0e69af5
cleanup npm scripts ( #4499 )
...
* Cleanup npm scripts
* Lint fix
* Don't need ignore js files
* Upgrade jest
* Add components index.tsx test
2017-01-08 17:04:09 +08:00
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +08:00
Rex
ca8e88971a
fix: callback is triggered only when the value changes ( #4278 )
...
* callback is triggered only when the value changes
* optimize lastValue assignment
2016-12-19 10:52:47 +08:00
BK Heleth
a973ae18b5
docs: update document ( #4263 )
2016-12-16 16:38:14 +08:00
feng zhi hao
6e416f4746
optimize Radio declaration ( #4260 )
...
chore: optimize Radio declaration (#4260 )
2016-12-15 16:25:15 +08:00
Pierre
827aa2f94c
style: remove hardcoded inputs height ( #4175 )
...
* remove hardcoded inputs height
* revert pagination input height
* revert pagination input heights bis
2016-12-15 11:17:09 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
D & R
57bb12ca3c
fix: radio button在disabled和checked状态多了点box-shadow ( #4114 )
2016-12-05 13:15:49 +08:00
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
...
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
Will Chen
6b774a1343
docs: improve docs' detail ( #4050 )
2016-11-29 17:13:24 +08:00
Benjy Cui
932443099a
css: use @component-background, ref: #4040
2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
2016-11-29 09:54:54 +08:00
ddcat1115
29001ffe4c
Merge pull request #3830 from ant-design/fix-popover
...
Let Checkbox and Radio response hover events
2016-11-17 22:59:31 +08:00
afc163
16fdb00282
No need Radio[key] in RadioGroup
2016-11-17 17:50:26 +08:00
Meck
0a30315a32
Let Checkbox and Radio response hover events
...
Close #3455
2016-11-14 11:55:32 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
2d0f532f73
Improve checkbox and radio style (ref #3590 )
2016-11-08 21:42:46 +08:00
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
2016-11-08 20:48:03 +08:00
Benjy Cui
ad88118373
feat: support Radio.Group[children] = undefined | null, ref: #3721
2016-11-04 09:38:57 +08:00
Benjy Cui
01ddb398c7
feat: add Radio.Group[className]
2016-11-03 11:33:26 +08:00
afc163
002f3f5127
Fix Radio[disabled] style and add label-hovering style, close #3590
2016-11-01 00:54:47 +08:00
Wei Zhu
f8d2aeefc3
refactor: Replace react-addons-pure-render-mixin with rc-util/lib/PureRenderMixin ( #3627 )
2016-10-28 13:56:23 +08:00
Benjy Cui
08e21e0a2f
refactor: close : #3490
2016-10-24 16:30:38 +08:00
yiminghe
8afe3965c1
upgrade ts 2.0
2016-10-19 17:52:23 +08:00
afc163
be02817433
fix RadioButton style inside FormItem
2016-10-18 22:26:57 +08:00
afc163
00dd1d5f07
improve select doc
2016-10-14 11:29:45 +08:00
kvetoslavnovak
38962e19f2
Code example radio style - English translation ( #3367 )
...
Residual translation
2016-10-11 11:03:22 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
...
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
Marius Ileana
71683f0cf6
docs: radio/demo/disable.md - English translation ( #3006 )
...
English translation of labels
2016-09-12 10:10:43 +08:00
Marius Ileana
8e7fc057e6
docs: radio/demo/size.md - English translation ( #3008 )
...
English translation of labels.
2016-09-12 10:09:03 +08:00
Marius Ileana
df856b9d9a
docs: radio/demo/radiobutton.md - English translation ( #3007 )
...
English translation of labels
2016-09-12 10:08:40 +08:00
afc163
0e6f677ff9
Fix doc headings
2016-09-10 13:43:30 +08:00
Andrew Murray
0d00c5fb6c
docs: Fixed typos ( #2921 )
2016-09-01 18:12:12 +08:00
afc163
497ff0cabb
Merge branch "1.x-stable"
2016-08-31 15:00:13 +08:00
Benjy Cui
3411765ce9
Refactor ts ( #2760 )
...
* refactor: add interface form Calendar
* refactor: add interface for layout
* refactor: add interface for DatePicker
* refactor: add interface for Icon
* refactor: add interface for InputNumber
* refactor: add interface for Input
2016-08-19 17:11:06 +08:00
Benjy Cui
f21033c316
docs: tranlsation of Checkbox ( #2740 )
2016-08-18 11:22:55 +08:00
afc163
da6b65f7f0
Merge 1.x-stable
2016-08-12 14:47:01 +08:00
afc163
8402439a71
Fix some hardcoded style, close #2424
2016-08-11 17:16:38 +08:00
Benjy Cui
978b9f98e7
refactor: table ts ( #2664 )
...
* refactor: table ts
* fix: should pass context to onChange correctly
2016-08-11 15:38:03 +08:00
Benjy Cui
d3d6faf2f3
refactor: ts radio, ref: #2639
2016-08-10 10:26:42 +08:00
afc163
5eb52885d6
@background-color-base
2016-07-21 15:02:24 +08:00
却痕
e202c7d2b3
docs: translation of Rate && Radio ( #2440 )
2016-07-21 10:10:04 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
afc163
95351bfffa
Merge branch '1.x-stable'
2016-06-27 19:31:38 +08:00
afc163
089f1ae512
update components category name
2016-06-27 18:21:12 +08:00
afc163
ef4c1a4749
Merge branch '1.x-stable'
2016-06-27 17:58:16 +08:00
afc163
0eaf940672
Fix Radio & Checkbox margin again
2016-06-27 17:22:03 +08:00
afc163
cc4cab5b1e
Merge 1.x-stable
2016-06-23 23:11:14 +08:00
ddcat1115
618bea689d
fix #2114 ( #2146 )
2016-06-23 11:15:24 +08:00
afc163
695c26c859
Merge 1.x-stable
2016-06-22 22:56:55 +08:00
afc163
3cf0a59916
Better default margin for Checkbox & Radio, close #2137
2016-06-22 18:08:52 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00
偏右
09db9f2436
Revert "Remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead" ( #2074 )
2016-06-16 22:06:06 +08:00
Leon Shi
0f8855dff7
remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead ( #2055 )
2016-06-15 16:57:06 +08:00
Leon Shi
b83aaed358
improve Radio re-render performance
2016-06-12 16:19:03 +08:00
Benjy Cui
8842d9342a
site: update components' type
2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
2016-05-11 09:32:33 +08:00
afc163
0ca6a1c24a
css modularize ( #1448 )
...
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
e59715f98d
fix checkbox and radio empty span
2016-04-14 14:23:12 +08:00
Benjy Cui
9d95313d03
chore: suppress warning
2016-04-14 11:22:53 +08:00
afc163
dab3ce4513
Add focused style to Select & TreeSelect
2016-04-08 15:30:49 +08:00
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15
docs: update documentation format
2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8
docs: update demo format
2016-03-31 09:40:55 +08:00
Bruce Mitchener
ba965dc746
Convert several React.createClass usages to classes.
2016-03-29 11:13:04 +07:00
Bruce Mitchener
11c0a6a203
Name classes without Ant* prefix.
...
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.
The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00
afc163
17fa990a82
Add vertical RadioGroup demo, close #1119
2016-03-04 16:30:17 +08:00
afc163
6d24a3f002
Fix RadioGroup usage for #1119
2016-03-04 12:27:58 +08:00
afc163
a45ed7ee4c
Fix radio style prop
2016-03-04 12:07:17 +08:00
afc163
86b5c6eecc
Fix some style
2016-02-28 00:16:32 +08:00
afc163
870b7ade34
Fix radio group className
2016-02-26 17:15:46 +08:00
Benjy Cui
c1659c2ce3
style: update code style to please lint
2016-02-22 10:52:30 +08:00
afc163
5a032af8e9
update some code style
2016-02-21 14:04:08 +08:00
yiminghe
efd768bf07
allow more value type for radiogroup
2016-02-20 16:39:49 +08:00
Benjy Cui
29825f20c8
style: update code style to please lint
2016-02-17 18:04:42 +08:00
Benjy Cui
9d022ff84c
style: update code style to please lint
2016-02-17 15:57:33 +08:00
Benjy Cui
cd1391e6a2
style: update code style for object-curly-spacing
2016-01-27 17:00:58 +08:00
Benjy Cui
d06935528e
feat: customized size first
2016-01-27 12:00:27 +08:00
afc163
66b7ee81ad
fix eslint problems, eslint-config-airbnb@4.x
2016-01-23 15:22:16 +08:00
afc163
69935c5bbf
Add size for RadioButton, close #904
2016-01-21 22:45:21 +08:00
afc163
27975606f1
new radio button style according to design spec
2016-01-19 15:09:28 +08:00
Benjy Cui
b72d18fd44
style: update code style to please the fucking lint
2016-01-11 09:49:30 +08:00
Benjy Cui
209170e813
style: update demo code style to please lint
2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413
style: update code style to please lint
2016-01-11 09:49:30 +08:00
afc163
91bd7f22c0
use mountNode replace the long getElementById
2015-12-29 12:08:58 +08:00
afc163
eb828f0eba
Fix disabled props in RadioGroup, closes #603
2015-11-27 14:29:03 +08:00
afc163
d1d3329674
fix boolean attribute lint errors
2015-11-25 18:10:35 +08:00
afc163
16abf46071
Fix markdown eslint errors, update .eslintrc
2015-11-25 18:10:34 +08:00
afc163
c05652a140
Add radio button disabled style, fix #489
2015-11-06 22:03:09 +08:00
afc163
753c01ae18
ES6 syntax for demo code
...
fix antd.notification
2015-10-28 20:55:49 +08:00