feat: replace all native selects and date inputs with custom components
This commit is contained in:
@@ -6,18 +6,16 @@
|
||||
<div class="bg-bg-surface rounded-lg p-4 mb-6 flex flex-wrap items-end gap-4">
|
||||
<div>
|
||||
<label class="block text-[0.6875rem] text-text-tertiary uppercase tracking-[0.08em] mb-1.5">Start Date</label>
|
||||
<input
|
||||
<AppDatePicker
|
||||
v-model="startDate"
|
||||
type="date"
|
||||
class="px-3 py-2 bg-bg-inset border border-border-subtle rounded-lg text-[0.8125rem] text-text-primary focus:outline-none focus:border-border-visible"
|
||||
placeholder="Start date"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label class="block text-[0.6875rem] text-text-tertiary uppercase tracking-[0.08em] mb-1.5">End Date</label>
|
||||
<input
|
||||
<AppDatePicker
|
||||
v-model="endDate"
|
||||
type="date"
|
||||
class="px-3 py-2 bg-bg-inset border border-border-subtle rounded-lg text-[0.8125rem] text-text-primary focus:outline-none focus:border-border-visible"
|
||||
placeholder="End date"
|
||||
/>
|
||||
</div>
|
||||
<button
|
||||
@@ -109,6 +107,7 @@ import { ref, computed, onMounted } from 'vue'
|
||||
import { invoke } from '@tauri-apps/api/core'
|
||||
import { Bar } from 'vue-chartjs'
|
||||
import { BarChart3 } from 'lucide-vue-next'
|
||||
import AppDatePicker from '../components/AppDatePicker.vue'
|
||||
import { useToastStore } from '../stores/toast'
|
||||
import {
|
||||
Chart as ChartJS,
|
||||
|
||||
Reference in New Issue
Block a user