ng-primitives 0.90.0 → 0.91.0

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.
Files changed (93) hide show
  1. package/a11y/index.d.ts +38 -46
  2. package/accordion/index.d.ts +252 -104
  3. package/ai/index.d.ts +1 -1
  4. package/autofill/index.d.ts +49 -9
  5. package/avatar/index.d.ts +96 -61
  6. package/breadcrumbs/index.d.ts +156 -16
  7. package/button/index.d.ts +23 -28
  8. package/checkbox/index.d.ts +93 -14
  9. package/combobox/index.d.ts +1 -1
  10. package/date-picker/index.d.ts +12 -11
  11. package/fesm2022/ng-primitives-a11y.mjs +36 -52
  12. package/fesm2022/ng-primitives-a11y.mjs.map +1 -1
  13. package/fesm2022/ng-primitives-accordion.mjs +210 -189
  14. package/fesm2022/ng-primitives-accordion.mjs.map +1 -1
  15. package/fesm2022/ng-primitives-ai.mjs +4 -4
  16. package/fesm2022/ng-primitives-ai.mjs.map +1 -1
  17. package/fesm2022/ng-primitives-autofill.mjs +53 -36
  18. package/fesm2022/ng-primitives-autofill.mjs.map +1 -1
  19. package/fesm2022/ng-primitives-avatar.mjs +97 -138
  20. package/fesm2022/ng-primitives-avatar.mjs.map +1 -1
  21. package/fesm2022/ng-primitives-breadcrumbs.mjs +92 -35
  22. package/fesm2022/ng-primitives-breadcrumbs.mjs.map +1 -1
  23. package/fesm2022/ng-primitives-button.mjs +14 -36
  24. package/fesm2022/ng-primitives-button.mjs.map +1 -1
  25. package/fesm2022/ng-primitives-checkbox.mjs +87 -65
  26. package/fesm2022/ng-primitives-checkbox.mjs.map +1 -1
  27. package/fesm2022/ng-primitives-combobox.mjs +9 -9
  28. package/fesm2022/ng-primitives-combobox.mjs.map +1 -1
  29. package/fesm2022/ng-primitives-date-picker.mjs +5 -4
  30. package/fesm2022/ng-primitives-date-picker.mjs.map +1 -1
  31. package/fesm2022/ng-primitives-form-field.mjs +48 -16
  32. package/fesm2022/ng-primitives-form-field.mjs.map +1 -1
  33. package/fesm2022/ng-primitives-input.mjs +32 -48
  34. package/fesm2022/ng-primitives-input.mjs.map +1 -1
  35. package/fesm2022/ng-primitives-interactions.mjs +4 -4
  36. package/fesm2022/ng-primitives-interactions.mjs.map +1 -1
  37. package/fesm2022/ng-primitives-listbox.mjs.map +1 -1
  38. package/fesm2022/ng-primitives-menu.mjs +13 -6
  39. package/fesm2022/ng-primitives-menu.mjs.map +1 -1
  40. package/fesm2022/ng-primitives-pagination.mjs +6 -6
  41. package/fesm2022/ng-primitives-pagination.mjs.map +1 -1
  42. package/fesm2022/ng-primitives-progress.mjs +2 -2
  43. package/fesm2022/ng-primitives-progress.mjs.map +1 -1
  44. package/fesm2022/ng-primitives-radio.mjs +3 -3
  45. package/fesm2022/ng-primitives-radio.mjs.map +1 -1
  46. package/fesm2022/ng-primitives-roving-focus.mjs +259 -236
  47. package/fesm2022/ng-primitives-roving-focus.mjs.map +1 -1
  48. package/fesm2022/ng-primitives-search.mjs.map +1 -1
  49. package/fesm2022/ng-primitives-select.mjs +8 -8
  50. package/fesm2022/ng-primitives-select.mjs.map +1 -1
  51. package/fesm2022/ng-primitives-slider.mjs +195 -172
  52. package/fesm2022/ng-primitives-slider.mjs.map +1 -1
  53. package/fesm2022/ng-primitives-state.mjs +172 -2
  54. package/fesm2022/ng-primitives-state.mjs.map +1 -1
  55. package/fesm2022/ng-primitives-switch.mjs +90 -88
  56. package/fesm2022/ng-primitives-switch.mjs.map +1 -1
  57. package/fesm2022/ng-primitives-tabs.mjs +4 -1
  58. package/fesm2022/ng-primitives-tabs.mjs.map +1 -1
  59. package/fesm2022/ng-primitives-textarea.mjs +27 -35
  60. package/fesm2022/ng-primitives-textarea.mjs.map +1 -1
  61. package/fesm2022/ng-primitives-toggle-group.mjs +134 -136
  62. package/fesm2022/ng-primitives-toggle-group.mjs.map +1 -1
  63. package/fesm2022/ng-primitives-toggle.mjs +69 -58
  64. package/fesm2022/ng-primitives-toggle.mjs.map +1 -1
  65. package/fesm2022/ng-primitives-toolbar.mjs +26 -35
  66. package/fesm2022/ng-primitives-toolbar.mjs.map +1 -1
  67. package/fesm2022/ng-primitives-utils.mjs +48 -35
  68. package/fesm2022/ng-primitives-utils.mjs.map +1 -1
  69. package/form-field/index.d.ts +7 -3
  70. package/input/index.d.ts +61 -24
  71. package/interactions/index.d.ts +5 -5
  72. package/listbox/index.d.ts +1 -1
  73. package/menu/index.d.ts +3 -2
  74. package/package.json +1 -1
  75. package/pagination/index.d.ts +7 -7
  76. package/roving-focus/index.d.ts +77 -101
  77. package/schematics/ng-add/schema.d.ts +0 -1
  78. package/schematics/ng-generate/templates/checkbox/checkbox.__fileSuffix@dasherize__.ts.template +2 -2
  79. package/schematics/ng-generate/templates/slider/slider.__fileSuffix@dasherize__.ts.template +6 -3
  80. package/schematics/ng-generate/templates/switch/switch.__fileSuffix@dasherize__.ts.template +2 -2
  81. package/schematics/ng-generate/templates/toggle/toggle.__fileSuffix@dasherize__.ts.template +2 -2
  82. package/schematics/ng-generate/templates/toggle-group/toggle-group.__fileSuffix@dasherize__.ts.template +2 -2
  83. package/schematics/ng-generate/templates/toolbar/toolbar.__fileSuffix@dasherize__.ts.template +1 -1
  84. package/search/index.d.ts +1 -1
  85. package/select/index.d.ts +2 -2
  86. package/slider/index.d.ts +195 -56
  87. package/state/index.d.ts +57 -3
  88. package/switch/index.d.ts +103 -28
  89. package/textarea/index.d.ts +63 -8
  90. package/toggle/index.d.ts +65 -24
  91. package/toggle-group/index.d.ts +79 -54
  92. package/toolbar/index.d.ts +27 -17
  93. package/utils/index.d.ts +1 -0
package/toggle/index.d.ts CHANGED
@@ -1,15 +1,72 @@
1
- import * as ng_primitives_state from 'ng-primitives/state';
2
1
  import * as _angular_core from '@angular/core';
2
+ import { WritableSignal, Signal } from '@angular/core';
3
+ import { Subject } from 'rxjs';
3
4
  import { BooleanInput } from '@angular/cdk/coercion';
4
5
 
5
6
  /**
6
- * Apply the `ngpToggle` directive to an element to manage the toggle state. This must be applied to a `button` element.
7
+ * Public state surface for the Toggle primitive.
7
8
  */
8
- declare class NgpToggle {
9
+ interface NgpToggleState {
10
+ /**
11
+ * Whether the toggle is selected.
12
+ */
13
+ readonly selected: WritableSignal<boolean>;
14
+ /**
15
+ * Whether the toggle is disabled.
16
+ */
17
+ readonly disabled: WritableSignal<boolean>;
18
+ /**
19
+ * Emits when the selected state changes.
20
+ */
21
+ readonly selectedChange: Subject<boolean>;
22
+ /**
23
+ * Toggle the selected state.
24
+ */
25
+ toggle(event?: Event): void;
26
+ /**
27
+ * Set the selected state.
28
+ */
29
+ setSelected(value: boolean): void;
30
+ /**
31
+ * Set the disabled state.
32
+ */
33
+ setDisabled(value: boolean): void;
34
+ }
35
+ /**
36
+ * Inputs for configuring the Toggle primitive.
37
+ */
38
+ interface NgpToggleProps {
9
39
  /**
10
- * Access the element.
40
+ * Whether the toggle is selected.
41
+ */
42
+ readonly selected?: Signal<boolean>;
43
+ /**
44
+ * Whether the toggle is disabled.
11
45
  */
12
- private readonly element;
46
+ readonly disabled?: Signal<boolean>;
47
+ /**
48
+ * Callback fired when the selected state changes.
49
+ */
50
+ readonly onSelectedChange?: (selected: boolean) => void;
51
+ }
52
+ declare const ngpToggle: ({ selected: _selected, disabled: _disabled, onSelectedChange, }: NgpToggleProps) => NgpToggleState;
53
+ declare const injectToggleState: {
54
+ (): Signal<NgpToggleState>;
55
+ (options: {
56
+ hoisted: true;
57
+ }): Signal<NgpToggleState | null>;
58
+ (options?: {
59
+ hoisted?: boolean;
60
+ }): Signal<NgpToggleState | null>;
61
+ };
62
+ declare const provideToggleState: (opts?: {
63
+ inherit?: boolean;
64
+ }) => _angular_core.FactoryProvider;
65
+
66
+ /**
67
+ * Apply the `ngpToggle` directive to an element to manage the toggle state. This must be applied to a `button` element.
68
+ */
69
+ declare class NgpToggle {
13
70
  /**
14
71
  * Whether the toggle is selected.
15
72
  * @default false
@@ -24,34 +81,18 @@ declare class NgpToggle {
24
81
  * @default false
25
82
  */
26
83
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
27
- /**
28
- * Determine if the element is a button.
29
- */
30
- protected isButton: boolean;
31
84
  /**
32
85
  * The state for the toggle primitive.
33
86
  * @internal
34
87
  */
35
- protected readonly state: ng_primitives_state.CreatedState<NgpToggle>;
88
+ protected readonly state: NgpToggleState;
36
89
  /**
37
90
  * Toggle the selected state.
38
91
  */
39
92
  toggle(): void;
40
- /**
41
- * If the element is not a button or a link the space key should toggle the selected state.
42
- */
43
- protected onKeyDown(event: KeyboardEvent): void;
44
93
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpToggle, never>;
45
94
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpToggle, "[ngpToggle]", ["ngpToggle"], { "selected": { "alias": "ngpToggleSelected"; "required": false; "isSignal": true; }; "disabled": { "alias": "ngpToggleDisabled"; "required": false; "isSignal": true; }; }, { "selectedChange": "ngpToggleSelectedChange"; }, never, never, true, never>;
46
95
  }
47
96
 
48
- /**
49
- * Provides the Toggle state.
50
- */
51
- declare const provideToggleState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
52
- /**
53
- * Injects the Toggle state.
54
- */
55
- declare const injectToggleState: <U = NgpToggle>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
56
-
57
- export { NgpToggle, injectToggleState, provideToggleState };
97
+ export { NgpToggle, injectToggleState, ngpToggle, provideToggleState };
98
+ export type { NgpToggleProps, NgpToggleState };
@@ -1,9 +1,8 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { Provider, OnInit } from '@angular/core';
2
+ import { Provider, OnInit, Signal, WritableSignal } from '@angular/core';
3
3
  import { NgpOrientation } from 'ng-primitives/common';
4
- import * as ng_primitives_state from 'ng-primitives/state';
5
4
  import { BooleanInput } from '@angular/cdk/coercion';
6
- import * as i1 from 'ng-primitives/roving-focus';
5
+ import { Observable } from 'rxjs';
7
6
 
8
7
  interface NgpToggleGroupConfig {
9
8
  /**
@@ -30,10 +29,6 @@ interface NgpToggleGroupConfig {
30
29
  declare function provideToggleGroupConfig(config: Partial<NgpToggleGroupConfig>): Provider[];
31
30
 
32
31
  declare class NgpToggleGroupItem implements OnInit {
33
- /**
34
- * Access the group that the item belongs to.
35
- */
36
- private readonly toggleGroup;
37
32
  /**
38
33
  * The value of the item.
39
34
  * @required
@@ -43,37 +38,91 @@ declare class NgpToggleGroupItem implements OnInit {
43
38
  * Whether the item is disabled.
44
39
  */
45
40
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
46
- /**
47
- * Whether the item is selected.
48
- */
49
- protected readonly selected: _angular_core.Signal<boolean>;
50
- /**
51
- * The state of the item.
52
- */
53
- protected readonly state: ng_primitives_state.CreatedState<NgpToggleGroupItem>;
41
+ constructor();
54
42
  ngOnInit(): void;
55
- /**
56
- * Toggle the item.
57
- */
58
- protected toggle(): void;
59
43
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpToggleGroupItem, never>;
60
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpToggleGroupItem, "[ngpToggleGroupItem]", ["ngpToggleGroupItem"], { "value": { "alias": "ngpToggleGroupItemValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "ngpToggleGroupItemDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.NgpRovingFocusItem; inputs: { "ngpRovingFocusItemDisabled": "ngpToggleGroupItemDisabled"; }; outputs: {}; }]>;
44
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpToggleGroupItem, "[ngpToggleGroupItem]", ["ngpToggleGroupItem"], { "value": { "alias": "ngpToggleGroupItemValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "ngpToggleGroupItemDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
61
45
  }
62
46
 
63
47
  /**
64
- * Provides the ToggleGroupItem state.
48
+ * The state interface for the ToggleGroupItem pattern.
65
49
  */
66
- declare const provideToggleGroupItemState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
50
+ interface NgpToggleGroupItemState {
51
+ selected: Signal<boolean>;
52
+ toggle(): void;
53
+ }
54
+ declare const injectToggleGroupItemState: {
55
+ (): Signal<NgpToggleGroupItemState>;
56
+ (options: {
57
+ hoisted: true;
58
+ }): Signal<NgpToggleGroupItemState | null>;
59
+ (options?: {
60
+ hoisted?: boolean;
61
+ }): Signal<NgpToggleGroupItemState | null>;
62
+ };
63
+ declare const provideToggleGroupItemState: (opts?: {
64
+ inherit?: boolean;
65
+ }) => _angular_core.FactoryProvider;
66
+
67
67
  /**
68
- * Injects the ToggleGroupItem state.
68
+ * The state interface for the ToggleGroup pattern.
69
69
  */
70
- declare const injectToggleGroupItemState: <U = NgpToggleGroupItem>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
71
-
72
- declare class NgpToggleGroup {
70
+ interface NgpToggleGroupState {
71
+ /**
72
+ * The current value(s) of the toggle group.
73
+ */
74
+ readonly value: WritableSignal<string[]>;
75
+ /**
76
+ * Emit when the value changes.
77
+ */
78
+ readonly valueChange: Observable<string[]>;
79
+ /**
80
+ * Whether the toggle group is disabled.
81
+ */
82
+ readonly disabled: WritableSignal<boolean>;
83
+ /**
84
+ * Select a value in the toggle group.
85
+ */
86
+ select(selection: string): void;
87
+ /**
88
+ * De-select a value in the toggle group.
89
+ */
90
+ deselect(selection: string): void;
91
+ /**
92
+ * Check if a value is selected in the toggle group.
93
+ */
94
+ isSelected(selection: string): boolean;
95
+ /**
96
+ * Toggle a value in the toggle group.
97
+ */
98
+ toggle(selection: string): void;
99
+ /**
100
+ * Set the value(s) of the toggle group.
101
+ */
102
+ setValue(newValue: string[]): void;
73
103
  /**
74
- * Access the roving focus group state.
104
+ * Set the disabled state of the toggle group.
75
105
  */
76
- private readonly rovingFocusGroupState;
106
+ setDisabled(isDisabled: boolean): void;
107
+ /**
108
+ * Set the orientation of the toggle group.
109
+ */
110
+ setOrientation(newOrientation: NgpOrientation): void;
111
+ }
112
+ declare const injectToggleGroupState: {
113
+ (): Signal<NgpToggleGroupState>;
114
+ (options: {
115
+ hoisted: true;
116
+ }): Signal<NgpToggleGroupState | null>;
117
+ (options?: {
118
+ hoisted?: boolean;
119
+ }): Signal<NgpToggleGroupState | null>;
120
+ };
121
+ declare const provideToggleGroupState: (opts?: {
122
+ inherit?: boolean;
123
+ }) => _angular_core.FactoryProvider;
124
+
125
+ declare class NgpToggleGroup {
77
126
  /**
78
127
  * Access the global toggle group configuration.
79
128
  */
@@ -106,38 +155,14 @@ declare class NgpToggleGroup {
106
155
  /**
107
156
  * The state of the toggle group.
108
157
  */
109
- protected readonly state: ng_primitives_state.CreatedState<NgpToggleGroup>;
110
- constructor();
111
- /**
112
- * Select a value in the toggle group.
113
- */
114
- private select;
115
- /**
116
- * De-select a value in the toggle group.
117
- */
118
- private deselect;
119
- /**
120
- * Check if a value is selected in the toggle group.
121
- * @internal
122
- */
123
- isSelected(value: string): boolean;
158
+ protected readonly state: NgpToggleGroupState;
124
159
  /**
125
160
  * Toggle a value in the toggle group.
126
- * @internal
127
161
  */
128
162
  toggle(value: string): void;
129
163
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpToggleGroup, never>;
130
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpToggleGroup, "[ngpToggleGroup]", ["ngpToggleGroup"], { "orientation": { "alias": "ngpToggleGroupOrientation"; "required": false; "isSignal": true; }; "allowDeselection": { "alias": "ngpToggleGroupAllowDeselection"; "required": false; "isSignal": true; }; "type": { "alias": "ngpToggleGroupType"; "required": false; "isSignal": true; }; "value": { "alias": "ngpToggleGroupValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "ngpToggleGroupDisabled"; "required": false; "isSignal": true; }; }, { "valueChange": "ngpToggleGroupValueChange"; }, never, never, true, [{ directive: typeof i1.NgpRovingFocusGroup; inputs: {}; outputs: {}; }]>;
164
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpToggleGroup, "[ngpToggleGroup]", ["ngpToggleGroup"], { "orientation": { "alias": "ngpToggleGroupOrientation"; "required": false; "isSignal": true; }; "allowDeselection": { "alias": "ngpToggleGroupAllowDeselection"; "required": false; "isSignal": true; }; "type": { "alias": "ngpToggleGroupType"; "required": false; "isSignal": true; }; "value": { "alias": "ngpToggleGroupValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "ngpToggleGroupDisabled"; "required": false; "isSignal": true; }; }, { "valueChange": "ngpToggleGroupValueChange"; }, never, never, true, never>;
131
165
  }
132
166
 
133
- /**
134
- * Provides the ToggleGroup state.
135
- */
136
- declare const provideToggleGroupState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
137
- /**
138
- * Injects the ToggleGroup state.
139
- */
140
- declare const injectToggleGroupState: <U = NgpToggleGroup>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
141
-
142
167
  export { NgpToggleGroup, NgpToggleGroupItem, injectToggleGroupItemState, injectToggleGroupState, provideToggleGroupConfig, provideToggleGroupItemState, provideToggleGroupState };
143
168
  export type { NgpToggleGroupConfig };
@@ -1,13 +1,8 @@
1
- import * as ng_primitives_state from 'ng-primitives/state';
2
1
  import * as _angular_core from '@angular/core';
2
+ import { Signal, WritableSignal } from '@angular/core';
3
3
  import { NgpOrientation } from 'ng-primitives/common';
4
- import * as i1 from 'ng-primitives/roving-focus';
5
4
 
6
5
  declare class NgpToolbar {
7
- /**
8
- * Access the roving focus group state.
9
- */
10
- private readonly rovingFocusGroup;
11
6
  /**
12
7
  * The orientation of the toolbar.
13
8
  */
@@ -15,19 +10,34 @@ declare class NgpToolbar {
15
10
  /**
16
11
  * The toolbar state.
17
12
  */
18
- protected readonly state: ng_primitives_state.CreatedState<NgpToolbar>;
19
- constructor();
13
+ protected readonly state: {
14
+ orientation: _angular_core.WritableSignal<NgpOrientation>;
15
+ setOrientation: (value: NgpOrientation) => void;
16
+ };
20
17
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpToolbar, never>;
21
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpToolbar, "[ngpToolbar]", ["ngpToolbar"], { "orientation": { "alias": "ngpToolbarOrientation"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.NgpRovingFocusGroup; inputs: {}; outputs: {}; }]>;
18
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpToolbar, "[ngpToolbar]", ["ngpToolbar"], { "orientation": { "alias": "ngpToolbarOrientation"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
22
19
  }
23
20
 
24
- /**
25
- * Provides the Toolbar state.
26
- */
27
- declare const provideToolbarState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
28
- /**
29
- * Injects the Toolbar state.
30
- */
31
- declare const injectToolbarState: <U = NgpToolbar>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
21
+ declare const injectToolbarState: {
22
+ (): Signal<{
23
+ orientation: WritableSignal<NgpOrientation>;
24
+ setOrientation: (value: NgpOrientation) => void;
25
+ }>;
26
+ (options: {
27
+ hoisted: true;
28
+ }): Signal<{
29
+ orientation: WritableSignal<NgpOrientation>;
30
+ setOrientation: (value: NgpOrientation) => void;
31
+ } | null>;
32
+ (options?: {
33
+ hoisted?: boolean;
34
+ }): Signal<{
35
+ orientation: WritableSignal<NgpOrientation>;
36
+ setOrientation: (value: NgpOrientation) => void;
37
+ } | null>;
38
+ };
39
+ declare const provideToolbarState: (opts?: {
40
+ inherit?: boolean;
41
+ }) => _angular_core.FactoryProvider;
32
42
 
33
43
  export { NgpToolbar, injectToolbarState, provideToolbarState };
package/utils/index.d.ts CHANGED
@@ -19,6 +19,7 @@ interface NgpControlStatus {
19
19
  /**
20
20
  * A utility function to get the status of an Angular form control as a reactive signal.
21
21
  * This function injects the NgControl and returns a signal that reflects the control's status.
22
+ * It supports both classic reactive forms controls and signal-forms interop controls.
22
23
  * @internal
23
24
  */
24
25
  declare function controlStatus(): Signal<NgpControlStatus>;