mirror of
https://github.com/hay-kot/homebox.git
synced 2025-06-04 03:22:28 +00:00
fix: remove external dependency for icones (#805)
* change all icons to use iconify * fix minor UI elements * fix layout of table
This commit is contained in:
parent
cf166ac641
commit
f91b33db38
40 changed files with 303 additions and 183 deletions
|
@ -16,10 +16,10 @@
|
|||
class="absolute inset-y-0 right-6 flex items-center rounded-r-md px-2 focus:outline-none"
|
||||
@click="clear"
|
||||
>
|
||||
<Icon name="mdi-close" class="w-5 h-5" />
|
||||
<MdiClose class="w-5 h-5" />
|
||||
</button>
|
||||
<ComboboxButton class="absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none">
|
||||
<Icon name="mdi-chevron-down" class="w-5 h-5" />
|
||||
<MdiChevronDown class="w-5 h-5" />
|
||||
</ComboboxButton>
|
||||
<ComboboxOptions
|
||||
v-if="computedItems.length > 0"
|
||||
|
@ -49,7 +49,7 @@
|
|||
active ? 'text-primary-content' : 'bg-primary',
|
||||
]"
|
||||
>
|
||||
<Icon name="mdi-check" class="h-5 w-5" aria-hidden="true" />
|
||||
<MdiCheck class="h-5 w-5" aria-hidden="true" />
|
||||
</span>
|
||||
</slot>
|
||||
</li>
|
||||
|
@ -70,6 +70,9 @@
|
|||
ComboboxButton,
|
||||
ComboboxLabel,
|
||||
} from "@headlessui/vue";
|
||||
import MdiClose from "~icons/mdi/close";
|
||||
import MdiChevronDown from "~icons/mdi/chevron-down";
|
||||
import MdiCheck from "~icons/mdi/check";
|
||||
|
||||
type SupportValues = string | { [key: string]: any };
|
||||
|
||||
|
|
|
@ -7,12 +7,14 @@
|
|||
data-tip="Toggle Password Show"
|
||||
@click="toggle()"
|
||||
>
|
||||
<Icon name="mdi-eye" class="h-5 w-5" />
|
||||
<MdiEye name="mdi-eye" class="h-5 w-5" />
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import MdiEye from "~icons/mdi/eye";
|
||||
|
||||
type Props = {
|
||||
modelValue: string;
|
||||
placeholder?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue