@radix-ng/primitives 0.4.0 → 0.6.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 (181) hide show
  1. package/alert-dialog/README.md +1 -0
  2. package/alert-dialog/index.d.ts +6 -0
  3. package/alert-dialog/src/alert-dialog-cancel.directive.d.ts +7 -0
  4. package/alert-dialog/src/alert-dialog-content.directive.d.ts +8 -0
  5. package/alert-dialog/src/alert-dialog-root.directive.d.ts +9 -0
  6. package/alert-dialog/src/alert-dialog-title.directive.d.ts +5 -0
  7. package/alert-dialog/src/alert-dialog-trigger.directive.d.ts +7 -0
  8. package/alert-dialog/src/alert-dialog.service.d.ts +14 -0
  9. package/avatar/index.d.ts +3 -1
  10. package/avatar/src/avatar-fallback.directive.d.ts +10 -17
  11. package/avatar/src/avatar-image.directive.d.ts +10 -11
  12. package/avatar/src/avatar-root.directive.d.ts +21 -0
  13. package/avatar/src/avatar.config.d.ts +3 -2
  14. package/checkbox/src/checkbox.directive.d.ts +2 -1
  15. package/collapsible/README.md +1 -0
  16. package/collapsible/index.d.ts +3 -0
  17. package/collapsible/src/collapsible-content.directive.d.ts +11 -0
  18. package/collapsible/src/collapsible-root.directive.d.ts +52 -0
  19. package/collapsible/src/collapsible-trigger.directive.d.ts +26 -0
  20. package/esm2022/alert-dialog/index.mjs +7 -0
  21. package/esm2022/alert-dialog/radix-ng-primitives-alert-dialog.mjs +5 -0
  22. package/esm2022/alert-dialog/src/alert-dialog-cancel.directive.mjs +24 -0
  23. package/esm2022/alert-dialog/src/alert-dialog-content.directive.mjs +26 -0
  24. package/esm2022/alert-dialog/src/alert-dialog-root.directive.mjs +24 -0
  25. package/esm2022/alert-dialog/src/alert-dialog-title.directive.mjs +14 -0
  26. package/esm2022/alert-dialog/src/alert-dialog-trigger.directive.mjs +24 -0
  27. package/esm2022/alert-dialog/src/alert-dialog.service.mjs +45 -0
  28. package/esm2022/avatar/index.mjs +2 -2
  29. package/esm2022/avatar/src/avatar-fallback.directive.mjs +23 -30
  30. package/esm2022/avatar/src/avatar-image.directive.mjs +29 -31
  31. package/esm2022/avatar/src/avatar-root.directive.mjs +38 -0
  32. package/esm2022/avatar/src/avatar.config.mjs +2 -2
  33. package/esm2022/checkbox/src/checkbox-indicator.directive.mjs +4 -4
  34. package/esm2022/checkbox/src/checkbox.directive.mjs +4 -4
  35. package/esm2022/collapsible/index.mjs +4 -0
  36. package/esm2022/collapsible/radix-ng-primitives-collapsible.mjs +5 -0
  37. package/esm2022/collapsible/src/collapsible-content.directive.mjs +26 -0
  38. package/esm2022/collapsible/src/collapsible-root.directive.mjs +114 -0
  39. package/esm2022/collapsible/src/collapsible-trigger.directive.mjs +49 -0
  40. package/esm2022/label/index.mjs +2 -2
  41. package/esm2022/label/src/label-root.directive.mjs +48 -0
  42. package/esm2022/progress/index.mjs +2 -2
  43. package/esm2022/progress/src/progress-indicator.directive.mjs +11 -10
  44. package/esm2022/progress/src/progress-root.directive.mjs +71 -0
  45. package/esm2022/radio/index.mjs +2 -4
  46. package/esm2022/radio/src/radio-indicator.directive.mjs +8 -13
  47. package/esm2022/radio/src/radio-item.directive.mjs +27 -42
  48. package/esm2022/radio/src/radio-root.directive.mjs +106 -0
  49. package/esm2022/roving-focus/index.mjs +1 -3
  50. package/esm2022/roving-focus/src/roving-focus-group.directive.mjs +12 -18
  51. package/esm2022/roving-focus/src/roving-focus-item.directive.mjs +21 -26
  52. package/esm2022/separator/src/separator.directive.mjs +12 -17
  53. package/esm2022/switch/index.mjs +2 -3
  54. package/esm2022/switch/src/switch-root.directive.mjs +74 -0
  55. package/esm2022/switch/src/switch-thumb.directive.mjs +10 -12
  56. package/esm2022/toggle/index.mjs +2 -2
  57. package/esm2022/toggle/src/toggle-root.directive.mjs +51 -0
  58. package/esm2022/toggle-group/index.mjs +6 -0
  59. package/esm2022/toggle-group/radix-ng-primitives-toggle-group.mjs +5 -0
  60. package/esm2022/toggle-group/src/toggle-group-button.directive.mjs +79 -0
  61. package/esm2022/toggle-group/src/toggle-group-button.token.mjs +6 -0
  62. package/esm2022/toggle-group/src/toggle-group-multi.directive.mjs +159 -0
  63. package/esm2022/toggle-group/src/toggle-group.directive.mjs +157 -0
  64. package/esm2022/toggle-group/src/toggle-group.token.mjs +6 -0
  65. package/fesm2022/radix-ng-primitives-alert-dialog.mjs +150 -0
  66. package/fesm2022/radix-ng-primitives-alert-dialog.mjs.map +1 -0
  67. package/fesm2022/radix-ng-primitives-avatar.mjs +79 -90
  68. package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
  69. package/fesm2022/radix-ng-primitives-checkbox.mjs +6 -6
  70. package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
  71. package/fesm2022/radix-ng-primitives-collapsible.mjs +190 -0
  72. package/fesm2022/radix-ng-primitives-collapsible.mjs.map +1 -0
  73. package/fesm2022/radix-ng-primitives-label.mjs +20 -18
  74. package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
  75. package/fesm2022/radix-ng-primitives-progress.mjs +55 -49
  76. package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
  77. package/fesm2022/radix-ng-primitives-radio.mjs +70 -100
  78. package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
  79. package/fesm2022/radix-ng-primitives-roving-focus.mjs +22 -44
  80. package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +1 -1
  81. package/fesm2022/radix-ng-primitives-separator.mjs +12 -17
  82. package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
  83. package/fesm2022/radix-ng-primitives-switch.mjs +49 -106
  84. package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
  85. package/fesm2022/radix-ng-primitives-toggle-group.mjs +397 -0
  86. package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -0
  87. package/fesm2022/radix-ng-primitives-toggle.mjs +15 -29
  88. package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
  89. package/label/index.d.ts +1 -1
  90. package/label/src/label-root.directive.d.ts +13 -0
  91. package/package.json +18 -19
  92. package/progress/index.d.ts +2 -1
  93. package/progress/src/progress-indicator.directive.d.ts +2 -2
  94. package/progress/src/progress-root.directive.d.ts +29 -0
  95. package/radio/index.d.ts +1 -3
  96. package/radio/src/radio-indicator.directive.d.ts +3 -9
  97. package/radio/src/radio-item.directive.d.ts +9 -28
  98. package/radio/src/{radio-group.directive.d.ts → radio-root.directive.d.ts} +24 -16
  99. package/roving-focus/index.d.ts +0 -2
  100. package/roving-focus/src/roving-focus-group.directive.d.ts +5 -7
  101. package/roving-focus/src/roving-focus-item.directive.d.ts +6 -8
  102. package/separator/src/separator.directive.d.ts +14 -8
  103. package/switch/index.d.ts +2 -2
  104. package/switch/src/switch-root.directive.d.ts +35 -0
  105. package/switch/src/switch-thumb.directive.d.ts +2 -5
  106. package/toggle/index.d.ts +2 -1
  107. package/toggle/src/toggle-root.directive.d.ts +32 -0
  108. package/toggle-group/README.md +3 -0
  109. package/toggle-group/index.d.ts +5 -0
  110. package/toggle-group/src/toggle-group-button.directive.d.ts +39 -0
  111. package/toggle-group/src/toggle-group-button.token.d.ts +4 -0
  112. package/toggle-group/src/toggle-group-multi.directive.d.ts +90 -0
  113. package/toggle-group/src/toggle-group.directive.d.ts +90 -0
  114. package/toggle-group/src/toggle-group.token.d.ts +5 -0
  115. package/avatar/src/avatar.directive.d.ts +0 -22
  116. package/avatar/src/avatar.token.d.ts +0 -4
  117. package/esm2022/avatar/src/avatar.directive.mjs +0 -38
  118. package/esm2022/avatar/src/avatar.token.mjs +0 -6
  119. package/esm2022/label/src/label.directive.mjs +0 -46
  120. package/esm2022/overlay/index.mjs +0 -5
  121. package/esm2022/overlay/radix-ng-primitives-overlay.mjs +0 -5
  122. package/esm2022/overlay/src/overlay-arrow.directive.mjs +0 -59
  123. package/esm2022/overlay/src/overlay-arrow.token.mjs +0 -3
  124. package/esm2022/overlay/src/overlay-trigger.directive.mjs +0 -279
  125. package/esm2022/overlay/src/overlay-trigger.token.mjs +0 -9
  126. package/esm2022/overlay/src/overlay.directive.mjs +0 -51
  127. package/esm2022/overlay/src/overlay.token.mjs +0 -3
  128. package/esm2022/progress/src/progress.directive.mjs +0 -62
  129. package/esm2022/progress/src/progress.token.mjs +0 -6
  130. package/esm2022/radio/src/radio-group.directive.mjs +0 -108
  131. package/esm2022/radio/src/radio-group.token.mjs +0 -6
  132. package/esm2022/radio/src/radio-item.token.mjs +0 -6
  133. package/esm2022/roving-focus/src/roving-focus-group.token.mjs +0 -9
  134. package/esm2022/roving-focus/src/roving-focus-item.token.mjs +0 -6
  135. package/esm2022/switch/src/switch.directive.mjs +0 -125
  136. package/esm2022/switch/src/switch.token.mjs +0 -6
  137. package/esm2022/toggle/src/toggle.directive.mjs +0 -65
  138. package/esm2022/tooltip/index.mjs +0 -5
  139. package/esm2022/tooltip/radix-ng-primitives-tooltip.mjs +0 -5
  140. package/esm2022/tooltip/src/tooltip-arrow.directive.mjs +0 -17
  141. package/esm2022/tooltip/src/tooltip-trigger.directive.mjs +0 -148
  142. package/esm2022/tooltip/src/tooltip-trigger.token.mjs +0 -6
  143. package/esm2022/tooltip/src/tooltip.config.mjs +0 -31
  144. package/esm2022/tooltip/src/tooltip.directive.mjs +0 -46
  145. package/esm2022/visually-hidden/index.mjs +0 -2
  146. package/esm2022/visually-hidden/radix-ng-primitives-visually-hidden.mjs +0 -5
  147. package/esm2022/visually-hidden/src/visually-hidden.directive.mjs +0 -42
  148. package/fesm2022/radix-ng-primitives-overlay.mjs +0 -399
  149. package/fesm2022/radix-ng-primitives-overlay.mjs.map +0 -1
  150. package/fesm2022/radix-ng-primitives-tooltip.mjs +0 -242
  151. package/fesm2022/radix-ng-primitives-tooltip.mjs.map +0 -1
  152. package/fesm2022/radix-ng-primitives-visually-hidden.mjs +0 -49
  153. package/fesm2022/radix-ng-primitives-visually-hidden.mjs.map +0 -1
  154. package/label/src/label.directive.d.ts +0 -14
  155. package/overlay/README.md +0 -1
  156. package/overlay/index.d.ts +0 -4
  157. package/overlay/src/overlay-arrow.directive.d.ts +0 -29
  158. package/overlay/src/overlay-arrow.token.d.ts +0 -3
  159. package/overlay/src/overlay-trigger.directive.d.ts +0 -163
  160. package/overlay/src/overlay-trigger.token.d.ts +0 -7
  161. package/overlay/src/overlay.directive.d.ts +0 -29
  162. package/overlay/src/overlay.token.d.ts +0 -3
  163. package/progress/src/progress.directive.d.ts +0 -26
  164. package/progress/src/progress.token.d.ts +0 -4
  165. package/radio/src/radio-group.token.d.ts +0 -4
  166. package/radio/src/radio-item.token.d.ts +0 -4
  167. package/roving-focus/src/roving-focus-group.token.d.ts +0 -7
  168. package/roving-focus/src/roving-focus-item.token.d.ts +0 -4
  169. package/switch/src/switch.directive.d.ts +0 -73
  170. package/switch/src/switch.token.d.ts +0 -4
  171. package/toggle/src/toggle.directive.d.ts +0 -30
  172. package/tooltip/README.md +0 -1
  173. package/tooltip/index.d.ts +0 -4
  174. package/tooltip/src/tooltip-arrow.directive.d.ts +0 -6
  175. package/tooltip/src/tooltip-trigger.directive.d.ts +0 -79
  176. package/tooltip/src/tooltip-trigger.token.d.ts +0 -4
  177. package/tooltip/src/tooltip.config.d.ts +0 -46
  178. package/tooltip/src/tooltip.directive.d.ts +0 -17
  179. package/visually-hidden/README.md +0 -3
  180. package/visually-hidden/index.d.ts +0 -1
  181. package/visually-hidden/src/visually-hidden.directive.d.ts +0 -11
@@ -1,73 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class RdxSwitchDirective implements ControlValueAccessor {
5
- /**
6
- * Access the element ref.
7
- */
8
- private readonly elementRef;
9
- /**
10
- * Determine if the switch is a button
11
- */
12
- protected isButton: boolean;
13
- /**
14
- * Determine if the switch is checked.
15
- * The controlled state of the switch.
16
- * @default false
17
- */
18
- checked: boolean;
19
- /**
20
- * Determine if the switch is disabled.
21
- * When true, prevents the user from interacting with the switch.
22
- * @default false
23
- */
24
- disabled: boolean;
25
- /**
26
- * Event emitted when the checked state changes.
27
- */
28
- readonly checkedChange: EventEmitter<boolean>;
29
- /**
30
- * Store the onChange callback.
31
- */
32
- private onChange?;
33
- /**
34
- * Store the onTouched callback.
35
- */
36
- protected onTouched?: () => void;
37
- /**
38
- * Register the onChange callback.
39
- * @param fn The onChange callback.
40
- * @internal
41
- */
42
- registerOnChange(fn: (checked: boolean) => void): void;
43
- /**
44
- * Register the onTouched callback.
45
- * @param fn The onTouched callback.
46
- * @internal
47
- */
48
- registerOnTouched(fn: () => void): void;
49
- /**
50
- * Write the value to the checked state.
51
- * @param checked The checked state.
52
- * @internal
53
- */
54
- writeValue(checked: boolean): void;
55
- /**
56
- * Set the disabled state.
57
- * @param isDisabled The disabled state.
58
- * @internal
59
- */
60
- setDisabledState(isDisabled: boolean): void;
61
- /**
62
- * Toggle the checked state.
63
- */
64
- toggle(): void;
65
- /**
66
- * Handle the keydown event.
67
- */
68
- protected onKeyDown(): void;
69
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxSwitchDirective, never>;
70
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSwitchDirective, "[rdxSwitch]", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "checkedChange": "checkedChange"; }, never, never, true, never>;
71
- static ngAcceptInputType_checked: unknown;
72
- static ngAcceptInputType_disabled: unknown;
73
- }
@@ -1,4 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import type { RdxSwitchDirective } from './switch.directive';
3
- export declare const RdxSwitchToken: InjectionToken<RdxSwitchDirective>;
4
- export declare function injectSwitch(): RdxSwitchDirective;
@@ -1,30 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class RdxToggleDirective {
4
- /**
5
- * Whether the toggle is pressed.
6
- * @default false
7
- */
8
- pressed: boolean;
9
- /**
10
- * Whether the toggle is disabled.
11
- * @default false
12
- */
13
- disabled: boolean;
14
- /**
15
- * Determine element id
16
- */
17
- id: string;
18
- /**
19
- * Event emitted when the toggle is pressed.
20
- */
21
- readonly pressedChange: EventEmitter<boolean>;
22
- /**
23
- * Toggle the pressed state.
24
- */
25
- toggle(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxToggleDirective, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxToggleDirective, "button[rdxToggle]", never, { "pressed": { "alias": "rdxTogglePressed"; "required": false; }; "disabled": { "alias": "rdxToggleDisabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "pressedChange": "rdxToggleOnPressedChange"; }, never, never, true, never>;
28
- static ngAcceptInputType_pressed: unknown;
29
- static ngAcceptInputType_disabled: unknown;
30
- }
package/tooltip/README.md DELETED
@@ -1 +0,0 @@
1
- # @radix-ng/primitives/tooltip
@@ -1,4 +0,0 @@
1
- export * from './src/tooltip-arrow.directive';
2
- export * from './src/tooltip-trigger.directive';
3
- export * from './src/tooltip.config';
4
- export * from './src/tooltip.directive';
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@radix-ng/primitives/overlay";
3
- export declare class RdxTooltipArrowDirective {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxTooltipArrowDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTooltipArrowDirective, "[rdxTooltipArrow]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxOverlayArrowDirective; inputs: {}; outputs: {}; }]>;
6
- }
@@ -1,79 +0,0 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
2
- import { Placement } from '@floating-ui/dom';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@radix-ng/primitives/overlay";
5
- export declare class RdxTooltipTriggerDirective implements OnInit {
6
- /**
7
- * Access the overlay trigger directive
8
- */
9
- private readonly overlayTrigger;
10
- /**
11
- * Access the global tooltip configuration
12
- */
13
- private readonly tooltipConfig;
14
- /**
15
- * Define the tooltip to display when the trigger is activated.
16
- */
17
- templateRef: TemplateRef<void>;
18
- /**
19
- * Define if the trigger should be disabled.
20
- * @default false
21
- */
22
- disabled: boolean;
23
- /**
24
- * Define the placement of the tooltip relative to the trigger.
25
- * @default 'bottom'
26
- */
27
- placement: Placement;
28
- /**
29
- * Define the offset of the tooltip relative to the trigger.
30
- * @default 0
31
- */
32
- offset: number;
33
- /**
34
- * Define the delay before the tooltip is displayed.
35
- * @default 0
36
- */
37
- showDelay: number;
38
- /**
39
- * Define the delay before the tooltip is hidden.
40
- * @default 0
41
- */
42
- hideDelay: number;
43
- /**
44
- * Define whether the tooltip should flip when there is not enough space for the tooltip.
45
- * @default true
46
- */
47
- flip: boolean;
48
- /**
49
- * Define the container in to which the tooltip should be attached.
50
- * @default document.body
51
- */
52
- container: HTMLElement;
53
- /**
54
- * The tooltip id.
55
- */
56
- protected tooltipId?: string;
57
- ngOnInit(): void;
58
- /**
59
- * Show the tooltip.
60
- */
61
- show(): void;
62
- /**
63
- * Hide the tooltip.
64
- */
65
- hide(): void;
66
- /**
67
- * Define the tooltip id.
68
- * @param id The tooltip id
69
- * @internal
70
- */
71
- setTooltipId(id: string): void;
72
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxTooltipTriggerDirective, never>;
73
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTooltipTriggerDirective, "[rdxTooltipTrigger]", never, { "templateRef": { "alias": "rdxTooltipTrigger"; "required": true; }; "disabled": { "alias": "rdxTooltipDisabled"; "required": false; }; "placement": { "alias": "rdxTooltipPlacement"; "required": false; }; "offset": { "alias": "rdxTooltipOffset"; "required": false; }; "showDelay": { "alias": "rdxTooltipShowDelay"; "required": false; }; "hideDelay": { "alias": "rdxTooltipHideDelay"; "required": false; }; "flip": { "alias": "rdxTooltipFlip"; "required": false; }; "container": { "alias": "rdxTooltipContainer"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.RdxOverlayTriggerDirective; inputs: { "rdxOverlayTrigger": "rdxTooltipTrigger"; "rdxOverlayDisabled": "rdxTooltipDisabled"; "rdxOverlayPlacement": "rdxTooltipPlacement"; "rdxOverlayOffset": "rdxTooltipOffset"; "rdxOverlayShowDelay": "rdxTooltipShowDelay"; "rdxOverlayHideDelay": "rdxTooltipHideDelay"; "rdxOverlayShift": "rdxTooltipShift"; "rdxOverlayFlip": "rdxTooltipFlip"; "rdxOverlayContainer": "rdxTooltipContainer"; }; outputs: {}; }]>;
74
- static ngAcceptInputType_disabled: unknown;
75
- static ngAcceptInputType_offset: unknown;
76
- static ngAcceptInputType_showDelay: unknown;
77
- static ngAcceptInputType_hideDelay: unknown;
78
- static ngAcceptInputType_flip: unknown;
79
- }
@@ -1,4 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import type { RdxTooltipTriggerDirective } from './tooltip-trigger.directive';
3
- export declare const RdxTooltipTriggerToken: InjectionToken<RdxTooltipTriggerDirective>;
4
- export declare function injectTooltipTrigger(): RdxTooltipTriggerDirective;
@@ -1,46 +0,0 @@
1
- import { InjectionToken, Provider } from '@angular/core';
2
- import { Placement } from '@floating-ui/dom';
3
- export declare const TooltipConfigToken: InjectionToken<RdxTooltipConfig>;
4
- export interface RdxTooltipConfig {
5
- /**
6
- * Define the offset of the tooltip relative to the trigger.
7
- * @default 4
8
- */
9
- offset: number;
10
- /**
11
- * Define the placement of the tooltip relative to the trigger.
12
- * @default 'top'
13
- */
14
- placement: Placement;
15
- /**
16
- * Define the delay before the tooltip is shown.
17
- * @default 0
18
- */
19
- showDelay: number;
20
- /**
21
- * Define the delay before the tooltip is hidden.
22
- * @default 0
23
- */
24
- hideDelay: number;
25
- /**
26
- * Define whether the tooltip should flip when there is not enough space for the tooltip.
27
- * @default true
28
- */
29
- flip: boolean;
30
- /**
31
- * Define the container in to which the tooltip should be attached.
32
- * @default document.body
33
- */
34
- container: HTMLElement;
35
- }
36
- /**
37
- * Provide the default Tooltip configuration
38
- * @param config The Tooltip configuration
39
- * @returns The provider
40
- */
41
- export declare function provideTooltipConfig(config: Partial<RdxTooltipConfig>): Provider[];
42
- /**
43
- * Inject the Tooltip configuration
44
- * @returns The global Tooltip configuration
45
- */
46
- export declare function injectTooltipConfig(): RdxTooltipConfig;
@@ -1,17 +0,0 @@
1
- import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@radix-ng/primitives/overlay";
4
- export declare class RdxTooltipDirective implements OnInit, OnChanges {
5
- /**
6
- * Access the tooltip trigger
7
- */
8
- private readonly trigger;
9
- /**
10
- * Define the tooltip id
11
- */
12
- id: string;
13
- ngOnInit(): void;
14
- ngOnChanges(changes: SimpleChanges): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxTooltipDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTooltipDirective, "[rdxTooltip]", ["rdxTooltip"], { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.RdxOverlayDirective; inputs: {}; outputs: {}; }]>;
17
- }
@@ -1,3 +0,0 @@
1
- # @radix-ng/primitives/visually-hidden
2
-
3
- Secondary entry point of `@radix-ng/primitives`. It can be used by importing from `@radix-ng/primitives/visually-hidden`.
@@ -1 +0,0 @@
1
- export * from './src/visually-hidden.directive';
@@ -1,11 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class RdxVisuallyHiddenDirective implements OnInit {
4
- /**
5
- * Access the element.
6
- */
7
- private readonly element;
8
- ngOnInit(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxVisuallyHiddenDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxVisuallyHiddenDirective, "[rdxVisuallyHidden]", never, {}, {}, never, never, true, never>;
11
- }