Skip to content

Commit 577c3d8

Browse files
larbishfarnabaz
andauthored
chore: remove ui pro occurences (#3557)
--------- Co-authored-by: Farnabaz <[email protected]>
1 parent 1c24006 commit 577c3d8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1823
-2777
lines changed

docs/app/app.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ export default defineAppConfig({
1010
secondary: 'sky',
1111
neutral: 'slate',
1212
},
13-
},
14-
uiPro: {
1513
pageHero: {
1614
slots: {
1715
title: 'font-semibold sm:text-6xl',

docs/app/app.vue

Lines changed: 0 additions & 73 deletions
This file was deleted.

docs/app/assets/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import "tailwindcss";
2-
@import "@nuxt/ui-pro";
2+
@import "@nuxt/ui";
33

44
@source "../../../content/**/*";
55
@source "../../../node_modules/docus/app/**/*";

docs/app/components/NuxtUILogo.vue

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<template>
2+
<svg
3+
width="1020"
4+
height="200"
5+
viewBox="0 0 1020 200"
6+
fill="none"
7+
xmlns="http://www.w3.org/2000/svg"
8+
>
9+
<path
10+
d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z"
11+
fill="currentColor"
12+
/>
13+
<path
14+
d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z"
15+
fill="currentColor"
16+
/>
17+
<path
18+
d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z"
19+
fill="currentColor"
20+
/>
21+
<path
22+
d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z"
23+
fill="currentColor"
24+
/>
25+
<path
26+
d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z"
27+
fill="var(--ui-primary)"
28+
/>
29+
<path
30+
d="M958 60.0001H938C933.524 60.0001 929.926 59.9395 927 63C924.074 65.8905 925 67.5792 925 72V141C925 151.372 923.648 156.899 919 162C914.352 166.931 908.468 169 899 169C889.705 169 882.648 166.931 878 162C873.352 156.899 873 151.372 873 141V72.0001C873 67.5793 872.926 65.8906 870 63.0001C867.074 59.9396 863.476 60.0001 859 60.0001H840V141C840 159.023 845.016 173.458 855 184C865.156 194.542 879.893 200 899 200C918.107 200 932.844 194.542 943 184C953.156 173.458 958 159.023 958 141V60.0001Z"
31+
fill="var(--ui-primary)"
32+
/>
33+
<path
34+
fill-rule="evenodd"
35+
clip-rule="evenodd"
36+
d="M1000 60.0233L1020 60V77L1020 128V156.007L1020 181L1020 189.004C1020 192.938 1019.98 194.429 1017 197.001C1014.02 199.725 1009.56 200 1005 200H986.001V181.006L986 130.012V70.0215C986 66.1576 986.016 64.5494 989 62.023C991.819 59.6358 995.437 60.0233 1000 60.0233Z"
37+
fill="var(--ui-primary)"
38+
/>
39+
</svg>
40+
</template>

docs/app/pages/templates/[slug].vue

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ useSeoMeta({
1616
twitterImage: template.value?.mainScreen ? `${siteConfig.url}/${template.value?.mainScreen}` : `${siteConfig.url}/social.png`,
1717
})
1818
19-
const isNuxtUIProTemplate = computed(() => template.value?.licenseType === 'nuxt-ui-pro')
19+
const isNuxtUITemplate = computed(() => template.value?.licenseType === 'nuxt-ui')
2020
2121
const images = computed(() => template.value
2222
? [
@@ -64,12 +64,9 @@ const images = computed(() => template.value
6464
<span class="text-gray-500 dark:text-gray-400">
6565
By
6666
</span>
67-
<UColorModeImage
68-
v-if="isNuxtUIProTemplate"
69-
:light="`/nuxt-ui-pro-light.svg`"
70-
:dark="`/nuxt-ui-pro-dark.svg`"
71-
alt="nuxt ui pro templates"
72-
class="h-6"
67+
<NuxtUILogo
68+
v-if="isNuxtUITemplate"
69+
class="h-6 w-auto flex"
7370
/>
7471
<span
7572
v-else

docs/app/utils/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export const TEMPLATE_BADGES = {
77
color: 'secondary' as const,
88
label: 'Free',
99
},
10-
'nuxt-ui-pro': {
10+
'nuxt-ui': {
1111
color: 'primary' as const,
12-
label: 'Nuxt UI Pro',
12+
label: 'Nuxt UI',
1313
},
1414
}

docs/content.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export default defineContentConfig({
3535
}),
3636
}),
3737
plans: z.object({
38-
solo: property(z.object({})).inherit('@nuxt/ui-pro/runtime/components/PricingPlan.vue'),
39-
team: property(z.object({})).inherit('@nuxt/ui-pro/runtime/components/PricingPlan.vue'),
40-
unlimited: property(z.object({})).inherit('@nuxt/ui-pro/runtime/components/PricingPlan.vue'),
38+
solo: property(z.object({})),
39+
team: property(z.object({})),
40+
unlimited: property(z.object({})),
4141
}),
4242
features: z.object({
4343
title: z.string(),
@@ -111,7 +111,7 @@ export default defineContentConfig({
111111
branch: z.string(),
112112
category: z.enum(['docs', 'blog', 'minimal', 'saas']),
113113
demo: z.string(),
114-
licenseType: z.enum(['nuxt-ui-pro', 'free']),
114+
licenseType: z.enum(['nuxt-ui', 'free']),
115115
mainScreen: property(z.string()).editor({ input: 'media' }),
116116
name: z.string(),
117117
owner: z.string(),

docs/content/docs/8.advanced/1.fulltext-search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description: Implement full-text search in your website using Nuxt Content
55

66
Content module exposes a handy utility [`queryCollectionSearchSections`](/docs/utils/query-collection-search-sections) to break down content files into searchable sections. This is useful for implementing full-text search in your website. You can use the result of this utility in combination with [Nuxt UI Content Search](https://ui.nuxt.com/pro/components/content-search) or other search libraries like [Fuse.js](https://fusejs.io/), [minisearch](https://lucaong.github.io/minisearch), etc.
77

8-
## Nuxt UI Pro
8+
## Nuxt UI
99

10-
Nuxt UI Pro provides a ready to use component for full-text search. You can use it by passing the result of `queryCollectionSearchSections` to the `files` prop of the component.
10+
Nuxt UI provides a ready to use component for full-text search. You can use it by passing the result of `queryCollectionSearchSections` to the `files` prop of the component.
1111

1212
Read more about [Nuxt UI Content Search](https://ui.nuxt.com/pro/components/content-search).
1313

docs/content/docs/9.studio/5.config.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default defineNuxtSchema({
131131
gray: field({ ... }),
132132
icons: group({
133133
title: 'Icons',
134-
description: 'Manage icons used in UI Pro.',
134+
description: 'Manage icons used in UI.',
135135
icon: 'i-mdi-application-settings-outline',
136136
fields: {
137137
search: field({ ...}),
@@ -151,7 +151,3 @@ export default defineNuxtSchema({
151151
::tip{to="/docs/studio/debug"}
152152
Take a look at this section to validate your schema in local development.
153153
::
154-
155-
::tip{to="https://github.com/nuxt-ui-pro/docs/blob/main/nuxt.schema.ts"}
156-
For a practical example, take a look at the schema we've developed for the UI Pro Docs starter.
157-
::

docs/content/templates/docs.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,25 @@ category: docs
88
createdAt: 2023-11-15T17:41:03.087Z
99
demo: https://v3.docs-template-3erl.pages.dev/
1010
description: Create your documentation in seconds with this template.
11-
licenseType: nuxt-ui-pro
12-
mainScreen: /templates/docs.jpg
11+
licenseType: nuxt-ui
12+
mainScreen: /templates/docs-dark.png
1313
name: docs
14-
owner: nuxt-ui-pro
15-
image1: /templates/docs-1.webp
16-
image2: /templates/docs-2.webp
17-
image3: /templates/docs-3.webp
14+
owner: nuxt-ui-templates
15+
image1: /templates/docs-light.png
16+
image2: /templates/docs-dark.png
1817
---
1918

2019
::template-core
21-
[Nuxt UI Pro](https://ui.nuxt.com/pro) is a collection of premium components, an extension of [Nuxt UI](https://ui.nuxt.com), designed to facilitate the creation of appealing and responsive Nuxt applications in a matter of minutes.
20+
[Nuxt UI](https://ui.nuxt.com) is a collection of premium components designed to facilitate the creation of appealing and responsive Nuxt applications in a matter of minutes.
2221

2322
The Nuxt UI team is dedicated to deliver the best integration and customization experience, while the Studio team is providing full compatibility with Nuxt Studio.
2423

2524
- **Fully customizable**: change the style of any component from your App Config or customize them specifically through the ui prop.
26-
- **Write Markdown with ease**: Nuxt UI Pro overrides Nuxt Content prose components to make them awesome but also adds new ones like Callout, CodeGroup, Field, etc.
25+
- **Write Markdown with ease**: Nuxt UI overrides Nuxt Content prose components to make them awesome but also adds new ones like Callout, CodeGroup, Field, etc.
2726
- **Beautiful Typography styles**: Tailwind CSS typography plugin is pre-configured and styled to match Nuxt UI components and colors.
28-
- **Full-Text Search out of the box**: Nuxt UI Pro ships with a ready to use command palette component. No need to setup Algolia DocSearch anymore.
27+
- **Full-Text Search out of the box**: Nuxt UI ships with a ready to use command palette component. No need to setup Algolia DocSearch anymore.
2928
- **Slots for everything**: Each component leverages the power of Vue's slots to give you the flexibility to build anything.
30-
- **Responsive by design**: Nuxt UI Pro components aims to structure your content, they are responsive by design and will adapt to any screen size.
29+
- **Responsive by design**: Nuxt UI components aims to structure your content, they are responsive by design and will adapt to any screen size.
3130

3231
#right
3332
:::template-features

0 commit comments

Comments
 (0)