@radix-ng/primitives 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/src/accordion-content.directive.d.ts +4 -9
- package/accordion/src/accordion-item.directive.d.ts +3 -1
- package/compodoc/documentation.json +439 -75
- package/dialog/README.md +1 -0
- package/dialog/index.d.ts +1 -0
- package/esm2022/accordion/src/accordion-content.directive.mjs +19 -13
- package/esm2022/accordion/src/accordion-item.directive.mjs +8 -3
- package/esm2022/accordion/src/accordion-root.directive.mjs +8 -5
- package/esm2022/dialog/index.mjs +2 -0
- package/esm2022/dialog/radix-ng-primitives-dialog.mjs +5 -0
- package/fesm2022/radix-ng-primitives-accordion.mjs +31 -18
- package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dialog.mjs +4 -0
- package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -0
- package/package.json +7 -1
@@ -1,16 +1,11 @@
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
2
1
|
import { RdxAccordionItemDirective } from './accordion-item.directive';
|
3
2
|
import * as i0 from "@angular/core";
|
4
|
-
export declare const RdxAccordionContentToken: InjectionToken<RdxAccordionContentDirective>;
|
5
3
|
export declare class RdxAccordionContentDirective {
|
6
4
|
protected readonly item: RdxAccordionItemDirective;
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
height: string | number;
|
12
|
-
width?: undefined;
|
13
|
-
};
|
5
|
+
protected readonly nativeElement: any;
|
6
|
+
protected hidden: boolean;
|
7
|
+
protected onAnimationEnd(): void;
|
8
|
+
onToggle(): void;
|
14
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionContentDirective, never>;
|
15
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionContentDirective, "[rdxAccordionContent]", ["rdxAccordionContent"], {}, {}, never, never, true, never>;
|
16
11
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { FocusableOption } from '@angular/cdk/a11y';
|
2
2
|
import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
|
3
3
|
import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
4
|
+
import { RdxAccordionContentDirective } from './accordion-content.directive';
|
4
5
|
import { RdxAccordionOrientation } from './accordion-root.directive';
|
5
6
|
import { RdxAccordionTriggerDirective } from './accordion-trigger.directive';
|
6
7
|
import * as i0 from "@angular/core";
|
@@ -10,6 +11,7 @@ export declare class RdxAccordionItemDirective implements FocusableOption, OnDes
|
|
10
11
|
protected readonly changeDetectorRef: ChangeDetectorRef;
|
11
12
|
protected readonly expansionDispatcher: UniqueSelectionDispatcher;
|
12
13
|
trigger: RdxAccordionTriggerDirective;
|
14
|
+
content: RdxAccordionContentDirective;
|
13
15
|
get dataState(): RdxAccordionItemState;
|
14
16
|
/**
|
15
17
|
* The unique AccordionItem id.
|
@@ -56,7 +58,7 @@ export declare class RdxAccordionItemDirective implements FocusableOption, OnDes
|
|
56
58
|
open(): void;
|
57
59
|
private subscribeToOpenCloseAllActions;
|
58
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionItemDirective, never>;
|
59
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionItemDirective, "[rdxAccordionItem]", ["rdxAccordionItem"], { "expanded": { "alias": "expanded"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; "expandedChange": "expandedChange"; }, ["trigger"], never, true, never>;
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionItemDirective, "[rdxAccordionItem]", ["rdxAccordionItem"], { "expanded": { "alias": "expanded"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; "expandedChange": "expandedChange"; }, ["trigger", "content"], never, true, never>;
|
60
62
|
static ngAcceptInputType_expanded: unknown;
|
61
63
|
static ngAcceptInputType_disabled: unknown;
|
62
64
|
}
|