Skip to content

Commit

Permalink
fix: remove '@' loading for global settins. Now uses '../..' instead
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnixon committed Dec 26, 2022
1 parent e0d7181 commit 9ba2f77
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/CvCheckbox/CvCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<script setup>
import { ref, toRefs } from 'vue';
import { carbonPrefix } from '@/global/settings';
import { carbonPrefix } from '../../global/settings';
import { useCheck, props as propsCvCheck } from '../../use/cvCheck';
import { useCvId, props as propsCvId } from '../../use/cvId';
Expand Down
2 changes: 1 addition & 1 deletion src/components/CvComboBox/CvComboBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ import {
nextTick,
useSlots,
} from 'vue';
import { carbonPrefix } from '@/global/settings';
import { carbonPrefix } from '../../global/settings';
import { props as propsCvId, useCvId } from '@/use/cvId';
import { WarningFilled16, Close16, ChevronDown16 } from '@carbon/icons-vue';
Expand Down
2 changes: 1 addition & 1 deletion src/components/CvContentSwitcher/CvContentSwitcher.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</template>

<script setup>
import { carbonPrefix } from '@/global/settings';
import { carbonPrefix } from '../../global/settings';
import { props as propsCvId, useCvId } from '@/use/cvId';
import { useIsLight, props as propsTheme } from '../../use/cvTheme';
import { onUnmounted, watch } from 'vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</template>

<script setup>
import { carbonPrefix } from '@/global/settings';
import { carbonPrefix } from '../../global/settings';
import CvSvg from '../CvSvg/_CvSvg';
import { computed, onMounted, watch } from 'vue';
import { props as propsCvId, useCvId } from '@/use/cvId';
Expand Down
2 changes: 1 addition & 1 deletion src/components/CvLoading/CvLoading.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<script setup>
import { ref, computed, watch, onMounted, onUnmounted } from 'vue';
import CvWrapper from '../CvWrapper/CvWrapper';
import { carbonPrefix } from '@/global/settings';
import { carbonPrefix } from '../../global/settings';
import { useCvId, props as propsCvId } from '../../use/cvId';
const props = defineProps({
Expand Down
2 changes: 1 addition & 1 deletion src/components/CvLoading/__tests__/CvLoading.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { render } from '@testing-library/vue';
import CvLoading from '../CvLoading';
import { carbonPrefix } from '@/global/settings';
import { carbonPrefix } from '../../../global/settings';

test('CvLoading - test all props and attrs', async () => {
const RADIUS_SMALL = '42';
Expand Down
2 changes: 1 addition & 1 deletion src/components/CvPagination/CvPagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
</template>

<script setup>
import { carbonPrefix } from '@/global/settings';
import { carbonPrefix } from '../../global/settings';
import { computed, nextTick, onMounted, ref } from 'vue';
import { CaretLeft16, CaretRight16 } from '@carbon/icons-vue';
import CvSelect from '../CvSelect';
Expand Down
2 changes: 1 addition & 1 deletion src/components/CvSelect/CvSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
</template>

<script setup>
import { carbonPrefix } from '@/global/settings';
import { carbonPrefix } from '../../global/settings';
import { computed, onMounted, onUpdated, ref, useSlots, watch } from 'vue';
import {
WarningFilled16 as WarningFilled,
Expand Down
2 changes: 1 addition & 1 deletion src/components/CvSelect/CvSelectOptgroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
</template>

<script setup>
import { carbonPrefix } from '@/global/settings';
import { carbonPrefix } from '../../global/settings';
</script>
2 changes: 1 addition & 1 deletion src/components/CvSelect/CvSelectOption.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</template>

<script setup>
import { carbonPrefix } from '@/global/settings';
import { carbonPrefix } from '../../global/settings';
import { computed, useAttrs } from 'vue';
const attrs = useAttrs();
const isSelected = computed(() => {
Expand Down

0 comments on commit 9ba2f77

Please sign in to comment.