Commit Graph

85 Commits

Author SHA1 Message Date
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
e9b0fab156
Merge pull request #20500 from ant-design/fix-dark-site
fix: dark site theme
2019-12-27 22:44:21 +08:00
ycjcl868
b4d71beb92 tweak: extract site dark style into dark.less 2019-12-27 18:14:29 +08:00
afc163
989df9af69 fix stylelint 2019-12-27 15:59:09 +08:00
afc163
02ad26b6ee 💄 fix code block style in demo box 2019-12-27 15:41:39 +08:00
ycjcl868
090f25845c fix: lint 2019-12-26 15:59:50 +08:00
ycjcl868
e5bc8bab5a fix: style:lint 2019-12-26 15:55:10 +08:00
ycjcl868
8795a3106b fix: theme static demo border 2019-12-26 14:41:28 +08:00
ycjcl868
45082873d6 fix: menu popup dark color 2019-12-26 14:06:32 +08:00
ycjcl868
51b118e489 fix: empty svg 2019-12-25 21:19:15 +08:00
ycjcl868
bd2633d303 Merge 4.0-prepare into feat-dark-palette 2019-12-25 21:13:07 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
ycjcl868
fb44177f2f fix: dark theme fixed 2019-12-25 11:02:45 +08:00
ycjcl868
3a38cfaa01 fix: card, form site dark theme 2019-12-23 20:07:56 +08:00
ycjcl868
60eca31754 fix: localStorage 2019-12-23 17:41:55 +08:00
ycjcl868
6477b46fa8 fix: data-theme 2019-12-23 17:16:26 +08:00
ycjcl868
31234f1c75 fix: conflict 2019-12-23 16:39:58 +08:00
ycjcl868
194bf3603f fix: site code action icon 2019-12-23 16:36:40 +08:00
chenshuai2144
cbfc052d0d dark theme sync 2019-12-23 16:02:09 +08:00
ycjcl868
242f5739fc fix: theme demo 2019-12-23 15:17:54 +08:00
ycjcl868
7fe921454f fix: icon 2019-12-23 12:15:22 +08:00
ycjcl868
4895c3d2a9 fix: dark theme 2019-12-23 11:46:40 +08:00
ycjcl868
9630712b51 fix: demo style 2019-12-18 23:41:38 +08:00
ycjcl868
13928fbcd7 fix: bg 2019-12-18 21:32:15 +08:00
ycjcl868
f20c746482 fix: change dark theme 2019-12-18 21:31:23 +08:00
ycjcl868
47608776b5 feat: dark theme change 2019-12-18 20:06:36 +08:00
ycjcl868
e53a05cf53 tmp: not merge 2019-12-18 15:28:36 +08:00
叶枫
400ca638b3 feat: add visible debug demo (#20018)
* add debug

* 添加隐藏显示逻辑

* fix demo

* add en

* clean up

* clean up

* you see see

* Update site/theme/zh-CN.js

Co-Authored-By: 偏右 <afc163@gmail.com>

* Update site/theme/zh-CN.js

Co-Authored-By: 偏右 <afc163@gmail.com>

* fix css

* remove css
2019-12-02 15:21:56 +08:00
zombiej
b37b317b69 chore: merge master 2019-11-25 15:16:59 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
叶枫
dfe7fd3231 feat: code add stackblitz (#19714)
* feat: code add stackblitz

* fix: style

* Update site/theme/static/demo.less

Co-Authored-By: 偏右 <afc163@gmail.com>
2019-11-13 17:29:46 +08:00
zombiej
3c26ac9a54 chore: merge master 2019-11-06 10:34:53 +08:00
afc163
48763bfa7c 🐛 fix Menu styles inside Dropdown 2019-11-05 20:18:48 +08:00
zombieJ
340ff711ab
chore: Support TypeScript & JavaScript with Demo (#17247)
* update bisheng

* support lang panel

* display tabs if multiple lang

* rm tmp file
2019-06-23 12:49:28 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
偏右
c5a4eef414 💄 Enhance component demo (#15511) 2019-03-21 09:48:50 +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
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
0698c82173 adjust icon svg align 2018-09-14 10:58:03 +08:00
afc163
5ab199b867 site: fix some icon align styles 2018-09-10 14:51:18 +08:00
afc163
f22247bce0 site: fix demo icon 2018-09-03 12:20:14 +08:00
afc163
5fe25d9c23 site: fix collapse all button and import it, close #11113 2018-07-01 12:13:46 +08:00
afc163
7e2ba7e6d3 site: fix code demo icon style in IE 2018-06-10 23:03:07 +08:00
Wei Zhu
642f8b20ec Add open in CodeSandbox (#8747) 2017-12-29 17:02:45 +08:00
ddcat1115
721a5621c8 reset text-color and etc. 2017-11-28 16:16:37 +08:00
afc163
a8e5690805 Merge branch 'master' into antd-3.0 2017-11-21 15:59:48 +08:00
afc163
6db2630e90 site: fix code demo box style in IE11 2017-11-21 11:12:20 +08:00
Wei Zhu
55c85f77a1
Update dependendies (#8150)
* deps: upgrade rc-menu, and close: #2837

* test: update snapshots

* Update rc-calendar

* Update rc-cascader

* Update rc-dialog

* Update dropdown

* Update rc-select@7.1.0

* Update rc-slider

* Update rc-time-picker

* Update rc-tooltip

* Update rc-tree-select

* Mock rc-trigger and Portal

* Fix animation warning when inlineCollapsed changes

* fix: should use SubMenu[popupClassName]

* Fix typescript error

* Fix lint

* fix: style for menu

* Mock rc-trigger for React 15

* Remvoe allow_failures
2017-11-11 00:07:03 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
afc163
33f37debd7 tweak site style 2017-08-16 10:49:54 +08:00