Skip to content

Commit

Permalink
chore: lock @vueuse/core version
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Jan 2, 2024
1 parent fc225c6 commit e03a360
Show file tree
Hide file tree
Showing 8 changed files with 277 additions and 6,018 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"@types/lodash": "^4.14.178",
"@types/validator": "^13.6.3",
"@use-gesture/vanilla": "^10.3.0",
"@vueuse/core": "^10.4.1",
"@vueuse/core": "~10.6.1",
"dayjs": "^1.10.7",
"lodash": "^4.17.21",
"tdesign-icons-vue-next": "^0.2.0",
Expand Down
227 changes: 227 additions & 0 deletions src/cascader/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,233 @@ exports[`Cascader > Cascader baseVue demo works fine 1`] = `
</div>
`;

exports[`Cascader > Cascader checkStrictlyVue demo works fine 1`] = `
<div
data-v-app=""
>
<div
class="t-cell t-cell--middle"
data-v-e4157e3c=""
>
<div
class="t-cell__left"
>
<!--v-if-->
<!---->
</div>
<div
class="t-cell__title"
>
地址
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__note"
>
请选择地址
</div>
<div
class="t-cell__right"
>
<div
class="t-cell__right-icon"
>
<svg
class="t-icon t-icon-chevron-right"
fill="none"
height="1em"
viewBox="0 0 24 24"
width="1em"
>
<path
d="M8.09 17.5l5.5-5.5-5.5-5.5L9.5 5.09 16.41 12 9.5 18.91 8.09 17.5z"
fill="currentColor"
/>
</svg>
</div>
</div>
</div>
<teleport-stub
data-v-e4157e3c=""
disabled="false"
to="[object HTMLBodyElement]"
>
<div
class="t-overlay"
style="z-index: 1000; transition-duration: 300ms; display: none;"
>
</div>
<div
class="t-popup t-popup--bottom"
style="display: none;"
>
<!--v-if-->
<div
class="t-cascader"
>
<div
class="t-cascader__title"
>
选择地址
</div>
<div
class="t-cascader__close-btn"
>
<span
class="confirm-btn"
data-v-e4157e3c=""
>
确定
</span>
</div>
<div
class="t-cascader__content"
>
<div>
<div
class="t-cascader__steps"
>
<div
class="t-cascader__step"
>
<div
class="t-cascader__step-dot t-cascader__step-dot--last"
/>
<div
class="t-cascader__step-label t-cascader__step-label--active"
>
选择选项
</div>
<svg
class="t-icon t-icon-chevron-right t-cascader__step-arrow"
fill="none"
height="1em"
viewBox="0 0 24 24"
width="1em"
>
<path
d="M8.09 17.5l5.5-5.5-5.5-5.5L9.5 5.09 16.41 12 9.5 18.91 8.09 17.5z"
fill="currentColor"
/>
</svg>
</div>
</div>
<!--v-if-->
</div>
<!--v-if-->
<div
class="t-cascader__options-container"
style="width: 200vw; transform: translateX(-000vw);"
>
<div
class="t-cascader__options"
>
<div
class="cascader-radio-group-0 slide-enter-from slide-enter-active"
>
<div
class="t-radio-group"
role="radiogroup"
>
<div
class="t-radio t-radio--right t-radio--block"
>
<input
class="t-radio__original"
name=""
type="radio"
value="110000"
/>
<div
class="t-radio__icon t-radio__icon--right"
>
<!--v-if-->
<!--v-if-->
<!--v-if-->
<!--v-if-->
<div
class="placeholder"
/>
<!---->
</div>
<div
class="t-radio__content"
>
<span
class="t-radio__title"
style=""
>
北京市
</span>
<!--v-if-->
</div>
<!--v-if-->
</div>
<div
class="t-radio t-radio--right t-radio--block"
>
<input
class="t-radio__original"
name=""
type="radio"
value="120000"
/>
<div
class="t-radio__icon t-radio__icon--right"
>
<!--v-if-->
<!--v-if-->
<!--v-if-->
<!--v-if-->
<div
class="placeholder"
/>
<!---->
</div>
<div
class="t-radio__content"
>
<span
class="t-radio__title"
style=""
>
天津市
</span>
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--v-if-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</teleport-stub>
</div>
`;

exports[`Cascader > Cascader keysVue demo works fine 1`] = `
<div
data-v-app=""
Expand Down
2 changes: 2 additions & 0 deletions src/cascader/__test__/demo.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import { mount } from '@vue/test-utils';
import baseVue from '@/cascader/demos/base.vue';
import checkStrictlyVue from '@/cascader/demos/check-strictly.vue';
import keysVue from '@/cascader/demos/keys.vue';
import lazyVue from '@/cascader/demos/lazy.vue';
import mobileVue from '@/cascader/demos/mobile.vue';
Expand All @@ -13,6 +14,7 @@ import withValueVue from '@/cascader/demos/with-value.vue';

const mapper = {
baseVue,
checkStrictlyVue,
keysVue,
lazyVue,
mobileVue,
Expand Down
Loading

0 comments on commit e03a360

Please sign in to comment.