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
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
lijianan
1421eccb04
chore: update componentCls key again ( #50251 )
...
* chore: update componentCls key again
* Update components/skeleton/style/index.ts
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
2024-08-05 22:30:55 +08:00
vagusX
38cf5e8a75
docs: unify component export file as index.tsx ( #50013 )
...
* docs: unify component export file as index.tsx
* docs: compatible with old anchors
* chore: clean
* test: update snapshot
* fix: window env
---------
Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +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
thinkasany
cc29902bb5
type(Statistic): remove duplicate union types ( #49218 )
2024-06-04 18:43: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
叶枫
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
二货爱吃白萝卜
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
8ba9900c56
docs: fix Statistic.Countdown value type ( #47907 )
2024-03-16 17:48:34 +08:00
vagusX
2aca1fff22
feat: make statistic component support html role and data-* and aria-* attributes ( #47149 )
...
* feat: make statistic component support html attributes
* fix: types
* chore: improve
* feat: use pickAttrs for data-* and aria-* and role
2024-01-26 15:27:02 +08:00
Fatpandac
77b351f68f
fix: ok button of the DatePicker becomes compacted when used with Space.Compact ( #46769 )
...
* fix: ok button of the DatePicker becomes compacted when used with Space.Compact
* fix: break CSS selector
* fix: break the compact context on the panel
* chore: update test
2024-01-16 14:02:31 +08:00
lijianan
0b6356d984
chore: rename file .tsx => .ts ( #46759 )
...
* chore: rename file .tsx => .ts
* fix: fix
* test: add test case
2024-01-03 08:45:11 +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
c0dedance
5224c05247
refactor: statistic support css var ( #45841 )
...
* refactor: statistic support css var
* chore: remove statistic from ignore list
---------
Signed-off-by: MadCcc <madccc@foxmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-14 09:42:37 +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
二货爱吃白萝卜
72b449a1a4
docs: update faq ( #44198 )
...
* docs: update faq
* chore: update lint
* chore: update lint
* chore: use returnType
2023-08-14 13:32:57 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc ( #44061 )
...
* docs: update rootClassName description
* docs: update rootClassName description
* docs: update docs
2023-08-08 18:27:48 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message ( #43947 )
...
* test: init of test
* test: update snapshot
* test: update snapshot
* chore: adjust size limit
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update snapshot
---------
Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint ( #43873 )
...
* chore: fix lint
* chore: fix lint
* test: fix 16
* fix: lint
2023-07-28 16:17:43 +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
JiaQi
005575c5cd
feat: ConfigProvider support Statistic className and style properties ( #43408 )
2023-07-06 21:54:54 +08:00
MadCcc
b64a57d5d0
docs: component token meta ( #43337 )
...
* docs: component token meta
* docs: more
* docs: complete
2023-07-05 17:49:59 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
...
This reverts commit 6759887c44
.
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
...
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
kiner-tang(文辉)
0a05213aeb
refactor: solve statistic circular dependency issue ( #42814 )
2023-06-05 10:48:27 +08:00
MadCcc
34af3ec550
feat: component token rename ( #42184 )
...
* feat: component token naming rules
* dcos: update
* feat: modal token rename
* feat: rename result token
* feat: statsitic token rename
* feat: steps token remane
* chore: update snapshot
* chore: fix lint
* feat: semantic part component
* revert: button & notification
* revert: files
* chore: code clean
2023-05-09 19:24:50 +08:00
yoyo837
7f5042c4fe
Merge branch 'master' into feature-merge-master
2023-05-06 19:03:11 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
二货机器人
252f516a5e
chore: merge master
2023-05-06 11:40:31 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
kiner-tang(文辉)
70c76b737f
feat: migrate less to token for Statistic ( #42083 )
2023-05-04 15:37:10 +08:00
黑雨
cef58664e8
📝 doc: add design token table ( #41717 )
...
* ✨ feat: add token
* 📝 doc: update lint
* 📝 doc: update doc
2023-04-11 10:25:24 +08:00
lijianan
fb5ed95853
chore(deps): bump typescript to v5 ( #41301 )
...
* chore(deps): bump typescript to v5
* fix
* fix
* type fix
* Update components/statistic/demo/countdown.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/statistic/demo/countdown.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix
* fix type
* update demo
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-20 14:52:35 +08:00
lijianan
e0c79ec5dc
type: export CountdownProps type ( #41341 )
2023-03-20 11:23:46 +08:00
二货爱吃白萝卜
6770b7fb22
test: Use render for demo-extends test ( #41242 )
...
* test: update snapshot
* test: use render
* test: fix skip
* test: fix skip
2023-03-15 00:08:31 +08:00
dependabot[bot]
1df1034f20
chore(deps-dev): bump glob from 8.1.0 to 9.2.1 ( #41109 )
...
* chore(deps-dev): bump glob from 8.1.0 to 9.2.1
Bumps [glob](https://github.com/isaacs/node-glob ) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: update api
* fix
* fix
* fix path
* fix path
* update snap
* update snap
* update snap
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-03-10 11:50:12 +08:00
Lioness100
fd0d8b6031
docs: fix typos ( #40791 )
...
* docs: fix typos
* Update index.zh-CN.md
* test: update snapshot
* docs: fix demo ref
* chore: force trigger ci
* chore: force trigger ci
* chore: bump dumi ver
---------
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-23 21:56:43 +08:00
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
...
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2023-02-09 22:17:31 +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
afc163
7d77f3173d
site: improve demo card style ( #40028 )
...
* site: improve demo card style
* test: update snapshot
* test: update snapshot
* fix: demo card border
* docs: fix dark mode
* style: fix color
2023-01-05 15:30:59 +08:00
afc163
755682c317
docs: add animated number demo for Statistic ( #40027 )
...
* docs: add animated number demo for Statistic
* style: update demo
* add back countdownValueType
* type: fix demo type
2023-01-05 14:07:33 +08:00
lijianan
fa6c9c15f4
refactor: delete legacy function withConfigConsumer ( #39798 )
...
* chore: delete legacy function withConfigConsumer
* fix
* fix
2022-12-25 22:54:56 +08:00
Dave
337703d550
refactor(type): replace interface with type for export component ( #39060 )
2022-12-01 14:33:51 +08:00
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
...
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2022-11-30 20:14:41 +08:00
afc163
aae35a4d3c
perf(bundlesize): remove lodash padStart/padEnd ( #39040 )
2022-11-28 00:20:50 +08:00
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
...
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2022-11-23 20:22:38 +08:00