mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 19:42:54 +08:00
docs(button): update Flex gap from 'middle' to 'small' in color-variant demo (#52307)
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
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
* docs(button): update Flex gap from 'middle' to 'small' in color-variant demo * test: update snap --------- Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
parent
94f57ee8ff
commit
4d96645de8
@ -493,7 +493,7 @@ exports[`renders components/button/demo/color-variant.tsx extend context correct
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-middle"
|
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-small"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="ant-btn ant-btn-default ant-btn-color-pink ant-btn-variant-solid ant-btn-sm"
|
class="ant-btn ant-btn-default ant-btn-color-pink ant-btn-variant-solid ant-btn-sm"
|
||||||
@ -545,7 +545,7 @@ exports[`renders components/button/demo/color-variant.tsx extend context correct
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-middle"
|
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-small"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="ant-btn ant-btn-default ant-btn-color-purple ant-btn-variant-solid ant-btn-sm"
|
class="ant-btn ant-btn-default ant-btn-color-purple ant-btn-variant-solid ant-btn-sm"
|
||||||
@ -597,7 +597,7 @@ exports[`renders components/button/demo/color-variant.tsx extend context correct
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-middle"
|
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-small"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="ant-btn ant-btn-default ant-btn-color-cyan ant-btn-variant-solid ant-btn-sm"
|
class="ant-btn ant-btn-default ant-btn-color-cyan ant-btn-variant-solid ant-btn-sm"
|
||||||
|
@ -485,7 +485,7 @@ exports[`renders components/button/demo/color-variant.tsx correctly 1`] = `
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-middle"
|
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-small"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="ant-btn ant-btn-default ant-btn-color-pink ant-btn-variant-solid ant-btn-sm"
|
class="ant-btn ant-btn-default ant-btn-color-pink ant-btn-variant-solid ant-btn-sm"
|
||||||
@ -537,7 +537,7 @@ exports[`renders components/button/demo/color-variant.tsx correctly 1`] = `
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-middle"
|
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-small"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="ant-btn ant-btn-default ant-btn-color-purple ant-btn-variant-solid ant-btn-sm"
|
class="ant-btn ant-btn-default ant-btn-color-purple ant-btn-variant-solid ant-btn-sm"
|
||||||
@ -589,7 +589,7 @@ exports[`renders components/button/demo/color-variant.tsx correctly 1`] = `
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-middle"
|
class="ant-flex ant-flex-wrap-wrap ant-flex-gap-small"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="ant-btn ant-btn-default ant-btn-color-cyan ant-btn-variant-solid ant-btn-sm"
|
class="ant-btn ant-btn-default ant-btn-color-cyan ant-btn-variant-solid ant-btn-sm"
|
||||||
|
@ -68,7 +68,7 @@ const App: React.FC = () => {
|
|||||||
Link
|
Link
|
||||||
</Button>
|
</Button>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Flex gap="middle" wrap>
|
<Flex gap="small" wrap>
|
||||||
<Button color="pink" variant="solid">
|
<Button color="pink" variant="solid">
|
||||||
Solid
|
Solid
|
||||||
</Button>
|
</Button>
|
||||||
@ -88,7 +88,7 @@ const App: React.FC = () => {
|
|||||||
Link
|
Link
|
||||||
</Button>
|
</Button>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Flex gap="middle" wrap>
|
<Flex gap="small" wrap>
|
||||||
<Button color="purple" variant="solid">
|
<Button color="purple" variant="solid">
|
||||||
Solid
|
Solid
|
||||||
</Button>
|
</Button>
|
||||||
@ -108,8 +108,7 @@ const App: React.FC = () => {
|
|||||||
Link
|
Link
|
||||||
</Button>
|
</Button>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
<Flex gap="small" wrap>
|
||||||
<Flex gap="middle" wrap>
|
|
||||||
<Button color="cyan" variant="solid">
|
<Button color="cyan" variant="solid">
|
||||||
Solid
|
Solid
|
||||||
</Button>
|
</Button>
|
||||||
|
Loading…
Reference in New Issue
Block a user