diff --git a/components/LoadingIndicator.vue b/components/LoadingIndicator.vue index b2eff7a9..6b81fbe8 100644 --- a/components/LoadingIndicator.vue +++ b/components/LoadingIndicator.vue @@ -1,16 +1,7 @@ \ No newline at end of file + + + + diff --git a/components/ThemedButton.vue b/components/ThemedButton.vue index c0676b79..d3eca6ce 100644 --- a/components/ThemedButton.vue +++ b/components/ThemedButton.vue @@ -1,22 +1,20 @@ diff --git a/components/ThemedInput.vue b/components/ThemedInput.vue index c8c6b3a6..d889efb4 100644 --- a/components/ThemedInput.vue +++ b/components/ThemedInput.vue @@ -1,77 +1,49 @@ \ No newline at end of file +import { Input, Checkbox } from '@libretexts/davis-vue'; +defineEmits(['update:modelValue']); +withDefaults( + defineProps<{ + id: string; + label?: string; + placeholder?: string; + instructions?: string; + modelValue?: string | boolean; + type?: string; + required?: boolean; + }>(), + { + id: '', + label: '', + placeholder: '', + instructions: '', + modelValue: '', + type: 'text', + required: false, + }, +); + diff --git a/components/ThemedModal.vue b/components/ThemedModal.vue index c128461a..1005db46 100644 --- a/components/ThemedModal.vue +++ b/components/ThemedModal.vue @@ -1,33 +1,22 @@ diff --git a/components/ThemedSelectInput.vue b/components/ThemedSelectInput.vue index 8c755038..8b2b6a6e 100644 --- a/components/ThemedSelectInput.vue +++ b/components/ThemedSelectInput.vue @@ -1,51 +1,44 @@