ice
badfbe3cfe
feat(Button): support variant and color ( #50051 )
...
* feat(button): variant & color types
* feat: type -> color/variant
* feat: type -> color/variant
* feat: add variant filled
* test: snap
* refactor(button): rename type -> variant
* docs: add demo
* feat: add danger ghost style
* refactor: remove deprecated
* refactor: eslint
* docs: change color&variant
* test: updated snap
* docs: color-variant
* docs: add debug color&variant
* feat: global token
* refactor: remove comment
* docs: add color&variant docs
* docs: remove default
* docs: add space
* docs: code
* test: update snap
* test: fix snap
* test: btn querySelect
* feat: change filled hoverStyle
* test: fix
* feat: support grey wave
* refactor: enhance
* docs: color/variant -> v 5.21
* test: snap
* feat: add token
* test: to do
* test: fix test
* ci: rebuild
* style: remove
* style: space
* docs: add note & FQA
* feat: add componentsToken
* refactor: remove isNotGrey
* test: add case
* docs: tile button
* test: snap
* docs: site & snap
* Update components/button/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* fix: token color & undef
* docs: site
* docs: responsive
* docs: enhance FAQ
* docs: gap middle
* test: snap
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* refactor: rename
* docs: prettier
* chore: eslint
* refactor: cls
* test: add solidTextColor case
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* fix: rename
* docs: text
* fix: remove border
* feat: add token colorErrorBgFilledHover
* chore: add size-limit
* refactor: rename
---------
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2024-09-03 17:39:02 +08:00
Arvin Xu
51d6a9bf38
chore: Add comments to Token related interfaces ( #50392 )
2024-08-13 18:18:59 +08:00
二货爱吃白萝卜
832cffcdf9
feat: ColorPicker support gradient color ( #50050 )
...
* refactor: support type update
* chore: update clear style
* chore: bump color picker
* chore: use slider
* chore: bump color picker
* chore: range slider
* chore: layout
* chore: useModeColor
* chore: simplify
* chore: bump color picker
* refactor: event
* chore: tmp lock check
* chore: of it
* chore: update ts def
* chore: update ts def
* chore: remove useless ts
* chore: linear
* chore: adjust style
* chore: rm useless code
* chore: fill color
* chore: basic linear
* chore: support toStr
* chore: limit minCount
* chore: use cache
* chore: drag support:
* chore: yes
* chore: update demo
* chore: useLayoutEffect instead
* chore: fix click to add point
* chore: add smmoth
* chore: support of locale
* chore: add locale
* chore: fix lint
* chore: adjust style
* chore: fix lint
* chore: fix style
* test: fix test case
* chore: fix popover
* test: fix test case
* chore: fix test
* test: clean up
* chore: fix lint
* chore: fix lint
* chore: fix lint
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* chore: fix docs
* docs: update demo desc
* chore: enhance hover range
* fix: delete not working
* chore: fix lint
* test: coverage
* test: coverage
* chore: clean up
* chore: adjust
* chore: highlight
* chore: adjust style
* chore: fix lint
* chore: update demo
* chore: memo perf
* refactor: up to down colors
* test: update snapshot
2024-07-29 16:38:50 +08:00
栗嘉男
d5207c1e23
Merge branch 'master' into feature-merge-master
2024-07-26 10:18:06 +08:00
🏎️ Yumo
b71752ffb0
Merge branch 'master' into refactor/cssinjs-utils
2024-07-24 12:44:44 +08:00
Vasilii A
f6e9f8540c
docs: Update components/notification/index.*.md ( #50035 )
...
Signed-off-by: Vasilii A <3757319+vsn4ik@users.noreply.github.com>
2024-07-23 20:15:15 +08:00
🏎️ Yumo
3ec77d32b0
refactor(theme): migrate and refactor type GenStyleFn
by @ant-design/cssinjs-utils
2024-07-23 17:15:39 +08:00
github-actions[bot]
0681d6c7a2
chore: auto merge branches ( #50005 )
...
chore: merge master into feature
2024-07-22 08:39:11 +00:00
lijianan
2584ce6d50
chore: replace "ant" with defaultPrefixCls ( #49985 )
...
* chore: replace ant with defaultPrefixCls
* chore: fix lint
2024-07-20 14:17:11 +08:00
thinkasany
da1d8df417
type: support string | number ( #49810 ) ( #49855 )
...
* type(token): height / width support string | number
* rever
2024-07-14 00:36:43 +08:00
lijianan
8a090c951c
Revert "type(token): height / width support string | number" ( #49836 )
...
This reverts commit e4c31231ee
.
2024-07-12 10:12:56 +08:00
thinkasany
e4c31231ee
type(token): height / width support string | number ( #49810 )
...
* type(token): height / width support string | number
* rever
2024-07-10 23:15:06 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com>
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
Minko
bcd667068e
fix: notification from useApp should consume App config ( #49339 )
...
* feat: notfication use global showProgress, pauseOnHover config
* fix: notification not inherit app config
2024-06-11 14:19:49 +08:00
Eden Wang
1a250cef7e
feat(notification): support pauseOnHover
props ( #49024 )
2024-05-27 13:35:37 +08:00
Eden Wang
860fd57276
feat(notification): add show progress option and update docs ( #48353 )
...
* feat(notification): add show progress option and update docs
* feat(notification): update style for progress
* fix: lint issues and add version for the doc
* feat: upgrade rc-notification and update the style changes
* test: update test snapshots
* fix: update changes base on the conversation
* fix: update bg base on the conversation
* fix: use primary color for progress bg
* docs: update doc changes
Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: Eden Wang <yociduo@vip.qq.com>
---------
Signed-off-by: Eden Wang <yociduo@vip.qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-05-17 15:39:30 +08:00
二货爱吃白萝卜
ae155b97d5
chore: add bug version & fix test case ( #48571 )
...
* chore: add bug version
* test: clean up
* test: fix test case
* chore: fix lint
* test: fix test case
* test: fix test case
2024-04-21 23:56:41 +08:00
叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict ( #47998 )
...
* feat: tsconfig enable strict
* feat: add no-explicit-any
* feat: strict
* feat: as THEME
* feat: 优化 keys 类型写法
* feat: demo remove any
* feat: as number
* feat: this any
* feat: add eslint
* feat: cascader
* feat: props any
* feat: remove any
* feat: remove any
* feat: any 提示错误
* feat: remove any
* feat: add eslint
* feat: 允许 T = any 存在
* feat: color funciton
* feat: 恢复 lint
* feat: merge master
* feat: as ReactElement
* feat: type
2024-04-01 15:49:45 +08:00
lijianan
405394a8e4
Merge pull request #48133 from ant-design/master
...
chore: merge master into feature
2024-03-28 10:54:52 +08:00
社长长
7ec9e688db
docs: fix notification word error ( #48100 )
...
Signed-off-by: 社长长 <ischenkan@outlook.com>
2024-03-26 22:32:59 +08:00
github-actions[bot]
80f49bfcf2
chore: auto merge branches ( #48020 )
...
chore: merge master into feature
2024-03-23 16:15:34 +00:00
叶枫
e17cd4ae27
test: keep spaces ( #47024 )
...
* feat: snap
* feat: up snap
2024-03-22 20:49:55 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage ( #48004 )
...
* docs: init ref
* docs all support
* docs: fix link show
2024-03-22 14:22:42 +08:00
afc163
dfd342d985
Merge pull request #47931 from ant-design/master
...
chore: sync master to feature
2024-03-18 15:36:41 +08:00
afc163
e8839ae48b
style: unify Modal and Drawer close icon style ( #47909 )
...
* style: unify Modal and Drawer close icon style
* style: fix Drawer close icon style
* style: add focus style
* style: unify close btn style
* test: update snapshots
* style: tweak drawer close icon size
2024-03-16 23:21:09 +08:00
kiner-tang
bb85712f71
feat: Notification support aria-* in closable ( #47710 )
...
* feat: Notification support aria-* in closable
* feat: optimize code
2024-03-06 11:53:05 +08:00
lijianan
326ae986b9
Merge pull request #47297 from ant-design/master
...
chore: merge master into feature
2024-02-01 23:59:16 +08:00
lijianan
7cc45fd6d7
docs: rm useless type ( #47272 )
2024-02-01 10:36:21 +08:00
lijianan
b233f27ba0
feat: CP support Notification closeIcon ( #47244 )
...
* feat: CP support Notification closeIcon
* fix: fix
2024-01-30 20:13:22 +08:00
lijianan
231e873b3f
Merge pull request #47238 from ant-design/master
...
chore: merge master into feature
2024-01-30 20:00:58 +08:00
MadCcc
4ecc0d7f95
docs: optimize overview svg ( #47203 )
...
* docs: optimize overview svg
* docs: update
* docs: dark
2024-01-29 14:50:36 +08:00
栗嘉男
e32001138a
chore: merge master into feature
2024-01-27 12:15:05 +08:00
Yanlin Jiang
f5cfe09f92
docs: add notification placement options ( #47101 )
2024-01-25 23:45:43 +08:00
二货爱吃白萝卜
7664f39d8b
feat: notification support duration ( #47141 )
...
* feat: notication support duration
* test: update test
2024-01-24 15:25:56 +08:00
lijianan
943072704c
Merge branch master into master-merge-feature
2024-01-11 16:14:48 +08:00
二货爱吃白萝卜
e7aa014c31
chore: Add type util ( #46923 )
...
* docs: init
* chore: all types
* docs: faq
* chore: fix lint
2024-01-11 15:55:58 +08:00
lijianan
1b2362a425
type: rm useless type ( #46920 )
...
* type: rm useless type"
* update size-limit
2024-01-11 15:11:55 +08:00
叶枫
8950642664
feat: config support holderRender ( #46596 )
...
* feat: config support container
* feat: add test
* feat: reset demo
* feat: test
* feat: test
* feat: test
* feat: test
* feat: md
* feat: limit
* fix: prefix
* feat: limit
* feat: message support app config
* feat: notification support app config
* feat: add maxCount test
* feat: icons
* feat: 增加 2 个 todo
* feat: holderRender
* feat: md
* feat: message 兼容旧逻辑
* feat: notification 兼容完成
* feat: modal 兼容完成
* feat: 优化 modal
* feat: 优化代码
* feat: 优化代码
* feat: 给 CP 添加 demo
* feat: 优先级完成/demo迁移完成
* feat: review
* feat: review
* feat: 优化 modal 代码
* feat: 支持 rtl
* feat: 修改注释
* feat: 优化单测
* feat: 优先级注释
* feat: remove getPrefixCls
* feat: demo
* feat: demo
* feat: demo
---------
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-01-02 17:43:27 +08:00
MadCcc
3af521d422
feat: Input/InputNumber/Mentions support filled
variant ( #46435 )
...
* feat: Input filled variant
* feat: InputNumber filled variant
* feat: mentions variant
* fix: TextArea status with affix
* chore: update snapshot
* chore: update snapshot
* feat: pagination input
* fix: fix diff
* feat: input-number disabled
* fixL InputNumber
* chore: update snapshot
* feat: better style
* chore: update
* chore: update snapshot
* feat: use variant classNames
* chore: update snapshot
* feat: mentions affix style
* chore
2023-12-18 17:53:31 +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
a7a3c51ee8
fix: remove useless hashId in Notice ( #46415 )
2023-12-13 11:04:41 +08:00
zhoulixiang
4f9c5764d0
fix: fix the padding of notification title when notification is closable ( #46211 )
...
Fix the issue where the notification title overlaps with the title when it is too long
Signed-off-by: zhoulixiang <18366276315@163.com>
2023-12-04 20:16:51 +08:00
MadCcc
8816dc04c7
Merge branch 'master' into feature-merge-master
2023-11-30 20:22:00 +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
MadCcc
bf2d70c7e2
fix: notification icon line-height ( #46148 )
2023-11-29 11:09:33 +08:00
MadCcc
ff462adfa7
Merge branch 'master' into feature-merge-master
2023-11-17 14:21:30 +08:00
二货爱吃白萝卜
dc25579c20
fix: zIndex miss of message ( #45911 )
...
* fix: zIndex miss of message
* fix: modal static index
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix zIndex test
* test: update test case
* chore: clean up
* test: coverage
2023-11-17 10:54:19 +08:00
MadCcc
4236abb28c
refactor: wireframe token for Notification and Tour ( #45915 )
2023-11-16 15:34:24 +08:00
kiner-tang(文辉)
1d04efcb9d
feat: notification support cssVar ( #45799 )
...
* feat: notification support cssVar
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
---------
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-14 10:06:18 +08:00