@radix-ng/primitives 0.18.2 → 0.20.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 (96) hide show
  1. package/avatar/index.d.ts +1 -2
  2. package/avatar/src/avatar-fallback.directive.d.ts +11 -23
  3. package/avatar/src/avatar-image.directive.d.ts +10 -14
  4. package/avatar/src/avatar-root.directive.d.ts +5 -15
  5. package/checkbox/index.d.ts +11 -0
  6. package/checkbox/src/checkbox-button.directive.d.ts +1 -1
  7. package/checkbox/src/checkbox-indicator.directive.d.ts +1 -1
  8. package/checkbox/src/checkbox-input.directive.d.ts +1 -1
  9. package/checkbox/src/checkbox.directive.d.ts +1 -1
  10. package/compodoc/documentation.json +9385 -4858
  11. package/core/index.d.ts +2 -0
  12. package/core/src/control-value-accessor/index.d.ts +75 -0
  13. package/core/src/create-inject-context/assert-injector.d.ts +51 -0
  14. package/core/src/create-inject-context/index.d.ts +68 -0
  15. package/core/src/types.d.ts +23 -0
  16. package/esm2022/avatar/index.mjs +1 -1
  17. package/esm2022/avatar/src/avatar-fallback.directive.mjs +38 -40
  18. package/esm2022/avatar/src/avatar-image.directive.mjs +25 -26
  19. package/esm2022/avatar/src/avatar-root.directive.mjs +13 -25
  20. package/esm2022/checkbox/index.mjs +31 -1
  21. package/esm2022/checkbox/src/checkbox-button.directive.mjs +3 -3
  22. package/esm2022/checkbox/src/checkbox-indicator.directive.mjs +3 -3
  23. package/esm2022/checkbox/src/checkbox-input.directive.mjs +3 -3
  24. package/esm2022/checkbox/src/checkbox.directive.mjs +3 -3
  25. package/esm2022/core/index.mjs +3 -1
  26. package/esm2022/core/src/control-value-accessor/index.mjs +103 -0
  27. package/esm2022/core/src/create-inject-context/assert-injector.mjs +15 -0
  28. package/esm2022/core/src/create-inject-context/index.mjs +116 -0
  29. package/esm2022/core/src/types.mjs +2 -0
  30. package/esm2022/popover/index.mjs +41 -0
  31. package/esm2022/popover/radix-ng-primitives-popover.mjs +5 -0
  32. package/esm2022/popover/src/popover-arrow.directive.mjs +112 -0
  33. package/esm2022/popover/src/popover-arrow.token.mjs +3 -0
  34. package/esm2022/popover/src/popover-close.directive.mjs +37 -0
  35. package/esm2022/popover/src/popover-content.directive.mjs +227 -0
  36. package/esm2022/popover/src/popover-root.directive.mjs +142 -0
  37. package/esm2022/popover/src/popover-root.inject.mjs +7 -0
  38. package/esm2022/popover/src/popover-root.token.mjs +3 -0
  39. package/esm2022/popover/src/popover-trigger.directive.mjs +42 -0
  40. package/esm2022/popover/src/popover.constants.mjs +90 -0
  41. package/esm2022/popover/src/popover.types.mjs +14 -0
  42. package/esm2022/popover/src/popover.utils.mjs +115 -0
  43. package/esm2022/radio/index.mjs +2 -1
  44. package/esm2022/radio/src/radio-item-input.directive.mjs +37 -0
  45. package/esm2022/radio/src/radio-item.directive.mjs +55 -39
  46. package/esm2022/radio/src/radio-root.directive.mjs +30 -120
  47. package/esm2022/radio/src/radio-tokens.mjs +1 -1
  48. package/esm2022/roving-focus/index.mjs +3 -0
  49. package/esm2022/roving-focus/radix-ng-primitives-roving-focus.mjs +5 -0
  50. package/esm2022/roving-focus/src/roving-focus-group.directive.mjs +138 -0
  51. package/esm2022/roving-focus/src/roving-focus-item.directive.mjs +133 -0
  52. package/esm2022/roving-focus/src/utils.mjs +47 -0
  53. package/esm2022/select/src/select-item.directive.mjs +8 -2
  54. package/esm2022/toggle/src/toggle-input.directive.mjs +4 -3
  55. package/fesm2022/radix-ng-primitives-avatar.mjs +70 -85
  56. package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
  57. package/fesm2022/radix-ng-primitives-checkbox.mjs +35 -10
  58. package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
  59. package/fesm2022/radix-ng-primitives-core.mjs +230 -3
  60. package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
  61. package/fesm2022/radix-ng-primitives-popover.mjs +796 -0
  62. package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -0
  63. package/fesm2022/radix-ng-primitives-radio.mjs +145 -186
  64. package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
  65. package/fesm2022/radix-ng-primitives-roving-focus.mjs +320 -0
  66. package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +1 -0
  67. package/fesm2022/radix-ng-primitives-select.mjs +7 -1
  68. package/fesm2022/radix-ng-primitives-select.mjs.map +1 -1
  69. package/fesm2022/radix-ng-primitives-toggle.mjs +3 -2
  70. package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
  71. package/package.json +18 -6
  72. package/popover/README.md +3 -0
  73. package/popover/index.d.ts +17 -0
  74. package/popover/src/popover-arrow.directive.d.ts +37 -0
  75. package/popover/src/popover-arrow.token.d.ts +3 -0
  76. package/popover/src/popover-close.directive.d.ts +15 -0
  77. package/popover/src/popover-content.directive.d.ts +84 -0
  78. package/popover/src/popover-root.directive.d.ts +58 -0
  79. package/popover/src/popover-root.inject.d.ts +2 -0
  80. package/popover/src/popover-root.token.d.ts +3 -0
  81. package/popover/src/popover-trigger.directive.d.ts +18 -0
  82. package/popover/src/popover.constants.d.ts +8 -0
  83. package/popover/src/popover.types.d.ts +34 -0
  84. package/popover/src/popover.utils.d.ts +12 -0
  85. package/radio/index.d.ts +1 -0
  86. package/radio/src/radio-item-input.directive.d.ts +12 -0
  87. package/radio/src/radio-item.directive.d.ts +23 -14
  88. package/radio/src/radio-root.directive.d.ts +19 -34
  89. package/radio/src/radio-tokens.d.ts +6 -4
  90. package/roving-focus/README.md +3 -0
  91. package/roving-focus/index.d.ts +3 -0
  92. package/roving-focus/src/roving-focus-group.directive.d.ts +50 -0
  93. package/roving-focus/src/roving-focus-item.directive.d.ts +50 -0
  94. package/roving-focus/src/utils.d.ts +19 -0
  95. package/select/src/select-item.directive.d.ts +7 -1
  96. package/toggle/src/toggle-input.directive.d.ts +1 -1
@@ -1,21 +1,30 @@
1
- import { FocusableOption } from '@angular/cdk/a11y';
2
- import { ElementRef, InjectionToken, OnInit } from '@angular/core';
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import { InjectionToken, OnInit } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
+ import * as i1 from "@radix-ng/primitives/roving-focus";
4
5
  export declare const RdxRadioItemToken: InjectionToken<RdxRadioItemDirective>;
5
6
  export declare function injectRadioItem(): RdxRadioItemDirective;
6
- export declare class RdxRadioItemDirective implements FocusableOption, OnInit {
7
+ export declare class RdxRadioItemDirective implements OnInit {
7
8
  private readonly radioGroup;
8
- readonly element: ElementRef<any>;
9
- id: string;
10
- value: string;
11
- disabled: boolean;
12
- get tabIndex(): number;
13
- get checked(): boolean;
9
+ private readonly elementRef;
10
+ readonly value: import("@angular/core").InputSignal<string>;
11
+ readonly id: import("@angular/core").InputSignal<string | undefined>;
12
+ readonly required: import("@angular/core").InputSignal<boolean | undefined>;
13
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
14
+ protected readonly disabledState: import("@angular/core").Signal<boolean>;
15
+ readonly checkedState: import("@angular/core").Signal<boolean>;
16
+ private readonly ARROW_KEYS;
17
+ private readonly isArrowKeyPressedSignal;
18
+ /** @ignore */
14
19
  ngOnInit(): void;
15
- focus(): void;
16
- _onClick(): void;
17
- _onBlur(): void;
20
+ /** @ignore */
21
+ onClick(): void;
22
+ /** @ignore */
23
+ onKeyDown(event: KeyboardEvent): void;
24
+ /** @ignore */
25
+ onKeyUp(): void;
26
+ /** @ignore */
27
+ onFocus(): void;
18
28
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxRadioItemDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxRadioItemDirective, "[rdxRadioItem]", ["rdxRadioItem"], { "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
20
- static ngAcceptInputType_disabled: unknown;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxRadioItemDirective, "[rdxRadioItem]", ["rdxRadioItem"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.RdxRovingFocusItemDirective; inputs: { "tabStopId": "id"; "focusable": "focusable"; "active": "active"; "allowShiftKey": "allowShiftKey"; }; outputs: {}; }]>;
21
30
  }
@@ -1,72 +1,57 @@
1
- import { AfterContentInit, EventEmitter, OnDestroy, QueryList } from '@angular/core';
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { RdxRadioItemDirective } from './radio-item.directive';
3
+ import { Orientation } from '@radix-ng/primitives/roving-focus';
4
4
  import { RadioGroupDirective, RadioGroupProps } from './radio-tokens';
5
5
  import * as i0 from "@angular/core";
6
- export declare class RdxRadioGroupDirective implements RadioGroupProps, RadioGroupDirective, ControlValueAccessor, AfterContentInit, OnDestroy {
7
- radioItems: QueryList<RdxRadioItemDirective>;
8
- private focusKeyManager;
9
- private destroy$;
10
- name?: string | undefined;
11
- value?: string;
12
- disabled: boolean;
13
- dir?: string;
6
+ import * as i1 from "@radix-ng/primitives/roving-focus";
7
+ export declare class RdxRadioGroupDirective implements RadioGroupProps, RadioGroupDirective, ControlValueAccessor {
8
+ readonly value: import("@angular/core").ModelSignal<string | null>;
9
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
14
10
  defaultValue?: string;
15
- /**
16
- * The orientation of the radio group only vertical.
17
- * Horizontal radio buttons can sometimes be challenging to scan and localize.
18
- * The horizontal arrangement of radio buttons may also lead to difficulties in determining which
19
- * label corresponds to which button: whether the label is above or below the button.
20
- * @default 'vertical'
21
- */
22
- readonly _orientation = "vertical";
11
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
12
+ readonly orientation: import("@angular/core").InputSignal<Orientation | undefined>;
23
13
  /**
24
14
  * Event handler called when the value changes.
25
15
  */
26
- readonly onValueChange: EventEmitter<string>;
16
+ readonly onValueChange: import("@angular/core").OutputEmitterRef<string>;
17
+ private readonly disable;
18
+ readonly disableState: import("@angular/core").Signal<boolean>;
27
19
  /**
28
20
  * The callback function to call when the value of the radio group changes.
29
21
  */
30
22
  private onChange;
31
23
  /**
32
24
  * The callback function to call when the radio group is touched.
25
+ * @ignore
33
26
  */
34
27
  onTouched: () => void;
35
- ngAfterContentInit(): void;
36
- ngOnDestroy(): void;
37
28
  /**
38
29
  * Select a radio item.
39
30
  * @param value The value of the radio item to select.
31
+ * @ignore
40
32
  */
41
33
  select(value: string): void;
42
34
  /**
43
35
  * Update the value of the radio group.
44
36
  * @param value The new value of the radio group.
45
- * @internal
37
+ * @ignore
46
38
  */
47
39
  writeValue(value: string): void;
48
40
  /**
49
41
  * Register a callback function to call when the value of the radio group changes.
50
42
  * @param fn The callback function to call when the value of the radio group changes.
51
- * @internal
43
+ * @ignore
52
44
  */
53
45
  registerOnChange(fn: (value: string) => void): void;
46
+ /** @ignore */
54
47
  registerOnTouched(fn: () => void): void;
55
48
  /**
56
49
  * Set the disabled state of the radio group.
57
50
  * @param isDisabled Whether the radio group is disabled.
58
- * @internal
51
+ * @ignore
59
52
  */
60
53
  setDisabledState(isDisabled: boolean): void;
61
- /**
62
- * When focus leaves the radio group.
63
- */
64
- protected onFocusin(event: FocusEvent): void;
65
- protected onKeydown(event: KeyboardEvent): void;
66
- private selectFocusedItem;
67
- private updateActiveItem;
68
- private tabNavigation;
54
+ protected onKeydown(): void;
69
55
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxRadioGroupDirective, never>;
70
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxRadioGroupDirective, "[rdxRadioRoot]", ["rdxRadioRoot"], { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; }, { "onValueChange": "onValueChange"; }, ["radioItems"], never, true, never>;
71
- static ngAcceptInputType_disabled: unknown;
56
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxRadioGroupDirective, "[rdxRadioRoot]", ["rdxRadioRoot"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "onValueChange": "onValueChange"; }, never, never, true, [{ directive: typeof i1.RdxRovingFocusGroupDirective; inputs: { "dir": "dir"; "orientation": "orientation"; "loop": "loop"; }; outputs: {}; }]>;
72
57
  }
@@ -1,12 +1,14 @@
1
- import { InjectionToken } from '@angular/core';
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import { InjectionToken, InputSignalWithTransform, ModelSignal, Signal } from '@angular/core';
2
3
  export interface RadioGroupProps {
3
4
  name?: string;
4
- disabled?: boolean;
5
+ disabled?: InputSignalWithTransform<boolean, BooleanInput>;
5
6
  defaultValue?: string;
6
- value?: string;
7
+ value: ModelSignal<string | null>;
8
+ disableState: Signal<boolean>;
7
9
  }
8
10
  export interface RadioGroupDirective extends RadioGroupProps {
9
- select(value: string): void;
11
+ select(value: string | null): void;
10
12
  onTouched(): void;
11
13
  }
12
14
  export declare const RDX_RADIO_GROUP: InjectionToken<RadioGroupDirective>;
@@ -0,0 +1,3 @@
1
+ # @radix-ng/primitives/roving-focus
2
+
3
+ Secondary entry point of `@radix-ng/primitives`.
@@ -0,0 +1,3 @@
1
+ export * from './src/roving-focus-group.directive';
2
+ export * from './src/roving-focus-item.directive';
3
+ export type { Direction, Orientation } from './src/utils';
@@ -0,0 +1,50 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Direction, Orientation } from './utils';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RdxRovingFocusGroupDirective {
5
+ private readonly ngZone;
6
+ private readonly elementRef;
7
+ orientation: Orientation | undefined;
8
+ dir: Direction;
9
+ loop: boolean;
10
+ preventScrollOnEntryFocus: boolean;
11
+ entryFocus: EventEmitter<Event>;
12
+ currentTabStopIdChange: EventEmitter<string | null>;
13
+ /** @ignore */
14
+ readonly currentTabStopId: import("@angular/core").WritableSignal<string | null>;
15
+ /** @ignore */
16
+ readonly focusableItems: import("@angular/core").WritableSignal<HTMLElement[]>;
17
+ private readonly isClickFocus;
18
+ private readonly isTabbingBackOut;
19
+ private readonly focusableItemsCount;
20
+ /** @ignore */
21
+ get dataOrientation(): Orientation;
22
+ /** @ignore */
23
+ get tabIndex(): 0 | -1;
24
+ /** @ignore */
25
+ handleBlur(): void;
26
+ /** @ignore */
27
+ handleMouseUp(): void;
28
+ /** @ignore */
29
+ handleFocus(event: FocusEvent): void;
30
+ /** @ignore */
31
+ handleMouseDown(): void;
32
+ /** @ignore */
33
+ onItemFocus(tabStopId: string): void;
34
+ /** @ignore */
35
+ onItemShiftTab(): void;
36
+ /** @ignore */
37
+ onFocusableItemAdd(): void;
38
+ /** @ignore */
39
+ onFocusableItemRemove(): void;
40
+ /** @ignore */
41
+ registerItem(item: HTMLElement): void;
42
+ /** @ignore */
43
+ unregisterItem(item: HTMLElement): void;
44
+ /** @ignore */
45
+ getFocusableItemsCount(): number;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxRovingFocusGroupDirective, never>;
47
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxRovingFocusGroupDirective, "[rdxRovingFocusGroup]", never, { "orientation": { "alias": "orientation"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "loop": { "alias": "loop"; "required": false; }; "preventScrollOnEntryFocus": { "alias": "preventScrollOnEntryFocus"; "required": false; }; }, { "entryFocus": "entryFocus"; "currentTabStopIdChange": "currentTabStopIdChange"; }, never, never, true, never>;
48
+ static ngAcceptInputType_loop: unknown;
49
+ static ngAcceptInputType_preventScrollOnEntryFocus: unknown;
50
+ }
@@ -0,0 +1,50 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { RdxRovingFocusGroupDirective } from './roving-focus-group.directive';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RdxRovingFocusItemDirective implements OnInit, OnDestroy {
5
+ private readonly elementRef;
6
+ private readonly ngZone;
7
+ protected readonly parent: RdxRovingFocusGroupDirective;
8
+ focusable: boolean;
9
+ active: boolean;
10
+ tabStopId: string;
11
+ allowShiftKey: boolean;
12
+ private readonly id;
13
+ /** @ignore */
14
+ readonly isCurrentTabStop: import("@angular/core").Signal<boolean>;
15
+ /**
16
+ * Lifecycle hook triggered on initialization.
17
+ * Registers the element with the parent roving focus group if it is focusable.
18
+ * @ignore
19
+ */
20
+ ngOnInit(): void;
21
+ /**
22
+ * Lifecycle hook triggered on destruction.
23
+ * Unregisters the element from the parent roving focus group if it is focusable.
24
+ * @ignore
25
+ */
26
+ ngOnDestroy(): void;
27
+ /**
28
+ * Determines the `tabIndex` of the element.
29
+ * Returns `0` if the element is the current tab stop; otherwise, returns `-1`.
30
+ * @ignore
31
+ */
32
+ get tabIndex(): 0 | -1;
33
+ /** @ignore */
34
+ handleMouseDown(event: MouseEvent): void;
35
+ /** @ignore */
36
+ onFocus(): void;
37
+ /**
38
+ * Handles the `keydown` event for keyboard navigation within the roving focus group.
39
+ * Supports navigation based on orientation and direction, and focuses appropriate elements.
40
+ *
41
+ * @param event The `KeyboardEvent` object.
42
+ * @ignore
43
+ */
44
+ handleKeydown(event: KeyboardEvent): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxRovingFocusItemDirective, never>;
46
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxRovingFocusItemDirective, "[rdxRovingFocusItem]", never, { "focusable": { "alias": "focusable"; "required": false; }; "active": { "alias": "active"; "required": false; }; "tabStopId": { "alias": "tabStopId"; "required": false; }; "allowShiftKey": { "alias": "allowShiftKey"; "required": false; }; }, {}, never, never, true, never>;
47
+ static ngAcceptInputType_focusable: unknown;
48
+ static ngAcceptInputType_active: unknown;
49
+ static ngAcceptInputType_allowShiftKey: unknown;
50
+ }
@@ -0,0 +1,19 @@
1
+ export type Orientation = 'horizontal' | 'vertical';
2
+ export type Direction = 'ltr' | 'rtl';
3
+ export declare const ENTRY_FOCUS = "rovingFocusGroup.onEntryFocus";
4
+ export declare const EVENT_OPTIONS: {
5
+ bubbles: boolean;
6
+ cancelable: boolean;
7
+ };
8
+ type FocusIntent = 'first' | 'last' | 'prev' | 'next';
9
+ export declare const MAP_KEY_TO_FOCUS_INTENT: Record<string, FocusIntent>;
10
+ export declare function getDirectionAwareKey(key: string, dir?: Direction): string;
11
+ export declare function getFocusIntent(event: KeyboardEvent, orientation?: Orientation, dir?: Direction): FocusIntent | undefined;
12
+ export declare function focusFirst(candidates: HTMLElement[], preventScroll?: boolean, rootNode?: Document | ShadowRoot): void;
13
+ /**
14
+ * Wraps an array around itself at a given start index
15
+ * Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`
16
+ */
17
+ export declare function wrapArray<T>(array: T[], startIndex: number): T[];
18
+ export declare function generateId(): string;
19
+ export {};
@@ -30,15 +30,21 @@ export declare class RdxSelectItemDirective implements Highlightable {
30
30
  private _disabled;
31
31
  get viewValue(): string;
32
32
  constructor();
33
- /** Gets the label to be used when determining whether the option should be focused. */
33
+ /** Gets the label to be used when determining whether the option should be focused.
34
+ * @ignore
35
+ */
34
36
  getLabel(): string;
35
37
  /**
36
38
  * `Selects the option while indicating the selection came from the user. Used to
37
39
  * determine if the select's view -> model callback should be invoked.`
40
+ * @ignore
38
41
  */
39
42
  selectViaInteraction(): void;
43
+ /** @ignore */
40
44
  handleKeydown(event: KeyboardEvent): void;
45
+ /** @ignore */
41
46
  setActiveStyles(): void;
47
+ /** @ignore */
42
48
  setInactiveStyles(): void;
43
49
  protected onPointerMove(): void;
44
50
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectItemDirective, never>;
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "@radix-ng/primitives/visually-hidden";
3
3
  export declare class RdxToggleInputDirective {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxToggleInputDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToggleInputDirective, "[rdxToggleInput]", ["rdxToggleInput"], {}, {}, never, never, true, [{ directive: typeof i1.RdxVisuallyHiddenInputDirective; inputs: { "name": "name"; "required": "required"; }; outputs: {}; }]>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToggleInputDirective, "[rdxToggleInput]", ["rdxToggleInput"], {}, {}, never, never, true, [{ directive: typeof i1.RdxVisuallyHiddenInputDirective; inputs: { "name": "name"; "required": "required"; "value": "value"; }; outputs: {}; }]>;
6
6
  }