@ptsecurity/mosaic 14.2.3 → 14.2.4

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.
package/_theming.scss CHANGED
@@ -1,4 +1,92 @@
1
1
  // Import all the theming
2
+ @use '../../../../node_modules/@angular/cdk/overlay/index' as overlay;
3
+ @mixin cdk-a11y {
4
+ .cdk-visually-hidden {
5
+ border: 0;
6
+ clip: rect(0 0 0 0);
7
+ height: 1px;
8
+ margin: -1px;
9
+ overflow: hidden;
10
+ padding: 0;
11
+ position: absolute;
12
+ width: 1px;
13
+
14
+ // Avoid browsers rendering the focus ring in some cases.
15
+ outline: 0;
16
+
17
+ // Avoid some cases where the browser will still render the native controls (see #9049).
18
+ -webkit-appearance: none;
19
+ -moz-appearance: none;
20
+ }
21
+ }
22
+
23
+ /// Emits the mixin's content nested under `$selector-context` if `$selector-context`
24
+ /// is non-empty.
25
+ /// @param selector-context The selector under which to nest the mixin's content.
26
+ @mixin _cdk-optionally-nest-content($selector-context) {
27
+ @if ($selector-context == '') {
28
+ @content;
29
+ }
30
+ @else {
31
+ #{$selector-context} {
32
+ @content;
33
+ }
34
+ }
35
+ }
36
+
37
+ /// Applies styles for users in high contrast mode. Note that this only applies
38
+ /// to Microsoft browsers. Chrome can be included by checking for the `html[hc]`
39
+ /// attribute, however Chrome handles high contrast differently.
40
+ ///
41
+ /// @param target Which kind of high contrast setting to target. Defaults to `active`, can be
42
+ /// `white-on-black` or `black-on-white`.
43
+ /// @param encapsulation Whether to emit styles for view encapsulation. Values are:
44
+ /// * `on` - works for `Emulated`, `Native`, and `ShadowDom`
45
+ /// * `off` - works for `None`
46
+ /// * `any` - works for all encapsulation modes by emitting the CSS twice (default).
47
+ @mixin cdk-high-contrast($target: active, $encapsulation: 'any') {
48
+ @if ($target != 'active' and $target != 'black-on-white' and $target != 'white-on-black') {
49
+ @error 'Unknown cdk-high-contrast value "#{$target}" provided. ' +
50
+ 'Allowed values are "active", "black-on-white", and "white-on-black"';
51
+ }
52
+
53
+ @if ($encapsulation != 'on' and $encapsulation != 'off' and $encapsulation != 'any') {
54
+ @error 'Unknown cdk-high-contrast encapsulation "#{$encapsulation}" provided. ' +
55
+ 'Allowed values are "on", "off", and "any"';
56
+ }
57
+
58
+ // If the selector context has multiple parts, such as `.section, .region`, just doing
59
+ // `.cdk-high-contrast-xxx #{&}` will only apply the parent selector to the first part of the
60
+ // context. We address this by nesting the selector context under .cdk-high-contrast.
61
+ @at-root {
62
+ $selector-context: #{&};
63
+
64
+ @if ($encapsulation != 'on') {
65
+ .cdk-high-contrast-#{$target} {
66
+ @include _cdk-optionally-nest-content($selector-context) {
67
+ @content;
68
+ }
69
+ }
70
+ }
71
+
72
+ @if ($encapsulation != 'off') {
73
+ .cdk-high-contrast-#{$target} :host {
74
+ @include _cdk-optionally-nest-content($selector-context) {
75
+ @content;
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+
82
+
83
+
84
+ // Mixin that renders all of the core styles that are not theme-dependent.
85
+ @mixin mc-core() {
86
+ @include cdk-a11y();
87
+ @include overlay.overlay();
88
+ }
89
+
2
90
 
3
91
  // Do not edit directly
4
92
 
@@ -1,3 +1,3 @@
1
1
  import { Version } from '@angular/core';
2
- export const VERSION = new Version('14.2.3+sha-1460f10');
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL21vc2FpYy9jb3JlL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUd4QyxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsSUFBSSxPQUFPLENBQUMsb0JBQW9CLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFZlcnNpb24gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcxNC4yLjMrc2hhLTE0NjBmMTAnKTtcbiJdfQ==
2
+ export const VERSION = new Version('14.2.4+sha-ca66a48');
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL21vc2FpYy9jb3JlL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUd4QyxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsSUFBSSxPQUFPLENBQUMsb0JBQW9CLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFZlcnNpb24gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcxNC4yLjQrc2hhLWNhNjZhNDgnKTtcbiJdfQ==
@@ -17,7 +17,7 @@ import { takeUntil, distinctUntilChanged, delay } from 'rxjs/operators';
17
17
  import * as i1$1 from '@angular/cdk/a11y';
18
18
  import { ComponentPortal } from '@angular/cdk/portal';
19
19
 
20
- const VERSION = new Version('14.2.3+sha-1460f10');
20
+ const VERSION = new Version('14.2.4+sha-ca66a48');
21
21
 
22
22
  function isBoolean(val) { return typeof val === 'boolean'; }
23
23
  function toBoolean(value) {