@coolon/angular-ui-powerups 16.1.0-alpha.317 → 16.1.0-alpha.318

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.
@@ -77,6 +77,23 @@
77
77
  padding-top: 0; //var(--aup-activity-padding-top, var(--aup-activity-padding));
78
78
  }
79
79
 
80
+ // A sheet from the foot of the screen draws a coloured title as coloured text on the sheet, as Material's sheets
81
+ // draw their titles. A band of colour would sit below the sheet's handle, under a strip of the sheet's own colour.
82
+ // The title then lays out as one with no colour does.
83
+ .bottom-sheet-interaction-context aup-activity-title {
84
+ @each $name, $palette in (primary: $primary-palette, accent: $accent-palette, warn: $warn-palette) {
85
+ &[color=#{$name}] {
86
+ color: mat.get-color-from-palette($palette, default);
87
+ background-color: transparent;
88
+ padding: var(--aup-activity-title-padding, var(--aup-activity-padding));
89
+ }
90
+ }
91
+
92
+ &[color] + aup-activity-body {
93
+ padding-top: 0;
94
+ }
95
+ }
96
+
80
97
  aup-activity-actions {
81
98
  display: block;
82
99
  padding-top: var(--aup-activity-padding-top, var(--aup-activity-padding));
@@ -6,7 +6,7 @@ export class EmptyStateComponent {
6
6
  <div class="container">
7
7
  <ng-content></ng-content>
8
8
  </div>
9
- `, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] });
9
+ `, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;min-width:var(--aup-empty-state-min-width, auto);max-width:var(--aup-empty-state-max-width, none);font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] });
10
10
  }
11
11
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: EmptyStateComponent, decorators: [{
12
12
  type: Component,
@@ -14,6 +14,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
14
14
  <div class="container">
15
15
  <ng-content></ng-content>
16
16
  </div>
17
- `, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] }]
17
+ `, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;min-width:var(--aup-empty-state-min-width, auto);max-width:var(--aup-empty-state-max-width, none);font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] }]
18
18
  }] });
19
19
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wdHktc3RhdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy9lbXB0eS1zdGF0ZS9lbXB0eS1zdGF0ZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFXeEMsTUFBTSxPQUFPLG1CQUFtQjt1R0FBbkIsbUJBQW1COzJGQUFuQixtQkFBbUIsdURBUHBCOzs7O0dBSVQ7OzJGQUdVLG1CQUFtQjtrQkFUL0IsU0FBUzsrQkFDRSxpQkFBaUIsWUFDakI7Ozs7R0FJVCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q29tcG9uZW50fSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYXVwLWVtcHR5LXN0YXRlJyxcbiAgdGVtcGxhdGU6IGBcbiAgICAgIDxkaXYgY2xhc3M9XCJjb250YWluZXJcIj5cbiAgICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgICA8L2Rpdj5cbiAgYCxcbiAgc3R5bGVVcmxzOiBbJy4vZW1wdHktc3RhdGUuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBFbXB0eVN0YXRlQ29tcG9uZW50ICB7XG5cbn1cbiJdfQ==
@@ -2218,7 +2218,7 @@ class EmptyStateComponent {
2218
2218
  <div class="container">
2219
2219
  <ng-content></ng-content>
2220
2220
  </div>
2221
- `, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] });
2221
+ `, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;min-width:var(--aup-empty-state-min-width, auto);max-width:var(--aup-empty-state-max-width, none);font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] });
2222
2222
  }
2223
2223
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: EmptyStateComponent, decorators: [{
2224
2224
  type: Component,
@@ -2226,7 +2226,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
2226
2226
  <div class="container">
2227
2227
  <ng-content></ng-content>
2228
2228
  </div>
2229
- `, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] }]
2229
+ `, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;min-width:var(--aup-empty-state-min-width, auto);max-width:var(--aup-empty-state-max-width, none);font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] }]
2230
2230
  }] });
2231
2231
 
2232
2232
  class FocusContainerComponent extends DisposableComponent {