einq7
c342e0a747
fix: img should not overflow its container ( #29118 )
4 years ago
二货机器人
c373710ce2
chore: Adjust collapse arrow position align with first line ( #27363 )
* fix: border style of Input.Search when allowClear (#27325 )
* fix: border style of Input.Search when allowClear
* fix css
* update
* change name
* docs: 4.7.3 changelog (#27350 )
* docs: 4.7.3 changelog
* docs: Patch 27325
* chore: improve useCombinedRefs (#27352 )
* docs: 📝 update introduce
* chore: fix API table border
* chore: Adjust collapse arrow position align with first line
Co-authored-by: xrk <xrkffgg@gmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
afc163
a2890517a6
chore: fix API table border
4 years ago
xrk
75f50f9d17
docs: optimize api style ( #26691 )
4 years ago
afc163
a204040a07
chore: improve API table style in small screen
close #26510
4 years ago
afc163
c18737698b
docs: 📝 fix edit button color again
4 years ago
afc163
2d9448c1b6
docs: 📝 fix edit button color
4 years ago
zefeng
14417f1614
feat(theme): adjust font-size in compact mode ( #23135 )
* feat(theme): adjust font-size in compact mode
With compact theme mode, we adjust default font-size from 14px to 12px.
Closes #23015
* patch: update docs min font-size
* patch
* patch
* patch
* patch
* patch
* patch
5 years ago
xrkffgg
0d927a18f1
docs: optimize site of sources ( #23648 )
5 years ago
xrkffgg
22b5f65830
docs: optimize site of docs ( #23642 )
* docs: optimize site of docs
* fix: gitee link
* fix lint
5 years ago
xrkffgg
2cb635e921
docs: optimize site of spec ( #23628 )
* docs: optimize site of spec
* fix: lint
5 years ago
xrkffgg
43bc7196ea
docs: fix site subtitle in rtl ( #23403 )
5 years ago
偏右
8fa2252903
chore: 🔧 fix codesandbox React.Fragment support ( #22315 )
* site: fix codesandbox React.Fragment support
* 💄 prettier site code
5 years ago
偏右
3c6faa6cb4
🎬 Improve Grid demo style ( #21625 )
5 years ago
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
5 years ago
ycjcl868
b4d71beb92
tweak: extract site dark style into dark.less
5 years ago
ycjcl868
e5bc8bab5a
fix: style:lint
5 years ago
ycjcl868
050fff7d1e
fix: code block color
5 years ago
ycjcl868
8a7beb02bd
fix: dropdown menu
5 years ago
ycjcl868
53a22542ba
fix: site code block
5 years ago
ycjcl868
c10a6f029c
fix: demo style
5 years ago
ycjcl868
27ce7012e7
fix: border-color
5 years ago
ycjcl868
6477b46fa8
fix: data-theme
5 years ago
chenshuai2144
74d035de01
update logo text
5 years ago
ycjcl868
0f445dded5
fix: code style
5 years ago
ycjcl868
5d0aa4a231
fix: grid
5 years ago
二货机器人
efd3b35830
feat: Col support `flex` prop ( #16635 )
* feat: Col support `flex` prop
* update snapshot
* update doc
* row component use flex type by default
* revert grid flex layout doc
* remove float style
* remove doc old FAQ
* revert .make-row
* col style use flex and max-width
* remove useless Col style and imorove base doc for a single Col
* update snapshots
* fix flex mode pseudo
* update snapshots
* back to old flex mode demo gray background color
* set default col flex => 1 auto
* change grid about flex mode description
* update snapshots
* improve grid introduce and fix with gutter bug
* update snapshots
* remove version
5 years ago
ycjcl868
ffd4371ab5
fix: remove @border-radius-sm
5 years ago
afc163
8a715d0991
📝 🎬 improve grid demo and documentaion
5 years ago
afc163
08000b217e
✅ fix stylelint
5 years ago
afc163
2e5928450d
📝 Improve Table doc about tableLayout
5 years ago
afc163
6fe1e41ae9
📝 Improve API Table design
5 years ago
afc163
d6e14efa56
📝 update changelog
5 years ago
陈帅
bbb1690293
add 3.20.0 changelog ( #17365 )
* add 3.20.0 changelog
* fix typo
* fix typo
* change image
* change image
* beter img code style
* Add Result changlog
5 years ago
zombieJ
e88589d9ef
feat: Pagination support `disabled` prop ( #16493 )
* feat: Pagination support `disable`
* update snapshot
* update style
* update style
* update snapshot
* update font color
6 years ago
afc163
2737c00633
💄 Fix stylelint problems
6 years ago
陈帅
5e298dba51
3.14.0 Changelog ( #15145 )
* add responsive property to carousel (#15071 )
* add responsive property to carousel #15065
* extend carousel props from Slick type definitions #15065
* rm key in OptionProps (#15104 )
* update doc
* fix cascader should tab twice to exist (#15117 )
* fix cascader should tab twice to exist
* update snapshot
* Drawer Body padding should be variable
* fix DatePicker to support an array of formats (#15116 )
ref #13148
* table reader mobile friendly
* up
* up
* doc: add 3.14.0 changelog
* doc: fix ci warning
* doc: fix ci warning
* doc: fix typo
* doc: fix ci warning
* doc: fix ci warning
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* -m
* -m
* doc: fix cr warning
6 years ago
xiaohuoni
959987ad23
table reader mobile friendly
6 years ago
米老朱
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
6 years ago
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
6 years ago
afc163
3fcb8fa0b3
💄 Fix stylelint errors
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
71b8cf7a0c
site: tweak style detail
6 years ago
afc163
a669f24afe
site: improve hr style
6 years ago
afc163
8fee0fd567
site: update heading font
6 years ago
afc163
5ab199b867
site: fix some icon align styles
6 years ago
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/ ).
6 years ago
afc163
6be189aa0f
site: styling API Tables
6 years ago
Wei Zhu
7210bde371
Tweak style
7 years ago