Skip to content

Commit f11b0ce

Browse files
refactor: fix doc typo
1 parent a9a8e91 commit f11b0ce

9 files changed

Lines changed: 28 additions & 28 deletions

File tree

apps/showcase/api-generator/typedoc.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -694583,15 +694583,15 @@
694583694583
},
694584694584
{
694585694585
"id": 36920,
694586-
"name": "iconTemplate",
694586+
"name": "iconsTemplate",
694587694587
"variant": "declaration",
694588694588
"kind": 1024,
694589694589
"flags": {},
694590694590
"comment": {
694591694591
"summary": [
694592694592
{
694593694593
"kind": "text",
694594-
"text": "Defines template option for icon."
694594+
"text": "Defines template option for icons."
694595694595
}
694596694596
],
694597694597
"blockTags": [
@@ -694600,7 +694600,7 @@
694600694600
"content": [
694601694601
{
694602694602
"kind": "code",
694603-
"text": "```html\n<ng-template #icon> </ng-template>\n```"
694603+
"text": "```html\n<ng-template #icons> </ng-template>\n```"
694604694604
}
694605694605
]
694606694606
},
@@ -694833,7 +694833,7 @@
694833694833
},
694834694834
{
694835694835
"id": 36925,
694836-
"name": "_iconTemplate",
694836+
"name": "_iconsTemplate",
694837694837
"variant": "declaration",
694838694838
"kind": 1024,
694839694839
"flags": {},
@@ -1431595,7 +1431595,7 @@
14315951431595
"36920": {
14315961431596
"packageName": "primeng",
14315971431597
"packagePath": "panel/panel.ts",
1431598-
"qualifiedName": "Panel.iconTemplate"
1431598+
"qualifiedName": "Panel.iconsTemplate"
14315991431599
},
14316001431600
"36921": {
14316011431601
"packageName": "primeng",
@@ -1431620,7 +1431620,7 @@
14316201431620
"36925": {
14316211431621
"packageName": "primeng",
14316221431622
"packagePath": "panel/panel.ts",
1431623-
"qualifiedName": "Panel._iconTemplate"
1431623+
"qualifiedName": "Panel._iconsTemplate"
14316241431624
},
14316251431625
"36926": {
14316261431626
"packageName": "primeng",

apps/showcase/doc/apidoc/index.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30644,8 +30644,8 @@
3064430644
"parameters": []
3064530645
},
3064630646
{
30647-
"name": "icon",
30648-
"description": "Defines template option for icon.",
30647+
"name": "icons",
30648+
"description": "Defines template option for icons.",
3064930649
"type": "TemplateRef<void>",
3065030650
"parameters": []
3065130651
},

apps/showcase/public/demos.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "1.0.0",
3-
"generatedAt": "2026-01-30T14:19:53.137Z",
3+
"generatedAt": "2026-02-03T07:41:30.156Z",
44
"totalDemos": 804,
55
"demos": {
66
"Image-template-demo": {

apps/showcase/public/llms/components.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "1.0.0",
3-
"generatedAt": "2026-01-30",
3+
"generatedAt": "2026-02-03",
44
"components": [
55
{
66
"name": "accordion",
@@ -16926,7 +16926,7 @@
1692616926
{
1692716927
"id": "accessibility",
1692816928
"label": "Accessibility",
16929-
"description": "Screen Reader InputMask component renders a native input element that implicitly includes any passed prop. Value to describe the component can either be provided via label tag combined with id prop or using ariaLabelledBy , ariaLabel props.",
16929+
"description": "Screen Reader InputMask directive is used with a native input element that implicitly includes any passed attribute. Value to describe the component can either be provided via label tag combined with id attribute or using aria-labelledby , aria-label attributes.",
1693016930
"examples": {
1693116931
"typescript": "<label for=\"date\">Date</label>\n<input pInputText id=\"date\" pInputMask=\"99/99/9999\" />\n\n<span id=\"phone\">Phone</span>\n<input pInputText pInputMask=\"(999) 999-9999\" aria-labelledby=\"phone\" />\n\n<input pInputText pInputMask=\"99\" aria-label=\"Age\" />"
1693216932
}
@@ -26403,9 +26403,9 @@
2640326403
"description": "Defines template option for header."
2640426404
},
2640526405
{
26406-
"name": "icon",
26406+
"name": "icons",
2640726407
"type": "TemplateRef<void>",
26408-
"description": "Defines template option for icon."
26408+
"description": "Defines template option for icons."
2640926409
},
2641026410
{
2641126411
"name": "content",

apps/showcase/public/llms/components/inputmask.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ InputMask component is used to enter input in a certain format such as numeric,
44

55
## Accessibility
66

7-
Screen Reader InputMask component renders a native input element that implicitly includes any passed prop. Value to describe the component can either be provided via label tag combined with id prop or using ariaLabelledBy , ariaLabel props.
7+
Screen Reader InputMask directive is used with a native input element that implicitly includes any passed attribute. Value to describe the component can either be provided via label tag combined with id attribute or using aria-labelledby , aria-label attributes.
88

99
```typescript
1010
<label for="date">Date</label>

apps/showcase/public/llms/components/panel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Panel is a container with the optional content toggle feature.
159159
| Name | Type | Description |
160160
|------|------|-------------|
161161
| header | TemplateRef<void> | Defines template option for header. |
162-
| icon | TemplateRef<void> | Defines template option for icon. |
162+
| icons | TemplateRef<void> | Defines template option for icons. |
163163
| content | TemplateRef<void> | Defines template option for content. |
164164
| footer | TemplateRef<void> | Defines template option for footer. |
165165
| headericons | TemplateRef<PanelHeaderIconsTemplateContext> | Defines template option for headerIcon. |

apps/showcase/public/llms/llms-full.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PrimeNG Documentation
22

3-
Generated: 2026-01-30
3+
Generated: 2026-02-03
44

55
---
66

@@ -17782,7 +17782,7 @@ InputMask component is used to enter input in a certain format such as numeric,
1778217782

1778317783
## Accessibility
1778417784

17785-
Screen Reader InputMask component renders a native input element that implicitly includes any passed prop. Value to describe the component can either be provided via label tag combined with id prop or using ariaLabelledBy , ariaLabel props.
17785+
Screen Reader InputMask directive is used with a native input element that implicitly includes any passed attribute. Value to describe the component can either be provided via label tag combined with id attribute or using aria-labelledby , aria-label attributes.
1778617786

1778717787
**Example:**
1778817788

@@ -26245,7 +26245,7 @@ Panel is a container with the optional content toggle feature.
2624526245
| Name | Type | Description |
2624626246
|------|------|-------------|
2624726247
| header | TemplateRef<void> | Defines template option for header. |
26248-
| icon | TemplateRef<void> | Defines template option for icon. |
26248+
| icons | TemplateRef<void> | Defines template option for icons. |
2624926249
| content | TemplateRef<void> | Defines template option for content. |
2625026250
| footer | TemplateRef<void> | Defines template option for footer. |
2625126251
| headericons | TemplateRef<PanelHeaderIconsTemplateContext> | Defines template option for headerIcon. |

packages/mcp/data/components.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "1.0.0",
3-
"generatedAt": "2026-01-30",
3+
"generatedAt": "2026-02-03",
44
"components": [
55
{
66
"name": "accordion",
@@ -16926,7 +16926,7 @@
1692616926
{
1692716927
"id": "accessibility",
1692816928
"label": "Accessibility",
16929-
"description": "Screen Reader InputMask component renders a native input element that implicitly includes any passed prop. Value to describe the component can either be provided via label tag combined with id prop or using ariaLabelledBy , ariaLabel props.",
16929+
"description": "Screen Reader InputMask directive is used with a native input element that implicitly includes any passed attribute. Value to describe the component can either be provided via label tag combined with id attribute or using aria-labelledby , aria-label attributes.",
1693016930
"examples": {
1693116931
"typescript": "<label for=\"date\">Date</label>\n<input pInputText id=\"date\" pInputMask=\"99/99/9999\" />\n\n<span id=\"phone\">Phone</span>\n<input pInputText pInputMask=\"(999) 999-9999\" aria-labelledby=\"phone\" />\n\n<input pInputText pInputMask=\"99\" aria-label=\"Age\" />"
1693216932
}
@@ -26403,9 +26403,9 @@
2640326403
"description": "Defines template option for header."
2640426404
},
2640526405
{
26406-
"name": "icon",
26406+
"name": "icons",
2640726407
"type": "TemplateRef<void>",
26408-
"description": "Defines template option for icon."
26408+
"description": "Defines template option for icons."
2640926409
},
2641026410
{
2641126411
"name": "content",

packages/primeng/src/panel/panel.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const PANEL_INSTANCE = new InjectionToken<Panel>('PANEL_INSTANCE');
4747
<ng-content select="p-header"></ng-content>
4848
<ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
4949
<div [pBind]="ptm('headerActions')" [class]="cx('headerActions')">
50-
<ng-template *ngTemplateOutlet="iconTemplate || _iconTemplate"></ng-template>
50+
<ng-template *ngTemplateOutlet="iconsTemplate || _iconsTemplate"></ng-template>
5151
<p-button
5252
*ngIf="toggleable"
5353
[attr.id]="id + '_header'"
@@ -243,14 +243,14 @@ export class Panel extends BaseComponent<PanelPassThrough> implements BlockableU
243243
*/
244244
@ContentChild('header', { descendants: false }) headerTemplate: TemplateRef<void> | undefined;
245245
/**
246-
* Defines template option for icon.
246+
* Defines template option for icons.
247247
* @example
248248
* ```html
249-
* <ng-template #icon> </ng-template>
249+
* <ng-template #icons> </ng-template>
250250
* ```
251251
* @group Templates
252252
*/
253-
@ContentChild('icons', { descendants: false }) iconTemplate: TemplateRef<void> | undefined;
253+
@ContentChild('icons', { descendants: false }) iconsTemplate: TemplateRef<void> | undefined;
254254

255255
/**
256256
* Defines template option for content.
@@ -286,7 +286,7 @@ export class Panel extends BaseComponent<PanelPassThrough> implements BlockableU
286286

287287
_headerTemplate: TemplateRef<void> | undefined;
288288

289-
_iconTemplate: TemplateRef<void> | undefined;
289+
_iconsTemplate: TemplateRef<void> | undefined;
290290

291291
_contentTemplate: TemplateRef<void> | undefined;
292292

@@ -379,7 +379,7 @@ export class Panel extends BaseComponent<PanelPassThrough> implements BlockableU
379379
break;
380380

381381
case 'icons':
382-
this._iconTemplate = item.template;
382+
this._iconsTemplate = item.template;
383383
break;
384384

385385
case 'headericons':

0 commit comments

Comments
 (0)