Skip to content

Commit

Permalink
Replace primefaces.org/primereact with primereact.org
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Feb 13, 2023
1 parent 61b4294 commit 89c95e1
Show file tree
Hide file tree
Showing 103 changed files with 301 additions and 306 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
contact_links:
- name: Support
url: https://www.primefaces.org/primereact/support/
url: https://www.primereact.org/support/
about: Professional support for the open source innovation.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
[![Discord Chat](https://img.shields.io/discord/557940238991753223.svg?color=7289da&label=chat&logo=discord)](https://discord.gg/gzKFYnpmCY)
[![Stackoverflow](https://img.shields.io/badge/StackOverflow-primereact-chocolate.svg)](https://stackoverflow.com/questions/tagged/primereact)

[![PrimeReact Hero](https://www.primefaces.org/wp-content/uploads/2021/12/primereact-release-7.jpeg)](https://www.primefaces.org/primereact)
[![PrimeReact Hero](https://www.primefaces.org/wp-content/uploads/2021/12/primereact-release-7.jpeg)](https://www.primereact.org)

# PrimeReact

PrimeReact is a rich set of open source UI Components for React. See [PrimeReact homepage](https://www.primefaces.org/primereact) for live showcase and documentation.
PrimeReact is a rich set of open source UI Components for React. See [PrimeReact homepage](https://www.primereact.org) for live showcase and documentation.

## Download

Expand Down
10 changes: 5 additions & 5 deletions components/doc/breadcrumb/basicdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,33 @@ import { DocSectionText } from '../common/docsectiontext';

export function BasicDoc(props) {
const items = [{ label: 'Computer' }, { label: 'Notebook' }, { label: 'Accessories' }, { label: 'Backpacks' }, { label: 'Item' }];
const home = { icon: 'pi pi-home', url: 'https://www.primefaces.org/primereact' };
const home = { icon: 'pi pi-home', url: 'https:///primereact' };

const code = {
basic: `
<BreadCrumb model={items} home={home} />
`,
javascript: `
import React from 'react';
import React from 'react';
import { BreadCrumb } from 'primereact/breadcrumb';
export default function BasicDemo() {
const items = [{ label: 'Computer' }, { label: 'Notebook' }, { label: 'Accessories' }, { label: 'Backpacks' }, { label: 'Item' }];
const home = { icon: 'pi pi-home', url: 'https://www.primefaces.org/primereact' }
const home = { icon: 'pi pi-home', url: 'https:///primereact' }
return (
<BreadCrumb model={items} home={home} />
)
}
`,
typescript: `
import React from 'react';
import React from 'react';
import { BreadCrumb } from 'primereact/breadcrumb';
import { MenuItem } from 'primereact/menuitem';
export default function BasicDemo() {
const items: MenuItem[] = [{ label: 'Computer' }, { label: 'Notebook' }, { label: 'Accessories' }, { label: 'Backpacks' }, { label: 'Item' }];
const home: MenuItem = { icon: 'pi pi-home', url: 'https://www.primefaces.org/primereact' }
const home: MenuItem = { icon: 'pi pi-home', url: 'https:///primereact' }
return (
<BreadCrumb model={items} home={home} />
Expand Down
12 changes: 6 additions & 6 deletions components/doc/breadcrumb/templatedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ export function TemplateDoc(props) {
{ icon: 'pi pi-calculator', template: iconItemTemplate }
];

const home = { icon: 'pi pi-home', url: 'https://www.primefaces.org/primereact' };
const home = { icon: 'pi pi-home', url: 'https://www.primereact.org' };

const code = {
basic: `
<BreadCrumb model={items} home={home} />
`,
javascript: `
import React from 'react';
import React from 'react';
import { BreadCrumb } from 'primereact/breadcrumb';
export default function TemplateDemo() {
Expand All @@ -46,15 +46,15 @@ export default function TemplateDemo() {
{ icon: 'pi pi-calculator', template: iconItemTemplate }
];
const home = { icon: 'pi pi-home', url: 'https://www.primefaces.org/primereact' };
const home = { icon: 'pi pi-home', url: 'https://www.primereact.org' };
return (
<BreadCrumb model={items} home={home} />
)
}
`,
typescript: `
import React from 'react';
import React from 'react';
import { BreadCrumb } from 'primereact/breadcrumb';
import { MenuItem } from 'primereact/menuitem';
Expand All @@ -75,8 +75,8 @@ export default function TemplateDoc() {
{ icon: 'pi pi-calculator', template: iconItemTemplate }
];
const home: MenuItem = { icon: 'pi pi-home', url: 'https://www.primefaces.org/primereact' };
const home: MenuItem = { icon: 'pi pi-home', url: 'https://www.primereact.org' };
return (
<BreadCrumb model={items} home={home} />
)
Expand Down
190 changes: 95 additions & 95 deletions components/doc/common/apidoc/index.json

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions components/layout/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -439,11 +439,6 @@
}
]
},
{
"name": "Component API",
"icon": "pi pi-list",
"href": "https://primefaces.github.io/primereact"
},
{
"name": "Theming",
"icon": "pi pi-palette",
Expand Down
4 changes: 2 additions & 2 deletions components/lib/accordion/accordion.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Accordion groups a collection of contents in tabs.
*
* [Live Demo](https://www.primefaces.org/primereact/accordion/)
* [Live Demo](https://www.primereact.org/accordion/)
*
* Helper Components:
*
Expand Down Expand Up @@ -172,7 +172,7 @@ export interface AccordionProps extends Omit<React.DetailedHTMLProps<React.HTMLA
*
* _Accordion groups a collection of contents in tabs._
*
* [Live Demo](https://www.primefaces.org/primereact/accordion/)
* [Live Demo](https://www.primereact.org/accordion/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/autocomplete/autocomplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* AutoComplete is an input component that provides real-time suggestions while being typed.
*
* [Live Demo](https://www.primefaces.org/primereact/autocomplete/)
* [Live Demo](https://www.primereact.org/autocomplete/)
*
* @module autocomplete
*
Expand Down Expand Up @@ -378,7 +378,7 @@ export interface AutoCompleteProps extends Omit<React.DetailedHTMLProps<React.HT
*
* _AutoComplete is an input component that provides real-time suggestions while being typed._
*
* [Live Demo](https://www.primefaces.org/primereact/autocomplete/)
* [Live Demo](https://www.primereact.org/autocomplete/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/avatar/avatar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Avatar represents people using icons, labels and images.
*
* [Live Demo](https://www.primefaces.org/primereact/avatar)
* [Live Demo](https://www.primereact.org/avatar)
*
* @module avatar
*
Expand Down Expand Up @@ -73,7 +73,7 @@ export interface AvatarProps extends Omit<React.DetailedHTMLProps<React.HTMLAttr
*
* _Avatar represents people using icons, labels and images._
*
* [Live Demo](https://www.primefaces.org/primereact/avatar/)
* [Live Demo](https://www.primereact.org/avatar/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/avatargroup/avatargroup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* A set of Avatars can be displayed together using the AvatarGroup component.
*
* [Live Demo](https://www.primefaces.org/primereact/avatar/)
* [Live Demo](https://www.primereact.org/avatar/)
*
* @module avatargroup
*
Expand All @@ -26,7 +26,7 @@ export interface AvatarGroupProps extends Omit<React.DetailedHTMLProps<React.HTM
*
* _A set of Avatars can be displayed together using the AvatarGroup component._
*
* [Live Demo](https://www.primefaces.org/primereact/avatargroup/)
* [Live Demo](https://www.primereact.org/avatargroup/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/badge/badge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Badge represents people using icons, labels and images.
*
* [Live Demo](https://www.primefaces.org/primereact/badge)
* [Live Demo](https://www.primereact.org/badge)
*
* @module badge
*
Expand Down Expand Up @@ -41,7 +41,7 @@ export interface BadgeProps extends Omit<React.DetailedHTMLProps<React.HTMLAttri
*
* _Badge represents people using icons, labels and images._
*
* [Live Demo](https://www.primefaces.org/primereact/badge/)
* [Live Demo](https://www.primereact.org/badge/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/blockui/blockui.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* BlockUI represents people using icons, labels and images.
*
* [Live Demo](https://www.primefaces.org/primereact/blockui)
* [Live Demo](https://www.primereact.org/blockui)
*
* @module blockui
*
Expand Down Expand Up @@ -66,7 +66,7 @@ export interface BlockUIProps extends Omit<React.DetailedHTMLProps<React.HTMLAtt
*
* _BlockUI represents people using icons, labels and images._
*
* [Live Demo](https://www.primefaces.org/primereact/blockui/)
* [Live Demo](https://www.primereact.org/blockui/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/breadcrumb/breadcrumb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Breadcrumb provides contextual information about page hierarchy.
*
* [Live Demo](https://www.primefaces.org/primereact/breadcrumb/)
* [Live Demo](https://www.primereact.org/breadcrumb/)
*
* @module breadcrumb
*
Expand Down Expand Up @@ -35,7 +35,7 @@ export interface BreadCrumbProps extends Omit<React.DetailedHTMLProps<React.HTML
*
* _Breadcrumb provides contextual information about page hierarchy._
*
* [Live Demo](https://www.primefaces.org/primereact/breadcrumb/)
* [Live Demo](https://www.primereact.org/breadcrumb/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/button/button.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Button is an extension to standard button element with icons and theming.
*
* [Live Demo](https://www.primefaces.org/primereact/button/)
* [Live Demo](https://www.primereact.org/button/)
*
* @module button
*
Expand Down Expand Up @@ -76,7 +76,7 @@ export interface ButtonProps extends Omit<React.DetailedHTMLProps<React.ButtonHT
*
* _Button is an extension to standard button element with icons and theming._
*
* [Live Demo](https://www.primefaces.org/primereact/button/)
* [Live Demo](https://www.primereact.org/button/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/calendar/calendar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Calendar also known as DatePicker, is a form component to work with dates.
*
* [Live Demo](https://www.primefaces.org/primereact/calendar/)
* [Live Demo](https://www.primereact.org/calendar/)
*
* @module calendar
*
Expand Down Expand Up @@ -593,7 +593,7 @@ export interface CalendarProps {
*
* _Calendar also known as DatePicker, is a form component to work with dates._
*
* [Live Demo](https://www.primefaces.org/primereact/calendar/)
* [Live Demo](https://www.primereact.org/calendar/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/card/card.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Card is a flexible container component.
*
* [Live Demo](https://www.primefaces.org/primereact/card/)
* [Live Demo](https://www.primereact.org/card/)
*
* @module card
*
Expand Down Expand Up @@ -42,7 +42,7 @@ export interface CardProps extends Omit<React.DetailedHTMLProps<React.HTMLAttrib
*
* _Card is a flexible container component._
*
* [Live Demo](https://www.primefaces.org/primereact/card/)
* [Live Demo](https://www.primereact.org/card/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/carousel/carousel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Carousel is a content slider featuring various customization options.
*
* [Live Demo](https://www.primefaces.org/primereact/carousel)
* [Live Demo](https://www.primereact.org/carousel)
*
* @module carousel
*
Expand Down Expand Up @@ -139,7 +139,7 @@ export interface CarouselProps extends Omit<React.DetailedHTMLProps<React.HTMLAt
*
* _Carousel is a content slider featuring various customization options._
*
* [Live Demo](https://www.primefaces.org/primereact/carousel/)
* [Live Demo](https://www.primereact.org/carousel/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/cascadeselect/cascadeselect.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* CascadeSelect is a form component to select a value from a nested structure of options.
*
* [Live Demo](https://www.primefaces.org/primereact/cascadeselect/)
* [Live Demo](https://www.primereact.org/cascadeselect/)
*
* @module cascadeselect
*
Expand Down Expand Up @@ -166,7 +166,7 @@ export interface CascadeSelectProps extends Omit<React.DetailedHTMLProps<React.I
*
* _CascadeSelect is a form component to select a value from a nested structure of options._
*
* [Live Demo](https://www.primefaces.org/primereact/cascadeselect/)
* [Live Demo](https://www.primereact.org/cascadeselect/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/chart/chart.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Chart components are based on Chart.js, an open source HTML5 based charting library.
*
* [Live Demo](https://www.primefaces.org/primereact/chart)
* [Live Demo](https://www.primereact.org/chart)
*
* @module chart
*
Expand Down Expand Up @@ -62,7 +62,7 @@ export interface ChartProps {
*
* _Chart components are based on Chart.js, an open source HTML5 based charting library._
*
* [Live Demo](https://www.primefaces.org/primereact/chart/)
* [Live Demo](https://www.primereact.org/chart/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/checkbox/checkbox.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Checkbox is an extension to standard checkbox element with skinning capabilities.
*
* [Live Demo](https://www.primefaces.org/primereact/checkbox/)
* [Live Demo](https://www.primereact.org/checkbox/)
*
* @module checkbox
*
Expand Down Expand Up @@ -129,7 +129,7 @@ export interface CheckboxProps extends Omit<React.DetailedHTMLProps<React.InputH
*
* _Checkbox is an extension to standard checkbox element with skinning capabilities._
*
* [Live Demo](https://www.primefaces.org/primereact/checkbox/)
* [Live Demo](https://www.primereact.org/checkbox/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
4 changes: 2 additions & 2 deletions components/lib/chip/chip.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Chip represents people using icons, labels and images.
*
* [Live Demo](https://www.primefaces.org/primereact/chip)
* [Live Demo](https://www.primereact.org/chip)
*
* @module chip
*
Expand Down Expand Up @@ -72,7 +72,7 @@ export interface ChipProps extends Omit<React.DetailedHTMLProps<React.HTMLAttrib
*
* _Chip represents people using icons, labels and images._
*
* [Live Demo](https://www.primefaces.org/primereact/chip/)
* [Live Demo](https://www.primereact.org/chip/)
* --- ---
* ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
*
Expand Down
Loading

0 comments on commit 89c95e1

Please sign in to comment.