Skip to content

Commit 6932c59

Browse files
committed
fix: ts errors
1 parent 6b54d61 commit 6932c59

42 files changed

Lines changed: 96 additions & 78 deletions

File tree

Some content is hidden

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

apps/showcase/assets/menu/navigation.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ export const menu = {
197197
{
198198
name: 'Styled Mode',
199199
href: '/docs/styled/theming/styled'
200-
},
201-
{
200+
}
201+
/*{
202202
name: 'Unstyled Mode',
203203
href: '/docs/styled/theming/unstyled'
204-
}
204+
}*/
205205
]
206206
},
207207
{
@@ -544,14 +544,14 @@ export const menu = {
544544
name: 'Installation',
545545
icon: 'pi pi-cloud-download',
546546
children: [
547-
{
547+
/*{
548548
name: 'Vite',
549549
href: '/docs/tailwind/installation/vite'
550550
},
551551
{
552552
name: 'Next.js',
553553
href: '/docs/tailwind/installation/nextjs'
554-
}
554+
}*/
555555
]
556556
},
557557
{

apps/showcase/demo/styled/select/select-pt.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Select } from '@primereact/ui/select';
1+
/*import { Select } from '@primereact/ui/select';
22
import * as React from 'react';
33
import { ChevronDown } from '@primeicons/react/chevron-down';
44
@@ -26,3 +26,4 @@ export default function SelectPTDemo() {
2626
</Select.Root>
2727
);
2828
}
29+
*/

apps/showcase/docs/styled/installation/nextjs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { Github } from '@primeicons/react/github';
2626
Install PrimeReact and a theme package using your favorite package manager:
2727

2828
```bash
29-
npm install primereact@11.0.0-alpha.1 @primeuix/themes
29+
npm install primereact@11.0.0-alpha.10 @primeuix/themes
3030
```
3131

3232
</DocStep>

apps/showcase/docs/styled/installation/vite.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { Github } from '@primeicons/react/github';
2626
Install PrimeReact and a theme package using your favorite package manager:
2727

2828
```bash
29-
npm install primereact@11.0.0-alpha.1 @primeuix/themes
29+
npm install primereact@11.0.0-alpha.10 @primeuix/themes
3030
```
3131

3232
</DocStep>

apps/showcase/docs/tailwind/installation/nextjs.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: Setting up PrimeReact in a Next.js project.
55

66
## Working Example
77

8+
import { Github } from '@primeicons/react/github';
9+
810
<DocLinkCard href='https://github.com/primefaces/primereact-examples/tree/main/nextjs-quickstart-nextgen'>
911
<span className='text-2xl font-semibold'>Quickstart your project with our PrimeReact + Next.js template</span>
1012
<div>Use this Next.js template pre-configured with PrimeReact to quickly start building your app with ready-to-use UI components and styles.</div>
@@ -24,7 +26,7 @@ description: Setting up PrimeReact in a Next.js project.
2426
Install PrimeReact and a theme package using your favorite package manager:
2527

2628
```bash
27-
npm install primereact@11.0.0-alpha.1 @primeuix/themes
29+
npm install primereact@11.0.0-alpha.10 @primeuix/themes
2830
```
2931

3032
</DocStep>

apps/showcase/docs/tailwind/installation/vite.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: Setting up PrimeReact in a Vite project.
55

66
## Working Example
77

8+
import { Github } from '@primeicons/react/github';
9+
810
<DocLinkCard href='https://github.com/primefaces/primereact-examples/tree/main/vite-quickstart-nextgen'>
911
<span className='text-2xl font-semibold'>Quickstart your project with our PrimeReact + Vite template</span>
1012
<div>Use this Vite template pre-configured with PrimeReact to quickly start building your app with ready-to-use UI components and styles.</div>
@@ -24,7 +26,7 @@ description: Setting up PrimeReact in a Vite project.
2426
Install PrimeReact and a theme package using your favorite package manager:
2527

2628
```bash
27-
npm install primereact@11.0.0-alpha.1 @primeuix/themes
29+
npm install primereact@11.0.0-alpha.10 @primeuix/themes
2830
```
2931

3032
</DocStep>

apps/showcase/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "showcase",
3-
"version": "11.0.0-alpha.8",
3+
"version": "11.0.0-alpha.10",
44
"scripts": {
55
"dev": "npm run dev:init && next dev --turbopack",
66
"dev2": "npm run dev:init && cross-env DEV_ENV=hot next dev --port 3001",

apps/showcase/public/r/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "index",
33
"type": "registry:style",
44
"dependencies": [
5-
"primereact@11.0.0-alpha.1",
5+
"primereact@11.0.0-alpha.10",
66
"@primeuix/utils",
77
"@primereact/types"
88
],

apps/showcase/registry.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"name": "index",
88
"type": "registry:style",
99
"dependencies": [
10-
"primereact@11.0.0-alpha.1",
10+
"primereact@11.0.0-alpha.10",
1111
"@primeuix/utils",
1212
"@primereact/types"
1313
],

apps/showcase/scripts/build-registry.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const items = [
2828
{
2929
name: 'index',
3030
type: 'registry:style',
31-
dependencies: ['primereact@11.0.0-alpha.1', '@primeuix/utils', '@primereact/types'],
31+
dependencies: ['primereact@11.0.0-alpha.10', '@primeuix/utils', '@primereact/types'],
3232
registryDependencies: [REGISTRY_BASE('utils')],
3333
files: [],
3434
css: {

0 commit comments

Comments
 (0)