@bravura/ui 2.1.0 → 2.3.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.
@@ -8,7 +8,9 @@ import * as i0 from "@angular/core";
8
8
  * The backdrop is nearly transparent, blending the theme palette `color`
9
9
  * and the effective background color of the DOM ancestors.
10
10
  *
11
- * `bui-panel` supports all the content child directives of `mat-card`.
11
+ * `bui-panel` supports all the content child directives of `mat-card` as well as `bui-panel-section`.
12
+ *
13
+ * `bui-panel-section`s are subdivisions of `bui-panel` that rearrange their orientation based on the width of the container element.
12
14
  *
13
15
  */
14
16
  export declare class PanelComponent implements OnInit {
@@ -37,10 +39,18 @@ export declare class PanelComponent implements OnInit {
37
39
  */
38
40
  get appearance(): 'outlined' | 'raised' | 'flat';
39
41
  set appearance(value: 'outlined' | 'raised' | 'flat');
42
+ /**
43
+ * The width of the host element, at which the panel section container will change its orientation.
44
+ */
45
+ breakpoint: number;
46
+ /** @ignore */
47
+ _width: number;
40
48
  private _color;
41
49
  private _appearance;
42
50
  constructor(_cd: ChangeDetectorRef);
43
51
  ngOnInit(): void;
52
+ /** @ignore */
53
+ _resized(width: number): void;
44
54
  static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "bui-panel", never, { "backdropClass": "backdropClass"; "cardClass": "cardClass"; "color": "color"; "appearance": "appearance"; }, {}, never, ["*"], false>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "bui-panel", never, { "backdropClass": "backdropClass"; "cardClass": "cardClass"; "color": "color"; "appearance": "appearance"; "breakpoint": "breakpoint"; }, {}, never, ["*"], false>;
46
56
  }
@@ -1,11 +1,14 @@
1
1
  import { PanelComponent } from './panel.component';
2
+ import { PanelSectionComponent } from './panel-section.component';
2
3
  import * as i0 from "@angular/core";
3
4
  import * as i1 from "./panel.component";
4
- import * as i2 from "@angular/common";
5
- import * as i3 from "@angular/material/card";
5
+ import * as i2 from "./panel-section.component";
6
+ import * as i3 from "@angular/common";
7
+ import * as i4 from "@angular/material/card";
8
+ import * as i5 from "@bravura/ui/behavior";
6
9
  export declare class PanelModule {
7
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PanelModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<PanelModule, [typeof i1.PanelComponent], [typeof i2.CommonModule, typeof i3.MatCardModule], [typeof i3.MatCardModule, typeof i1.PanelComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PanelModule, [typeof i1.PanelComponent, typeof i2.PanelSectionComponent], [typeof i3.CommonModule, typeof i4.MatCardModule, typeof i5.BehaviorModule], [typeof i4.MatCardModule, typeof i1.PanelComponent, typeof i2.PanelSectionComponent]>;
9
12
  static ɵinj: i0.ɵɵInjectorDeclaration<PanelModule>;
10
13
  }
11
- export { PanelComponent };
14
+ export { PanelComponent, PanelSectionComponent };