afc163
8a64ec6a9e
chore: merge branch
2024-11-07 16:51:58 +08:00
Jony J
a03e2024d4
refactor(qr-code): improve a11y attributes handling in QRCode component ( #51421 )
...
* refactor(qr-code): improve a11y attributes handling in QRCode component
* test: update snapshot
* feat(qr-code): improve a11y attributes handling in QRCode component
* chore: remove useless code
* test: add test case
* chore: remove data attr and update test cases
* chore: omit a11yProps from props
2024-11-04 14:50:00 +08:00
thinkasany
6e12a903c7
demo: improve the use of Segmented ( #51324 )
2024-10-22 10:09:31 +08:00
thinkasany
113c2da734
demo(qrcode): improve errorLevel type ( #51321 )
2024-10-21 12:03:04 +08:00
kiner-tang
f4d8a8df0c
fix: The onRefresh method is missing from the QRCode component's statusRender ( #51315 )
2024-10-20 10:39:38 +08:00
ice
696c9dde02
fix(button): type=link error token & add prefix cls (color/variant) & specificity too high ( #50962 )
2024-09-24 23:52:50 +08:00
curry
436aa9ad2d
feat: Segmented adds vertical prop ( #50708 )
...
Co-authored-by: 梁朝飞 <liangchaofei@guokechuzhi.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2024-09-18 23:22:51 +08:00
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
kiner-tang
3851af9607
feat: support custom status render in qrcode ( #49563 )
...
* feat: support custom status render in qrcode
* feat: support custom status render in qrcode
* feat: add test case
* fix: code review
* fix: code review
* fix: code review
* fix: code review
* feat: optimize code
* feat: optimize code
* Update components/qr-code/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang <1127031143@qq.com>
* Update components/qr-code/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang <1127031143@qq.com>
* feat: opt code
Signed-off-by: kiner-tang <1127031143@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* Update components/qr-code/index.en-US.md
Signed-off-by: kiner-tang <1127031143@qq.com>
* Update components/qr-code/index.zh-CN.md
Signed-off-by: kiner-tang <1127031143@qq.com>
---------
Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-12 10:49:47 +08:00
lijianan
d9f052d5cd
demo: rm padding of overlayInnerStyle ( #49761 )
...
* demo: rm overlayInnerStyle
* demo: rm overlayInnerStyle
2024-07-08 09:59:34 +08:00
github-actions[bot]
05d107ce4d
chore: auto merge branches ( #49556 )
...
chore: sync master to feature
2024-06-22 15:30:17 +00: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
kiner-tang
d8c98e18ab
demo: Add svg qrcode download demo ( #49553 )
...
* feat: add download qrcode when render type is svg
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2024-06-22 17:33:06 +08:00
kiner-tang
ff12f47d18
feat: use rc-qrcode instead of qrcode.react ( #49454 )
...
* feat: use rc-qrcode instead of qrcode.react
* feat: optimize code
* feat: update test case
---------
Signed-off-by: kiner-tang <1127031143@qq.com>
2024-06-21 11:42:21 +08:00
thinkasany
f558a78d5c
feat(qrcode): support click & iconSize configuration ( #49240 )
...
* feat(qrcode): support click & iconSize configuration
* fix
fix
use rest
union React.HTMLAttributes<HTMLElement
fix ImageSettings interface
type fix
add default 40
clear unused
* empty commit
---------
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-10 17:47:45 +08:00
thinkasany
87ed3a4298
docs(qrcode): fix iconSize default value error ( #49243 )
2024-06-05 11:27:45 +08:00
二货爱吃白萝卜
0352b2fd2e
feat: Spin support percent ( #48657 )
...
* feat: spin support ptg
* chore: ptg
* chore: update demo
* chore: popout component
* chore: adjust logic
* test: update snapshot
* test: update snapshot
* docs: update docs
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: back of snapshot
* chore: clean up
* test: fix test case
* chore: fix types
* test: update snapshot
* chore: opt
* test: update testcase
* test: coverage
* test: update snapshot
2024-06-03 11:30:27 +08:00
lijianan
7b30c801cf
test: add test case ( #48724 )
2024-05-02 12:17:27 +08:00
thinkasany
3fa9d45dd5
feat: qrcode canvas supports style configuration ( #48194 )
...
* feat: qrcode canvas supports style configuration
* Update components/qr-code/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: thinkasany <480968828@qq.com>
* docs: update version
* fix: typos
* fix: ant-qrcode
* fix: update padding for canvas / svg
* fix: update
* fix: typos
* fix: when borderless padding shouble be 0
* fix: when borderless borderRadius should be 0
* fix: rm Variant
---------
Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-30 17:03:00 +08:00
lijianan
d34ab00717
demo: update wrap="wrap"
=> wrap
( #48409 )
2024-04-12 12:10:38 +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
afc163
c5a02b2f83
docs: update info title ( #48318 )
2024-04-07 17:02:59 +08:00
lijianan
570c1be492
site: add component version to meta ( #48226 )
...
* site: add component version to meta
* Update .dumi/theme/builtins/ComponentMeta/index.tsx
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 16:33:57 +08:00
lijianan
0a79a79bc7
docs: update sidebar style of website ( #48224 )
...
* docs: update GetRef/GetProp/GetProps docs
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
2024-04-02 14:05:03 +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
739362345c
fix: adjust the order of QRCode style prop ( #48053 )
...
* fix: adjust the order of style prop
* test: update snap
* test: add test case
2024-03-25 10:59:44 +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
862f5da5ba
test: update snapshot ( #47911 )
2024-03-16 17:46:44 +08:00
KAM
63e5e13fda
fix(QRCode): Fix the issue where the background color and font color … ( #47128 )
...
* fix(QRCode): Fix the issue where the background color and font color of the QR code component do not synchronize with the theme in dark mode
* fix(QRCode): Update test snapshot
* fix(QRCode): Remove inline styles, adjust style handling, and regenerate test snapshots
* fix(QRCode): Fix the issue of unreasonable style handling
2024-01-26 23:08:47 +08:00
lijianan
928eaf411a
Merge pull request #46830 from ant-design/master
...
chore: merge master into feature
2024-01-07 23:18:42 +08:00
MadCcc
9ece76b269
docs: use dumi alert ( #46793 )
...
* docs: use dumi alert
* chore: code clean
2024-01-05 10:12:22 +08:00
lijianan
d7f0fdc6ff
feat: QRCode support scanned status ( #46704 )
2023-12-30 14:52:08 +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
8816dc04c7
Merge branch 'master' into feature-merge-master
2023-11-30 20:22:00 +08:00
二货爱吃白萝卜
1235d8f54a
chore: workflow add welcome back ( #46186 )
2023-11-30 15:02:32 +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
baf9a5251a
feat: QRCode support cssVa ( #45854 )
2023-11-14 10:34:01 +08:00
afc163
cb8f709424
fix: QRCode style.padding should work ( #45815 )
...
* fix: QRCode style.padding should work
* refactor qrcode padding and size
* chore: fix test cases
* refactor: revert qrcode size
* refactor: remove !important
* chore: fix test case
2023-11-13 18:35:23 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning ( #44791 )
...
* refactor: deprecatedWraning
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2023-09-13 22:07:33 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter ( #44613 )
...
* feat: add warningContext
* refactor: part refactor
* chore: fix compile
* chore: part of it
* chore: part of it
* chore: part of it
* chore: fix lint
* chore: fix test
* chore: clean uo
* chore: hide warning def tmp
* chore: comment test
* chore: fix lint
* chore: refactor select icons
* chore: fix warning message
* test: update test
* chore: rm dead code
2023-09-11 17:28:04 +08:00
期贤
a873471f5a
merge
2023-09-07 12:05:16 +08:00
lijianan
7344f5e275
chore: replace useToken with useInternalToken ( #44670 )
2023-09-07 10:15:58 +08:00
MadCcc
114ff39f8c
Merge branch 'master' into feature-merge-master
2023-09-05 13:41:06 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic ( #44620 )
...
* refactor: remove IE compatible logic
* fix: fix
* fix: fix
* fix: fix
2023-09-05 10:17:56 +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
afc163
3f148d9112
docs: add help text for token customization
2023-08-30 23:02:35 +08:00
MadCcc
9312b0059e
chore: update icon snapshot ( #44414 )
2023-08-24 21:01:10 +08:00
MadCcc
12efe328ac
docs: optimize site layout ( #44111 )
...
* docs: sticky header
* docs: adjust floatbutton zindex
* chore: code clean
2023-08-08 19:48:41 +08:00