@radix-ng/primitives 1.0.0-beta.5 → 1.0.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.
Files changed (50) hide show
  1. package/composite/README.md +3 -0
  2. package/fesm2022/radix-ng-primitives-accordion.mjs +12 -36
  3. package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
  4. package/fesm2022/radix-ng-primitives-composite.mjs +515 -0
  5. package/fesm2022/radix-ng-primitives-composite.mjs.map +1 -0
  6. package/fesm2022/radix-ng-primitives-drawer.mjs +442 -2
  7. package/fesm2022/radix-ng-primitives-drawer.mjs.map +1 -1
  8. package/fesm2022/radix-ng-primitives-menu.mjs +38 -16
  9. package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
  10. package/fesm2022/radix-ng-primitives-menubar.mjs +68 -36
  11. package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
  12. package/fesm2022/radix-ng-primitives-navigation-menu.mjs +281 -88
  13. package/fesm2022/radix-ng-primitives-navigation-menu.mjs.map +1 -1
  14. package/fesm2022/radix-ng-primitives-popover.mjs +40 -15
  15. package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
  16. package/fesm2022/radix-ng-primitives-popper.mjs +73 -65
  17. package/fesm2022/radix-ng-primitives-popper.mjs.map +1 -1
  18. package/fesm2022/radix-ng-primitives-radio.mjs +63 -27
  19. package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
  20. package/fesm2022/radix-ng-primitives-roving-focus.mjs +40 -8
  21. package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +1 -1
  22. package/fesm2022/radix-ng-primitives-scroll-area.mjs +56 -25
  23. package/fesm2022/radix-ng-primitives-scroll-area.mjs.map +1 -1
  24. package/fesm2022/radix-ng-primitives-select.mjs +3 -0
  25. package/fesm2022/radix-ng-primitives-select.mjs.map +1 -1
  26. package/fesm2022/radix-ng-primitives-tabs.mjs +50 -21
  27. package/fesm2022/radix-ng-primitives-tabs.mjs.map +1 -1
  28. package/fesm2022/radix-ng-primitives-toggle-group.mjs +66 -21
  29. package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
  30. package/fesm2022/radix-ng-primitives-toggle.mjs +29 -11
  31. package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
  32. package/fesm2022/radix-ng-primitives-toolbar.mjs +50 -24
  33. package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -1
  34. package/navigation-menu/README.md +5 -2
  35. package/package.json +5 -1
  36. package/types/radix-ng-primitives-accordion.d.ts +9 -13
  37. package/types/radix-ng-primitives-composite.d.ts +152 -0
  38. package/types/radix-ng-primitives-drawer.d.ts +40 -2
  39. package/types/radix-ng-primitives-menu.d.ts +5 -3
  40. package/types/radix-ng-primitives-menubar.d.ts +10 -5
  41. package/types/radix-ng-primitives-navigation-menu.d.ts +65 -33
  42. package/types/radix-ng-primitives-popover.d.ts +9 -5
  43. package/types/radix-ng-primitives-popper.d.ts +1 -0
  44. package/types/radix-ng-primitives-radio.d.ts +11 -9
  45. package/types/radix-ng-primitives-roving-focus.d.ts +15 -1
  46. package/types/radix-ng-primitives-scroll-area.d.ts +4 -1
  47. package/types/radix-ng-primitives-tabs.d.ts +8 -5
  48. package/types/radix-ng-primitives-toggle-group.d.ts +27 -16
  49. package/types/radix-ng-primitives-toggle.d.ts +5 -5
  50. package/types/radix-ng-primitives-toolbar.d.ts +22 -14
@@ -1,11 +1,11 @@
1
- import * as _radix_ng_primitives_core from '@radix-ng/primitives/core';
2
- import { DataOrientation, BooleanInput, RdxCancelableChangeEventDetails } from '@radix-ng/primitives/core';
3
1
  import * as _angular_core from '@angular/core';
4
2
  import { Signal } from '@angular/core';
5
- import * as i1 from '@radix-ng/primitives/roving-focus';
6
- import { Direction } from '@radix-ng/primitives/roving-focus';
3
+ import * as _radix_ng_primitives_core from '@radix-ng/primitives/core';
4
+ import { DataOrientation, RdxCancelableChangeEventDetails, BooleanInput, Direction } from '@radix-ng/primitives/core';
7
5
  import { ControlValueAccessor } from '@angular/forms';
6
+ import * as i1 from '@radix-ng/primitives/composite';
8
7
 
8
+ type RdxToggleGroupContextChangeReason = 'none';
9
9
  /**
10
10
  * Shared state a {@link RdxToggle} reads when it participates in a toggle group.
11
11
  */
@@ -14,17 +14,17 @@ interface RdxToggleGroupContext {
14
14
  readonly value: Signal<string[]>;
15
15
  /** Whether the whole group is disabled. */
16
16
  readonly disabled: Signal<boolean>;
17
- /** Whether more than one item can be pressed at a time. */
18
- readonly multiple: Signal<boolean>;
19
17
  /** The orientation of the group. */
20
18
  readonly orientation: Signal<DataOrientation>;
19
+ /** Whether the group value was initialized by `value` or `defaultValue`. */
20
+ readonly isValueInitialized: Signal<boolean>;
21
21
  /** Toggle the pressed state of `value` within the group. */
22
- toggle(value: string, event?: Event): void;
22
+ toggle(value: string, event?: Event, eventDetails?: RdxCancelableChangeEventDetails<RdxToggleGroupContextChangeReason>): void;
23
23
  }
24
24
  declare const injectToggleGroupContext: _radix_ng_primitives_core.InjectContext<RdxToggleGroupContext>;
25
25
  declare const provideToggleGroupContext: (useFactory: () => RdxToggleGroupContext) => _angular_core.Provider;
26
26
 
27
- type RdxToggleGroupValueChangeReason = 'trigger-press' | 'none';
27
+ type RdxToggleGroupValueChangeReason = 'none';
28
28
  type RdxToggleGroupValueChangeEventDetails = RdxCancelableChangeEventDetails<RdxToggleGroupValueChangeReason>;
29
29
  interface RdxToggleGroupValueChangeEvent {
30
30
  value: string[];
@@ -33,7 +33,7 @@ interface RdxToggleGroupValueChangeEvent {
33
33
  /** Builds the shared context a {@link RdxToggle} reads when it belongs to this group. */
34
34
  declare function toggleGroupContext(instance: RdxToggleGroupBase): RdxToggleGroupContext;
35
35
  /**
36
- * Shared state and behavior for the toggle group. Concrete directives add the roving-focus group
36
+ * Shared state and behavior for the toggle group. Concrete directives add the composite root
37
37
  * ({@link RdxToggleGroup}) or omit it when an ancestor already owns focus, e.g. a toolbar
38
38
  * ({@link RdxToggleGroupWithoutFocus}).
39
39
  */
@@ -67,14 +67,18 @@ declare abstract class RdxToggleGroupBase implements ControlValueAccessor {
67
67
  readonly onValueChange: _angular_core.OutputEmitterRef<RdxToggleGroupValueChangeEvent>;
68
68
  /** @ignore */
69
69
  readonly pressedValues: _angular_core.Signal<string[]>;
70
+ /** @ignore */
71
+ readonly isValueInitialized: _angular_core.Signal<boolean>;
70
72
  protected readonly accessorDisabled: _angular_core.WritableSignal<boolean>;
71
73
  /** @ignore */
72
74
  readonly isDisabled: _angular_core.Signal<boolean>;
73
75
  private onChange?;
74
76
  protected onTouched?: () => void;
75
77
  constructor();
78
+ /** @ignore Extra disabled state inherited from composite parents such as Toolbar. */
79
+ protected isExternallyDisabled(): boolean;
76
80
  /** @ignore */
77
- toggle(value: string, event?: Event): void;
81
+ toggle(value: string, event?: Event, eventDetails?: RdxToggleGroupValueChangeEventDetails): void;
78
82
  /** @ignore */
79
83
  writeValue(value: string[] | string | null): void;
80
84
  /** @ignore */
@@ -88,34 +92,41 @@ declare abstract class RdxToggleGroupBase implements ControlValueAccessor {
88
92
  }
89
93
 
90
94
  /**
91
- * A set of two-state buttons that can be toggled on or off. Owns roving keyboard focus over its
95
+ * A set of two-state buttons that can be toggled on or off. Owns composite keyboard focus over its
92
96
  * `[rdxToggle]` children.
93
97
  *
94
98
  * @see https://base-ui.com/react/components/toggle-group
95
99
  */
96
100
  declare class RdxToggleGroup extends RdxToggleGroupBase {
101
+ private readonly elementRef;
97
102
  /** Text direction for arrow-key navigation. */
98
103
  readonly dirInput: _angular_core.InputSignal<Direction | undefined>;
99
- readonly dir: _angular_core.Signal<_radix_ng_primitives_core.Direction>;
104
+ readonly dir: _angular_core.Signal<Direction>;
100
105
  /**
101
106
  * Whether keyboard navigation should loop from the last item back to the first.
102
107
  *
103
108
  * @default true
104
109
  */
105
110
  readonly loopFocus: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
106
- private readonly rovingFocusGroup;
111
+ private readonly compositeRoot;
112
+ private readonly itemMetadata;
113
+ private readonly disabledIndices;
114
+ private readonly activeIndex;
107
115
  constructor();
108
116
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxToggleGroup, never>;
109
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToggleGroup, "[rdxToggleGroup]", ["rdxToggleGroup"], { "dirInput": { "alias": "dir"; "required": false; "isSignal": true; }; "loopFocus": { "alias": "loopFocus"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.RdxRovingFocusGroupDirective; inputs: {}; outputs: {}; }]>;
117
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToggleGroup, "[rdxToggleGroup]", ["rdxToggleGroup"], { "dirInput": { "alias": "dir"; "required": false; "isSignal": true; }; "loopFocus": { "alias": "loopFocus"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.RdxCompositeRoot; inputs: {}; outputs: {}; }]>;
110
118
  }
111
119
 
112
120
  /**
113
- * A toggle group that does NOT create its own roving-focus group, for use inside a container that
121
+ * A toggle group that does NOT create its own composite root, for use inside a container that
114
122
  * already owns keyboard focus (e.g. a toolbar). The `[rdxToggle]` children register with the nearest
115
- * ancestor roving-focus group instead. Mirrors Base UI's behavior of skipping its composite root
123
+ * ancestor composite root instead. Mirrors Base UI's behavior of skipping its composite root
116
124
  * when nested in a toolbar.
117
125
  */
118
126
  declare class RdxToggleGroupWithoutFocus extends RdxToggleGroupBase {
127
+ private readonly toolbarRootContext;
128
+ private readonly toolbarGroupContext;
129
+ protected isExternallyDisabled(): boolean;
119
130
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxToggleGroupWithoutFocus, never>;
120
131
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToggleGroupWithoutFocus, "[rdxToggleGroupWithoutFocus]", ["rdxToggleGroupWithoutFocus"], {}, {}, never, never, true, never>;
121
132
  }
@@ -1,9 +1,9 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { BooleanInput, RdxCancelableChangeEventDetails } from '@radix-ng/primitives/core';
3
- import * as i1 from '@radix-ng/primitives/roving-focus';
3
+ import * as i1 from '@radix-ng/primitives/composite';
4
4
  import * as i1$1 from '@radix-ng/primitives/visually-hidden';
5
5
 
6
- type RdxTogglePressedChangeReason = 'trigger-press' | 'none';
6
+ type RdxTogglePressedChangeReason = 'none';
7
7
  type RdxTogglePressedChangeEventDetails = RdxCancelableChangeEventDetails<RdxTogglePressedChangeReason>;
8
8
  interface RdxTogglePressedChangeEvent {
9
9
  pressed: boolean;
@@ -13,13 +13,13 @@ interface RdxTogglePressedChangeEvent {
13
13
  * A two-state button that can be either on (pressed) or off.
14
14
  *
15
15
  * Works standalone or as an item of a `[rdxToggleGroup]`: inside a group it derives its pressed
16
- * state from the group's value (matched by `value`) and participates in the group's roving focus.
16
+ * state from the group's value (matched by `value`) and participates in the group's composite focus.
17
17
  *
18
18
  * @see https://base-ui.com/react/components/toggle
19
19
  */
20
20
  declare class RdxToggle {
21
21
  private readonly group;
22
- private readonly rovingItem;
22
+ private readonly compositeItem;
23
23
  /**
24
24
  * A value identifying this toggle inside a `[rdxToggleGroup]`. Required when used in a group.
25
25
  */
@@ -60,7 +60,7 @@ declare class RdxToggle {
60
60
  /** @ignore */
61
61
  protected onKeyDown(event: KeyboardEvent): void;
62
62
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxToggle, never>;
63
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToggle, "[rdxToggle]", ["rdxToggle"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultPressed": { "alias": "defaultPressed"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "nativeButton": { "alias": "nativeButton"; "required": false; "isSignal": true; }; }, { "pressed": "pressedChange"; "onPressedChange": "onPressedChange"; }, never, never, true, [{ directive: typeof i1.RdxRovingFocusItemDirective; inputs: {}; outputs: {}; }]>;
63
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToggle, "[rdxToggle]", ["rdxToggle"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultPressed": { "alias": "defaultPressed"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "nativeButton": { "alias": "nativeButton"; "required": false; "isSignal": true; }; }, { "pressed": "pressedChange"; "onPressedChange": "onPressedChange"; }, never, never, true, [{ directive: typeof i1.RdxCompositeItem; inputs: {}; outputs: {}; }]>;
64
64
  }
65
65
 
66
66
  declare class RdxToggleVisuallyHiddenInputDirective {
@@ -2,9 +2,8 @@ import * as _angular_core from '@angular/core';
2
2
  import { Signal } from '@angular/core';
3
3
  import * as i1 from '@radix-ng/primitives/separator';
4
4
  import * as _radix_ng_primitives_core from '@radix-ng/primitives/core';
5
- import { DataOrientation, BooleanInput } from '@radix-ng/primitives/core';
6
- import * as i1$1 from '@radix-ng/primitives/roving-focus';
7
- import { Direction } from '@radix-ng/primitives/roving-focus';
5
+ import { DataOrientation, Direction, BooleanInput } from '@radix-ng/primitives/core';
6
+ import * as i1$1 from '@radix-ng/primitives/composite';
8
7
  import * as _radix_ng_primitives_toolbar from '@radix-ng/primitives/toolbar';
9
8
 
10
9
  /**
@@ -19,7 +18,7 @@ declare class RdxToolbarSeparator {
19
18
 
20
19
  /**
21
20
  * A container for grouping a set of controls, such as buttons, toggle groups or menus.
22
- * Owns roving keyboard focus over its items.
21
+ * Owns composite keyboard focus over its items.
23
22
  *
24
23
  * @see https://base-ui.com/react/components/toolbar
25
24
  */
@@ -32,7 +31,7 @@ declare class RdxToolbarRoot {
32
31
  readonly orientation: _angular_core.InputSignal<DataOrientation>;
33
32
  /** Text direction for arrow-key navigation. */
34
33
  readonly dirInput: _angular_core.InputSignal<Direction | undefined>;
35
- readonly dir: _angular_core.Signal<_radix_ng_primitives_core.Direction>;
34
+ readonly dir: _angular_core.Signal<Direction>;
36
35
  /**
37
36
  * Whether keyboard navigation should loop from the last item back to the first.
38
37
  *
@@ -45,10 +44,17 @@ declare class RdxToolbarRoot {
45
44
  * @default false
46
45
  */
47
46
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
48
- private readonly rovingFocusGroup;
47
+ private readonly compositeRoot;
48
+ private readonly itemMetadata;
49
+ private readonly disabledIndices;
49
50
  constructor();
50
51
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxToolbarRoot, never>;
51
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToolbarRoot, "[rdxToolbarRoot]", ["rdxToolbarRoot"], { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "dirInput": { "alias": "dir"; "required": false; "isSignal": true; }; "loopFocus": { "alias": "loopFocus"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1$1.RdxRovingFocusGroupDirective; inputs: {}; outputs: {}; }]>;
52
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToolbarRoot, "[rdxToolbarRoot]", ["rdxToolbarRoot"], { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "dirInput": { "alias": "dir"; "required": false; "isSignal": true; }; "loopFocus": { "alias": "loopFocus"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1$1.RdxCompositeRoot; inputs: {}; outputs: {}; }]>;
53
+ }
54
+ interface RdxToolbarItemMetadata {
55
+ [key: string]: unknown;
56
+ disabled: boolean;
57
+ focusableWhenDisabled: boolean;
52
58
  }
53
59
 
54
60
  /**
@@ -59,7 +65,7 @@ declare class RdxToolbarRoot {
59
65
  declare class RdxToolbarButton {
60
66
  protected readonly rootContext: _radix_ng_primitives_toolbar.RdxToolbarRootContext;
61
67
  private readonly groupContext;
62
- private readonly rovingItem;
68
+ private readonly compositeItem;
63
69
  /**
64
70
  * Whether the button is disabled.
65
71
  *
@@ -85,7 +91,7 @@ declare class RdxToolbarButton {
85
91
  /** @ignore */
86
92
  protected onClick(event: Event): void;
87
93
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxToolbarButton, never>;
88
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToolbarButton, "[rdxToolbarButton]", ["rdxToolbarButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; "nativeButton": { "alias": "nativeButton"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1$1.RdxRovingFocusItemDirective; inputs: {}; outputs: {}; }]>;
94
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToolbarButton, "[rdxToolbarButton]", ["rdxToolbarButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; "nativeButton": { "alias": "nativeButton"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1$1.RdxCompositeItem; inputs: {}; outputs: {}; }]>;
89
95
  }
90
96
 
91
97
  /**
@@ -95,14 +101,16 @@ declare class RdxToolbarButton {
95
101
  */
96
102
  declare class RdxToolbarLink {
97
103
  protected readonly rootContext: _radix_ng_primitives_toolbar.RdxToolbarRootContext;
104
+ private readonly compositeItem;
105
+ constructor();
98
106
  /** @ignore Space activates a link, matching native button behavior in a toolbar. */
99
107
  protected onKeyDown(event: KeyboardEvent): void;
100
108
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxToolbarLink, never>;
101
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToolbarLink, "[rdxToolbarLink]", ["rdxToolbarLink"], {}, {}, never, never, true, [{ directive: typeof i1$1.RdxRovingFocusItemDirective; inputs: {}; outputs: {}; }]>;
109
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToolbarLink, "[rdxToolbarLink]", ["rdxToolbarLink"], {}, {}, never, never, true, [{ directive: typeof i1$1.RdxCompositeItem; inputs: {}; outputs: {}; }]>;
102
110
  }
103
111
 
104
112
  /**
105
- * A native input within a toolbar. Participates in the toolbar's roving focus while keeping native
113
+ * A native input within a toolbar. Participates in the toolbar's composite focus while keeping native
106
114
  * text-editing: the arrow keys move the caret within the text and only move focus to the
107
115
  * neighbouring toolbar item once the caret is at the corresponding edge (Base UI "composite" input).
108
116
  *
@@ -111,7 +119,7 @@ declare class RdxToolbarLink {
111
119
  declare class RdxToolbarInput {
112
120
  protected readonly rootContext: _radix_ng_primitives_toolbar.RdxToolbarRootContext;
113
121
  private readonly groupContext;
114
- private readonly rovingItem;
122
+ private readonly compositeItem;
115
123
  private readonly elementRef;
116
124
  private readonly isBrowser;
117
125
  /** The initial value of the uncontrolled input. */
@@ -134,7 +142,7 @@ declare class RdxToolbarInput {
134
142
  constructor();
135
143
  private handleCaretKeydown;
136
144
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxToolbarInput, never>;
137
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToolbarInput, "input[rdxToolbarInput]", ["rdxToolbarInput"], { "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1$1.RdxRovingFocusItemDirective; inputs: {}; outputs: {}; }]>;
145
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxToolbarInput, "input[rdxToolbarInput]", ["rdxToolbarInput"], { "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1$1.RdxCompositeItem; inputs: {}; outputs: {}; }]>;
138
146
  }
139
147
 
140
148
  /**
@@ -179,4 +187,4 @@ declare class RdxToolbarModule {
179
187
  }
180
188
 
181
189
  export { RdxToolbarButton, RdxToolbarGroup, RdxToolbarInput, RdxToolbarLink, RdxToolbarModule, RdxToolbarRoot, RdxToolbarSeparator, injectToolbarGroupContext, injectToolbarRootContext, provideToolbarGroupContext, provideToolbarRootContext, toolbarImports };
182
- export type { RdxToolbarGroupContext, RdxToolbarRootContext };
190
+ export type { RdxToolbarGroupContext, RdxToolbarItemMetadata, RdxToolbarRootContext };