ng-primitives 0.112.1 → 0.112.3
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/fesm2022/ng-primitives-menu.mjs +4 -1
- package/fesm2022/ng-primitives-menu.mjs.map +1 -1
- package/fesm2022/ng-primitives-portal.mjs +39 -7
- package/fesm2022/ng-primitives-portal.mjs.map +1 -1
- package/fesm2022/ng-primitives-progress.mjs +1 -1
- package/fesm2022/ng-primitives-progress.mjs.map +1 -1
- package/fesm2022/ng-primitives-separator.mjs +1 -1
- package/fesm2022/ng-primitives-separator.mjs.map +1 -1
- package/fesm2022/ng-primitives-state.mjs +6 -1
- package/fesm2022/ng-primitives-state.mjs.map +1 -1
- package/menu/index.d.ts +48 -1
- package/package.json +1 -1
- package/portal/index.d.ts +17 -0
- package/progress/index.d.ts +44 -20
- package/separator/index.d.ts +33 -7
package/separator/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Provider } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Provider, Signal } from '@angular/core';
|
|
3
3
|
import { NgpOrientation } from 'ng-primitives/common';
|
|
4
4
|
|
|
5
5
|
interface NgpSeparatorConfig {
|
|
@@ -21,11 +21,37 @@ declare class NgpSeparator {
|
|
|
21
21
|
/**
|
|
22
22
|
* The orientation of the separator.
|
|
23
23
|
*/
|
|
24
|
-
readonly orientation:
|
|
24
|
+
readonly orientation: _angular_core.InputSignal<NgpOrientation>;
|
|
25
25
|
constructor();
|
|
26
|
-
static ɵfac:
|
|
27
|
-
static ɵdir:
|
|
26
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpSeparator, never>;
|
|
27
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpSeparator, "[ngpSeparator]", ["ngpSeparator"], { "orientation": { "alias": "ngpSeparatorOrientation"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
interface NgpSeparatorState {
|
|
31
|
+
}
|
|
32
|
+
interface NgpSeparatorProps {
|
|
33
|
+
/**
|
|
34
|
+
* The orientation of the separator.
|
|
35
|
+
*/
|
|
36
|
+
readonly orientation: Signal<NgpOrientation>;
|
|
37
|
+
}
|
|
38
|
+
declare const ngpSeparator: ({ orientation }: NgpSeparatorProps) => {};
|
|
39
|
+
declare const injectSeparatorState: {
|
|
40
|
+
(): Signal<{}>;
|
|
41
|
+
(options: {
|
|
42
|
+
hoisted: true;
|
|
43
|
+
optional?: boolean;
|
|
44
|
+
skipSelf?: boolean;
|
|
45
|
+
}): Signal<{} | null>;
|
|
46
|
+
(options?: {
|
|
47
|
+
hoisted?: boolean;
|
|
48
|
+
optional?: boolean;
|
|
49
|
+
skipSelf?: boolean;
|
|
50
|
+
}): Signal<{}> | Signal<{} | null>;
|
|
51
|
+
};
|
|
52
|
+
declare const provideSeparatorState: (opts?: {
|
|
53
|
+
inherit?: boolean;
|
|
54
|
+
}) => _angular_core.FactoryProvider;
|
|
55
|
+
|
|
56
|
+
export { NgpSeparator, injectSeparatorState, ngpSeparator, provideSeparatorConfig, provideSeparatorState };
|
|
57
|
+
export type { NgpSeparatorConfig, NgpSeparatorProps, NgpSeparatorState };
|