Vue 3 + Vite + TypeScript (strict) app with shadcn-vue, Konva.js canvas, and Pinia. 4-step wizard: upload JPG/HEIC, view EXIF, place datum measurements (rectangles/lines with presets), run deskew (placeholder). Dark mode, mobile-responsive with bottom sheet for datum panel. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
28 lines
872 B
Vue
28 lines
872 B
Vue
<script setup lang="ts">
|
|
import type { SelectScrollDownButtonProps } from 'reka-ui'
|
|
|
|
import type { HTMLAttributes } from 'vue'
|
|
import { reactiveOmit } from '@vueuse/core'
|
|
import { ChevronDownIcon } from 'lucide-vue-next'
|
|
import { SelectScrollDownButton, useForwardProps } from 'reka-ui'
|
|
import { cn } from '@/lib/utils'
|
|
|
|
const props = defineProps<SelectScrollDownButtonProps & { class?: HTMLAttributes['class'] }>()
|
|
|
|
const delegatedProps = reactiveOmit(props, 'class')
|
|
|
|
const forwardedProps = useForwardProps(delegatedProps)
|
|
</script>
|
|
|
|
<template>
|
|
<SelectScrollDownButton
|
|
data-slot="select-scroll-down-button"
|
|
v-bind="forwardedProps"
|
|
:class="cn('bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*=size-])]:size-4', props.class)"
|
|
>
|
|
<slot>
|
|
<ChevronDownIcon />
|
|
</slot>
|
|
</SelectScrollDownButton>
|
|
</template>
|