feat: establish shared color state and area interaction foundation

This commit is contained in:
maoyingjie
2026-10-25 11:10:47 +08:00
parent 58ca16e774
commit 57d7cbb2d6
26 changed files with 2429 additions and 88 deletions
+6 -1
View File
@@ -1,5 +1,9 @@
<script setup lang="ts">
import { ref } from "vue";
import ColorFoundationLab from "./ColorFoundationLab.vue";
const colorFoundation =
typeof window !== "undefined" &&
new URLSearchParams(window.location.search).has("color-foundation");
import RangeCalendarFoundationLab from "./RangeCalendarFoundationLab.vue";
const rangeFoundation =
typeof window !== "undefined" &&
@@ -35,7 +39,8 @@ function save() {
}
</script>
<template>
<RangeCalendarFoundationLab v-if="rangeFoundation" />
<ColorFoundationLab v-if="colorFoundation" />
<RangeCalendarFoundationLab v-else-if="rangeFoundation" />
<SelectLifecycle v-else-if="selectLifecycle" />
<ScrollTabsLab v-else-if="scrollTabsLab" />
<OverlayAnimationLab v-else-if="animationLab" />