Commit Graph

126 Commits

Author SHA1 Message Date
MadCcc
67bfdacca0
fix: fix small steps dot positon (#34651)
* fix: fix small steps dot positon

* chore: code clean

* docs: add demo
2022-03-22 16:12:53 +08:00
toSayNothing
5f9e3a8415
fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix #33681) (#33716)
* Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix #33681)

* fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical
close #33681

* fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical
close #33681
2022-01-14 13:53:08 +08:00
afc163
0224151484
fix: tweak Steps vertical progressDot style (#32742)
close #32737
2021-11-04 19:06:31 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 (#32609)
* chore(deps): update dependency stylelint to v14

* Update package.json

* fix some stylelint

* fix some stylelint

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 (#32451)
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2

Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases)
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2)

---
updated-dependencies:
- dependency-name: stylelint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: autofix stylelint errors

* chore: autofix stylelint errors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
Fachreza Muslim
ade92eb1bd
fix: Steps with progress - Circle get cut at the bottom (#30373)
* Step with progress - Circle get cut at the bottom

* rtl step with progress - circle get cut at the right
2021-05-05 22:46:31 +08:00
afc163
603c0c1733
fix: Steps progress item cut at edge (#29893)
close #29824
2021-03-24 17:51:15 +08:00
zombiej
99d5451dba chore: merge master 2020-12-26 23:11:46 +08:00
偏右
0223e2ed5a
chore(🆙): upgrade less to 4.0.0 (#28466)
* chore(🆙): upgrade less to 4.0.0

* chore(🆙): upgrade bisheng to 3.0.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix progress font size
2020-12-25 14:31:44 +08:00
chequerNoel
725244ee35
fix: Typo steps-desciption-max-width to steps-description-max-width (#28499) 2020-12-23 22:48:40 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
偏右
6a0e0d57f0
feat: support Steps responsive prop (#28459)
close #28409
2020-12-21 17:25:32 +08:00
ZeroToOne
429d0ef625
style(🐛): Fix Steps progressDot style (#28126)
* fix(steps): fix horizontal progressDot steps style problem when current is 0

* style(steps): remove redundant css style

* style(steps): change item-icon background style when step item is process

* fix(steps): fix steps progressDot style
2020-12-03 20:37:46 +08:00
xrkffgg
0cec7ff982
fix: Steps vertical style in rtl (#27996) 2020-11-25 14:55:56 +08:00
偏右
f4d5017599
fix: Steps navigation broken style (#27654)
* fix: Steps navigation broken style

close #27653

* fix steps custom icon
2020-11-09 16:33:53 +08:00
偏右
36f8ce8e6f
perf(📦): reduce Steps responsive css size (#27536)
* perf(📦): reduce Steps responsive css size

* deps-lint-skip: grid
2020-11-04 13:47:13 +08:00
偏右
114dde6373
fix: Steps inside Steps style (#27514)
* style: fix style of Steps inside Steps

* fix snapshot and rtl

* fix rtl style
2020-11-03 16:20:44 +08:00
xrkffgg
62fa37dfe0
style: fix Steps rtl (#27511) 2020-11-03 11:01:56 +08:00
afc163
81fd0d6328 style(💄): fix Steps style in small screen 2020-11-02 17:04:30 +08:00
afc163
20e90ef650 chore: tweak code style 2020-11-02 16:33:06 +08:00
Amumu
729ad9dfa1
fix: Fix the width of the step content in the horizontal direction (#27406)
* chore: code style

* Revert "feat: remove content max-width on dot-step (#24907)"

This reverts commit 0879bd5df3.

* chore: revert code style
2020-10-27 23:58:38 +08:00
偏右
c7d376001a
fix(🐛): Steps item shifts in vertical mode (#26894)
close #26874
2020-09-25 15:43:01 +08:00
07akioni
f964abc7f4
fix: Steps progress circle size & rtl style when use progress (#26075)
* fix: Steps progress circle size

* test: update snapshot

* fix: rtl
2020-08-09 20:28:08 +08:00
07akioni
c2f208e2d2
feat: steps percent (#25839)
* feat: Steps with progress

* test: update snapshot

* fix: lint

* Update package.json

Co-authored-by: 偏右 <afc163@gmail.com>

* refactor: remove progressIcon && rename percentage to percent

* test: snapshot

* fix: icon position offset

* fix: position offset

* fix: icon position offset

* docs

* fix: small line offset

Co-authored-by: 偏右 <afc163@gmail.com>
2020-07-27 21:40:36 +08:00
07akioni
0879bd5df3
feat: remove content max-width on dot-step (#24907) 2020-06-12 15:02:31 +08:00
二货机器人
1eb702b166
fix: steps nav active line height, 3px -> 2px (#24829)
Co-authored-by: 愚道 <tingzhao.ytz@antfin.com>
2020-06-08 16:33:37 +08:00
偏右
f958a1cbc8
fix: Steps subtitle transition style (#24593)
close #24576
2020-05-30 00:45:24 +08:00
coskunuyar
ab972ac1eb
Preventing parent components changing steps component text align property. (#24486)
Co-authored-by: Coskun Uyar <coskunuyarr@gmail.com>
2020-05-27 11:56:30 +08:00
xrkffgg
cffcd0378a
style: optimize steps style (#23855)
* style: optimize steps style

* fix: name

* Update

Co-authored-by: 偏右 <afc163@gmail.com>

* fix: sm

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-05 13:55:05 +08:00
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
2020-04-28 11:16:01 +08:00
Adriano Ruberto
d2140490d8
Fix ie11 flex in steps (#23566) 2020-04-24 18:12:09 +08:00
xrkffgg
dfcaa408c2
style: optimize steps rtl (#23564) 2020-04-24 17:55:44 +08:00
Adriano Ruberto
289dd080b9
fix(steps): Add flex on steps to fix ie11 (#23561)
* Add flex on steps to fix ie11

* Ordering
2020-04-24 16:46:46 +08:00
xrkffgg
089591ac34
style: add steps disabled style (#23402) 2020-04-20 17:05:41 +08:00
xrkffgg
d160016959
style: fix steps rtl (#23183) 2020-04-13 13:53:42 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

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

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
xrkffgg
d8c2410a45
fix: steps rtl style (#22523) 2020-03-23 17:50:39 +08:00
xrkffgg
7f4c7b5978
style: fix rtl.less place and name (#22384) 2020-03-19 12:13:24 +08:00
xrkffgg
14c1a58f4f
style: add rtl.less of Steps (#22290)
* style: add rtl.less of Steps\DatePicker

* style: add rtl.less of Steps\DatePicker

* style: remove datepicker
2020-03-17 15:14:29 +08:00
xrkffgg
e43b8c8258
style: optimization steps in RTL (#22175) 2020-03-13 10:51:16 +08:00
信鑫-King
c17b40ae70
fix: dark background in different container (#21299)
* 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
偏右
e8b81b5d31
💄 tweak steps 1px align (#21306)
https://github.com/ant-design/ant-design/issues/21257#issuecomment-583865088
2020-02-10 11:29:14 +08:00
偏右
bebc662940
🐛 Fix Steps style when size="small" and labelPlacement="vertical" (#21258)
close #21257
2020-02-06 16:59:17 +08:00
afc163
08f3643272 resolve merge conflict 2020-01-03 12:09:35 +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
偏右
7dea548551 refactor: 🗑 remove deprecated or compatibility css code (#20547)
* 🗑️ remove deprecated or compatibility css code

*  update snapshots

*  fix test case and compile error

*  fix stylelint
2019-12-31 11:54:39 +08:00
偏右
8ea9356399
💄 Improve Step type="navigation" UI in small screen (#20545)
close #19877
2019-12-30 20:13:24 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
偏右
7a2d1f2017
💄 optimize Steps labelPlacement vertical UI (#20325) 2019-12-18 17:46:17 +08:00
ycjcl868
99f8d84f2f feat: date-picker, steps less dark 2019-12-01 23:44:51 +08:00