Commit Graph

127 Commits

Author SHA1 Message Date
陈帅
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
moonrailgun
25599bc7ce add text selection so we can overwrite it independent 2019-04-18 12:31:04 +08:00
afc163
2737c00633
💄 Fix stylelint problems 2019-04-15 22:44:51 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
zombieJ
d1e58d058f
update wave style (#15978) 2019-04-09 19:32:58 +08:00
偏右
659efe05a8
Merge pull request #15613 from krokofant/master
Enable theme switching by html-prefix
2019-04-05 16:15:36 +08:00
Benjamin Amelot
f55ccfe81e Remove underlines from focused links (#15759) 2019-03-31 13:46:38 +08:00
krokofant
637b2e326d 👌 IMPROVE: Scoping styles for themeing 2019-03-24 17:52:14 +01:00
Cong Zhang
bc4303b98a Allow font-feature-settings to be customizable 2019-03-19 15:03:52 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
Andrew Shearer
163140189f Fix quote rendering (#14708)
Use curly quotes from the current font, removing an override that
switched to a Chinese font for those 4 characters. On all platforms,
this caused the quotes to differ in size and weight from the
surrounding text. On Linux, it also caused text to fall back to a
serif font rather than the intended sans-serif font. On Windows,
it used a full-width Chinese character, making it look like there
were extra spaces in the text. Typographic apostrophes, in
particular, appeared to have two or more extra spaces after them.

fix #13095
2019-02-04 11:36:03 +08:00
zombieJ
3bd784cec6
force opacity of 0 (#14703) 2019-02-03 09:02:46 +08:00
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
2019-01-30 21:54:43 +08:00
afc163
d3d5a3e18d
Merge branch 'master' into feature-for-resolve-conflict
* master: (45 commits)
  Add type definitions for Steps.Step (#14468)
  add select check to fix edge wave issue (#14469)
  Fix for Pagination ellipsis misalignment (#14473)
  change sentry id
   Add sentry in ant.design
  💄 New Sketch resources!
  fix transfer ref (#14441)
  Add onMouseEnter and onMouseLeave for Menu Item (#14454)
  update snapshot (#14467)
  📝 beautify code style in documentation (#14457)
  Updating type: TreeSelectProps.getPopupContainer (#14443)
  change error version
  3.12.4 changelog (#14436)
  Format
  Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364)
  docs: updated doc for create-react-app
  fix prefixCls of empty go to div (#14404)
  update snapshot (#14406)
  add radius on table-placeholder to fix table small size border clip (#14398)
  fix style of Input.Search with enterButton (#14397)
  ...
2019-01-22 17:34:10 +08:00
zombieJ
0e8e2b53e4
add select check to fix edge wave issue (#14469)
* add select check to fix edge wave issue
fix #14466

* update style

* add comment

* rm removeAttribute
2019-01-22 16:23:59 +08:00
ztplz
46a7a048dc Replace text-decoration-skip: ink to text-decoration-skip-ink: auto 2019-01-14 01:01:50 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
amedora
0aeb9a356b use color definitions insted of numbers 2018-12-05 19:45:22 +08:00
afc163
cdafee70f2 Merge branch 'master' into feature
* master:
  🔥 update less code style
  ⬆️ upgrade react-dnd version
  update
  Remove unused dependencies
  3.10.7 changelog
  🐛 Fix typo, #12978
  update changelog
   Release 3.10.6
  🚑 Fix Button[href] 1px align bug in another way
  tweak style
  💄 tweak button style
2018-11-12 12:06:24 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
Nima Dehnashi
54b944e8ee Allow font-variant to be customized 2018-10-17 14:43:43 +08:00
afc163
bf2f7e9c33 Merge branch 'master' into feature-3.9.0 2018-08-28 18:09:01 +08:00
afc163
1707abb48d Fix switch click error, close #11891 2018-08-27 11:43:54 +08:00
afc163
be78706364 Merge branch 'master' into feature-3.9.0 2018-08-25 18:55:32 +08:00
afc163
98c3d8b1d7 tweak wave style 2018-08-25 14:25:21 +08:00
HeskeyBaozi
d9b38aee4b Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	package.json
2018-08-25 13:24:44 +08:00
afc163
60cff5de40 tweak wave effect detail 2018-08-20 23:55:35 +08:00
afc163
041173f059 tweak animation arguments 2018-08-20 21:02:51 +08:00
afc163
5e37710ecb improve click effect 2018-08-20 20:59:48 +08:00
HeskeyBaozi
65600c8a95 upgrade to 3.8.2 2018-08-20 14:00:51 +08:00
HeskeyBaozi
b9a9c308c9 [breaking] remove iconfont-font class helper 2018-08-14 15:31:20 +08:00
HeskeyBaozi
35974d67b2 update test snap shot 2018-08-13 20:51:01 +08:00
HeskeyBaozi
3baec95628 Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-13 09:26:33 +08:00
afc163
9cf6ae6010 Refactor and apply wave click animation to more components
now support Button, Tag, Radio.Button and switch
2018-08-11 15:14:34 +08:00
afc163
45fb83d64c simplify style code 2018-08-08 16:18:45 +08:00
HeskeyBaozi
b2ab727c89 resolve conflicts 2018-08-06 15:06:06 +08:00
Thibault Derousseaux
43abea3212 Use tabular-nums font variant instead of switching to Tahoma for figures
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422.
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric) that can be set to `tabular-nums`.

This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/).
2018-08-04 11:28:14 +08:00
HeskeyBaozi
cc180e2605 resolve conflict. 2018-08-02 18:02:31 +08:00
Ooi Yee Wei
c849a73f4e First commit 2018-07-30 21:29:26 +08:00
HeskeyBaozi
7503a0c827 use antd-icons 2018-07-18 10:07:10 +08:00
方剑成
96d53aefb8 Remove redundant icons (#10583) 2018-05-20 00:49:48 +08:00
afc163
20495dd5ba Fix monospaced number font weight issue
http://codesandbox.io/s/w705jk5wz7
2018-05-07 21:19:16 +08:00
jojoLockLock
7915e58f1f fix base.less @at-root syntax error (#9832) 2018-03-28 10:41:54 +08:00
afc163
c04377e541 Add more icons, #9092 2018-02-11 17:10:18 +08:00
afc163
506f97640e Fix font family name, close ant-design/ant-design-pro#813 2018-01-26 10:24:41 +08:00
afc163
32023c24e5 Add aliyun icon 2018-01-19 12:04:50 +08:00
afc163
f88a405c32 Fix text font family unexpected change in chrome, close #8636 2018-01-12 21:53:34 +08:00
afc163
a0c189f800 Fix Chinese single quotes font family 2018-01-10 21:27:54 +08:00
EcmaProSrc.P/ka
534b69be21 Update base.less (#8912)
Repair spelling mistakes
2018-01-10 18:45:30 +08:00