Skip to content

Commit

Permalink
💚 fix: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours committed Apr 19, 2024
1 parent 80d5192 commit 3c1e6e2
Showing 1 changed file with 193 additions and 0 deletions.
193 changes: 193 additions & 0 deletions tests/__snapshots__/demo.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19029,6 +19029,199 @@ import { useDropNodeOnCanvas } from './useDropNodeOnCanvas';
</div>
`;

exports[`<Markdown /> > renders renderComponets.tsx correctly 1`] = `
.emotion-0 {
color: rgba(0, 0, 0, 0.88);
}

.emotion-0 h1,
.emotion-0 h2,
.emotion-0 h3,
.emotion-0 h4,
.emotion-0 h5 {
font-weight: 600;
}

.emotion-0 p {
margin-block-start: 0;
margin-block-end: 0;
font-size: 14px;
line-height: 1.8;
color: rgba(0, 0, 0, 0.88);
word-break: break-all;
word-wrap: break-word;
}

.emotion-0 p+* {
margin-block-end: 0.5em;
}

.emotion-0>*:last-child {
margin-bottom: 0!important;
}

.emotion-0 blockquote {
margin: 16px 0;
padding: 0 12px;
}

.emotion-0 blockquote p {
font-style: italic;
color: rgba(0, 0, 0, 0.45);
}

.emotion-0 p:not(:last-child) {
margin-bottom: 1em;
}

.emotion-0 a {
color: #1677ff;
}

.emotion-0 a:hover {
color: #69b1ff;
}

.emotion-0 a:active {
color: #0958d9;
}

.emotion-0 img {
max-width: 100%;
}

.emotion-0 pre,
.emotion-0 [data-code-type='highlighter'] {
border: none;
border-radius: 6px;
}

.emotion-0 pre>code,
.emotion-0 [data-code-type='highlighter']>code {
padding: 0!important;
border: none!important;
}

.emotion-0>:not([data-code-type='highlighter']) code {
padding: 2px 6px;
font-size: 10px;
border-radius: 4px;
}

.emotion-0 table {
border-spacing: 0;
width: 100%;
margin-block-start: 1em;
margin-block-end: 1em;
-webkit-margin-start: 0;
margin-inline-start: 0;
-webkit-margin-end: 0;
margin-inline-end: 0;
padding: 8px;
border: 1px solid #f0f0f0;
border-radius: 6px;
}

.emotion-0 table code {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
}

.emotion-0 th,
.emotion-0 td {
padding-block-start: 10px;
padding-block-end: 10px;
-webkit-padding-start: 16px;
padding-inline-start: 16px;
-webkit-padding-end: 16px;
padding-inline-end: 16px;
}

.emotion-0 thead tr th {
background: rgba(0, 0, 0, 0.04);
}

.emotion-0 thead tr th:first-child {
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}

.emotion-0 thead tr th:last-child {
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
}

.emotion-0>ol>li::marker {
color: #1677ff!important;
}

.emotion-0>ul>li {
line-height: 1.8;
list-style-type: disc;
}

.emotion-0>ul>li::marker {
color: #1677ff!important;
}

.emotion-0 ol>li::marker,
.emotion-0 ul>li::marker {
color: rgba(0, 0, 0, 0.45);
}

.emotion-0 details {
margin-bottom: 1em;
padding: 12px 16px;
background: rgba(0, 0, 0, 0.04);
border: 1px solid #f0f0f0;
border-radius: 8px;
-webkit-transition: all 400ms cubic-bezier(0.215, 0.61, 0.355, 1);
transition: all 400ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.emotion-0 details[open] summary {
padding-bottom: 12px;
border-bottom: 1px solid #d9d9d9;
}

<div>
<article
class="ant-typography"
>
<div
class="emotion-0"
>
<p>
This is
<button
class="ant-btn ant-btn-default"
type="button"
>
<span>
该链接不允许点击跳转!http://example.com/
</span>
</button>
inline link.
</p>


<p>
<button
class="ant-btn ant-btn-default"
type="button"
>
<span>
该链接不允许点击跳转!http://example.com/
</span>
</button>
</p>
</div>
</article>
</div>
`;

exports[`<Snippet /> > renders index.tsx correctly 1`] = `
.emotion-0 {
background-color: transparent;
Expand Down

0 comments on commit 3c1e6e2

Please sign in to comment.