Commit Graph

267 Commits

Author SHA1 Message Date
zombiej
f58efe9b32 chore: merge master 2022-05-23 14:37:16 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo (#34742)
* docs: add general components TS demo

* docs: add layout components TS demo

* docs: add navigation components TS demo

* docs: add data entry components TS demo

* chore(deps): add types for qs

* docs: add data display TS demo

* docs: add feedback components TS demo

* docs: add other components TS demo

* chore(deps): add types

* docs: unified demo code style

* docs: fix lint error

* docs: add demo TS type

* docs: fix demo TS type

* test: update snapshot

* docs: fix TS demo

* feat: update Rate character type

* docs: fix lint error

* feat: update Rate character type

* feat: update Rate character type
2022-05-19 09:46:26 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
MadCcc
6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
afc163
80e7cc0afd
fix: <Icon component={HomeOutlined} /> align issue (#33709)
* fix: <Icon component={HomeOutlined} /> align issue

close #33703

* update snapshot
2022-01-13 20:32:09 +08:00
Tushar Kashyap
5b2489a2e6
docs: changed specific to specify in basic.md (#30461)
Specify is the correct word to use instead of specific in the current scenario.
2021-05-10 16:45:02 +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
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +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
xrkffgg
f0568efdf3
docs: perfect website (#26079)
* docs: perfect website

* fix []
2020-08-07 15:50:53 +08:00
xrkffgg
2321cc6df5
docs: format api divider/grid/layout (#25293)
* docs: format api divider/grid/layout

* add the
2020-06-30 09:01:49 +08:00
xrkffgg
b9cd990693
docs: format api button/icon/typography (#25292) 2020-06-29 21:43:22 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
偏右
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>
2020-05-31 11:48:34 +08:00
afc163
850b670862 docs: add create-react-app svg import usage
close #24175
2020-05-15 12:37:20 +08:00
二货机器人
2e284aa017
chore: small bundle size (#24135)
* update warning

* rm warning

* replace with dev warning

* fix test

* fix site

* Update webpack.config.js

Co-authored-by: 偏右 <afc163@gmail.com>

* Update webpack.config.js

* fix sytax

* adjust

* move into function

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
xrkffgg
e26eb5f892
docs: optimize site of rtl (#23995) 2020-05-10 22:11:09 +08:00
Baic
7790046ce2
docs: update createFromIconfontCN scriptUrl new array usage (#23704)
* scriptUrl新增数组类型支持,增加文档说明,修改@ant-design/icons最低版本号

* 增加scriptUrl支持数组的代码演示,增加类型说明

* Icon 修改代码演示标题,补充文档

* 根据建议修改文档格式

* 增加scriptUrl为数组时候的覆盖关系说明

* 修改覆盖说明文案
2020-04-28 18:14:07 +08:00
二货机器人
ecf4e47647
docs: Update icons doc (#22709)
* docs: Update icons doc

* Update index.en-US.md
2020-03-29 10:48:59 +08:00
Amumu
76de873d87
add className (#21988) 2020-03-08 13:59:44 +08:00
Amumu
ea0604bb3c fix typo (#20913) 2020-01-15 12:16:12 +08:00
RollTsai
5837c68b1e Update index.en-US.md (#20912) 2020-01-15 12:00:13 +08:00
zombiej
80359a15b1 clean up 2019-12-25 20:19:33 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
afc163
85fcf0fe6e 🐛 fix Icon component ts error with cra definition
close #13205
close #19638
2019-12-09 15:27:58 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
zhangyanling77
eb91cbdfab feat: Button & Icon remove version column in 4.0-repare (#19845) 2019-11-21 10:16:58 +08:00
zombiej
9bea463638 chore: fix ts define 2019-11-06 11:18:11 +08:00
zombiej
3c26ac9a54 chore: merge master 2019-11-06 10:34:53 +08:00
Amumu
e150cfc371 fix: extraCommonProps not work properly (#19572)
* fix extraCommonProps not work properly

* add test case
2019-11-05 18:32:57 +08:00
zombiej
7a12b2b1ae merge master 2019-10-30 16:28:28 +08:00
Aaron Cawte
693d5a1434 General components doc tweaks (#19416)
* Documentation - Button Component

* Documentation - Icon Component

* Documentation  - Typography component
2019-10-25 09:56:30 +08:00
zombiej
d8eac4c606 update snpashot 2019-09-11 22:28:50 +08:00
zombiej
f8f7ccb709 fix lint 2019-09-11 22:21:41 +08:00
诸岳
495fc3a99a Fix confilcts from master branch 2019-09-07 00:39:49 +08:00
vagusX
e479f1f476 update docs 2019-09-05 12:35:04 +08:00
vagusX
43bcd0ec8f Update index.zh-CN.md 2019-09-05 12:35:04 +08:00
vagusX
701b3f5fc9 Update index.en-US.md 2019-09-05 12:35:04 +08:00
kanweiwei
5d2596bda8 component props are readonly 2019-09-05 12:35:04 +08:00
kanweiwei
784ad7d57c update 2019-09-05 12:35:04 +08:00
kanweiwei
bbd979f7ff update test 2019-09-05 12:35:04 +08:00
kanweiwei
19325b4175 modify component renderer 2019-09-05 12:35:04 +08:00
kanweiwei
4d6c8bc0b5 fix: icon render 2019-09-05 12:35:04 +08:00
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +08:00
afc163
760853e239 💄 eslint for all 2019-08-14 18:21:24 +08:00
Kelvin Chu
4a54c5698c Fixed grammatical errors in Button and Icon documentation. 2019-08-13 15:56:29 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00