Commit Graph

100 Commits

Author SHA1 Message Date
MadCcc
5639e1a5ba
feat: update token (#36095)
* feat: update token

* feat: update token

* fix: override ts definition

* fix: rename token
2022-06-17 18:47:47 +08:00
二货机器人
94cfd11b3f
refactor: full token (#35858) 2022-06-01 21:47:44 +08:00
MadCcc
24773d5796 test: lint 2022-05-09 22:20:07 +08:00
MadCcc
eed87d6276
chore: remove keyframes declaration (#35231) 2022-04-26 01:00:39 +08:00
MadCcc
1d91507a59
feat: support Keyframes as 'animationName' value (#35142) 2022-04-21 02:06:22 +08:00
MadCcc
617449ddd2
test: add cssinjs test (#35077)
* test: add cssinjs test

* test: demoTest test cssinjs

* test: update snapshot

* test: adjust text
2022-04-19 11:27:09 +08:00
zombiej
d907338d79 chore: merge feature 2022-04-12 15:59:36 +08:00
MadCcc
101865cf7e
fix: statistic token (#34962)
* fix: statistic token

* fix: all components token

* test: fix lint

* chore: code clean

* Revert "chore: code clean"

This reverts commit 2c0e7d6ba3.
2022-04-11 16:04:00 +08:00
MadCcc
a2e6e3cec4
refactor: Badge migrate to genComponentStyleHook (#34916) 2022-04-08 00:18:02 +08:00
Hamed Mohammadzadeh
d49013468a
fix: not warpper animation for badge RTL (#34899) 2022-04-07 16:15:02 +08:00
二货机器人
d952088650
refactor: More alias token (#34681)
* chore: colorHighlight

* chore: bgSecondary

* chore: colorLink

* chore: link style

* chore: rm fly variables

* chore: colorAction

* chore: add warning comment

* chore: token outline

* chore: colorBgXXX

* chore: alert

* rm: zIndex

* chore: rm zIndexComponent

* fix: tag color checkabl

* chore: tags tmp
2022-03-24 14:30:48 +08:00
MadCcc
b63bdc47e5 Merge branch 'master' into next-merge-master 2022-03-23 22:08:40 +08:00
二货机器人
b967f9eb81
refactor: More alias token (#34658)
* chore: rm disabled color

* chore: color heading

* chore: shows tokn

* chore: fix color mapping

* chore: status colors

* chore: durations

* chore: outline color

* chore: comment info

* chore: background color

* chore: merge nexr
2022-03-22 20:02:04 +08:00
二货机器人
a7a180b913
refactor: Color related token (#34648)
* chore: move controlHeight in der

* chore: controlLineWidth

* chore: controlRadius

* chore: color

* chore: outline width

* chore: outline width

* chore: rm outlineBlurSize

* chore: colorTextLightSolid
2022-03-22 13:26:29 +08:00
Hamed Mohammadzadeh
0fe8bb9c37
fix: Badge Animation enter and leave in RTL (#34641)
* fix: Badge Animation enter and leave in RTL

* [CodeFactor] Apply fixes to commit 87f1866

[ci skip] [skip ci]

Co-authored-by: codefactor-io <support@codefactor.io>
2022-03-22 10:08:17 +08:00
二货机器人
608ce271b1
refactor: Move token to latest one (#34637)
* chore: rename motion

* chore: primary color

* chore: success color

* chore: all colors

* chore: mv control height up

* chore: font size format
2022-03-22 09:37:37 +08:00
二货机器人
f3f1dbf1b1
refactor: Move design token in (#34624)
* chore: move in

* wip: refactor the structure of design token

* refactor: merge override

* chore: mv in

* chore: fix ts

* chore: tmp all

* chore: comment

* chore: comment

* chore: use variables

* fix: compile error

Co-authored-by: arvinxx <arvinx@foxmail.com>
2022-03-21 16:48:25 +08:00
afc163
15fd642f7e chore: merge next to master 2022-03-19 17:23:54 +08:00
iamkun
5d3bdf4c34
refactor: refactor badge component with css in js (#34386)
* refactor: refactor badge component with css in js

* refactor: refactor ribbon component with css in js

* update: update ribbon css

* fix review

* fix review

* fix review
2022-03-18 17:26:17 +08:00
xrkffgg
66bad24413
fix: Badge RTL wrong placement (#34545) 2022-03-17 10:47:56 +08:00
afc163
578aaad7f2 test: fix lint 2022-01-24 11:26:26 +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
xrkffgg
a251a7dd1d
style: optimized Badge count show in rtl (#32281) 2021-09-24 15:34:12 +08:00
afc163
24401706d9
fix: Badge status color changed when toggle visibility (#31458)
close #30088
2021-07-20 17:58:47 +08:00
afc163
2e8a129eb4
fix: Badge spin style (#30275)
close #30274
2021-04-23 10:24:06 +08:00
二货机器人
f1568a656a
Badge number (#29100)
* init number component

* use single nodes

* clean up

* add current class

* clean up

* fallback

* fix: Safari render issue

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test : Update snaposhot

* test : Update cp snaposhot
2021-01-29 14:27:36 +08:00
二货机器人
45013ef472
update demo (#29089) 2021-01-28 18:16:05 +08:00
偏右
9fad797fd3
style: fix Badge dot small width (#28854)
close #28853
2021-01-14 14:17:12 +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
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
二货机器人
600fc0a9fe
fix: Standalone Badge motion style (#28240)
* fix: badge motion style

* chore: Clean up related code

* test: Update test case
2020-12-07 21:23:42 +08:00
xrkffgg
cba9634a3d
perf: reduce css size (#27527)
* perf: reduce css size

* add

* add

* fix line-height

* add .reset-component
2020-11-04 15:06:41 +08:00
偏右
3ef6ea3ead
refactor: 📦 some styles to reduce css bundle size (#27129)
* refactor: some styles to reduce css bundle size

* test: update snapshot

* fix snapshot

* fix test case

* fix addonAfter

* fix firefox style

* reduce riddon css size

* fix Input.Group border radius

* remove unused css selectors

* fix test cov

* fix search button hover border

* fix rtl textarea clear icon style

* update demos

* fix search rtl style

* fix input search style
2020-10-13 21:16:20 +08:00
偏右
b8f05d3ae7
feat: 💄 Add @badge-color (#26159) 2020-08-12 15:01:45 +08:00
偏右
ae843df718
Merge pull request #26112 from ant-design/master
chore: merge master into feature
2020-08-10 14:53:46 +08:00
Daryl Roberts
cdb8a5bcd7
style: add @badge-count-background (#26043) 2020-08-10 11:16:00 +08:00
afc163
45cbbd6034 merge feature into master-to-merge-feature 2020-08-05 14:49:10 +08:00
xrkffgg
ec042c66c2
fix: badge rtl.less import (#25931) 2020-07-31 15:18:00 +08:00
偏右
cc7ad06a43
Merge pull request #25889 from ant-design/master
chore: merge master into feature
2020-07-29 21:32:11 +08:00
07akioni
44b51dc2b7
fix: Badge style import (#25863) 2020-07-28 17:59:14 +08:00
moonrailgun
74d13f48b1
feat: Add size props for Badge (#25851)
* feat: add badge size

* test: add doc and testcase for badge size

* doc: update demo doc of Badge

* doc: update demo doc of Badge

* test: fix test case

* docs: add badge new props size addition version

* style: modify size of small badge
2020-07-28 15:27:50 +08:00
07akioni
a73abb9487
feat: Badge.Ribbon (#25456)
* feat: Badge.Ribbon, wip

* feat: Badge.Ribbon

* test: Badge.Ribbon

* chore

* test: update snapshot

* fix: Badge.RibbonStyle IE 11

* chore

* docs

* chore

* chore

* refactor

* docs

* refactor: remove placement left & right

* Update components/badge/index.zh-CN.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* Update components/badge/index.en-US.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* docs: demo change

* docs

* refactor: use css

* refactor: use css rtl

* refactor

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
2020-07-08 14:47:07 +08:00
xrkffgg
daef12a1f1
style: fix badge rtl num (#22665) 2020-03-27 15:31:26 +08:00
xrkffgg
e92557e240
fix: badge rtl style (#22551) 2020-03-24 13:36:20 +08:00
xrkffgg
7f4c7b5978
style: fix rtl.less place and name (#22384) 2020-03-19 12:13:24 +08:00
xrkffgg
09a2567eb1
style: add rtl.less of Badge\Comment\Collapse (#22320) 2020-03-18 11:31:24 +08:00
二货机器人
52a1600a01
fix: Badge number style (#21235)
* fix css priority

* update snapshot

* update snapshot
2020-02-05 13:52:26 +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
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

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

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

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

* feat: Upload support customize previewFile (#15984)

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

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

* 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 (#16078) (#16128)

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

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

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

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

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

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

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

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* 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 (#16186) (#16225)

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

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00