lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
二货爱吃白萝卜
60dbef4963
feat: Disable motion ( #41856 )
...
* feat: Add motion off
* chore: update motion seed
* chore: all motion disabled
* test: add test case
* chore: fix lint
* chore: fix cov
* chore: fix motion of Switch & Segemented
* test: ignore empty
2023-04-23 15:42:36 +08:00
二货爱吃白萝卜
8c094ba792
feat: ConfigProvider support config popupOverflow
for scroll logic ( #41676 )
...
* feat: popupOverflow
* test: add test case
* docs: preview
* docs: update preview
* test: update test case
2023-04-07 10:17:00 +08:00
二货爱吃白萝卜
851d551906
refactor: warning for deprecated dropdownMatchSelectWidth
( #41627 )
...
* chore: warning for dropdownMatchSelectWidth
* test: update snapshot
* test: update test case
* fix: align context
* chore: warning deprecated
* chore: fix lint
2023-04-04 17:17:36 +08:00
二货爱吃白萝卜
f0d3e43faa
fix: CP nonce should work on cssinjs ( #41482 )
2023-03-27 23:00:56 +08:00
二货爱吃白萝卜
36f44575c8
chore: Static warning if exist theme in CP ( #41157 )
...
* chore: warning for dynamic theme
* chore: warning for static context
* chore: add ignore
2023-03-10 14:12:49 +08:00
栗嘉男
745015ef09
resovl CONFLICT
2023-03-02 00:48:00 +08:00
Wuxh
b82710fe9e
fix: fix ConfigProvider
form validation message order ( #40533 )
...
* test: add case
* fix: fix the default format error of form check message
* docs: update docs
* fix
* chore: remove redundancy logic
* perf: add validateMessage memorization
* chore: update useMemo
* Update components/form/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* docs: update docs
---------
Co-authored-by: afc163 <afc163@gmail.com>
2023-02-24 18:22:48 +08:00
栗嘉男
cd9ad445ea
chore: merge master into feature
2023-02-23 15:05:18 +08:00
lijianan
288b10bd10
refactoring: use hook replace LocaleReceiver ( #40870 )
...
* chore: rename useLocaleReceiver => useLocale
* refactoring: use hook replace LocaleReceiver
* fix
* update snap
* fix
* update snap
* fix
* rename
2023-02-22 18:18:26 +08:00
xliez
0d67bde239
feat: add useConfig hook to ConfigProvider ( #40215 )
...
* feat: add useConfig hook to ConfigProvider
* docs: format config-provide markdown
* doc: add available version
* test: add useConfig test
* docs: add debug
* chore: fix lint error
* fix: getter dead loop
* test: promote useConfig test coverage
* docs(ConfigProvider): update available version
2023-02-14 17:39:35 +08:00
二货机器人
b02b7aeadb
chore: merge master
2023-01-31 10:21:17 +08:00
Martin Litvaj
0bf4a3e15b
Export ThemeConfig type ( #40370 )
2023-01-23 19:24:05 +08:00
github-actions[bot]
2d58e1843a
chore: auto merge branches ( #40107 )
...
chore: feature merge master
2023-01-09 09:53:07 +00:00
lijianan
8501adbd84
fix: add displayName ( #40092 )
...
* fix: add displayName
* rerun ci
* rerun ci
2023-01-08 21:30:41 +08:00
linxianxi
532da4c77a
feat(ConfigProvider): add form scrollToFirstError ( #39509 )
...
* feat(ConfigProvider): add form scrollToFirstError
* modify
* format code
* 修改 md
* 解决文件名大小写问题
* 解决文件名大小写问题
2023-01-03 09:56:47 +08:00
yoyo837
0424ca14cd
Merge branch 'master' into mergeMaster
2022-12-14 17:30:07 +08:00
dongfang
bcd32305bb
feat: ConfigProvider support select.showSearch ( #39531 )
2022-12-14 10:22:17 +08:00
二货爱吃白萝卜
fe8d59754e
fix: Modal hooks not pass CP ( #39513 )
...
* fix: CP pass not override
* test: Update test case
* docs: missing demo
2022-12-13 13:57:17 +08:00
Amumu
d689c7b855
feat: Remove locale-provider ( #39373 )
...
* feat: remove locale-provider
* chore: fix lint
* Empty-Commit
* test: remove test
* Revert "test: remove test"
This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.
* chore: 阶段性兼容
* fix lint
* fix: fix lint
* fix: add index
* docs: update docs
* docs: update
* docs: update
* docs: update
2022-12-09 15:04:08 +08:00
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
...
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2022-11-23 20:22:38 +08:00
MadCcc
6848b23169
fix: global icon style ( #38617 )
...
* fix: global icon style
* chore: code clean
* feat: icon style in CP
* chore: code clean
* chore: code clean
* chore: support ss
* feat: wrapSSR only if iconPrefixCls does not equal parent
* chore: code clean
* chore: fix lint
* chore: fix lint
* chore: test
* chore: wrap children
* chore: code clean
* chore: fix lint
2022-11-18 09:55:42 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
...
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
Chuns Chen
cc5c4fed51
refactor: locale files reference path ( #38194 )
...
* chore: add locale files to npm pkg
* docs: locale files reference path
* docs: fix locale path
* chore: bump @ant-design/tools
* refactor: default locale file
* chore: add site wepack alias
* chore: bump @ant-design/tools
* fix: site theme locale reference path
* chore: add locale files to eslint ignore
* fix: markdown demo unable to resolve path to module antd/locale
2022-10-26 14:38:54 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
Zheeeng
dcac4f66a4
fix: signatures for Upload ( #37861 )
2022-10-06 18:53:06 +08:00
Zheeeng
ea9b013bb1
refactor(locale): refine signature ( #37824 )
...
* chore: prefer using @internal annotation over other markups
* fix: typo
* fix: locale types
2022-10-01 22:17:14 +08:00
MadCcc
870f9e504d
fix: v5 component style ( #37413 )
...
* fix: v5 component style
* chore: fix csp
2022-09-06 10:13:18 +08:00
MadCcc
d2b219dbf8
fix: iconPrefixCls should affect cssinjs ( #37259 )
2022-08-26 19:31:53 +08:00
MadCcc
8c50cc135b
feat: algorithm array ( #37082 )
...
* feat: algorithm array
* chore: update deps
* chore: add default
2022-08-16 21:06:25 +08:00
二货机器人
bd2b80fb88
chore: Use cssinjs createTheme
which support auto cache ( #36329 )
...
* chore: bump
* chore: use cssinjs cache version
2022-07-04 11:00:19 +08:00
二货机器人
66a3594e95
refactor: Provide top theme export and theme adjuster ( #36302 )
...
* chore: change theme mode
* refactor: export theme
* refactor: top of theme
* chore: map of token
* chore: fix lint
* chore: rename
* test: fix test case
2022-06-29 20:34:00 +08:00
二货机器人
fe907cc57b
refactor: Export theme useDesignToken as root hooks ( #36267 )
...
* refactor: export useDesignToken
* chore: site update
* chore: not conflict with react version
* chore: update snapshot
* chore: update snapshot
2022-06-28 15:38:30 +08:00
二货机器人
de2992f96f
chore: move path ( #36243 )
...
* chore: base move
* chore: all path
* chore: fix script
2022-06-27 14:25:59 +08:00
MadCcc
9f2f9bb57f
refactor: default theme with algorithm ( #36175 )
...
* refactor: alias token
* refactor: use palettes
* refactor: default theme
* chore: code clean
* refactor: component token
* feat: light tokens
* feat: add dark theme
* feat: dark derivative
* chore: code clean
* refactor: fix colorBgContainer
* refactor: rename token
* test: fix lint
* chore: code clean
* chore: code clen
* refactor: badge shadow color
* test: add test case
2022-06-24 11:11:42 +08:00
MadCcc
711601e93e
feat: support custom token ( #36057 )
...
* feat: useCustomToken
* feat: simplify useCustomToken
* test: fix lint
* feat: genGenComponentStyle
* test: fix lint
* feat: use prefixCls
* feat: default genStyleHook
* test: fix lint
* test: fix lint
* docs: add jsdoc
* feat: remove in useCustomToken params
* feat: useStyle
* feat: useStyel
* chore: code clean
2022-06-17 18:17:39 +08:00
MadCcc
47493c0e90
chore: collect statistic after compile ( #35813 )
...
* chore: collect statistic after compile
* chore: code clean
* chore: code clean
* chore: code clean
* chore: remove export in ConfigProvider
* chore: only lib
* test: fix lint
* chore: code clean
2022-05-30 20:22:48 +08:00
zombiej
461b605555
chore: next merge feature
2022-05-27 16:40:17 +08:00
二货机器人
1ed1fda421
feat: Config provider pagination showSizeChanger ( #35750 )
...
* feat: support showSizeChanger
* test: test case
2022-05-26 17:14:05 +08:00
MadCcc
3dc72c00d0
Merge branch 'feature' into next-merge-feature
2022-05-25 15:02:26 +08:00
MadCcc
414f049697
feat: config provider support componentDisabled ( #35718 )
...
* feat: config provider support componentDisable
* test: update snapshot
* docs: update
* chore: code
2022-05-25 14:57:58 +08:00
MadCcc
2077af6795
feat: component token in statistic ( #35705 )
...
* feat: component token in statistic
* chore: rearrange
2022-05-24 19:48:44 +08:00
二货机器人
178d8d6f19
chore: Patch Notification tmpl ( #35568 )
...
* chore: init notification style
* chore: comment style
* chore: clean up recv deps
* chore: trigger
2022-05-16 18:02:46 +08:00
zombiej
8613d2ff2e
chore: merge feature
2022-05-16 17:16:52 +08:00
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps ( #35570 )
...
* chore: rm in root
* chore: fix ts
* test: Update snapshot
* chore: ignore part
2022-05-16 16:34:42 +08:00
二货机器人
2341a25d91
feat: refactor useNotification ( #35423 )
...
* more refactor
* chore: motion support
* chore: tmp test
* test: Hooks
* chore: static function
* tmp of it
* all of it
* mv prefix
* chore: clean up
* chore: clean up
* more test case
* test: all base test
* test: all test case
* init
* refactor: rm notification.open instance related code
* follow up
* refactor: singlton
* test: notification test case
* refactor to destroy
* refactor: message base
* test: part test case
* test: more
* test: more
* test: all test
* chore: clean up
* docs: reorder
* chore: fix lint
* test: fix test case
* chore: add act
* chore: back
* chore: fix style
* test: notification test
* test: more and more
* test: fix more test
* test: index
* test: more & more
* test: fix placement
* test: fix coverage
* chore: clean up
* chore: bundle size
* fix: 17
* chore: more
* test: message
* test: more test
* fix: lint
* test: rm class in static
* chore: clean up
* test: coverage
* chore: fix lint
2022-05-11 14:26:18 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
二货机器人
ebf52122a2
refactor: Button use full token & remove all withPrefixCls
& support overrides ( #34690 )
...
* chore: init
* chore: button token
* chore: rm all withPrefixCls
* feat: overrides work
* feat: theme can be nest
* test: Update snapshot
* fix: memo logic
2022-03-24 18:44:42 +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
二货机器人
f3f1dbf1b1
refactor: Move design token in ( #34624 )
...
* chore: move in
* wip: refactor the structure of design token
* refactor: merge override
* chore: mv in
* chore: fix ts
* chore: tmp all
* chore: comment
* chore: comment
* chore: use variables
* fix: compile error
Co-authored-by: arvinxx <arvinx@foxmail.com>
2022-03-21 16:48:25 +08:00
github-actions[bot]
6bc219b13b
chore: auto merge branchs ( #34358 )
...
chore: merge master into next
2022-03-08 06:56:08 +00:00
二货机器人
8fe8df777e
fix: csp not work on icon ( #34356 )
2022-03-08 14:01:53 +08:00
二货机器人
43eaa357b4
chore: cssinjs hashed as default ( #34272 )
...
* checkbox hashId support
* chore: tree hashed
* chore: fix lint
* fix: compile
2022-03-03 14:55:19 +08:00
二货机器人
912ffb15d0
refactor: Button with cssinjs ( #33890 )
...
* init
* chore: cssinjs base button
* chore: more style
* chore: mix style
* chore: size
* chore: more style
* misc
* chore: re-structrue
* chore: icon onlt
* chore: back of disabled
* chore: loading status
* chore: loading motion
* chore: add active style
* docs: site prepare dynamic theme
* chore: bump antd cssinjs
* chore: color type check
* chore: bump cssinjs version
* chore: clean up useless ts def
* chore: ignore button style
* chore: rename ci
* chore: update cssinjs ver
* chore: ssr default wrapper
* chore: bump cssinjs version
* chore: ssr support
* chore: fix script
* test: fix node snapshot
* chore: move cssinjs pkg size from css to js
* test: coverage
2022-02-18 14:17:32 +08:00
afc163
2d484bbe47
fix: Form validateMessages in nested ConfigProvider ( #33705 )
...
close #33691
2022-01-13 13:50:18 +08:00
afc163
a926aa52c6
fix: Form should have default validateMessages in en locale ( #33511 )
2021-12-31 16:56:21 +08:00
seaSuper
9bc148abcc
feat: ConfigProvider add form colon ( #32818 )
...
* feat: ConfigProvider add form colon
* add: test for ant-design#32799
* fix: Modify FormItemLabel get ConfigColon from From
* refactor: Simplify the code
2021-11-11 17:51:33 +08:00
Michael Adams
bdbbbb9f9e
fix: typescript error in ConfigProvider. ( #32406 )
2021-10-09 10:24:41 +08:00
二货机器人
36bcaaef85
Add variable.less
to support css variable ( #31496 )
...
* chore: use varaible.less
* chore: basic primary varaible
* chore: Move to variable
* chore: align active color
* chore: global fix of css variable
* chore: primary colors
* chore: button danger
* chore: btn default error color
* chore: button series
* chore: More examples
* chore: More components
* chore: Form demo
* chore: form style
* fix: Tag & Alert variable
* chore: update footer
* chore: rm tmp code
* chore: transfer
* fix: picker column active color
* chore: Adjust active bg color
* chore: table hover color
* chore: all css variables
* chore: Global using variables
* chore: Test case
* chore: Update test logic
* chore: back of default less
* chore: entry of site use proxy style
* chore: update entry
* chore: split of variables
* refactor: quick dist speed
* fix: site use variable version
* chore: Update less config
* chore: add mv script
* chore: Update repalcement script
* chore: Add inject variables
* chore: Update script
* fix: script path
* chore: Move to component instead
* chore: fix condition
* chore: update config
* chore: Update in less transform
* chore: Modify logic
* chore: change to variables
* chore: Update name
* fix: script name
* chore: do inject
* revert: back of path
* chore: 2 way of generate
* bump tools
* chore: Add auto replacement script
* chore: auto genrate less file
* chore: fix test
* test: More test case
* chore: Update limit config
* test: coverage
* docs: Update doc
2021-09-01 10:56:50 +08:00
afc163
b56f6110fa
merge feature into master
2021-08-16 14:42:04 +08:00
Map1en_
8f3f0076de
fix: ConfigProvider rerender unexpectedly when switching some language ( #31630 )
...
* fix: ConfigProvide could not maintain the state of components when switching some lang
close #31592
* chore: add test case
* Update components/config-provider/index.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* chore: fix checks
Co-authored-by: afc163 <afc163@gmail.com>
2021-08-04 13:45:35 +08:00
二货机器人
eb70f00513
feat: ConfigProvider static function support iconPrefixCls
( #30925 )
...
* feat: Static iconPrefixCls
* feat: message & notification support iconPrefixCls
* docs: Update doc
* chore: Force update
* fix: ts def
2021-06-09 15:36:59 +08:00
Kermit
9275866f24
chore(config-provider): support dynamic prefixCls ( #30625 )
2021-05-24 11:46:12 +08:00
二货机器人
2e35b4ee05
refactor: use rc-util for csp ( #29804 )
...
* refactor: use rc-util for csp
* update icons version
* add csp support
* update deps
2021-03-19 16:23:25 +08:00
二货机器人
2e5c848799
fix: message with prefixCls should not break ( #29574 )
...
* fix: compitable for legacy usage
* chore: Add modal warning
* fix lint
* test: ConfigProvider.config
2021-03-02 11:53:12 +08:00
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
...
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
2021-02-23 10:45:11 +08:00
叶枫
10c326ee94
feat: 添加全局静态配置 ( #29285 )
...
* feat: 添加全局静态配置
* chore: change globalConfig
* chore: change globalPrefixCls
* chore: review
* feat: 恢复 message 静态 prefix
* feat: modal
* feat: notification
* fix: prefix
* fix: prefix
* fix: 添加 test
* chore: review
* docs: doc
* chore: en
* chore: test
* fix: notification config set empty
* chore: link
* chore: change name
* chore: doc
* chore: doc
2021-02-09 21:49:15 +08:00
二货机器人
cbbffe4a98
chore: Import IconContext directly ( #29045 )
2021-01-26 16:18:13 +08:00
陈帅
0afdbe4d4a
fix: exporting common types ( #28963 )
...
* exporting common types
* no use importype
* fix test
* try fix test
* Update components/index.tsx
Co-authored-by: 偏右 <afc163@gmail.com>
* remove typo
* fix test
Co-authored-by: 偏右 <afc163@gmail.com>
2021-01-24 23:24:06 +08:00
二货机器人
f01066467e
feat: ConfigProvider support iconPrefixCls
( #28924 )
...
* add iconPrefixCls support
* test: Update test case
* update less variable
2021-01-19 17:33:05 +08:00
xinhui.zxh
6029b18056
fix: remove reduant getConfig call
2021-01-15 23:11:11 +08:00
xinhui.zxh
0418448571
fix: undo change for configConsumerProps
2021-01-13 17:52:01 +08:00
xinhui.zxh
6292e8b53c
feat: use rc-util's useMemo for config provider
2021-01-13 17:05:05 +08:00
xinhui.zxh
749f03e424
feat: use useCallback for getPrefixCls
2021-01-13 13:02:56 +08:00
xinhui.zxh
2dd4d9b0d4
feat: use useMemo for config-provider
2021-01-12 21:02:53 +08:00
xinhui.zxh
81129554ce
feat: use hooks to memo config-provider config
2021-01-12 10:40:15 +08:00
xinhui.zxh
91c4cb2793
fix: add memorization for ConfigProvider ( #27617 )
2021-01-09 15:23:28 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
偏右
f4c7058bd9
fix: Modal.confirm locale missing ( #27797 )
...
* fix: Modal.confirm locale missing
* fix snapshot
* refactor
2020-11-16 20:21:39 +08:00
xrkffgg
3c157e637d
fix: Progress.Line strokeColor direction in rtl ( #27515 )
2020-11-03 16:22:18 +08:00
Tom Xu
7e782daec0
feat: ConfigProvider add form requiredMark ( #27322 )
...
* feat: ConfigProvider add form requiredMark
* Update Form.tsx
2020-10-24 14:27:49 +08:00
paranoidjk
ea19589619
feat: feat: expose ConfigContext ( #26705 )
2020-09-11 21:24:26 +08:00
Tom Xu
747691f600
feat: ConfigProvider support virtual and dropdownMatchSelectWidth ( #23841 )
...
* feat: ConfigProvider support virtual and dropdownMatchSelectWidth
* update snap
* Update demo.test.js.snap
* update snap
2020-05-05 15:00:43 +08:00
xrkffgg
402f3a9afb
feat: rewrite config with hook and add rtl config ( #23759 )
...
* feat: rewrite config with hook and add rtl config
* fix import
* fix lint
2020-04-29 23:18:22 +08:00
二货机器人
bb1f157645
feat: ConfigProvider support getTargetContainer ( #23751 )
...
* add getTargetContainer
* support affix
* test case
* anchor use new context api
* Anchor support getTargetContainer
* doc it
* update patch
2020-04-29 20:22:16 +08:00
二货机器人
a1e0c41c8b
feat: ConfigProvider support config Input autoComplete
( #23455 )
...
* support autoComplete
* update doc
* fix lint
2020-04-22 10:38:43 +08:00
二货机器人
5a10d29796
fix: ConfigProvider with nest prefixCls ( #23423 )
...
* fix: ConfigProvider with nest prefixCls
* update
* update
* update
2020-04-21 11:16:33 +08:00
Tom Xu
50416b3a7b
improvement: Form default locale ( #23165 )
...
* improve: Form default locale
* fix lint
* fix lint
* improve form doc
* add test case
* improve form validate messages
2020-04-18 13:18:51 +08:00
骗你是小猫咪
b8109bd20e
feat: 🆕 new Space component ( #22363 )
...
* feat: new component: Space
* add config-provider space doc
* fix lint fail
* revert test -u
* improve demo
* compatible invalidElement
* use inline-flex and wrap
* review change
* add space version
* improve classname
* review change
* review change
2020-03-22 11:38:02 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size ( #20570 )
...
* feat: Support form & ConfigProvider set component size
* update snapshot
* fix lint
* rm only
* update doc
* Table & Card support sizing
* Update snapshot
* fix lint
* update snapshot
* flush rest snapshot
2020-01-03 13:38:16 +08:00
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
二货机器人
72a7ba618f
New Table ( #19678 )
...
* chore: update rc-table
* add basic table style
* checked all logic
* checkbox support disabled
* selection style
* selection support radio
* add selections support
* selection extra style
* select all locale
* sorter logic
* add more desc
* init Filter hooks
* init filter hooks
* update style
* filter style
* filter style
* fix filter
* sort control
* ajax it
* add expandedable css
* expandable view style
* fixed style
* border style
* empty style
* fix pagination style
* add fixed demo
* un-comment
* clean up
* fix filter check logic
* fix overflow & ellipsis conflict
* fix tes
* adjust scroll shadow
* fix border fixed style
* add part of test case
* add filter test part
* more test case
* issue related test
* filter test
* adjust pagination logic
* fix pagination test case
* all selection test case
* table sorter test case
* table basic test
* fix test case
* update faq
* update expandable doc
* add v4 doc
* add summary docs
* more demo
* fix selection
* update snapshot
* update test case
* fix ff styling
* update rc-table
* update snapshot
* update snapshot
* fix lint
* fix style lint
* fix style
* update snapshot
* update desc
* fix missing icon
2019-11-15 14:35:25 +08:00
zombiej
7a12b2b1ae
merge master
2019-10-30 16:28:28 +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
陈帅
338018eba3
feat: Pageheader new style and props ( #19100 )
...
* pure page header style
* add type props
* add prue demo
* add config provider doc
* fix lint
* fix lint error
* change pure to ghost
* fix test
* default ghost is true
* fix review style
* fix review warning
* use online style
* remove defualt and remove comment
* add test
2019-10-15 11:46:12 +08:00
zombiej
e129e8dc7e
merge master
2019-10-08 15:04:00 +08:00
二货机器人
7922090eaa
fix: TreeShaking ( #19115 )
2019-10-08 14:45:17 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
afc163
760853e239
💄 eslint for all
2019-08-14 18:21:24 +08:00
zombiej
b30dc1c3bc
merge master
2019-08-06 17:46:53 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
zombieJ
f6566571ac
fix: ConfigProvider should not block LocaleProvider ( #18105 )
2019-08-06 00:27:47 +08:00
zombieJ
81d8eb8afe
feat: ConfigProvider support locale ( #17816 )
...
* ConfigProvider support locale
* update docs
* update category
* clean up
* moving locale
* update check script
* update related code
* add test case
* demo link
* update doc
* hide one rule of md with eslint
* update error link
2019-07-24 10:34:55 +08:00
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
...
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
2019-07-03 20:14:39 +08:00
afc163
14dc252b04
🆙 fix for typescript@3.5
2019-06-05 14:41:36 +08:00
陈帅
30508b0124
fix error types ( #16043 )
2019-04-28 11:47:22 +08:00
afc163
0a8f33385d
🆙 use @ant-design/create-react-context of MIT
2019-04-16 12:18:39 +08:00
DiamondYuan
c99b2a7720
fix: export ConfigProviderProps interface
2019-03-16 09:48:21 +08:00
zombieJ
c80136a9a7
New Component: Typography ( #14250 )
...
* text with prefix
* add edit style
* support editable
* enhance accessibility & type experience
* optimize IME case
* support copy
* add locale
* add secondary & disabled
* add ellipsis shadow text
* split to 3 components
* update snapshot
* update desc
* change lines also need update ellipsis
* skip aria when is in ellipsis
* add ResizeObserver in _util
* update snapshot
* move TestBase into test file
* update test case
* update doc
* fix typo
* important => level
* use rows
* update demo cols to 1
* fix cssText not work in firefox
* update doc
* add miss point
* support extendable
* update snapshot
* fix doc
* copyable support string
* update snapshot
* update doc
* update doc desc
* adjust style
* full test
* reset after test
* rename
* update snapshot
* fix compile
* adjust style
* update desc
* update prefixCls
* update margin
* adjust
* nest wrap of tag content
* adjust style
* update comment
* rm %
* one more thing
* tmp of measure
* merge string as children
* update snapshot
* update testcase
* remove comment
* use internal variable for configProvider passing
* update snapshot
* use expandable instead of extendable
* less variable it
* update demo
* update less
* adjust code & mark style
* remove mark padding
* update measure logic
* support nest element style
* use childNode.textContent to fix react 15 error
* update css
* popout Typography
* add link style
* adjust doc
* use ellipsis instead of rows & expandable
* update doc
* update doc
* update doc & style
* fix typo
* add css ellipsis support
* client render
* update snapshot
* enhance copyable
* support onExpand
* update test case
* add test of css ellipsis
* fix logic in react 15
* rename onChange -> onSave
* use tagName of article
* fix lint
2019-02-19 11:42:05 +08:00
zombieJ
4e54aa8a46
ConfigProvider support autoInsertSpaceInButton
( #14230 )
...
close #14229
2019-01-10 11:47:11 +08:00
zombieJ
ff13ac0f5e
New component Statistic / Countdown ( #14154 )
...
* init
* number format
* add Countdown
* ⚡ Try something ts stuff
* move out Countdown
* add format
* support countdown
* add prefix & suffix
* Move Number to Statistic
* adjust ts
* clean up
* roll back of lodash
* update doc & style
* variable of the less style
* add demo test
* full coverage
* hide title if not need
* update snapshot
* update accessiblity
* update color
* stop countdown when time is out
* formatTimeStr adjust
* use reset class
* add miss tab index
* update doc
* update title prop & snapshot
* rm additional aria. It's over design
* use card sample on unit demo
* sfc
* adjust demo
2019-01-09 20:38:09 +08:00
zombieJ
54463c908b
ConfigProvider support csp
prop ( #14222 )
...
close #12438
2019-01-09 20:15:37 +08:00
zombieJ
1cf1a4862e
ConfigConsumer support withConsumer
( #14062 )
...
* add withConfigConsumer
* clean up
2019-01-03 17:10:04 +08:00
zombieJ
2164c58198
New Component: Empty ( #13651 )
2018-12-26 16:01:00 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
zombieJ
9b49fb60d9
Config provider ( #12991 )
...
close #12985
2018-11-26 12:06:42 +08:00