Skip to content

Commit 931c5ad

Browse files
committed
chore: update snapshots
1 parent 35c1163 commit 931c5ad

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/__snapshots__/transformCode.test.ts.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ exports[`demo2 vue test > demo2.vue 1`] = `
687687
exports[`demo3 vue test > demo2.vue 1`] = `
688688
"/* stylelint-disable order/properties-order */
689689
<template>
690-
<div w-240px inline-flex flex-0 shrink-0 flex-1 relative before="content-[''] absolute top-0 left-0 right-0 bottom-0 z- m-auto w-2px h-[100%] bg-[#cacaca]" class="add-node-btn-box">
690+
<div w-240px inline-flex flex-0 shrink-0 flex-1 relative before="content-[''] absolute top-0 left-0 right-0 bottom-0 -z-1 m-auto w-2px h-[100%] bg-[#cacaca]" class="add-node-btn-box">
691691
<div select-none w-240px px-0 pt-20px pb-32px flex justify-center shrink-0 grow-1 class="add-node-btn">
692692
<el-popover placement="right-start" v-model="visible" width="auto">
693693
<div flex class="add-node-popover-body">
@@ -711,7 +711,7 @@ exports[`demo3 vue test > demo2.vue 1`] = `
711711
</a>
712712
</div>
713713
<template #reference>
714-
<button outline-none shadow-[0_2px_4px_0_rgba(0,0,0,0.1)] w-30px h-30px bg-[#3296fa] border-rd-[50%] relative border-none lh-30px transition="all duration-0.3s cubic-bezier(0.645,0.045,0.355,1)" hover="scale-130 shadow-[0_13px_27px_0_rgba(0,0,0,0.1)]" active="bg-[#1e83e9] shadow-[0_2px_4px_0_rgba(0,0,0,0.1)]" class="btn" type="button">
714+
<button outline-none shadow-[0_2px_4px_0_rgba(0,0,0,0.1)] w-30px h-30px bg-[#3296fa] border-rd-[50%] relative border-none lh-30px transition="all duration-0.3s cubic-bezier(0.645,0.045,0.355,1)" hover="scale-130 shadow-[0_13px_27px_0_rgba(0,0,0,0.1)]" active="transform-none bg-[#1e83e9] shadow-[0_2px_4px_0_rgba(0,0,0,0.1)]" class="btn" type="button">
715715
<span class="iconfont"></span>
716716
</button>
717717
</template>
@@ -787,7 +787,7 @@ const addType = (type) => {
787787
}
788788
</script>
789789
<style scoped>
790-
.add-node-btn-box {-webkit-box-flex: 1}.add-node-btn-box .add-node-btn {-webkit-box-pack: center;-webkit-box-flex: 1}.add-node-btn-box .add-node-btn .btn:active {transform: none}</style>
790+
.add-node-btn-box {-webkit-box-flex: 1}.add-node-btn-box .add-node-btn {-webkit-box-pack: center;-webkit-box-flex: 1}</style>
791791
"
792792
`;
793793
@@ -1838,7 +1838,7 @@ watch(
18381838
18391839
/* stylelint-disable order/properties-order */
18401840
<template>
1841-
<div w-240px inline-flex flex-0 shrink-0 flex-1 relative before="content-[''] absolute top-0 left-0 right-0 bottom-0 z- m-auto w-2px h-[100%] bg-[#cacaca]" class="add-node-btn-box">
1841+
<div w-240px inline-flex flex-0 shrink-0 flex-1 relative before="content-[''] absolute top-0 left-0 right-0 bottom-0 -z-1 m-auto w-2px h-[100%] bg-[#cacaca]" class="add-node-btn-box">
18421842
<div select-none w-240px px-0 pt-20px pb-32px flex justify-center shrink-0 grow-1 class="add-node-btn">
18431843
<el-popover placement="right-start" v-model="visible" width="auto">
18441844
<div flex class="add-node-popover-body">
@@ -1862,7 +1862,7 @@ watch(
18621862
</a>
18631863
</div>
18641864
<template #reference>
1865-
<button outline-none shadow-[0_2px_4px_0_rgba(0,0,0,0.1)] w-30px h-30px bg-[#3296fa] border-rd-[50%] relative border-none lh-30px transition="all duration-0.3s cubic-bezier(0.645,0.045,0.355,1)" hover="scale-130 shadow-[0_13px_27px_0_rgba(0,0,0,0.1)]" active="bg-[#1e83e9] shadow-[0_2px_4px_0_rgba(0,0,0,0.1)]" class="btn" type="button">
1865+
<button outline-none shadow-[0_2px_4px_0_rgba(0,0,0,0.1)] w-30px h-30px bg-[#3296fa] border-rd-[50%] relative border-none lh-30px transition="all duration-0.3s cubic-bezier(0.645,0.045,0.355,1)" hover="scale-130 shadow-[0_13px_27px_0_rgba(0,0,0,0.1)]" active="transform-none bg-[#1e83e9] shadow-[0_2px_4px_0_rgba(0,0,0,0.1)]" class="btn" type="button">
18661866
<span text-[#fff] text-16px class="iconfont"></span>
18671867
</button>
18681868
</template>
@@ -1938,7 +1938,7 @@ const addType = (type) => {
19381938
}
19391939
</script>
19401940
<style scoped>
1941-
.add-node-btn-box {-webkit-box-flex: 1}.add-node-btn-box .add-node-btn {-webkit-box-pack: center;-webkit-box-flex: 1}.add-node-btn-box .add-node-btn .btn:active {transform: none}</style>
1941+
.add-node-btn-box {-webkit-box-flex: 1}.add-node-btn-box .add-node-btn {-webkit-box-pack: center;-webkit-box-flex: 1}</style>
19421942
",
19431943
"
19441944

0 commit comments

Comments
 (0)