Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
d0rich committed Nov 7, 2023
1 parent df50dd1 commit 296f43c
Show file tree
Hide file tree
Showing 32 changed files with 71 additions and 37 deletions.
6 changes: 5 additions & 1 deletion packages/esprit-design/src/components/DPagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import { useDPaginationUtils } from '../composables/utils'
import DBtn from './buttons/DBtn.vue'
export default {
name: 'DPagination'
name: 'DPagination',
components: {
DBtn,
Icon
}
}
</script>

Expand Down
5 changes: 4 additions & 1 deletion packages/esprit-design/src/components/DStats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import { ref, computed } from 'vue'
import { Icon } from '@iconify/vue'
export default {
name: 'DStats'
name: 'DStats',
components: {
Icon
}
}
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import DAnimationDefLetterD from './DAnimationDefLetterD.vue'
export default {
name: 'DAnimationAccordion'
name: 'DAnimationAccordion',
components: {
DAnimationDefLetterD
}
}
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import DAnimationDefLetterD from './DAnimationDefLetterD.vue'
export default {
name: 'DAnimationFloatingLetter'
name: 'DAnimationFloatingLetter',
components: {
DAnimationDefLetterD
}
}
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import DAnimationDefLetterD from './DAnimationDefLetterD.vue'
export default {
name: 'DAnimationHypnosis'
name: 'DAnimationHypnosis',
components: {
DAnimationDefLetterD
}
}
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import DAnimationDefLetterD from './DAnimationDefLetterD.vue'
export default {
name: 'DAnimationSpinner'
name: 'DAnimationSpinner',
components: {
DAnimationDefLetterD
}
}
</script>

Expand Down
5 changes: 4 additions & 1 deletion packages/esprit-design/src/components/buttons/DBtn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import type { HighlightVariant } from '../utils/index'
import DWrapFocusHighlight from '../utils/DWrapFocusHighlight.vue'
export default {
name: 'DBtn'
name: 'DBtn',
components: {
DWrapFocusHighlight
}
}
</script>

Expand Down
5 changes: 4 additions & 1 deletion packages/esprit-design/src/components/cards/DCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import DWrapShape from '../utils/DWrapShape.vue'
export default {
name: 'DCard'
name: 'DCard',
components: {
DWrapShape
}
}
</script>

Expand Down
7 changes: 4 additions & 3 deletions packages/esprit-design/src/components/cards/DCardTitle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
import DWrapShape from '../utils/DWrapShape.vue'
export default {
name: 'DCardTitle'
name: 'DCardTitle',
components: {
DWrapShape
}
}
</script>

<script setup lang="ts"></script>

<template>
<div class="card__title">
<DWrapShape
Expand Down
6 changes: 5 additions & 1 deletion packages/esprit-design/src/components/lists/DActionsFan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ export type ActionFanItem<TEmit = any> = {
}
export default {
name: 'DActionsFan'
name: 'DActionsFan',
components: {
DWrapShape,
DBtn
}
}
</script>

Expand Down
6 changes: 5 additions & 1 deletion packages/esprit-design/src/components/lists/DActionsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import DWrapFocusHighlight, {
import DWrapShape from '../utils/DWrapShape.vue'
export default {
name: 'DActionsList'
name: 'DActionsList',
components: {
DWrapFocusHighlight,
DWrapShape
}
}
export type ActionListItem<TEmit = any> = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import { computed } from 'vue'
import DWrapShape from './DWrapShape.vue'
export default {
name: 'DWrapFocusHighlight'
name: 'DWrapFocusHighlight',
components: {
DWrapShape
}
}
</script>

Expand Down
2 changes: 1 addition & 1 deletion packages/esprit-design/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve } from 'path'
import { defineConfig, splitVendorChunkPlugin } from 'vite'
import dts from "vite-plugin-dts";
import dts from 'vite-plugin-dts'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt-design-system/components/d/Btn.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DBtn} from '@d0rich/esprit-design'
import { DBtn } from '@d0rich/esprit-design'
export default DBtn
</script>
2 changes: 1 addition & 1 deletion packages/nuxt-design-system/components/d/Chip.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DChip} from '@d0rich/esprit-design'
import { DChip } from '@d0rich/esprit-design'
export default DChip
</script>
2 changes: 1 addition & 1 deletion packages/nuxt-design-system/components/d/Pagination.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DPagination} from '@d0rich/esprit-design'
import { DPagination } from '@d0rich/esprit-design'
export default DPagination
</script>
2 changes: 1 addition & 1 deletion packages/nuxt-design-system/components/d/Stats.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DStats} from '@d0rich/esprit-design'
import { DStats } from '@d0rich/esprit-design'
export default DStats
</script>
2 changes: 1 addition & 1 deletion packages/nuxt-design-system/components/d/actions/Fan.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import {DActionsFan} from '@d0rich/esprit-design'
import { DActionsFan } from '@d0rich/esprit-design'
export default DActionsFan
</script>
2 changes: 1 addition & 1 deletion packages/nuxt-design-system/components/d/actions/List.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import {DActionsList} from '@d0rich/esprit-design'
import { DActionsList } from '@d0rich/esprit-design'
export default DActionsList
</script>
5 changes: 1 addition & 4 deletions packages/nuxt-design-system/components/d/actions/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
export type {
ActionFanItem,
ActionListItem
} from '@d0rich/esprit-design'
export type { ActionFanItem, ActionListItem } from '@d0rich/esprit-design'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DAnimationAccordion} from '@d0rich/esprit-design'
import { DAnimationAccordion } from '@d0rich/esprit-design'
export default DAnimationAccordion
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DAnimationFloatingLetter} from '@d0rich/esprit-design'
import { DAnimationFloatingLetter } from '@d0rich/esprit-design'
export default DAnimationFloatingLetter
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DAnimationHypnosis} from '@d0rich/esprit-design'
import { DAnimationHypnosis } from '@d0rich/esprit-design'
export default DAnimationHypnosis
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DAnimationSpinner} from '@d0rich/esprit-design'
import { DAnimationSpinner } from '@d0rich/esprit-design'
export default DAnimationSpinner
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DBigBangButtonAnimation} from '@d0rich/esprit-design'
import { DBigBangButtonAnimation } from '@d0rich/esprit-design'
export default DBigBangButtonAnimation
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DBigBangButton} from '@d0rich/esprit-design'
import { DBigBangButton } from '@d0rich/esprit-design'
export default DBigBangButton
</script>
2 changes: 1 addition & 1 deletion packages/nuxt-design-system/components/d/card/Index.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DCard} from '@d0rich/esprit-design'
import { DCard } from '@d0rich/esprit-design'
export default DCard
</script>
2 changes: 1 addition & 1 deletion packages/nuxt-design-system/components/d/card/Title.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DCardTitle} from '@d0rich/esprit-design'
import { DCardTitle } from '@d0rich/esprit-design'
export default DCardTitle
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DWrapBackground} from '@d0rich/esprit-design'
import { DWrapBackground } from '@d0rich/esprit-design'
export default DWrapBackground
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DWrapFocusHighlight} from '@d0rich/esprit-design'
import { DWrapFocusHighlight } from '@d0rich/esprit-design'
export default DWrapFocusHighlight
</script>
2 changes: 1 addition & 1 deletion packages/nuxt-design-system/components/d/wrap/Shape.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script lang="ts">
import {DWrapShape} from '@d0rich/esprit-design'
import { DWrapShape } from '@d0rich/esprit-design'
export default DWrapShape
</script>
2 changes: 1 addition & 1 deletion packages/nuxt-design-system/components/d/wrap/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { type HighlightVariant } from '@d0rich/esprit-design'
export type { HighlightVariant } from '@d0rich/esprit-design'

0 comments on commit 296f43c

Please sign in to comment.