Commit Graph

162 Commits

Author SHA1 Message Date
Hsuan Lee
d6c5e5358e docs: fix page header API (#19257) 2019-10-17 11:34:16 +08:00
zombiej
c75bbbd13d merge master 2019-10-16 10:44:56 +08:00
陈帅
338018eba3
feat: Pageheader new style and props (#19100)
* pure page header style

* add type props

* add prue demo

* add config provider doc

* fix lint

* fix lint error

* change pure to ghost

* fix test

* default ghost is true

* fix review style

* fix review warning

* use online style

* remove defualt and remove comment

* add test
2019-10-15 11:46:12 +08:00
zombiej
911867622e merge master 2019-09-26 22:28:08 +08:00
Hsuan Lee
81793758df docs: fix API link 2019-09-25 11:31:40 +08:00
Hsuan Lee
136387fdb7 docs: fix API link 2019-09-24 18:16:04 +08:00
zombiej
9051c7baee merge master 2019-09-23 10:08:32 +08:00
He Linming
a5bb161bb0 💄 add @page-header-back-color less variable (#18887)
close #18869
2019-09-19 09:47:16 +08:00
zombiej
fa8ddb4104 merge master 2019-09-16 11:23:26 +08:00
陈帅
265a01e165 fix doc 2019-09-12 10:53:43 +08:00
zombiej
d8eac4c606 update snpashot 2019-09-11 22:28:50 +08:00
诸岳
495fc3a99a Fix confilcts from master branch 2019-09-07 00:39:49 +08:00
诸岳
ffe0645589
fix(PageHeader): Allow back icon to coexist with breadcrumb, close #18094 (#18691) 2019-09-06 13:30:47 +08:00
zombiej
092a54bc3b docs: fix PageHeader demo with new Icon 2019-09-04 17:06:55 +08:00
zombiej
c83585f997 Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-09-04 17:02:41 +08:00
二货机器人
bf374da148
docs: Fix demo (#18665) 2019-09-04 17:02:19 +08:00
zombiej
b081fc4766 merge master 2019-09-02 16:09:05 +08:00
愚道
396feed150 test: update snapshots for fix test 2019-09-02 10:56:39 +08:00
愚道
2f5537a65b Merge branch 'master' into chore/mergemaster 2019-09-02 10:47:32 +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
Jiawei Huang
dba3ea8721 Capitalize Text and PageHeader default locale strings (#18471)
Most of the locale strings in the default locale are capitalized. This
changeset makes `Text` and `PageHeader` locale strings consistent with
others. Also, "Copied" implies successfully so changing "copy success"
to "Copied" should be sufficient IMHO.
2019-08-27 16:37:22 +08:00
陈帅
e737e50207
feat: 🔥 new pageheader style (#18128)
* new pageheader style

* support avatar

* update demo

* snapshots updated

* fix lint

* change style

* add new style

* fix style

* update demo

* update demo

* fix test

* snapshots updated

* update doc

* remove extraContent

* Bread crumbs and back icon can only have one

* back icon will automatically disappear when configuring breadcrumbs

* update snapshot

* Improve the priority of backicon

* change doc

* change doc

* change doc

* update snapshot
2019-08-25 15:38:51 +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
偏右
a224d7c2e9 ⌨️ Improve Divider accessibility by add role="separator" (#18116)
https://www.w3.org/WAI/PF/aria/roles#separator
2019-08-08 12:32:39 +08:00
afc163
4374514252 fix snapshot and test case 2019-07-30 11:58:45 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
陈帅
bdfcc912c0 fix style warning 2019-06-27 23:33:27 +08:00
afc163
862cecfd63
💄 Better className of PageHeader 2019-06-26 19:16:06 +08:00
陈帅
7e548e4de7 add new test
when breadcrumb lenght=1, pageHeader should have breadcrumb
2019-06-20 19:45:13 +08:00
陈帅
ee21b1c210 fix #17046, breadcrumbs will always show 2019-06-20 19:31:59 +08:00
afc163
8efc0ff5e1
🚨 Fix eslint 2019-06-15 23:51:30 +08:00
陈帅
4373ef1463 fix #17109 ,fix pointers is not always a clickable problem 2019-06-15 21:50:01 +08:00
afc163
4aced89c67
🐛 Fix margin issue of PageHeader extra continually 2019-06-10 19:06:24 +08:00
afc163
16ed7273dd
🐛 Fix margin issue of PageHeader extra
close #17025
2019-06-10 18:22:36 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +08:00
信鑫-King
4a05444d7b
fix horizontal divider style 2019-05-20 23:25:32 +08:00
Eden Wang
90ee2592b5 Update snapshot for test case 2019-05-09 23:26:25 +08:00
Eden Wang
cb30df5712 fix(PageHeader): Should not render blank dom 2019-05-09 23:19:10 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
陈帅
c7e4027398 beter class name 2019-04-25 15:13:13 +08:00
陈帅
6055905ae4 change onclick dom 2019-04-25 12:18:01 +08:00
陈帅
ea444bd7eb snapshots updated 2019-04-20 13:26:17 +08:00
陈帅
a1c4d9f45b use operation-unit function 2019-04-20 10:56:11 +08:00
陈帅
fa81af5abb TransButton use div#role=button 2019-04-19 17:52:27 +08:00
陈帅
b2c734c169 snapshots updated 2019-04-19 15:55:43 +08:00
陈帅
e22bfcdc4d fix #16038, back icon should is a button 2019-04-19 15:42:01 +08:00
zombieJ
f552deb46d
fix: PageHeader which tags should use ReactNode (#16106)
* fix PageHeader which tags should use ReactNode

* Tags
2019-04-16 00:36:25 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
zombiej
2c693ee95b merge feature 2019-04-01 10:22:43 +08:00
zombieJ
0fd0faa8a7
Update Card & PageHeader style (#15755)
* rm Card auto padding

* rm related test case

* adjust pageHeader to 24px

* use less variable

* adjust style
2019-03-31 22:39:26 +08:00
afc163
95bd4d6903
🐛 Fix col element missing relative style
close #15626
2019-03-31 20:25:41 +08:00
jljsj33
eecf0a61bf support level 2 breadcrumb 2019-03-27 17:46:51 +08:00
偏右
c1ef989866
Merge pull request #15354 from ant-design/deps-lint
Deps lint
2019-03-14 20:34:10 +08:00
afc163
64259e167f
🐛 Fix Divider align in PageHeader
close #15336
2019-03-14 14:23:10 +08:00
zombiej
96a95e65d3 update deps lint 2019-03-11 11:48:17 +08:00
zombiej
05564e00ff add style dep lint ignore 2019-03-10 21:04:38 +08:00
陈帅
f73a0e238d feat: PageHeader support classname (#15159) 2019-03-04 14:54:28 +08:00
陈帅
dee8f93fe7
New Component PageHeader (#13637)
* add api dock

* add a simple demo

* add content demos

* fix style warning

* Replace content with children

* add all demo

* add demo test

* add backNode props

* Adjust the divider style

* fix icon do no show

* fix test ci

* fix md code style

* remove fragment use

* add test script

* Missing newline character at end of file

* optimize the demo display

* text becomes longer

* text becomes longer

* fix css code style

* fix test snapshot

* fix css code style

* fix codereivew waring

* fix codereivew waring

* update snapshots

* use ant-page-header-have-footer

* use englist

* fix typo

* updated snapshot

* line-height set to 100%

* remove subtitle

* Specification less

* fix less style error

* Sort by alphabet

* Rebuild code

* use english

* number use Statistic

* snapshot updated

* rm onBack in breadcrumb

* remove unuse return

* add a click wave

* remove unuse css

* add icon hover

* newline character

* new description

* warm descriptive text

* add dot

* remove async

* feat: use Typography.Paragraph

* test: snapshots updated

* style: fix  style lint

* import typography style
2019-03-02 15:51:08 +08:00