Commit Graph

287 Commits

Author SHA1 Message Date
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
zombieJ
340ff711ab
chore: Support TypeScript & JavaScript with Demo (#17247)
* update bisheng

* support lang panel

* display tabs if multiple lang

* rm tmp file
2019-06-23 12:49:28 +08:00
yoyo837
d9ede1b4a5 fix shouldComponentUpdate 2019-05-21 17:51:53 +08:00
gxvv
c642c87c68 💚🚨 Fix ci broken and remove linter error. 2019-05-16 14:45:17 +08:00
gxvv
8539cf6879 🐛 Fix scroll to initial anchor on page load and scroll to top on router change.
chore: Use destroy replace disable.
2019-05-16 14:19:15 +08:00
gxvv
5b8867439a 🐛 Fix scrollama not working after unnecessary update. 2019-05-16 14:18:53 +08:00
信鑫-King
0156886351 fix: codesandbox not support slash import (#16509)
* fix: codesandbox not support lodash/*

* fix: remove slash deps
2019-05-10 15:45:51 +08:00
afc163
0861ec9e0d
📝 Add analytics code for code box 2019-04-04 15:33:56 +08:00
龚方闻
41ffa3f410 fix "Edit this demo on Github" lost 2019-04-03 16:27:10 +08:00
afc163
cf17ea6174
📝 Fix bug of failed to execute querySelector on Document that not a valid selector 2019-03-31 20:38:46 +08:00
偏右
c5a4eef414 💄 Enhance component demo (#15511) 2019-03-21 09:48:50 +08:00
afc163
f65853b2b1
:sparkly: Add react-json-view in recommendation 2019-03-12 14:26:41 +08:00
afc163
ba1e305368
💄 site: fix extra space in demo code box 2019-01-29 18:14:03 +08:00
ycjcl868
762167641c 🐛 fix openMenu reset 2019-01-10 21:52:43 +08:00
zombiej
874ed98e31 merge master 2019-01-02 17:12:34 +08:00
afc163
536f791ea9
💄 fix site scrolltop, close #13983 2018-12-28 18:26:40 +08:00
afc163
3f1be96866
Merge branch 'master' into feature
* master: (23 commits)
   fix snapshots
  Add docs for the List rowKey prop
  💄 don't reset font-family in each component
  💄 chore card less variable
  Remove classNames from custom-typing file
  add collapsed faq ref: #13953
  feat: support define card border radius
  Fix dateRender not supported at WeekPicker
  📝 Add links in Home Page
  📝 Fix site responsive interaction, close #13954
  💄 chore Steps[labelPlacement="vertical"] style
   fix warning in test case
  📝 update tech antfin cases
  🐛 site menu open bug
  🐛 fix site defaultOpenKeys
  Correct docs
  💄 chore button code style
  fix spaces in curly brackets
  fix two more code style issues
  Fix method argument name
  ...
2018-12-28 12:11:18 +08:00
afc163
5900b6aa0b
📝 Fix site responsive interaction, close #13954 2018-12-27 12:27:28 +08:00
ycjcl868
1a0cea28a3 🐛 site menu open bug 2018-12-27 10:49:13 +08:00
ycjcl868
811dde03d4 🐛 fix site defaultOpenKeys 2018-12-27 10:49:13 +08:00
afc163
4da04acff9
💄 fix span type warning in site 2018-12-26 21:44:34 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
* master:
  📝 Add bodyStyle and style of Drawer in documentation, #13850
  🐛 Fix Drawer style not working
  🐛 fix markStyle affset style
  Update Santa.jsx
  update changelog
  bump 3.11.6
  revert Christmas egg
  [type] make type of components compatible with ComponentType<P>
  bump 3.11.5
   site: make document side bar sticky
2018-12-25 16:28:50 +08:00
afc163
e047bb166f
site: make document side bar sticky
close #3800
2018-12-24 15:59:59 +08:00
afc163
cdfdae51ed
💄 fix lgtm alert 2018-12-22 19:45:38 +08:00
afc163
1576203a64
💄 fix lgtm alert 2018-12-22 19:45:24 +08:00
afc163
24bcace0ce
🔨 Merge master into feature 2018-12-22 19:30:50 +08:00
afc163
fe47f01796
📝 Fix documentation 2018-12-22 18:13:30 +08:00
afc163
879784c665
Merge branch "master" into "feature" 2018-12-20 17:43:00 +08:00
kenve
6106e459a3 fix: demos can‘t be opened correctly in CodeSandbox (#13734) 2018-12-20 16:47:10 +08:00
afc163
7e911637e2
📝 detect recommendation links click data 2018-12-11 12:33:23 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
6388410c1f
💄 site: fix demo edit tooltip text 2018-12-05 21:06:27 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
afc163
6b285439c4 📈 site: fix recourse card click node 2018-11-13 15:44:14 +08:00
afc163
c1908e78e5 📈 site: fix ga event 2018-11-13 15:24:12 +08:00
alex
2de0bdf686 添加在线编辑对react-router3/4的支持 2018-11-06 17:04:08 +08:00
afc163
934b92b943 site: still need the fallback scrollIntoView, #12683 2018-10-31 16:54:58 +08:00
afc163
1f0263ccf7 site: fix npm run site error 2018-10-31 13:15:40 +08:00
afc163
de492b90a4 componentWillReceiveProps => getDerivedStateFromProps 2018-10-30 16:17:24 +08:00
afc163
98489f4717 site: now hash jump would be ok
no need to scrollIntoView
2018-10-28 17:35:21 +08:00
afc163
96e0cb5313 site: fix hash 2018-10-26 20:31:06 +08:00
afc163
e03a4e166b site: fix hash link
close #12683
2018-10-19 11:19:41 +08:00
afc163
bf2f7e9c33 Merge branch 'master' into feature-3.9.0 2018-08-28 18:09:01 +08:00
afc163
0e1b304513 Fix codepen error for react@16 and moment, close #11886 2018-08-27 13:28:41 +08:00
HeskeyBaozi
678e2aac4f use svg icon in docs footer nav 2018-08-21 17:46:20 +08:00
Wei Zhu
bb29c46cda
Update ErrorBoundary.js 2018-08-02 18:10:59 +08:00
afc163
e397c094bb site: Add ErrorBoundary for live demo, ref #11553 2018-08-02 16:34:04 +08:00
afc163
7ec566928d site: improve code style 2018-08-02 16:25:47 +08:00
jim
306389273a Improve documentation 2018-07-13 22:23:12 +08:00
afc163
5fe25d9c23 site: fix collapse all button and import it, close #11113 2018-07-01 12:13:46 +08:00
afc163
9f16d066af Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
Wei Zhu
05c5115991 site: fix lint 2018-06-08 23:21:25 +08:00
afc163
468a7629e7 site: fix intersection-observer polyfill 2018-03-07 15:56:40 +08:00
afc163
a2018e7c44 site: fix scroll to current hash in chrome 2018-03-03 16:42:48 +08:00
Reed Sun
024e7c342f Optimize the button tip about expand/hide all code (#9086) 2018-01-23 18:56:31 +08:00
Wei Zhu
cdb160ae4b site: fix forEach call on IE 11 2018-01-22 12:11:28 +08:00
Wei Zhu
9cb8472c4a Fix menu order 2018-01-05 23:42:49 +08:00
Wei Zhu
7cb5b48746 Fix scroll 2018-01-05 18:37:07 +08:00
jljsj
dcb484e1ef update typo 2018-01-05 15:17:32 +08:00
jljsj
f948b9fb54 add 3.0 landing page 2018-01-05 15:16:49 +08:00
Wei Zhu
e3f49efb2d Restruct menu 2018-01-05 10:32:00 +08:00
afc163
6e6cda5b2e fix english typo 2018-01-01 17:24:21 +08:00
Wei Zhu
642f8b20ec Add open in CodeSandbox (#8747) 2017-12-29 17:02:45 +08:00
afc163
404677a68a site: fix extra # in location 2017-12-16 17:35:28 +08:00
afc163
3e0df406f1 Fix unexpected scrollTop change 2017-12-11 20:34:11 +08:00
afc163
76b4afb752 Fix ssr build and scroller not working when location changed 2017-12-03 17:19:59 +08:00
afc163
85416ce577 site: highlight anchor of article 2017-12-03 16:13:04 +08:00
Wei Zhu
01f4b4e713 Merge branch 'master' into antd-3.0 2017-12-01 11:50:07 +08:00
ddcat1115
44c52561e5 fix page jumper style 2017-11-29 15:29:35 +08:00
ddcat1115
eeb642e2bd fix menu style 2017-11-29 14:39:56 +08:00
ddcat1115
daf596a898
Upgrade antd 3.0 site style (#8324)
* 3.0 site update

* update footer

* improve
2017-11-27 15:36:58 +08:00
afc163
892de0c609 update translation word 2017-11-27 00:09:59 +08:00
jiang
a5bf187271 update menu responsive, ref #4682 (#8226)
* update menu responsive, ref #4682

* update popover menu style
2017-11-17 19:17:37 +08:00
Wei Zhu
b39c5cc569 Fix footer nav 2017-11-17 18:30:17 +08:00
afc163
36df1c5f83 site: target should be _blank 2017-10-31 21:58:41 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
afc163
cf6dfac206 Fix codepen demo for react 15 compatibility, close #7808 2017-10-06 16:15:29 +08:00
偏右
0ffccf8b0f Provide a debug way of preact compatibility (#7670)
* try preact

* Add start:preact to scripts

* fix webpack.config.js
2017-09-20 14:57:48 +08:00
afc163
65c86e60ce fix hash jump again 2017-08-27 19:03:36 +08:00
afc163
f9273bc95a remove repeat hash jump 2017-08-17 11:51:14 +08:00
afc163
8e744545ff code style 2017-08-16 10:38:37 +08:00
afc163
5443e79329 improve code expand style 2017-08-15 21:00:31 +08:00
afc163
48f7d22929 site: improve code collapse icon design 2017-08-15 17:20:47 +08:00
afc163
032d3bea12 Support open demo in riddle 2017-07-10 22:17:52 +08:00
afc163
66a731b4c2 site: open demo in codepen with prefill code, close #5140 2017-07-07 16:09:02 +08:00
afc163
d7a29f682b upgrade Col span format in demo 2017-06-15 15:34:47 +08:00
afc163
d7837da175 Fix icon API documentation 2017-06-07 17:06:21 +08:00
afc163
8703145d70 Fix prop-types and createClass warning, #5678 2017-05-18 14:22:47 +08:00
Benjy Cui
82bfa3dcde site: update text 2017-05-17 12:09:17 +08:00
Benjy Cui
067d1af287 site: add warning for not translated articles, close: #5404 2017-05-17 11:34:08 +08:00
Benjy Cui
61d6cf14ff deps: upgrade eslint relative deps 2017-05-15 12:10:28 +08:00
Tyler
919cb22eb7 Use the prop-types package from npm instead of React.PropTypes (#6057)
* Use the prop-types package from npm instead of React.PropTypes

* Remove using of PropTypes from React in docs and site
2017-05-09 13:40:33 +08:00
Manjit Kumar
4e055ed5d0 use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
 - Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
 - Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
afc163
e93dd1e5af site: fix menu item 2017-04-07 15:14:14 +08:00
afc163
0793534665 Add ga event analytic code 2017-04-07 14:29:44 +08:00
afc163
3740fb7f3c Improve iframe demo look 2017-03-18 15:15:00 +08:00
afc163
c361165352 Improve Layout fixed demo 2017-03-18 14:52:23 +08:00
偏右
84e3aa2a37 New design docs (#5370)
* refactor design documentations

* update color document

* Add icon

* Fix images in documentation

* fix some documentation style

* Finish icon doc

* Add copywriting doc

* Add layout.md and navigation.md

* Add more docs

* Fix error color

* improve markdown doc width

* update some details

* fix doc detail

* Add motion.md
2017-03-17 18:56:37 +08:00
afc163
78d33604ac site: improve copy code style 2017-03-02 15:08:42 +08:00
afc163
d44a0ece3f site: improve styles 2017-02-26 15:09:52 +08:00
afc163
c78d3032f5 site: fix aside menu 2017-02-25 15:10:23 +08:00
afc163
0cbe319839 Add copied message 2017-02-24 19:05:26 +08:00
afc163
4bde2917d2 fix internal links 2017-02-24 18:02:47 +08:00
Benjy Cui
e72d93edfe site: add copy button to demo, close: #4563 2017-02-24 11:55:24 +08:00
afc163
0f46eed370 fix lint 2017-02-23 11:45:48 +08:00
afc163
5fbc007ff7 site: fix link 2017-02-23 00:35:16 +08:00
afc163
c3748a60f4 site: improve responsive design 2017-02-21 12:07:28 +08:00
Wei Zhu
0cb6645038 site: Link to edit page directly (#4895) 2017-02-16 10:18:41 +08:00
Benjy Cui
bdd5be88f2 site: generate link with locale 2017-02-09 17:55:26 +08:00
Benjy Cui
a950a1298a site: upgrade bisheng to 0.21.0 2017-02-09 17:55:26 +08:00
afc163
04a94a691e site: update sider menu order 2017-01-22 19:16:54 +08:00
Benjy Cui
eb254572b7 site: upgrade bisheng to 0.20.0 2017-01-20 11:48:38 +08:00
Benjy Cui
11bcb58685 site: reduce bundle size 2017-01-17 15:24:13 +08:00
Benjy Cui
e459562cdc site: fix target demo highlight, close: #4545 2017-01-13 14:59:14 +08:00
Benjy Cui
dd43704108 site: fix key 2017-01-09 12:01:15 +08:00
afc163
024e398ad0 Fix lint for latest eslint-config-airbnb 2017-01-09 11:51:56 +08:00
afc163
7f41114ab7 fix site layout back 2016-12-30 13:44:24 +08:00
ddcat1115
c4b637b7de site: fix site style (#4386) 2016-12-28 17:54:07 +08:00
afc163
27b3cdab05 better responsive page layout 2016-12-25 19:18:08 +08:00
Benjy Cui
60da9909d3 site: improve loading performance (#4112)
* site: should generate html file for both of en and cn, ref: #3934

* site: remove loading animation

* site: fix header menu highlight

* site: improve detail

* deps: update
2016-12-09 13:02:16 +08:00
Benjy Cui
4ee2b9d930 site: SSR for official website (#3903)
* site: ssr for Layout

* site: SSR for site

* fix: ssr for Anchor

* chore: add ssr test

* chore: update deploy script

* site: udpate detail

* site: revert animation for site

* site: fix loading animation
2016-11-21 14:39:15 +08:00
afc163
dde040e3e8 fix lints 2016-11-15 15:10:01 +08:00
Benjy Cui
3112b0d7ca site: support debug mode for demo, close: #3506 2016-10-20 17:45:38 +08:00
Benjy Cui
5179ffbbe1 site: support demo[only] 2016-10-19 17:39:25 +08:00
Benjy Cui
13d48aa1e5 site: show locale in url, close: #3456 2016-10-18 12:04:09 +08:00
Benjy Cui
c082e1b1d1 site: extract common code as utility function 2016-10-18 11:18:25 +08:00
Benjy Cui
40ea091a97 site: fix re-render for live demo, close: #3333 2016-10-13 16:52:24 +08:00
afc163
0d8267c71c fix lint 2016-10-10 19:40:53 +08:00
afc163
bd952af661 fix lint 2016-10-09 22:55:20 +08:00
afc163
11cff6aec6 fix site 2016-10-09 17:46:40 +08:00
afc163
4284e77d29 fix docs/spec/layout document title 2016-09-30 11:51:36 +08:00
afc163
4283fde035 update code collapse style 2016-09-29 23:14:19 +08:00
Benjy Cui
87753482bf style: update code style to please lint, close: #2811 2016-09-27 10:06:34 +08:00
Benjy Cui
b43d40d47b docs: translate category for specification 2016-09-26 11:08:27 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
Benjy Cui
e521009670 site: fix 404, close: #3098 2016-09-20 16:48:34 +08:00
Benjy Cui
e9d65904a1 site: add shouldComponentUpdate form Demo.jsx, close: #3090 2016-09-20 15:01:25 +08:00
Benjy Cui
029dcf983e site: fix sidebar 2016-09-19 11:23:41 +08:00
Benjy Cui
b27dfca108 site: translate the tips of EditButton, close: #3060 2016-09-18 14:27:41 +08:00
afc163
01161ab8cd Add title for toc items 2016-09-15 01:42:45 +08:00
Benjy Cui
9ac4e6ea44 site: fix language detect function 2016-09-10 11:21:00 +08:00
Benjy Cui
cb367f3f35 site: update site details 2016-09-08 16:53:50 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
afc163
c30839c9ac Fix ant.design site detail 2016-08-17 18:33:19 +08:00
Benjy Cui
1b69accf2d site: add edit button for demo and doc, close: #2325 2016-08-17 12:06:38 +08:00
afc163
f869943c5c fix link 2016-08-04 17:59:07 +08:00
Benjy Cui
2fedc25bfb site: improve load performance 2016-08-04 10:52:09 +08:00
Benjy Cui
dfc26727d8 site: unify link 2016-08-03 15:41:18 +08:00