Fix colors, replace Dropdown with Select, add clear layout
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import type { PrimitiveProps } from "reka-ui"
|
||||
import type { HTMLAttributes } from "vue"
|
||||
import type { ContainerVariants } from "../container"
|
||||
import type { FrameVariants } from "../frame"
|
||||
import { cn } from "@/lib/utils"
|
||||
import Container from "@/components/ui/container/Container.vue"
|
||||
import Frame from "@/components/ui/frame/Frame.vue"
|
||||
|
||||
|
||||
interface Props extends PrimitiveProps {
|
||||
side?: ContainerVariants["borderPlacement"]
|
||||
side?: FrameVariants["borderPlacement"]
|
||||
class?: HTMLAttributes["class"]
|
||||
}
|
||||
|
||||
@ -17,8 +17,8 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Container :as="as" :as-child="asChild" :class="cn(props.class)" margin="none" borderRadius="none"
|
||||
<Frame :as="as" :as-child="asChild" :class="cn(props.class)" margin="none" borderRadius="none"
|
||||
:borderPlacement="side">
|
||||
<slot />
|
||||
</Container>
|
||||
</Frame>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user