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
955fa520f1
fix: badge offset in rtl ( #24724 )
...
* fix: badge offset in rtl
* fix: update snap
* add test
* fix: offset
* fix: snap
2020-06-06 13:20:09 +08:00
zefeng
cb2094265e
feat(tooltip): Tooltip support colour background ( #23155 )
...
* feat(tooltip): Tooltip support colour background
Closes #23127
* patch: update test case
* chore: repalce h1 tag to Divider
* chore: update demo
2020-05-25 18:59:00 +08:00
二货机器人
3f448e3053
Update tag color ( #22303 )
2020-03-17 17:13:16 +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
ycjcl868
fb44177f2f
fix: dark theme fixed
2019-12-25 11:02:45 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons
deps ( #19979 )
...
* update icons deps
* update all icon ref
* fix lint
* update snapshot
2019-11-28 12:34:33 +08:00
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
...
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
2019-08-13 14:07:17 +08:00
afc163
b780070351
💄 prittier all files
2019-05-07 14:57:32 +08:00
Aaron Cawte
0fc9b86ced
Documentation - Badge Component
2019-04-19 23:34:09 +01:00
zombieJ
550ff72e1e
Merge pull request #15775 from ant-design/merge-feature
...
Merge feature
2019-04-01 11:07:45 +08:00
afc163
1f2375deca
🎬 Remove useless badge demo
2019-04-01 10:15:15 +08:00
zombieJ
75cd91a966
Badge support customize color ( #15764 )
...
* popout
* update snapshot
* update doc
* update def
2019-03-31 20:21:20 +08:00
zombiej
9f5d421cd6
merge master
2018-11-30 14:48:37 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
afc163
fc6ac421c2
Refactor Badge and support count as custom component
...
close #11134
close #12140
2018-10-16 15:07:24 +08:00
afc163
fd409df14d
tweak badge vertical align
2018-09-11 19:04:35 +08:00
afc163
ab7855d104
demo: update badge demo
2018-08-20 15:07:05 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
Ludwig Bäcklund
74d81c2d07
Add title prop to Badge that shows when hovering it
2018-04-12 11:53:32 +08:00
Mathew
947cee4475
fix issue #9359 ( #9364 )
...
* fix issue #9359
* fix trailing whitespaces
2018-02-24 11:40:44 +08:00
afc163
914fec9ac4
Tweak badge padding
2017-10-18 17:19:42 +08:00
afc163
26e416c364
Tweak style
2017-10-16 19:56:04 +08:00
afc163
a88f8fcc21
fix badge demo
2017-07-31 18:03:16 +08:00
Benjy Cui
ef2375885e
feat: support Badge[showZero], close : #4251 ( #5096 )
2017-03-01 11:16:58 +08:00
Wei Zhu
1fc8990531
docs: Rewrite Badge demos to ES6 component
2017-02-19 20:27:06 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
afc163
0eb5c689a3
remove type="ghost" from demo
2017-02-04 22:35:33 +08:00
偏右
f786f607cf
Fix misplace Badge when browser zoom above 100% ( #4749 )
...
close #4747 #4290 #4176
2017-02-03 14:20:42 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
Benjy Cui
e6052d5832
docs: update demo for badge
2016-12-20 11:06:40 +08:00
afc163
bd8482c893
update doc
2016-11-03 16:59:42 +08:00
afc163
6dd222a8a4
Refactor code of status Badge
2016-10-12 19:42:10 +08:00
Shawn Sit
7ce12fe36a
doc: demo translation enhancement ( #3033 )
...
* doc enhancement
* keep chinese simplified demo
2016-09-18 14:30:37 +08:00
Marius Ileana
3d25f65c2b
docs: Badge - demos - english translation ( #3058 )
2016-09-18 09:06:31 +08:00
Benjy Cui
969cbed2ca
docs: update demo of Badge
2016-09-13 10:27:16 +08:00
afc163
77949bb9e3
upgrade eslint-config, close #2811
2016-08-23 21:00:35 +08:00
Benjy Cui
ff19dcc1fc
feat: add Badge[status, text], close : #2715 ( #2780 )
...
* feat: add Badge[status, text], close : #2715
* feat: optimize Badge[status, text]
2016-08-20 17:43:46 +08:00
偏右
bb03c89ebf
docs: translate badge to english ( #2269 )
2016-07-11 11:45:42 +08:00
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
2016-05-11 09:32:33 +08:00
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
2016-04-01 10:08:19 +08:00
Benjy Cui
03d09b66e8
docs: update demo format
2016-03-31 09:40:55 +08:00
afc163
e044041305
fix(badge): fix count not change, close #983
2016-02-02 18:17:50 +08:00
Benjy Cui
cd1391e6a2
style: update code style for object-curly-spacing
2016-01-27 17:00:58 +08:00
Benjy Cui
209170e813
style: update demo code style to please lint
2016-01-11 09:49:30 +08:00
afc163
91bd7f22c0
use mountNode replace the long getElementById
2015-12-29 12:08:58 +08:00
Benjy Cui
155c22efd4
docs: update demo
2015-12-22 14:49:46 +08:00
Benjy Cui
24398cd3e5
docs: add demo for overflowCount
2015-12-22 14:34:31 +08:00
afc163
8a69058364
badge can be use like <Badge />, ref #413
2015-12-18 17:29:06 +08:00