LHH
d9d44195a6
docs: fix dayjs updateLocale usage ( #43250 )
...
* fix:dayjs中没有updateLocale方法,直接使用local("zh-cn")
codesandbox中的示例也报错了。。找不到updateLocale方法
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
* Update index.en-US.md
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-30 17:49:00 +08:00
daisy
1df65eeef3
docs: update DatePicker、TimePicker cellRender ( #43226 )
2023-06-28 10:34:25 +08:00
二货爱吃白萝卜
cb1abcfe66
docs: add picker faq ( #43208 )
2023-06-27 15:34:55 +08:00
二货爱吃白萝卜
5904f80a9a
feat: DatePicker support changeOnBlur
( #42168 )
...
* docs: update docs
* chore: fix lint
* chore: bump rc-picker
* docs: timepicker docs
* chore: update ignore
2023-05-09 18:00:44 +08:00
黑雨
cef58664e8
📝 doc: add design token table ( #41717 )
...
* ✨ feat: add token
* 📝 doc: update lint
* 📝 doc: update doc
2023-04-11 10:25:24 +08:00
Amumu
bf9eff66d7
chore: merge feature into master ( #41598 )
...
* 🦄 ️ refactor(DatePicker,Calendar): dateRender,monthRender => cellRender (#41584 )
* refactor: dateRender => cellRender
* feat: update snapshots
* feat: update snapshots
* docs: update docs
* docs: update docs
* docs: update docs
* docs: update docs
* feat: update test case
* docs: update docs
* feat: optimize code
* feat: optimize code
* feat: update test case
* feat: update test case
* test: fix lint error (#41596 ) (#41600 )
* test: fix lint error
* chore: fix lint
---------
* feat: Picker luxon support (#41580 )
* chore: add luxon english documentation
* chore: add draft chinese documentation
This documentation was auto-generated based on the english version so it is only a rough draft and will most likely need to be refined.
* fix: improve documentation phrasing
---------
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Co-authored-by: Sylvain Boulade <sboulade@gmail.com>
2023-04-03 11:21:24 +08:00
Wxh16144
74e2e9850f
docs(date-picker): improve format docs ( #41266 )
...
* docs(date-picker): improve format docs
* chore: update en-US docs
2023-03-16 11:16:26 +08:00
Lioness100
fd0d8b6031
docs: fix typos ( #40791 )
...
* docs: fix typos
* Update index.zh-CN.md
* test: update snapshot
* docs: fix demo ref
* chore: force trigger ci
* chore: force trigger ci
* chore: bump dumi ver
---------
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-23 21:56:43 +08:00
MadCcc
853283b7e4
docs: DatePicker design tab ( #40745 )
...
* docs: DatePicker design tab
* docs: add design demo
* docs: add anchor for design demo
* docs: init g6
* docs: behavior map
* test: fix test cov
* docs: behavior map comp
* docs: add map title
* docs: fix ssr
* docs: update demo
* docs: optimize copy ux
* docs: update demo
* chore: code clean
2023-02-20 10:51:18 +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
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
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
72f7596209
docs: update dayjs weekStart demo ( #38990 )
...
close #38987
2022-11-25 15:58:56 +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
二货爱吃白萝卜
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
二货爱吃白萝卜
752d671acb
feat: DatePicker support presets
( #38249 )
...
* chore: basic style
* chore: all of token spread
* chore: default presets style
* docs: update presets
* chore: fix style
* chore: fix ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* test: update snapshot
* chore: bump bundle size
* test: update snapshot
* chore: update picker style
* chore: rm useless content
2022-10-28 16:44:19 +08:00
MadCcc
d4b7fb504f
Merge branch 'master' into next-merge-master
2022-10-27 21:55:12 +08:00
lijianan
0f63c5d6bc
fix: eslint error ( #38233 )
2022-10-26 23:50:13 +08:00
二货机器人
f311793e71
docs: Fix mistake of select listItemHeight. close #38228
2022-10-26 22:04:26 +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
iamkun
9dbceb2846
docs: update doc using custom date time lib text ( #37901 )
...
* chore: update doc text
* chore: update doc text
2022-10-10 09:52:54 +08:00
二货机器人
d970d80fa0
chore: next merge feature
2022-08-05 15:23:36 +08:00
黑雨
8b05546367
feat: Replace dropdownClassName to popupClassName ( #36880 )
2022-08-05 11:21:07 +08:00
zombiej
5bd221ad39
chore: merge master
2022-07-12 17:09:43 +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
f65c73fa2a
Merge branch 'master' into next-merge-master
2022-07-05 22:24:39 +08:00
MadCcc
ab19033876
docs: replace lib with es ( #36367 )
2022-07-04 22:09:54 +08:00
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
2022-06-13 14:03:43 +08:00
iamkun
f8dc201218
fix merge
2022-03-18 16:57:11 +08:00
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status ( #34073 )
...
* feat: DatePicker and TimePicker support status
* docs: demo add version
* chore: code clean
2022-02-16 21:14:51 +08:00
iamkun
b22815d4d2
feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js
2022-02-14 15:01:00 +08:00
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement ( #33541 )
...
* feat: select components add placement api
* feat: select components add placement api
* fix: delete placement
* fix: change md demo and delete export
* feat: cascader and tree-select add placement
* feat: datapicker add placement api
* fix: change repeat static declaration to single
* test: updata test units
* doc: change doc
* fix: delete merge message & delete decalare ts
* test: fix unit test
* fix: add transName in select & treeSelect & cascader
* fix: change common api in utils
* fix: change useless if block to only
* fix: change placement string to enum
* fix: lint done
Co-authored-by: 礼检 <ljj337009@antgroup.com>
2022-01-20 16:54:47 +08:00
二货机器人
ce006bd44e
docs: Version Robin ( #32830 )
2021-11-12 11:46:42 +08:00
Jean-Philippe Roy
1cd694837c
feat: Allow DatePicker/RangePicker Icon Overrides ( #31703 )
...
* Hoist default values and expose props
* Add new props to the common API docs
* CN Docs
* Apply suggestions from code review
Co-authored-by: Jean-Philippe Roy <jean-philippe.roy@meraki.net>
Co-authored-by: afc163 <afc163@gmail.com>
2021-08-23 21:28:42 +08:00
Ritesh Makan
b97954226d
docs: Added alternate example to modify start day of week ( #31565 )
...
* Added alternate example to modify start day of week
When I looked at the documentation, The `https://codesandbox.io/s/moment-day-of-week-6dby5 ` link did not work for me.
https://stackblitz.com/edit/react-9aegkj works
* fix: formatting
2021-07-28 18:34:37 +08:00
Lu Yu
4440a181b4
docs: RangePicker type and default value in doc ( #30720 )
...
* Fix range picker type and default value in doc
* docs: Fix range picker type and default value in doc
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/date-picker/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
2021-05-27 15:31:02 +08:00
陈帅
0d1b1c40a6
merge featrue into master ( #30636 )
...
* feat: add Table expandable fixed (#29959 )
* fix: Use flex gap of space (#30023 )
* fix: use flex gap when supported
* test: update snapshot
* refactor: Use single hooks
* feat: Allow breadcrumb component in PageHeader (#30019 )
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Rename variable
rename var from _breadcrumbRender to breadcrumbRenderDomFromProps
* feat: add onChange for Statistic.Countdown (#30265 )
* feat: add onChange for countdown
* update the demo
* feat(upload): add onDrop (#30319 )
* feat(upload): Add onDrop
* Replace "if prop" logic with existential operator
* Remove redundant conditional
* feat(upload): itemRender add actions params (#30236 )
* feat(upload): itemRender add actions params
* chore: optimize type definition
* chore: update doc
* chore: rename actions
* chore: trigger ci
* chore: rename method name of actions
* feat: Add missing dutch translations (#30389 )
* feat: Add missing dutch translations
* fix: Translate remaining english values
* fix: Update snapshot for ui tests
* test: increase code coverage to 100% (#30415 )
* test: fix Space code coverage
* test: should use nl_BE locale for DatePicker
* fix: Switch tabIndex type (#30416 )
* feat: updated Romanian internationalization (#30419 )
* feat: updated Romanian internationalization
* fixed lint error
* feat: Menu support accessibility & keyboard access (#30382 )
* chore: Use focus style
* fix: prefixCls
* fix: prefixCls
* fix: inline tooltip
* fix: inlineCollapse logic
* fix: ts definition
* test: Update snapshot
* test: Update snapshot
* fix: dropdown logic
* test: Update snapshot
* test: Fix some test case
* bump rc-menu
* test: More test case
* fix test finder
* test: fix test case
* test: Update snapshot
* test: Update snapshot
* chore: Update ssr effect
* test: Update ConfigProvider snapshot
* test: Fix Table Filter test case
* test: Fix table test case
* chore: Update style
* chore: beauti css
* bump rc-menu
* test: update snapshot
* test: update snapshot
* test: Fix menu test
* test: Fix test case
* test: Coverage
* chore: clean up
* bump rc-menu
* ehance accessibility style
* feat(radioGroup): support data-* and aria-* props (#30507 )
close #30501
* feat: Typography add italic type (#30458 )
* Typography增加斜体字支持
* update snapshot
* 文档添加版本号
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
* chore: alpha Menu fix merge (#30546 )
* chore: Update script
* bump alpha version
* chore: Update script desc
* chore: bump rc-tabs & rc-mentions
* chore: Adjust style
* chore: 4.16.0-alpha.1
* test: Fix mention test case
* fix: sider of layout width style
* chore: bump 4.16.0-alpha.2
* fix: Tabs tabBarGutter should work as expected (#30545 )
close #30526
* feat: Table summary support sticky mode (#30631 )
* chore: Bump rc-table
* feat: Patch summary fixed color
* fix: style className
* test: Update snapshot
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
2021-05-24 16:24:00 +08:00
Huyen Nguyen
25edaba20d
docs: fix typo in DatePicker prop description ( #30484 )
2021-05-11 20:28:04 +08:00
Tom Xu
e5d908a078
docs: format api ( #29537 )
2021-03-01 19:20:48 +08:00
einq7
fa376f9c82
docs: prettier markdown ( #28510 )
2020-12-24 12:02:57 +08:00
Amumu
a7ae888a90
docs: docs upgrade ( #27367 )
2020-10-26 11:57:37 +08:00
zombiej
07506792fc
docs: Add DatePicker panelRender FAQ
...
close #27263
2020-10-21 11:38:18 +08:00
Tom Xu
d44f404eae
docs: sort api ( #27251 )
...
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
2020-10-21 10:33:43 +08:00
Kermit Xuan
a733885b50
feat(date-picker): support custom format ( #26845 )
...
* feat(upload): ✨ support custom format
* test: update demo snapshot
2020-09-22 15:43:11 +08:00
baidumap
3507a01798
fix: 修复disabledTime参数文档 ( #26439 )
...
* fix: 修复disabledTime参数文档
* fix: 英文版dates -> date
Co-authored-by: jingruoyu <jingruoyu@xiaomi.com>
2020-08-27 21:15:52 +08:00
07akioni
5a08aab0e8
docs: DatePicker demo refactor ( #25913 )
...
* docs: DatePicker change type demo
* chore: snapshot
* chore
* docs: DatePicker use Space
* chore: snapshot
2020-07-30 19:17:34 +08:00
zombiej
cdefaec190
docs: Update DatePicker docs
2020-07-30 13:56:18 +08:00
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1
2020-07-26 20:14:11 +08:00
二货机器人
2803ccf658
docs: Update DatePicker docs and add legacy notice ( #25768 )
...
* docs: Update DatePicker docs and add legacy notice
* clean up
* only warning for QuarterPicker
* update docs
* fix lint
* note to warning
2020-07-23 11:25:17 +08:00
Kim Wing Fung
2bbdc2c911
feat: RangePicker onCalendarChange info support ( #25568 )
...
* Include new parameters for onCalendarChange to match rc-picker v1.12.0
* Use correct highlighting
* Update to rc-picker 1.12.1
* Include version information
* Adjust version information
Co-authored-by: Kim-Wing-Fung <c-kfung@powercosts.com>
2020-07-10 16:53:26 +08:00