@spartan-ng/brain 0.0.1-alpha.518 → 0.0.1-alpha.520

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 (100) hide show
  1. package/accordion/lib/brn-accordion.d.ts +3 -3
  2. package/alert-dialog/lib/brn-alert-dialog.d.ts +1 -1
  3. package/autocomplete/lib/brn-autocomplete-item.d.ts +2 -2
  4. package/autocomplete/lib/brn-autocomplete-item.token.d.ts +2 -2
  5. package/autocomplete/lib/brn-autocomplete-search-input.token.d.ts +1 -1
  6. package/autocomplete/lib/brn-autocomplete.d.ts +1 -1
  7. package/autocomplete/lib/brn-autocomplete.token.d.ts +1 -1
  8. package/avatar/lib/image/brn-avatar-image.d.ts +1 -1
  9. package/button/lib/brn-button.d.ts +1 -1
  10. package/calendar/lib/brn-calendar-week.d.ts +1 -1
  11. package/calendar/lib/brn-calendar-weekday.d.ts +1 -1
  12. package/calendar/lib/brn-calendar.d.ts +3 -3
  13. package/calendar/lib/brn-calendar.token.d.ts +2 -2
  14. package/calendar/lib/i18n/calendar-i18n.d.ts +1 -1
  15. package/calendar/lib/mode/brn-calendar-multiple.d.ts +3 -3
  16. package/calendar/lib/mode/brn-calendar-range.d.ts +3 -3
  17. package/checkbox/lib/brn-checkbox.d.ts +3 -3
  18. package/collapsible/lib/brn-collapsible-content.d.ts +1 -1
  19. package/collapsible/lib/brn-collapsible.d.ts +1 -1
  20. package/command/lib/brn-command-item.d.ts +4 -4
  21. package/command/lib/brn-command-item.token.d.ts +1 -1
  22. package/command/lib/brn-command-search-input.token.d.ts +1 -1
  23. package/command/lib/brn-command.d.ts +2 -2
  24. package/command/lib/brn-command.token.d.ts +1 -1
  25. package/date-time/lib/date-adapter.d.ts +1 -1
  26. package/date-time-luxon/lib/date-adapter.d.ts +1 -1
  27. package/dialog/lib/brn-dialog-ref.d.ts +1 -1
  28. package/dialog/lib/brn-dialog-token.d.ts +2 -2
  29. package/dialog/lib/brn-dialog.d.ts +2 -2
  30. package/fesm2022/spartan-ng-brain-accordion.mjs.map +1 -1
  31. package/fesm2022/spartan-ng-brain-alert-dialog.mjs.map +1 -1
  32. package/fesm2022/spartan-ng-brain-autocomplete.mjs.map +1 -1
  33. package/fesm2022/spartan-ng-brain-avatar.mjs.map +1 -1
  34. package/fesm2022/spartan-ng-brain-button.mjs.map +1 -1
  35. package/fesm2022/spartan-ng-brain-calendar.mjs.map +1 -1
  36. package/fesm2022/spartan-ng-brain-checkbox.mjs.map +1 -1
  37. package/fesm2022/spartan-ng-brain-collapsible.mjs.map +1 -1
  38. package/fesm2022/spartan-ng-brain-command.mjs.map +1 -1
  39. package/fesm2022/spartan-ng-brain-date-time-luxon.mjs.map +1 -1
  40. package/fesm2022/spartan-ng-brain-date-time.mjs.map +1 -1
  41. package/fesm2022/spartan-ng-brain-dialog.mjs.map +1 -1
  42. package/fesm2022/spartan-ng-brain-forms.mjs.map +1 -1
  43. package/fesm2022/spartan-ng-brain-hover-card.mjs.map +1 -1
  44. package/fesm2022/spartan-ng-brain-input-group.mjs +37 -0
  45. package/fesm2022/spartan-ng-brain-input-group.mjs.map +1 -0
  46. package/fesm2022/spartan-ng-brain-input-otp.mjs.map +1 -1
  47. package/fesm2022/spartan-ng-brain-menu.mjs.map +1 -1
  48. package/fesm2022/spartan-ng-brain-popover.mjs.map +1 -1
  49. package/fesm2022/spartan-ng-brain-progress.mjs.map +1 -1
  50. package/fesm2022/spartan-ng-brain-radio-group.mjs.map +1 -1
  51. package/fesm2022/spartan-ng-brain-select.mjs.map +1 -1
  52. package/fesm2022/spartan-ng-brain-separator.mjs.map +1 -1
  53. package/fesm2022/spartan-ng-brain-slider.mjs.map +1 -1
  54. package/fesm2022/spartan-ng-brain-switch.mjs.map +1 -1
  55. package/fesm2022/spartan-ng-brain-tabs.mjs.map +1 -1
  56. package/fesm2022/spartan-ng-brain-toggle-group.mjs.map +1 -1
  57. package/fesm2022/spartan-ng-brain-toggle.mjs.map +1 -1
  58. package/fesm2022/spartan-ng-brain-tooltip.mjs.map +1 -1
  59. package/forms/lib/error-options.d.ts +1 -1
  60. package/hlm-tailwind-preset.js +10 -0
  61. package/hover-card/lib/brn-hover-card-content.service.d.ts +1 -1
  62. package/hover-card/lib/createHoverObservable.d.ts +1 -1
  63. package/input-group/README.md +3 -0
  64. package/input-group/index.d.ts +3 -0
  65. package/input-group/lib/brn-affixes.d.ts +14 -0
  66. package/input-otp/lib/brn-input-otp-slot.d.ts +1 -1
  67. package/input-otp/lib/brn-input-otp.d.ts +3 -3
  68. package/input-otp/lib/brn-input-otp.token.d.ts +2 -2
  69. package/menu/lib/brn-context-menu-trigger.d.ts +1 -1
  70. package/menu/lib/brn-menu-align.d.ts +1 -1
  71. package/menu/lib/brn-menu-trigger.d.ts +1 -1
  72. package/package.json +5 -1
  73. package/popover/lib/brn-popover.d.ts +1 -1
  74. package/progress/lib/brn-progress.d.ts +2 -2
  75. package/progress/lib/brn-progress.token.d.ts +1 -1
  76. package/radio-group/lib/brn-radio-group.d.ts +3 -3
  77. package/radio-group/lib/brn-radio-group.token.d.ts +1 -1
  78. package/radio-group/lib/brn-radio.d.ts +1 -1
  79. package/select/lib/brn-select-content.d.ts +1 -1
  80. package/select/lib/brn-select-content.token.d.ts +1 -1
  81. package/select/lib/brn-select-option.d.ts +1 -1
  82. package/select/lib/brn-select-trigger.d.ts +1 -1
  83. package/select/lib/brn-select.d.ts +3 -3
  84. package/select/lib/brn-select.token.d.ts +1 -1
  85. package/separator/lib/brn-separator.d.ts +1 -1
  86. package/slider/lib/brn-slider-tick.d.ts +1 -1
  87. package/slider/lib/brn-slider-track.token.d.ts +1 -1
  88. package/slider/lib/brn-slider.d.ts +4 -4
  89. package/slider/lib/brn-slider.token.d.ts +1 -1
  90. package/switch/lib/brn-switch.d.ts +3 -3
  91. package/tabs/lib/brn-tabs-content.d.ts +1 -1
  92. package/tabs/lib/brn-tabs-list.d.ts +1 -1
  93. package/tabs/lib/brn-tabs-paginated-list.d.ts +2 -2
  94. package/tabs/lib/brn-tabs-trigger.d.ts +2 -2
  95. package/tabs/lib/brn-tabs.d.ts +2 -2
  96. package/toggle/lib/brn-toggle.d.ts +1 -1
  97. package/toggle-group/lib/brn-toggle-group.d.ts +2 -2
  98. package/toggle-group/lib/brn-toggle-group.token.d.ts +1 -1
  99. package/toggle-group/lib/brn-toggle-item.d.ts +1 -1
  100. package/tooltip/lib/brn-tooltip.token.d.ts +2 -2
@@ -1,4 +1,4 @@
1
- import { BrnDialog, BrnDialogDefaultOptions } from '@spartan-ng/brain/dialog';
1
+ import { BrnDialog, type BrnDialogDefaultOptions } from '@spartan-ng/brain/dialog';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare const BRN_POPOVER_DIALOG_DEFAULT_OPTIONS: Partial<BrnDialogDefaultOptions>;
4
4
  export type BrnPopoverAlign = 'start' | 'center' | 'end';
@@ -1,5 +1,5 @@
1
- import { type NumberInput } from '@angular/cdk/coercion';
2
- import { OnChanges, SimpleChanges } from '@angular/core';
1
+ import type { NumberInput } from '@angular/cdk/coercion';
2
+ import { type OnChanges, type SimpleChanges } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BrnProgress implements OnChanges {
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { ExistingProvider, Type } from '@angular/core';
1
+ import { type ExistingProvider, type Type } from '@angular/core';
2
2
  import type { BrnProgress } from './brn-progress';
3
3
  export declare function provideBrnProgress(progress: Type<BrnProgress>): ExistingProvider;
4
4
  export declare function injectBrnProgress(): BrnProgress;
@@ -1,6 +1,6 @@
1
- import { BooleanInput } from '@angular/cdk/coercion';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
1
+ import type { BooleanInput } from '@angular/cdk/coercion';
2
+ import { type ControlValueAccessor } from '@angular/forms';
3
+ import type { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
4
4
  import { BrnRadio, BrnRadioChange } from './brn-radio';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare const BRN_RADIO_GROUP_CONTROL_VALUE_ACCESSOR: {
@@ -1,4 +1,4 @@
1
- import { ExistingProvider, Type } from '@angular/core';
1
+ import { type ExistingProvider, type Type } from '@angular/core';
2
2
  import type { BrnRadioGroup } from './brn-radio-group';
3
3
  export declare function provideBrnRadioGroupToken<T>(directive: Type<BrnRadioGroup<T>>): ExistingProvider;
4
4
  export declare function injectBrnRadioGroup<T = unknown>(): BrnRadioGroup<T>;
@@ -1,4 +1,4 @@
1
- import { BooleanInput } from '@angular/cdk/coercion';
1
+ import type { BooleanInput } from '@angular/cdk/coercion';
2
2
  import { ElementRef, type OnDestroy } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BrnRadioChange<T> {
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, ElementRef } from '@angular/core';
1
+ import { type AfterContentInit, ElementRef } from '@angular/core';
2
2
  import { BrnSelectOption } from './brn-select-option';
3
3
  import { FocusKeyManager } from '@angular/cdk/a11y';
4
4
  import * as i0 from "@angular/core";
@@ -1,4 +1,4 @@
1
- import { ExistingProvider, Type } from '@angular/core';
1
+ import { type ExistingProvider, type Type } from '@angular/core';
2
2
  import type { BrnSelectContent } from './brn-select-content';
3
3
  export declare function injectBrnSelectContent<T>(): BrnSelectContent<T>;
4
4
  export declare function provideBrnSelectContent(select: Type<BrnSelectContent<unknown>>): ExistingProvider;
@@ -1,5 +1,5 @@
1
1
  import type { FocusableOption } from '@angular/cdk/a11y';
2
- import { BooleanInput } from '@angular/cdk/coercion';
2
+ import type { BooleanInput } from '@angular/cdk/coercion';
3
3
  import { ElementRef } from '@angular/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class BrnSelectOption<T> implements FocusableOption {
@@ -1,4 +1,4 @@
1
- import { type AfterViewInit, OnDestroy, OnInit } from '@angular/core';
1
+ import { type AfterViewInit, type OnDestroy, type OnInit } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BrnSelectTrigger<T> implements AfterViewInit, OnDestroy, OnInit {
@@ -1,15 +1,15 @@
1
- import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
1
+ import type { BooleanInput, NumberInput } from '@angular/cdk/coercion';
2
2
  import { CdkConnectedOverlay, type ConnectedOverlayPositionChange, type ConnectedPosition } from '@angular/cdk/overlay';
3
3
  import { type DoCheck, type Signal } from '@angular/core';
4
4
  import { type ControlValueAccessor, NgControl } from '@angular/forms';
5
5
  import { type ExposesSide, type ExposesState } from '@spartan-ng/brain/core';
6
6
  import { BrnFormFieldControl } from '@spartan-ng/brain/form-field';
7
- import { ChangeFn, ErrorStateTracker, TouchFn } from '@spartan-ng/brain/forms';
7
+ import { type ChangeFn, ErrorStateTracker, type TouchFn } from '@spartan-ng/brain/forms';
8
8
  import { BrnLabel } from '@spartan-ng/brain/label';
9
9
  import { Subject } from 'rxjs';
10
10
  import { BrnSelectContent } from './brn-select-content';
11
11
  import { BrnSelectOption } from './brn-select-option';
12
- import { BrnSelectTrigger } from './brn-select-trigger';
12
+ import type { BrnSelectTrigger } from './brn-select-trigger';
13
13
  import * as i0 from "@angular/core";
14
14
  export type BrnReadDirection = 'ltr' | 'rtl';
15
15
  export declare class BrnSelect<T = unknown> implements ControlValueAccessor, DoCheck, ExposesSide, ExposesState, BrnFormFieldControl {
@@ -1,4 +1,4 @@
1
- import { ExistingProvider, Type } from '@angular/core';
1
+ import { type ExistingProvider, type Type } from '@angular/core';
2
2
  import type { BrnSelect } from './brn-select';
3
3
  export declare function injectBrnSelect<T>(): BrnSelect<T>;
4
4
  export declare function provideBrnSelect(select: Type<BrnSelect>): ExistingProvider;
@@ -1,4 +1,4 @@
1
- import { BooleanInput } from '@angular/cdk/coercion';
1
+ import type { BooleanInput } from '@angular/cdk/coercion';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BrnSeparator {
4
4
  /** Orientation of the separator. */
@@ -1,4 +1,4 @@
1
- import { OnDestroy } from '@angular/core';
1
+ import { type OnDestroy } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BrnSliderTick implements OnDestroy {
4
4
  private readonly _slider;
@@ -1,4 +1,4 @@
1
- import { ExistingProvider, InjectionToken, Type } from '@angular/core';
1
+ import { type ExistingProvider, InjectionToken, type Type } from '@angular/core';
2
2
  import type { BrnSliderTrack } from './brn-slider-track';
3
3
  export declare const BrnSliderTrackToken: InjectionToken<BrnSliderTrack>;
4
4
  export declare function provideBrnSliderTrack(slider: Type<BrnSliderTrack>): ExistingProvider;
@@ -1,7 +1,7 @@
1
- import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
2
- import { OnInit } from '@angular/core';
3
- import { ControlValueAccessor } from '@angular/forms';
4
- import { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
1
+ import type { BooleanInput, NumberInput } from '@angular/cdk/coercion';
2
+ import { type OnInit } from '@angular/core';
3
+ import { type ControlValueAccessor } from '@angular/forms';
4
+ import type { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
5
5
  import type { BrnSliderTrack } from './brn-slider-track';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class BrnSlider implements ControlValueAccessor, OnInit {
@@ -1,4 +1,4 @@
1
- import { ExistingProvider, Type } from '@angular/core';
1
+ import { type ExistingProvider, type Type } from '@angular/core';
2
2
  import type { BrnSlider } from './brn-slider';
3
3
  export declare function provideBrnSlider(slider: Type<BrnSlider>): ExistingProvider;
4
4
  export declare function injectBrnSlider(): BrnSlider;
@@ -1,7 +1,7 @@
1
- import { BooleanInput } from '@angular/cdk/coercion';
1
+ import type { BooleanInput } from '@angular/cdk/coercion';
2
2
  import { type AfterContentInit, ElementRef, type OnDestroy } from '@angular/core';
3
- import { ControlValueAccessor } from '@angular/forms';
4
- import { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
3
+ import { type ControlValueAccessor } from '@angular/forms';
4
+ import type { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare const BRN_SWITCH_VALUE_ACCESSOR: {
7
7
  provide: import("@angular/core").InjectionToken<readonly ControlValueAccessor[]>;
@@ -1,4 +1,4 @@
1
- import { OnDestroy } from '@angular/core';
1
+ import { type OnDestroy } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BrnTabsContent implements OnDestroy {
4
4
  private readonly _root;
@@ -10,7 +10,7 @@ export declare class BrnTabsList implements AfterContentInit {
10
10
  private readonly _elementRef;
11
11
  private readonly _keyDownListener;
12
12
  private _keyManager?;
13
- triggers: import("@angular/core").Signal<readonly BrnTabsTrigger[]>;
13
+ readonly triggers: import("@angular/core").Signal<readonly BrnTabsTrigger[]>;
14
14
  ngAfterContentInit(): void;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BrnTabsList, never>;
16
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<BrnTabsList, "[brnTabsList]", ["brnTabsList"], {}, {}, ["triggers"], never, true, never>;
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import { type FocusableOption } from '@angular/cdk/a11y';
14
14
  import { type Direction } from '@angular/cdk/bidi';
15
- import { type AfterContentChecked, type AfterContentInit, type AfterViewInit, ChangeDetectorRef, ElementRef, type OnDestroy, Signal } from '@angular/core';
15
+ import { type AfterContentChecked, type AfterContentInit, type AfterViewInit, ChangeDetectorRef, ElementRef, type OnDestroy, type Signal } from '@angular/core';
16
16
  import { Observable, Subject } from 'rxjs';
17
17
  import * as i0 from "@angular/core";
18
18
  /**
@@ -47,7 +47,7 @@ export declare abstract class BrnTabsPaginatedList implements AfterContentChecke
47
47
  /** Emits when the component is destroyed. */
48
48
  protected readonly _destroyed: Subject<void>;
49
49
  /** Whether the controls for pagination should be displayed */
50
- showPaginationControls: import("@angular/core").WritableSignal<boolean>;
50
+ readonly showPaginationControls: import("@angular/core").WritableSignal<boolean>;
51
51
  /** Whether the tab list can be scrolled more towards the end of the tab label list. */
52
52
  disableScrollAfter: boolean;
53
53
  /** Whether the tab list can be scrolled more towards the beginning of the tab label list. */
@@ -1,5 +1,5 @@
1
- import { BooleanInput } from '@angular/cdk/coercion';
2
- import { ElementRef, OnDestroy } from '@angular/core';
1
+ import type { BooleanInput } from '@angular/cdk/coercion';
2
+ import { ElementRef, type OnDestroy } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BrnTabsTrigger implements OnDestroy {
5
5
  readonly elementRef: ElementRef<any>;
@@ -1,5 +1,5 @@
1
- import { BrnTabsContent } from './brn-tabs-content';
2
- import { BrnTabsTrigger } from './brn-tabs-trigger';
1
+ import type { BrnTabsContent } from './brn-tabs-content';
2
+ import type { BrnTabsTrigger } from './brn-tabs-trigger';
3
3
  import * as i0 from "@angular/core";
4
4
  export type BrnTabsOrientation = 'horizontal' | 'vertical';
5
5
  export type BrnTabsDirection = 'ltr' | 'rtl';
@@ -1,4 +1,4 @@
1
- import { BooleanInput } from '@angular/cdk/coercion';
1
+ import type { BooleanInput } from '@angular/cdk/coercion';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BrnToggle<T> {
4
4
  private static _uniqueId;
@@ -1,6 +1,6 @@
1
- import { BooleanInput } from '@angular/cdk/coercion';
1
+ import type { BooleanInput } from '@angular/cdk/coercion';
2
2
  import { type ControlValueAccessor } from '@angular/forms';
3
- import { BrnToggleGroupItem } from './brn-toggle-item';
3
+ import type { BrnToggleGroupItem } from './brn-toggle-item';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare const BRN_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR: {
6
6
  provide: import("@angular/core").InjectionToken<readonly ControlValueAccessor[]>;
@@ -1,4 +1,4 @@
1
- import { ExistingProvider, Type } from '@angular/core';
1
+ import { type ExistingProvider, type Type } from '@angular/core';
2
2
  import type { BrnToggleGroup } from './brn-toggle-group';
3
3
  export declare function injectBrnToggleGroup<T>(): BrnToggleGroup<T> | null;
4
4
  export declare function provideBrnToggleGroup<T>(value: Type<BrnToggleGroup<T>>): ExistingProvider;
@@ -1,4 +1,4 @@
1
- import { BooleanInput } from '@angular/cdk/coercion';
1
+ import type { BooleanInput } from '@angular/cdk/coercion';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BrnToggleGroupItem<T> {
4
4
  private static _uniqueId;
@@ -1,5 +1,5 @@
1
- import { ValueProvider } from '@angular/core';
2
- import { TooltipPosition, TooltipTouchGestures } from './brn-tooltip-trigger';
1
+ import { type ValueProvider } from '@angular/core';
2
+ import type { TooltipPosition, TooltipTouchGestures } from './brn-tooltip-trigger';
3
3
  export interface BrnTooltipOptions {
4
4
  /** Default delay when the tooltip is shown. */
5
5
  showDelay: number;