Commit Graph

473 Commits

Author SHA1 Message Date
Dean van Niekerk
019fdd58a0 feat: add footer property to Drawer (#20690) 2020-01-06 14:56:00 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 (#20642)
* fix: rtl direction bug

* 📝 dark theme usage docs

* fix: sketch download

* fix: theme dark

* 📝 empty image

* fix: dark form with mixture components like picker, input

* 📝 update sketch release download

* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
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>
2020-01-02 19:10:16 +08:00
信鑫-King
f88f383be6
fix: dark site in Form and iframe change (#20573)
* fix: suggestion dark bg

* fix: demo use autoComplete="off"

* feat: support iframe theme change

* fix: iframe dark theme

* upd: test snapshot

* fix: lint

* fix: lint

* tweak: use theme-switcher to handle iframe and parent

* feat: support iframe theme change

* fix: dark shadow

* fix: layout style

* fix: dark site style

* fix: snapshot
2020-01-02 17:54:11 +08:00
ycjcl868
857fc6e73c fix: timeline dot bg 2019-12-31 15:45:33 +08:00
ycjcl868
eb005a17cb fix: table header 2019-12-31 15:12:18 +08:00
ycjcl868
e7663800c6 fix: Picker margin-bottom 2019-12-31 15:12:18 +08:00
ycjcl868
f230ac58d6 fix: site dark, tweak style 2019-12-31 15:12:18 +08:00
ycjcl868
45082873d6 fix: menu popup dark color 2019-12-26 14:06:32 +08:00
ycjcl868
bd2633d303 Merge 4.0-prepare into feat-dark-palette 2019-12-25 21:13:07 +08:00
ycjcl868
7215fee6e3 fix: alert component dark theme 2019-12-25 21:04:47 +08:00
ycjcl868
c6fa94c534 fix: picker-date hover range color 2019-12-25 20:34:40 +08:00
ycjcl868
ca77c02d10 fix: Progress steps item bg 2019-12-25 20:24:40 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
ycjcl868
f7cfb21d1c fix: calendar-full background 2019-12-25 18:06:50 +08:00
ycjcl868
2af4c84c22 fix: table header sort active bg 2019-12-25 16:59:21 +08:00
ycjcl868
c100b892ba fix: table dark theme style 2019-12-25 15:59:16 +08:00
ycjcl868
839ed3ed05 fix: table site dark style 2019-12-25 15:14:34 +08:00
ycjcl868
957b1ac7d0 fix: calendar style hover 2019-12-25 15:04:41 +08:00
ycjcl868
fb44177f2f fix: dark theme fixed 2019-12-25 11:02:45 +08:00
ycjcl868
35c01f6874 fix: descriptions bg 2019-12-25 10:28:29 +08:00
ycjcl868
589750dbd6 fix: dark.css theme in site 2019-12-24 18:14:21 +08:00
ycjcl868
0f546690b5 fix: steps styles 2019-12-23 18:36:49 +08:00
ycjcl868
27ce7012e7 fix: border-color 2019-12-23 18:08:15 +08:00
chenshuai2144
cbfc052d0d dark theme sync 2019-12-23 16:02:09 +08:00
ycjcl868
4895c3d2a9 fix: dark theme 2019-12-23 11:46:40 +08:00
ycjcl868
65695f4f62 Merge origin/4.0-prepare into feat-dark-palette 2019-12-23 09:15:40 +08:00
骗你是小猫咪
5b29913174
refactor(Button): base style use flex (#20300)
* improvement(Button): base style use flex

* remove unnecessary style

* add vertical-align

* fix style lint order

* remove vertical-align and improve global line-height

* change line-height-base

* update form debug demo
2019-12-21 22:01:47 +08:00
ycjcl868
b15458f8c5 fix: dark theme 2019-12-21 17:11:32 +08:00
ycjcl868
608c000852 fix: mentions bg 2019-12-21 17:07:29 +08:00
ycjcl868
d316190e41 fix: picker dark theme 2019-12-21 16:38:51 +08:00
ycjcl868
8ffcbe468a feat: change theme 2019-12-18 18:45:05 +08:00
ycjcl868
e53a05cf53 tmp: not merge 2019-12-18 15:28:36 +08:00
ycjcl868
dae4e4f5fe fix: primary color , fix select item bg 2019-12-18 15:28:36 +08:00
ycjcl868
70ea42aa18 fix: slider color 2019-12-18 15:28:36 +08:00
ycjcl868
3b112e048d fix: process-tail-color 2019-12-18 15:28:36 +08:00
二货机器人
c35174e9e5
fix Form.Item align style (#20216) 2019-12-13 10:38:40 +08:00
Theo Satloff
721d8cb4a0 improve dropdown/cascader/select customization 2019-12-10 13:21:36 +08:00
ycjcl868
bb42770da7 fix: rename @gray-11 to @popover-background 2019-12-07 10:21:05 +08:00
ycjcl868
89e8d01310 fix: @menu-popup-bg in dark 2019-12-05 12:33:48 +08:00
ycjcl868
6af7f8382c feat: @input-icon-hover-color 2019-12-05 00:04:50 +08:00
ycjcl868
34332116fb feat: @skeleton-to-color, @transfer-item-hover-bg, fix: progress style statusColor 2019-12-04 20:45:12 +08:00
ycjcl868
4e45bee68f feat: add @select-clear-background 2019-12-04 12:28:37 +08:00
ycjcl868
dfab3c4ab5 fix: border-color in popover component 2019-12-04 11:58:48 +08:00
ycjcl868
4be9e9dd62 fix: remove dark.less import 2019-12-03 22:27:39 +08:00
ycjcl868
7b826879de fix: @link hover,active color 2019-12-03 21:14:16 +08:00
ycjcl868
d8ab994ecb fix: border-color use solid color 2019-12-03 19:57:09 +08:00
ycjcl868
dc90c21f15 fix: @theme default 2019-12-03 15:40:15 +08:00
ycjcl868
e2251f515b fix: @theme condition 2019-12-03 15:39:32 +08:00
ycjcl868
d6f41db414 fix: default theme button danger color 2019-12-03 12:21:21 +08:00
ycjcl868
d5d2051ec7 fix: components notification 2019-12-02 13:23:30 +08:00
ycjcl868
505b12a1e9 fix: table header dark 2019-12-02 12:27:14 +08:00
ycjcl868
898311c637 fix: datepicker bg @time-picker-panel-inner-bg 2019-12-02 12:22:19 +08:00
ycjcl868
dc1d1876f8 feat: @radio-dot-disabled-color 2019-12-02 12:03:05 +08:00
ycjcl868
28306fb304 fix: colorPalette and @tree-bg 2019-12-02 10:53:09 +08:00
ycjcl868
d94845fc7c fix: remove @import dark 2019-12-02 00:00:12 +08:00
ycjcl868
aa963b53c0 fix: @mentions-dropdown-bg 2019-12-01 23:58:14 +08:00
ycjcl868
208d954a1d fix: @input-number-handler-bg 2019-12-01 23:52:38 +08:00
ycjcl868
99f8d84f2f feat: date-picker, steps less dark 2019-12-01 23:44:51 +08:00
ycjcl868
5590ba0d4e Merge 4.0-prepare into fix-dark-theme 2019-12-01 22:46:15 +08:00
ycjcl868
f7f17c86d5 feat: @dropdown-menu-submenu-disabled-bg 2019-12-01 22:45:19 +08:00
ycjcl868
327011da77 feat: @theme dark, default 2019-12-01 22:28:35 +08:00
ycjcl868
689d9b7ada feat: @mention-textarea-bg 2019-12-01 21:49:49 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
ycjcl868
d388c1dcc6 fix: cascader and input-number-handler bg 2019-12-01 21:42:02 +08:00
ycjcl868
673f86b3f5 fix: pagination dark theme 2019-12-01 21:23:11 +08:00
ycjcl868
8ad5b73016 chore: test antd dark theme component 2019-11-30 00:08:37 +08:00
ycjcl868
fc3b775452 📝 dark theme usage 2019-11-29 22:09:07 +08:00
ycjcl868
af0127c8e2 fix: layout dark theme 2019-11-29 09:04:39 +00:00
ycjcl868
212b6fb01d fix: @red-base 2019-11-29 09:04:39 +00:00
ycjcl868
f10f351219 chore: TODO colorPalette 2019-11-29 09:04:39 +00:00
ycjcl868
a124ec8ddf feat: use @{color}-base 2019-11-29 09:04:39 +00:00
ycjcl868
dfa14f469a feat: add @dropdown-menu-bg, @time-picker-bg, @calendar-bg, @calendar-input-bg, @pagination-item-bg 2019-11-29 09:04:39 +00:00
ycjcl868
34f3b44f6d fix: button default background in dark theme 2019-11-29 09:04:39 +00:00
ycjcl868
4116a6ef59 feat: antd-dark.less build tool 2019-11-29 09:04:39 +00:00
ycjcl868
817b2ab70d feat: add @comment-bg, @anchor-bg, @radio-disabled-button-checked-bg, @radio-disabled-button-checked-color, @radtio-solid-checked-color 2019-11-29 09:04:39 +00:00
ycjcl868
f47a22e888 feat: add @table-bg 2019-11-29 09:04:39 +00:00
ycjcl868
aedea846fc feat: add @upload-actions-color 2019-11-29 09:04:38 +00:00
ycjcl868
90cca72327 feat: add @checkbox-check-bg, @switch-bg 2019-11-29 09:04:38 +00:00
ycjcl868
04ec04ac85 feat: add @calendar-item-active-bg 2019-11-29 09:04:38 +00:00
ycjcl868
4440062e66 feat: add @message-notice-content-bg and @calendar-border-color 2019-11-29 09:04:38 +00:00
ycjcl868
09c00720b8 feat: add btn-default-ghost 2019-11-29 09:04:38 +00:00
ycjcl868
279c24716c feat: add modal and drawer bg 2019-11-29 09:04:38 +00:00
afc163
3fa135023f 💄 Add @table-header-bg-sm and fix footer style
close #19936
2019-11-26 15:33:14 +08:00
ycjcl868
764c046fbc tweak: active and hover background color 2019-11-19 11:45:32 +08:00
ycjcl868
6d7950a1d9 fix: hover color use #f5f5f5 @gray-3 2019-11-19 10:20:25 +08:00
ycjcl868
79ae060e6e fix: hover and active background color 2019-11-18 22:06:49 +08:00
ycjcl868
ca8435ef7c tweak: functional status color 2019-11-15 14:00:08 +08:00
ycjcl868
7a47b7c98c fix: 0px 2019-11-15 12:28:50 +08:00
ycjcl868
e354fe618a tweak: shadow color 2019-11-15 12:16:07 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
ycjcl868
e3c0703ed6 tweak: divider color 2019-11-13 20:31:23 +08:00
ycjcl868
f900cf7066 tweak: border-radius all use 2px 2019-11-13 20:28:32 +08:00
Amumu
187b10320b chore: Delete duplicate variables (#19547)
* Delete duplicate variables

* chore

* chore
2019-11-04 12:08:27 +08:00
信鑫-King
696f5600ec feat: input,select less vars (#19546) 2019-11-04 11:23:29 +08:00
He Linming
2761460c86 style: add @modal-header-color variable (#19385)
* 💄 add @modal-header-color variable

close #19358

* 👌 change variable name
2019-10-24 10:36:59 +08:00
Dmitriy
a2f28f0ca7 💄 add @typography-title-margin-top and @typography-title-margin-bottom (#18746)
* add: Typography mixins. add: Created typography variables (margin, font-weight). moved: Typography internal variables

* fix: heding margin moved: prefix variable out of default.less

* fixed: circleci

* 🗑 Remove @typography-title-margin-left and @typography-title-margin-right

* 🗑 Remove unused vars
2019-10-15 16:13:39 +08:00
willc001
4e1bbccd54 refactor: add @form-item-label-colon-margin-{right,left} (#15478) 2019-10-14 14:52:23 +08:00
He Linming
a5bb161bb0 💄 add @page-header-back-color less variable (#18887)
close #18869
2019-09-19 09:47:16 +08:00
MrHeer
849237be0b 💄 Add @tree-node-hover-bg and @tree-node-selected-bg less variables
close #18539
2019-09-03 11:17:58 +08:00