-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #541 from oceanbase/zhuyue-dev-0.3.1
[Feature Branch] chore(merge): Merge master branch of v0.3.1
- Loading branch information
Showing
36 changed files
with
14,279 additions
and
4,572 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
183 changes: 183 additions & 0 deletions
183
packages/design/src/config-provider/__tests__/__snapshots__/form.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`ConfigProvider form > ConfigProvider form.requiredMark should be \`optional\` by default and work for ProForm 1`] = ` | ||
<form | ||
autocomplete="off" | ||
class="ant-form ant-form-vertical ant-pro-form" | ||
> | ||
<input | ||
style="display: none;" | ||
type="text" | ||
/> | ||
<div | ||
class="ant-form-item" | ||
> | ||
<div | ||
class="ant-row ant-form-item-row" | ||
> | ||
<div | ||
class="ant-col ant-form-item-label" | ||
> | ||
<label | ||
class="ant-form-item-required ant-form-item-required-mark-optional" | ||
for="name" | ||
title="Name" | ||
> | ||
Name | ||
</label> | ||
</div> | ||
<div | ||
class="ant-col ant-form-item-control" | ||
> | ||
<div | ||
class="ant-form-item-control-input" | ||
> | ||
<div | ||
class="ant-form-item-control-input-content" | ||
> | ||
<span | ||
class="ant-input-affix-wrapper ant-input-affix-wrapper-focused ant-input-outlined" | ||
> | ||
<input | ||
class="ant-input" | ||
id="name" | ||
placeholder="请输入" | ||
type="text" | ||
value="" | ||
/> | ||
<span | ||
class="ant-input-suffix" | ||
> | ||
<span | ||
class="ant-input-clear-icon ant-input-clear-icon-hidden" | ||
role="button" | ||
tabindex="-1" | ||
> | ||
<span | ||
aria-label="close-circle" | ||
class="anticon anticon-close-circle" | ||
role="img" | ||
> | ||
<svg | ||
aria-hidden="true" | ||
data-icon="close-circle" | ||
fill="currentColor" | ||
fill-rule="evenodd" | ||
focusable="false" | ||
height="1em" | ||
viewBox="64 64 896 896" | ||
width="1em" | ||
> | ||
<path | ||
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" | ||
/> | ||
</svg> | ||
</span> | ||
</span> | ||
</span> | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="ant-form-item" | ||
> | ||
<div | ||
class="ant-row ant-form-item-row" | ||
> | ||
<div | ||
class="ant-col ant-form-item-label" | ||
> | ||
<label | ||
class="ant-form-item-required-mark-optional" | ||
for="address" | ||
title="Address" | ||
> | ||
Address | ||
<span | ||
class="ant-form-item-optional" | ||
title="" | ||
> | ||
(可选) | ||
</span> | ||
</label> | ||
</div> | ||
<div | ||
class="ant-col ant-form-item-control" | ||
> | ||
<div | ||
class="ant-form-item-control-input" | ||
> | ||
<div | ||
class="ant-form-item-control-input-content" | ||
> | ||
<span | ||
class="ant-input-affix-wrapper ant-input-outlined" | ||
> | ||
<input | ||
class="ant-input" | ||
id="address" | ||
placeholder="请输入" | ||
type="text" | ||
value="" | ||
/> | ||
<span | ||
class="ant-input-suffix" | ||
> | ||
<span | ||
class="ant-input-clear-icon ant-input-clear-icon-hidden" | ||
role="button" | ||
tabindex="-1" | ||
> | ||
<span | ||
aria-label="close-circle" | ||
class="anticon anticon-close-circle" | ||
role="img" | ||
> | ||
<svg | ||
aria-hidden="true" | ||
data-icon="close-circle" | ||
fill="currentColor" | ||
fill-rule="evenodd" | ||
focusable="false" | ||
height="1em" | ||
viewBox="64 64 896 896" | ||
width="1em" | ||
> | ||
<path | ||
d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" | ||
/> | ||
</svg> | ||
</span> | ||
</span> | ||
</span> | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
style="display: flex; gap: 8px; align-items: center;" | ||
> | ||
<button | ||
class="ant-btn ant-btn-default" | ||
type="button" | ||
> | ||
<span> | ||
重 置 | ||
</span> | ||
</button> | ||
<button | ||
class="ant-btn ant-btn-primary" | ||
type="button" | ||
> | ||
<span> | ||
提 交 | ||
</span> | ||
</button> | ||
</div> | ||
</form> | ||
`; |
Oops, something went wrong.