generated from Seekra/repository-template
refactor(icons): rename Icon to UIIcon
Vue.js components should have multi-word names.
This commit is contained in:
@@ -16,7 +16,7 @@ limitations under the License.
|
||||
|
||||
<script setup>
|
||||
import { useSettingsStore } from '../stores/settingsStore';
|
||||
import Icon from '@/features/icons/components/Icon.vue';
|
||||
import UIIcon from '@/features/icons/components/UIIcon.vue';
|
||||
import { computed, ref, useId, watch } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
@@ -93,7 +93,7 @@ const apply = function apply() {
|
||||
:title="t('settings.input.done.title')"
|
||||
:aria-label="t('settings.input.done.ariaLabel')"
|
||||
>
|
||||
<Icon name="check-mark" />
|
||||
<UIIcon name="check-mark" />
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@ limitations under the License.
|
||||
|
||||
<script setup>
|
||||
import { useSettingsPage } from '../composables/useSettingsPage';
|
||||
import Icon from '@/features/icons/components/Icon.vue';
|
||||
import UIIcon from '@/features/icons/components/UIIcon.vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
const { t } = useI18n();
|
||||
@@ -46,7 +46,7 @@ const followLink = function followLink() {
|
||||
@click="followLink"
|
||||
>
|
||||
{{ props.displayName }}
|
||||
<Icon name="chevron-right" size="1em" />
|
||||
<UIIcon name="chevron-right" size="1em" />
|
||||
</button>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ limitations under the License.
|
||||
|
||||
<script setup>
|
||||
import { useSettingsStore } from '../stores/settingsStore';
|
||||
import Icon from '@/features/icons/components/Icon.vue';
|
||||
import UIIcon from '@/features/icons/components/UIIcon.vue';
|
||||
import { computed, useId } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
@@ -82,7 +82,7 @@ const labelId = useId();
|
||||
v-model="selected"
|
||||
>
|
||||
<div class="option-check-mark-wrapper">
|
||||
<Icon class="option-check-mark" name="check-mark" size="1em" />
|
||||
<UIIcon class="option-check-mark" name="check-mark" size="1em" />
|
||||
</div>
|
||||
<div class="input-label">
|
||||
{{ t(option.i18n) }}
|
||||
|
||||
Reference in New Issue
Block a user