二货爱吃白萝卜
fe8d59754e
fix: Modal hooks not pass CP ( #39513 )
* fix: CP pass not override
* test: Update test case
* docs: missing demo
2 years ago
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
2 years ago
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
2 years ago
二货爱吃白萝卜
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>
2 years ago
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
2 years ago
Zheeeng
dcac4f66a4
fix: signatures for Upload ( #37861 )
2 years ago
Zheeeng
ea9b013bb1
refactor(locale): refine signature ( #37824 )
* chore: prefer using @internal annotation over other markups
* fix: typo
* fix: locale types
2 years ago
MadCcc
870f9e504d
fix: v5 component style ( #37413 )
* fix: v5 component style
* chore: fix csp
2 years ago
MadCcc
d2b219dbf8
fix: iconPrefixCls should affect cssinjs ( #37259 )
2 years ago
MadCcc
8c50cc135b
feat: algorithm array ( #37082 )
* feat: algorithm array
* chore: update deps
* chore: add default
2 years ago
二货机器人
bd2b80fb88
chore: Use cssinjs `createTheme` which support auto cache ( #36329 )
* chore: bump
* chore: use cssinjs cache version
2 years ago
二货机器人
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
2 years ago
二货机器人
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
2 years ago
二货机器人
de2992f96f
chore: move path ( #36243 )
* chore: base move
* chore: all path
* chore: fix script
2 years ago
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
2 years ago
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
2 years ago
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
3 years ago
二货机器人
1ed1fda421
feat: Config provider pagination showSizeChanger ( #35750 )
* feat: support showSizeChanger
* test: test case
3 years ago
MadCcc
414f049697
feat: config provider support componentDisabled ( #35718 )
* feat: config provider support componentDisable
* test: update snapshot
* docs: update
* chore: code
3 years ago
MadCcc
2077af6795
feat: component token in statistic ( #35705 )
* feat: component token in statistic
* chore: rearrange
3 years ago
二货机器人
178d8d6f19
chore: Patch Notification tmpl ( #35568 )
* chore: init notification style
* chore: comment style
* chore: clean up recv deps
* chore: trigger
3 years ago
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps ( #35570 )
* chore: rm in root
* chore: fix ts
* test: Update snapshot
* chore: ignore part
3 years ago
二货机器人
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
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
二货机器人
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
3 years ago
二货机器人
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
3 years ago
二货机器人
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>
3 years ago
二货机器人
8fe8df777e
fix: csp not work on icon ( #34356 )
3 years ago
二货机器人
43eaa357b4
chore: cssinjs hashed as default ( #34272 )
* checkbox hashId support
* chore: tree hashed
* chore: fix lint
* fix: compile
3 years ago
二货机器人
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
3 years ago
afc163
2d484bbe47
fix: Form validateMessages in nested ConfigProvider ( #33705 )
close #33691
3 years ago
afc163
a926aa52c6
fix: Form should have default validateMessages in en locale ( #33511 )
3 years ago
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
3 years ago
Michael Adams
bdbbbb9f9e
fix: typescript error in ConfigProvider. ( #32406 )
3 years ago
二货机器人
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
3 years ago
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>
3 years ago
二货机器人
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
4 years ago
Kermit
9275866f24
chore(config-provider): support dynamic prefixCls ( #30625 )
4 years ago
二货机器人
2e35b4ee05
refactor: use rc-util for csp ( #29804 )
* refactor: use rc-util for csp
* update icons version
* add csp support
* update deps
4 years ago
二货机器人
2e5c848799
fix: message with prefixCls should not break ( #29574 )
* fix: compitable for legacy usage
* chore: Add modal warning
* fix lint
* test: ConfigProvider.config
4 years ago
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
4 years ago
叶枫
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
4 years ago
二货机器人
cbbffe4a98
chore: Import IconContext directly ( #29045 )
4 years ago
陈帅
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>
4 years ago
二货机器人
f01066467e
feat: ConfigProvider support `iconPrefixCls` ( #28924 )
* add iconPrefixCls support
* test: Update test case
* update less variable
4 years ago
xinhui.zxh
6029b18056
fix: remove reduant getConfig call
4 years ago
xinhui.zxh
0418448571
fix: undo change for configConsumerProps
4 years ago
xinhui.zxh
6292e8b53c
feat: use rc-util's useMemo for config provider
4 years ago
xinhui.zxh
749f03e424
feat: use useCallback for getPrefixCls
4 years ago
xinhui.zxh
2dd4d9b0d4
feat: use useMemo for config-provider
4 years ago