@bootkit/ng0 0.0.0-alpha.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 (136) hide show
  1. package/README.md +2 -0
  2. package/accordion/accordion-item.component.d.ts +13 -0
  3. package/accordion/accordion.component.d.ts +13 -0
  4. package/accordion/accordion.module.d.ts +8 -0
  5. package/accordion/index.d.ts +5 -0
  6. package/accordion/public-api.d.ts +3 -0
  7. package/collapse/collapse.component.d.ts +18 -0
  8. package/collapse/collapse.directive.d.ts +32 -0
  9. package/collapse/collapse.module.d.ts +8 -0
  10. package/collapse/index.d.ts +5 -0
  11. package/collapse/public-api.d.ts +3 -0
  12. package/common/index.d.ts +5 -0
  13. package/common/public-api.d.ts +2 -0
  14. package/common/types.d.ts +4 -0
  15. package/common/utils.d.ts +3 -0
  16. package/esm2022/accordion/accordion-item.component.mjs +34 -0
  17. package/esm2022/accordion/accordion.component.mjs +25 -0
  18. package/esm2022/accordion/accordion.module.mjs +25 -0
  19. package/esm2022/accordion/bootkit-ng0-accordion.mjs +5 -0
  20. package/esm2022/accordion/public-api.mjs +4 -0
  21. package/esm2022/bootkit-ng0.mjs +5 -0
  22. package/esm2022/collapse/bootkit-ng0-collapse.mjs +5 -0
  23. package/esm2022/collapse/collapse.component.mjs +46 -0
  24. package/esm2022/collapse/collapse.directive.mjs +94 -0
  25. package/esm2022/collapse/collapse.module.mjs +23 -0
  26. package/esm2022/collapse/public-api.mjs +4 -0
  27. package/esm2022/common/bootkit-ng0-common.mjs +5 -0
  28. package/esm2022/common/public-api.mjs +3 -0
  29. package/esm2022/common/types.mjs +3 -0
  30. package/esm2022/common/utils.mjs +16 -0
  31. package/esm2022/lib/index.mjs +3 -0
  32. package/esm2022/lib/types.mjs +2 -0
  33. package/esm2022/modal/bootkit-ng0-modal.mjs +5 -0
  34. package/esm2022/modal/modal.component.mjs +44 -0
  35. package/esm2022/modal/modal.module.mjs +20 -0
  36. package/esm2022/modal/public-api.mjs +3 -0
  37. package/esm2022/modal/types.mjs +3 -0
  38. package/esm2022/nav/bootkit-ng0-nav.mjs +5 -0
  39. package/esm2022/nav/nav-item.directive.mjs +26 -0
  40. package/esm2022/nav/nav-link.directive.mjs +45 -0
  41. package/esm2022/nav/nav.directive.mjs +23 -0
  42. package/esm2022/nav/nav.module.mjs +35 -0
  43. package/esm2022/nav/public-api.mjs +7 -0
  44. package/esm2022/nav/tab-content.component.mjs +29 -0
  45. package/esm2022/nav/tab-pane.directive.mjs +20 -0
  46. package/esm2022/offcanvas/bootkit-ng0-offcanvas.mjs +5 -0
  47. package/esm2022/offcanvas/offcanvas.directive.mjs +118 -0
  48. package/esm2022/offcanvas/offcanvas.module.mjs +19 -0
  49. package/esm2022/offcanvas/public-api.mjs +3 -0
  50. package/esm2022/overlay/bootkit-ng0-overlay.mjs +5 -0
  51. package/esm2022/overlay/overlay.directive.mjs +111 -0
  52. package/esm2022/overlay/overlay.module.mjs +22 -0
  53. package/esm2022/overlay/private/utils.mjs +58 -0
  54. package/esm2022/overlay/public-api.mjs +3 -0
  55. package/esm2022/popover/bootkit-ng0-popover.mjs +5 -0
  56. package/esm2022/popover/popover-wrapper/popover-wrapper.component.mjs +29 -0
  57. package/esm2022/popover/popover.directive.mjs +140 -0
  58. package/esm2022/popover/public-api.mjs +2 -0
  59. package/esm2022/popover/types.mjs +2 -0
  60. package/esm2022/public-api.mjs +5 -0
  61. package/esm2022/toast/bootkit-ng0-toast.mjs +5 -0
  62. package/esm2022/toast/public-api.mjs +4 -0
  63. package/esm2022/toast/toast-ref.mjs +27 -0
  64. package/esm2022/toast/toast.component.mjs +68 -0
  65. package/esm2022/toast/toast.service.mjs +93 -0
  66. package/esm2022/toast/types.mjs +2 -0
  67. package/esm2022/tooltip/bootkit-ng0-tooltip.mjs +5 -0
  68. package/esm2022/tooltip/public-api.mjs +3 -0
  69. package/esm2022/tooltip/tooltip-wrapper/tooltip-wrapper.component.mjs +44 -0
  70. package/esm2022/tooltip/tooltip.directive.mjs +93 -0
  71. package/esm2022/tooltip/types.mjs +2 -0
  72. package/fesm2022/bootkit-ng0-accordion.mjs +83 -0
  73. package/fesm2022/bootkit-ng0-accordion.mjs.map +1 -0
  74. package/fesm2022/bootkit-ng0-collapse.mjs +163 -0
  75. package/fesm2022/bootkit-ng0-collapse.mjs.map +1 -0
  76. package/fesm2022/bootkit-ng0-common.mjs +26 -0
  77. package/fesm2022/bootkit-ng0-common.mjs.map +1 -0
  78. package/fesm2022/bootkit-ng0-modal.mjs +68 -0
  79. package/fesm2022/bootkit-ng0-modal.mjs.map +1 -0
  80. package/fesm2022/bootkit-ng0-nav.mjs +166 -0
  81. package/fesm2022/bootkit-ng0-nav.mjs.map +1 -0
  82. package/fesm2022/bootkit-ng0-offcanvas.mjs +141 -0
  83. package/fesm2022/bootkit-ng0-offcanvas.mjs.map +1 -0
  84. package/fesm2022/bootkit-ng0-overlay.mjs +194 -0
  85. package/fesm2022/bootkit-ng0-overlay.mjs.map +1 -0
  86. package/fesm2022/bootkit-ng0-popover.mjs +173 -0
  87. package/fesm2022/bootkit-ng0-popover.mjs.map +1 -0
  88. package/fesm2022/bootkit-ng0-toast.mjs +191 -0
  89. package/fesm2022/bootkit-ng0-toast.mjs.map +1 -0
  90. package/fesm2022/bootkit-ng0-tooltip.mjs +141 -0
  91. package/fesm2022/bootkit-ng0-tooltip.mjs.map +1 -0
  92. package/fesm2022/bootkit-ng0.mjs +12 -0
  93. package/fesm2022/bootkit-ng0.mjs.map +1 -0
  94. package/index.d.ts +5 -0
  95. package/lib/index.d.ts +2 -0
  96. package/lib/types.d.ts +1 -0
  97. package/modal/index.d.ts +5 -0
  98. package/modal/modal.component.d.ts +18 -0
  99. package/modal/modal.module.d.ts +7 -0
  100. package/modal/public-api.d.ts +2 -0
  101. package/modal/types.d.ts +2 -0
  102. package/nav/index.d.ts +5 -0
  103. package/nav/nav-item.directive.d.ts +13 -0
  104. package/nav/nav-link.directive.d.ts +16 -0
  105. package/nav/nav.directive.d.ts +11 -0
  106. package/nav/nav.module.d.ts +11 -0
  107. package/nav/public-api.d.ts +6 -0
  108. package/nav/tab-content.component.d.ts +15 -0
  109. package/nav/tab-pane.directive.d.ts +9 -0
  110. package/offcanvas/index.d.ts +5 -0
  111. package/offcanvas/offcanvas.directive.d.ts +24 -0
  112. package/offcanvas/offcanvas.module.d.ts +7 -0
  113. package/offcanvas/public-api.d.ts +2 -0
  114. package/overlay/index.d.ts +5 -0
  115. package/overlay/overlay.directive.d.ts +50 -0
  116. package/overlay/overlay.module.d.ts +10 -0
  117. package/overlay/private/utils.d.ts +10 -0
  118. package/overlay/public-api.d.ts +2 -0
  119. package/package.json +101 -0
  120. package/popover/index.d.ts +5 -0
  121. package/popover/popover-wrapper/popover-wrapper.component.d.ts +15 -0
  122. package/popover/popover.directive.d.ts +30 -0
  123. package/popover/public-api.d.ts +1 -0
  124. package/popover/types.d.ts +4 -0
  125. package/public-api.d.ts +1 -0
  126. package/toast/index.d.ts +5 -0
  127. package/toast/public-api.d.ts +3 -0
  128. package/toast/toast-ref.d.ts +12 -0
  129. package/toast/toast.component.d.ts +19 -0
  130. package/toast/toast.service.d.ts +43 -0
  131. package/toast/types.d.ts +44 -0
  132. package/tooltip/index.d.ts +5 -0
  133. package/tooltip/public-api.d.ts +2 -0
  134. package/tooltip/tooltip-wrapper/tooltip-wrapper.component.d.ts +19 -0
  135. package/tooltip/tooltip.directive.d.ts +24 -0
  136. package/tooltip/types.d.ts +3 -0
@@ -0,0 +1,24 @@
1
+ import { TemplateRef, ViewContainerRef, OnDestroy, ElementRef, OnInit, DestroyRef } from '@angular/core';
2
+ import { Overlay } from '@angular/cdk/overlay';
3
+ import { TooltipPlacement } from './types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TooltipDirective implements OnInit, OnDestroy {
6
+ private overlayService;
7
+ private elementRef;
8
+ private destroyRef;
9
+ private viewRef;
10
+ content: import("@angular/core").InputSignal<string | TemplateRef<any>>;
11
+ placement: import("@angular/core").InputSignal<TooltipPlacement>;
12
+ private portal;
13
+ private overlayRef?;
14
+ constructor(overlayService: Overlay, elementRef: ElementRef, destroyRef: DestroyRef, viewRef: ViewContainerRef);
15
+ ngOnInit(): void;
16
+ private onMouseEnter;
17
+ private onMouseLeave;
18
+ private createOverlay;
19
+ private disposeOverlay;
20
+ private getPositions;
21
+ ngOnDestroy(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[ng0Tooltip]", ["ng0Tooltip"], { "content": { "alias": "ng0Tooltip"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
24
+ }
@@ -0,0 +1,3 @@
1
+ import { TemplateRef } from "@angular/core";
2
+ export type TooltipPlacement = 'top' | 'bottom' | 'start' | 'end';
3
+ export type TooltipContent = string | TemplateRef<any>;