@radix-ng/primitives 0.50.0 → 1.0.0-beta.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 (207) hide show
  1. package/collection/README.md +1 -0
  2. package/fesm2022/radix-ng-primitives-accordion.mjs +134 -66
  3. package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
  4. package/fesm2022/radix-ng-primitives-alert-dialog.mjs +224 -132
  5. package/fesm2022/radix-ng-primitives-alert-dialog.mjs.map +1 -1
  6. package/fesm2022/radix-ng-primitives-arrow.mjs +26 -10
  7. package/fesm2022/radix-ng-primitives-arrow.mjs.map +1 -1
  8. package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +6 -6
  9. package/fesm2022/radix-ng-primitives-aspect-ratio.mjs.map +1 -1
  10. package/fesm2022/radix-ng-primitives-avatar.mjs +68 -75
  11. package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
  12. package/fesm2022/radix-ng-primitives-button.mjs +123 -0
  13. package/fesm2022/radix-ng-primitives-button.mjs.map +1 -0
  14. package/fesm2022/radix-ng-primitives-calendar.mjs +104 -103
  15. package/fesm2022/radix-ng-primitives-calendar.mjs.map +1 -1
  16. package/fesm2022/radix-ng-primitives-checkbox.mjs +414 -80
  17. package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
  18. package/fesm2022/radix-ng-primitives-collapsible.mjs +193 -92
  19. package/fesm2022/radix-ng-primitives-collapsible.mjs.map +1 -1
  20. package/fesm2022/radix-ng-primitives-collection.mjs +72 -0
  21. package/fesm2022/radix-ng-primitives-collection.mjs.map +1 -0
  22. package/fesm2022/radix-ng-primitives-config.mjs +5 -5
  23. package/fesm2022/radix-ng-primitives-config.mjs.map +1 -1
  24. package/fesm2022/radix-ng-primitives-context-menu.mjs +143 -427
  25. package/fesm2022/radix-ng-primitives-context-menu.mjs.map +1 -1
  26. package/fesm2022/radix-ng-primitives-core.mjs +757 -757
  27. package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
  28. package/fesm2022/radix-ng-primitives-cropper.mjs +55 -53
  29. package/fesm2022/radix-ng-primitives-cropper.mjs.map +1 -1
  30. package/fesm2022/radix-ng-primitives-date-field.mjs +93 -86
  31. package/fesm2022/radix-ng-primitives-date-field.mjs.map +1 -1
  32. package/fesm2022/radix-ng-primitives-dialog.mjs +658 -330
  33. package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
  34. package/fesm2022/radix-ng-primitives-dismissable-layer.mjs +98 -76
  35. package/fesm2022/radix-ng-primitives-dismissable-layer.mjs.map +1 -1
  36. package/fesm2022/radix-ng-primitives-drawer.mjs +1059 -0
  37. package/fesm2022/radix-ng-primitives-drawer.mjs.map +1 -0
  38. package/fesm2022/radix-ng-primitives-editable.mjs +20 -20
  39. package/fesm2022/radix-ng-primitives-editable.mjs.map +1 -1
  40. package/fesm2022/radix-ng-primitives-field.mjs +363 -0
  41. package/fesm2022/radix-ng-primitives-field.mjs.map +1 -0
  42. package/fesm2022/radix-ng-primitives-fieldset.mjs +79 -0
  43. package/fesm2022/radix-ng-primitives-fieldset.mjs.map +1 -0
  44. package/fesm2022/radix-ng-primitives-focus-guards.mjs +3 -3
  45. package/fesm2022/radix-ng-primitives-focus-guards.mjs.map +1 -1
  46. package/fesm2022/radix-ng-primitives-focus-scope.mjs +29 -14
  47. package/fesm2022/radix-ng-primitives-focus-scope.mjs.map +1 -1
  48. package/fesm2022/radix-ng-primitives-input.mjs +172 -0
  49. package/fesm2022/radix-ng-primitives-input.mjs.map +1 -0
  50. package/fesm2022/radix-ng-primitives-label.mjs +11 -11
  51. package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
  52. package/fesm2022/radix-ng-primitives-menu.mjs +1484 -353
  53. package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
  54. package/fesm2022/radix-ng-primitives-menubar.mjs +290 -162
  55. package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
  56. package/fesm2022/radix-ng-primitives-meter.mjs +271 -0
  57. package/fesm2022/radix-ng-primitives-meter.mjs.map +1 -0
  58. package/fesm2022/radix-ng-primitives-navigation-menu.mjs +1060 -1553
  59. package/fesm2022/radix-ng-primitives-navigation-menu.mjs.map +1 -1
  60. package/fesm2022/radix-ng-primitives-number-field.mjs +1102 -366
  61. package/fesm2022/radix-ng-primitives-number-field.mjs.map +1 -1
  62. package/fesm2022/radix-ng-primitives-pagination.mjs +51 -51
  63. package/fesm2022/radix-ng-primitives-pagination.mjs.map +1 -1
  64. package/fesm2022/radix-ng-primitives-popover.mjs +980 -995
  65. package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
  66. package/fesm2022/radix-ng-primitives-popper.mjs +137 -82
  67. package/fesm2022/radix-ng-primitives-popper.mjs.map +1 -1
  68. package/fesm2022/radix-ng-primitives-portal.mjs +40 -16
  69. package/fesm2022/radix-ng-primitives-portal.mjs.map +1 -1
  70. package/fesm2022/radix-ng-primitives-presence.mjs +134 -246
  71. package/fesm2022/radix-ng-primitives-presence.mjs.map +1 -1
  72. package/fesm2022/radix-ng-primitives-preview-card.mjs +997 -0
  73. package/fesm2022/radix-ng-primitives-preview-card.mjs.map +1 -0
  74. package/fesm2022/radix-ng-primitives-progress.mjs +231 -92
  75. package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
  76. package/fesm2022/radix-ng-primitives-radio.mjs +211 -70
  77. package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
  78. package/fesm2022/radix-ng-primitives-roving-focus.mjs +127 -77
  79. package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +1 -1
  80. package/fesm2022/radix-ng-primitives-select.mjs +791 -511
  81. package/fesm2022/radix-ng-primitives-select.mjs.map +1 -1
  82. package/fesm2022/radix-ng-primitives-separator.mjs +16 -45
  83. package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
  84. package/fesm2022/radix-ng-primitives-slider.mjs +976 -720
  85. package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
  86. package/fesm2022/radix-ng-primitives-stepper.mjs +69 -71
  87. package/fesm2022/radix-ng-primitives-stepper.mjs.map +1 -1
  88. package/fesm2022/radix-ng-primitives-switch.mjs +128 -124
  89. package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
  90. package/fesm2022/radix-ng-primitives-tabs.mjs +388 -115
  91. package/fesm2022/radix-ng-primitives-tabs.mjs.map +1 -1
  92. package/fesm2022/radix-ng-primitives-time-field.mjs +111 -117
  93. package/fesm2022/radix-ng-primitives-time-field.mjs.map +1 -1
  94. package/fesm2022/radix-ng-primitives-toggle-group.mjs +122 -248
  95. package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
  96. package/fesm2022/radix-ng-primitives-toggle.mjs +99 -62
  97. package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
  98. package/fesm2022/radix-ng-primitives-toolbar.mjs +307 -94
  99. package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -1
  100. package/fesm2022/radix-ng-primitives-tooltip.mjs +690 -1079
  101. package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
  102. package/fesm2022/radix-ng-primitives-visually-hidden.mjs +46 -87
  103. package/fesm2022/radix-ng-primitives-visually-hidden.mjs.map +1 -1
  104. package/fesm2022/radix-ng-primitives.mjs.map +1 -1
  105. package/meter/README.md +3 -0
  106. package/navigation-menu/README.md +2 -1
  107. package/package.json +85 -63
  108. package/portal/README.md +2 -0
  109. package/preview-card/README.md +3 -0
  110. package/schematics/collection.json +1 -0
  111. package/schematics/ng-add/index.d.ts +3 -2
  112. package/schematics/ng-add/index.js +62 -31
  113. package/schematics/ng-add/index.js.map +1 -1
  114. package/schematics/ng-add/package-config.d.ts +4 -2
  115. package/schematics/ng-add/package-config.js +10 -2
  116. package/schematics/ng-add/package-config.js.map +1 -1
  117. package/schematics/ng-add/schema.d.ts +3 -0
  118. package/schematics/ng-add/schema.js +3 -0
  119. package/schematics/ng-add/schema.js.map +1 -0
  120. package/schematics/ng-add/schema.json +14 -0
  121. package/select/README.md +2 -0
  122. package/{accordion/index.d.ts → types/radix-ng-primitives-accordion.d.ts} +102 -67
  123. package/types/radix-ng-primitives-alert-dialog.d.ts +114 -0
  124. package/{arrow/index.d.ts → types/radix-ng-primitives-arrow.d.ts} +1 -1
  125. package/{aspect-ratio/index.d.ts → types/radix-ng-primitives-aspect-ratio.d.ts} +1 -1
  126. package/{avatar/index.d.ts → types/radix-ng-primitives-avatar.d.ts} +7 -11
  127. package/types/radix-ng-primitives-button.d.ts +73 -0
  128. package/{calendar/index.d.ts → types/radix-ng-primitives-calendar.d.ts} +2 -3
  129. package/types/radix-ng-primitives-checkbox.d.ts +337 -0
  130. package/types/radix-ng-primitives-collapsible.d.ts +159 -0
  131. package/types/radix-ng-primitives-collection.d.ts +44 -0
  132. package/{config/index.d.ts → types/radix-ng-primitives-config.d.ts} +1 -1
  133. package/types/radix-ng-primitives-context-menu.d.ts +73 -0
  134. package/{core/index.d.ts → types/radix-ng-primitives-core.d.ts} +311 -236
  135. package/{cropper/index.d.ts → types/radix-ng-primitives-cropper.d.ts} +6 -5
  136. package/{date-field/index.d.ts → types/radix-ng-primitives-date-field.d.ts} +42 -27
  137. package/types/radix-ng-primitives-dialog.d.ts +323 -0
  138. package/{dismissable-layer/index.d.ts → types/radix-ng-primitives-dismissable-layer.d.ts} +15 -7
  139. package/types/radix-ng-primitives-drawer.d.ts +448 -0
  140. package/{editable/index.d.ts → types/radix-ng-primitives-editable.d.ts} +1 -1
  141. package/types/radix-ng-primitives-field.d.ts +373 -0
  142. package/types/radix-ng-primitives-fieldset.d.ts +48 -0
  143. package/{focus-scope/index.d.ts → types/radix-ng-primitives-focus-scope.d.ts} +13 -5
  144. package/types/radix-ng-primitives-input.d.ts +87 -0
  145. package/{label/index.d.ts → types/radix-ng-primitives-label.d.ts} +0 -1
  146. package/types/radix-ng-primitives-menu.d.ts +612 -0
  147. package/types/radix-ng-primitives-menubar.d.ts +66 -0
  148. package/types/radix-ng-primitives-meter.d.ts +193 -0
  149. package/types/radix-ng-primitives-navigation-menu.d.ts +488 -0
  150. package/types/radix-ng-primitives-number-field.d.ts +464 -0
  151. package/{pagination/index.d.ts → types/radix-ng-primitives-pagination.d.ts} +2 -2
  152. package/types/radix-ng-primitives-popover.d.ts +416 -0
  153. package/{popper/index.d.ts → types/radix-ng-primitives-popper.d.ts} +50 -9
  154. package/types/radix-ng-primitives-portal.d.ts +30 -0
  155. package/types/radix-ng-primitives-presence.d.ts +55 -0
  156. package/types/radix-ng-primitives-preview-card.d.ts +359 -0
  157. package/types/radix-ng-primitives-progress.d.ts +206 -0
  158. package/{radio/index.d.ts → types/radix-ng-primitives-radio.d.ts} +56 -26
  159. package/{roving-focus/index.d.ts → types/radix-ng-primitives-roving-focus.d.ts} +38 -27
  160. package/types/radix-ng-primitives-select.d.ts +512 -0
  161. package/types/radix-ng-primitives-separator.d.ts +38 -0
  162. package/types/radix-ng-primitives-slider.d.ts +377 -0
  163. package/{stepper/index.d.ts → types/radix-ng-primitives-stepper.d.ts} +21 -22
  164. package/types/radix-ng-primitives-switch.d.ts +121 -0
  165. package/types/radix-ng-primitives-tabs.d.ts +247 -0
  166. package/{time-field/index.d.ts → types/radix-ng-primitives-time-field.d.ts} +46 -31
  167. package/types/radix-ng-primitives-toggle-group.d.ts +116 -0
  168. package/types/radix-ng-primitives-toggle.d.ts +65 -0
  169. package/types/radix-ng-primitives-toolbar.d.ts +180 -0
  170. package/types/radix-ng-primitives-tooltip.d.ts +395 -0
  171. package/{visually-hidden/index.d.ts → types/radix-ng-primitives-visually-hidden.d.ts} +19 -19
  172. package/alert-dialog/index.d.ts +0 -57
  173. package/checkbox/index.d.ts +0 -164
  174. package/collapsible/index.d.ts +0 -85
  175. package/context-menu/index.d.ts +0 -129
  176. package/dialog/index.d.ts +0 -205
  177. package/dropdown-menu/README.md +0 -1
  178. package/dropdown-menu/index.d.ts +0 -171
  179. package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +0 -583
  180. package/fesm2022/radix-ng-primitives-dropdown-menu.mjs.map +0 -1
  181. package/fesm2022/radix-ng-primitives-hover-card.mjs +0 -1246
  182. package/fesm2022/radix-ng-primitives-hover-card.mjs.map +0 -1
  183. package/fesm2022/radix-ng-primitives-tooltip2.mjs +0 -740
  184. package/fesm2022/radix-ng-primitives-tooltip2.mjs.map +0 -1
  185. package/hover-card/README.md +0 -3
  186. package/hover-card/index.d.ts +0 -472
  187. package/menu/index.d.ts +0 -139
  188. package/menubar/index.d.ts +0 -56
  189. package/navigation-menu/index.d.ts +0 -405
  190. package/number-field/index.d.ts +0 -203
  191. package/popover/index.d.ts +0 -403
  192. package/portal/index.d.ts +0 -22
  193. package/presence/index.d.ts +0 -103
  194. package/progress/index.d.ts +0 -79
  195. package/select/index.d.ts +0 -214
  196. package/separator/index.d.ts +0 -63
  197. package/slider/index.d.ts +0 -263
  198. package/switch/index.d.ts +0 -105
  199. package/tabs/index.d.ts +0 -112
  200. package/toggle/index.d.ts +0 -75
  201. package/toggle-group/index.d.ts +0 -194
  202. package/toolbar/index.d.ts +0 -55
  203. package/tooltip/index.d.ts +0 -433
  204. package/tooltip2/README.md +0 -3
  205. package/tooltip2/index.d.ts +0 -325
  206. /package/{focus-guards/index.d.ts → types/radix-ng-primitives-focus-guards.d.ts} +0 -0
  207. /package/{index.d.ts → types/radix-ng-primitives.d.ts} +0 -0
@@ -1,11 +1,73 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InputSignalWithTransform, InputSignal, ModelSignal, Signal, ElementRef } from '@angular/core';
3
- import { Direction } from '@angular/cdk/bidi';
4
- import { BooleanInput } from '@angular/cdk/coercion';
5
- import { DataOrientation } from '@radix-ng/primitives/core';
2
+ import { Signal, WritableSignal, ElementRef, InputSignalWithTransform, InputSignal, ModelSignal } from '@angular/core';
3
+ import * as _radix_ng_primitives_accordion from '@radix-ng/primitives/accordion';
6
4
  import * as i1 from '@radix-ng/primitives/collapsible';
5
+ import { BooleanInput, Direction, DataOrientation, AcceptableValue } from '@radix-ng/primitives/core';
6
+
7
+ declare class RdxAccordionContentDirective {
8
+ protected readonly rootContext: _radix_ng_primitives_accordion.AccordionRootContext;
9
+ protected readonly itemContext: _radix_ng_primitives_accordion.AccordionItemContext;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionContentDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionContentDirective, "[rdxAccordionContent]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxCollapsiblePanelDirective; inputs: {}; outputs: {}; }]>;
12
+ }
13
+
14
+ declare class RdxAccordionHeaderDirective {
15
+ protected readonly rootContext: _radix_ng_primitives_accordion.AccordionRootContext;
16
+ protected readonly itemContext: _radix_ng_primitives_accordion.AccordionItemContext;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionHeaderDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionHeaderDirective, "[rdxAccordionHeader]", never, {}, {}, never, never, true, never>;
19
+ }
20
+
21
+ type RdxAccordionItemState = 'open' | 'closed';
22
+ type AccordionItemContext = {
23
+ open: Signal<boolean>;
24
+ disabled: Signal<boolean>;
25
+ triggerId: WritableSignal<string>;
26
+ dataState: Signal<RdxAccordionItemState>;
27
+ dataDisabled: Signal<boolean>;
28
+ currentElement: ElementRef<HTMLElement>;
29
+ value: Signal<string | undefined>;
30
+ updateOpen: () => void;
31
+ index: Signal<number>;
32
+ };
33
+ declare const injectAccordionItemContext: (optional?: boolean) => AccordionItemContext | null;
34
+ declare const provideAccordionItemContext: (useFactory: () => AccordionItemContext) => i0.Provider;
35
+ /**
36
+ * @group Components
37
+ */
38
+ declare class RdxAccordionItemDirective {
39
+ readonly elementRef: ElementRef<HTMLElement>;
40
+ private readonly collapsibleContext;
41
+ protected readonly rootContext: _radix_ng_primitives_accordion.AccordionRootContext;
42
+ /**
43
+ * A string value for the accordion item. All items within an accordion should use a unique value.
44
+ * @group Props
45
+ */
46
+ readonly value: i0.InputSignal<string | undefined>;
47
+ /**
48
+ * Whether or not an accordion item is disabled from user interaction.
49
+ * When `true`, prevents the user from interacting with the item.
50
+ * @group Props
51
+ */
52
+ readonly disabled: i0.InputSignalWithTransform<boolean, BooleanInput>;
53
+ /**
54
+ * Event handler called when the panel open state changes.
55
+ * @group Emits
56
+ */
57
+ readonly onOpenChange: i0.OutputEmitterRef<boolean>;
58
+ readonly isDisabled: Signal<boolean>;
59
+ readonly open: Signal<boolean>;
60
+ readonly dataState: Signal<RdxAccordionItemState>;
61
+ /** Set by the trigger; links the content's `aria-labelledby` to the trigger `id`. */
62
+ readonly triggerId: WritableSignal<string>;
63
+ readonly index: Signal<number>;
64
+ constructor();
65
+ updateOpen: () => void;
66
+ handleArrowKey(event: Event): void;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionItemDirective, never>;
68
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionItemDirective, "[rdxAccordionItem]", ["rdxAccordionItem"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onOpenChange": "onOpenChange"; }, never, never, true, [{ directive: typeof i1.RdxCollapsibleRootDirective; inputs: { "disabled": "disabled"; "open": "open"; }; outputs: {}; }]>;
69
+ }
7
70
 
8
- type AcceptableValue = string | Record<string, any> | null;
9
71
  type AccordionRootContext = {
10
72
  disabled: InputSignalWithTransform<boolean, BooleanInput>;
11
73
  direction: InputSignal<Direction>;
@@ -13,6 +75,8 @@ type AccordionRootContext = {
13
75
  value: ModelSignal<AcceptableValue | AcceptableValue[] | undefined>;
14
76
  collapsible: Signal<boolean>;
15
77
  isSingle: Signal<boolean>;
78
+ loopFocus: InputSignalWithTransform<boolean, BooleanInput>;
79
+ keepMounted: InputSignalWithTransform<boolean, BooleanInput>;
16
80
  elementRef: ElementRef<HTMLElement>;
17
81
  changeModelValue: (value: string) => void;
18
82
  };
@@ -71,86 +135,57 @@ declare class RdxAccordionRootDirective {
71
135
  */
72
136
  readonly type: InputSignal<"multiple" | "single">;
73
137
  /**
74
- * Event handler called when the expanded state of an item changes and type is "multiple".
75
- * @group Emits
138
+ * Allow multiple panels to be open simultaneously.
139
+ * Takes precedence over `type` when `true`.
140
+ *
141
+ * @defaultValue false
142
+ * @group Props
76
143
  */
77
- readonly onValueChange: i0.OutputEmitterRef<void>;
78
- readonly isSingle: Signal<boolean>;
79
- constructor();
80
- changeModelValue: (newValue: string) => void;
81
- private isValueEqualOrExist;
82
- private isEqual;
83
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionRootDirective, never>;
84
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionRootDirective, "[rdxAccordionRoot]", ["rdxAccordionRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "onValueChange": "onValueChange"; }, never, never, true, never>;
85
- }
86
-
87
- type RdxAccordionItemState = 'open' | 'closed';
88
- type AccordionItemContext = {
89
- open: Signal<boolean>;
90
- disabled: Signal<boolean>;
91
- triggerId: string;
92
- dataState: Signal<RdxAccordionItemState>;
93
- dataDisabled: Signal<boolean>;
94
- currentElement: ElementRef<HTMLElement>;
95
- value: Signal<string | undefined>;
96
- updateOpen: () => void;
97
- };
98
- declare const injectAccordionItemContext: (optional?: boolean) => AccordionItemContext | null;
99
- declare const provideAccordionItemContext: (useFactory: () => AccordionItemContext) => i0.Provider;
100
- /**
101
- * @group Components
102
- */
103
- declare class RdxAccordionItemDirective {
104
- readonly elementRef: ElementRef<HTMLElement>;
105
- private readonly collapsibleContext;
106
- protected readonly rootContext: AccordionRootContext;
144
+ readonly multiple: InputSignalWithTransform<boolean, BooleanInput>;
107
145
  /**
108
- * A string value for the accordion item. All items within an accordion should use a unique value.
146
+ * Whether keyboard focus wraps from the last item to the first and vice versa.
147
+ *
148
+ * @defaultValue true
109
149
  * @group Props
110
150
  */
111
- readonly value: i0.InputSignal<string | undefined>;
151
+ readonly loopFocus: InputSignalWithTransform<boolean, BooleanInput>;
112
152
  /**
113
- * Whether or not an accordion item is disabled from user interaction.
114
- * When `true`, prevents the user from interacting with the item.
153
+ * Whether to keep the content of collapsed items mounted in the DOM.
154
+ * When `true`, closed panels keep their element in the DOM instead of
155
+ * receiving a `hidden` attribute. Applies to the always-mounted
156
+ * `rdxAccordionContent`; the `rdxAccordionContentPresence` variant always
157
+ * unmounts.
158
+ *
159
+ * @defaultValue false
115
160
  * @group Props
116
161
  */
117
- readonly disabled: i0.InputSignalWithTransform<boolean, BooleanInput>;
118
- readonly isDisabled: Signal<boolean>;
119
- readonly open: Signal<any>;
120
- readonly dataState: Signal<RdxAccordionItemState>;
162
+ readonly keepMounted: InputSignalWithTransform<boolean, BooleanInput>;
163
+ /**
164
+ * Event handler called when the expanded state of an item changes.
165
+ * @group Emits
166
+ */
167
+ readonly onValueChange: i0.OutputEmitterRef<AcceptableValue | AcceptableValue[] | undefined>;
168
+ readonly isSingle: Signal<boolean>;
121
169
  constructor();
122
- updateOpen: () => void;
123
- handleArrowKey(event: KeyboardEvent): void;
124
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionItemDirective, never>;
125
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionItemDirective, "[rdxAccordionItem]", ["rdxAccordionItem"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.RdxCollapsibleRootDirective; inputs: { "disabled": "disabled"; "open": "open"; }; outputs: {}; }]>;
126
- }
127
-
128
- declare class RdxAccordionContentDirective {
129
- protected readonly rootContext: AccordionRootContext;
130
- protected readonly itemContext: AccordionItemContext;
131
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionContentDirective, never>;
132
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionContentDirective, "[rdxAccordionContent]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxCollapsibleContentDirective; inputs: {}; outputs: {}; }]>;
133
- }
134
-
135
- declare class RdxAccordionHeaderDirective {
136
- protected readonly rootContext: AccordionRootContext;
137
- protected readonly itemContext: AccordionItemContext;
138
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionHeaderDirective, never>;
139
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionHeaderDirective, "[rdxAccordionHeader]", never, {}, {}, never, never, true, never>;
170
+ changeModelValue: (newValue: string) => void;
171
+ private isValueEqualOrExist;
172
+ private isEqual;
173
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionRootDirective, never>;
174
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionRootDirective, "[rdxAccordionRoot]", ["rdxAccordionRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "loopFocus": { "alias": "loopFocus"; "required": false; "isSignal": true; }; "keepMounted": { "alias": "keepMounted"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "onValueChange": "onValueChange"; }, never, never, true, never>;
140
175
  }
141
176
 
142
177
  declare class RdxAccordionTriggerDirective {
143
- protected readonly rootContext: AccordionRootContext;
144
- protected readonly itemContext: AccordionItemContext;
178
+ protected readonly rootContext: _radix_ng_primitives_accordion.AccordionRootContext;
179
+ protected readonly itemContext: _radix_ng_primitives_accordion.AccordionItemContext;
145
180
  constructor();
146
181
  changeItem(): void;
147
182
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionTriggerDirective, never>;
148
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionTriggerDirective, "[rdxAccordionTrigger]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxCollapsibleTriggerDirective; inputs: {}; outputs: {}; }]>;
183
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionTriggerDirective, "[rdxAccordionTrigger]", never, {}, {}, never, never, true, never>;
149
184
  }
150
185
 
151
186
  declare class RdxAccordionContentPresenceDirective {
152
187
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxAccordionContentPresenceDirective, never>;
153
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionContentPresenceDirective, "ng-template[rdxAccordionContentPresence]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxCollapsibleContentPresenceDirective; inputs: {}; outputs: {}; }]>;
188
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAccordionContentPresenceDirective, "ng-template[rdxAccordionContentPresence]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxCollapsiblePanelPresenceDirective; inputs: {}; outputs: {}; }]>;
154
189
  }
155
190
 
156
191
  declare class RdxAccordionModule {
@@ -0,0 +1,114 @@
1
+ import * as i0 from '@angular/core';
2
+ import * as i1 from '@radix-ng/primitives/dialog';
3
+ import { RdxDialogHandle } from '@radix-ng/primitives/dialog';
4
+
5
+ /**
6
+ * An overlay displayed beneath the alert dialog popup.
7
+ */
8
+ declare class RdxAlertDialogBackdrop {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAlertDialogBackdrop, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAlertDialogBackdrop, "[rdxAlertDialogBackdrop]", ["rdxAlertDialogBackdrop"], {}, {}, never, never, true, [{ directive: typeof i1.RdxDialogBackdrop; inputs: {}; outputs: {}; }]>;
11
+ }
12
+
13
+ /**
14
+ * Groups all parts of the alert dialog.
15
+ *
16
+ * Composes the Dialog primitive and forces alert-dialog semantics: it is always modal, never
17
+ * dismisses on outside pointer / focus-out interactions (Escape still closes), and renders its
18
+ * popup with `role="alertdialog"`. Assemble it from the `rdxAlertDialog*` parts (Popup, Backdrop,
19
+ * Title, Description, Close, Portal, Viewport), which are thin wrappers around the dialog parts.
20
+ */
21
+ declare class RdxAlertDialogRoot {
22
+ private readonly dialog;
23
+ /** Whether the alert dialog is open (read-only mirror of the composed dialog state). */
24
+ readonly open: i0.ModelSignal<boolean>;
25
+ /** The active trigger's id. */
26
+ readonly triggerId: i0.ModelSignal<string | null>;
27
+ /** Payload of the active trigger. */
28
+ readonly payload: i0.WritableSignal<unknown>;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAlertDialogRoot, never>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAlertDialogRoot, "[rdxAlertDialogRoot]", ["rdxAlertDialogRoot"], {}, {}, never, never, true, [{ directive: typeof i1.RdxDialogRoot; inputs: { "open": "open"; "defaultOpen": "defaultOpen"; "triggerId": "triggerId"; "defaultTriggerId": "defaultTriggerId"; "handle": "handle"; }; outputs: { "openChange": "openChange"; "triggerIdChange": "triggerIdChange"; "onOpenChange": "onOpenChange"; "onOpenChangeComplete": "onOpenChangeComplete"; }; }]>;
31
+ }
32
+
33
+ /**
34
+ * A button that opens the alert dialog. Behaves exactly like the dialog trigger.
35
+ */
36
+ declare class RdxAlertDialogTrigger {
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAlertDialogTrigger, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAlertDialogTrigger, "button[rdxAlertDialogTrigger]", ["rdxAlertDialogTrigger"], {}, {}, never, never, true, [{ directive: typeof i1.RdxDialogTrigger; inputs: { "handle": "handle"; "payload": "payload"; "id": "id"; "disabled": "disabled"; }; outputs: {}; }]>;
39
+ }
40
+
41
+ /**
42
+ * Mounts the portal while the alert dialog is open and waits for CSS exit keyframes before unmounting.
43
+ */
44
+ declare class RdxAlertDialogPortalPresence {
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAlertDialogPortalPresence, never>;
46
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAlertDialogPortalPresence, "ng-template[rdxAlertDialogPortalPresence]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxDialogPortalPresence; inputs: {}; outputs: {}; }]>;
47
+ }
48
+
49
+ /**
50
+ * Moves the alert dialog to a different part of the DOM. Defaults to `document.body`.
51
+ */
52
+ declare class RdxAlertDialogPortal {
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAlertDialogPortal, never>;
54
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAlertDialogPortal, "[rdxAlertDialogPortal]", ["rdxAlertDialogPortal"], {}, {}, never, never, true, [{ directive: typeof i1.RdxDialogPortal; inputs: { "container": "container"; }; outputs: {}; }]>;
55
+ }
56
+
57
+ /**
58
+ * A scrollable positioning container for the alert dialog popup.
59
+ */
60
+ declare class RdxAlertDialogViewport {
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAlertDialogViewport, never>;
62
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAlertDialogViewport, "[rdxAlertDialogViewport]", ["rdxAlertDialogViewport"], {}, {}, never, never, true, [{ directive: typeof i1.RdxDialogViewport; inputs: {}; outputs: {}; }]>;
63
+ }
64
+
65
+ /**
66
+ * A container for the alert dialog contents. Wraps the dialog popup, which reads alert semantics
67
+ * (role, modal, dismissal) from the alert root's variant.
68
+ */
69
+ declare class RdxAlertDialogPopup {
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAlertDialogPopup, never>;
71
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAlertDialogPopup, "[rdxAlertDialogPopup]", ["rdxAlertDialogPopup"], {}, {}, never, never, true, [{ directive: typeof i1.RdxDialogPopup; inputs: {}; outputs: { "escapeKeyDown": "escapeKeyDown"; "pointerDownOutside": "pointerDownOutside"; "focusOutside": "focusOutside"; "interactOutside": "interactOutside"; "openAutoFocus": "openAutoFocus"; "closeAutoFocus": "closeAutoFocus"; }; }]>;
72
+ }
73
+
74
+ /**
75
+ * An accessible title for the alert dialog.
76
+ */
77
+ declare class RdxAlertDialogTitle {
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAlertDialogTitle, never>;
79
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAlertDialogTitle, "[rdxAlertDialogTitle]", ["rdxAlertDialogTitle"], {}, {}, never, never, true, [{ directive: typeof i1.RdxDialogTitle; inputs: {}; outputs: {}; }]>;
80
+ }
81
+
82
+ /**
83
+ * An accessible description for the alert dialog.
84
+ */
85
+ declare class RdxAlertDialogDescription {
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAlertDialogDescription, never>;
87
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAlertDialogDescription, "[rdxAlertDialogDescription]", ["rdxAlertDialogDescription"], {}, {}, never, never, true, [{ directive: typeof i1.RdxDialogDescription; inputs: {}; outputs: {}; }]>;
88
+ }
89
+
90
+ /**
91
+ * A button that closes the alert dialog.
92
+ */
93
+ declare class RdxAlertDialogClose {
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAlertDialogClose, never>;
95
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAlertDialogClose, "button[rdxAlertDialogClose]", ["rdxAlertDialogClose"], {}, {}, never, never, true, [{ directive: typeof i1.RdxDialogClose; inputs: {}; outputs: {}; }]>;
96
+ }
97
+
98
+ /**
99
+ * Connects an alert dialog root with trigger elements rendered elsewhere in the DOM.
100
+ *
101
+ * Alert dialogs reuse the dialog handle implementation unchanged.
102
+ */
103
+ declare const RdxAlertDialogHandle: typeof RdxDialogHandle;
104
+ type RdxAlertDialogHandle<Payload = unknown> = RdxDialogHandle<Payload>;
105
+ declare function createRdxAlertDialogHandle<Payload = unknown>(): RdxAlertDialogHandle<Payload>;
106
+
107
+ declare const alertDialogImports: (typeof RdxAlertDialogBackdrop)[];
108
+ declare class RdxAlertDialogModule {
109
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAlertDialogModule, never>;
110
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RdxAlertDialogModule, never, [typeof RdxAlertDialogRoot, typeof RdxAlertDialogTrigger, typeof RdxAlertDialogPortalPresence, typeof RdxAlertDialogPortal, typeof RdxAlertDialogBackdrop, typeof RdxAlertDialogViewport, typeof RdxAlertDialogPopup, typeof RdxAlertDialogTitle, typeof RdxAlertDialogDescription, typeof RdxAlertDialogClose], [typeof RdxAlertDialogRoot, typeof RdxAlertDialogTrigger, typeof RdxAlertDialogPortalPresence, typeof RdxAlertDialogPortal, typeof RdxAlertDialogBackdrop, typeof RdxAlertDialogViewport, typeof RdxAlertDialogPopup, typeof RdxAlertDialogTitle, typeof RdxAlertDialogDescription, typeof RdxAlertDialogClose]>;
111
+ static ɵinj: i0.ɵɵInjectorDeclaration<RdxAlertDialogModule>;
112
+ }
113
+
114
+ export { RdxAlertDialogBackdrop, RdxAlertDialogClose, RdxAlertDialogDescription, RdxAlertDialogHandle, RdxAlertDialogModule, RdxAlertDialogPopup, RdxAlertDialogPortal, RdxAlertDialogPortalPresence, RdxAlertDialogRoot, RdxAlertDialogTitle, RdxAlertDialogTrigger, RdxAlertDialogViewport, alertDialogImports, createRdxAlertDialogHandle };
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { NumberInput } from '@angular/cdk/coercion';
2
+ import { NumberInput } from '@radix-ng/primitives/core';
3
3
 
4
4
  declare class RdxArrow {
5
5
  readonly width: _angular_core.InputSignalWithTransform<number, NumberInput>;
@@ -1,6 +1,6 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { AfterViewInit } from '@angular/core';
3
- import { NumberInput } from '@angular/cdk/coercion';
3
+ import { NumberInput } from '@radix-ng/primitives/core';
4
4
 
5
5
  /**
6
6
  * Directive to maintain an aspect ratio for an element.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { WritableSignal, OnInit, OnDestroy, InjectionToken, Provider } from '@angular/core';
2
+ import { WritableSignal, InjectionToken, Provider } from '@angular/core';
3
3
 
4
4
  type RdxImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error';
5
5
  type HTMLAttributeReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
@@ -28,7 +28,6 @@ declare class RdxAvatarFallbackDirective {
28
28
  */
29
29
  readonly delayMs: i0.InputSignal<number>;
30
30
  protected readonly canRender: i0.WritableSignal<boolean>;
31
- private timeout;
32
31
  constructor();
33
32
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxAvatarFallbackDirective, never>;
34
33
  static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAvatarFallbackDirective, "span[rdxAvatarFallback]", ["rdxAvatarFallback"], { "delayMs": { "alias": "delayMs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -37,7 +36,7 @@ declare class RdxAvatarFallbackDirective {
37
36
  /**
38
37
  * @group Components
39
38
  */
40
- declare class RdxAvatarImageDirective implements OnInit, OnDestroy {
39
+ declare class RdxAvatarImageDirective {
41
40
  private readonly platformId;
42
41
  protected readonly rootContext: AvatarContextToken;
43
42
  /**
@@ -52,11 +51,8 @@ declare class RdxAvatarImageDirective implements OnInit, OnDestroy {
52
51
  * @group Emits
53
52
  */
54
53
  readonly onLoadingStatusChange: i0.OutputEmitterRef<RdxImageLoadingStatus>;
55
- private readonly isMounted;
56
54
  private readonly loadingStatus;
57
55
  constructor();
58
- ngOnInit(): void;
59
- ngOnDestroy(): void;
60
56
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxAvatarImageDirective, never>;
61
57
  static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAvatarImageDirective, "img[rdxAvatarImage]", ["rdxAvatarImage"], { "src": { "alias": "src"; "required": false; "isSignal": true; }; "referrerPolicy": { "alias": "referrerPolicy"; "required": false; "isSignal": true; }; }, { "onLoadingStatusChange": "onLoadingStatusChange"; }, never, never, true, never>;
62
58
  }
@@ -74,11 +70,11 @@ declare const RdxAvatarConfigToken: InjectionToken<RdxAvatarConfig>;
74
70
  declare function provideRdxAvatarConfig(config: Partial<RdxAvatarConfig>): Provider[];
75
71
  declare function injectAvatarConfig(): RdxAvatarConfig;
76
72
 
77
- declare class RdxCheckboxModule {
78
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCheckboxModule, never>;
79
- static ɵmod: i0.ɵɵNgModuleDeclaration<RdxCheckboxModule, never, [typeof RdxAvatarRootDirective, typeof RdxAvatarFallbackDirective, typeof RdxAvatarImageDirective], [typeof RdxAvatarRootDirective, typeof RdxAvatarFallbackDirective, typeof RdxAvatarImageDirective]>;
80
- static ɵinj: i0.ɵɵInjectorDeclaration<RdxCheckboxModule>;
73
+ declare class RdxAvatarModule {
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<RdxAvatarModule, never>;
75
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RdxAvatarModule, never, [typeof RdxAvatarRootDirective, typeof RdxAvatarFallbackDirective, typeof RdxAvatarImageDirective], [typeof RdxAvatarRootDirective, typeof RdxAvatarFallbackDirective, typeof RdxAvatarImageDirective]>;
76
+ static ɵinj: i0.ɵɵInjectorDeclaration<RdxAvatarModule>;
81
77
  }
82
78
 
83
- export { RdxAvatarConfigToken, RdxAvatarFallbackDirective, RdxAvatarImageDirective, RdxAvatarRootDirective, RdxCheckboxModule, defaultAvatarConfig, injectAvatarConfig, provideRdxAvatarConfig };
79
+ export { RdxAvatarConfigToken, RdxAvatarFallbackDirective, RdxAvatarImageDirective, RdxAvatarModule, RdxAvatarRootDirective, defaultAvatarConfig, injectAvatarConfig, provideRdxAvatarConfig };
84
80
  export type { RdxAvatarConfig, RdxImageLoadingStatus };
@@ -0,0 +1,73 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { BooleanInput } from '@radix-ng/primitives/core';
3
+
4
+ type RdxButtonType = 'button' | 'submit' | 'reset';
5
+ interface RdxButtonProps {
6
+ /**
7
+ * Whether the button is disabled.
8
+ * @defaultValue false
9
+ */
10
+ disabled?: boolean;
11
+ /**
12
+ * Whether the button should remain focusable when disabled. When `true`,
13
+ * the disabled state is expressed with `aria-disabled` (instead of the
14
+ * native `disabled` attribute) so the control stays in the tab order while
15
+ * its activation is suppressed.
16
+ * @defaultValue false
17
+ */
18
+ focusableWhenDisabled?: boolean;
19
+ /**
20
+ * The `type` attribute applied to native `<button>` hosts.
21
+ * @defaultValue 'button'
22
+ */
23
+ type?: RdxButtonType;
24
+ }
25
+ /**
26
+ * Headless button behavior, modeled on Base UI's `useButton`.
27
+ *
28
+ * Renders accessible button semantics on a native `<button>` or on any other
29
+ * element (e.g. `<a>`, `<span>`). Carries no styles — state is exposed via
30
+ * `data-disabled` for consumers to style.
31
+ *
32
+ * @group Components
33
+ */
34
+ declare class RdxButtonDirective {
35
+ private readonly elementRef;
36
+ /**
37
+ * Whether the button is disabled.
38
+ * @group Props
39
+ */
40
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
41
+ /**
42
+ * Keep the button focusable while disabled (uses `aria-disabled`).
43
+ * @group Props
44
+ */
45
+ readonly focusableWhenDisabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
46
+ /**
47
+ * The `type` attribute applied to native `<button>` hosts.
48
+ * @group Props
49
+ */
50
+ readonly type: _angular_core.InputSignal<RdxButtonType>;
51
+ /**
52
+ * @ignore
53
+ */
54
+ protected readonly isNativeButton: _angular_core.Signal<boolean>;
55
+ /**
56
+ * @ignore
57
+ * Express disabled via `aria-disabled` on non-button hosts, or whenever the
58
+ * control must stay focusable.
59
+ */
60
+ protected readonly ariaDisabled: _angular_core.Signal<"true" | undefined>;
61
+ /**
62
+ * @ignore
63
+ */
64
+ protected readonly tabIndex: _angular_core.Signal<-1 | 0 | undefined>;
65
+ constructor();
66
+ private handleClick;
67
+ private handleKeydown;
68
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxButtonDirective, never>;
69
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxButtonDirective, "[rdxButton]", ["rdxButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
70
+ }
71
+
72
+ export { RdxButtonDirective };
73
+ export type { RdxButtonProps, RdxButtonType };
@@ -1,8 +1,7 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { AfterViewInit, WritableSignal, InputSignal, ModelSignal, Signal } from '@angular/core';
3
3
  import { DateValue } from '@internationalized/date';
4
- import { DateMatcher, Formatter, Month } from '@radix-ng/primitives/core';
5
- import { BooleanInput } from '@angular/cdk/coercion';
4
+ import { DateMatcher, Formatter, BooleanInput, Month } from '@radix-ng/primitives/core';
6
5
 
7
6
  declare class RdxCalendarCellTriggerDirective implements AfterViewInit {
8
7
  private readonly rootContext;
@@ -38,7 +37,7 @@ declare class RdxCalendarCellTriggerDirective implements AfterViewInit {
38
37
  currentElement: HTMLElement;
39
38
  ngAfterViewInit(): void;
40
39
  protected onClick(): void;
41
- protected onArrowKey(event: KeyboardEvent): void;
40
+ protected onArrowKey(event: Event): void;
42
41
  private shiftFocus;
43
42
  /**
44
43
  * @ignore