@mintplayer/ng-bootstrap 22.6.0 → 22.8.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 (126) hide show
  1. package/_bootstrap.scss +4 -0
  2. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +255 -44
  3. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
  4. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +3 -2
  5. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
  6. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +24 -4
  7. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
  8. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +12 -3
  9. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
  10. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +9 -4
  11. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
  12. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +21 -7
  13. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
  14. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +5 -6
  15. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
  16. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +39 -35
  17. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
  18. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +7 -4
  19. package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
  20. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +80 -31
  21. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
  22. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +4 -0
  23. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +1 -1
  24. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +3 -2
  25. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  26. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +3 -2
  27. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
  28. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +4 -7
  29. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
  30. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +27 -2
  31. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
  32. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +3 -2
  33. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
  34. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +1 -1
  35. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
  36. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +25 -3
  37. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
  38. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +15 -3
  39. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
  40. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +9 -3
  41. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
  42. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +11 -12
  43. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  44. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +15 -2
  45. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  46. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +6 -6
  47. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
  48. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +4 -7
  49. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
  50. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +2 -3
  51. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
  52. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +24 -5
  53. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
  54. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +2 -2
  55. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -1
  56. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +8 -3
  57. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
  58. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +4 -3
  59. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
  60. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +41 -46
  61. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
  62. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +5 -1
  63. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  64. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +33 -4
  65. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  66. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +23 -11
  67. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  68. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +2 -2
  69. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
  70. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +9 -12
  71. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
  72. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +3 -2
  73. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
  74. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +76 -58
  75. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  76. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +2 -2
  77. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
  78. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +3 -2
  79. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
  80. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +9 -10
  81. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  82. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +3 -2
  83. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
  84. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +23 -8
  85. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
  86. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +29 -6
  87. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
  88. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +4 -3
  89. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
  90. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +3 -2
  91. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
  92. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +10 -3
  93. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  94. package/package.json +1 -5
  95. package/types/mintplayer-ng-bootstrap-a11y.d.ts +184 -32
  96. package/types/mintplayer-ng-bootstrap-alert.d.ts +18 -8
  97. package/types/mintplayer-ng-bootstrap-badge.d.ts +8 -1
  98. package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +3 -1
  99. package/types/mintplayer-ng-bootstrap-card.d.ts +4 -2
  100. package/types/mintplayer-ng-bootstrap-carousel.d.ts +2 -3
  101. package/types/mintplayer-ng-bootstrap-checkbox.d.ts +11 -16
  102. package/types/mintplayer-ng-bootstrap-close.d.ts +6 -4
  103. package/types/mintplayer-ng-bootstrap-context-menu.d.ts +3 -0
  104. package/types/mintplayer-ng-bootstrap-copy.d.ts +1 -0
  105. package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +16 -18
  106. package/types/mintplayer-ng-bootstrap-dropdown.d.ts +7 -0
  107. package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +15 -2
  108. package/types/mintplayer-ng-bootstrap-list-group.d.ts +3 -1
  109. package/types/mintplayer-ng-bootstrap-marquee.d.ts +7 -4
  110. package/types/mintplayer-ng-bootstrap-navbar.d.ts +1 -3
  111. package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +6 -0
  112. package/types/mintplayer-ng-bootstrap-otp-input.d.ts +2 -2
  113. package/types/mintplayer-ng-bootstrap-pagination.d.ts +1 -3
  114. package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +5 -2
  115. package/types/mintplayer-ng-bootstrap-radio.d.ts +20 -28
  116. package/types/mintplayer-ng-bootstrap-rating.d.ts +18 -1
  117. package/types/mintplayer-ng-bootstrap-scheduler.d.ts +5 -13
  118. package/types/mintplayer-ng-bootstrap-select.d.ts +2 -3
  119. package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +31 -30
  120. package/types/mintplayer-ng-bootstrap-toast.d.ts +3 -1
  121. package/types/mintplayer-ng-bootstrap-tooltip.d.ts +8 -0
  122. package/types/mintplayer-ng-bootstrap-typeahead.d.ts +7 -1
  123. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs +0 -60
  124. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs.map +0 -1
  125. package/reduced-motion/package.json +0 -4
  126. package/types/mintplayer-ng-bootstrap-reduced-motion.d.ts +0 -36
@@ -1,9 +1,22 @@
1
1
  import * as i0 from '@angular/core';
2
+ import { AfterViewInit } from '@angular/core';
2
3
 
3
- declare class BsFloatingLabelComponent {
4
+ declare class BsFloatingLabelComponent implements AfterViewInit {
5
+ private readonly hostRef;
4
6
  constructor();
7
+ /**
8
+ * Associate the projected `<label>` with the projected control.
9
+ *
10
+ * Bootstrap's floating-label pattern *looks* labelled with no association at
11
+ * all — the label floats over the control purely via CSS — so the visual
12
+ * result gives no hint that a screen reader announces an unnamed textbox.
13
+ * `label`/`for` is the native mechanism and everything here is light DOM, so
14
+ * a generated id is all that is missing. Consumer-authored `for`/`id` are
15
+ * left untouched.
16
+ */
17
+ ngAfterViewInit(): void;
5
18
  static ɵfac: i0.ɵɵFactoryDeclaration<BsFloatingLabelComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<BsFloatingLabelComponent, "bs-floating-label", never, {}, {}, never, ["input", "label"], true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsFloatingLabelComponent, "bs-floating-label", never, {}, {}, never, ["input,select,textarea", "label"], true, never>;
7
20
  }
8
21
 
9
22
  export { BsFloatingLabelComponent };
@@ -1,8 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
2
 
3
3
  declare class BsListGroupItemComponent {
4
+ readonly active: i0.InputSignal<boolean>;
5
+ readonly disabled: i0.InputSignal<boolean>;
4
6
  static ɵfac: i0.ɵɵFactoryDeclaration<BsListGroupItemComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<BsListGroupItemComponent, "bs-list-group-item", never, {}, {}, never, ["*"], true, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<BsListGroupItemComponent, "bs-list-group-item", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
6
8
  }
7
9
 
8
10
  declare class BsListGroupComponent {
@@ -1,9 +1,12 @@
1
- import * as i0 from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
2
 
3
3
  declare class BsMarqueeComponent {
4
- readonly ariaLabel: i0.InputSignal<string | null>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<BsMarqueeComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<BsMarqueeComponent, "bs-marquee", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
4
+ readonly ariaLabel: _angular_core.InputSignal<string | null>;
5
+ /** WCAG 2.2.2: moving content needs a pause affordance. */
6
+ readonly paused: _angular_core.WritableSignal<boolean>;
7
+ togglePaused(): void;
8
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsMarqueeComponent, never>;
9
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsMarqueeComponent, "bs-marquee", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
10
  }
8
11
 
9
12
  export { BsMarqueeComponent };
@@ -26,7 +26,6 @@ declare class BsNavbarComponent {
26
26
  /** Theme color of the navbar background (e.g. `primary`, `dark`, `body-tertiary`). */
27
27
  readonly color: _angular_core.InputSignal<string | undefined>;
28
28
  /** Accessible label for the `<nav>` landmark. */
29
- readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
30
29
  /** Whether the collapse is (visually) expanded; reflected to the WC. */
31
30
  readonly expanded: _angular_core.InputSignal<boolean>;
32
31
  /** `fixed` pins the bar to the top of the viewport, full width; omit for in-flow. */
@@ -35,14 +34,13 @@ declare class BsNavbarComponent {
35
34
  readonly expandedchange: _angular_core.OutputEmitterRef<NavbarExpandedChangeEventDetail>;
36
35
  /** String-or-absent attributes derived once via signals. */
37
36
  protected readonly colorAttr: _angular_core.Signal<string | null>;
38
- protected readonly ariaLabelAttr: _angular_core.Signal<string | null>;
39
37
  protected readonly positioningAttr: _angular_core.Signal<"fixed" | null>;
40
38
  /** Presence attribute: `''` when expanded, `null` when collapsed. */
41
39
  protected readonly expandedAttr: _angular_core.Signal<"" | null>;
42
40
  protected onExpandedchange(event: Event): void;
43
41
  constructor();
44
42
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsNavbarComponent, never>;
45
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsNavbarComponent, "bs-navbar", never, { "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "positioning": { "alias": "positioning"; "required": false; "isSignal": true; }; }, { "expandedchange": "expandedchange"; }, never, ["*"], true, never>;
43
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsNavbarComponent, "bs-navbar", never, { "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "positioning": { "alias": "positioning"; "required": false; "isSignal": true; }; }, { "expandedchange": "expandedchange"; }, never, ["*"], true, never>;
46
44
  }
47
45
 
48
46
  /**
@@ -36,6 +36,12 @@ declare class BsOffcanvasComponent {
36
36
  isVisibleChange: _angular_core.OutputEmitterRef<boolean>;
37
37
  backdropClick: _angular_core.OutputEmitterRef<MouseEvent>;
38
38
  onBackdropClick(ev: MouseEvent): void;
39
+ /**
40
+ * Escape closes — the dialog pattern's universal exit, and the panel traps
41
+ * focus while open (bsOverlayFocus), so without this a keyboard user had no
42
+ * way out at all.
43
+ */
44
+ onEscape(): void;
39
45
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsOffcanvasComponent, never>;
40
46
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsOffcanvasComponent, "bs-offcanvas-holder", never, {}, { "isVisibleChange": "isVisibleChange"; "backdropClick": "backdropClick"; }, never, never, true, never>;
41
47
  }
@@ -30,7 +30,7 @@ declare class BsOtpInputComponent {
30
30
  readonly size: _angular_core.InputSignal<OtpInputSize>;
31
31
  readonly disabled: _angular_core.InputSignal<boolean>;
32
32
  readonly invalid: _angular_core.InputSignal<boolean>;
33
- readonly label: _angular_core.InputSignal<string | null>;
33
+ readonly inputLabel: _angular_core.InputSignal<string | null>;
34
34
  readonly value: _angular_core.ModelSignal<string | undefined>;
35
35
  readonly complete: _angular_core.OutputEmitterRef<string>;
36
36
  readonly elementRef: _angular_core.Signal<ElementRef<MintOtpInputElement>>;
@@ -44,7 +44,7 @@ declare class BsOtpInputComponent {
44
44
  /** Reset the value to empty string. */
45
45
  clear(): void;
46
46
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsOtpInputComponent, never>;
47
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsOtpInputComponent, "bs-otp-input", never, { "groups": { "alias": "groups"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "case": { "alias": "case"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "complete": "complete"; }, never, never, true, [{ directive: typeof BsOtpInputValueAccessor; inputs: {}; outputs: {}; }]>;
47
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsOtpInputComponent, "bs-otp-input", never, { "groups": { "alias": "groups"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "case": { "alias": "case"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "complete": "complete"; }, never, never, true, [{ directive: typeof BsOtpInputValueAccessor; inputs: {}; outputs: {}; }]>;
48
48
  }
49
49
 
50
50
  export { BsOtpInputComponent, BsOtpInputValueAccessor };
@@ -14,13 +14,11 @@ declare class BsPaginationComponent {
14
14
  readonly showArrows: _angular_core.InputSignal<boolean>;
15
15
  /** Page number size. */
16
16
  readonly size: _angular_core.InputSignal<Size>;
17
- /** Accessible name on the surrounding `<nav>` landmark. */
18
- readonly ariaLabel: _angular_core.InputSignal<string>;
19
17
  protected readonly paginationRef: _angular_core.Signal<ElementRef<MpPagination> | undefined>;
20
18
  constructor();
21
19
  onPageChange(event: Event): void;
22
20
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsPaginationComponent, never>;
23
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsPaginationComponent, "bs-pagination", never, { "pageNumbers": { "alias": "pageNumbers"; "required": false; "isSignal": true; }; "selectedPageNumber": { "alias": "selectedPageNumber"; "required": false; "isSignal": true; }; "numberOfBoxes": { "alias": "numberOfBoxes"; "required": false; "isSignal": true; }; "showArrows": { "alias": "showArrows"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "selectedPageNumber": "selectedPageNumberChange"; }, never, never, true, never>;
21
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsPaginationComponent, "bs-pagination", never, { "pageNumbers": { "alias": "pageNumbers"; "required": false; "isSignal": true; }; "selectedPageNumber": { "alias": "selectedPageNumber"; "required": false; "isSignal": true; }; "numberOfBoxes": { "alias": "numberOfBoxes"; "required": false; "isSignal": true; }; "showArrows": { "alias": "showArrows"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "selectedPageNumber": "selectedPageNumberChange"; }, never, never, true, never>;
24
22
  }
25
23
 
26
24
  type PageNumberType = number | '...';
@@ -16,12 +16,15 @@ declare class BsProgressBarComponent {
16
16
  color: _angular_core.InputSignal<Color>;
17
17
  striped: _angular_core.InputSignal<boolean>;
18
18
  animated: _angular_core.InputSignal<boolean>;
19
- ariaLabel: _angular_core.InputSignal<string | null>;
19
+ /** Accessible name for the progressbar. Override for localisation. */
20
+ ariaLabel: _angular_core.InputSignal<string>;
21
+ /** Human reading of the value ('3 of 5 steps') when the raw number misleads. */
22
+ valueText: _angular_core.InputSignal<string | null>;
20
23
  percentage: _angular_core.Signal<number>;
21
24
  width: _angular_core.Signal<string>;
22
25
  colorClassComputed: _angular_core.Signal<string>;
23
26
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsProgressBarComponent, never>;
24
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsProgressBarComponent, "bs-progress-bar", never, { "minimum": { "alias": "minimum"; "required": false; "isSignal": true; }; "maximum": { "alias": "maximum"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "animated": { "alias": "animated"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
27
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsProgressBarComponent, "bs-progress-bar", never, { "minimum": { "alias": "minimum"; "required": false; "isSignal": true; }; "maximum": { "alias": "maximum"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "animated": { "alias": "animated"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "valueText": { "alias": "valueText"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
25
28
  }
26
29
 
27
30
  export { BsProgressBarComponent, BsProgressComponent };
@@ -1,25 +1,28 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { ElementRef } from '@angular/core';
3
3
  import { ControlValueAccessor } from '@angular/forms';
4
4
  import { MpRadio } from '@mintplayer/web-components/radio';
5
+ import * as i1 from '@mintplayer/ng-bootstrap/a11y';
5
6
 
6
7
  /**
7
8
  * Groups N `<bs-radio>` children into a single-select FormControl whose
8
9
  * value is the selected radio's `value()`. The group owns the shared
9
- * `[name]` (radios don't carry their own).
10
+ * `[name]` (radios don't carry their own). Acts as its own
11
+ * `ControlValueAccessor` — bind `[formControl]` / `[(ngModel)]` on the
12
+ * element carrying `[bsRadioGroup]`.
10
13
  *
11
- * Each `<bs-radio>` renders an `<mp-radio>` WC; each WC keeps its own
12
- * `<input type="radio">` inside its own shadow root, so the browser's
13
- * native one-of-N (auto-unchecking siblings on selection) does not fire
14
- * across `<mp-radio>` boundaries. This directive coordinates explicitly:
15
- * on every bubbled `change`, the originating WC is identified by the
16
- * event target, every other radio's `checked` property is set to `false`,
17
- * and the new FormControl value is emitted.
18
- *
19
- * Acts as its own `ControlValueAccessor` — bind `[formControl]` /
20
- * `[(ngModel)]` on the element carrying `[bsRadioGroup]`.
14
+ * Host it on `<mp-radio-group>` where the markup allows: the WC supplies
15
+ * `role="radiogroup"`, the roving tab stop, arrow move-and-select and
16
+ * exclusivity, and this directive is only the CVA bridge (it listens for
17
+ * the WC's `group-change`, which is the ONLY signal a keyboard-driven
18
+ * selection produces — the WC checks radios programmatically, so no
19
+ * `change` bubbles). On any other host (a `<tbody>`, a `<bs-button-group>`)
20
+ * the WC element cannot be used, and this directive coordinates the
21
+ * one-of-N itself on bubbled `change` — shadow roots keep the browser's
22
+ * native auto-uncheck from ever firing across `<mp-radio>` boundaries.
21
23
  */
22
24
  declare class BsRadioGroupDirective implements ControlValueAccessor {
25
+ private readonly host;
23
26
  readonly name: _angular_core.InputSignal<string | null>;
24
27
  readonly radios: _angular_core.Signal<readonly BsRadioComponent[]>;
25
28
  /** Most-recently-written form value. An effect syncs each child's
@@ -29,8 +32,10 @@ declare class BsRadioGroupDirective implements ControlValueAccessor {
29
32
  * populates. */
30
33
  private readonly currentValue;
31
34
  private onValueChange?;
32
- private onTouched?;
35
+ protected onTouched?: () => void;
33
36
  constructor();
37
+ /** Keyboard/pointer selection routed through an `<mp-radio-group>` host. */
38
+ onGroupChange(ev: Event): void;
34
39
  onChildChange(ev: Event): void;
35
40
  registerOnChange(fn: (_: string | null) => void): void;
36
41
  registerOnTouched(fn: () => void): void;
@@ -42,10 +47,7 @@ declare class BsRadioGroupDirective implements ControlValueAccessor {
42
47
 
43
48
  type BsRadioType = 'radio' | 'toggle_button';
44
49
 
45
- declare class BsRadioComponent implements AfterViewInit {
46
- private readonly hostRef;
47
- private readonly platformId;
48
- private readonly destroyRef;
50
+ declare class BsRadioComponent {
49
51
  private readonly parentGroup;
50
52
  /** Reference to the underlying `<mp-radio>` WC. Read by `[bsRadioGroup]`
51
53
  * to write the WC's `checked` property — shadow DOM blocks the browser's
@@ -62,18 +64,8 @@ declare class BsRadioComponent implements AfterViewInit {
62
64
  readonly nameResult: _angular_core.Signal<string | null>;
63
65
  constructor();
64
66
  onChange(ev: Event): void;
65
- ngAfterViewInit(): void;
66
- /**
67
- * Mirror every `aria-*` attribute from the host element onto the inner
68
- * `<mp-radio>`. ATs read the accessible name from the focused element
69
- * (the inner input, which the WC mirrors aria-* to internally) — surfacing
70
- * host-level `[attr.aria-…]` bindings on the wrapper means hopping them
71
- * through the WC. A MutationObserver keeps the mirror in sync with
72
- * runtime aria attribute changes.
73
- */
74
- private mirrorAriaAttributesToRadio;
75
67
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsRadioComponent, never>;
76
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsRadioComponent, "bs-radio", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "isToggled": { "alias": "isToggled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "group": { "alias": "group"; "required": false; "isSignal": true; }; }, { "isToggled": "isToggledChange"; }, never, ["*"], true, never>;
68
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsRadioComponent, "bs-radio", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "isToggled": { "alias": "isToggled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "group": { "alias": "group"; "required": false; "isSignal": true; }; }, { "isToggled": "isToggledChange"; }, never, ["*"], true, [{ directive: typeof i1.BsControlValidityDirective; inputs: { "errorMessages": "errorMessages"; }; outputs: {}; }]>;
77
69
  }
78
70
 
79
71
  export { BsRadioComponent, BsRadioGroupDirective };
@@ -3,18 +3,35 @@ import { ElementRef } from '@angular/core';
3
3
 
4
4
  declare class BsRatingComponent {
5
5
  constructor();
6
+ /** Accessible name for the radiogroup. Override for localisation. */
7
+ ariaLabel: _angular_core.InputSignal<string>;
8
+ /**
9
+ * Per-star accessible name. A formatter, not a prefix/suffix pair, because
10
+ * word order differs across languages and an interpolated middle cannot be
11
+ * expressed any other way.
12
+ */
13
+ starLabel: _angular_core.InputSignal<(star: number, maximum: number) => string>;
6
14
  maximum: _angular_core.InputSignal<number>;
7
15
  value: _angular_core.ModelSignal<number>;
8
16
  previewValue: _angular_core.WritableSignal<number | null>;
9
17
  starsChange: _angular_core.OutputEmitterRef<number>;
10
18
  readonly starButtons: _angular_core.Signal<readonly ElementRef<HTMLButtonElement>[]>;
19
+ /**
20
+ * Exactly one star must stay tabbable or the whole widget leaves the tab
21
+ * order: with no value set, the old binding gave EVERY star tabindex="-1"
22
+ * and the rating could never be entered by keyboard (the audit's bs-rating
23
+ * Critical, and the reason RovingFocus's first-enabled fallback exists).
24
+ */
25
+ readonly starTabIndexes: _angular_core.Signal<(0 | -1)[]>;
26
+ /** Hoisted per the computed-over-inline-expression rule. */
27
+ readonly starLabels: _angular_core.Signal<string[]>;
11
28
  stars: _angular_core.Signal<boolean[]>;
12
29
  hoverValue(index: number): void;
13
30
  selectValue(index: number): void;
14
31
  onMouseLeave(): void;
15
32
  onKeydown(event: KeyboardEvent): void;
16
33
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsRatingComponent, never>;
17
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsRatingComponent, "bs-rating", never, { "maximum": { "alias": "maximum"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "starsChange": "starsChange"; }, never, never, true, never>;
34
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsRatingComponent, "bs-rating", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "starLabel": { "alias": "starLabel"; "required": false; "isSignal": true; }; "maximum": { "alias": "maximum"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "starsChange": "starsChange"; }, never, never, true, never>;
18
35
  }
19
36
 
20
37
  export { BsRatingComponent };
@@ -1,6 +1,6 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { AfterViewInit, OnDestroy } from '@angular/core';
3
- import { ViewType, SchedulerEvent, Resource, ResourceGroup, SchedulerOptions } from '@mintplayer/web-components/scheduler-core';
3
+ import { SchedulerEvent, Resource, ResourceGroup, SchedulerOptions, ViewType } from '@mintplayer/web-components/scheduler-core';
4
4
  export { PreviewEvent, Resource, ResourceGroup, SchedulerEvent, SchedulerEventPart, SchedulerOptions, TimeSlot, ViewType, generateEventId, generateGroupId, generateResourceId } from '@mintplayer/web-components/scheduler-core';
5
5
 
6
6
  /**
@@ -76,24 +76,17 @@ interface DateSelectEvent {
76
76
  resource?: Resource;
77
77
  originalEvent?: Event;
78
78
  }
79
- /**
80
- * View change event detail
81
- */
82
- interface ViewChangeEvent {
83
- view: ViewType;
84
- date: Date;
85
- }
86
79
  /**
87
80
  * Angular wrapper for the mp-scheduler web component using signals
88
81
  */
89
82
  declare class BsSchedulerComponent implements AfterViewInit, OnDestroy {
90
83
  private readonly injector;
91
84
  private readonly schedulerRef;
92
- readonly view: _angular_core.InputSignal<ViewType>;
93
- readonly date: _angular_core.InputSignal<Date>;
94
85
  readonly events: _angular_core.InputSignal<SchedulerEvent[]>;
95
86
  readonly resources: _angular_core.InputSignal<(Resource | ResourceGroup)[]>;
96
87
  readonly options: _angular_core.InputSignal<Partial<SchedulerOptions>>;
88
+ readonly view: _angular_core.ModelSignal<ViewType>;
89
+ readonly date: _angular_core.ModelSignal<Date>;
97
90
  readonly selectedEvent: _angular_core.ModelSignal<SchedulerEvent | null>;
98
91
  readonly selectedRange: _angular_core.ModelSignal<{
99
92
  start: Date;
@@ -106,7 +99,6 @@ declare class BsSchedulerComponent implements AfterViewInit, OnDestroy {
106
99
  readonly eventDelete: _angular_core.OutputEmitterRef<SchedulerEventDeleteEvent>;
107
100
  readonly dateClick: _angular_core.OutputEmitterRef<DateClickEvent>;
108
101
  readonly dateSelect: _angular_core.OutputEmitterRef<DateSelectEvent>;
109
- readonly viewChange: _angular_core.OutputEmitterRef<ViewChangeEvent>;
110
102
  readonly selectionChange: _angular_core.OutputEmitterRef<SchedulerSelectionChangeEvent>;
111
103
  readonly currentWeekStart: _angular_core.Signal<Date>;
112
104
  readonly currentWeekEnd: _angular_core.Signal<Date>;
@@ -164,8 +156,8 @@ declare class BsSchedulerComponent implements AfterViewInit, OnDestroy {
164
156
  */
165
157
  refetchEvents(): void;
166
158
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsSchedulerComponent, never>;
167
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSchedulerComponent, "bs-scheduler", never, { "view": { "alias": "view"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "events": { "alias": "events"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "selectedEvent": { "alias": "selectedEvent"; "required": false; "isSignal": true; }; "selectedRange": { "alias": "selectedRange"; "required": false; "isSignal": true; }; }, { "selectedEvent": "selectedEventChange"; "selectedRange": "selectedRangeChange"; "eventSelected": "eventSelected"; "eventDblClick": "eventDblClick"; "eventCreate": "eventCreate"; "eventUpdate": "eventUpdate"; "eventDelete": "eventDelete"; "dateClick": "dateClick"; "dateSelect": "dateSelect"; "viewChange": "viewChange"; "selectionChange": "selectionChange"; }, never, never, true, never>;
159
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSchedulerComponent, "bs-scheduler", never, { "events": { "alias": "events"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "selectedEvent": { "alias": "selectedEvent"; "required": false; "isSignal": true; }; "selectedRange": { "alias": "selectedRange"; "required": false; "isSignal": true; }; }, { "view": "viewChange"; "date": "dateChange"; "selectedEvent": "selectedEventChange"; "selectedRange": "selectedRangeChange"; "eventSelected": "eventSelected"; "eventDblClick": "eventDblClick"; "eventCreate": "eventCreate"; "eventUpdate": "eventUpdate"; "eventDelete": "eventDelete"; "dateClick": "dateClick"; "dateSelect": "dateSelect"; "selectionChange": "selectionChange"; }, never, never, true, never>;
168
160
  }
169
161
 
170
162
  export { BsSchedulerComponent };
171
- export type { DateClickEvent, DateSelectEvent, SchedulerEventCreateEvent, SchedulerEventDeleteEvent, SchedulerEventSelectedEvent, SchedulerEventUpdateEvent, SchedulerSelectionChangeEvent, ViewChangeEvent };
163
+ export type { DateClickEvent, DateSelectEvent, SchedulerEventCreateEvent, SchedulerEventDeleteEvent, SchedulerEventSelectedEvent, SchedulerEventUpdateEvent, SchedulerSelectionChangeEvent };
@@ -2,6 +2,7 @@ import * as _angular_core from '@angular/core';
2
2
  import { OnDestroy, ElementRef } from '@angular/core';
3
3
  import { MpSelect } from '@mintplayer/web-components/select';
4
4
  import { ControlValueAccessor } from '@angular/forms';
5
+ import * as i2 from '@mintplayer/ng-bootstrap/a11y';
5
6
 
6
7
  type BsSelectSize = 'sm' | 'md' | 'lg';
7
8
 
@@ -47,7 +48,6 @@ declare class BsSelectOption implements OnDestroy {
47
48
  }
48
49
 
49
50
  declare class BsSelectComponent {
50
- private renderer;
51
51
  constructor();
52
52
  identifier: _angular_core.InputSignal<number>;
53
53
  /** Reference to the underlying `<mp-select>` WC. Read by
@@ -58,9 +58,8 @@ declare class BsSelectComponent {
58
58
  multiple: _angular_core.InputSignal<boolean>;
59
59
  numberVisible: _angular_core.InputSignal<number | null>;
60
60
  disabled: _angular_core.InputSignal<boolean>;
61
- ariaLabel: _angular_core.InputSignal<string | null>;
62
61
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsSelectComponent, never>;
63
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSelectComponent, "bs-select", never, { "identifier": { "alias": "identifier"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "numberVisible": { "alias": "numberVisible"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof BsSelectValueAccessor; inputs: { "compareWith": "compareWith"; }; outputs: {}; }]>;
62
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSelectComponent, "bs-select", never, { "identifier": { "alias": "identifier"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "numberVisible": { "alias": "numberVisible"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof BsSelectValueAccessor; inputs: { "compareWith": "compareWith"; }; outputs: {}; }, { directive: typeof i2.BsControlValidityDirective; inputs: { "errorMessages": "errorMessages"; }; outputs: {}; }]>;
64
63
  }
65
64
 
66
65
  export { BsSelectComponent, BsSelectOption, BsSelectValueAccessor };
@@ -1,36 +1,37 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { ElementRef } from '@angular/core';
3
+ import { Signature, MpSignaturePadElement } from '@mintplayer/web-components/signature-pad';
4
+ export { Point, Signature, Stroke } from '@mintplayer/web-components/signature-pad';
3
5
 
4
- interface Point {
5
- x: number;
6
- y: number;
7
- }
8
-
9
- interface Stroke {
10
- points: Point[];
11
- }
12
-
13
- interface Signature {
14
- strokes: Stroke[];
15
- }
16
-
17
- declare class BsSignaturePadComponent implements AfterViewInit {
18
- signature: _angular_core.ModelSignal<Signature>;
19
- width: _angular_core.InputSignal<number>;
20
- height: _angular_core.InputSignal<number>;
21
- ariaLabel: _angular_core.InputSignal<string>;
22
- readonly minHeight = 5;
23
- readonly isDrawing: _angular_core.WritableSignal<boolean>;
24
- readonly canvas: _angular_core.Signal<ElementRef<HTMLCanvasElement>>;
25
- context: CanvasRenderingContext2D | null;
26
- ngAfterViewInit(): void;
27
- onTouchMove(ev: TouchEvent): void;
28
- onPointerStart(ev: PointerEvent): void;
29
- onPointerMove(ev: PointerEvent): void;
30
- onPointerEnd(ev: PointerEvent): void;
6
+ /**
7
+ * `<bs-signature-pad>` — Angular wrapper around the `<mp-signature-pad>` web
8
+ * component. The WC owns drawing, the typed-signature alternative, Undo/Clear
9
+ * and ARIA; this wrapper bridges the `signature` two-way model and forwards
10
+ * the optional label overrides.
11
+ */
12
+ declare class BsSignaturePadComponent {
13
+ readonly width: _angular_core.InputSignal<number>;
14
+ readonly height: _angular_core.InputSignal<number>;
15
+ readonly inputLabel: _angular_core.InputSignal<string | null>;
16
+ readonly typeLabel: _angular_core.InputSignal<string | null>;
17
+ readonly undoLabel: _angular_core.InputSignal<string | null>;
18
+ readonly clearLabel: _angular_core.InputSignal<string | null>;
19
+ /**
20
+ * Shows the typed alternative; named identically to bs-color-picker's input.
21
+ * ON by default — it is the only keyboard path — so turning it off is a
22
+ * deliberate draw-only decision.
23
+ */
24
+ readonly showAccessibilityToggle: _angular_core.InputSignal<boolean>;
25
+ readonly signature: _angular_core.ModelSignal<Signature>;
26
+ readonly elementRef: _angular_core.Signal<ElementRef<MpSignaturePadElement>>;
27
+ constructor();
28
+ protected onSignatureChange(event: Event): void;
29
+ /** Remove the most recent stroke. */
30
+ undo(): void;
31
+ /** Wipe strokes and typed text. */
32
+ clear(): void;
31
33
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsSignaturePadComponent, never>;
32
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSignaturePadComponent, "bs-signature-pad", never, { "signature": { "alias": "signature"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "signature": "signatureChange"; }, never, never, true, never>;
34
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSignaturePadComponent, "bs-signature-pad", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "typeLabel": { "alias": "typeLabel"; "required": false; "isSignal": true; }; "undoLabel": { "alias": "undoLabel"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "showAccessibilityToggle": { "alias": "showAccessibilityToggle"; "required": false; "isSignal": true; }; "signature": { "alias": "signature"; "required": false; "isSignal": true; }; }, { "signature": "signatureChange"; }, never, never, true, never>;
33
35
  }
34
36
 
35
37
  export { BsSignaturePadComponent };
36
- export type { Point, Signature, Stroke };
@@ -8,7 +8,9 @@ declare class BsToastComponent {
8
8
  isVisible: i0.InputSignal<boolean>;
9
9
  /** SR announcement urgency. 'assertive' for time-critical (errors), 'polite' for everything else. */
10
10
  politeness: i0.InputSignal<BsToastPoliteness>;
11
- readonly toastRole: i0.Signal<"alert" | "status">;
11
+ private readonly announcer;
12
+ private readonly host;
13
+ constructor();
12
14
  static ɵfac: i0.ɵɵFactoryDeclaration<BsToastComponent, never>;
13
15
  static ɵcmp: i0.ɵɵComponentDeclaration<BsToastComponent, "bs-toast", never, { "isVisible": { "alias": "isVisible"; "required": false; "isSignal": true; }; "politeness": { "alias": "politeness"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
14
16
  }
@@ -13,6 +13,14 @@ declare class BsTooltipDirective implements OnDestroy {
13
13
  private readonly tooltipId;
14
14
  private stackToken;
15
15
  constructor(overlay: Overlay, templateRef: TemplateRef<any>, parentInjector: Injector, parent: ElementRef);
16
+ /**
17
+ * WCAG 1.4.13 "hoverable": the pointer must be able to travel INTO the
18
+ * tooltip (to select/zoom its text) without it vanishing. Hide on a short
19
+ * delay; entering the overlay cancels it, leaving the overlay hides.
20
+ */
21
+ private hideTimer;
22
+ private scheduleHide;
23
+ private cancelScheduledHide;
16
24
  readonly bsTooltip: i0.InputSignal<Position>;
17
25
  private injector;
18
26
  private portal;
@@ -5,6 +5,12 @@ import { BsRovingFocusDirective } from '@mintplayer/ng-bootstrap/a11y';
5
5
  declare class BsTypeaheadComponent {
6
6
  private announcer;
7
7
  isOpen: _angular_core.ModelSignal<boolean>;
8
+ /**
9
+ * Accessible name for the text input. Optional — a consumer wrapping the
10
+ * typeahead in bs-floating-label gets a real <label> association instead —
11
+ * but without either the control is unnamed.
12
+ */
13
+ inputLabel: _angular_core.InputSignal<string | null>;
8
14
  suggestions: _angular_core.InputSignal<any[]>;
9
15
  isLoading: _angular_core.WritableSignal<boolean>;
10
16
  showNoSuggestions: _angular_core.Signal<boolean>;
@@ -28,7 +34,7 @@ declare class BsTypeaheadComponent {
28
34
  onSubmit(event?: Event): void;
29
35
  focus(): void;
30
36
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTypeaheadComponent, never>;
31
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTypeaheadComponent, "bs-typeahead", never, { "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "searchterm": { "alias": "searchterm"; "required": false; "isSignal": true; }; "isLoadingText": { "alias": "isLoadingText"; "required": false; "isSignal": true; }; "noSuggestionsText": { "alias": "noSuggestionsText"; "required": false; "isSignal": true; }; "resultsAnnouncementSingular": { "alias": "resultsAnnouncementSingular"; "required": false; "isSignal": true; }; "resultsAnnouncementPlural": { "alias": "resultsAnnouncementPlural"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; "searchterm": "searchtermChange"; "provideSuggestions": "provideSuggestions"; "suggestionSelected": "suggestionSelected"; "submitted": "submitted"; }, never, never, true, never>;
37
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTypeaheadComponent, "bs-typeahead", never, { "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "searchterm": { "alias": "searchterm"; "required": false; "isSignal": true; }; "isLoadingText": { "alias": "isLoadingText"; "required": false; "isSignal": true; }; "noSuggestionsText": { "alias": "noSuggestionsText"; "required": false; "isSignal": true; }; "resultsAnnouncementSingular": { "alias": "resultsAnnouncementSingular"; "required": false; "isSignal": true; }; "resultsAnnouncementPlural": { "alias": "resultsAnnouncementPlural"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; "searchterm": "searchtermChange"; "provideSuggestions": "provideSuggestions"; "suggestionSelected": "suggestionSelected"; "submitted": "submitted"; }, never, never, true, never>;
32
38
  }
33
39
 
34
40
  export { BsTypeaheadComponent };
@@ -1,60 +0,0 @@
1
- import { isPlatformBrowser } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, PLATFORM_ID, DestroyRef, signal, Directive } from '@angular/core';
4
-
5
- /**
6
- * Tracks `(prefers-reduced-motion: reduce)` live and exposes the result as a
7
- * signal. Designed to be composed onto a host component via `hostDirectives`
8
- * so the host can `inject(BsReducedMotionDirective)` and read `matches()` to
9
- * gate animations / auto-advance / non-essential motion. SSR-safe — on the
10
- * server (or in environments without `matchMedia`) the signal stays `false`.
11
- *
12
- * Usage:
13
- * @Component({
14
- * // ...
15
- * hostDirectives: [BsReducedMotionDirective],
16
- * })
17
- * export class MyComponent {
18
- * private readonly reducedMotion = inject(BsReducedMotionDirective);
19
- * readonly animationsDisabled = computed(() => this.reducedMotion.matches());
20
- * }
21
- *
22
- * Or attach as a template attribute and read via a template reference:
23
- * <div bsReducedMotion #rm="bsReducedMotion">
24
- * <span *ngIf="!rm.matches()">animated content</span>
25
- * </div>
26
- */
27
- class BsReducedMotionDirective {
28
- constructor() {
29
- this.platformId = inject(PLATFORM_ID);
30
- this.destroyRef = inject(DestroyRef);
31
- this._matches = signal(false, /* @ts-ignore */
32
- ...(ngDevMode ? [{ debugName: "_matches" }] : /* istanbul ignore next */ []));
33
- this.matches = this._matches.asReadonly();
34
- if (isPlatformBrowser(this.platformId) &&
35
- typeof window !== 'undefined' &&
36
- typeof window.matchMedia === 'function') {
37
- const mql = window.matchMedia('(prefers-reduced-motion: reduce)');
38
- this._matches.set(mql.matches);
39
- const listener = (e) => this._matches.set(e.matches);
40
- mql.addEventListener('change', listener);
41
- this.destroyRef.onDestroy(() => mql.removeEventListener('change', listener));
42
- }
43
- }
44
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsReducedMotionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
45
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsReducedMotionDirective, isStandalone: true, selector: "[bsReducedMotion]", exportAs: ["bsReducedMotion"], ngImport: i0 }); }
46
- }
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsReducedMotionDirective, decorators: [{
48
- type: Directive,
49
- args: [{
50
- selector: '[bsReducedMotion]',
51
- exportAs: 'bsReducedMotion',
52
- }]
53
- }], ctorParameters: () => [] });
54
-
55
- /**
56
- * Generated bundle index. Do not edit.
57
- */
58
-
59
- export { BsReducedMotionDirective };
60
- //# sourceMappingURL=mintplayer-ng-bootstrap-reduced-motion.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-reduced-motion.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/reduced-motion/src/reduced-motion.directive.ts","../../../../libs/mintplayer-ng-bootstrap/reduced-motion/mintplayer-ng-bootstrap-reduced-motion.ts"],"sourcesContent":["import { isPlatformBrowser } from '@angular/common';\nimport { DestroyRef, Directive, inject, PLATFORM_ID, signal, type Signal } from '@angular/core';\n\n/**\n * Tracks `(prefers-reduced-motion: reduce)` live and exposes the result as a\n * signal. Designed to be composed onto a host component via `hostDirectives`\n * so the host can `inject(BsReducedMotionDirective)` and read `matches()` to\n * gate animations / auto-advance / non-essential motion. SSR-safe — on the\n * server (or in environments without `matchMedia`) the signal stays `false`.\n *\n * Usage:\n * @Component({\n * // ...\n * hostDirectives: [BsReducedMotionDirective],\n * })\n * export class MyComponent {\n * private readonly reducedMotion = inject(BsReducedMotionDirective);\n * readonly animationsDisabled = computed(() => this.reducedMotion.matches());\n * }\n *\n * Or attach as a template attribute and read via a template reference:\n * <div bsReducedMotion #rm=\"bsReducedMotion\">\n * <span *ngIf=\"!rm.matches()\">animated content</span>\n * </div>\n */\n@Directive({\n selector: '[bsReducedMotion]',\n exportAs: 'bsReducedMotion',\n})\nexport class BsReducedMotionDirective {\n private readonly platformId = inject(PLATFORM_ID);\n private readonly destroyRef = inject(DestroyRef);\n private readonly _matches = signal(false);\n\n readonly matches: Signal<boolean> = this._matches.asReadonly();\n\n constructor() {\n if (\n isPlatformBrowser(this.platformId) &&\n typeof window !== 'undefined' &&\n typeof window.matchMedia === 'function'\n ) {\n const mql = window.matchMedia('(prefers-reduced-motion: reduce)');\n this._matches.set(mql.matches);\n const listener = (e: MediaQueryListEvent) => this._matches.set(e.matches);\n mql.addEventListener('change', listener);\n this.destroyRef.onDestroy(() => mql.removeEventListener('change', listener));\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;;;;;;;;;;;;;;;;;;AAqBG;MAKU,wBAAwB,CAAA;AAOnC,IAAA,WAAA,GAAA;AANiB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAChC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QAC/B,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,KAAK;qFAAC;AAEhC,QAAA,IAAA,CAAA,OAAO,GAAoB,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE;AAG5D,QAAA,IACE,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;YAClC,OAAO,MAAM,KAAK,WAAW;AAC7B,YAAA,OAAO,MAAM,CAAC,UAAU,KAAK,UAAU,EACvC;YACA,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,kCAAkC,CAAC;YACjE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC;AAC9B,YAAA,MAAM,QAAQ,GAAG,CAAC,CAAsB,KAAK,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC;AACzE,YAAA,GAAG,CAAC,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,CAAC;AACxC,YAAA,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QAC9E;IACF;8GAnBW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,QAAQ,EAAE,iBAAiB;AAC5B,iBAAA;;;AC5BD;;AAEG;;;;"}
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs",
3
- "typings": "../types/mintplayer-ng-bootstrap-reduced-motion.d.ts"
4
- }