@ptsecurity/mosaic 14.6.1 → 14.6.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
@@ -317,316 +317,6 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
317
317
  }
318
318
  }
319
319
 
320
- @forward 'pt-2022/tokens';
321
-
322
-
323
-
324
- @mixin border-top-radius($radius) {
325
- border-top: {
326
- right-radius: $radius;
327
- left-radius: $radius;
328
- }
329
- }
330
-
331
- @mixin border-bottom-radius($radius) {
332
- border-bottom: {
333
- right-radius: $radius;
334
- left-radius: $radius;
335
- }
336
- }
337
-
338
- @mixin border-right-radius($radius) {
339
- border: {
340
- bottom-right-radius: $radius;
341
- top-right-radius: $radius;
342
- }
343
- }
344
-
345
- @mixin border-left-radius($radius) {
346
- border: {
347
- bottom-left-radius: $radius;
348
- top-left-radius: $radius;
349
- }
350
- }
351
-
352
- .mc-group {
353
- display: flex;
354
- flex-direction: row;
355
-
356
- .mc-group_justified {
357
- > .mc-group-item {
358
- width: 100%;
359
- }
360
- }
361
-
362
- .mc-group-item + .mc-group-item {
363
- margin-left: calc(-1 * var(--mc-button-size-border-width, $button-size-border-width));
364
- }
365
-
366
- & > .mc-group-item:first-child:not(:last-child) {
367
- @include border-right-radius(0);
368
-
369
- > .mc-form-field__container {
370
- @include border-right-radius(0);
371
- }
372
- }
373
-
374
- & > .mc-group-item:last-child:not(:first-child) {
375
- @include border-left-radius(0);
376
-
377
- > .mc-form-field__container {
378
- @include border-left-radius(0);
379
- }
380
- }
381
-
382
- & > .mc-group-item:not(:first-child):not(:last-child) {
383
- border-radius: 0;
384
-
385
- > .mc-form-field__container {
386
- border-radius: 0;
387
- }
388
- }
389
- }
390
-
391
- .mc-vertical-group {
392
- display: flex;
393
- flex-direction: column;
394
-
395
- /* stylelint-disable no-descending-specificity */
396
- > .mc-group-item {
397
- &:first-child:not(:last-child) {
398
- @include border-bottom-radius(0);
399
-
400
- border-top-right-radius: var(--mc-button-size-border-radius, $button-size-border-radius);
401
-
402
- > .mc-form-field__container {
403
- @include border-bottom-radius(0);
404
- }
405
- }
406
-
407
- &:last-child:not(:first-child) {
408
- @include border-top-radius(0);
409
-
410
- border-bottom-left-radius: var(--mc-button-size-border-radius, $button-size-border-radius);
411
-
412
- > .mc-form-field__container {
413
- @include border-top-radius(0);
414
- }
415
- }
416
-
417
- &:not(:first-child):not(:last-child) {
418
- border-radius: 0;
419
-
420
- > .mc-form-field__container {
421
- border-radius: 0;
422
- }
423
- }
424
- }
425
-
426
- .mc-group-item + .mc-group-item {
427
- margin-top: calc(-1 * var(--mc-button-size-border-width, #{$button-size-border-width}));
428
- }
429
- /* stylelint-enable no-descending-specificity */
430
- }
431
-
432
-
433
- @mixin mc-reset-input {
434
- background: transparent;
435
- padding: 0;
436
- margin: 0;
437
- border: none;
438
- outline: none;
439
-
440
- /* clears the 'X' from Internet Explorer */
441
- &::-ms-clear {
442
- display: none;
443
- width: 0;
444
- height: 0;
445
- }
446
-
447
- &::-ms-reveal {
448
- display: none;
449
- width: 0;
450
- height: 0;
451
- }
452
-
453
- /* clears the 'X' from Chrome */
454
- &::-webkit-search-decoration,
455
- &::-webkit-search-cancel-button,
456
- &::-webkit-search-results-button,
457
- &::-webkit-search-results-decoration {
458
- display: none;
459
- }
460
- }
461
-
462
- // This mixin ensures an element spans to fill the nearest ancestor with defined positioning.
463
- @mixin mc-fill {
464
- top: 0;
465
- left: 0;
466
- right: 0;
467
- bottom: 0;
468
- position: absolute;
469
- }
470
-
471
- // This mixin will ensure that lines that overflow the container will hide the overflow and
472
- // truncate neatly with an ellipsis.
473
- @mixin mc-truncate-line() {
474
- white-space: nowrap;
475
- overflow: hidden;
476
- text-overflow: ellipsis;
477
- }
478
-
479
- // This mixin normalizes default element styles, e.g. font weight for heading text.
480
- @mixin mc-normalize-text() {
481
- & > * {
482
- margin: 0;
483
- padding: 0;
484
- font-weight: normal;
485
- font-size: inherit;
486
- }
487
- }
488
-
489
- // This mixin provides base styles for the wrapper around mc-line elements in a list.
490
- @mixin mc-line-wrapper-base() {
491
- @include mc-normalize-text();
492
-
493
- display: flex;
494
- flex-direction: column;
495
- width: 100%;
496
- box-sizing: border-box;
497
- overflow: hidden;
498
-
499
- // Must remove wrapper when lines are empty or it takes up horizontal
500
- // space and pushes other elements to the right.
501
- &:empty {
502
- display: none;
503
- }
504
- }
505
-
506
- @mixin mc-no-select() {
507
- -webkit-touch-callout: none; /* iOS Safari */
508
- -webkit-user-select: none; /* Safari */
509
- -moz-user-select: none; /* Firefox */
510
- -ms-user-select: none; /* Internet Explorer/Edge */
511
- user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
512
- }
513
-
514
- .mc-no-select {
515
- @include mc-no-select;
516
- }
517
-
518
- .cdk-overlay-container {
519
- pointer-events: none;
520
- top: 0;
521
- left: 0;
522
- height: 100%;
523
- width: 100%;
524
- position: fixed;
525
- z-index: 1000;
526
- box-sizing: border-box;
527
- margin: 0;
528
- padding: 0;
529
- }
530
-
531
- .cdk-overlay-backdrop {
532
- top: 0;
533
- bottom: 0;
534
- left: 0;
535
- right: 0;
536
- -webkit-tap-highlight-color: transparent;
537
- transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
538
- opacity: 0;
539
- position: absolute;
540
- pointer-events: auto;
541
- z-index: 1000;
542
- box-sizing: border-box;
543
- margin: 0;
544
- padding: 0;
545
- }
546
-
547
- .cdk-overlay-pane {
548
- box-sizing: border-box;
549
- position: absolute;
550
- pointer-events: auto;
551
- margin: 0;
552
- padding: 0;
553
- z-index: 1000;
554
- max-width: 100%;
555
- max-height: 100%;
556
- }
557
-
558
- .cdk-overlay-connected-position-bounding-box {
559
- box-sizing: border-box;
560
- position: absolute;
561
- z-index: 1000;
562
- display: flex;
563
- flex-direction: column;
564
- margin: 0;
565
- padding: 0;
566
- min-width: 1px;
567
- min-height: 1px;
568
- }
569
-
570
- @mixin popup-params($theme) {
571
- $popup: map-get(map-get($theme, components), popup);
572
-
573
- box-shadow: map-get($popup, shadow);
574
- border-color: map-get($popup, border);
575
-
576
- background-color: map-get($popup, background);
577
- }
578
-
579
- // mixin definition ; sets LTR and RTL within the same style call
580
- // @see https://css-tricks.com/almanac/properties/d/direction/
581
-
582
- @mixin rtl($prop, $ltr-value, $rtl-value) {
583
- #{$prop}: $ltr-value;
584
-
585
- [dir=rtl] & {
586
- #{$prop}: $rtl-value;
587
- }
588
- }
589
-
590
- @mixin rtl-prop($ltr-prop, $rtl-prop, $value, $reset-value) {
591
- #{$ltr-prop}: $value;
592
-
593
- [dir=rtl] & {
594
- #{$ltr-prop}: $reset-value;
595
- #{$rtl-prop}: $value;
596
- }
597
- }
598
-
599
- // To reverse padding (top left bottom right) -> (top right bottom left)
600
- @function rtl-value($list) {
601
- @if length($list) == 4 {
602
- @return nth($list, 1) nth($list, 4) nth($list, 3) nth($list, 2)
603
- }
604
-
605
- @if length($list) == 5 {
606
- @return nth($list, 1) nth($list, 4) nth($list, 3) nth($list, 2) nth($list, 5)
607
- }
608
-
609
- @return $list;
610
- }
611
-
612
- @mixin size($width, $height) {
613
- width: $width;
614
- height: $height;
615
- }
616
-
617
- @mixin square($size) {
618
- @include size($size, $size);
619
- }
620
-
621
-
622
-
623
-
624
- // Mixin that renders all of the core styles that are not theme-dependent.
625
- @mixin mc-core() {
626
- @include cdk-a11y();
627
- @include overlay();
628
- }
629
-
630
320
 
631
321
  // Do not edit directly
632
322
 
@@ -2872,199 +2562,512 @@ $mosaic: (
2872
2562
  'text-transform': $typography-extra-small-text-caps-text-transform,
2873
2563
  'font-feature-settings': $typography-extra-small-text-caps-font-feature-settings
2874
2564
  ),
2875
- 'extra-small-text-mono': (
2876
- 'font-size': $typography-extra-small-text-mono-font-size,
2877
- 'line-height': $typography-extra-small-text-mono-line-height,
2878
- 'letter-spacing': $typography-extra-small-text-mono-letter-spacing,
2879
- 'font-weight': $typography-extra-small-text-mono-font-weight,
2880
- 'font-family': $typography-extra-small-text-mono-font-family,
2881
- 'text-transform': $typography-extra-small-text-mono-text-transform,
2882
- 'font-feature-settings': $typography-extra-small-text-mono-font-feature-settings
2565
+ 'extra-small-text-mono': (
2566
+ 'font-size': $typography-extra-small-text-mono-font-size,
2567
+ 'line-height': $typography-extra-small-text-mono-line-height,
2568
+ 'letter-spacing': $typography-extra-small-text-mono-letter-spacing,
2569
+ 'font-weight': $typography-extra-small-text-mono-font-weight,
2570
+ 'font-family': $typography-extra-small-text-mono-font-family,
2571
+ 'text-transform': $typography-extra-small-text-mono-text-transform,
2572
+ 'font-feature-settings': $typography-extra-small-text-mono-font-feature-settings
2573
+ )
2574
+ )
2575
+ );
2576
+
2577
+ $md-typography-md-h1-font-size: 45px;
2578
+ $md-typography-md-h1-line-height: 48px;
2579
+ $md-typography-md-h1-letter-spacing: normal;
2580
+ $md-typography-md-h1-font-weight: normal;
2581
+ $md-typography-md-h1-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2582
+ $md-typography-md-h1-text-transform: null;
2583
+ $md-typography-md-h1-font-feature-settings: initial;
2584
+ $md-typography-md-h2-font-size: 34px;
2585
+ $md-typography-md-h2-line-height: 38px;
2586
+ $md-typography-md-h2-letter-spacing: normal;
2587
+ $md-typography-md-h2-font-weight: normal;
2588
+ $md-typography-md-h2-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2589
+ $md-typography-md-h2-text-transform: null;
2590
+ $md-typography-md-h2-font-feature-settings: initial;
2591
+ $md-typography-md-h3-font-size: 24px;
2592
+ $md-typography-md-h3-line-height: 28px;
2593
+ $md-typography-md-h3-letter-spacing: normal;
2594
+ $md-typography-md-h3-font-weight: normal;
2595
+ $md-typography-md-h3-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2596
+ $md-typography-md-h3-text-transform: null;
2597
+ $md-typography-md-h3-font-feature-settings: initial;
2598
+ $md-typography-md-h4-font-size: 20px;
2599
+ $md-typography-md-h4-line-height: 24px;
2600
+ $md-typography-md-h4-letter-spacing: normal;
2601
+ $md-typography-md-h4-font-weight: 600;
2602
+ $md-typography-md-h4-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2603
+ $md-typography-md-h4-text-transform: null;
2604
+ $md-typography-md-h4-font-feature-settings: initial;
2605
+ $md-typography-md-h5-font-size: 15px;
2606
+ $md-typography-md-h5-line-height: 24px;
2607
+ $md-typography-md-h5-letter-spacing: -0.009em;
2608
+ $md-typography-md-h5-font-weight: 600;
2609
+ $md-typography-md-h5-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2610
+ $md-typography-md-h5-text-transform: null;
2611
+ $md-typography-md-h5-font-feature-settings: "ss01" on, "ss04" on;
2612
+ $md-typography-md-h6-font-size: 15px;
2613
+ $md-typography-md-h6-line-height: 24px;
2614
+ $md-typography-md-h6-letter-spacing: -0.009em;
2615
+ $md-typography-md-h6-font-weight: 600;
2616
+ $md-typography-md-h6-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2617
+ $md-typography-md-h6-text-transform: null;
2618
+ $md-typography-md-h6-font-feature-settings: "ss01" on, "ss04" on;
2619
+ $md-typography-md-body-font-size: 15px;
2620
+ $md-typography-md-body-line-height: 24px;
2621
+ $md-typography-md-body-letter-spacing: -0.009em;
2622
+ $md-typography-md-body-font-weight: normal;
2623
+ $md-typography-md-body-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2624
+ $md-typography-md-body-text-transform: null;
2625
+ $md-typography-md-body-font-feature-settings: "ss01" on, "ss04" on;
2626
+ $md-typography-md-body-mono-font-size: 14px;
2627
+ $md-typography-md-body-mono-line-height: 20px;
2628
+ $md-typography-md-body-mono-letter-spacing: normal;
2629
+ $md-typography-md-body-mono-font-weight: normal;
2630
+ $md-typography-md-body-mono-font-family: 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
2631
+ $md-typography-md-body-mono-text-transform: null;
2632
+ $md-typography-md-body-mono-font-feature-settings: initial;
2633
+ $md-typography-md-caption-font-size: 13px;
2634
+ $md-typography-md-caption-line-height: 16px;
2635
+ $md-typography-md-caption-letter-spacing: -0.0025em;
2636
+ $md-typography-md-caption-font-weight: normal;
2637
+ $md-typography-md-caption-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2638
+ $md-typography-md-caption-text-transform: null;
2639
+ $md-typography-md-caption-font-feature-settings: "ss01" on, "ss04" on;
2640
+ $md-typography-md-table-cell-font-size: 15px;
2641
+ $md-typography-md-table-cell-line-height: 20px;
2642
+ $md-typography-md-table-cell-letter-spacing: -0.009em;
2643
+ $md-typography-md-table-cell-font-weight: normal;
2644
+ $md-typography-md-table-cell-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2645
+ $md-typography-md-table-cell-text-transform: null;
2646
+ $md-typography-md-table-cell-font-feature-settings: "tnum" on, "ss01" on, "ss04" on;
2647
+ $md-typography-md-table-header-font-size: 13px;
2648
+ $md-typography-md-table-header-line-height: 16px;
2649
+ $md-typography-md-table-header-letter-spacing: -0.0025em;
2650
+ $md-typography-md-table-header-font-weight: normal;
2651
+ $md-typography-md-table-header-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2652
+ $md-typography-md-table-header-text-transform: null;
2653
+ $md-typography-md-table-header-font-feature-settings: "tnum" on, "ss01" on, "ss04" on;
2654
+
2655
+ $md-typography: (
2656
+ 'md-typography': (
2657
+ 'md-h1': (
2658
+ 'font-size': $md-typography-md-h1-font-size,
2659
+ 'line-height': $md-typography-md-h1-line-height,
2660
+ 'letter-spacing': $md-typography-md-h1-letter-spacing,
2661
+ 'font-weight': $md-typography-md-h1-font-weight,
2662
+ 'font-family': $md-typography-md-h1-font-family,
2663
+ 'text-transform': $md-typography-md-h1-text-transform,
2664
+ 'font-feature-settings': $md-typography-md-h1-font-feature-settings
2665
+ ),
2666
+ 'md-h2': (
2667
+ 'font-size': $md-typography-md-h2-font-size,
2668
+ 'line-height': $md-typography-md-h2-line-height,
2669
+ 'letter-spacing': $md-typography-md-h2-letter-spacing,
2670
+ 'font-weight': $md-typography-md-h2-font-weight,
2671
+ 'font-family': $md-typography-md-h2-font-family,
2672
+ 'text-transform': $md-typography-md-h2-text-transform,
2673
+ 'font-feature-settings': $md-typography-md-h2-font-feature-settings
2674
+ ),
2675
+ 'md-h3': (
2676
+ 'font-size': $md-typography-md-h3-font-size,
2677
+ 'line-height': $md-typography-md-h3-line-height,
2678
+ 'letter-spacing': $md-typography-md-h3-letter-spacing,
2679
+ 'font-weight': $md-typography-md-h3-font-weight,
2680
+ 'font-family': $md-typography-md-h3-font-family,
2681
+ 'text-transform': $md-typography-md-h3-text-transform,
2682
+ 'font-feature-settings': $md-typography-md-h3-font-feature-settings
2683
+ ),
2684
+ 'md-h4': (
2685
+ 'font-size': $md-typography-md-h4-font-size,
2686
+ 'line-height': $md-typography-md-h4-line-height,
2687
+ 'letter-spacing': $md-typography-md-h4-letter-spacing,
2688
+ 'font-weight': $md-typography-md-h4-font-weight,
2689
+ 'font-family': $md-typography-md-h4-font-family,
2690
+ 'text-transform': $md-typography-md-h4-text-transform,
2691
+ 'font-feature-settings': $md-typography-md-h4-font-feature-settings
2692
+ ),
2693
+ 'md-h5': (
2694
+ 'font-size': $md-typography-md-h5-font-size,
2695
+ 'line-height': $md-typography-md-h5-line-height,
2696
+ 'letter-spacing': $md-typography-md-h5-letter-spacing,
2697
+ 'font-weight': $md-typography-md-h5-font-weight,
2698
+ 'font-family': $md-typography-md-h5-font-family,
2699
+ 'text-transform': $md-typography-md-h5-text-transform,
2700
+ 'font-feature-settings': $md-typography-md-h5-font-feature-settings
2701
+ ),
2702
+ 'md-h6': (
2703
+ 'font-size': $md-typography-md-h6-font-size,
2704
+ 'line-height': $md-typography-md-h6-line-height,
2705
+ 'letter-spacing': $md-typography-md-h6-letter-spacing,
2706
+ 'font-weight': $md-typography-md-h6-font-weight,
2707
+ 'font-family': $md-typography-md-h6-font-family,
2708
+ 'text-transform': $md-typography-md-h6-text-transform,
2709
+ 'font-feature-settings': $md-typography-md-h6-font-feature-settings
2710
+ ),
2711
+ 'md-body': (
2712
+ 'font-size': $md-typography-md-body-font-size,
2713
+ 'line-height': $md-typography-md-body-line-height,
2714
+ 'letter-spacing': $md-typography-md-body-letter-spacing,
2715
+ 'font-weight': $md-typography-md-body-font-weight,
2716
+ 'font-family': $md-typography-md-body-font-family,
2717
+ 'text-transform': $md-typography-md-body-text-transform,
2718
+ 'font-feature-settings': $md-typography-md-body-font-feature-settings
2719
+ ),
2720
+ 'md-body-mono': (
2721
+ 'font-size': $md-typography-md-body-mono-font-size,
2722
+ 'line-height': $md-typography-md-body-mono-line-height,
2723
+ 'letter-spacing': $md-typography-md-body-mono-letter-spacing,
2724
+ 'font-weight': $md-typography-md-body-mono-font-weight,
2725
+ 'font-family': $md-typography-md-body-mono-font-family,
2726
+ 'text-transform': $md-typography-md-body-mono-text-transform,
2727
+ 'font-feature-settings': $md-typography-md-body-mono-font-feature-settings
2728
+ ),
2729
+ 'md-caption': (
2730
+ 'font-size': $md-typography-md-caption-font-size,
2731
+ 'line-height': $md-typography-md-caption-line-height,
2732
+ 'letter-spacing': $md-typography-md-caption-letter-spacing,
2733
+ 'font-weight': $md-typography-md-caption-font-weight,
2734
+ 'font-family': $md-typography-md-caption-font-family,
2735
+ 'text-transform': $md-typography-md-caption-text-transform,
2736
+ 'font-feature-settings': $md-typography-md-caption-font-feature-settings
2737
+ ),
2738
+ 'md-table-cell': (
2739
+ 'font-size': $md-typography-md-table-cell-font-size,
2740
+ 'line-height': $md-typography-md-table-cell-line-height,
2741
+ 'letter-spacing': $md-typography-md-table-cell-letter-spacing,
2742
+ 'font-weight': $md-typography-md-table-cell-font-weight,
2743
+ 'font-family': $md-typography-md-table-cell-font-family,
2744
+ 'text-transform': $md-typography-md-table-cell-text-transform,
2745
+ 'font-feature-settings': $md-typography-md-table-cell-font-feature-settings
2746
+ ),
2747
+ 'md-table-header': (
2748
+ 'font-size': $md-typography-md-table-header-font-size,
2749
+ 'line-height': $md-typography-md-table-header-line-height,
2750
+ 'letter-spacing': $md-typography-md-table-header-letter-spacing,
2751
+ 'font-weight': $md-typography-md-table-header-font-weight,
2752
+ 'font-family': $md-typography-md-table-header-font-family,
2753
+ 'text-transform': $md-typography-md-table-header-text-transform,
2754
+ 'font-feature-settings': $md-typography-md-table-header-font-feature-settings
2883
2755
  )
2884
2756
  )
2885
2757
  );
2886
2758
 
2887
- $md-typography-md-h1-font-size: 45px;
2888
- $md-typography-md-h1-line-height: 48px;
2889
- $md-typography-md-h1-letter-spacing: normal;
2890
- $md-typography-md-h1-font-weight: normal;
2891
- $md-typography-md-h1-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2892
- $md-typography-md-h1-text-transform: null;
2893
- $md-typography-md-h1-font-feature-settings: initial;
2894
- $md-typography-md-h2-font-size: 34px;
2895
- $md-typography-md-h2-line-height: 38px;
2896
- $md-typography-md-h2-letter-spacing: normal;
2897
- $md-typography-md-h2-font-weight: normal;
2898
- $md-typography-md-h2-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2899
- $md-typography-md-h2-text-transform: null;
2900
- $md-typography-md-h2-font-feature-settings: initial;
2901
- $md-typography-md-h3-font-size: 24px;
2902
- $md-typography-md-h3-line-height: 28px;
2903
- $md-typography-md-h3-letter-spacing: normal;
2904
- $md-typography-md-h3-font-weight: normal;
2905
- $md-typography-md-h3-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2906
- $md-typography-md-h3-text-transform: null;
2907
- $md-typography-md-h3-font-feature-settings: initial;
2908
- $md-typography-md-h4-font-size: 20px;
2909
- $md-typography-md-h4-line-height: 24px;
2910
- $md-typography-md-h4-letter-spacing: normal;
2911
- $md-typography-md-h4-font-weight: 600;
2912
- $md-typography-md-h4-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2913
- $md-typography-md-h4-text-transform: null;
2914
- $md-typography-md-h4-font-feature-settings: initial;
2915
- $md-typography-md-h5-font-size: 15px;
2916
- $md-typography-md-h5-line-height: 24px;
2917
- $md-typography-md-h5-letter-spacing: -0.009em;
2918
- $md-typography-md-h5-font-weight: 600;
2919
- $md-typography-md-h5-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2920
- $md-typography-md-h5-text-transform: null;
2921
- $md-typography-md-h5-font-feature-settings: "ss01" on, "ss04" on;
2922
- $md-typography-md-h6-font-size: 15px;
2923
- $md-typography-md-h6-line-height: 24px;
2924
- $md-typography-md-h6-letter-spacing: -0.009em;
2925
- $md-typography-md-h6-font-weight: 600;
2926
- $md-typography-md-h6-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2927
- $md-typography-md-h6-text-transform: null;
2928
- $md-typography-md-h6-font-feature-settings: "ss01" on, "ss04" on;
2929
- $md-typography-md-body-font-size: 15px;
2930
- $md-typography-md-body-line-height: 24px;
2931
- $md-typography-md-body-letter-spacing: -0.009em;
2932
- $md-typography-md-body-font-weight: normal;
2933
- $md-typography-md-body-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2934
- $md-typography-md-body-text-transform: null;
2935
- $md-typography-md-body-font-feature-settings: "ss01" on, "ss04" on;
2936
- $md-typography-md-body-mono-font-size: 14px;
2937
- $md-typography-md-body-mono-line-height: 20px;
2938
- $md-typography-md-body-mono-letter-spacing: normal;
2939
- $md-typography-md-body-mono-font-weight: normal;
2940
- $md-typography-md-body-mono-font-family: 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
2941
- $md-typography-md-body-mono-text-transform: null;
2942
- $md-typography-md-body-mono-font-feature-settings: initial;
2943
- $md-typography-md-caption-font-size: 13px;
2944
- $md-typography-md-caption-line-height: 16px;
2945
- $md-typography-md-caption-letter-spacing: -0.0025em;
2946
- $md-typography-md-caption-font-weight: normal;
2947
- $md-typography-md-caption-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2948
- $md-typography-md-caption-text-transform: null;
2949
- $md-typography-md-caption-font-feature-settings: "ss01" on, "ss04" on;
2950
- $md-typography-md-table-cell-font-size: 15px;
2951
- $md-typography-md-table-cell-line-height: 20px;
2952
- $md-typography-md-table-cell-letter-spacing: -0.009em;
2953
- $md-typography-md-table-cell-font-weight: normal;
2954
- $md-typography-md-table-cell-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2955
- $md-typography-md-table-cell-text-transform: null;
2956
- $md-typography-md-table-cell-font-feature-settings: "tnum" on, "ss01" on, "ss04" on;
2957
- $md-typography-md-table-header-font-size: 13px;
2958
- $md-typography-md-table-header-line-height: 16px;
2959
- $md-typography-md-table-header-letter-spacing: -0.0025em;
2960
- $md-typography-md-table-header-font-weight: normal;
2961
- $md-typography-md-table-header-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
2962
- $md-typography-md-table-header-text-transform: null;
2963
- $md-typography-md-table-header-font-feature-settings: "tnum" on, "ss01" on, "ss04" on;
2964
2759
 
2965
- $md-typography: (
2966
- 'md-typography': (
2967
- 'md-h1': (
2968
- 'font-size': $md-typography-md-h1-font-size,
2969
- 'line-height': $md-typography-md-h1-line-height,
2970
- 'letter-spacing': $md-typography-md-h1-letter-spacing,
2971
- 'font-weight': $md-typography-md-h1-font-weight,
2972
- 'font-family': $md-typography-md-h1-font-family,
2973
- 'text-transform': $md-typography-md-h1-text-transform,
2974
- 'font-feature-settings': $md-typography-md-h1-font-feature-settings
2975
- ),
2976
- 'md-h2': (
2977
- 'font-size': $md-typography-md-h2-font-size,
2978
- 'line-height': $md-typography-md-h2-line-height,
2979
- 'letter-spacing': $md-typography-md-h2-letter-spacing,
2980
- 'font-weight': $md-typography-md-h2-font-weight,
2981
- 'font-family': $md-typography-md-h2-font-family,
2982
- 'text-transform': $md-typography-md-h2-text-transform,
2983
- 'font-feature-settings': $md-typography-md-h2-font-feature-settings
2984
- ),
2985
- 'md-h3': (
2986
- 'font-size': $md-typography-md-h3-font-size,
2987
- 'line-height': $md-typography-md-h3-line-height,
2988
- 'letter-spacing': $md-typography-md-h3-letter-spacing,
2989
- 'font-weight': $md-typography-md-h3-font-weight,
2990
- 'font-family': $md-typography-md-h3-font-family,
2991
- 'text-transform': $md-typography-md-h3-text-transform,
2992
- 'font-feature-settings': $md-typography-md-h3-font-feature-settings
2993
- ),
2994
- 'md-h4': (
2995
- 'font-size': $md-typography-md-h4-font-size,
2996
- 'line-height': $md-typography-md-h4-line-height,
2997
- 'letter-spacing': $md-typography-md-h4-letter-spacing,
2998
- 'font-weight': $md-typography-md-h4-font-weight,
2999
- 'font-family': $md-typography-md-h4-font-family,
3000
- 'text-transform': $md-typography-md-h4-text-transform,
3001
- 'font-feature-settings': $md-typography-md-h4-font-feature-settings
3002
- ),
3003
- 'md-h5': (
3004
- 'font-size': $md-typography-md-h5-font-size,
3005
- 'line-height': $md-typography-md-h5-line-height,
3006
- 'letter-spacing': $md-typography-md-h5-letter-spacing,
3007
- 'font-weight': $md-typography-md-h5-font-weight,
3008
- 'font-family': $md-typography-md-h5-font-family,
3009
- 'text-transform': $md-typography-md-h5-text-transform,
3010
- 'font-feature-settings': $md-typography-md-h5-font-feature-settings
3011
- ),
3012
- 'md-h6': (
3013
- 'font-size': $md-typography-md-h6-font-size,
3014
- 'line-height': $md-typography-md-h6-line-height,
3015
- 'letter-spacing': $md-typography-md-h6-letter-spacing,
3016
- 'font-weight': $md-typography-md-h6-font-weight,
3017
- 'font-family': $md-typography-md-h6-font-family,
3018
- 'text-transform': $md-typography-md-h6-text-transform,
3019
- 'font-feature-settings': $md-typography-md-h6-font-feature-settings
3020
- ),
3021
- 'md-body': (
3022
- 'font-size': $md-typography-md-body-font-size,
3023
- 'line-height': $md-typography-md-body-line-height,
3024
- 'letter-spacing': $md-typography-md-body-letter-spacing,
3025
- 'font-weight': $md-typography-md-body-font-weight,
3026
- 'font-family': $md-typography-md-body-font-family,
3027
- 'text-transform': $md-typography-md-body-text-transform,
3028
- 'font-feature-settings': $md-typography-md-body-font-feature-settings
3029
- ),
3030
- 'md-body-mono': (
3031
- 'font-size': $md-typography-md-body-mono-font-size,
3032
- 'line-height': $md-typography-md-body-mono-line-height,
3033
- 'letter-spacing': $md-typography-md-body-mono-letter-spacing,
3034
- 'font-weight': $md-typography-md-body-mono-font-weight,
3035
- 'font-family': $md-typography-md-body-mono-font-family,
3036
- 'text-transform': $md-typography-md-body-mono-text-transform,
3037
- 'font-feature-settings': $md-typography-md-body-mono-font-feature-settings
3038
- ),
3039
- 'md-caption': (
3040
- 'font-size': $md-typography-md-caption-font-size,
3041
- 'line-height': $md-typography-md-caption-line-height,
3042
- 'letter-spacing': $md-typography-md-caption-letter-spacing,
3043
- 'font-weight': $md-typography-md-caption-font-weight,
3044
- 'font-family': $md-typography-md-caption-font-family,
3045
- 'text-transform': $md-typography-md-caption-text-transform,
3046
- 'font-feature-settings': $md-typography-md-caption-font-feature-settings
3047
- ),
3048
- 'md-table-cell': (
3049
- 'font-size': $md-typography-md-table-cell-font-size,
3050
- 'line-height': $md-typography-md-table-cell-line-height,
3051
- 'letter-spacing': $md-typography-md-table-cell-letter-spacing,
3052
- 'font-weight': $md-typography-md-table-cell-font-weight,
3053
- 'font-family': $md-typography-md-table-cell-font-family,
3054
- 'text-transform': $md-typography-md-table-cell-text-transform,
3055
- 'font-feature-settings': $md-typography-md-table-cell-font-feature-settings
3056
- ),
3057
- 'md-table-header': (
3058
- 'font-size': $md-typography-md-table-header-font-size,
3059
- 'line-height': $md-typography-md-table-header-line-height,
3060
- 'letter-spacing': $md-typography-md-table-header-letter-spacing,
3061
- 'font-weight': $md-typography-md-table-header-font-weight,
3062
- 'font-family': $md-typography-md-table-header-font-family,
3063
- 'text-transform': $md-typography-md-table-header-text-transform,
3064
- 'font-feature-settings': $md-typography-md-table-header-font-feature-settings
3065
- )
3066
- )
3067
- );
2760
+
2761
+
2762
+ @mixin border-top-radius($radius) {
2763
+ border-top: {
2764
+ right-radius: $radius;
2765
+ left-radius: $radius;
2766
+ }
2767
+ }
2768
+
2769
+ @mixin border-bottom-radius($radius) {
2770
+ border-bottom: {
2771
+ right-radius: $radius;
2772
+ left-radius: $radius;
2773
+ }
2774
+ }
2775
+
2776
+ @mixin border-right-radius($radius) {
2777
+ border: {
2778
+ bottom-right-radius: $radius;
2779
+ top-right-radius: $radius;
2780
+ }
2781
+ }
2782
+
2783
+ @mixin border-left-radius($radius) {
2784
+ border: {
2785
+ bottom-left-radius: $radius;
2786
+ top-left-radius: $radius;
2787
+ }
2788
+ }
2789
+
2790
+ .mc-group {
2791
+ display: flex;
2792
+ flex-direction: row;
2793
+
2794
+ .mc-group_justified {
2795
+ > .mc-group-item {
2796
+ width: 100%;
2797
+ }
2798
+ }
2799
+
2800
+ .mc-group-item + .mc-group-item {
2801
+ margin-left: calc(-1 * var(--mc-button-size-border-width, $button-size-border-width));
2802
+ }
2803
+
2804
+ & > .mc-group-item:first-child:not(:last-child) {
2805
+ @include border-right-radius(0);
2806
+
2807
+ > .mc-form-field__container {
2808
+ @include border-right-radius(0);
2809
+ }
2810
+ }
2811
+
2812
+ & > .mc-group-item:last-child:not(:first-child) {
2813
+ @include border-left-radius(0);
2814
+
2815
+ > .mc-form-field__container {
2816
+ @include border-left-radius(0);
2817
+ }
2818
+ }
2819
+
2820
+ & > .mc-group-item:not(:first-child):not(:last-child) {
2821
+ border-radius: 0;
2822
+
2823
+ > .mc-form-field__container {
2824
+ border-radius: 0;
2825
+ }
2826
+ }
2827
+ }
2828
+
2829
+ .mc-vertical-group {
2830
+ display: flex;
2831
+ flex-direction: column;
2832
+
2833
+ /* stylelint-disable no-descending-specificity */
2834
+ > .mc-group-item {
2835
+ &:first-child:not(:last-child) {
2836
+ @include border-bottom-radius(0);
2837
+
2838
+ border-top-right-radius: var(--mc-button-size-border-radius, $button-size-border-radius);
2839
+
2840
+ > .mc-form-field__container {
2841
+ @include border-bottom-radius(0);
2842
+ }
2843
+ }
2844
+
2845
+ &:last-child:not(:first-child) {
2846
+ @include border-top-radius(0);
2847
+
2848
+ border-bottom-left-radius: var(--mc-button-size-border-radius, $button-size-border-radius);
2849
+
2850
+ > .mc-form-field__container {
2851
+ @include border-top-radius(0);
2852
+ }
2853
+ }
2854
+
2855
+ &:not(:first-child):not(:last-child) {
2856
+ border-radius: 0;
2857
+
2858
+ > .mc-form-field__container {
2859
+ border-radius: 0;
2860
+ }
2861
+ }
2862
+ }
2863
+
2864
+ .mc-group-item + .mc-group-item {
2865
+ margin-top: calc(-1 * var(--mc-button-size-border-width, #{$button-size-border-width}));
2866
+ }
2867
+ /* stylelint-enable no-descending-specificity */
2868
+ }
2869
+
2870
+
2871
+ @mixin mc-reset-input {
2872
+ background: transparent;
2873
+ padding: 0;
2874
+ margin: 0;
2875
+ border: none;
2876
+ outline: none;
2877
+
2878
+ /* clears the 'X' from Internet Explorer */
2879
+ &::-ms-clear {
2880
+ display: none;
2881
+ width: 0;
2882
+ height: 0;
2883
+ }
2884
+
2885
+ &::-ms-reveal {
2886
+ display: none;
2887
+ width: 0;
2888
+ height: 0;
2889
+ }
2890
+
2891
+ /* clears the 'X' from Chrome */
2892
+ &::-webkit-search-decoration,
2893
+ &::-webkit-search-cancel-button,
2894
+ &::-webkit-search-results-button,
2895
+ &::-webkit-search-results-decoration {
2896
+ display: none;
2897
+ }
2898
+ }
2899
+
2900
+ // This mixin ensures an element spans to fill the nearest ancestor with defined positioning.
2901
+ @mixin mc-fill {
2902
+ top: 0;
2903
+ left: 0;
2904
+ right: 0;
2905
+ bottom: 0;
2906
+ position: absolute;
2907
+ }
2908
+
2909
+ // This mixin will ensure that lines that overflow the container will hide the overflow and
2910
+ // truncate neatly with an ellipsis.
2911
+ @mixin mc-truncate-line() {
2912
+ white-space: nowrap;
2913
+ overflow: hidden;
2914
+ text-overflow: ellipsis;
2915
+ }
2916
+
2917
+ // This mixin normalizes default element styles, e.g. font weight for heading text.
2918
+ @mixin mc-normalize-text() {
2919
+ & > * {
2920
+ margin: 0;
2921
+ padding: 0;
2922
+ font-weight: normal;
2923
+ font-size: inherit;
2924
+ }
2925
+ }
2926
+
2927
+ // This mixin provides base styles for the wrapper around mc-line elements in a list.
2928
+ @mixin mc-line-wrapper-base() {
2929
+ @include mc-normalize-text();
2930
+
2931
+ display: flex;
2932
+ flex-direction: column;
2933
+ width: 100%;
2934
+ box-sizing: border-box;
2935
+ overflow: hidden;
2936
+
2937
+ // Must remove wrapper when lines are empty or it takes up horizontal
2938
+ // space and pushes other elements to the right.
2939
+ &:empty {
2940
+ display: none;
2941
+ }
2942
+ }
2943
+
2944
+ @mixin mc-no-select() {
2945
+ -webkit-touch-callout: none; /* iOS Safari */
2946
+ -webkit-user-select: none; /* Safari */
2947
+ -moz-user-select: none; /* Firefox */
2948
+ -ms-user-select: none; /* Internet Explorer/Edge */
2949
+ user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
2950
+ }
2951
+
2952
+ .mc-no-select {
2953
+ @include mc-no-select;
2954
+ }
2955
+
2956
+ .cdk-overlay-container {
2957
+ pointer-events: none;
2958
+ top: 0;
2959
+ left: 0;
2960
+ height: 100%;
2961
+ width: 100%;
2962
+ position: fixed;
2963
+ z-index: 1000;
2964
+ box-sizing: border-box;
2965
+ margin: 0;
2966
+ padding: 0;
2967
+ }
2968
+
2969
+ .cdk-overlay-backdrop {
2970
+ top: 0;
2971
+ bottom: 0;
2972
+ left: 0;
2973
+ right: 0;
2974
+ -webkit-tap-highlight-color: transparent;
2975
+ transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
2976
+ opacity: 0;
2977
+ position: absolute;
2978
+ pointer-events: auto;
2979
+ z-index: 1000;
2980
+ box-sizing: border-box;
2981
+ margin: 0;
2982
+ padding: 0;
2983
+ }
2984
+
2985
+ .cdk-overlay-pane {
2986
+ box-sizing: border-box;
2987
+ position: absolute;
2988
+ pointer-events: auto;
2989
+ margin: 0;
2990
+ padding: 0;
2991
+ z-index: 1000;
2992
+ max-width: 100%;
2993
+ max-height: 100%;
2994
+ }
2995
+
2996
+ .cdk-overlay-connected-position-bounding-box {
2997
+ box-sizing: border-box;
2998
+ position: absolute;
2999
+ z-index: 1000;
3000
+ display: flex;
3001
+ flex-direction: column;
3002
+ margin: 0;
3003
+ padding: 0;
3004
+ min-width: 1px;
3005
+ min-height: 1px;
3006
+ }
3007
+
3008
+ @mixin popup-params($theme) {
3009
+ $popup: map-get(map-get($theme, components), popup);
3010
+
3011
+ box-shadow: map-get($popup, shadow);
3012
+ border-color: map-get($popup, border);
3013
+
3014
+ background-color: map-get($popup, background);
3015
+ }
3016
+
3017
+ // mixin definition ; sets LTR and RTL within the same style call
3018
+ // @see https://css-tricks.com/almanac/properties/d/direction/
3019
+
3020
+ @mixin rtl($prop, $ltr-value, $rtl-value) {
3021
+ #{$prop}: $ltr-value;
3022
+
3023
+ [dir=rtl] & {
3024
+ #{$prop}: $rtl-value;
3025
+ }
3026
+ }
3027
+
3028
+ @mixin rtl-prop($ltr-prop, $rtl-prop, $value, $reset-value) {
3029
+ #{$ltr-prop}: $value;
3030
+
3031
+ [dir=rtl] & {
3032
+ #{$ltr-prop}: $reset-value;
3033
+ #{$rtl-prop}: $value;
3034
+ }
3035
+ }
3036
+
3037
+ // To reverse padding (top left bottom right) -> (top right bottom left)
3038
+ @function rtl-value($list) {
3039
+ @if length($list) == 4 {
3040
+ @return nth($list, 1) nth($list, 4) nth($list, 3) nth($list, 2)
3041
+ }
3042
+
3043
+ @if length($list) == 5 {
3044
+ @return nth($list, 1) nth($list, 4) nth($list, 3) nth($list, 2) nth($list, 5)
3045
+ }
3046
+
3047
+ @return $list;
3048
+ }
3049
+
3050
+ @mixin size($width, $height) {
3051
+ width: $width;
3052
+ height: $height;
3053
+ }
3054
+
3055
+ @mixin square($size) {
3056
+ @include size($size, $size);
3057
+ }
3058
+
3059
+
3060
+
3061
+
3062
+ // Mixin that renders all of the core styles that are not theme-dependent.
3063
+ @mixin mc-core() {
3064
+ @include cdk-a11y();
3065
+ @include overlay();
3066
+ }
3067
+
3068
+
3069
+
3070
+
3068
3071
 
3069
3072
 
3070
3073
 
@@ -4457,10 +4460,6 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
4457
4460
  }
4458
4461
 
4459
4462
 
4460
-
4461
-
4462
-
4463
-
4464
4463
  @function mc-typography-level(
4465
4464
  $font-size,
4466
4465
  $line-height: $font-size,