Skip to content

Commit

Permalink
heroiconのバージョンアップに伴う修正
Browse files Browse the repository at this point in the history
  • Loading branch information
1nu1taichi committed Nov 15, 2023
1 parent b7d9202 commit 7f1444e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion samples/Dressca/dressca-frontend/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { ShoppingCartIcon } from '@heroicons/vue/solid';
import { ShoppingCartIcon } from '@heroicons/vue/24/solid';
import { useAuthenticationStore } from '@/stores/authentication/authentication';
const authenticationStore = useAuthenticationStore();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { computed } from 'vue';
import type { BasketItemResponse } from '@/generated/api-client/models/basket-item-response';
import { TrashIcon } from '@heroicons/vue/outline';
import { TrashIcon } from '@heroicons/vue/24/outline';
import * as yup from 'yup';
import { useField, useForm } from 'vee-validate';
import currencyHelper from '@/shared/helpers/currencyHelper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { onBeforeUnmount, onMounted, reactive } from 'vue';
import {
ChevronLeftIcon,
ChevronRightIcon,
MinusSmIcon,
} from '@heroicons/vue/solid';
MinusSmallIcon,
} from '@heroicons/vue/24/solid';
const props = defineProps<{
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand Down Expand Up @@ -118,14 +118,14 @@ onBeforeUnmount(() => {
<div class="flex justify-center">
<template v-for="index in props.items.length" :key="index">
<template v-if="index == state.currentIndex + 1">
<MinusSmIcon class="h-10 w-10 text-gray-500"></MinusSmIcon>
<MinusSmallIcon class="h-10 w-10 text-gray-500"></MinusSmallIcon>
</template>
<template v-if="index != state.currentIndex + 1">
<MinusSmIcon
<MinusSmallIcon
class="h-10 w-10 text-gray-300"
data-test="page-indicator"
@click="selectSlide(index - 1)"
></MinusSmIcon>
></MinusSmallIcon>
</template>
</template>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useField, useForm } from 'vee-validate';
import * as yup from 'yup';
import { validationItems } from '@/validation/validation-items';
import { useAuthenticationStore } from '@/stores/authentication/authentication';
import { MailIcon, KeyIcon } from '@heroicons/vue/solid';
import { EnvelopeIcon, KeyIcon } from '@heroicons/vue/24/solid';
import { useRoutingStore } from '@/stores/routing/routing';
// フォーム固有のバリデーション定義
Expand Down Expand Up @@ -34,7 +34,7 @@ const signIn = () => {
<form class="mt-8">
<div class="form-group">
<div class="flex justify-between">
<MailIcon class="h-8 w-8 text-blue-500 opacity-50" />
<EnvelopeIcon class="h-8 w-8 text-blue-500 opacity-50" />
<input
id="email"
v-model="email"
Expand Down
7 changes: 6 additions & 1 deletion samples/Dressca/dressca-frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,10 @@
{
"path": "./tsconfig.vitest.json"
}
]
],
"compilerOptions": {
"typeRoots": [
"../node_modules/@heroicons/**/*.d.ts"
]
},
}

0 comments on commit 7f1444e

Please sign in to comment.