From f184b9b7c85543d2494c5a9324a277614c99f77f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20GUILLOUX?= Date: Thu, 24 Nov 2022 00:59:14 +0100 Subject: [PATCH] feat(lighten): move a lot of components to elements ; update to new tokens definition ; use elements --- .docs/content/0.index.md | 10 +- components/{content => app}/Logo.vue | 0 components/content/Alert.vue | 52 ------- components/content/Badge.vue | 52 ------- components/content/ButtonLink.vue | 80 ---------- components/content/Callout.vue | 108 ------------- components/content/CodeBlock.vue | 47 ------ components/content/CodeGroup.vue | 115 -------------- components/content/CopyButton.vue | 35 ----- components/content/Ellipsis.vue | 60 -------- components/content/List.vue | 86 ----------- components/content/NuxtImg.vue | 65 -------- components/content/Props.vue | 141 ----------------- components/content/Sandbox.vue | 96 ------------ components/content/SourceLink.vue | 21 --- components/content/TabsHeader.vue | 141 ----------------- components/content/Terminal.vue | 171 -------------------- components/content/VideoPlayer.vue | 120 --------------- components/docs/DocsAsideTree.vue | 4 +- components/docs/DocsPageContent.vue | 4 +- components/docs/DocsPrevNext.vue | 2 +- components/icons/IconCodeSandBox.vue | 5 - components/icons/IconDocus.vue | 10 -- components/icons/IconNuxt.vue | 14 -- components/icons/IconNuxtContent.vue | 20 --- components/icons/IconNuxtLabs.vue | 8 - components/icons/IconNuxtStudio.vue | 16 -- components/icons/IconStackBlitz.vue | 5 - components/icons/IconVueTelescope.vue | 8 - components/landing/BlockHero.vue | 154 ------------------ components/landing/Card.vue | 75 --------- components/landing/CardGrid.vue | 64 -------- nuxt.config.ts | 18 +-- package.json | 3 +- pnpm-lock.yaml | 32 +++- tokens.config.ts | 214 -------------------------- 36 files changed, 37 insertions(+), 2019 deletions(-) rename components/{content => app}/Logo.vue (100%) delete mode 100644 components/content/Alert.vue delete mode 100644 components/content/Badge.vue delete mode 100644 components/content/ButtonLink.vue delete mode 100644 components/content/Callout.vue delete mode 100644 components/content/CodeBlock.vue delete mode 100644 components/content/CodeGroup.vue delete mode 100644 components/content/CopyButton.vue delete mode 100644 components/content/Ellipsis.vue delete mode 100644 components/content/List.vue delete mode 100644 components/content/NuxtImg.vue delete mode 100644 components/content/Props.vue delete mode 100644 components/content/Sandbox.vue delete mode 100644 components/content/SourceLink.vue delete mode 100644 components/content/TabsHeader.vue delete mode 100644 components/content/Terminal.vue delete mode 100644 components/content/VideoPlayer.vue delete mode 100644 components/icons/IconCodeSandBox.vue delete mode 100644 components/icons/IconDocus.vue delete mode 100644 components/icons/IconNuxt.vue delete mode 100644 components/icons/IconNuxtContent.vue delete mode 100644 components/icons/IconNuxtLabs.vue delete mode 100644 components/icons/IconNuxtStudio.vue delete mode 100644 components/icons/IconStackBlitz.vue delete mode 100644 components/icons/IconVueTelescope.vue delete mode 100644 components/landing/BlockHero.vue delete mode 100644 components/landing/Card.vue delete mode 100644 components/landing/CardGrid.vue diff --git a/.docs/content/0.index.md b/.docs/content/0.index.md index 04cce97e6..afc4b14b4 100644 --- a/.docs/content/0.index.md +++ b/.docs/content/0.index.md @@ -2,7 +2,6 @@ title: Home navigation: false layout: page -fuild: true --- :ellipsis{right=0px width=75% blur=150px} @@ -27,12 +26,11 @@ Write pages in [Markdown](https://content.nuxtjs.org), use [Vue](https://vuejs.o #extra ::list - **+50 Components** ready to build rich pages - - **Article**, **Docs** and **Blog** layouts + - **Article**, **Docs** and **Page** layouts - Start from a `README`, scale to a framework documentation - - Table of contents support - - Configurable design system integration - - Replace, extend, customize any component in a breeze - - Leverages [**@nuxt-themes/typography**](https://github.com/nuxt-themes/typography) + - Navigation and Table of Contents generation + - Fully configurable [design system](https://github.com/nuxt-themes/tokens) + - Leverages [**Typography**](https://typography.nuxt.space/) and [**Elements**](https://elements.nuxt.dev) - Used on [Content Documentation](https://content.nuxtjs.org) :: :: diff --git a/components/content/Logo.vue b/components/app/Logo.vue similarity index 100% rename from components/content/Logo.vue rename to components/app/Logo.vue diff --git a/components/content/Alert.vue b/components/content/Alert.vue deleted file mode 100644 index 5dc3a8687..000000000 --- a/components/content/Alert.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/components/content/Badge.vue b/components/content/Badge.vue deleted file mode 100644 index 3943af809..000000000 --- a/components/content/Badge.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/components/content/ButtonLink.vue b/components/content/ButtonLink.vue deleted file mode 100644 index 38c8d45ce..000000000 --- a/components/content/ButtonLink.vue +++ /dev/null @@ -1,80 +0,0 @@ - - - - - diff --git a/components/content/Callout.vue b/components/content/Callout.vue deleted file mode 100644 index cb1ff96d9..000000000 --- a/components/content/Callout.vue +++ /dev/null @@ -1,108 +0,0 @@ - - - - - diff --git a/components/content/CodeBlock.vue b/components/content/CodeBlock.vue deleted file mode 100644 index 4abd17cc4..000000000 --- a/components/content/CodeBlock.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - - - diff --git a/components/content/CodeGroup.vue b/components/content/CodeGroup.vue deleted file mode 100644 index f195d1cea..000000000 --- a/components/content/CodeGroup.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - diff --git a/components/content/CopyButton.vue b/components/content/CopyButton.vue deleted file mode 100644 index 9e5bb68bb..000000000 --- a/components/content/CopyButton.vue +++ /dev/null @@ -1,35 +0,0 @@ - - - diff --git a/components/content/Ellipsis.vue b/components/content/Ellipsis.vue deleted file mode 100644 index 2e6b1164a..000000000 --- a/components/content/Ellipsis.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - diff --git a/components/content/List.vue b/components/content/List.vue deleted file mode 100644 index 63d390220..000000000 --- a/components/content/List.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/components/content/NuxtImg.vue b/components/content/NuxtImg.vue deleted file mode 100644 index a8c299f54..000000000 --- a/components/content/NuxtImg.vue +++ /dev/null @@ -1,65 +0,0 @@ - diff --git a/components/content/Props.vue b/components/content/Props.vue deleted file mode 100644 index a4a95b744..000000000 --- a/components/content/Props.vue +++ /dev/null @@ -1,141 +0,0 @@ - - - diff --git a/components/content/Sandbox.vue b/components/content/Sandbox.vue deleted file mode 100644 index 3c01e9228..000000000 --- a/components/content/Sandbox.vue +++ /dev/null @@ -1,96 +0,0 @@ - - -