@ptsecurity/mosaic 14.2.0 → 14.2.2

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
@@ -3740,11 +3740,6 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
3740
3740
  }
3741
3741
 
3742
3742
 
3743
- @use 'sass:map';
3744
- @use 'sass:meta';
3745
- @use 'sass:string';
3746
-
3747
-
3748
3743
  @function mc-typography-level(
3749
3744
  $font-size,
3750
3745
  $line-height: $font-size,
@@ -3766,7 +3761,7 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
3766
3761
  }
3767
3762
 
3768
3763
  @function _mc-get-type-value($config, $level, $name) {
3769
- @return map.get(map.get($config, $level), $name);
3764
+ @return map-get(map-get($config, $level), $name);
3770
3765
  }
3771
3766
 
3772
3767
  @function mc-font-size($config, $level) {
@@ -3795,14 +3790,14 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
3795
3790
 
3796
3791
  // Gets the font-family from a typography config and removes the quotes around it.
3797
3792
  @function mc-font-family($config, $level: null) {
3798
- $font-family: map.get($config, font-family);
3793
+ $font-family: map-get($config, font-family);
3799
3794
 
3800
3795
  @if $level != null {
3801
3796
  $font-family: _mc-get-type-value($config, $level, font-family);
3802
3797
  }
3803
3798
 
3804
3799
  // Guard against unquoting non-string values, because it's deprecated.
3805
- @return if(meta.type-of($font-family) == string, string.unquote($font-family), $font-family);
3800
+ @return if(type-of($font-family) == string, unquote($font-family), $font-family);
3806
3801
  }
3807
3802
 
3808
3803
  @mixin mc-typography-level-to-styles($config, $level) {
@@ -4166,16 +4161,13 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
4166
4161
  }
4167
4162
  }
4168
4163
 
4169
- @use 'sass:map';
4170
-
4171
-
4172
4164
  @mixin popup-params($theme) {
4173
- $popup: map.get(map.get($theme, components), popup);
4165
+ $popup: map-get(map-get($theme, components), popup);
4174
4166
 
4175
- box-shadow: map.get($popup, shadow);
4176
- border-color: map.get($popup, border);
4167
+ box-shadow: map-get($popup, shadow);
4168
+ border-color: map-get($popup, border);
4177
4169
 
4178
- background-color: map.get($popup, background);
4170
+ background-color: map-get($popup, background);
4179
4171
  }
4180
4172
 
4181
4173
 
@@ -4197,79 +4189,6 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
4197
4189
  }
4198
4190
  }
4199
4191
 
4200
- @function mc-typography-level(
4201
- $font-size,
4202
- $line-height: $font-size,
4203
- $letter-spacing: normal,
4204
- $font-weight: normal,
4205
- $font-family: null,
4206
- $text-transform: null,
4207
- $font-feature-settings: null
4208
- ) {
4209
- @return (
4210
- font-size: $font-size,
4211
- line-height: $line-height,
4212
- font-weight: $font-weight,
4213
- font-family: $font-family,
4214
- letter-spacing: $letter-spacing,
4215
- text-transform: $text-transform,
4216
- font-feature-settings: $font-feature-settings
4217
- );
4218
- }
4219
-
4220
- @function _mc-get-type-value($config, $level, $name) {
4221
- @return map-get(map-get($config, $level), $name);
4222
- }
4223
-
4224
- @function mc-font-size($config, $level) {
4225
- @return _mc-get-type-value($config, $level, font-size);
4226
- }
4227
-
4228
- @function mc-line-height($config, $level) {
4229
- @return _mc-get-type-value($config, $level, line-height);
4230
- }
4231
-
4232
- @function mc-font-weight($config, $level) {
4233
- @return _mc-get-type-value($config, $level, font-weight);
4234
- }
4235
-
4236
- @function mc-letter-spacing($config, $level) {
4237
- @return _mc-get-type-value($config, $level, letter-spacing);
4238
- }
4239
-
4240
- @function mc-text-transform($config, $level) {
4241
- @return _mc-get-type-value($config, $level, text-transform);
4242
- }
4243
-
4244
- @function mc-font-feature-settings($config, $level) {
4245
- @return _mc-get-type-value($config, $level, font-feature-settings);
4246
- }
4247
-
4248
- // Gets the font-family from a typography config and removes the quotes around it.
4249
- @function mc-font-family($config, $level: null) {
4250
- $font-family: map-get($config, font-family);
4251
-
4252
- @if $level != null {
4253
- $font-family: _mc-get-type-value($config, $level, font-family);
4254
- }
4255
-
4256
- // Guard against unquoting non-string values, because it's deprecated.
4257
- @return if(type-of($font-family) == string, unquote($font-family), $font-family);
4258
- }
4259
-
4260
- @mixin mc-typography-level-to-styles($config, $level) {
4261
- $font-size: mc-font-size($config, $level);
4262
- $font-weight: mc-font-weight($config, $level);
4263
- $line-height: mc-line-height($config, $level);
4264
- $font-family: mc-font-family($config, $level);
4265
- $text-transform: mc-text-transform($config, $level);
4266
- $font-feature-settings: mc-font-feature-settings($config, $level);
4267
-
4268
- font: $font-weight #{$font-size}/#{$line-height} $font-family;
4269
- letter-spacing: mc-letter-spacing($config, $level);
4270
- text-transform: mc-text-transform($config, $level);
4271
- font-feature-settings: mc-font-feature-settings($config, $level);
4272
- }
4273
4192
 
4274
4193
 
4275
4194
 
@@ -1,3 +1,3 @@
1
1
  import { Version } from '@angular/core';
2
- export const VERSION = new Version('{{VERSION}}');
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL21vc2FpYy9jb3JlL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUd4QyxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsSUFBSSxPQUFPLENBQUMsYUFBYSxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBWZXJzaW9uIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cblxuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbigne3tWRVJTSU9OfX0nKTtcbiJdfQ==
2
+ export const VERSION = new Version('14.2.2+sha-df098c7');
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL21vc2FpYy9jb3JlL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUd4QyxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsSUFBSSxPQUFPLENBQUMsb0JBQW9CLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFZlcnNpb24gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcxNC4yLjIrc2hhLWRmMDk4YzcnKTtcbiJdfQ==
@@ -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('{{VERSION}}');
20
+ const VERSION = new Version('14.2.2+sha-df098c7');
21
21
 
22
22
  function isBoolean(val) { return typeof val === 'boolean'; }
23
23
  function toBoolean(value) {