Skip to content

Commit 8ef0009

Browse files
angular-robotAndrewKushnir
authored andcommitted
docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
1 parent 23547f0 commit 8ef0009

8 files changed

Lines changed: 1434 additions & 1688 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"branchName": "refs/heads/main",
3-
"sha": "c69bd5720826a3e7142c0fbb42bb2fcbfc406f81"
3+
"sha": "6d0be698ddef6f557582ac86381673cb1c9a5482"
44
}

adev/src/content/aria/aria-accordion.json

Lines changed: 48 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,51 @@
44
"moduleName": "@angular/aria/accordion",
55
"normalizedModuleName": "angular_aria_accordion",
66
"entries": [
7+
{
8+
"name": "AccordionContent",
9+
"isAbstract": false,
10+
"entryType": "undecorated_class",
11+
"members": [],
12+
"generics": [],
13+
"description": "A structural directive that provides a mechanism for lazily rendering the content for an\n`ngAccordionPanel`.\n\nThis directive should be applied to an `ng-template` inside an `ngAccordionPanel`.\nIt allows the content of the panel to be lazily rendered, improving performance\nby only creating the content when the panel is first expanded.\n\n```html\n<div ngAccordionPanel panelId=\"unique-id-1\">\n <ng-template ngAccordionContent>\n <p>This is the content that will be displayed inside the panel.</p>\n </ng-template>\n</div>\n```",
14+
"jsdocTags": [
15+
{
16+
"name": "developerPreview",
17+
"comment": "21.0"
18+
}
19+
],
20+
"rawComment": "/**\n * A structural directive that provides a mechanism for lazily rendering the content for an\n * `ngAccordionPanel`.\n *\n * This directive should be applied to an `ng-template` inside an `ngAccordionPanel`.\n * It allows the content of the panel to be lazily rendered, improving performance\n * by only creating the content when the panel is first expanded.\n *\n * ```html\n * <div ngAccordionPanel panelId=\"unique-id-1\">\n * <ng-template ngAccordionContent>\n * <p>This is the content that will be displayed inside the panel.</p>\n * </ng-template>\n * </div>\n * ```\n *\n * @developerPreview 21.0\n */",
21+
"implements": [],
22+
"source": {
23+
"filePath": "src/aria/accordion/accordion-content.ts",
24+
"startLine": 30,
25+
"endLine": 34
26+
}
27+
},
728
{
829
"name": "AccordionPanel",
930
"isAbstract": false,
10-
"entryType": "directive",
31+
"entryType": "undecorated_class",
1132
"members": [
1233
{
1334
"name": "id",
1435
"type": "InputSignal<any>",
1536
"memberType": "property",
1637
"memberTags": [
17-
"readonly",
18-
"input"
38+
"readonly"
1939
],
2040
"description": "A global unique identifier for the panel.",
21-
"jsdocTags": [],
22-
"inputAlias": "id",
23-
"isRequiredInput": false
41+
"jsdocTags": []
2442
},
2543
{
2644
"name": "panelId",
2745
"type": "InputSignal<string>",
2846
"memberType": "property",
2947
"memberTags": [
30-
"readonly",
31-
"input"
48+
"readonly"
3249
],
3350
"description": "A local unique identifier for the panel, used to match with its trigger's `panelId`.",
34-
"jsdocTags": [],
35-
"inputAlias": "panelId",
36-
"isRequiredInput": true
51+
"jsdocTags": []
3752
},
3853
{
3954
"name": "visible",
@@ -155,15 +170,10 @@
155170
],
156171
"rawComment": "/**\n * The content panel of an accordion item that is conditionally visible.\n *\n * This directive is a container for the content that is shown or hidden. It requires\n * a `panelId` that must match the `panelId` of its corresponding `ngAccordionTrigger`.\n * The content within the panel should be provided using an `ng-template` with the\n * `ngAccordionContent` directive so that the content is not rendered on the page until the trigger\n * is expanded. It applies `role=\"region\"` for accessibility and uses the `inert` attribute to hide\n * its content from assistive technologies when not visible.\n *\n * ```html\n * <div ngAccordionPanel panelId=\"unique-id-1\">\n * <ng-template ngAccordionContent>\n * <p>This content is lazily rendered and will be shown when the panel is expanded.</p>\n * </ng-template>\n * </div>\n * ```\n *\n * @developerPreview 21.0\n */",
157172
"implements": [],
158-
"isStandalone": true,
159-
"selector": "[ngAccordionPanel]",
160-
"exportAs": [
161-
"ngAccordionPanel"
162-
],
163173
"source": {
164-
"filePath": "src/aria/accordion/accordion.ts",
165-
"startLine": 52,
166-
"endLine": 113
174+
"filePath": "/src/aria/accordion/accordion-panel.ts",
175+
"startLine": 41,
176+
"endLine": 102
167177
}
168178
},
169179
{
@@ -237,7 +247,7 @@
237247
},
238248
{
239249
"name": "active",
240-
"type": "Signal<boolean>",
250+
"type": "Signal<any>",
241251
"memberType": "property",
242252
"memberTags": [
243253
"readonly"
@@ -361,9 +371,9 @@
361371
"ngAccordionTrigger"
362372
],
363373
"source": {
364-
"filePath": "src/aria/accordion/accordion.ts",
365-
"startLine": 132,
366-
"endLine": 197
374+
"filePath": "/src/aria/accordion/accordion-trigger.ts",
375+
"startLine": 41,
376+
"endLine": 106
367377
}
368378
},
369379
{
@@ -526,33 +536,9 @@
526536
"ngAccordionGroup"
527537
],
528538
"source": {
529-
"filePath": "src/aria/accordion/accordion.ts",
530-
"startLine": 234,
531-
"endLine": 329
532-
}
533-
},
534-
{
535-
"name": "AccordionContent",
536-
"isAbstract": false,
537-
"entryType": "directive",
538-
"members": [],
539-
"generics": [],
540-
"description": "A structural directive that provides a mechanism for lazily rendering the content for an\n`ngAccordionPanel`.\n\nThis directive should be applied to an `ng-template` inside an `ngAccordionPanel`.\nIt allows the content of the panel to be lazily rendered, improving performance\nby only creating the content when the panel is first expanded.\n\n```html\n<div ngAccordionPanel panelId=\"unique-id-1\">\n <ng-template ngAccordionContent>\n <p>This is the content that will be displayed inside the panel.</p>\n </ng-template>\n</div>\n```",
541-
"jsdocTags": [
542-
{
543-
"name": "developerPreview",
544-
"comment": "21.0"
545-
}
546-
],
547-
"rawComment": "/**\n * A structural directive that provides a mechanism for lazily rendering the content for an\n * `ngAccordionPanel`.\n *\n * This directive should be applied to an `ng-template` inside an `ngAccordionPanel`.\n * It allows the content of the panel to be lazily rendered, improving performance\n * by only creating the content when the panel is first expanded.\n *\n * ```html\n * <div ngAccordionPanel panelId=\"unique-id-1\">\n * <ng-template ngAccordionContent>\n * <p>This is the content that will be displayed inside the panel.</p>\n * </ng-template>\n * </div>\n * ```\n *\n * @developerPreview 21.0\n */",
548-
"implements": [],
549-
"isStandalone": true,
550-
"selector": "ng-template[ngAccordionContent]",
551-
"exportAs": [],
552-
"source": {
553-
"filePath": "src/aria/accordion/accordion.ts",
554-
"startLine": 349,
555-
"endLine": 353
539+
"filePath": "src/aria/accordion/accordion-group.ts",
540+
"startLine": 61,
541+
"endLine": 157
556542
}
557543
}
558544
],
@@ -565,18 +551,10 @@
565551
"input",
566552
"@angular/core"
567553
],
568-
[
569-
"ElementRef",
570-
"@angular/core"
571-
],
572554
[
573555
"inject",
574556
"@angular/core"
575557
],
576-
[
577-
"contentChildren",
578-
"@angular/core"
579-
],
580558
[
581559
"afterRenderEffect",
582560
"@angular/core"
@@ -585,14 +563,6 @@
585563
"signal",
586564
"@angular/core"
587565
],
588-
[
589-
"model",
590-
"@angular/core"
591-
],
592-
[
593-
"booleanAttribute",
594-
"@angular/core"
595-
],
596566
[
597567
"computed",
598568
"@angular/core"
@@ -606,28 +576,28 @@
606576
"@angular/cdk/a11y"
607577
],
608578
[
609-
"Directionality",
610-
"@angular/cdk/bidi"
579+
"ElementRef",
580+
"@angular/core"
611581
],
612582
[
613-
"DeferredContent",
614-
"@angular/aria/private"
583+
"model",
584+
"@angular/core"
615585
],
616586
[
617-
"DeferredContentAware",
618-
"@angular/aria/private"
587+
"booleanAttribute",
588+
"@angular/core"
619589
],
620590
[
621-
"AccordionGroupPattern",
622-
"@angular/aria/private"
591+
"contentChildren",
592+
"@angular/core"
623593
],
624594
[
625-
"AccordionPanelPattern",
626-
"@angular/aria/private"
595+
"Directionality",
596+
"@angular/cdk/bidi"
627597
],
628598
[
629-
"AccordionTriggerPattern",
630-
"@angular/aria/private"
599+
"AccordionContent",
600+
"@angular/aria/accordion"
631601
],
632602
[
633603
"AccordionPanel",
@@ -748,10 +718,6 @@
748718
[
749719
"AccordionGroup.collapseAll",
750720
"@angular/aria/accordion"
751-
],
752-
[
753-
"AccordionContent",
754-
"@angular/aria/accordion"
755721
]
756722
]
757723
}

0 commit comments

Comments
 (0)