Commit Graph

6 Commits

Author SHA1 Message Date
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
3bb3485ac7
fix(Modal): custom footer render error (#44929)
* Revert "refactor: fix compiling (#44616)"

This reverts commit b284648f11.

* feat: modal purepanel support footer render

* demo: update debug demo

* test: update test case

* Revert "test: update test case"

This reverts commit 34d151f86689f8da232af3e6e21b47cd13188161.

* chore: add more unit test case

* Revert "Revert "refactor: fix compiling (#44616)""

This reverts commit 0e054de42176ea0a6baca25cb2d03566af81f269.

* fix(Modal): custom footer render errors

* chore: fix TS error

* chore: improvement type

* chore: update

* chore: update

* Revert "chore: update"

This reverts commit c72bb07db980d241c0a552b94938feb47912b4c7.

* Revert "chore: update"

This reverts commit 9a4276078ca0e4bccd5cfb4d4ebd2ac76c402fd1.

* Revert "chore: improvement type"

This reverts commit 159e3dc7547cdda6a47683ba26f176e31a26749e.

* Revert "chore: fix TS error"

This reverts commit f1a9aa59b283862d5d75e1bd3a9cc697f7458baa.

* Revert "feat: modal purepanel support footer render"

This reverts commit 68de65e76adf2cd84af00786467c3164198e223b.

* Revert "demo: update debug demo"

This reverts commit 6741af239b709552fb4023fc9096f2298bb10c54.

* Update components/modal/__tests__/Modal.test.tsx

Co-authored-by: 红 <wxh16144@qq.com>
Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-09-18 18:33:25 +08:00
MadCcc
b284648f11
refactor: fix compiling (#44616)
* refactor: fix compiling

* perf: code logic update
2023-09-04 17:20:30 +08:00
红果汁
e7c7601bc0
feat: Modal footer support custom render function (#44318) 2023-08-28 11:54:43 +08:00
da35a10f29
fix: update Modal defaultFooter Button disabled logic (#43055)
* test: add unit test

* fix: update disabled logic

* Revert "test: add unit test"

This reverts commit 7559a15af6eebd2d6bbcc30fd9e181bb136da453.

* test: add unit case

* test: update snapshot

* chore: update logic

* Revert "chore: update logic"

This reverts commit 89e2233edaba790a76a233b3a4e542f22778fefb.
2023-08-10 16:48:28 +08:00
kiner-tang(文辉)
fca21af950
refactor: solve modal circular dependency issue (#42841) 2023-06-06 09:54:14 +08:00