@ptsecurity/mosaic 13.1.1 → 13.2.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.
- package/_theming.scss +321 -121
- package/_visual.scss +79 -26
- package/design-tokens/legacy-2017/tokens/components/badge.json5 +28 -38
- package/design-tokens/legacy-2017/tokens/components/dl.json5 +38 -0
- package/design-tokens/legacy-2017/tokens/components/form-field.json5 +39 -0
- package/design-tokens/legacy-2017/tokens/components/tabs.json5 +80 -4
- package/design-tokens/legacy-2017/tokens/properties/colors.json5 +4 -0
- package/design-tokens/legacy-2017/tokens/properties/globals.json5 +20 -1
- package/design-tokens/legacy-2017/tokens.d.ts +79 -26
- package/design-tokens/pt-2022/tokens/components/badge.json5 +30 -40
- package/design-tokens/pt-2022/tokens/components/dl.json5 +38 -0
- package/design-tokens/pt-2022/tokens/components/form-field.json5 +40 -1
- package/design-tokens/pt-2022/tokens/components/tabs.json5 +82 -6
- package/design-tokens/pt-2022/tokens/properties/colors.json5 +4 -0
- package/design-tokens/pt-2022/tokens/properties/globals.json5 +20 -1
- package/design-tokens/pt-2022/tokens.d.ts +79 -26
- package/dl/README.md +0 -0
- package/dl/dl.component.d.ts +26 -0
- package/dl/dl.module.d.ts +10 -0
- package/dl/index.d.ts +1 -0
- package/dl/package.json +10 -0
- package/dl/ptsecurity-mosaic-dl.d.ts +5 -0
- package/dl/public-api.d.ts +2 -0
- package/esm2020/design-tokens/legacy-2017/tokens.mjs +80 -27
- package/esm2020/design-tokens/pt-2022/tokens.mjs +80 -27
- package/esm2020/dl/dl.component.mjs +78 -0
- package/esm2020/dl/dl.module.mjs +42 -0
- package/esm2020/dl/index.mjs +2 -0
- package/esm2020/dl/ptsecurity-mosaic-dl.mjs +5 -0
- package/esm2020/dl/public-api.mjs +3 -0
- package/esm2020/form-field/form-field.mjs +44 -24
- package/esm2020/form-field/form-field.module.mjs +6 -1
- package/esm2020/form-field/hint.mjs +3 -3
- package/esm2020/form-field/password-hint.mjs +115 -0
- package/esm2020/form-field/public-api.mjs +2 -1
- package/esm2020/input/input-password.mjs +367 -0
- package/esm2020/input/input.module.mjs +48 -6
- package/esm2020/input/public-api.mjs +2 -1
- package/esm2020/sidepanel/sidepanel-directives.mjs +3 -3
- package/esm2020/tabs/tab-group.component.mjs +3 -3
- package/esm2020/tabs/tab-header.component.mjs +2 -2
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +5 -5
- package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +238 -79
- package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dl.mjs +124 -0
- package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -0
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +169 -27
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-input.mjs +412 -11
- package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tabs.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +238 -79
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dl.mjs +124 -0
- package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -0
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +158 -27
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-input.mjs +405 -11
- package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tabs.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/form-field/form-field.d.ts +9 -2
- package/form-field/form-field.module.d.ts +8 -7
- package/form-field/password-hint.d.ts +38 -0
- package/form-field/public-api.d.ts +1 -0
- package/input/input-password.d.ts +120 -0
- package/input/input.module.d.ts +7 -6
- package/input/public-api.d.ts +1 -0
- package/package.json +12 -4
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
package/_theming.scss
CHANGED
@@ -108,6 +108,8 @@ $light-color-scheme-warning-default: #a26e0c;
|
|
108
108
|
$light-color-scheme-foreground-text: #19252f;
|
109
109
|
$light-color-scheme-foreground-text-less-contrast: #6d7a86;
|
110
110
|
$light-color-scheme-foreground-text-disabled: #8c99a5;
|
111
|
+
$light-color-scheme-foreground-text-error: #db3c55;
|
112
|
+
$light-color-scheme-foreground-text-success: #016b37;
|
111
113
|
$light-color-scheme-foreground-divider: #d7dee4;
|
112
114
|
$light-color-scheme-foreground-border: #bdc7d1;
|
113
115
|
$light-color-scheme-foreground-icon: #8c99a5;
|
@@ -130,6 +132,8 @@ $dark-color-scheme-warning-default: #7e5406;
|
|
130
132
|
$dark-color-scheme-foreground-text: #f2f5f9;
|
131
133
|
$dark-color-scheme-foreground-text-less-contrast: #8c99a5;
|
132
134
|
$dark-color-scheme-foreground-text-disabled: #6d7a86;
|
135
|
+
$dark-color-scheme-foreground-text-error: #ea5868;
|
136
|
+
$dark-color-scheme-foreground-text-success: #319d5c;
|
133
137
|
$dark-color-scheme-foreground-divider: #333f4a;
|
134
138
|
$dark-color-scheme-foreground-border: #515e69;
|
135
139
|
$dark-color-scheme-foreground-icon: #8c99a5;
|
@@ -371,28 +375,6 @@ $alert-font-small-body: caption;
|
|
371
375
|
$autocomplete-size-panel-padding: 4px 0;
|
372
376
|
$autocomplete-size-panel-max-height: 256px;
|
373
377
|
$autocomplete-size-panel-border-radius: 3px;
|
374
|
-
$badge-size-default-min-width: 10px;
|
375
|
-
$badge-size-default-padding: 0 8px;
|
376
|
-
$badge-size-default-border-width: 1px;
|
377
|
-
$badge-size-default-border-radius: 4px;
|
378
|
-
$badge-size-default-height: 24px;
|
379
|
-
$badge-size-default-font-default: caption;
|
380
|
-
$badge-size-default-font-caps: caption-caps;
|
381
|
-
$badge-size-default-font-mono: caption-mono;
|
382
|
-
$badge-size-mini-height: 16px;
|
383
|
-
$badge-size-mini-min-width: 10px;
|
384
|
-
$badge-size-mini-border-width: 1px;
|
385
|
-
$badge-size-mini-border-radius: 2px;
|
386
|
-
$badge-size-mini-padding: 0 4px;
|
387
|
-
$badge-size-mini-font-default: extra-small-text;
|
388
|
-
$badge-size-mini-font-caps: extra-small-text-caps;
|
389
|
-
$badge-size-mini-font-mono: extra-small-text-mono;
|
390
|
-
$badge-font-default-default: caption;
|
391
|
-
$badge-font-default-caps: caption-caps;
|
392
|
-
$badge-font-default-mono: caption-mono;
|
393
|
-
$badge-font-mini-default: extra-small-text;
|
394
|
-
$badge-font-mini-caps: extra-small-text-caps;
|
395
|
-
$badge-font-mini-mono: extra-small-text-mono;
|
396
378
|
$badge-light-color-scheme-solid-primary-background: #4187ff;
|
397
379
|
$badge-light-color-scheme-solid-primary-border: #4187ff;
|
398
380
|
$badge-light-color-scheme-solid-primary-color: white;
|
@@ -471,6 +453,22 @@ $badge-dark-color-scheme-solid-light-color: white;
|
|
471
453
|
$badge-dark-color-scheme-solid-second-background: #515e69;
|
472
454
|
$badge-dark-color-scheme-solid-second-border: #515e69;
|
473
455
|
$badge-dark-color-scheme-solid-second-color: white;
|
456
|
+
$badge-size-default-height: 24px;
|
457
|
+
$badge-size-default-min-width: 10px;
|
458
|
+
$badge-size-default-padding: 0 8px;
|
459
|
+
$badge-size-default-border-width: 1px;
|
460
|
+
$badge-size-default-border-radius: 4px;
|
461
|
+
$badge-size-mini-height: 16px;
|
462
|
+
$badge-size-mini-min-width: 10px;
|
463
|
+
$badge-size-mini-border-width: 1px;
|
464
|
+
$badge-size-mini-border-radius: 2px;
|
465
|
+
$badge-size-mini-padding: 0 4px;
|
466
|
+
$badge-font-default-default: caption;
|
467
|
+
$badge-font-default-caps: caption-caps;
|
468
|
+
$badge-font-default-mono: caption-mono;
|
469
|
+
$badge-font-mini-default: extra-small-text;
|
470
|
+
$badge-font-mini-caps: extra-small-text-caps;
|
471
|
+
$badge-font-mini-mono: extra-small-text-mono;
|
474
472
|
$button-toggle-size-border-size: 1px;
|
475
473
|
$button-toggle-size-border-radius: 3px;
|
476
474
|
$button-light-color-scheme-active-shadow: inset 0 1px 2px 0 rgba(black, 0.2);
|
@@ -599,6 +597,22 @@ $datepicker-calendar-font-header: caption;
|
|
599
597
|
$datepicker-input-size-width: 130px;
|
600
598
|
$divider-size-width: 1px;
|
601
599
|
$divider-size-inset-margin: 80px;
|
600
|
+
$description-list-light-color-scheme-dt: #6d7a86;
|
601
|
+
$description-list-light-color-scheme-dd: #19252f;
|
602
|
+
$description-list-dark-color-scheme-dt: #8c99a5;
|
603
|
+
$description-list-dark-color-scheme-dd: #f2f5f9;
|
604
|
+
$description-list-size-grid-template-columns: repeat(4, 1fr);
|
605
|
+
$description-list-size-dt-grid-column: 1;
|
606
|
+
$description-list-size-dd-grid-column: 2 / span 3;
|
607
|
+
$description-list-size-horizontal-column-gap: 16px;
|
608
|
+
$description-list-size-horizontal-row-gap: 12px;
|
609
|
+
$description-list-size-vertical-column-gap: 0;
|
610
|
+
$description-list-size-vertical-row-gap: 2px;
|
611
|
+
$description-list-size-vertical-dd-margin-bottom: 16px;
|
612
|
+
$description-list-font-horizontal-dt: body;
|
613
|
+
$description-list-font-horizontal-dd: body;
|
614
|
+
$description-list-font-vertical-dt: caption;
|
615
|
+
$description-list-font-vertical-dd: body;
|
602
616
|
$dropdown-item-size-padding: 5px 15px;
|
603
617
|
$dropdown-item-size-icon-padding: 0 8px 2px 0;
|
604
618
|
$dropdown-item-font-default: body;
|
@@ -630,6 +644,21 @@ $form-field-size-button-width: 32px;
|
|
630
644
|
$form-field-font-default: body;
|
631
645
|
$form-field-hint-size-margin-top: 4px;
|
632
646
|
$form-field-hint-font-default: caption;
|
647
|
+
$form-field-password-hint-light-color-scheme-text-color: #19252f;
|
648
|
+
$form-field-password-hint-light-color-scheme-icon-color: #19252f;
|
649
|
+
$form-field-password-hint-light-color-scheme-states-invalid-icon-color: #db3c55;
|
650
|
+
$form-field-password-hint-light-color-scheme-states-invalid-text-color: #19252f;
|
651
|
+
$form-field-password-hint-light-color-scheme-states-valid-text-color: #016b37;
|
652
|
+
$form-field-password-hint-light-color-scheme-states-valid-icon-color: #016b37;
|
653
|
+
$form-field-password-hint-dark-color-scheme-text-color: #f2f5f9;
|
654
|
+
$form-field-password-hint-dark-color-scheme-icon-color: #f2f5f9;
|
655
|
+
$form-field-password-hint-dark-color-scheme-states-invalid-icon-color: #ea5868;
|
656
|
+
$form-field-password-hint-dark-color-scheme-states-invalid-text-color: #f2f5f9;
|
657
|
+
$form-field-password-hint-dark-color-scheme-states-valid-text-color: #319d5c;
|
658
|
+
$form-field-password-hint-dark-color-scheme-states-valid-icon-color: #319d5c;
|
659
|
+
$form-field-password-hint-size-margin-top: 8px;
|
660
|
+
$form-field-password-hint-size-icon-margin: 4px;
|
661
|
+
$form-field-password-hint-font-default: caption;
|
633
662
|
$forms-light-color-scheme-label: #6d7a86;
|
634
663
|
$forms-light-color-scheme-legend: #19252f;
|
635
664
|
$forms-dark-color-scheme-label: #8c99a5;
|
@@ -833,11 +862,27 @@ $table-size-row-padding-horizontal: 16px;
|
|
833
862
|
$table-font-header: caption;
|
834
863
|
$table-font-body: body;
|
835
864
|
$tabs-light-color-scheme-border: #d7dee4;
|
836
|
-
$tabs-light-color-scheme-state-
|
837
|
-
$tabs-light-color-scheme-state-
|
865
|
+
$tabs-light-color-scheme-state-normal-icon: #8c99a5;
|
866
|
+
$tabs-light-color-scheme-state-normal-text: #19252f;
|
867
|
+
$tabs-light-color-scheme-state-hover-icon: #19252f;
|
868
|
+
$tabs-light-color-scheme-state-hover-text: #19252f;
|
869
|
+
$tabs-light-color-scheme-state-active-marker-color: #0374eb;
|
870
|
+
$tabs-light-color-scheme-state-empty-icon: #8c99a5;
|
871
|
+
$tabs-light-color-scheme-state-empty-text: #8c99a5;
|
872
|
+
$tabs-light-color-scheme-state-disabled-icon: #8c99a5;
|
873
|
+
$tabs-light-color-scheme-state-disabled-text: #8c99a5;
|
874
|
+
$tabs-light-color-scheme-state-disabled-marker-opacity: 0.3;
|
838
875
|
$tabs-dark-color-scheme-border: #333f4a;
|
839
|
-
$tabs-dark-color-scheme-state-
|
840
|
-
$tabs-dark-color-scheme-state-
|
876
|
+
$tabs-dark-color-scheme-state-normal-icon: #8c99a5;
|
877
|
+
$tabs-dark-color-scheme-state-normal-text: #f2f5f9;
|
878
|
+
$tabs-dark-color-scheme-state-hover-icon: #f2f5f9;
|
879
|
+
$tabs-dark-color-scheme-state-hover-text: #f2f5f9;
|
880
|
+
$tabs-dark-color-scheme-state-active-marker-color: #0059b8;
|
881
|
+
$tabs-dark-color-scheme-state-empty-icon: #6d7a86;
|
882
|
+
$tabs-dark-color-scheme-state-empty-text: #6d7a86;
|
883
|
+
$tabs-dark-color-scheme-state-disabled-icon: #6d7a86;
|
884
|
+
$tabs-dark-color-scheme-state-disabled-text: #6d7a86;
|
885
|
+
$tabs-dark-color-scheme-state-disabled-marker-opacity: 0.3;
|
841
886
|
$tabs-size-height: 40px;
|
842
887
|
$tabs-size-highlight-height: 4px;
|
843
888
|
$tabs-size-padding-horizontal: 16px;
|
@@ -845,6 +890,14 @@ $tabs-size-border-width: 1px;
|
|
845
890
|
$tabs-size-border-radius: 3px;
|
846
891
|
$tabs-size-label-icon-margin: 8px;
|
847
892
|
$tabs-font-default: body;
|
893
|
+
$vertical-tabs-light-color-scheme-state-normal-background: transparent;
|
894
|
+
$vertical-tabs-light-color-scheme-state-selected-background: #e7f1ff;
|
895
|
+
$vertical-tabs-light-color-scheme-state-hover-background: rgba(black, 0.05);
|
896
|
+
$vertical-tabs-light-color-scheme-state-hover-selected-background: adjust-color(#e7f1ff, $saturation:-22%, $lightness:-5%);
|
897
|
+
$vertical-tabs-dark-color-scheme-state-normal-background: transparent;
|
898
|
+
$vertical-tabs-dark-color-scheme-state-selected-background: #014b9d;
|
899
|
+
$vertical-tabs-dark-color-scheme-state-hover-background: rgba(black, 0.05);
|
900
|
+
$vertical-tabs-dark-color-scheme-state-hover-selected-background: adjust-color(#014b9d, $lightness:-1%);
|
848
901
|
$tags-light-color-scheme-primary-background: #e7f1ff;
|
849
902
|
$tags-light-color-scheme-primary-border: #e7f1ff;
|
850
903
|
$tags-light-color-scheme-primary-text: #0374eb;
|
@@ -2570,6 +2623,11 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
|
|
2570
2623
|
state-selected-background: $datepicker-body-light-color-scheme-states-selected-background
|
2571
2624
|
);
|
2572
2625
|
|
2626
|
+
$dl: (
|
2627
|
+
dt: $description-list-light-color-scheme-dt,
|
2628
|
+
dd: $description-list-light-color-scheme-dd
|
2629
|
+
);
|
2630
|
+
|
2573
2631
|
$form-field: (
|
2574
2632
|
border: $form-field-light-color-scheme-border,
|
2575
2633
|
background: $form-field-light-color-scheme-background,
|
@@ -2579,6 +2637,17 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
|
|
2579
2637
|
state-invalid-background: $form-field-light-color-scheme-states-invalid-background
|
2580
2638
|
);
|
2581
2639
|
|
2640
|
+
$form-field-password-hint: (
|
2641
|
+
text-color: $form-field-password-hint-light-color-scheme-text-color,
|
2642
|
+
icon-color: $form-field-password-hint-light-color-scheme-text-color,
|
2643
|
+
|
2644
|
+
state-invalid-text-color: $form-field-password-hint-light-color-scheme-states-invalid-text-color,
|
2645
|
+
state-invalid-icon-color: $form-field-password-hint-light-color-scheme-states-invalid-icon-color,
|
2646
|
+
|
2647
|
+
state-valid-text-color: $form-field-password-hint-light-color-scheme-states-valid-text-color,
|
2648
|
+
state-valid-icon-color: $form-field-password-hint-light-color-scheme-states-valid-icon-color
|
2649
|
+
);
|
2650
|
+
|
2582
2651
|
$forms: (
|
2583
2652
|
label: $forms-light-color-scheme-label,
|
2584
2653
|
legend: $forms-light-color-scheme-legend,
|
@@ -2665,8 +2734,27 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
|
|
2665
2734
|
|
2666
2735
|
$tabs: (
|
2667
2736
|
border: $tabs-light-color-scheme-border,
|
2668
|
-
state-
|
2669
|
-
state-
|
2737
|
+
state-normal-icon: $tabs-light-color-scheme-state-normal-icon,
|
2738
|
+
state-normal-text: $tabs-light-color-scheme-state-normal-text,
|
2739
|
+
|
2740
|
+
state-hover-icon: $tabs-light-color-scheme-state-hover-icon,
|
2741
|
+
state-hover-text: $tabs-light-color-scheme-state-hover-text,
|
2742
|
+
|
2743
|
+
state-active-marker: $tabs-light-color-scheme-state-active-marker-color,
|
2744
|
+
|
2745
|
+
state-empty-icon: $tabs-light-color-scheme-state-empty-icon,
|
2746
|
+
state-empty-text: $tabs-light-color-scheme-state-empty-text,
|
2747
|
+
|
2748
|
+
state-disabled-icon: $tabs-light-color-scheme-state-disabled-icon,
|
2749
|
+
state-disabled-text: $tabs-light-color-scheme-state-disabled-text,
|
2750
|
+
state-disabled-marker-opacity: $tabs-light-color-scheme-state-disabled-marker-opacity
|
2751
|
+
);
|
2752
|
+
|
2753
|
+
$vertical-tabs: (
|
2754
|
+
state-normal-background: $vertical-tabs-light-color-scheme-state-normal-background,
|
2755
|
+
state-selected-background: $vertical-tabs-light-color-scheme-state-selected-background,
|
2756
|
+
state-hover-background: $vertical-tabs-light-color-scheme-state-hover-background,
|
2757
|
+
state-hover-selected-background: $vertical-tabs-light-color-scheme-state-hover-selected-background
|
2670
2758
|
);
|
2671
2759
|
|
2672
2760
|
$tags: (
|
@@ -2750,7 +2838,9 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
|
|
2750
2838
|
card: $card,
|
2751
2839
|
checkbox: $checkbox,
|
2752
2840
|
datepicker: $datepicker,
|
2841
|
+
dl: $dl,
|
2753
2842
|
form-field: $form-field,
|
2843
|
+
form-field-password-hint: $form-field-password-hint,
|
2754
2844
|
forms: $forms,
|
2755
2845
|
link: $link,
|
2756
2846
|
modal: $modal,
|
@@ -2761,6 +2851,7 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
|
|
2761
2851
|
radio: $radio,
|
2762
2852
|
sidepanel: $sidepanel,
|
2763
2853
|
tabs: $tabs,
|
2854
|
+
vertical-tabs: $vertical-tabs,
|
2764
2855
|
tags: $tags,
|
2765
2856
|
toggle: $toggle,
|
2766
2857
|
tooltip: $tooltip
|
@@ -2956,6 +3047,11 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
|
|
2956
3047
|
state-selected-background: $datepicker-body-dark-color-scheme-states-selected-background
|
2957
3048
|
);
|
2958
3049
|
|
3050
|
+
$dl: (
|
3051
|
+
dt: $description-list-dark-color-scheme-dt,
|
3052
|
+
dd: $description-list-dark-color-scheme-dd
|
3053
|
+
);
|
3054
|
+
|
2959
3055
|
$form-field: (
|
2960
3056
|
border: $form-field-dark-color-scheme-border,
|
2961
3057
|
background: $form-field-dark-color-scheme-background,
|
@@ -2965,6 +3061,17 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
|
|
2965
3061
|
state-invalid-background: $form-field-dark-color-scheme-states-invalid-background
|
2966
3062
|
);
|
2967
3063
|
|
3064
|
+
$form-field-password-hint: (
|
3065
|
+
text-color: $form-field-password-hint-dark-color-scheme-text-color,
|
3066
|
+
icon-color: $form-field-password-hint-dark-color-scheme-text-color,
|
3067
|
+
|
3068
|
+
state-invalid-text-color: $form-field-password-hint-dark-color-scheme-states-invalid-text-color,
|
3069
|
+
state-invalid-icon-color: $form-field-password-hint-dark-color-scheme-states-invalid-icon-color,
|
3070
|
+
|
3071
|
+
state-valid-text-color: $form-field-password-hint-dark-color-scheme-states-valid-text-color,
|
3072
|
+
state-valid-icon-color: $form-field-password-hint-dark-color-scheme-states-valid-icon-color
|
3073
|
+
);
|
3074
|
+
|
2968
3075
|
$forms: (
|
2969
3076
|
label: $forms-dark-color-scheme-label,
|
2970
3077
|
legend: $forms-dark-color-scheme-legend,
|
@@ -3051,8 +3158,27 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
|
|
3051
3158
|
|
3052
3159
|
$tabs: (
|
3053
3160
|
border: $tabs-dark-color-scheme-border,
|
3054
|
-
state-
|
3055
|
-
state-
|
3161
|
+
state-normal-icon: $tabs-dark-color-scheme-state-normal-icon,
|
3162
|
+
state-normal-text: $tabs-dark-color-scheme-state-normal-text,
|
3163
|
+
|
3164
|
+
state-hover-icon: $tabs-dark-color-scheme-state-hover-icon,
|
3165
|
+
state-hover-text: $tabs-dark-color-scheme-state-hover-text,
|
3166
|
+
|
3167
|
+
state-active-marker: $tabs-dark-color-scheme-state-active-marker-color,
|
3168
|
+
|
3169
|
+
state-empty-icon: $tabs-dark-color-scheme-state-empty-icon,
|
3170
|
+
state-empty-text: $tabs-dark-color-scheme-state-empty-text,
|
3171
|
+
|
3172
|
+
state-disabled-icon: $tabs-dark-color-scheme-state-disabled-icon,
|
3173
|
+
state-disabled-text: $tabs-dark-color-scheme-state-disabled-text,
|
3174
|
+
state-disabled-marker-opacity: $tabs-dark-color-scheme-state-disabled-marker-opacity
|
3175
|
+
);
|
3176
|
+
|
3177
|
+
$vertical-tabs: (
|
3178
|
+
state-normal-background: $vertical-tabs-dark-color-scheme-state-normal-background,
|
3179
|
+
state-selected-background: $vertical-tabs-dark-color-scheme-state-selected-background,
|
3180
|
+
state-hover-background: $vertical-tabs-dark-color-scheme-state-hover-background,
|
3181
|
+
state-hover-selected-background: $vertical-tabs-dark-color-scheme-state-hover-selected-background
|
3056
3182
|
);
|
3057
3183
|
|
3058
3184
|
$tags: (
|
@@ -3136,7 +3262,9 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
|
|
3136
3262
|
card: $card,
|
3137
3263
|
checkbox: $checkbox,
|
3138
3264
|
datepicker: $datepicker,
|
3265
|
+
dl: $dl,
|
3139
3266
|
form-field: $form-field,
|
3267
|
+
form-field-password-hint: $form-field-password-hint,
|
3140
3268
|
forms: $forms,
|
3141
3269
|
link: $link,
|
3142
3270
|
modal: $modal,
|
@@ -3147,6 +3275,7 @@ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default
|
|
3147
3275
|
radio: $radio,
|
3148
3276
|
sidepanel: $sidepanel,
|
3149
3277
|
tabs: $tabs,
|
3278
|
+
vertical-tabs: $vertical-tabs,
|
3150
3279
|
tags: $tags,
|
3151
3280
|
toggle: $toggle,
|
3152
3281
|
tooltip: $tooltip
|
@@ -4270,6 +4399,46 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
4270
4399
|
|
4271
4400
|
|
4272
4401
|
|
4402
|
+
@mixin mc-dl-theme($theme) {
|
4403
|
+
$dl: map-get(map-get($theme, components), dl);
|
4404
|
+
|
4405
|
+
.mc-dt {
|
4406
|
+
color: map-get($dl, dt);
|
4407
|
+
}
|
4408
|
+
|
4409
|
+
.mc-dd {
|
4410
|
+
color: map-get($dl, dd);
|
4411
|
+
}
|
4412
|
+
}
|
4413
|
+
|
4414
|
+
@mixin mc-dl-typography($config) {
|
4415
|
+
.mc-dl {
|
4416
|
+
& .mc-dt {
|
4417
|
+
@include mc-typography-level-to-styles($config, $description-list-font-horizontal-dt);
|
4418
|
+
}
|
4419
|
+
|
4420
|
+
& .mc-dd {
|
4421
|
+
@include mc-typography-level-to-styles($config, $description-list-font-horizontal-dd);
|
4422
|
+
}
|
4423
|
+
}
|
4424
|
+
|
4425
|
+
.mc-dl.mc-dl_vertical {
|
4426
|
+
& .mc-dt {
|
4427
|
+
@include mc-typography-level-to-styles($config, $description-list-font-vertical-dt);
|
4428
|
+
}
|
4429
|
+
|
4430
|
+
& .mc-dd {
|
4431
|
+
@include mc-typography-level-to-styles($config, $description-list-font-vertical-dd);
|
4432
|
+
}
|
4433
|
+
}
|
4434
|
+
|
4435
|
+
}
|
4436
|
+
|
4437
|
+
|
4438
|
+
|
4439
|
+
|
4440
|
+
|
4441
|
+
|
4273
4442
|
@mixin mc-dropdown-theme($theme) {
|
4274
4443
|
$foreground: map-get($theme, foreground);
|
4275
4444
|
$background: map-get($theme, background);
|
@@ -4389,12 +4558,12 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
4389
4558
|
}
|
4390
4559
|
}
|
4391
4560
|
|
4392
|
-
& .mc-
|
4561
|
+
& .mc-hint {
|
4393
4562
|
color: mc-color($error);
|
4394
4563
|
}
|
4395
4564
|
}
|
4396
4565
|
|
4397
|
-
&.
|
4566
|
+
&.cdk-focused {
|
4398
4567
|
&:not(.ng-invalid) .mc-form-field__container {
|
4399
4568
|
border-color: map-get(map-get($theme, states), focused-color);
|
4400
4569
|
box-shadow: 0 0 0 1px map-get(map-get($theme, states), focused-color);
|
@@ -4424,6 +4593,32 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
4424
4593
|
/* stylelint-enable no-descending-specificity */
|
4425
4594
|
}
|
4426
4595
|
}
|
4596
|
+
|
4597
|
+
.mc-password-hint {
|
4598
|
+
$password-hint: map-get(map-get($theme, components), form-field-password-hint);
|
4599
|
+
|
4600
|
+
color: map-get($password-hint, text-color);
|
4601
|
+
|
4602
|
+
& .mc-password-hint__icon {
|
4603
|
+
color: map-get($password-hint, icon-color);
|
4604
|
+
}
|
4605
|
+
|
4606
|
+
&.mc-password-hint_valid {
|
4607
|
+
color: map-get($password-hint, state-valid-text-color);
|
4608
|
+
|
4609
|
+
& .mc-password-hint__icon {
|
4610
|
+
color: map-get($password-hint, state-valid-icon-color);
|
4611
|
+
}
|
4612
|
+
}
|
4613
|
+
|
4614
|
+
&.mc-password-hint_invalid {
|
4615
|
+
color: map-get($password-hint, state-invalid-text-color);
|
4616
|
+
|
4617
|
+
& .mc-password-hint__icon {
|
4618
|
+
color: map-get($password-hint, state-invalid-icon-color);
|
4619
|
+
}
|
4620
|
+
}
|
4621
|
+
}
|
4427
4622
|
}
|
4428
4623
|
|
4429
4624
|
@mixin mc-form-field-typography($config) {
|
@@ -4446,6 +4641,7 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
4446
4641
|
|
4447
4642
|
@mixin mc-input-theme($theme) {
|
4448
4643
|
$foreground: map-get($theme, foreground);
|
4644
|
+
$background: map-get($theme, background);
|
4449
4645
|
|
4450
4646
|
.mc-input {
|
4451
4647
|
color: map-get($foreground, text);
|
@@ -4462,6 +4658,25 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
4462
4658
|
color: map-get($foreground, text-disabled);
|
4463
4659
|
}
|
4464
4660
|
}
|
4661
|
+
|
4662
|
+
.mc-password-toggle {
|
4663
|
+
color: map-get($foreground, icon);
|
4664
|
+
|
4665
|
+
&:hover {
|
4666
|
+
color: map-get($foreground, text);
|
4667
|
+
}
|
4668
|
+
|
4669
|
+
&[disabled] {
|
4670
|
+
cursor: default;
|
4671
|
+
|
4672
|
+
color: map-get($foreground, text-disabled);
|
4673
|
+
}
|
4674
|
+
|
4675
|
+
&.cdk-keyboard-focused {
|
4676
|
+
border-color: map-get(map-get($theme, states), focused-color);
|
4677
|
+
box-shadow: 0 0 0 1px map-get(map-get($theme, states), focused-color);
|
4678
|
+
}
|
4679
|
+
}
|
4465
4680
|
}
|
4466
4681
|
|
4467
4682
|
@mixin mc-input-typography($config) {
|
@@ -5204,6 +5419,7 @@ button {
|
|
5204
5419
|
$states: map-get($theme, states);
|
5205
5420
|
|
5206
5421
|
$tabs: map-get(map-get($theme, components), tabs);
|
5422
|
+
$vertical-tabs: map-get(map-get($theme, components), vertical-tabs);
|
5207
5423
|
|
5208
5424
|
.mc-tab-group_vertical .mc-tab-header__content {
|
5209
5425
|
border-right-color: map-get($foreground, divider);
|
@@ -5253,13 +5469,21 @@ button {
|
|
5253
5469
|
border-bottom-color: transparent;
|
5254
5470
|
}
|
5255
5471
|
|
5256
|
-
&.mc-tab-label_empty
|
5257
|
-
|
5472
|
+
&.mc-tab-label_empty {
|
5473
|
+
color: map-get($tabs, state-empty-text);
|
5474
|
+
|
5475
|
+
& .mc-icon {
|
5476
|
+
color: map-get($tabs, state-empty-icon);
|
5477
|
+
}
|
5258
5478
|
}
|
5259
5479
|
|
5260
5480
|
&:hover {
|
5261
|
-
|
5262
|
-
|
5481
|
+
background: map-get($background, overlay-hover);
|
5482
|
+
|
5483
|
+
color: map-get($tabs, state-hover-text);
|
5484
|
+
|
5485
|
+
& .mc-icon {
|
5486
|
+
color: map-get($tabs, state-hover-icon);
|
5263
5487
|
}
|
5264
5488
|
}
|
5265
5489
|
|
@@ -5268,166 +5492,140 @@ button {
|
|
5268
5492
|
color: map-get($tabs, border);
|
5269
5493
|
bottom-color: transparent;
|
5270
5494
|
}
|
5271
|
-
|
5272
|
-
& .mc-tab-overlay {
|
5273
|
-
background: transparent;
|
5274
|
-
}
|
5275
5495
|
}
|
5276
5496
|
|
5277
5497
|
&[disabled] {
|
5278
5498
|
cursor: default;
|
5279
5499
|
|
5280
|
-
|
5281
|
-
|
5500
|
+
color: map-get($tabs, state-disabled-text);
|
5501
|
+
|
5502
|
+
& .mc-icon {
|
5503
|
+
color: map-get($tabs, state-disabled-icon);
|
5282
5504
|
}
|
5283
5505
|
}
|
5284
5506
|
}
|
5285
5507
|
|
5508
|
+
.mc-tab-link,
|
5286
5509
|
.mc-tab-label_horizontal {
|
5287
|
-
color: map-get($
|
5510
|
+
color: map-get($tabs, state-normal-text);
|
5288
5511
|
|
5289
|
-
|
5290
|
-
|
5291
|
-
& .mc-tab-overlay {
|
5292
|
-
background: transparent;
|
5512
|
+
& .mc-icon {
|
5513
|
+
color: map-get($tabs, state-normal-icon);
|
5293
5514
|
}
|
5294
5515
|
|
5516
|
+
border-bottom-color: map-get($tabs, border);
|
5517
|
+
|
5295
5518
|
&.cdk-keyboard-focused:after {
|
5296
5519
|
border-color: map-get(map-get($theme, states), focused-color);
|
5297
5520
|
border-bottom-color: transparent;
|
5298
5521
|
}
|
5299
5522
|
|
5300
|
-
&.mc-tab-label_empty
|
5301
|
-
|
5302
|
-
}
|
5303
|
-
|
5304
|
-
&:hover {
|
5305
|
-
&:before {
|
5306
|
-
background-color: map-get($tabs, border);
|
5307
|
-
}
|
5308
|
-
|
5309
|
-
& .mc-tab-overlay {
|
5310
|
-
background: map-get($background, overlay-hover);
|
5311
|
-
}
|
5523
|
+
&.mc-tab-label_empty {
|
5524
|
+
color: map-get($tabs, state-empty-text);
|
5312
5525
|
|
5313
5526
|
& .mc-icon {
|
5314
|
-
color: map-get($
|
5527
|
+
color: map-get($tabs, state-empty-icon);
|
5315
5528
|
}
|
5316
5529
|
}
|
5317
5530
|
|
5318
5531
|
&.mc-active {
|
5319
5532
|
border-bottom-color: transparent;
|
5320
5533
|
|
5534
|
+
color: map-get($tabs, state-normal-text);
|
5535
|
+
|
5536
|
+
& .mc-icon {
|
5537
|
+
color: map-get($tabs, state-normal-icon);
|
5538
|
+
}
|
5539
|
+
|
5321
5540
|
&:before {
|
5322
|
-
background-color: map-get($tabs, state-active);
|
5541
|
+
background-color: map-get($tabs, state-active-marker);
|
5323
5542
|
}
|
5543
|
+
}
|
5544
|
+
|
5545
|
+
&:hover {
|
5546
|
+
background: map-get($background, overlay-hover);
|
5547
|
+
|
5548
|
+
color: map-get($tabs, state-hover-text);
|
5324
5549
|
|
5325
|
-
& .mc-
|
5326
|
-
|
5550
|
+
& .mc-icon {
|
5551
|
+
color: map-get($tabs, state-hover-icon);
|
5327
5552
|
}
|
5328
5553
|
}
|
5329
5554
|
|
5330
5555
|
&[disabled] {
|
5331
5556
|
cursor: default;
|
5332
5557
|
|
5333
|
-
|
5334
|
-
|
5558
|
+
color: map-get($tabs, state-disabled-text);
|
5559
|
+
|
5560
|
+
&:before {
|
5561
|
+
opacity: map-get($tabs, state-disabled-marker-opacity);
|
5562
|
+
}
|
5563
|
+
|
5564
|
+
& .mc-icon {
|
5565
|
+
color: map-get($tabs, state-disabled-icon);
|
5335
5566
|
}
|
5336
5567
|
}
|
5337
5568
|
}
|
5338
5569
|
|
5339
5570
|
.mc-tab-label_vertical {
|
5340
|
-
|
5571
|
+
background: map-get($vertical-tabs, state-normal-background);
|
5572
|
+
color: map-get($tabs, state-normal-text);
|
5341
5573
|
|
5342
|
-
& .mc-
|
5343
|
-
|
5574
|
+
& .mc-icon {
|
5575
|
+
color: map-get($tabs, state-normal-icon);
|
5344
5576
|
}
|
5345
5577
|
|
5346
5578
|
&.cdk-keyboard-focused:after {
|
5347
5579
|
border-color: map-get(map-get($theme, states), focused-color);
|
5348
5580
|
}
|
5349
5581
|
|
5350
|
-
&.mc-tab-label_empty
|
5351
|
-
|
5582
|
+
&.mc-tab-label_empty {
|
5583
|
+
color: map-get($tabs, state-empty-text);
|
5584
|
+
|
5585
|
+
& .mc-icon {
|
5586
|
+
color: map-get($tabs, state-empty-icon);
|
5587
|
+
}
|
5352
5588
|
}
|
5353
5589
|
|
5354
5590
|
&:hover {
|
5355
|
-
|
5356
|
-
background-color: map-get($tabs, border);
|
5357
|
-
}
|
5591
|
+
background: map-get($vertical-tabs, state-hover-background);
|
5358
5592
|
|
5359
|
-
|
5360
|
-
background: map-get($background, overlay-hover);
|
5361
|
-
}
|
5593
|
+
color: map-get($tabs, state-hover-text);
|
5362
5594
|
|
5363
5595
|
& .mc-icon {
|
5364
|
-
color: map-get($
|
5596
|
+
color: map-get($tabs, state-hover-icon);
|
5365
5597
|
}
|
5366
5598
|
}
|
5367
5599
|
|
5368
5600
|
&.mc-active {
|
5369
|
-
|
5601
|
+
color: map-get($tabs, state-normal-text);
|
5370
5602
|
background: map-get($states, selected-color);
|
5371
5603
|
|
5372
|
-
|
5373
|
-
|
5604
|
+
& .mc-icon {
|
5605
|
+
color: map-get($tabs, state-normal-icon);
|
5374
5606
|
}
|
5375
5607
|
|
5376
|
-
|
5377
|
-
background:
|
5608
|
+
&:before {
|
5609
|
+
background-color: map-get($tabs, state-active-marker);
|
5378
5610
|
}
|
5379
5611
|
|
5380
5612
|
&:hover {
|
5381
|
-
|
5382
|
-
background: map-get($background, overlay-hover);
|
5383
|
-
}
|
5613
|
+
background: map-get($vertical-tabs, state-hover-selected-background);
|
5384
5614
|
|
5385
5615
|
& .mc-icon {
|
5386
|
-
color: map-get($
|
5616
|
+
color: map-get($tabs, state-hover-icon);
|
5387
5617
|
}
|
5388
5618
|
}
|
5389
5619
|
}
|
5390
5620
|
|
5391
5621
|
&[disabled] {
|
5392
5622
|
cursor: default;
|
5393
|
-
background:
|
5623
|
+
background: map-get($vertical-tabs, state-normal-background);
|
5394
5624
|
|
5395
|
-
|
5396
|
-
background: map-get($tabs, state-disabled-overlay);
|
5397
|
-
}
|
5398
|
-
}
|
5399
|
-
}
|
5400
|
-
|
5401
|
-
.mc-tab-link {
|
5402
|
-
&.mc-tab-label_empty .mc-tab-overlay{
|
5403
|
-
background: map-get($tabs, state-disabled-overlay);
|
5404
|
-
}
|
5405
|
-
|
5406
|
-
&:hover {
|
5407
|
-
&:before {
|
5408
|
-
background-color: map-get($tabs, border);
|
5409
|
-
}
|
5625
|
+
color: map-get($tabs, state-disabled-text);
|
5410
5626
|
|
5411
5627
|
& .mc-icon {
|
5412
|
-
color: map-get($
|
5413
|
-
}
|
5414
|
-
}
|
5415
|
-
|
5416
|
-
&.mc-active {
|
5417
|
-
border-bottom-color: transparent;
|
5418
|
-
|
5419
|
-
&:before {
|
5420
|
-
background-color: map-get($tabs, state-active);
|
5421
|
-
}
|
5422
|
-
|
5423
|
-
& .mc-tab-overlay {
|
5424
|
-
background: transparent;
|
5425
|
-
}
|
5426
|
-
}
|
5427
|
-
|
5428
|
-
&[disabled] {
|
5429
|
-
& .mc-tab-overlay {
|
5430
|
-
background: map-get($tabs, state-disabled-overlay);
|
5628
|
+
color: map-get($tabs, state-disabled-icon);
|
5431
5629
|
}
|
5432
5630
|
}
|
5433
5631
|
}
|
@@ -6081,6 +6279,7 @@ button {
|
|
6081
6279
|
@include mc-checkbox-typography($config);
|
6082
6280
|
@include mc-datepicker-typography($config);
|
6083
6281
|
@include mc-dropdown-typography($config);
|
6282
|
+
@include mc-dl-typography($config);
|
6084
6283
|
@include mc-form-field-typography($config);
|
6085
6284
|
@include mc-forms-typography($config);
|
6086
6285
|
@include mc-input-typography($config);
|
@@ -6553,6 +6752,7 @@ button {
|
|
6553
6752
|
@include mc-card-theme($theme);
|
6554
6753
|
@include mc-checkbox-theme($theme);
|
6555
6754
|
@include mc-datepicker-theme($theme);
|
6755
|
+
@include mc-dl-theme($theme);
|
6556
6756
|
@include mc-divider-theme($theme);
|
6557
6757
|
@include mc-dropdown-theme($theme);
|
6558
6758
|
@include mc-form-field-theme($theme);
|