From 3c1e6e268a9c295d19fa34276d05d82ea61769f0 Mon Sep 17 00:00:00 2001 From: Siniji <1349021570@qq.com> Date: Fri, 19 Apr 2024 11:44:33 +0800 Subject: [PATCH] :green_heart: fix: update snapshot --- tests/__snapshots__/demo.test.tsx.snap | 193 +++++++++++++++++++++++++ 1 file changed, 193 insertions(+) diff --git a/tests/__snapshots__/demo.test.tsx.snap b/tests/__snapshots__/demo.test.tsx.snap index 7dec2564..7da68a4c 100644 --- a/tests/__snapshots__/demo.test.tsx.snap +++ b/tests/__snapshots__/demo.test.tsx.snap @@ -19029,6 +19029,199 @@ import { useDropNodeOnCanvas } from './useDropNodeOnCanvas'; `; +exports[` > 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; +} + +
+
+
+

+ This is + + inline link. +

+ + +

+ +

+
+
+
+`; + exports[` > renders index.tsx correctly 1`] = ` .emotion-0 { background-color: transparent;