yuanliu
09895d9f03
type: extends HTMLSpanElement for BadgeProps type( #50730 ) ( #50774 )
2024-09-10 21:59:23 +08:00
Wanpan
470e8a8e0a
fix: fix Badge CSSMotion setref use error and add test case ( #48878 )
2024-05-11 13:54:40 +08:00
lijianan
854cdb4352
type: optimize CompoundedComponent type ( #48346 )
...
* type: optimize CompoundedComponent type
* chore: fix
* type: fix type
* chore: fix
* type: fix type
* type: add ts-ignore
* fix: fix
* chore: revert
2024-04-09 16:49:47 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId ( #46424 )
...
* refactor: cssVarCls
* refactor: update
* chore: update
* fix: cascader & tree-select
* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks ( #46038 )
...
* refactor: genStyleHooks
* chore: update sciprt
* refactor: affix
* refactor: select
* chore: update
* refactor: update
* refactor: update
* refactor: done
* chore: code clean
* chore: code clean
* chore: fix lint
* chore: decrease size limit
* chore: code clean
* chore: code clean
* chore: remove export
2023-11-29 17:23:45 +08:00
lijianan
43e9785f37
feat: Badge support cssVar ( #45906 )
...
* feat: Badge support cssVar
* fix: fix
* fix: fix
* fix: fix
---------
Signed-off-by: lijianan <574980606@qq.com>
2023-11-16 14:49:13 +08:00
Dunqing
f0c105d262
feat: insert use client
automatically at compilations instead of hardcode ( #44608 )
...
* feat: remove the hardcode of `use client`
* chore: update `@ant-design/tools`
* test: update
* fix: incorrect dictionary
* chore: update dep
* ci: check use client
* chore: update ci
* fix: should be LIB_DIR
* ci: should only run in dist
* chore: update check tsx files
2023-09-04 19:27:20 +08:00
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router ( #43573 )
...
* fix: prepend use-client directive for with Next.js App Router
* Update components/affix/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/divider/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/cascader/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/list/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/qrcode/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/steps/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/time-picker/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/transfer/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/tree-select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00
lijianan
316b7b8c5d
feat: CP support Badge className / classNames and style / styles ( #43197 )
...
* feat: CP support Badge className and style
* fix
* Update basic.tsx
* fix
* fix
* fix
* Update components/config-provider/context.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix
* fix
* fix
* fix
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-29 16:43:11 +08:00
lijianan
2490d43eab
feat: Badge support classNames & styles ( #43245 )
...
* feat: Badge support classNames & styles
* update docs
* fix
* fix
* fix
* Update components/badge/index.en-US.md
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-29 10:40:56 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
Kiyan
0bcdce0cd7
fix: FloatButton findDOMNode is deprecated in StrictMode. ( #41833 )
...
* fix: FloatButton findDOMNode is deprecated in StrictMode.
* revert basic.tsx
2023-04-17 10:37:15 +08:00
kiner-tang(文辉)
16e90b2301
fix: optimize badge preset color code & fix color display unexpected ( #40848 )
2023-02-21 18:22:49 +08:00
二货机器人
b02b7aeadb
chore: merge master
2023-01-31 10:21:17 +08:00
二货爱吃白萝卜
e9273abe3d
fix: Badge findDOMNode
warning ( #40347 )
...
* fix: findDOMNode warning
* test: add test case
2023-01-20 21:06:13 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
...
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2023-01-20 11:03:50 +08:00
lijianan
8501adbd84
fix: add displayName ( #40092 )
...
* fix: add displayName
* rerun ci
* rerun ci
2023-01-08 21:30:41 +08:00
Wuxh
7f189d56e5
refactor: merge preset colors ( #39742 )
...
* style: remove redundant code
* feat(style): add preset colour style generation method
(cherry picked from commit 1266e42ba27accb48a6544e3eddaa4a94daef00c)
* feat: uniform preset colour generation css selector method
(cherry picked from commit 5af87e8d5ffcfd23e755946167f200c0565f8222)
* chore: merge preset colors
(cherry picked from commit 05040dfb703f60a3ea1715326748c508acbf41a6)
* chore: update
(cherry picked from commit 241b40a1361469487a6a3e8f1ad07a25d250463d)
* chore: remove Badge preset inverse colors
* chore: remove fix
删除的这部分其实一个 Bug,但是为了给 PR 减负(尽可能单一, 后面新开一个 PR 来修复这个问题
* suggestions accepted
Update components/style/presetColor.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-06 11:06:46 +08:00
lijianan
d55d39b811
type: LiteralUnion optimization ( #39871 )
2022-12-28 23:59:55 +08:00
lijianan
eb77c5a7e6
fix: fix Badge Wave borderColor error ( #39182 )
...
* fix: fix Badge borderColor error
* update demo
* fix
* update demo
* fix
* fix
2022-12-02 14:42:39 +08:00
Wuxh
8cd63a4d89
fix(badge): fix Badge
and showZero
can't be used with custom color ( #38967 )
...
* test(badge): add case
* fix(badge): fix `Badge` and `showZero` can't be used with custom color
issue: https://github.com/ant-design/ant-design/issues/38965
* test: update snapshots
* docs(badge): update demos
* test: update snapshot
2022-11-24 23:53:22 +08:00
Dave
d32a1fe274
fix(types): external module type error (CompoundedComponent) ( #38666 )
...
* fix(types): external module type error (CompoundedComponent)
* refactor(types): rename and replace internal CompoundedComponent type
2022-11-19 16:56:23 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
...
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba5987df5f13c3e9d42cf76cb1812b2e.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
二货机器人
d5cfd195dd
chore: merge master
2022-11-07 23:32:46 +08:00
JarvisArt
047daad164
fix: Badge code lgtm issue ( #38316 )
2022-11-01 00:16:56 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
MadCcc
150da4a2cb
Merge branch 'master' into next-merge-master
2022-09-29 10:59:03 +08:00
二货机器人
069e44bcc3
chore: merge master
2022-09-28 12:01:20 +08:00
Wuxh
a70ef1b8da
fix(Badge): fix accidentally rendering an empty element when text props is empty ( #37681 )
...
* test(badge): add case
* fix(badge): fix accidentally rendering an empty element when text props is empty
* chore(badge): update demo
* test(badge): update snapshot
* docs: beautify docs
Add several supported ways to describe colors
* test(badge): update snapshot
* chore: update snapshot
* test: update snapshots
* Revert "test: update snapshots"
This reverts commit 2bd11650aea3b3a447a891f09708032f9c41cb3d.
* test: update snapshot
2022-09-24 23:15:22 +08:00
kiner-tang(文辉)
2415c0f636
feat: Badge support colorful custom count style ( #37609 )
...
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-09-19 11:52:17 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
zombiej
d907338d79
chore: merge feature
2022-04-12 15:59:36 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
...
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
2022-04-08 22:55:42 +08:00
MadCcc
a2e6e3cec4
refactor: Badge migrate to genComponentStyleHook ( #34916 )
2022-04-08 00:18:02 +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
songlinn
d4b4edf8ef
fix: fix badge animation end not trigger when parent is display:none ( #33083 )
...
Co-authored-by: songlin.chen <songlin.chen@leyantech.com>
2021-12-06 11:23:34 +08:00
afc163
06dff86287
fix: Badge count style when customize color ( #31617 )
...
* fix: Badge count style when customize color
close #31590
close #31591
* add demo for debug
* update badge demos
* create ribbon.test.tsx
2021-08-02 12:22:30 +08:00
afc163
eec7eca5b3
Revert "fix(Badge): update cached isDotRef when isHidden ( #30090 )" ( #30277 )
...
This reverts commit d87901e9a5
.
2021-04-23 10:23:57 +08:00
xiejiahe
ca31a75d1b
style(Badge): remove null check ( #30204 )
2021-04-19 14:05:00 +08:00
wangao
d87901e9a5
fix(Badge): update cached isDotRef when isHidden ( #30090 )
2021-04-11 13:37:46 +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
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
2020-12-28 15:30:18 +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
二货机器人
20788d870c
fix: Badge should not do motion when appear ( #28003 )
...
* fix: Badge no need appear motion
* test: Update snapshot
2020-11-25 19:49:44 +08:00