ant-design/scripts/__snapshots__/check-site.ts.snap
Wanpan 742ce37887
feat:🔥New Component: Splitter (#50038)
* feat: SplitPanel init

* feat: SplitPanel update

* feat: SplitPanel update

* feat: splitPanel update useResize

* feat: SplitPanel update

* feat: splitPanel update useResize

* feat: SplitPanel update

* feat: splitPanel demo

* feat: splitPanel update

* feat: splitPanel support complicated combination

* feat: SplitPanel rename to Splitter

* feat: Splitter support onRize

* feat: support collapsible

* feat: support token and collapsible

* feat: update docs

* feat: size defaultSize support string

* feat: min max support string

* feat: update

* feat: support DOM structure

* feat: Optimize UI

* feat: Optimize Code

* fix: Add a default size during initialization to prevent failure to obtain container size

* feat: optimized code

* feat: optimized code

* feat: Optimize Code

* Update components/splitter/demo/layout.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* Update components/splitter/demo/multiple.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* docs: update

* feat: Modify the style and optimize the interface

* feat: use PropsWithChildren

* feat: support rtl

* feat: collapsible supports object types

* fix: when collapsible is boolean not work

* feat: Splitter add test

* feat: update

* test: update snapshots

* docs: update

* test: update snapshots

* test: update

* test: update

* test: update

* test: update

* fix: Removed invalid min and max restrictions when collapsible exists

* test: update

* test: update

* test: update

* test: test coverage

* Revert "test: test coverage"

This reverts commit d247193722.

* test: test coverage

* feat: rename

* feat: optimized code

* ci: lint

* feat: optimized code

* feat: add useag tips

* feat: optimized code

* feat: Modify splitbar layout

* feat: optimized code

* feat: numerical precision

* feat: optimized code

* feat: Optimized trigger region

* feat: Support configuration animation

* fix: Fix Collapsible exception when using multiple panels

* fix: Fixed the issue of drag area overlapping when multiple panels are folded

* feat: optimized code

* feat: annotation

* feAt: optimized code

* fix: bgcolor

* fix: Modify the initial value calculation method

* test: update

* feat: add cover image

* chore: adjust logic

* chore: use items size

* chore: rtl

* chore: limit

* chore: controlled

* docs: update demo

* docs: adjust style

* chore: add split style

* chore: hor collapisble style

* chore: collapse icon

* chore: update warning

* chore: clean up

* chore: collapse logic

* chore: adjust demo

* chore: clean up

* test: adjust logic

* docs: update demo

* docs: rm useless demo

* docs: demo

* test: add demo test

* test: test of them

* test: 100% coverage

* chore: fix lint

* docs: update demo

* refactor: unique resize config

* docs: add demo

* fix: support virtual resiable

* chore: add cursor mask

* test: update snapshot

* test: add test case

* test: update snapshot

* chore: use px base

* chore: rm useless code

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
2024-09-09 19:23:25 +08:00

278 lines
9.2 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`site test Component components/affix en Page 1`] = `1`;
exports[`site test Component components/affix zh Page 1`] = `1`;
exports[`site test Component components/alert en Page 1`] = `2`;
exports[`site test Component components/alert zh Page 1`] = `2`;
exports[`site test Component components/anchor en Page 1`] = `3`;
exports[`site test Component components/anchor zh Page 1`] = `3`;
exports[`site test Component components/app en Page 1`] = `1`;
exports[`site test Component components/app zh Page 1`] = `1`;
exports[`site test Component components/auto-complete en Page 1`] = `2`;
exports[`site test Component components/auto-complete zh Page 1`] = `2`;
exports[`site test Component components/avatar en Page 1`] = `2`;
exports[`site test Component components/avatar zh Page 1`] = `2`;
exports[`site test Component components/badge en Page 1`] = `2`;
exports[`site test Component components/badge zh Page 1`] = `2`;
exports[`site test Component components/breadcrumb en Page 1`] = `3`;
exports[`site test Component components/breadcrumb zh Page 1`] = `3`;
exports[`site test Component components/button en Page 1`] = `1`;
exports[`site test Component components/button zh Page 1`] = `1`;
exports[`site test Component components/calendar en Page 1`] = `1`;
exports[`site test Component components/calendar zh Page 1`] = `1`;
exports[`site test Component components/card en Page 1`] = `3`;
exports[`site test Component components/card zh Page 1`] = `3`;
exports[`site test Component components/carousel en Page 1`] = `2`;
exports[`site test Component components/carousel zh Page 1`] = `2`;
exports[`site test Component components/cascader en Page 1`] = `3`;
exports[`site test Component components/cascader zh Page 1`] = `3`;
exports[`site test Component components/checkbox en Page 1`] = `3`;
exports[`site test Component components/checkbox zh Page 1`] = `3`;
exports[`site test Component components/collapse en Page 1`] = `3`;
exports[`site test Component components/collapse zh Page 1`] = `3`;
exports[`site test Component components/color-picker en Page 1`] = `2`;
exports[`site test Component components/color-picker zh Page 1`] = `2`;
exports[`site test Component components/config-provider en Page 1`] = `3`;
exports[`site test Component components/config-provider zh Page 1`] = `3`;
exports[`site test Component components/date-picker en Page 1`] = `8`;
exports[`site test Component components/date-picker zh Page 1`] = `8`;
exports[`site test Component components/descriptions en Page 1`] = `2`;
exports[`site test Component components/descriptions zh Page 1`] = `2`;
exports[`site test Component components/divider en Page 1`] = `1`;
exports[`site test Component components/divider zh Page 1`] = `1`;
exports[`site test Component components/drawer en Page 1`] = `1`;
exports[`site test Component components/drawer zh Page 1`] = `1`;
exports[`site test Component components/dropdown en Page 1`] = `2`;
exports[`site test Component components/dropdown zh Page 1`] = `2`;
exports[`site test Component components/empty en Page 1`] = `1`;
exports[`site test Component components/empty zh Page 1`] = `1`;
exports[`site test Component components/flex en Page 1`] = `1`;
exports[`site test Component components/flex zh Page 1`] = `1`;
exports[`site test Component components/float-button en Page 1`] = `3`;
exports[`site test Component components/float-button zh Page 1`] = `3`;
exports[`site test Component components/form en Page 1`] = `10`;
exports[`site test Component components/form zh Page 1`] = `10`;
exports[`site test Component components/grid en Page 1`] = `2`;
exports[`site test Component components/grid zh Page 1`] = `2`;
exports[`site test Component components/icon en Page 1`] = `4`;
exports[`site test Component components/icon zh Page 1`] = `4`;
exports[`site test Component components/image en Page 1`] = `4`;
exports[`site test Component components/image zh Page 1`] = `4`;
exports[`site test Component components/input en Page 1`] = `7`;
exports[`site test Component components/input zh Page 1`] = `7`;
exports[`site test Component components/input-number en Page 1`] = `2`;
exports[`site test Component components/input-number zh Page 1`] = `2`;
exports[`site test Component components/layout en Page 1`] = `2`;
exports[`site test Component components/layout zh Page 1`] = `2`;
exports[`site test Component components/list en Page 1`] = `5`;
exports[`site test Component components/list zh Page 1`] = `5`;
exports[`site test Component components/mentions en Page 1`] = `3`;
exports[`site test Component components/mentions zh Page 1`] = `3`;
exports[`site test Component components/menu en Page 1`] = `5`;
exports[`site test Component components/menu zh Page 1`] = `5`;
exports[`site test Component components/message en Page 1`] = `3`;
exports[`site test Component components/message zh Page 1`] = `3`;
exports[`site test Component components/modal en Page 1`] = `3`;
exports[`site test Component components/modal zh Page 1`] = `3`;
exports[`site test Component components/notification en Page 1`] = `3`;
exports[`site test Component components/notification zh Page 1`] = `3`;
exports[`site test Component components/pagination en Page 1`] = `1`;
exports[`site test Component components/pagination zh Page 1`] = `1`;
exports[`site test Component components/popconfirm en Page 1`] = `1`;
exports[`site test Component components/popconfirm zh Page 1`] = `1`;
exports[`site test Component components/popover en Page 1`] = `1`;
exports[`site test Component components/popover zh Page 1`] = `1`;
exports[`site test Component components/progress en Page 1`] = `4`;
exports[`site test Component components/progress zh Page 1`] = `4`;
exports[`site test Component components/qr-code en Page 1`] = `1`;
exports[`site test Component components/qr-code zh Page 1`] = `1`;
exports[`site test Component components/radio en Page 1`] = `4`;
exports[`site test Component components/radio zh Page 1`] = `4`;
exports[`site test Component components/rate en Page 1`] = `2`;
exports[`site test Component components/rate zh Page 1`] = `2`;
exports[`site test Component components/result en Page 1`] = `1`;
exports[`site test Component components/result zh Page 1`] = `1`;
exports[`site test Component components/segmented en Page 1`] = `2`;
exports[`site test Component components/segmented zh Page 1`] = `2`;
exports[`site test Component components/select en Page 1`] = `4`;
exports[`site test Component components/select zh Page 1`] = `4`;
exports[`site test Component components/skeleton en Page 1`] = `6`;
exports[`site test Component components/skeleton zh Page 1`] = `6`;
exports[`site test Component components/slider en Page 1`] = `4`;
exports[`site test Component components/slider zh Page 1`] = `4`;
exports[`site test Component components/space en Page 1`] = `2`;
exports[`site test Component components/space zh Page 1`] = `2`;
exports[`site test Component components/spin en Page 1`] = `1`;
exports[`site test Component components/spin zh Page 1`] = `1`;
exports[`site test Component components/splitter en Page 1`] = `2`;
exports[`site test Component components/splitter zh Page 1`] = `2`;
exports[`site test Component components/statistic en Page 1`] = `2`;
exports[`site test Component components/statistic zh Page 1`] = `2`;
exports[`site test Component components/steps en Page 1`] = `3`;
exports[`site test Component components/steps zh Page 1`] = `3`;
exports[`site test Component components/switch en Page 1`] = `2`;
exports[`site test Component components/switch zh Page 1`] = `2`;
exports[`site test Component components/table en Page 1`] = `9`;
exports[`site test Component components/table zh Page 1`] = `9`;
exports[`site test Component components/tabs en Page 1`] = `2`;
exports[`site test Component components/tabs zh Page 1`] = `3`;
exports[`site test Component components/tag en Page 1`] = `2`;
exports[`site test Component components/tag zh Page 1`] = `2`;
exports[`site test Component components/time-picker en Page 1`] = `3`;
exports[`site test Component components/time-picker zh Page 1`] = `3`;
exports[`site test Component components/timeline en Page 1`] = `2`;
exports[`site test Component components/timeline zh Page 1`] = `2`;
exports[`site test Component components/tooltip en Page 1`] = `2`;
exports[`site test Component components/tooltip zh Page 1`] = `2`;
exports[`site test Component components/tour en Page 1`] = `2`;
exports[`site test Component components/tour zh Page 1`] = `2`;
exports[`site test Component components/transfer en Page 1`] = `2`;
exports[`site test Component components/transfer zh Page 1`] = `2`;
exports[`site test Component components/tree en Page 1`] = `4`;
exports[`site test Component components/tree zh Page 1`] = `4`;
exports[`site test Component components/tree-select en Page 1`] = `3`;
exports[`site test Component components/tree-select zh Page 1`] = `3`;
exports[`site test Component components/typography en Page 1`] = `6`;
exports[`site test Component components/typography zh Page 1`] = `6`;
exports[`site test Component components/upload en Page 1`] = `2`;
exports[`site test Component components/upload zh Page 1`] = `2`;
exports[`site test Component components/watermark en Page 1`] = `2`;
exports[`site test Component components/watermark zh Page 1`] = `2`;