Commit Graph

57 Commits

Author SHA1 Message Date
xrkffgg
7f4c7b5978
style: fix rtl.less place and name () 2020-03-19 12:13:24 +08:00
xrkffgg
f9b46bfb4f
style: add rtl.less of List\Popover\Statistic () 2020-03-18 11:22:27 +08:00
Xinzhe Wang
bd747c97d6
fix: List bordered and split props conflict () 2020-03-02 23:06:02 +08:00
信鑫-King
c17b40ae70
fix: dark background in different container ()
* fix: comment and input

* fix: add @pagination-item-input-bg

* feat: add @list-customize-card-bg for dark hook component

* feat: add dark hook

* fix: checkbox color

* fix: popover-customize-border-color

* fix: table

* fix: style lint

* fix: debug

* fix: color

* fix: update colors

* fix: demo

* feat: popover container bg use mixins utils

* fix: less dark

* fix: table bg in dark

* fix: fixed table

* fix: lint

* fix: lint

* feat: add @table-expand-icon-bg

* fix: notification bg

* fix: remove dark.md

* fix: dropdown

* fix: table

* fix: data lint

* fix: style

* fix: dark less style

* fix: @steps-background

* fix: add thead dark style

* fix: unused styles
2020-02-24 22:44:29 +08:00
偏右
9a3640968e 🐛 Fix List item flex layout ()
close 
2020-01-15 10:36:16 +08:00
zombiej
e38a88181d chore: Merge 4.0-prepare 2020-01-06 11:13:39 +08:00
二货机器人
d6cb50b4fd
revert: "refactor: Remove duplicated less loop" ()
* Revert "refactor: Remove duplicated less loop ()"

This reverts commit af2d803829.

* Update package.json
2020-01-03 15:20:28 +08:00
二货机器人
af2d803829
refactor: Remove duplicated less loop ()
* refactor: Remove duplicated less loop

* update snapshot

* add more test case
2020-01-02 21:21:57 +08:00
Saeed Rahimi
676de29eb4 feat: added rtl direction to all of ant-design components ()
* 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>
2020-01-02 19:10:16 +08:00
偏右
be06f53e23
🐛 Fix List pagniation options text align ()
close 
2019-12-02 16:12:32 +08:00
afc163
c74c868f24 🐛 Fix nested List style in grid layout
close 
close 
2019-09-02 13:19:49 +08:00
陈帅
785c132262
meger feature to master ()
* use ul in list

* update snapshot

* update comment

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

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable ()

* feat: added table selected row color variable

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

* feat: Upload support customize previewFile ()

* 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 ()

* 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 ()

* 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 () ()

* 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 ()

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

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

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type ()

close 

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

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

* feat: Add Timeline.Item.position ()

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

* refactor: Update Tree & TreeSelect deps ()

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` ()

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown ()

* 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 () ()

* 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 ()

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
zombieJ
e541a2492c
fix: List with actions style should be the right ()
* update css

* should not affect vertical style

* update logic
2019-04-24 12:21:02 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
afc163
5ee4efb2db
style(Empty): 💄 create simple style Empty in a default way 2019-04-03 18:59:02 +08:00
偏右
5f4f8b0dee
Fix list item style ()
* 🐛 Fix List Item layout style problems

* 🐛 horizontal list should align center

*  Add test cases

*  Add test cases for List.Item

* 🐛 Fix vertical list item with extra
2019-03-11 23:34:05 +08:00
afc163
4275430094
🐛 Keep same content color of List like previous version
close 
2019-03-09 19:27:13 +08:00
afc163
7a217c625c
🐛 Fix space lost when inline element in List.Item, close 2019-03-06 16:31:07 +08:00
afc163
0fe82ed936
refactor list item dom structure 2019-03-06 14:20:51 +08:00
afc163
1c7e0d0b4b
🐛 Fix space lost when inline element in List.Item
close 

use `display: contents`:

- https://www.zcfy.cc/article/vanishing-boxes-with-display-contents
- https://css-tricks.com/get-ready-for-display-contents/
2019-03-06 14:20:51 +08:00
米老朱
6936599aef Enhance stylelint rules ()
* 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
Subroto
57f4c62368 Revert "fix IE 11 bug" ()
This reverts commit 7d7de2a599.
2019-02-10 23:25:35 +08:00
Subroto
7d7de2a599 fix IE 11 bug
If `flex-basis` is not set, it is taken as `0px` as default, breaking the ui in IE 11.
2019-01-28 18:46:47 +08:00
Gautier
8bb3b10c01 Add a new less variable to override the list header background ()
* Add a new less variable to override the list header background

* Add a new less variable to override the list footer background
2019-01-24 19:52:47 +08:00
zombieJ
b826ecf849
add miss style deps ()
close 
2019-01-09 15:05:41 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
cc37b8ef35 should not hide avatar in vertical item layout of List 2018-10-31 18:55:54 +08:00
Wei Zhu
4aa2bf804a Merge branch 'list-item-style-config' 2018-09-29 15:44:35 +08:00
afc163
0e2c58e42e Fix card width in List.Grid, close 2018-08-11 00:56:16 +08:00
David Hatten
f237effc2a list padding and margin defaults added 2018-08-07 13:54:03 -04:00
afc163
92eeb7f8c9 Tweak list grid margin 2018-04-13 15:35:51 +08:00
afc163
2939aea4ec Fix list extra border, close 2018-04-13 15:35:51 +08:00
afc163
f4abc8c14d Fix extra scrollbar in table or list cause by spin
close 

change a better way to fix 
2018-01-09 16:27:40 +08:00
nikogu
83b1a5f8ba fixed list grid has scrollbar in ie 2018-01-07 17:35:22 +08:00
niko
99c8444785
remove dump flex style in list for ie compatibility fixed: () 2018-01-03 10:02:52 +08:00
afc163
9b2ca4b1aa Fix List pagination margin, close 2017-12-16 17:31:41 +08:00
afc163
f005974c56 refactor list less code 2017-12-16 17:29:49 +08:00
niko
f6a730e2fe
List empty style () 2017-11-17 11:25:29 +08:00
nikogu
5db04b6d4b update list grid padding bottom 2017-10-27 15:24:11 +08:00
afc163
11c3abb3aa Fix list border 2017-10-26 15:36:48 +08:00
afc163
c44f9528be Tweak list style 2017-10-26 15:07:01 +08:00
nikogu
f8f3e0f936 list update pagination margin top 2017-10-17 14:17:20 +08:00
niko
57d5038d1c fixed: https://github.com/ant-design/ant-design/issues/4905#issuecomment-335710078 () 2017-10-12 05:09:37 -05:00
niko
b4ed4e6d3f Improve List Component
fixed: https://github.com/ant-design/ant-design/issues/4905#issuecomment-332442843
 ()
2017-10-11 10:29:45 +08:00
偏右
2bced36f0c New component styles ()
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
niko
c64f46c217 List optimize ()
* add split props
* add size props
* add footer & header props
2017-09-26 16:11:35 +08:00
niko
91b97d7b25 List virtualized ()
* add virtualized & infinite demo
* change `children render` to `renderItem`
2017-09-25 15:24:16 +08:00
偏右
759b0bb821 seperate reset styles ()
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, 

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close 
2017-09-22 18:33:29 +08:00
niko
bceb15c4e6 List:add infinite & detail optimize ()
* List:add infinite & detail optimize

* React.children.map -> context

* update snapshots & demo order

* remove Item.Action _id

* update List demo

* List:add infinite & detail optimize

* React.children.map -> context

* 更新 snap

* update snapshots
2017-09-06 15:53:25 +08:00
nikogu
33c41e97f7 List: change padding bottom 2017-08-30 11:45:47 +08:00