Commit Graph

26510 Commits

Author SHA1 Message Date
MadCcc
452bdcdb53
refactor: select support css var (#45727)
* refactor: select support css var

* chore: code clean

* chore: add useCSSVarCls

* chore: update style

* chore: perf code
2023-11-09 09:35:45 +08:00
MadCcc
66df407415
refactor: segmented support css var (#45716) 2023-11-08 15:30:56 +08:00
MadCcc
96fa23ea7c
refactor: Tooltip, Popover, Dropdown, Tour support css var (#45705)
* feat: Tooltip, Popover, Dropdown, Tour support css var

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: add test
2023-11-08 14:56:15 +08:00
github-actions[bot]
236ac80adb
chore: auto merge branches (#45710)
chore: feature merge master
2023-11-08 04:12:57 +00:00
5ac3f57b7c
feat(modal): PureRender support custom footer callback (#44985)
* demo: update debug demo

* chore: improve typo

* Revert "chore: improve typo"

This reverts commit d5163f98ececa6266d34d68d9d4bc9f83cf06095.

* chore: update

* chore: update demo

* chore: update snapshots

* chore: update
2023-11-08 11:10:35 +08:00
kiner-tang(文辉)
b3cb6b30ed
fix: update tag default background (#45711) 2023-11-08 10:43:02 +08:00
lijianan
c614e814c9
chore: update README (#45707) 2023-11-08 10:05:50 +08:00
kiner-tang(文辉)
380649ee76
fix: update tag default background (#45700)
* fix: update tag default background

* feat: remove unused code

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-11-07 18:28:09 +08:00
afc163
d3fc8edefd
chore: fix codesandbox ci (#45698)
Signed-off-by: afc163 <afc163@gmail.com>
2023-11-07 16:53:03 +08:00
afc163
4a680365db
chore: remove unused config files (#45697)
* Delete .github/tests_checker.yml

Signed-off-by: afc163 <afc163@gmail.com>

* Delete .github/lock.yml

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-11-07 15:45:51 +08:00
github-actions[bot]
284347c37f
chore: upgrade deps (#45692)
Co-authored-by: afc163 <afc163@users.noreply.github.com>
2023-11-07 04:10:41 +08:00
github-actions[bot]
d624fbbad7
chore: auto merge branches (#45683)
chore: feature merge master
2023-11-06 04:05:07 +00:00
MadCcc
6d11dacdcc Merge branch 'master' into feature-merge-master 2023-11-06 11:31:59 +08:00
MadCcc
3b5a915ddf
fix: notification style width (#45681)
* fix: notification style width

* chore: code clean

* chore: update size-limit
2023-11-06 11:29:41 +08:00
MadCcc
5f1dd427df
feat: css var (#45589)
* feat: css variables theme

* chore: temp

* chore temp

* chore: temp

* chore: temp

* chore: tmp

* chore: temp

* feat: full css variables

* feat: css var

* chore: code clean

* chore: code clean

* chore: bump cssinjs

* test: fix lint

* feat: better key logic

* feat: useStyle add param rootCls for cssVar scope

* chore: fix lint

* chore: code clean

* chore: fix lint

* perf: minimize component token size

* chore: make useId compatible

* chore: code clean

* chore: fix lint

* chore: code clean

* chore: update test case

* feat: genCSSVarRegister

* feat: RPN Calculator

* chore: add test for css var

* chore: code clean

* test: add test for calc

* feat: better calc type

* chore: code clean

* chore: update size limit

* feat: better useCSSVar

* chore: better useCSSVar

* test: add cov

* feat: better calc logic

* test: add test case

* chore: code clean

---------

Signed-off-by: MadCcc <madccc@foxmail.com>
2023-11-06 10:31:51 +08:00
Aylee
d9a60a4827
docs: Update README.md Contributor Section (#45674)
Updated link for pull request template, updated capitalization for link names for consistency, removed additional contributor information link.

Signed-off-by: Aylee <114051913+Aylee-Shomali@users.noreply.github.com>
2023-11-05 17:07:50 +08:00
lijianan
3f683d778c
fix: fix App error when component === false (#45671)
* fix: fix error when component === false

* fix: fix
2023-11-05 13:08:52 +08:00
renovate[bot]
ea25528d77
chore(deps): update npm to v10.2.3 (#45675)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-05 10:31:26 +08:00
Parsa Arvaneh
f693a6873a
fix(Image): using chinese language in image components API's table (#45673) 2023-11-05 10:30:29 +08:00
Jex
d1ed46938b
type: add generics to AppProps (#45669)
* type: add generics to AppProps

* type: add generics to rootProps
2023-11-04 01:35:40 +08:00
MadCcc
fe59bb054d
docs: optimize (#45659)
* docs: optimize changelog

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-03 22:49:52 +08:00
bcd8a7823e
ci: timed check for dependency updates (#45593)
* # This is a combination of 2 commits.
# This is the 1st commit message:

chore: add npm-check-updates

# The commit message #2 will be skipped:

# fixup! chore: add npm-check-updates
(cherry picked from commit f62e034897b7398ba304738433ddbe022147e6c0)

* ci: add upgrade-deps workflow

(cherry picked from commit 0a4a2827b59155757809f80450acfb7e5f63f4b3)

* chore: update rule

* chore: update

* chore: rename

* chore: update
2023-11-03 22:12:46 +08:00
kiner-tang(文辉)
b888f69152
test: fix Slider test case in React 16 (#45664)
* docs: solve error about dropdown

* feat: update snap

* style: fix Upload border color when drag over (#45663)

* style: fix Upload border color when dragover

* Update components/upload/style/dragger.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: robin.li <robin.li@webeye.com>
Co-authored-by: afc163 <afc163@gmail.com>

* fix: test case error in React 16

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: Oceansdeep7 <14208796@qq.com>
Co-authored-by: robin.li <robin.li@webeye.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-03 21:50:49 +08:00
Oceansdeep7
38c2002144
style: fix Upload border color when drag over (#45663)
* style: fix Upload border color when dragover

* Update components/upload/style/dragger.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: robin.li <robin.li@webeye.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-03 19:00:11 +08:00
kiner-tang(文辉)
13ae715c7f
docs: solve error about dropdown (#45662) 2023-11-03 18:59:59 +08:00
f15bddf6cb
chore: fix ci download artifact logic (#45661)
如果上一个 Preview Build 因为连续提交,会导致这里下载失败。直接把 if 逻辑提升一级
2023-11-03 18:27:01 +08:00
afc163
e0a6244303 test: fix test case 2023-11-03 17:59:31 +08:00
MadCcc
7616c359f4
docs: changelog 5.11.0 (#45649)
* :spark: docs: changelog 5.11.0

* docs: type

* docs: update

* docs: update
2023-11-03 17:13:47 +08:00
f3c37a3be4
refactor(color-picker): rename defaultCollapsed => defaultOpen (#45655) 2023-11-03 16:49:22 +08:00
afc163
321dfd8cc9
feat: show Slider tooltip when focus handler (#45653) 2023-11-03 16:30:04 +08:00
afc163
f46587b3ca
fix: Slider handler should be movable after click tracker (#45651)
* fix: Slider handler should be movable after click tracker

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-11-03 16:29:34 +08:00
Amumu
d7e2330a12
chore: bump rc-* (#45650) 2023-11-03 16:07:38 +08:00
github-actions[bot]
ad3b73a0dc
chore: auto merge branches (#45648)
chore: master merge feature
2023-11-03 05:45:35 +00:00
99138cb93e
feat(color-picker): preset colors support collapsing at initialization (#45607)
* feat(color-picker): preset colors support collapsing at initialization

(cherry picked from commit d8975b407f1d5a574cdefafd8be17374a4d5e8af)

* docs: update

(cherry picked from commit 74f6d70ebd22c752f57f559d4222c383fafea63a)

* test: add unit test

(cherry picked from commit 2ef2af49228d3fe672c1b24277f142f54f9b193a)

* chore: update

Co-authored-by: RedJue <RedJue@users.noreply.github.com>

* refactor: rename

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: RedJue <RedJue@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-11-03 11:47:52 +08:00
github-actions[bot]
da9ca05b04
chore: auto merge branches (#45645)
chore: feature merge master
2023-11-03 02:45:54 +00:00
MadCcc
52d2439fae Merge branch 'master' into feature-merge-master 2023-11-03 10:18:19 +08:00
Paweł Ciosek
bf15203758
Docs: usage with next.js, add information about workaround for Next.js 14 and App Router (#45642)
* Docs usage wit next.js, add information about workaround for Next.js 14 and App Router

* Update use-with-next.en-US.md

Revert reformat for US version

Signed-off-by: Paweł Ciosek <68032486+pavelee@users.noreply.github.com>

* Update use-with-next.zh-CN.md

Revert reformat for CN version

Signed-off-by: Paweł Ciosek <68032486+pavelee@users.noreply.github.com>

---------

Signed-off-by: Paweł Ciosek <68032486+pavelee@users.noreply.github.com>
2023-11-03 00:54:38 +08:00
Simon He
56c2b56bf2
docs(input): add placeholder (#45643)
* docs(input): add placeholder

* chore: update input-number
2023-11-03 00:42:37 +08:00
dependabot[bot]
d9902eb367
chore(deps-dev): bump eslint-plugin-unicorn from 48.0.1 to 49.0.0 (#45639)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 48.0.1 to 49.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v48.0.1...v49.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 00:18:38 +08:00
MadCcc
e6d9232777
docs: fix demo editor shadow (#45636) 2023-11-02 19:33:00 +08:00
MadCcc
95322eaad5
fix: InputNumber in Form with hasFeedback should not lose focus (#45632)
* fix: InputNumber in Form with hasFeedback should not lose focus

* chore: disable lint
2023-11-02 17:15:03 +08:00
MadCcc
9f1b8f13d0
docs: fix code selection style issue (#45631) 2023-11-02 16:40:33 +08:00
叶枫
923aaba047
chore: add lodash eslint (#45627) 2023-11-02 15:10:56 +08:00
KotoriK
d8fbefcd36
feat(Modal): Modal static function accept 'styles' (#45558)
* feat(Modal): modal static function should accept 'styles'

* lint

* Update components/modal/interface.ts

Signed-off-by: afc163 <afc163@gmail.com>

* Update components/modal/ConfirmDialog.tsx

Signed-off-by: afc163 <afc163@gmail.com>

* Update components/modal/ConfirmDialog.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: KotoriK <52659125+KotoriK@users.noreply.github.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: KotoriK <52659125+KotoriK@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-02 10:12:41 +08:00
Mayowa Sogbein
300c1f3f79
docs: remove dead links (#45624) 2023-11-02 09:39:25 +08:00
lijianan
b14faf04bf
feat: CP support Dropdown className and style (#45621)
* feat: CP support Dropdown className and style

* test: fix test case
2023-11-02 00:48:26 +08:00
lijianan
f02ce413da
demo: update tooltip demo (#45620)
* demo: update tooltip demo

* fix: fix
2023-11-01 22:27:37 +08:00
lijianan
99faed814a
demo: update Spin demo layout to Flex Component (#45577)
Signed-off-by: lijianan <574980606@qq.com>
2023-11-01 22:26:02 +08:00
leixd1994
46246268ac
docs: add example for autoInsertSpaceInButton (#45608)
* 增加autoInsertSpaceInButton属性的样例代码,防止加错位置

* 格式修改

* Update components/button/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/button/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/button/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/button/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-11-01 10:15:29 +08:00
afc163
c1891d8d3b
demo: update Popover demos (#45598)
Signed-off-by: afc163 <afc163@gmail.com>
2023-10-31 20:58:01 +08:00