ant-design/components/grid/hooks
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
..
useBreakpoint.tsx chore: merge master 2025-02-18 19:56:12 +08:00
useGutter.ts feat: [v6] new component Masonry (#52162) 2025-03-05 17:15:14 +08:00