@bravobit/bb-foundation 0.50.8 → 0.50.9

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 (38) hide show
  1. package/fesm2022/bravobit-bb-foundation-elements.mjs +12 -12
  2. package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
  3. package/fesm2022/bravobit-bb-foundation-notifications.mjs +8 -13
  4. package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
  5. package/fesm2022/bravobit-bb-foundation-permissions.mjs +7 -11
  6. package/fesm2022/bravobit-bb-foundation-permissions.mjs.map +1 -1
  7. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +12 -28
  8. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs.map +1 -1
  9. package/fesm2022/bravobit-bb-foundation-select.mjs +19 -27
  10. package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -1
  11. package/fesm2022/bravobit-bb-foundation-storage.mjs +8 -14
  12. package/fesm2022/bravobit-bb-foundation-storage.mjs.map +1 -1
  13. package/fesm2022/bravobit-bb-foundation-table.mjs +4 -4
  14. package/fesm2022/bravobit-bb-foundation-table.mjs.map +1 -1
  15. package/fesm2022/bravobit-bb-foundation-utils.mjs +22 -36
  16. package/fesm2022/bravobit-bb-foundation-utils.mjs.map +1 -1
  17. package/fesm2022/bravobit-bb-foundation.mjs +31 -69
  18. package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
  19. package/lib/core/services/exif.service.d.ts +2 -5
  20. package/lib/core/services/image-converter.service.d.ts +3 -7
  21. package/lib/core/services/languages.service.d.ts +3 -3
  22. package/lib/core/services/network.service.d.ts +5 -6
  23. package/lib/core/services/patch.service.d.ts +4 -6
  24. package/localize/lib/transforms/plural.transform.d.ts +1 -1
  25. package/notifications/lib/notifications-item/notifications-item.component.d.ts +4 -6
  26. package/package.json +16 -16
  27. package/permissions/lib/directives/permission.directive.d.ts +4 -6
  28. package/recaptcha/lib/recaptcha/recaptcha.component.d.ts +10 -14
  29. package/select/lib/select-label.directive.d.ts +0 -1
  30. package/select/lib/select-multi-label.directive.d.ts +0 -1
  31. package/select/lib/select-option-group.directive.d.ts +0 -1
  32. package/select/lib/select-option.directive.d.ts +0 -1
  33. package/storage/lib/storage.service.d.ts +4 -5
  34. package/styles/theme.scss +6 -1
  35. package/utils/lib/directives/autosize.directive.d.ts +3 -4
  36. package/utils/lib/directives/focus-trap.directive.d.ts +2 -5
  37. package/utils/lib/directives/focus.directive.d.ts +4 -6
  38. package/utils/lib/directives/template.directive.d.ts +3 -4
@@ -1,13 +1,12 @@
1
1
  import { StorageOption, StorageStrategy } from './interfaces/strategy.interface';
2
2
  import { StorageAttributes } from './interfaces/attributes.interface';
3
- import { Platform } from '@angular/cdk/platform';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class Storage implements StorageStrategy {
6
- private _platform;
7
- private _cookieString?;
5
+ private readonly _platform;
6
+ private readonly _cookieString?;
8
7
  private readonly _strategies;
9
8
  private readonly _current;
10
- constructor(_platform: Platform, _cookieString?: string);
9
+ constructor();
11
10
  select(option: StorageOption | StorageOption[]): StorageStrategy;
12
11
  get local(): StorageStrategy;
13
12
  get cookie(): StorageStrategy;
@@ -21,6 +20,6 @@ export declare class Storage implements StorageStrategy {
21
20
  private findBestStorageStrategy;
22
21
  private getLocalStorage;
23
22
  private getSessionStorage;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<Storage, [null, { optional: true; }]>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<Storage, never>;
25
24
  static ɵprov: i0.ɵɵInjectableDeclaration<Storage>;
26
25
  }
package/styles/theme.scss CHANGED
@@ -54,6 +54,11 @@
54
54
  // Controls.
55
55
  --bb-control-border-color: hsla(213, 8%, 74%, 1);
56
56
  --bb-control-focus-border-color: hsla(213, 8%, 50%, 1);
57
+ --bb-control-error-color: hsl(0, 80%, 25%);
58
+ --bb-control-error-placeholder-color: hsl(0, 80%, 70%);
59
+ --bb-control-error-border-color: hsl(0, 80%, 30%);
60
+ --bb-control-error-background-color: hsl(0, 80%, 90%);
61
+ --bb-control-error-box-shadow: 0 0.375rem 0.375rem -0.375rem hsla(0, 0%, 0%, 0.1), 0 0 0 0.1875rem hsl(0, 80%, 90%);
57
62
 
58
63
  // Checkbox.
59
64
  --bb-checkbox-border-radius: 0.25rem;
@@ -107,7 +112,7 @@
107
112
 
108
113
  // Collections table label.
109
114
  --bb-collections-table-label-color: var(--bb-primary-color-550);
110
- --bb-collections-table-loader-color: var(--bb-primary-color-500);
115
+ --bb-collections-table-loader-color: red; //var(--bb-primary-color-500);
111
116
 
112
117
  // Spinner.
113
118
  --bb-spinner-color: var(--bb-primary-color-500);
@@ -1,12 +1,11 @@
1
- import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
1
+ import { AfterViewInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BbAutosize implements AfterViewInit {
4
- private _renderer;
5
- private _elementRef;
4
+ private readonly _renderer;
5
+ private readonly _elementRef;
6
6
  minHeight: string | null;
7
7
  maxHeight: string | null;
8
8
  rows: number;
9
- constructor(_renderer: Renderer2, _elementRef: ElementRef);
10
9
  get element(): HTMLTextAreaElement;
11
10
  ngAfterViewInit(): void;
12
11
  onWindowResize(): void;
@@ -1,11 +1,8 @@
1
- import { ElementRef } from '@angular/core';
2
- import { Platform } from '@angular/cdk/platform';
3
1
  import * as i0 from "@angular/core";
4
2
  export declare class BbFocusTrap {
5
- private _platform;
6
- private _elementRef;
3
+ private readonly _platform;
4
+ private readonly _elementRef;
7
5
  private readonly _focusableElements;
8
- constructor(_platform: Platform, _elementRef: ElementRef);
9
6
  onKeydown(event: KeyboardEvent): void;
10
7
  trapFocus(event: KeyboardEvent): void;
11
8
  private get element();
@@ -1,14 +1,12 @@
1
- import { AfterViewInit, ElementRef, NgZone } from '@angular/core';
1
+ import { AfterViewInit } from '@angular/core';
2
2
  import { FocusMode } from '@bravobit/bb-foundation';
3
- import { Platform } from '@angular/cdk/platform';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class BbFocus implements AfterViewInit {
6
- private _zone;
7
- private _platform;
8
- private _elementRef;
5
+ private readonly _zone;
6
+ private readonly _platform;
7
+ private readonly _elementRef;
9
8
  private readonly _globalFocusMode;
10
9
  bbFocusMode: FocusMode | null;
11
- constructor(_zone: NgZone, _platform: Platform, _elementRef: ElementRef);
12
10
  private get nativeElement();
13
11
  ngAfterViewInit(): void;
14
12
  private isMobile;
@@ -1,10 +1,9 @@
1
- import { TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BbTemplate {
4
- private _templateRef;
5
- private _viewContainerRef;
4
+ private readonly _templateRef;
5
+ private readonly _viewContainerRef;
6
6
  set bbTemplate(content: string | TemplateRef<any>);
7
- constructor(_templateRef: TemplateRef<any>, _viewContainerRef: ViewContainerRef);
8
7
  static ngAcceptInputType_bbTemplate: string | TemplateRef<any>;
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<BbTemplate, never>;
10
9
  static ɵdir: i0.ɵɵDirectiveDeclaration<BbTemplate, "[bbTemplate]", never, { "bbTemplate": { "alias": "bbTemplate"; "required": false; }; }, {}, never, never, true, never>;