@coolon/angular-ui-powerups 3.17.3 → 3.18.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 (52) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/assets/activities.scss +66 -9
  3. package/assets/form.scss +2 -0
  4. package/assets/interaction.scss +2 -0
  5. package/assets/mixins.scss +6 -5
  6. package/assets/styles.scss +33 -15
  7. package/assets/table.scss +1 -1
  8. package/bundles/coolon-angular-ui-powerups.umd.js +54 -31
  9. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  10. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  11. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  12. package/coolon-angular-ui-powerups.metadata.json +1 -1
  13. package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
  14. package/esm2015/lib/components/card-container/card-container.component.js +1 -1
  15. package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
  16. package/esm2015/lib/interaction/components/activity-body/activity-body.component.html.shim.ngstyle.js.map +1 -0
  17. package/esm2015/lib/interaction/components/activity-body/activity-body.component.js +21 -0
  18. package/esm2015/lib/interaction/components/activity-body/activity-body.component.js.map +1 -0
  19. package/esm2015/lib/interaction/components/{activity-content → activity-body}/activity-body.component.metadata.json +1 -1
  20. package/esm2015/lib/interaction/components/activity-body/activity-body.component.ngfactory.js.map +1 -0
  21. package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +22 -13
  22. package/esm2015/lib/interaction/components/activity-title/activity-title.component.js.map +1 -1
  23. package/esm2015/lib/interaction/components/activity-title/activity-title.component.metadata.json +1 -1
  24. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +1 -1
  25. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
  26. package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
  27. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +5 -2
  28. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
  29. package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
  30. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +5 -2
  31. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
  32. package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
  33. package/esm2015/lib/interaction/exports.js +1 -1
  34. package/esm2015/lib/interaction/exports.js.map +1 -1
  35. package/esm2015/lib/interaction/exports.metadata.json +1 -1
  36. package/esm2015/lib/interaction/interaction.module.js +1 -1
  37. package/esm2015/lib/interaction/interaction.module.js.map +1 -1
  38. package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
  39. package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
  40. package/fesm2015/coolon-angular-ui-powerups.js +39 -30
  41. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  42. package/lib/interaction/components/{activity-content → activity-body}/activity-body.component.d.ts +1 -0
  43. package/lib/interaction/components/activity-title/activity-title.component.d.ts +11 -0
  44. package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +1 -0
  45. package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +1 -0
  46. package/lib/interaction/exports.d.ts +1 -1
  47. package/package.json +1 -1
  48. package/assets/typography.scss +0 -5
  49. package/esm2015/lib/interaction/components/activity-content/activity-body.component.html.shim.ngstyle.js.map +0 -1
  50. package/esm2015/lib/interaction/components/activity-content/activity-body.component.js +0 -26
  51. package/esm2015/lib/interaction/components/activity-content/activity-body.component.js.map +0 -1
  52. package/esm2015/lib/interaction/components/activity-content/activity-body.component.ngfactory.js.map +0 -1
@@ -1,5 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { DisposableComponent } from '../../../components/disposable-component';
3
3
  export declare class ActivityBodyComponent extends DisposableComponent implements OnInit {
4
+ fullWidth: boolean;
4
5
  ngOnInit(): void;
5
6
  }
@@ -1,5 +1,16 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { ThemePalette } from '@angular/material/core';
2
3
  import { DisposableComponent } from '../../../components/disposable-component';
3
4
  export declare class ActivityTitleComponent extends DisposableComponent implements OnInit {
5
+ private _color;
6
+ private _hasUserTransparentBackground;
7
+ /**
8
+ * Adjusts layout to ensure the title and body are cleanly separated with even
9
+ * gaps for teh case where the title component has a painted background.
10
+ */
11
+ set hasTransparentBackground(value: boolean);
12
+ get hasTransparentBackground(): boolean;
13
+ set color(color: ThemePalette);
14
+ get color(): ThemePalette;
4
15
  ngOnInit(): void;
5
16
  }
@@ -10,6 +10,7 @@ export declare class ConfirmThenDialogComponent<D, R, E> extends Activity<Confir
10
10
  constructor(config: ConfirmThenDialogComponent.Data<D, R, E>);
11
11
  ngOnInit(): void;
12
12
  get confirm(): Confirm;
13
+ get titleColor(): string;
13
14
  isDestructive(): boolean;
14
15
  }
15
16
  export declare namespace ConfirmThenDialogComponent {
@@ -8,5 +8,6 @@ export declare class ConfirmationDialogComponent extends Activity<Confirm, void>
8
8
  readonly cancelFace: CommandFace;
9
9
  constructor(confirm: Confirm);
10
10
  ngOnInit(): void;
11
+ get titleColor(): string;
11
12
  isDestructive(): boolean;
12
13
  }
@@ -11,9 +11,9 @@ export * from "./interaction.module";
11
11
  export * from "./result";
12
12
  export * from "./route-synchronisation-adapter";
13
13
  export * from "./components/activity-actions/activity-actions.component";
14
+ export * from "./components/activity-body/activity-body.component";
14
15
  export * from "./components/activity-container/activity-container.component";
15
16
  export * from "./components/activity-container/activity-outlet/activity-outlet.component";
16
- export * from "./components/activity-content/activity-body.component";
17
17
  export * from "./components/activity-title/activity-title.component";
18
18
  export * from "./components/add-item-interaction-context/add-item-interaction-context.component";
19
19
  export * from "./components/alert-dialog/alert-dialog.component";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "3.17.3",
3
+ "version": "3.18.0",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.2.0",
@@ -1,5 +0,0 @@
1
- @import "~@angular/material/theming";
2
-
3
- // Create a config with the default typography levels.
4
- $typographyConfig: mat-typography-config();
5
-
@@ -1 +0,0 @@
1
- {"version":3,"file":"activity-body.component.html.shim.ngstyle.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-content/activity-body.component.html.shim.ngstyle.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}
@@ -1,26 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { DisposableComponent } from '../../../components/disposable-component';
3
- export class ActivityBodyComponent extends DisposableComponent {
4
- // @Input()
5
- // align: 'start' | 'end' | 'stretch' = 'start';
6
- //
7
- // @HostBinding('class.align-end')
8
- // get alignEnd():boolean {
9
- // return this.align === 'end'
10
- // }
11
- //
12
- // @HostBinding('class.align-stretch')
13
- // get alignStretch():boolean {
14
- // return this.align === 'stretch'
15
- // }
16
- ngOnInit() {
17
- }
18
- }
19
- ActivityBodyComponent.decorators = [
20
- { type: Component, args: [{
21
- selector: 'aup-activity-body',
22
- template: "<ng-content></ng-content>\n",
23
- styles: ["<ng-content></ng-content>\n"]
24
- },] }
25
- ];
26
- //# sourceMappingURL=activity-body.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"activity-body.component.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-content/activity-body.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA8B,MAAM,eAAe,CAAC;AAItE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAO/E,MAAM,OAAO,qBAAsB,SAAQ,mBAAmB;IAE5D,WAAW;IACX,gDAAgD;IAChD,EAAE;IACF,kCAAkC;IAClC,2BAA2B;IAC3B,gCAAgC;IAChC,IAAI;IACJ,EAAE;IACF,sCAAsC;IACtC,+BAA+B;IAC/B,oCAAoC;IACpC,IAAI;IAEJ,QAAQ;IACR,CAAC;;;YArBF,SAAS,SAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,uCAA6C;;aAE9C","sourcesContent":["import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { Command, DelegatingCommand, TrackExternal } from '@coolon/pectin';\nimport _ from 'lodash';\nimport { CommandFace } from '../../../components/commands/command-face';\nimport { DisposableComponent } from '../../../components/disposable-component';\n\n@Component({\n selector: 'aup-activity-body',\n templateUrl: './activity-body.component.html',\n styleUrls: ['./activity-body.component.html'],\n})\nexport class ActivityBodyComponent extends DisposableComponent implements OnInit {\n\n // @Input()\n // align: 'start' | 'end' | 'stretch' = 'start';\n //\n // @HostBinding('class.align-end')\n // get alignEnd():boolean {\n // return this.align === 'end'\n // }\n //\n // @HostBinding('class.align-stretch')\n // get alignStretch():boolean {\n // return this.align === 'stretch'\n // }\n\n ngOnInit() {\n }\n\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"activity-body.component.ngfactory.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/interaction/components/activity-content/activity-body.component.ngfactory.ts"],"names":[],"mappings":"","sourcesContent":["import * as i0 from '@angular/core';\ni0.ComponentFactory;\n"]}