diff --git a/packages/esprit-design/package.json b/packages/esprit-design/package.json index 243c5fbd..85bb4652 100644 --- a/packages/esprit-design/package.json +++ b/packages/esprit-design/package.json @@ -15,7 +15,8 @@ "require": "./dist/esprit-design.umd.cjs" }, "./style.css": "./dist/style.css", - "./tailwind.config.js": "./tailwind.config.js" + "./tailwind.config": "./tailwind.config.js", + "./src/": "./src/" }, "scripts": { "dev": "vite", diff --git a/packages/nuxt-design-system/assets/css/esprit-design.css b/packages/nuxt-design-system/assets/css/esprit-design.css deleted file mode 100644 index 3ab5d0c5..00000000 --- a/packages/nuxt-design-system/assets/css/esprit-design.css +++ /dev/null @@ -1 +0,0 @@ -@import '@d0rich/esprit-design/style.css'; diff --git a/packages/nuxt-design-system/components/content/Alert.vue b/packages/nuxt-design-system/components/content/Alert.vue index 594403d6..82d1702a 100644 --- a/packages/nuxt-design-system/components/content/Alert.vue +++ b/packages/nuxt-design-system/components/content/Alert.vue @@ -1,5 +1,5 @@ diff --git a/packages/nuxt-design-system/components/content/Chip.vue b/packages/nuxt-design-system/components/content/Chip.vue index 7354bca2..df01e00f 100644 --- a/packages/nuxt-design-system/components/content/Chip.vue +++ b/packages/nuxt-design-system/components/content/Chip.vue @@ -1,5 +1,5 @@ diff --git a/packages/nuxt-design-system/components/content/ProseBlockquote.vue b/packages/nuxt-design-system/components/content/ProseBlockquote.vue index 6bac008e..3032308e 100644 --- a/packages/nuxt-design-system/components/content/ProseBlockquote.vue +++ b/packages/nuxt-design-system/components/content/ProseBlockquote.vue @@ -1,5 +1,5 @@ diff --git a/packages/nuxt-design-system/components/d/Btn.vue b/packages/nuxt-design-system/components/d/Btn.vue index eeaae68c..76f6490f 100644 --- a/packages/nuxt-design-system/components/d/Btn.vue +++ b/packages/nuxt-design-system/components/d/Btn.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/Chip.vue b/packages/nuxt-design-system/components/d/Chip.vue index 6da95e69..72f2da00 100644 --- a/packages/nuxt-design-system/components/d/Chip.vue +++ b/packages/nuxt-design-system/components/d/Chip.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/Pagination.vue b/packages/nuxt-design-system/components/d/Pagination.vue index 7d06c40e..6b7e886c 100644 --- a/packages/nuxt-design-system/components/d/Pagination.vue +++ b/packages/nuxt-design-system/components/d/Pagination.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/Stats.vue b/packages/nuxt-design-system/components/d/Stats.vue index a8fcf0d3..59dbfe26 100644 --- a/packages/nuxt-design-system/components/d/Stats.vue +++ b/packages/nuxt-design-system/components/d/Stats.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/actions/Fan.vue b/packages/nuxt-design-system/components/d/actions/Fan.vue index 2bcf8994..51c5e026 100644 --- a/packages/nuxt-design-system/components/d/actions/Fan.vue +++ b/packages/nuxt-design-system/components/d/actions/Fan.vue @@ -1,5 +1,5 @@ diff --git a/packages/nuxt-design-system/components/d/actions/List.vue b/packages/nuxt-design-system/components/d/actions/List.vue index f41e667b..8bed482e 100644 --- a/packages/nuxt-design-system/components/d/actions/List.vue +++ b/packages/nuxt-design-system/components/d/actions/List.vue @@ -1,5 +1,5 @@ diff --git a/packages/nuxt-design-system/components/d/actions/index.ts b/packages/nuxt-design-system/components/d/actions/index.ts index 3041f5e3..6acae789 100644 --- a/packages/nuxt-design-system/components/d/actions/index.ts +++ b/packages/nuxt-design-system/components/d/actions/index.ts @@ -1 +1,4 @@ -export type { ActionFanItem, ActionListItem } from '@d0rich/esprit-design' +export type { + ActionFanItem, + ActionListItem +} from '@d0rich/esprit-design/src/components/lists' diff --git a/packages/nuxt-design-system/components/d/animation/Accordion.vue b/packages/nuxt-design-system/components/d/animation/Accordion.vue index 603400be..35f08edc 100644 --- a/packages/nuxt-design-system/components/d/animation/Accordion.vue +++ b/packages/nuxt-design-system/components/d/animation/Accordion.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/animation/FloatingLetter.vue b/packages/nuxt-design-system/components/d/animation/FloatingLetter.vue index a6d495d1..bc01bc41 100644 --- a/packages/nuxt-design-system/components/d/animation/FloatingLetter.vue +++ b/packages/nuxt-design-system/components/d/animation/FloatingLetter.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/animation/Hypnosis.vue b/packages/nuxt-design-system/components/d/animation/Hypnosis.vue index b53e883f..9f89bac1 100644 --- a/packages/nuxt-design-system/components/d/animation/Hypnosis.vue +++ b/packages/nuxt-design-system/components/d/animation/Hypnosis.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/animation/Spinner.vue b/packages/nuxt-design-system/components/d/animation/Spinner.vue index 184b7735..f0f7cbc3 100644 --- a/packages/nuxt-design-system/components/d/animation/Spinner.vue +++ b/packages/nuxt-design-system/components/d/animation/Spinner.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/big-bang-button/Animation.vue b/packages/nuxt-design-system/components/d/big-bang-button/Animation.vue index c5e3574c..b8b8d464 100644 --- a/packages/nuxt-design-system/components/d/big-bang-button/Animation.vue +++ b/packages/nuxt-design-system/components/d/big-bang-button/Animation.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/big-bang-button/Index.vue b/packages/nuxt-design-system/components/d/big-bang-button/Index.vue index e94ae77b..36a74abe 100644 --- a/packages/nuxt-design-system/components/d/big-bang-button/Index.vue +++ b/packages/nuxt-design-system/components/d/big-bang-button/Index.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/card/Index.vue b/packages/nuxt-design-system/components/d/card/Index.vue index 97a6d134..ae3eabb5 100644 --- a/packages/nuxt-design-system/components/d/card/Index.vue +++ b/packages/nuxt-design-system/components/d/card/Index.vue @@ -1,5 +1,5 @@ diff --git a/packages/nuxt-design-system/components/d/card/Title.vue b/packages/nuxt-design-system/components/d/card/Title.vue index 3cffe4c7..a60f2497 100644 --- a/packages/nuxt-design-system/components/d/card/Title.vue +++ b/packages/nuxt-design-system/components/d/card/Title.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/wrap/Background.vue b/packages/nuxt-design-system/components/d/wrap/Background.vue index 034a13b0..87993fad 100644 --- a/packages/nuxt-design-system/components/d/wrap/Background.vue +++ b/packages/nuxt-design-system/components/d/wrap/Background.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/wrap/FocusHighlight.vue b/packages/nuxt-design-system/components/d/wrap/FocusHighlight.vue index 6c9d2349..66123201 100644 --- a/packages/nuxt-design-system/components/d/wrap/FocusHighlight.vue +++ b/packages/nuxt-design-system/components/d/wrap/FocusHighlight.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/wrap/Shape.vue b/packages/nuxt-design-system/components/d/wrap/Shape.vue index 45f74995..9e169328 100644 --- a/packages/nuxt-design-system/components/d/wrap/Shape.vue +++ b/packages/nuxt-design-system/components/d/wrap/Shape.vue @@ -1,4 +1,4 @@ diff --git a/packages/nuxt-design-system/components/d/wrap/index.ts b/packages/nuxt-design-system/components/d/wrap/index.ts index bd7eae85..35a96d71 100644 --- a/packages/nuxt-design-system/components/d/wrap/index.ts +++ b/packages/nuxt-design-system/components/d/wrap/index.ts @@ -1 +1 @@ -export type { HighlightVariant } from '@d0rich/esprit-design' +export type { HighlightVariant } from '@d0rich/esprit-design/src/components/utils' diff --git a/packages/nuxt-design-system/composables/esprit-design-composables.ts b/packages/nuxt-design-system/composables/esprit-design-composables.ts index 2d510074..16ebfa1f 100644 --- a/packages/nuxt-design-system/composables/esprit-design-composables.ts +++ b/packages/nuxt-design-system/composables/esprit-design-composables.ts @@ -1,6 +1,6 @@ import { useDBigBangButtonUtils, useDPaginationUtils -} from '@d0rich/esprit-design' +} from '@d0rich/esprit-design/src/composables/index' export { useDBigBangButtonUtils, useDPaginationUtils } diff --git a/packages/nuxt-design-system/nuxt.config.ts b/packages/nuxt-design-system/nuxt.config.ts index 95c4cd14..2c043f2a 100644 --- a/packages/nuxt-design-system/nuxt.config.ts +++ b/packages/nuxt-design-system/nuxt.config.ts @@ -4,7 +4,6 @@ import { dirname, join } from 'path' const currentDir = dirname(fileURLToPath(import.meta.url)) export default defineNuxtConfig({ - css: [join(currentDir, './assets/css/esprit-design.css')], build: { transpile: ['gsap', 'consola'] }, diff --git a/packages/nuxt-design-system/tailwind.config.js b/packages/nuxt-design-system/tailwind.config.js index 8dcdde70..b83b0048 100644 --- a/packages/nuxt-design-system/tailwind.config.js +++ b/packages/nuxt-design-system/tailwind.config.js @@ -1,6 +1,6 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - presets: [require('@d0rich/esprit-design/tailwind.config.js')], + presets: [require('@d0rich/esprit-design/tailwind.config')], plugins: [ require('@tailwindcss/typography'), require('./plugins/tailwind/nuxt-typography') diff --git a/packages/nuxt-design-system/utils/esprit-design-utils.ts b/packages/nuxt-design-system/utils/esprit-design-utils.ts index b059bc32..23bfc0c3 100644 --- a/packages/nuxt-design-system/utils/esprit-design-utils.ts +++ b/packages/nuxt-design-system/utils/esprit-design-utils.ts @@ -9,7 +9,7 @@ import { getAbsoluteBoundings, getAbsoluteBoundingsGetters, getLinkToPaginatedPage -} from '@d0rich/esprit-design' +} from '@d0rich/esprit-design/src/utils/index' export { applyLinePerPointAnimation, diff --git a/turbo.json b/turbo.json index 4848a900..312c706f 100644 --- a/turbo.json +++ b/turbo.json @@ -5,9 +5,6 @@ "prepare": { "outputs": [".nuxt"] }, - "@d0rich/nuxt-design-system#prepare": { - "dependsOn": ["@d0rich/esprit-design#build"] - }, "@d0rich/esprit-design#build": { "outputs": ["dist"] },