afc163
756f06c2fe
chore: sync master into next branch
2022-04-20 11:30:55 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
2022-04-20 00:16:39 +08:00
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
...
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-18 21:02:11 +08:00
github-actions[bot]
16fb0e88a3
chore: auto merge branchs ( #35054 )
...
chore: sync master into next
2022-04-17 15:03:21 +00:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
zombiej
a8010d5422
chore: next merge master
2022-04-15 15:44:02 +08:00
二货机器人
67ccf39bd3
fix: Notification & message throw createRoot
warning in React 18 ( #35030 )
...
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
2022-04-14 18:09:19 +08:00
zombiej
d907338d79
chore: merge feature
2022-04-12 15:59:36 +08:00
zombiej
a0d1440050
chore: merge conflict
2022-04-11 17:41:54 +08:00
MadCcc
e5efbee968
refactor: Components based on Input migrate to genHook ( #34884 )
...
* refactor: Input base components use genHook
* chore: code style
* chore: code clean
2022-04-06 21:49:30 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
...
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
Minh Quy
445e6c6bca
feat: Support ref for Title, Text, Paragraph ( #34847 )
...
* feat: Support ref for Title, Text, Paragraph
* feat: Add tests for Title, Paragraph and Text
2022-04-05 13:02:32 +08:00
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
...
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
二货机器人
d437f9fad9
refactor: More token used on component ( #34766 )
...
* chore: add fontSizeIcon
* chore: cascader
* chore: slider token
* chore: slider token
* chore: move to outline
* chore: input style
* chore: input align
* chore: slider full
* chore: align inputNumber
* chore: input token
* chore: input-number token
* chore: mention token
* fix: ts def
2022-03-29 15:57:39 +08:00
二货机器人
2aa33578c2
refactor: Align with token ( #34713 )
...
* chore: Divider full token
* chore: typography with tokn
* chore: select with token
* chore: tree with token
* chore: select style
* chore: select style
* chore: clean up
2022-03-25 17:54:57 +08:00
二货机器人
d952088650
refactor: More alias token ( #34681 )
...
* chore: colorHighlight
* chore: bgSecondary
* chore: colorLink
* chore: link style
* chore: rm fly variables
* chore: colorAction
* chore: add warning comment
* chore: token outline
* chore: colorBgXXX
* chore: alert
* rm: zIndex
* chore: rm zIndexComponent
* fix: tag color checkabl
* chore: tags tmp
2022-03-24 14:30:48 +08:00
zombiej
b6fe34254d
Merge remote-tracking branch 'origin/feature' into next
2022-03-24 14:06:08 +08:00
二货机器人
b967f9eb81
refactor: More alias token ( #34658 )
...
* chore: rm disabled color
* chore: color heading
* chore: shows tokn
* chore: fix color mapping
* chore: status colors
* chore: durations
* chore: outline color
* chore: comment info
* chore: background color
* chore: merge nexr
2022-03-22 20:02:04 +08:00
youngz
80377f2243
feat: Typography.Text Pass event to onCopy. ( #34655 )
2022-03-22 16:52:44 +08:00
二货机器人
a7a180b913
refactor: Color related token ( #34648 )
...
* chore: move controlHeight in der
* chore: controlLineWidth
* chore: controlRadius
* chore: color
* chore: outline width
* chore: outline width
* chore: rm outlineBlurSize
* chore: colorTextLightSolid
2022-03-22 13:26:29 +08:00
二货机器人
608ce271b1
refactor: Move token to latest one ( #34637 )
...
* chore: rename motion
* chore: primary color
* chore: success color
* chore: all colors
* chore: mv control height up
* chore: font size format
2022-03-22 09:37:37 +08:00
afc163
ef09eefb85
refactor: Typography move to cssinjs ( #34372 )
...
* refactor: move to css in js
* add some style
* update code style
* update
* update
* update
* update
* add reset styles
* use token.errorColors
* remove less files
* add operationUnit
* getEditableStyles
* fix overflow
* fix ediable/copy
* fix ediable/copy
* refactor: move to css in js
* add some style
* update code style
* update
* update
* update
* update
* add reset styles
* use token.errorColors
* remove less files
* add operationUnit
* getEditableStyles
* fix overflow
* fix ediable/copy
* fix ediable/copy
* rtl style
* rtl style
* add TypographyToken
* fix ts
* use GenerateStyle<TypographyToken>
* fix ts errors
* fix ediable
* remove comment
* fix ediable
* fix ediable
* revert less files
* comment less
* fix review issues
* fix review issues
* fix review issues
* fix missing style
2022-03-16 19:10:36 +08:00
afc163
f3c5c17474
fix: Typography ediable style ( #34518 )
...
- [x] Fix Editable Textarea height jump in Firefox
- [x] Fix Editable Typography.Title confirm icon position
2022-03-15 21:03:06 +08:00
afc163
e1f453c988
refactor: Replace ConfigConsumer to ConfigContext ( #34365 )
2022-03-08 18:13:51 +08:00
afc163
0e27f8af7e
fix: typography title margin issue ( #34302 )
2022-03-04 22:10:16 +08:00
黑雨
c7fe1c8e26
fix: editable Typography.Title should match font size while editing ( #34169 )
...
* feat: editable Typography.Title should match font size while editing
* feat: update style
* feat: update style
* feat: update style
* feat: style lint
* feat: update style
* Update components/typography/style/index.less
* Update components/typography/Editable.tsx
* feat: reorganize css
* feat: style lint
* feat: update snap
Co-authored-by: afc163 <afc163@gmail.com>
2022-03-04 11:04:20 +08:00
二货机器人
811fed2fc2
refactor: Update rc-slider ( #34234 )
...
* chore: Update rc-slider version
* chore: bump
* chore: update sty;e
* fix: style
* test: update snapshot
* test: all fixed
* fix lint
2022-03-01 14:48:41 +08:00
opopeieie
58c1998e1e
fix: Typography copyable in clipboard incorrect ( #34034 )
...
Co-authored-by: chenxq <chenxq@neocrm.com>
2022-02-16 19:41:06 +08:00
soso
b66016a6f7
fix: useLayoutEffect to useIsomorphicLayoutEffect ( #33818 )
...
* fix: useLayoutEffect to useIsomorphicLayoutEffect
* chore: change to rc-util/lib/hooks/useLayoutEffect
2022-02-14 14:36:05 +08:00
二货机器人
fe185dcbce
fix: typography ellipsis check in transform ( #34007 )
...
* fix: typography ellipsis check in transform
* test: Update snapshot
2022-02-11 14:06:06 +08:00
linxianxi
19cc7d49e2
fix: Typography copyable add stopPropagation ( #33998 )
...
* fix: Typography copyable add stopPropagation
* add test
2022-02-10 16:22:31 +08:00
Di Wu
745ebf2d84
fix: Exception in enter key callback on editable or copyable Paragraph ( #33976 )
...
* fix: Exception on enter key callback
* Move spyOn position
2022-02-09 18:07:52 +08:00
MadCcc
a9bc316b80
fix: ellipsis should display tooltip if rows larger than 1 ( #33875 )
...
* fix: ellipsis should display tooltip if rows larger than 1
* test: add test case
2022-01-28 14:54:03 +08:00
dengqing
30086db63f
docs: ✏️ add note comment ( #33771 )
...
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-01-19 19:05:25 +08:00
二货机器人
395c549049
fix: Typography error on context ellipsis ( #33725 )
...
* chore: init measure
* chore: out of space
* refactor: Multiple render
* chore: auto cut
* feat: render split
* fix: ellipsis logic of suffix
* fix: ref missing
* fix: Tooltip missing
* test: snapshot
* chore: opt for textarea
* test: back part of ellipsis
* chore: back of ellipsis logic
* ellipsis logic
* fix: init ellipsis measure
* fix: ellipsis event
* chore: clean up
* test: Update snapshot
* fix: test
* test: Update snapshot
* chore: lazy ellipsis
* fix: check css ellipsis logic
* test: Update snapshot
* test: back of coverage
* chore: clean up
* test: ignore else
* test: clean up
2022-01-18 14:13:41 +08:00
二货机器人
18296d1c46
refactor: opt for typography Tooltip perf ( #33669 )
2022-01-11 12:04:50 +08:00
zombiej
7ae451729f
test: update snapshot
2021-12-27 10:58:29 +08:00
zombiej
6ed4d855b1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
...
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
2021-12-23 11:51:10 +08:00
zombiej
78a67d6615
chore: fix lint
2021-11-26 15:59:17 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
...
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
github-actions[bot]
bac876a14d
chore: auto merge branchs ( #32839 )
...
chore: sync master to feature
2021-11-12 07:15:31 +00:00
hydraZty
c179c39a3b
fix: Typography ellipsis with 1 row doesn't wrap ( #32735 )
...
Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local>
2021-11-04 15:38:33 +08:00
github-actions[bot]
5a1d8159b1
chore: auto merge branchs ( #32686 )
...
chore: feature merge master
2021-10-29 07:32:58 +00:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 ( #32609 )
...
* chore(deps): update dependency stylelint to v14
* Update package.json
* fix some stylelint
* fix some stylelint
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00
github-actions[bot]
c8150f872d
chore: auto merge branchs ( #32585 )
...
chore: sync feature into master
2021-10-21 05:42:17 +00:00
hydraZty
9fe5820cf0
fix: Typography ellipsis height error ( #32496 )
2021-10-21 13:22:13 +08:00
afc163
be064df13b
Merge pull request #32472 from ant-design/master
...
chore: sync master into feature
2021-10-13 19:17:48 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
...
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
afc163
3b27f47097
fix: Typography ellipsis not working in Table ( #32447 )
...
* chore: add reproduce demo
* fix: Typography ellipsis in Table
close #32432
2021-10-12 17:18:59 +08:00
afc163
d35576d675
chore: merge feature into master
2021-09-29 08:43:06 +08:00
Dreamcreative
4c1f4f941c
docs: modify Typography.Text ellipsis prop ( #32280 )
...
Co-authored-by: xc <xc@xcdeMacBook-Pro.local>
2021-09-24 16:56:38 +08:00
unknown
87849a9ce0
docs: fix typography/demo/basic.md
...
Update basic.md
fix snapshot
2021-09-24 13:50:32 +08:00
Sergey Kachanovskiy
7bded502e9
feat: triggerType prop for editable paragraph ( #32219 )
...
* feat: triggerType prop for editable paragraph
* feat: triggerType prop - conflict resolution
* feat: triggerType prop - conflict resolution
* feat: triggerType prop - conflict resolution
* feat: triggerType prop - demo fix
Co-authored-by: Name From Git-Plugin-Test <email.from.git.plugin.test@example.com>
2021-09-23 22:14:43 +08:00
Sergey Kachanovskiy
4a31561645
feat: enterIcon prop for editable paragraph ( #32220 )
...
Co-authored-by: Name From Git-Plugin-Test <email.from.git.plugin.test@example.com>
2021-09-22 21:54:27 +08:00
Antee
61c21a07f7
docs: delete duplicated property ( #32196 )
...
Removing duplicated property of `Editable` to make the Chinese version same as the English version.
2021-09-16 17:00:47 +08:00
afc163
af805c098b
test: fix eslint errors ( #31961 )
...
* test: fix eslint errors
* test: fix eslint errors
2021-08-30 13:04:21 +08:00
Zuobin Wang
7f16838631
chore(all): delete useless Omit define ( #31661 )
2021-08-04 20:07:28 +08:00
Hale Deng
c092ea89a7
docs: remove unnecessary type annotation in typography interactive demo ( #31564 )
...
Co-authored-by: Hale <hale@shundaojia.com>
2021-07-28 16:57:03 +08:00
k983551019
3549554a80
docs: Update typography/index.zh-CN.md ( #31506 )
...
多一列onEnd
2021-07-23 17:30:29 +08:00
Jógvan Olsen
dece6773c9
docs: remove editable duplicated mentions of callbacks ( #31481 )
2021-07-22 15:03:29 +08:00
afc163
79825fd318
fix: Typography.Text ellipsis bug ( #31449 )
...
* fix: Typography.Text ellipsis bug
* use getBoundingClientRect().height instead of offsetHeight
* reduce code
* revert table demo
* fix test case
* fix test cov
* fix test cov
* fix test cov
2021-07-20 13:51:03 +08:00
二货机器人
b7bb7a5e59
fix: italic should not warning ( #31004 )
...
resolve #31002
2021-06-16 15:52:05 +08:00
afc163
dd2d22698a
docs: Typography add demo of ellipsis from middle ( #30914 )
...
* docs: Add demo of ellipsis from middle
* fix demo
2021-06-09 11:44:20 +08:00
叶枫
f288aff9fe
fix: Typography icons
should ignore React.Fragment ( #30869 )
...
* feat: fix-text
* feat: 优化代码
* chore: add test
* chore: 打算重构 test
* chore: 重构 test
* chore: 重构 test
* chore: 重构 test
* feat: review
* feat: review
* feat: add test
* feat: add test
* fix: test
* fix: tsx
* fix: 优化
* fix: 优化
* fix: map 当前处理
* fix: getNode function
* fix: 优化方法
* fix: ci
* fix: aria-label
2021-06-06 13:41:26 +08:00
afc163
e851fa4548
fix: Typography ellipsis width not correct ( #30840 )
...
close #30835
2021-06-04 15:39:46 +08:00
afc163
9f0dbf2b4d
chore: upgrade to jest 27 ( #30783 )
...
* chore: upgrade devDeps
* upgrade @ant-design/tools
* support CSS Minification
* test: jsdom as testEnvironment
* fix setImmediate
* update snapshot
* fix test
* fix test
* fix test
* fix test
2021-06-01 10:11:24 +08:00
二货机器人
b0fc23957d
fix: HMR typography check logic ( #30754 )
2021-05-28 14:54:32 +08:00
二货机器人
5f3d0a6049
fix: Use css ellipsis when pure text ( #30664 )
2021-05-25 13:31:22 +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
e290874c51
fix: Typography ellipsis flush when contain suffix ( #30582 )
...
* fix: Typography ellipsis flush when contain suffix
* update snapshot
* fix Text default rows
* fix Text default rows
2021-05-19 13:17:58 +08:00
John
60cad5a765
fix(typography): editable
should not trigger links ( #30354 )
...
closed #30353
2021-04-29 17:03:24 +08:00
xiejiahe
c2e0cf5154
style(typography): remove null check ( #30248 )
2021-04-21 16:43:01 +08:00
CodingYingYingYing
a21c1a88c1
fix: Typography.Paragraph\Text\Title ts ( #29787 )
...
* fix: Typography.Paragraph\Text\Title ts
* feat: add doc
* feat: title ts
* feat: cr
* chore: revert
* chore: ts
* feat: doc/sort & drop onChange
2021-03-23 13:32:37 +08:00
陈帅
ecf4bbe15d
Merge pull request #29761 from ant-design/feature
...
Feature
2021-03-14 16:38:43 +08:00
xrkffgg
8622c39f29
docs: update typography api show
2021-03-14 16:35:09 +08:00
陈帅
c673cde7de
merge Feature into master ( #29758 )
...
* feat: add onCancel and onEnd option for editable (#29615 )
* feature: add onCancel and onEnd option for editable
* doc: editable
* doc: add EN doc
* optimize: code
Co-authored-by: chenliang <chenliang9@xiaomi.com>
* feat: add parent class for different notification types (#29634 )
close #29417
* refactor: Upload use origin behavior (#29737 )
* refactor: Fallback of events
* test: Fix test case
* fix: Start file update logic
* fix: remove status update
* test: Remove wrapTest
* test: Fix test case
* chore: bump rc-upload
* docs: About desc
* feat: tab support moreIcon (#29744 )
* feat: Tabs support moreIcon
* docs: Tabs support moreIcon
* style: lint
* docs: add english document
* Update components/tabs/index.zh-CN.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
* Update components/tabs/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
* Update components/tabs/index.zh-CN.md
* Update components/tabs/index.en-US.md
Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: jueinin <1014397160@qq.com>
Co-authored-by: chenliang <chenliang9@xiaomi.com>
Co-authored-by: 不吃猫的鱼 <michael2ib1989@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Tianyuan Zhang <tianyuan233.zhang@gmail.com>
Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-03-13 23:46:32 +08:00
jueinin
24d1b3c39c
feat: add onCancel and onEnd option for editable ( #29615 )
...
* feature: add onCancel and onEnd option for editable
* doc: editable
* doc: add EN doc
* optimize: code
Co-authored-by: chenliang <chenliang9@xiaomi.com>
2021-03-06 13:06:32 +08:00
Tom Xu
e5d908a078
docs: format api ( #29537 )
2021-03-01 19:20:48 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
...
* refactor: use optional chaining instead of if
* revert some code
2021-02-19 18:26:53 +08:00
Kermit
7368b05b05
fix: update snapshot ( #29309 )
2021-02-10 15:10:39 +08:00
afc163
1d437534a0
docs: fix broken links
...
close #29294
2021-02-09 19:25:55 +08:00
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
...
* style: prettier code
* update
* Update index.less
2021-01-30 19:39:02 +08:00
cnjs
1ea1ec7876
docs: update Typography doc ( #29033 )
...
* doc: update Typography doc
* doc: update Typography doc
* docs: update symbol doc
2021-01-27 17:26:38 +08:00
afc163
a5bdf5aedd
chore: fix tsc error
2021-01-14 14:42:01 +08:00
afc163
b22f1ec306
chore: fix tsc error
2021-01-14 14:32:42 +08:00
afc163
ea9c71a94e
Merge branch 'feature' into master-to-merge-feature
2021-01-14 14:26:09 +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
二货机器人
a9bd80916d
feat: Typography ellipsis support tooltip ( #28821 )
...
* feat: ellipsis support tooltip
* chore: Update test snapshot
* test: Coverage
* chore: fix ts definition
* clean up
2021-01-12 16:46:59 +08:00
二货机器人
a70d301c7b
fix: typography focus ( #28545 )
2020-12-26 21:58:35 +08:00
einq7
fa376f9c82
docs: prettier markdown ( #28510 )
2020-12-24 12:02:57 +08:00
偏右
0ca5e686d9
fix: Typography.Link copyable text default behavior ( #27982 )
...
close #27966
2020-11-24 20:05:49 +08:00
Hossein Mohammadi
8a1dfe8af1
chore: use rc-util istead of ref.ts ( #27920 )
...
ref.ts remove
2020-11-21 15:40:06 +08:00
Tom Xu
44e41b5ced
refactor(trans-button): rewrite with hook ( #27743 )
...
* refactor(trans-button): rewrite with hook
* Update Base.tsx
* Update util.test.js
* Update transButton.tsx
* Update transButton.tsx
* Update transButton.tsx
* Update util.test.js
2020-11-18 11:20:31 +08:00
wf-francescoalbanese
696396a62f
refactor: make autosize true by default ( #27814 )
...
Made `autoSize = true` by default deconstructing it from props, rather than explicitly checking if it's undefined at render times.
2020-11-17 11:02:59 +08:00
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
...
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
xrkffgg
c80524f475
fix: Typography.Link disabled hover style ( #27734 )
2020-11-13 09:06:35 +08:00
Tom Xu
4b8674d9e9
refactor(editable): rewrite with hook ( #27655 )
...
* refactor(editable): rewrite with hook
* Update Editable.tsx
* chore: imrpove
* Update Editable.tsx
* Update Editable.tsx
* Update Editable.tsx
2020-11-11 11:28:06 +08:00
xrkffgg
36cdf0a129
refactor: direction type define ( #27540 )
2020-11-04 14:12:45 +08:00
Liu Ya
e954079dd0
fix: Typography.Link color not disabled ( #27487 )
...
修复 Typography.Link disabled时悬浮、点击颜色问题
2020-11-02 10:35:45 +08:00
Troy Li
07d4022e18
fix: Invalid regular expression for particular ellipsis content ( #27383 )
...
* fix: Invalid regular expression for particular ellipsis content
* fix: ellipsisContent is possibly nullable
* test: add test cases for ellipsis string with parentheses
2020-10-26 22:11:13 +08:00
偏右
9a368a59f1
fix: Typography ellipsis title ( #27328 )
...
* fix: Typography ellipsis title
close #27324
* fix ci
2020-10-23 19:31:41 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
...
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
2020-10-23 18:50:46 +08:00
Tom Xu
d44f404eae
docs: sort api ( #27251 )
...
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
2020-10-21 10:33:43 +08:00
Tom Xu
e234a71ecd
refactor(typography): remove deprecated ( #27158 )
2020-10-17 17:23:22 +08:00
二货机器人
43e2651b9c
fix:Typography miss block & pre style ( #27150 )
...
* feat: Add block & pre style
* fix lint
2020-10-14 19:56:31 +08:00
Tom Xu
b896556823
style: fix Typography Link color ( #27119 )
...
* style: fix Typography Link color
* Update index.less
2020-10-13 18:31:48 +08:00
偏右
88fde9f9f7
style: fix Typography Link color ( #27104 )
...
close #27088
2020-10-12 16:24:26 +08:00
Liu Ya
41d520ab82
docs: update Typography.Text ( #27093 )
2020-10-12 10:49:17 +08:00
zhangchen
138b953afd
feat: TextArea showCount ( #26952 )
...
* feat: TextArea showCount
* update: TextArea showCount test
* update: TextArea showCount test
* update: test
* update: test
* update: test
* update: interface
* revert: interface change
2020-10-10 11:30:58 +08:00
Vineet Srivastav
f2766df2e1
style: fix @link-decoration in Typography.Link ( #26854 )
2020-09-22 16:57:37 +08:00
偏右
fc5e0a9155
test: ✅ 100% coverage ( #26839 )
...
* test: isStyleSupport
* test: 100% test coverage
2020-09-21 18:32:24 +08:00
afc163
935773a0d0
test: recover test case expect
2020-09-18 11:51:21 +08:00
afc163
2f736441af
test: ignore code which never run into
2020-09-18 11:49:50 +08:00
afc163
2980444bd6
test: fix lint
2020-09-16 17:36:44 +08:00
afc163
cc6d2f2157
test: ignore code which never run into
2020-09-16 16:00:12 +08:00
偏右
e745e24677
fix: Invalid value for prop navigate
on Link ( #26623 )
...
close #26622
2020-09-07 17:37:49 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
xrkffgg
a46c5ce19b
docs: update typography demo ( #26604 )
2020-09-06 11:28:49 +08:00
偏右
abf95437f1
fix: Typography copyable tooltips ( #26259 )
...
* fix: Typography copyable tooltips cannot accept empty string
https://github.com/ant-design/ant-design/pull/25953#issuecomment-674480396
* fix snapshot change
2020-08-18 16:14:14 +08:00
llwslc
ff7aca19cc
feat: add Typography.Text type success ( #26145 )
...
* baseType & style
* update demo
* update snap
* update document
* remove type primary
2020-08-13 10:13:32 +08:00
偏右
487d3e46c0
docs: improve typography API table ( #26102 )
...
* docs: improve typography API table
* Update components/typography/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
* Update components/typography/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
* docs: update doc
* docs: update
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-10 10:44:16 +08:00
llwslc
15b30e6761
feat: customize Typography.Paragraph copyable and editable ( #25953 )
...
* Merge branch 'feature' of github.com:ant-design/ant-design into antd
# Conflicts:
# components/typography/__tests__/__snapshots__/demo.test.js.snap
# components/typography/demo/interactive.md
* add icons & tooltips test
* remove Array<React.ReactNode> definition
* clean up useless code
* refactoring
* React.ReactNode already contains string
* 1. keep aria-label attribute
2. customize edit icon & tooltip
* rebase feature
* update snapshots
* update abi document
* update demo & document
* copyable icon & tooltip document
* version document
2020-08-09 12:56:35 +08:00
afc163
4dbf74afae
fix typography snapshot
2020-08-05 15:00:35 +08:00
afc163
45cbbd6034
merge feature into master-to-merge-feature
2020-08-05 14:49:10 +08:00
zhangchen
2f99dd8c19
fix: Typography demo Interactive ( #25908 )
2020-07-30 16:54:49 +08:00
xrkffgg
672066ccae
feat: add Typography.Title level 5 ( #25861 )
...
* feat: add Typography.Title level 5
* fix test
2020-07-28 20:39:43 +08:00
CornerSkyless
ab9c477638
feat: Add maxLength and autoSize in Typography editable config ( #25373 )
...
* feat: Add maxLength and autoSize in Typography editable config
* doc: add version column of maxLength and autoSize
* doc: add demo of maxLength and autoSize
* doc: simplify version column of autoSize and maxLength
* doc: fix version column of autoSize and maxLength
* snapshot: add snapshot
* snapshot: add snapshot
* doc: add version column of maxLength and autoSize
* doc: simplify version column of autoSize and maxLength
* snapshot: add snapshot
* update version column
* feat: Add maxLength and autoSize in Typography editable config
* doc: add version column of maxLength and autoSize
* doc: simplify version column of autoSize and maxLength
* doc: fix version column of autoSize and maxLength
* snapshot: add snapshot
* snapshot: add snapshot
* doc: add version column of maxLength and autoSize
* doc: simplify version column of autoSize and maxLength
* snapshot: add snapshot
* update version column
* add snapshot
2020-07-28 17:48:37 +08:00
二货机器人
fa6fe56a6a
chore: Default break word ( #25516 )
2020-07-08 22:33:07 +08:00
xrkffgg
ebb57ae63e
docs: format api space/breadcrumb/dropdown ( #25296 )
...
* docs: format api space/breadcrumb/dropdown
* fix function
* fix fcunciton before
2020-06-30 11:25:55 +08:00
xrkffgg
b9cd990693
docs: format api button/icon/typography ( #25292 )
2020-06-29 21:43:22 +08:00
偏右
3e3d1eedcf
feat: customize Typography.Paragraph copyable ( #25274 )
...
* ✨ customize copyable with tooltip and icon
* 💄 fix copyable icon margin
* 📝 custom icon and tooltips demos
* 📸 updating sanpshots
* 📝 updating copyable api
* fix snapshot
* fix tooltips type
* fix tooltips type again
* update documentation
Co-authored-by: Israel kusayev <israel.kusayev@gmail.com>
2020-06-29 12:25:48 +08:00
afc163
bbc95a12a4
merge feature into master-to-merge-feature
2020-06-19 13:22:11 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
...
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
2020-06-17 23:18:14 +08:00
偏右
b6cf00aded
Merge pull request #24985 from ant-design/master
...
chore: merge master into feature
2020-06-14 23:29:07 +08:00
Kermit Xuan
294fc8a7ea
chore: replace textarea with rc-textarea ( #24966 )
2020-06-13 14:24:56 +08:00
xrkffgg
2331ed0b39
docs: reduce typography demo ( #24915 )
2020-06-11 21:20:08 +08:00
二手掉包工程师
57190f197b
refactor: clean up some deprecated APIs ( #24881 )
2020-06-10 11:12:31 +08:00
zoomdong
9a6c2f667a
docs: fix typo of Typography ( #24883 )
...
* docs:typo of Typography
* update snap
2020-06-10 10:06:17 +08:00
zoomdong
68a185a08f
docs: change demo on Typography.paragraph ( #24633 )
...
* fix: demo on Typography.paragraphy
* fix: demo
2020-06-01 11:56:28 +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
二货机器人
e915a83326
Merge pull request #24606 from ant-design/feature
...
chore: master merge feature
2020-05-31 09:11:01 +08:00
二货机器人
d89cca53b1
docs: Text ellipsis ( #24603 )
2020-05-30 22:33:24 +08:00
二货机器人
77c5adbe4d
feat: New Tabs ( #24552 )
...
* init style
* support size
* editable
* add shadow
* update demo
* fix nest style
* update rtl
* update snapshot
* bump
* fix hover
* fix test case
* fix style lint
* clean up
* updat docs
* add onTabScroll
* upgrade rc-dropdown
* update snapshot
* clean snapshot
* clean up
Co-authored-by: afc163 <afc163@gmail.com>
2020-05-30 18:28:25 +08:00
afc163
d039e32e6b
merge feature into master-to-merge-feature
2020-05-28 15:30:36 +08:00
zefeng
84df944aaf
chore: remove duplicate code ( #24504 )
2020-05-27 19:19:32 +08:00
zoomdong
4e9fc51dba
feat: add custom expand style for typography.paragraph ( #24385 )
...
* feat: add custom expand style for typography.paragraph
* feat: delete filed-form
* fix: lint error
* feat: add test case
* fix: typo
2020-05-26 11:54:52 +08:00
Kermit Xuan
84bd53627b
fix: 🐛 Typography title prop support ( #24440 )
2020-05-25 19:04:40 +08:00
afc163
d6d485b72d
merge feature into master-to-merge-feature
2020-05-19 18:25:51 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion ( #24254 )
...
* init fix
* fix rtl
* clean up
* update snapshot
* fix style lint
* add motion of inner
* update un-checked focus style
2020-05-18 17:31:46 +08:00
二货机器人
1a82efa5ca
Text support keyboard ( #24195 )
2020-05-16 14:43:29 +08:00
zombiej
55332f6971
fix: Test case
2020-05-14 16:36:05 +08:00
zombiej
e6b1b1a4e7
Merge remote-tracking branch 'origin/master' into feature-merge-master
2020-05-14 16:19:39 +08:00
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
...
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
zombiej
339246d316
chore: Merge master
2020-05-13 11:59:15 +08:00
xrkffgg
64d151aa81
style: optimize typography expand style in rtl ( #24084 )
2020-05-12 17:58:45 +08:00
二货机器人
80e3dfa9be
feat: Add Link component to prepare for rm global style ( #24019 )
...
* init
* move to base
* add link component
* update snasphot
* update snasphot of test
* move to Typography
* update test case
2020-05-11 14:28:57 +08:00
偏右
2c86aebfa3
Merge pull request #23426 from ant-design/master
...
chore: merge master into feature
2020-04-21 11:24:57 +08:00
二货机器人
1d50004644
feat: Typography support onEllipsis ( #23414 )
...
* feat: support onEllipsis
* add test case
* update doc
2020-04-21 10:13:57 +08:00
偏右
fc98ab7222
test: increase test cov for Layout and Typography ( #23407 )
2020-04-20 19:18:53 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
...
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
2020-04-03 15:02:11 +08:00
二货机器人
4bd488bfbe
fix align logic ( #22836 )
2020-04-01 23:31:22 +08:00
zombiej
913204282b
merge master
2020-03-28 16:31:17 +08:00
Rustin
7b94e0bfb2
refactoring: replace deprecated React.SFC with React.FunctionComponent ( #22691 )
...
* refactor: replace deprecated React.SFC with React.FunctionComponent
* refactoring: use typedef FC
2020-03-28 11:56:57 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
...
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +08:00
偏右
66f67051af
test: ✅ improve test for requestAnimationFrame ( #22433 )
...
* test: improve test for requestAnimationFrame
* ✅ fix test coverage
* fix test case
* fix test case
2020-03-20 15:07:47 +08:00
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
2020-03-19 12:13:24 +08:00
二货机器人
7c2e2af9a7
Merge pull request #22301 from ant-design/master
...
chore: Feature merge master
2020-03-17 17:07:38 +08:00
二货机器人
4b2e88caaf
fix: Typography list style ( #22284 )
...
* fix typography list style
* update snapshot
2020-03-17 11:30:16 +08:00
afc163
46a8cf7dc7
merge feature into master-to-merge-feature
2020-03-16 15:52:39 +08:00
xrkffgg
839a19af58
style: add rtl.less of button\typography\grid ( #22252 )
2020-03-16 15:16:05 +08:00
Blaz Pocrnja
c8f437ea02
Ellipsis onExpand function takes event parameter ( #22092 )
2020-03-11 11:11:25 +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
zombiej
9eab33e09b
merge master
2020-02-19 13:20:43 +08:00
偏右
22908c4010
🐛 Typography editable should focus at the end ( #21268 )
...
close #21261
2020-02-07 13:15:24 +08:00
xrkffgg
4388a96c32
docs: Format string notation of all components ( #20970 )
2020-01-17 17:23:47 +08:00
zouxiaomingya
563f46b130
feat: update article length ( #20767 )
2020-01-08 19:21:23 +08:00
zouxiaomingya
3630569424
🐛 fix: Typography ellipsis miss calculate decimal ( #20689 )
2020-01-06 16:26:54 +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
9e8ce489e9
merge master
2019-12-25 19:09:17 +08:00
zouxiaomingya
1ebf5fa4b7
feat: Typography add suffix ( #20224 )
...
* feat:Typography add suffix
* feat:run test
* fix:lint
* feat: update suffix example
* feat: update test
* fix: updateupdateSnapshot
* fix: upate test
* run lint
* feat: measureSuffixText
* feat: suffix 不可省略
* fix: title
* fix: update node_modules
* fix: change title type
2019-12-24 11:59:17 +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
约修亚
f4fd7cf0da
Update index.zh-CN.md ( #20382 )
...
API中遗漏了code属性?
2019-12-23 11:13:01 +08:00
二货机器人
407a41a142
feat: New Picker ( #20023 )
...
* init generate
* basic style
* basic panel style
* update mode panel style
* update style
* generate More picker
* default clear icon
* chore: Update separator type
* feat: Add ranged start & end className
* update range style
* Add transition effect
* support size config
* adjust range style
* chore: Auto fill time by showTime
* auto set time by format
* update disabled style
* update seperator style
* ranges style
* support extra footer style
* remove useless test case
part is not usable anymore
part is already tested in rc-picker
* init calendar
* all demos
* fix calendar basic test
* fix time-picker test case
* update snapshot
* fix tooltip test case & lint
* fix locale & style lint
* fix compile
* fix style
* fix style lint
* fix calendar style
* update rc-picker version
* adjust style
* move picker placeholder into locale file
* update snapshot
* add hover style
* update picker version
* fix icon position & style
* update picker version
* update deps for pading
* fix: align of suffix
* feat: Year & Month support range effect
* adjust range style to support up-down placement
* update rc-picker
* update range picker style
* adjust extra footer line style
* update snapshot
* fix: Locale error
* fix: style lint
* fix: add missing button style deps
* update test case
* fix firefox additional white line style issue
* rollback demo
* fix ff additional blue color
* docs: Remove placeholder in demo
* rangepicker ranges is tag now
* connect start / end background color with picker range
* update deps
* update deps for fixing blur text issue
* hide start-end demo
* range hover style update
* hover range with ranged value
* black magic of inner hover style
* hover style of range adjust
* fix css select miss hit on DatePicker
* remove one eslint rule
* fade range hovered color
* week should alway not show the cell selection
* update style of selection
* update snapshot
* fix style
* add margin back
* update rc-picker deps
* update date & time picker & form style
* fix disabled demo & update form style
* update docs about allowEmpty
* hide arrow in time range picker
* add hover & focused style
* fix lint
* fix style & update snapshot
* raise disabled selector proirity
* fix disabled today border color
* extra footer provides an bottom line
* time picker hover support transition background
* add padding style
* fix Firefox not correct calculate inline-flex
* fix style
* fix week picker missing today border color
* rm useless padding
* Force padding to 0
* test coverage
* dedup eslint rule
* adjust logic to imporve coverage
* fix render cell logic
2019-12-11 23:32:19 +08:00
afc163
adf5288524
💄 Fix Editable Textarea flash in Firefox
2019-12-06 12:03:16 +08:00
afc163
4300c046a0
📝 improve Typography demo description
2019-12-06 12:03:16 +08:00
afc163
fb68fcdc05
💄 use classNames in Editable
2019-12-06 12:03:16 +08:00
叶枫
4f43482059
feat: export interface ( #20111 )
...
* feat: add export
* Update Title.tsx
2019-12-06 10:44:47 +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
Ms. Wang
84c4e1e10f
Removed version cloumn in 4.0 ( #19872 )
2019-11-22 10:33:34 +08:00
zombiej
3c26ac9a54
chore: merge master
2019-11-06 10:34:53 +08:00
afc163
c083d13fc4
✅ fix test cases
2019-11-05 01:59:14 +08:00
zombiej
7a12b2b1ae
merge master
2019-10-30 16:28:28 +08:00
Aaron Cawte
693d5a1434
General components doc tweaks ( #19416 )
...
* Documentation - Button Component
* Documentation - Icon Component
* Documentation - Typography component
2019-10-25 09:56:30 +08:00
zombiej
559e56c7f8
fix: Tree shaking should works on withContext
2019-10-21 13:38:38 +08:00
zombiej
c75bbbd13d
merge master
2019-10-16 10:44:56 +08:00
yoyo837
fb2bafbfdc
upgrade snapshot
2019-10-15 19:13:38 +08:00
yoyo837
cd3d9efd9f
Merge branches 'add-args-unsorting' and 'master' of github.com:ant-design/ant-design
2019-10-15 17:52:59 +08:00
yoyo837
0522d55f26
snapshot
2019-10-15 16:33:17 +08:00
Dmitriy
a2f28f0ca7
💄 add @typography-title-margin-top and @typography-title-margin-bottom ( #18746 )
...
* add: Typography mixins. add: Created typography variables (margin, font-weight). moved: Typography internal variables
* fix: heding margin moved: prefix variable out of default.less
* fixed: circleci
* 🗑 Remove @typography-title-margin-left and @typography-title-margin-right
* 🗑 Remove unused vars
2019-10-15 16:13:39 +08:00