Commit Graph

2 Commits

Author SHA1 Message Date
Oyster Lee
3fa9a51c48
feat: [v6] new component Masonry (#52162)
* feat(masonry): new component

* refactor(masonry): housekeeping

* refactor(masonry): update props and use transform

* refactor(masonry): update calculation logic

* refactor(masonry): rename file and add keepAspectRatio props

* refactor(masonry): rename file

* refactor(masonry): rename file

* refactor(masonry): rename file

* chore(masonry): update docs

* refactor(masonry): change to transform style

* feat(masonry): update demo and test

* chore(masonry): escape brackets

* test(masonry): update snapshots

* fix(masonry): handle rtl

* chore(masonry): update snapshots

* refactor(masonry): remove redundant condition

* refactor(masonry): update dependencies

* refactor(masonry): use token in transition

* refactor: add scope

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Oyster Lee <oysterd3@gmail.com>

* chore: tmp moving

* chore: abstract hooks

* chore: back of sequential

* chore: refactor type

* chore: split logic

* chore: tmp of it

* feat: support sort

* chore: support sort logic

* chore: clean up

* test: simplify test case

* test: fix test case

* chore: fix lint

* docs: update docs

* chore: update limit

* test: update snapshot

* test: fix test case

* test: update snapshot

* chore: support fresh

* test: coverage

* chore: ssr render nothing

* test: update snapshot

* docs: update docs

* docs: add SemanticPreview

* chore: adjust calc logic

* docs: add more info

* test: add test case

* docs: fix lint

* test: update snapshot

* test: update snapshot

* Update components/masonry/Masonry.tsx

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* chore: rename

* chore: fix lint

---------

Signed-off-by: Oyster Lee <oysterd3@gmail.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-03-05 17:15:14 +08:00
二货爱吃白萝卜
dd20460886
refactor: use breakpoint by Copilot AI (#52870)
Some checks are pending
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
* refactor: use breakpoint

* refactor: add hooks

* chore: clean up

* chore: fix logic

* chore: fix logic

* chore: fix ts

* chore: fix ts
2025-02-18 19:49:29 +08:00