Commit Graph

96 Commits

Author SHA1 Message Date
muxin
32ff4eef2c
feat: config-provider support Radio className and style properties (#43067) 2023-06-26 19:07:57 +08:00
muxin
3c88323dee
feat: config-provider support empty className and style propertie (#43061) 2023-06-26 17:10:26 +08:00
muxin
a4f4808e2f
feat: config-provider support descriptions className and style properties (#43189) 2023-06-26 17:09:55 +08:00
lijianan
a9eaa00b4e
feat: CP support Pagination className and style (#43100)
* feat: CP support Pagination className and style

* Update BrowserMockup.tsx

* Update Reset.tsx

* Update Responsive.tsx

* Update index.en-US.md

* fix

* update showSizeChanger

* fix
2023-06-26 15:32:18 +08:00
muxin
35bc35e4d9
feat: config-provider support descriptions className and style proper… (#43106)
* feat: config-provider support descriptions className and style properties

* Revert "feat: config-provider support descriptions className and style properties"

This reverts commit b9dd395cd3.

* feat: config-provider support descriptions className and style properties
2023-06-26 14:38:02 +08:00
muxin
58e88d23a9
feat: config-provider support checkbox className and style properties (#43107)
* feat: config-provider support checkbox className and style properties

* Revert "feat: config-provider support checkbox className and style properties"

This reverts commit 05c7678b5b.

* feat: config-provider support checkbox className and style properties
2023-06-26 11:42:46 +08:00
lijianan
45137169be
feat: CP support Breadcrumb className and style (#43095)
* feat: CP support Breadcrumb className and style

* Update BrowserMockup.tsx

* Update Reset.tsx

* Update Responsive.tsx

* Update index.en-US.md

* fix
2023-06-25 18:28:57 +08:00
lijianan
fe322f912a
feat: CP support Slider className and style (#43092)
* feat: CP support Slider className and style

* Update BrowserMockup.tsx

* Update Reset.tsx

* Update Responsive.tsx

* Update index.en-US.md
2023-06-25 17:28:00 +08:00
lijianan
7d70de7d8f
feat: CP support Result className and style (#43080)
* feat: CP support Result className and style

* test: fix

* fix: remove useMemo

* update docs

* Update BrowserMockup.tsx

* Update Reset.tsx

* Update Responsive.tsx

* Update index.en-US.md
2023-06-25 16:20:39 +08:00
lijianan
33eeb1eff1
feat: CP support Image className and style (#43074)
* feat: CP support Image className and style

* fix

* fix

* fix

* Update basic.tsx

* fix

* fix: remove useMemo

* update

* test: fix test case

* Update components/config-provider/index.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-25 14:46:13 +08:00
lijianan
6889af430f
feat: CP support Steps className and style (#43073)
* feat: CP support Steps className and style

* fix lint

* fix: remove useMemo

* docs: update docs

* Update index.tsx

* fix
2023-06-25 11:42:31 +08:00
lijianan
36a5392f99
feat: CP support Segmented className and style (#43072)
* feat: CP support Segmented className and style

* fix: remove useMemo

* docs: update docs

* update docs
2023-06-25 09:32:53 +08:00
lijianan
b8f2b2165d
feat: CP support Spin className and style (#43071)
* feat: CP support Spin className and style

* fix: remove useMemo

* docs: update docs

* fix

* fix

* fix

* fix
2023-06-20 19:34:45 +08:00
lijianan
5c32480f6f
feat: CP support Typography className and style (#43070)
* feat: CP support Typography className and style

* fix: remove useMemo

* docs: update docs

* fix

* fix

* docs: update docs
2023-06-20 14:35:05 +08:00
muxin
785115c580
feat: config-provider support divider className and style properties (#43042)
* feat: config-provider support divider className and style properties

* fix: simple ts definition

* fix: merge style & className

* fix: fix space className

* feat: optimize type definition

* feat: optimize type definition

* feat: add version

* test: update test

* test: update test

* fix: fix type

* fix: fix api sort

* fix: fix docs

* docs: add another api table

* Apply suggestions from code review

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-19 19:30:16 +08:00
红果汁
946569aacf
feat: ConfigProvider support Space classNames and styles properties (#42748)
* feat: config-provider support space classNames and styles

* fix: add className and style

* docs: update doc

* docs: update doc

* fix: fix override style
2023-06-02 15:03:29 +08:00
LuZhenJie1999
b6442fe285
feat: add style/className/styles/classNames to ConfigProvider (#42623)
* feat: add style/className/styles/classNames to ConfigProvider

* chore: better code

* Update components/config-provider/index.en-US.md

Co-authored-by: lijianan <574980606@qq.com>

* Update components/config-provider/index.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>

---------

Co-authored-by: 歆其 <luzhenjie.lzj@antgroup.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-05-26 16:42:26 +08:00
二货爱吃白萝卜
43d7b9ca92
feat: ConfigProvider.config support theme config (#42473)
* chore: static config of theme

* chore: static all method

* test: add test case

* docs: comment

* docs: more info

* test: update snapshot

* test: fix test logic
2023-05-18 23:53:34 +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
MadCcc
185c276c01 Merge branch 'master' into feature-merge-master 2023-02-14 21:15:39 +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
MadCcc
40e77c40d3
docs: overview dark cover (#40666)
* docs: add dark overview

* docs: show dark cover in dark theme

* docs: update cover
2023-02-09 22:17:31 +08:00
二货机器人
56f76c79ec chore: feature merge master 2023-01-19 17:21:02 +08:00
lijianan
b9a6b7b578
demo: update demo (#40318)
* demo: update demo

* add form

* clear

* add Select

* add

* fix style

* fix style

* fix

* revert
2023-01-19 15:37:54 +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
Peach
6236e356b5
docs: update all site anchors (#39687)
* docs: update all site anchors

* docs: handle hash change from Link component
2022-12-22 14:12:26 +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
MadCcc
3daa5a9212
docs: add vite locale docs (#39527) 2022-12-13 18:07:28 +08:00
Amumu
ca5b9a6ae0
docs: CN it. (#39519) 2022-12-13 15:49:05 +08:00
MadCcc
e7edfa42d7
docs: update overview img (#38946)
* docs: update overview img

* chore: code clean

* chore: code clean

* chore: update

* chore: code clean
2022-11-30 20:14:41 +08:00
afc163
5310a0fa0c
docs: fill documentation about message/notification/Modal.xxx (#39068)
close #39066
2022-11-29 10:39:57 +08:00
afc163
be9c46ccac
docs: fix customize theme doc url (#38928) 2022-11-24 11:26:38 +08:00
afc163
e027cbec1c
docs: format all markdown (#38629)
* chore: add prettier-ignore in markdown demo

* docs: format markdown api table

* docs: format markdown api table
2022-11-17 17:31:26 +08:00
二货爱吃白萝卜
319b3966c4
docs: less no (#38602) 2022-11-16 23:38:38 +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
afc163
6497d0dfef
docs: moment version mismatched issue (#36473)
https://github.com/ant-design/ant-design/issues/36465#issuecomment-1181275538
2022-07-12 13:10:20 +08:00
MadCcc
ab19033876
docs: replace lib with es (#36367) 2022-07-04 22:09:54 +08:00
MadCcc
303c9884cb
docs: componentDisabled version (#35730) 2022-05-25 15:30:17 +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
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
二货机器人
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
xrkffgg
b5ac892ada docs: perf website 2021-03-16 09:33:16 +08:00
杨兴洲
d775fb830d
docs: fix ConfigProvider doc typo (#29776) 2021-03-15 22:40:40 +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
二货机器人
f01066467e
feat: ConfigProvider support iconPrefixCls (#28924)
* add iconPrefixCls support

* test: Update test case

* update less variable
2021-01-19 17:33:05 +08:00
偏右
6880bf7073
Merge pull request #27388 from ant-design/master
chore: merge master into featrue
2020-10-27 12:21:04 +08:00
Amumu
a7ae888a90
docs: docs upgrade (#27367) 2020-10-26 11:57:37 +08:00