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>
2 years ago
二货爱吃白萝卜
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
2 years ago
二货爱吃白萝卜
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
2 years ago
二货爱吃白萝卜
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
2 years ago
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
2 years ago
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2 years ago
lijianan
b9a6b7b578
demo: update demo ( #40318 )
* demo: update demo
* add form
* clear
* add Select
* add
* fix style
* fix style
* fix
* revert
2 years ago
linxianxi
532da4c77a
feat(ConfigProvider): add form scrollToFirstError ( #39509 )
* feat(ConfigProvider): add form scrollToFirstError
* modify
* format code
* 修改 md
* 解决文件名大小写问题
* 解决文件名大小写问题
2 years ago
Peach
6236e356b5
docs: update all site anchors ( #39687 )
* docs: update all site anchors
* docs: handle hash change from Link component
2 years ago
dongfang
bcd32305bb
feat: ConfigProvider support select.showSearch ( #39531 )
2 years ago
MadCcc
3daa5a9212
docs: add vite locale docs ( #39527 )
2 years ago
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2 years ago
afc163
5310a0fa0c
docs: fill documentation about message/notification/Modal.xxx ( #39068 )
close #39066
2 years ago
afc163
be9c46ccac
docs: fix customize theme doc url ( #38928 )
2 years ago
afc163
e027cbec1c
docs: format all markdown ( #38629 )
* chore: add prettier-ignore in markdown demo
* docs: format markdown api table
* docs: format markdown api table
2 years ago
二货爱吃白萝卜
319b3966c4
docs: less no ( #38602 )
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
afc163
6497d0dfef
docs: moment version mismatched issue ( #36473 )
https://github.com/ant-design/ant-design/issues/36465#issuecomment-1181275538
2 years ago
MadCcc
ab19033876
docs: replace lib with es ( #36367 )
2 years ago
iamkun
9cab0f3322
docs: update Day.js doc ( #35935 )
* docs: update dayjs doc
* docs: update dayjs doc
* chore: update doc
* chore: update doc
* chore: update doc
* chore: update doc
2 years ago
MadCcc
303c9884cb
docs: componentDisabled version ( #35730 )
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
24773d5796
test: lint
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
xrkffgg
b5ac892ada
docs: perf website
4 years ago
杨兴洲
d775fb830d
docs: fix ConfigProvider doc typo ( #29776 )
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
二货机器人
f01066467e
feat: ConfigProvider support `iconPrefixCls` ( #28924 )
* add iconPrefixCls support
* test: Update test case
* update less variable
4 years ago
Amumu
a7ae888a90
docs: docs upgrade ( #27367 )
4 years ago
Tom Xu
7e782daec0
feat: ConfigProvider add form requiredMark ( #27322 )
* feat: ConfigProvider add form requiredMark
* Update Form.tsx
4 years ago
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
4 years ago
afc163
29ef3f74dd
docs: 📝 update ConfigProvider API
4 years ago
偏右
bc76e84619
docs: fix site problem ( #25968 )
close #23332
4 years ago
xrkffgg
2d7d56985e
docs: format api ancho/backtop/config ( #25393 )
4 years ago
二货机器人
e454b9e431
docs: Update dropdownMatchSelectWidth ( #25188 )
4 years ago
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
5 years ago
偏右
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>
5 years ago
afc163
b2e92d38eb
docs: 📝 add doc about adding language
close #24497
5 years ago
偏右
fdf0f2e585
docs: fix moment locale faq ( #23895 )
close #23891
5 years ago
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
5 years ago
二货机器人
bb1f157645
feat: ConfigProvider support getTargetContainer ( #23751 )
* add getTargetContainer
* support affix
* test case
* anchor use new context api
* Anchor support getTargetContainer
* doc it
* update patch
5 years ago
二货机器人
a1e0c41c8b
feat: ConfigProvider support config Input `autoComplete` ( #23455 )
* support autoComplete
* update doc
* fix lint
5 years ago
骗你是小猫咪
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
5 years ago
Cong Zhang
d86c14ba8f
docs: fix link in ConfigProvider ( #21647 )
* fix link in ConfigProvider
* Apply suggestions from code review
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
Yash Joshi
9cfc617ce6
fix(docs): add note about prefixCls styles ( #21073 )
* fix(docs): add note about prefixCls styles
* add docs for chinese
5 years ago
xrkffgg
4388a96c32
docs: Format string notation of all components ( #20970 )
5 years ago
二货机器人
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
5 years ago
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>
5 years ago
afc163
fee211e3c4
📝 Add docs for ConfigProvider getPopupContainer
close #19974
5 years ago