@ptsecurity/mosaic 15.0.1 → 15.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 +107 -32
- package/_visual.scss +35 -17
- package/autocomplete/autocomplete.scss +1 -1
- package/button/_button-base.scss +6 -0
- package/button/button.component.d.ts +11 -4
- package/button/button.module.d.ts +2 -1
- package/core/pop-up/constants.d.ts +2 -1
- package/core/styles/_mosaic-theme.scss +1 -1
- package/core/styles/theming/_components-theming.scss +9 -2
- package/core/styles/typography/_typography.scss +34 -24
- package/datepicker/_datepicker-theme.scss +4 -2
- package/datepicker/calendar-header.scss +6 -0
- package/dl/_dl-theme.scss +49 -4
- package/dl/dl.component.d.ts +2 -1
- package/dl/dl.scss +39 -6
- package/esm2020/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2020/button/button.component.mjs +47 -38
- package/esm2020/button/button.module.mjs +8 -4
- package/esm2020/core/pop-up/constants.mjs +4 -2
- package/esm2020/core/pop-up/pop-up-trigger.mjs +2 -1
- package/esm2020/core/version.mjs +2 -2
- package/esm2020/datepicker/calendar-header.component.mjs +2 -2
- package/esm2020/dl/dl.component.mjs +7 -3
- package/esm2020/form-field/form-field.mjs +2 -2
- package/esm2020/form-field/hint.mjs +3 -3
- package/esm2020/input/input-number.mjs +6 -1
- package/esm2020/link/link.component.mjs +12 -2
- package/esm2020/modal/modal.component.mjs +4 -4
- package/esm2020/modal/modal.type.mjs +4 -2
- package/esm2020/popover/popover-confirm.component.mjs +2 -2
- package/esm2020/popover/popover.component.mjs +6 -6
- package/esm2020/select/select.component.mjs +15 -14
- package/esm2020/select/select.module.mjs +8 -4
- package/esm2020/sidepanel/sidepanel-config.mjs +8 -1
- package/esm2020/sidepanel/sidepanel-container.component.mjs +7 -3
- package/esm2020/sidepanel/sidepanel-directives.mjs +3 -3
- package/esm2020/tags/tag-input.mjs +3 -3
- package/esm2020/timezone/timezone-select.component.mjs +3 -3
- package/esm2020/toast/toast-container.component.mjs +2 -2
- package/esm2020/tooltip/tooltip.animations.mjs +4 -4
- package/esm2020/tooltip/tooltip.component.mjs +9 -6
- package/esm2020/tree-select/tree-select.component.mjs +39 -38
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button.mjs +52 -37
- package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-core.mjs +5 -2
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dl.mjs +6 -2
- package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +3 -3
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-input.mjs +6 -0
- package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-link.mjs +11 -1
- package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-modal.mjs +6 -4
- package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-popover.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.mjs +21 -16
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +16 -5
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tags.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timezone.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-toast.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs +11 -8
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +39 -37
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-button.mjs +50 -37
- package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs +5 -2
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dl.mjs +6 -2
- package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +3 -3
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-input.mjs +5 -0
- package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-link.mjs +11 -1
- package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-modal.mjs +6 -4
- package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-popover.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-select.mjs +21 -16
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +16 -5
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tags.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-timezone.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-toast.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs +11 -8
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs +38 -37
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +9 -0
- package/form-field/form-field.scss +5 -1
- package/link/_link-theme.scss +18 -2
- package/link/link.component.d.ts +4 -1
- package/modal/modal.component.d.ts +1 -1
- package/modal/modal.scss +2 -2
- package/modal/modal.type.d.ts +3 -2
- package/package.json +6 -6
- package/popover/popover.scss +2 -2
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/select/select.component.d.ts +5 -1
- package/select/select.module.d.ts +1 -1
- package/select/select.scss +7 -3
- package/sidepanel/sidepanel-config.d.ts +6 -0
- package/sidepanel/sidepanel-container.component.d.ts +1 -0
- package/sidepanel/sidepanel.scss +37 -24
- package/toast/toast-container.component.scss +1 -1
- package/tooltip/tooltip.component.d.ts +1 -0
- package/tooltip/tooltip.scss +9 -1
- package/tree-select/tree-select.component.d.ts +2 -0
package/_theming.scss
CHANGED
@@ -681,14 +681,14 @@ $checkbox-font-default: body;
|
|
681
681
|
$code-block-light-color-scheme-background: white;
|
682
682
|
$code-block-light-color-scheme-border: #d7dee4;
|
683
683
|
$code-block-light-color-scheme-color: #19252f;
|
684
|
-
$code-block-light-color-scheme-actionbar-background: rgba(white, 0.
|
684
|
+
$code-block-light-color-scheme-actionbar-background: rgba(white, 0.9);
|
685
685
|
$code-block-light-color-scheme-actionbar-border: null;
|
686
686
|
$code-block-light-color-scheme-line-numbers-background: null;
|
687
687
|
$code-block-light-color-scheme-line-numbers-border: null;
|
688
688
|
$code-block-light-color-scheme-line-numbers-color: #8c99a5;
|
689
689
|
$code-block-light-color-scheme-decoration-less-contrast-background: #f2f5f9;
|
690
690
|
$code-block-light-color-scheme-decoration-less-contrast-border: #d7dee4;
|
691
|
-
$code-block-light-color-scheme-decoration-less-contrast-actionbar-background: #f2f5f9;
|
691
|
+
$code-block-light-color-scheme-decoration-less-contrast-actionbar-background: rgba(#f2f5f9, 0.9);
|
692
692
|
$code-block-light-color-scheme-decoration-less-contrast-actionbar-border: null;
|
693
693
|
$code-block-light-color-scheme-hljs-addition-background: #d2f7db;
|
694
694
|
$code-block-light-color-scheme-hljs-addition-color: #103920;
|
@@ -795,14 +795,14 @@ $code-block-light-color-scheme-hljs-variable-language-color: null;
|
|
795
795
|
$code-block-dark-color-scheme-background: #19252f;
|
796
796
|
$code-block-dark-color-scheme-border: mix(#515e69, transparent, 50%);
|
797
797
|
$code-block-dark-color-scheme-color: #d7dee4;
|
798
|
-
$code-block-dark-color-scheme-actionbar-background: #19252f;
|
798
|
+
$code-block-dark-color-scheme-actionbar-background: rgba(#19252f, 0.9);
|
799
799
|
$code-block-dark-color-scheme-actionbar-border: null;
|
800
800
|
$code-block-dark-color-scheme-line-numbers-background: null;
|
801
801
|
$code-block-dark-color-scheme-line-numbers-border: null;
|
802
802
|
$code-block-dark-color-scheme-line-numbers-color: #6d7a86;
|
803
803
|
$code-block-dark-color-scheme-decoration-less-contrast-background: #27333e;
|
804
804
|
$code-block-dark-color-scheme-decoration-less-contrast-border: mix(#515e69, transparent, 50%);
|
805
|
-
$code-block-dark-color-scheme-decoration-less-contrast-actionbar-background: #27333e;
|
805
|
+
$code-block-dark-color-scheme-decoration-less-contrast-actionbar-background: rgba(#27333e, 0.9);
|
806
806
|
$code-block-dark-color-scheme-decoration-less-contrast-actionbar-border: null;
|
807
807
|
$code-block-dark-color-scheme-hljs-addition-background: #103920;
|
808
808
|
$code-block-dark-color-scheme-hljs-addition-color: #8ed5a1;
|
@@ -1060,15 +1060,24 @@ $description-list-dark-color-scheme-dd: #d7dee4;
|
|
1060
1060
|
$description-list-size-grid-template-columns: repeat(4, 1fr);
|
1061
1061
|
$description-list-size-dt-grid-column: 1;
|
1062
1062
|
$description-list-size-dd-grid-column: 2 / span 3;
|
1063
|
-
$description-list-size-horizontal-column-gap: 16px;
|
1064
|
-
$description-list-size-horizontal-row-gap: 12px;
|
1065
|
-
$description-list-size-vertical-column-gap: 0;
|
1066
|
-
$description-list-size-vertical-row-gap: 2px;
|
1067
|
-
$description-list-size-vertical-dd-margin-bottom: 16px;
|
1068
|
-
$description-list-
|
1069
|
-
$description-list-
|
1070
|
-
$description-list-
|
1071
|
-
$description-list-
|
1063
|
+
$description-list-size-default-horizontal-column-gap: 16px;
|
1064
|
+
$description-list-size-default-horizontal-row-gap: 12px;
|
1065
|
+
$description-list-size-default-vertical-column-gap: 0;
|
1066
|
+
$description-list-size-default-vertical-row-gap: 2px;
|
1067
|
+
$description-list-size-default-vertical-dd-margin-bottom: 16px;
|
1068
|
+
$description-list-size-small-horizontal-column-gap: 8px;
|
1069
|
+
$description-list-size-small-horizontal-row-gap: 8px;
|
1070
|
+
$description-list-size-small-vertical-column-gap: 0;
|
1071
|
+
$description-list-size-small-vertical-row-gap: 0;
|
1072
|
+
$description-list-size-small-vertical-dd-margin-bottom: 12px;
|
1073
|
+
$description-list-font-default-horizontal-dt: body;
|
1074
|
+
$description-list-font-default-horizontal-dd: body;
|
1075
|
+
$description-list-font-default-vertical-dt: caption;
|
1076
|
+
$description-list-font-default-vertical-dd: body;
|
1077
|
+
$description-list-font-small-horizontal-dt: caption;
|
1078
|
+
$description-list-font-small-horizontal-dd: caption;
|
1079
|
+
$description-list-font-small-vertical-dt: caption;
|
1080
|
+
$description-list-font-small-vertical-dd: caption;
|
1072
1081
|
$dropdown-item-size-padding: 5px 15px;
|
1073
1082
|
$dropdown-item-size-icon-padding: 0 8px 2px 0;
|
1074
1083
|
$dropdown-item-font-default: body;
|
@@ -1087,19 +1096,23 @@ $dropdown-panel-size-border-width: 1px;
|
|
1087
1096
|
$dropdown-panel-size-border-radius: 4px;
|
1088
1097
|
$form-field-light-color-scheme-border: #bdc7d1;
|
1089
1098
|
$form-field-light-color-scheme-background: white;
|
1099
|
+
$form-field-light-color-scheme-states-autofill-background: #ebf8fd;
|
1090
1100
|
$form-field-light-color-scheme-states-hover-border: #8c99a5;
|
1091
1101
|
$form-field-light-color-scheme-states-invalid-border: #db3c55;
|
1092
1102
|
$form-field-light-color-scheme-states-invalid-background: #fff3f3;
|
1093
1103
|
$form-field-dark-color-scheme-border: #515e69;
|
1094
1104
|
$form-field-dark-color-scheme-background: transparent;
|
1105
|
+
$form-field-dark-color-scheme-states-autofill-background: #143641;
|
1095
1106
|
$form-field-dark-color-scheme-states-hover-border: #6d7a86;
|
1096
1107
|
$form-field-dark-color-scheme-states-invalid-border: #b9023a;
|
1097
|
-
$form-field-dark-color-scheme-states-invalid-background:
|
1108
|
+
$form-field-dark-color-scheme-states-invalid-background: rgba(#41000b, 0.3);
|
1098
1109
|
$form-field-size-height: 32px;
|
1099
1110
|
$form-field-size-border-width: 1px;
|
1100
1111
|
$form-field-size-border-radius: 4px;
|
1101
1112
|
$form-field-size-button-width: 32px;
|
1102
1113
|
$form-field-font-default: body;
|
1114
|
+
$form-field-hint-light-color-scheme-text-color: #6d7a86;
|
1115
|
+
$form-field-hint-dark-color-scheme-text-color: #8c99a5;
|
1103
1116
|
$form-field-hint-size-margin-top: 4px;
|
1104
1117
|
$form-field-hint-font-default: caption;
|
1105
1118
|
$form-field-password-hint-light-color-scheme-text-color: #19252f;
|
@@ -1201,10 +1214,12 @@ $link-dark-color-scheme-state-hover-text: #4187ff;
|
|
1201
1214
|
$link-dark-color-scheme-state-hover-border-bottom: rgba(#4187ff, 0.32);
|
1202
1215
|
$link-dark-color-scheme-state-active: #0374eb;
|
1203
1216
|
$link-dark-color-scheme-state-focused-outline: #4187ff;
|
1204
|
-
$link-size-icon-margin: 4px;
|
1205
1217
|
$link-size-state-focused-outline-offset: 2px;
|
1206
1218
|
$link-size-state-focused-outline-width: 2px;
|
1219
|
+
$link-size-default-icon-margin: 4px;
|
1220
|
+
$link-size-caption-icon-margin: 2px;
|
1207
1221
|
$link-font-default: body;
|
1222
|
+
$link-font-caption: caption;
|
1208
1223
|
$list-size-horizontal-padding: 12px;
|
1209
1224
|
$list-size-icon-right-margin: 8px;
|
1210
1225
|
$list-size-item-height: 32px;
|
@@ -1356,7 +1371,7 @@ $modal-dark-color-scheme-body-top-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16);
|
|
1356
1371
|
$modal-dark-color-scheme-body-bottom-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.16);
|
1357
1372
|
$modal-dark-color-scheme-background-mask: rgba(0, 0, 0, 0.5);
|
1358
1373
|
$modal-size-small: 400px;
|
1359
|
-
$modal-size-
|
1374
|
+
$modal-size-medium: 640px;
|
1360
1375
|
$modal-size-large: 960px;
|
1361
1376
|
$modal-size-top: 48px;
|
1362
1377
|
$modal-size-close-width: 56px;
|
@@ -1428,7 +1443,7 @@ $popover-size-border-width: 1px;
|
|
1428
1443
|
$popover-size-arrow-size: 12px;
|
1429
1444
|
$popover-size-trigger-margin: 9px;
|
1430
1445
|
$popover-size-small-width: 200px;
|
1431
|
-
$popover-size-
|
1446
|
+
$popover-size-medium-width: 400px;
|
1432
1447
|
$popover-size-large-width: 640px;
|
1433
1448
|
$popover-font-default: body;
|
1434
1449
|
$popover-header-light-color-scheme-border: #d7dee4;
|
@@ -1524,6 +1539,9 @@ $select-panel-size-border-radius: 4px;
|
|
1524
1539
|
$select-panel-font-default: body;
|
1525
1540
|
$sidepanel-light-color-scheme-border: #bdc7d1;
|
1526
1541
|
$sidepanel-dark-color-scheme-border: #19252f;
|
1542
|
+
$sidepanel-size-small: 400px;
|
1543
|
+
$sidepanel-size-medium: 640px;
|
1544
|
+
$sidepanel-size-large: 960px;
|
1527
1545
|
$sidepanel-font-default: body;
|
1528
1546
|
$sidepanel-header-light-color-scheme-border: #d7dee4;
|
1529
1547
|
$sidepanel-header-dark-color-scheme-border: mix(#515e69, transparent, 50%);
|
@@ -3706,6 +3724,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
3706
3724
|
|
3707
3725
|
$datepicker: (
|
3708
3726
|
state-today-color: $datepicker-body-light-color-scheme-states-today-color,
|
3727
|
+
state-today-background: $datepicker-body-light-color-scheme-states-today-background,
|
3709
3728
|
state-selected-color: $datepicker-body-light-color-scheme-states-selected-color,
|
3710
3729
|
state-selected-background: $datepicker-body-light-color-scheme-states-selected-background
|
3711
3730
|
);
|
@@ -3764,7 +3783,8 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
3764
3783
|
|
3765
3784
|
state-hover-border: $form-field-light-color-scheme-states-hover-border,
|
3766
3785
|
state-invalid-border: $form-field-light-color-scheme-states-invalid-border,
|
3767
|
-
state-invalid-background: $form-field-light-color-scheme-states-invalid-background
|
3786
|
+
state-invalid-background: $form-field-light-color-scheme-states-invalid-background,
|
3787
|
+
state-autofill-background: $form-field-light-color-scheme-states-autofill-background
|
3768
3788
|
);
|
3769
3789
|
|
3770
3790
|
$form-field-password-hint: (
|
@@ -3778,6 +3798,10 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
3778
3798
|
state-valid-icon-color: $form-field-password-hint-light-color-scheme-states-valid-icon-color
|
3779
3799
|
);
|
3780
3800
|
|
3801
|
+
$form-field-hint: (
|
3802
|
+
text-color: $form-field-hint-light-color-scheme-text-color
|
3803
|
+
);
|
3804
|
+
|
3781
3805
|
$forms: (
|
3782
3806
|
label: $forms-light-color-scheme-label,
|
3783
3807
|
legend: $forms-light-color-scheme-legend,
|
@@ -4065,6 +4089,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
4065
4089
|
icon: $icon,
|
4066
4090
|
form-field: $form-field,
|
4067
4091
|
form-field-password-hint: $form-field-password-hint,
|
4092
|
+
form-field-hint: $form-field-hint,
|
4068
4093
|
forms: $forms,
|
4069
4094
|
link: $link,
|
4070
4095
|
loader-overlay: $loader-overlay,
|
@@ -4418,7 +4443,8 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
4418
4443
|
);
|
4419
4444
|
|
4420
4445
|
$datepicker: (
|
4421
|
-
state-
|
4446
|
+
state-today-color: $datepicker-body-dark-color-scheme-states-today-color,
|
4447
|
+
state-today-background: $datepicker-body-dark-color-scheme-states-today-background,
|
4422
4448
|
state-selected-color: $datepicker-body-dark-color-scheme-states-selected-color,
|
4423
4449
|
state-selected-background: $datepicker-body-dark-color-scheme-states-selected-background
|
4424
4450
|
);
|
@@ -4477,7 +4503,8 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
4477
4503
|
|
4478
4504
|
state-hover-border: $form-field-dark-color-scheme-states-hover-border,
|
4479
4505
|
state-invalid-border: $form-field-dark-color-scheme-states-invalid-border,
|
4480
|
-
state-invalid-background: $form-field-dark-color-scheme-states-invalid-background
|
4506
|
+
state-invalid-background: $form-field-dark-color-scheme-states-invalid-background,
|
4507
|
+
state-autofill-background: $form-field-dark-color-scheme-states-autofill-background
|
4481
4508
|
);
|
4482
4509
|
|
4483
4510
|
$form-field-password-hint: (
|
@@ -4491,6 +4518,10 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
4491
4518
|
state-valid-icon-color: $form-field-password-hint-dark-color-scheme-states-valid-icon-color
|
4492
4519
|
);
|
4493
4520
|
|
4521
|
+
$form-field-hint: (
|
4522
|
+
text-color: $form-field-password-hint-dark-color-scheme-text-color
|
4523
|
+
);
|
4524
|
+
|
4494
4525
|
$forms: (
|
4495
4526
|
label: $forms-dark-color-scheme-label,
|
4496
4527
|
legend: $forms-dark-color-scheme-legend,
|
@@ -4778,6 +4809,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
4778
4809
|
icon: $icon,
|
4779
4810
|
form-field: $form-field,
|
4780
4811
|
form-field-password-hint: $form-field-password-hint,
|
4812
|
+
form-field-hint: $form-field-hint,
|
4781
4813
|
forms: $forms,
|
4782
4814
|
link: $link,
|
4783
4815
|
loader-overlay: $loader-overlay,
|
@@ -5140,7 +5172,8 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
5140
5172
|
);
|
5141
5173
|
|
5142
5174
|
$datepicker: (
|
5143
|
-
state-
|
5175
|
+
state-today-color: map-get($tokens, 'datepicker-body-#{$scheme}-states-today-color'),
|
5176
|
+
state-today-background: map-get($tokens, 'datepicker-body-#{$scheme}-states-today-background'),
|
5144
5177
|
state-selected-color: map-get($tokens, 'datepicker-body-#{$scheme}-states-selected-color'),
|
5145
5178
|
state-selected-background: map-get($tokens, 'datepicker-body-#{$scheme}-states-selected-background')
|
5146
5179
|
);
|
@@ -5160,7 +5193,8 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
5160
5193
|
|
5161
5194
|
state-hover-border: map-get($tokens, 'form-field-#{$scheme}-states-hover-border'),
|
5162
5195
|
state-invalid-border: map-get($tokens, 'form-field-#{$scheme}-states-invalid-border'),
|
5163
|
-
state-invalid-background: map-get($tokens, 'form-field-#{$scheme}-states-invalid-background')
|
5196
|
+
state-invalid-background: map-get($tokens, 'form-field-#{$scheme}-states-invalid-background'),
|
5197
|
+
state-autofill-background: map-get($tokens, 'form-field-#{$scheme}-states-autofill-background')
|
5164
5198
|
);
|
5165
5199
|
|
5166
5200
|
$form-field-password-hint: (
|
@@ -5174,6 +5208,10 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
5174
5208
|
state-valid-icon-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-states-valid-icon-color')
|
5175
5209
|
);
|
5176
5210
|
|
5211
|
+
$form-field-hint: (
|
5212
|
+
text-color: map-get($tokens, 'form-field-hint-#{$scheme}-text-color'),
|
5213
|
+
);
|
5214
|
+
|
5177
5215
|
$forms: (
|
5178
5216
|
label: map-get($tokens, 'forms-#{$scheme}-label'),
|
5179
5217
|
legend: map-get($tokens, 'forms-#{$scheme}-legend'),
|
@@ -5499,6 +5537,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
5499
5537
|
dl: $dl,
|
5500
5538
|
form-field: $form-field,
|
5501
5539
|
form-field-password-hint: $form-field-password-hint,
|
5540
|
+
form-field-hint: $form-field-hint,
|
5502
5541
|
forms: $forms,
|
5503
5542
|
icon: $icon,
|
5504
5543
|
link: $link,
|
@@ -7271,7 +7310,8 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7271
7310
|
|
7272
7311
|
.mc-calendar__body-today {
|
7273
7312
|
color: map-get($datepicker, state-today-color);
|
7274
|
-
|
7313
|
+
// now tokens have wrong color for dark theme
|
7314
|
+
//background-color: map-get($datepicker, state-today-background);
|
7275
7315
|
}
|
7276
7316
|
|
7277
7317
|
.mc-calendar__body_disabled > .mc-calendar__body-today:not(.mc-selected) {
|
@@ -7279,8 +7319,8 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7279
7319
|
}
|
7280
7320
|
|
7281
7321
|
.mc-calendar__body-cell-content.mc-selected {
|
7282
|
-
background: map-get($datepicker, state-selected-background);
|
7283
7322
|
color: map-get($datepicker, state-selected-color);
|
7323
|
+
background: map-get($datepicker, state-selected-background);
|
7284
7324
|
}
|
7285
7325
|
|
7286
7326
|
.mc-calendar__body_disabled > .mc-selected {
|
@@ -7420,6 +7460,15 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7420
7460
|
$form-field: map-get(map-get($theme, components), form-field);
|
7421
7461
|
|
7422
7462
|
.mc-form-field {
|
7463
|
+
& .mc-input {
|
7464
|
+
//https://css-tricks.com/almanac/selectors/a/autofill/
|
7465
|
+
&:-webkit-autofill,
|
7466
|
+
&:-webkit-autofill:hover,
|
7467
|
+
&:-webkit-autofill:focus {
|
7468
|
+
-webkit-box-shadow: 0 0 0 40rem map-get($form-field, state-autofill-background) inset;
|
7469
|
+
}
|
7470
|
+
}
|
7471
|
+
|
7423
7472
|
& .mc-form-field__container {
|
7424
7473
|
background-color: map-get($form-field, background);
|
7425
7474
|
}
|
@@ -7478,12 +7527,14 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7478
7527
|
}
|
7479
7528
|
|
7480
7529
|
.mc-hint {
|
7530
|
+
$hint: map-get(map-get($theme, components), form-field-hint);
|
7531
|
+
|
7481
7532
|
&.mc-primary {
|
7482
|
-
color:
|
7533
|
+
color: map-get($hint, text-color);
|
7483
7534
|
}
|
7484
7535
|
|
7485
7536
|
&.mc-secondary {
|
7486
|
-
color:
|
7537
|
+
color: map-get($hint, text-color);
|
7487
7538
|
}
|
7488
7539
|
|
7489
7540
|
&.mc-error {
|
@@ -7791,11 +7842,11 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7791
7842
|
|
7792
7843
|
&.mc-text-with-icon .mc-link__text {
|
7793
7844
|
&:not(:first-child) {
|
7794
|
-
margin-left: $link-size-icon-margin;
|
7845
|
+
margin-left: $link-size-default-icon-margin;
|
7795
7846
|
}
|
7796
7847
|
|
7797
7848
|
&:not(:last-child) {
|
7798
|
-
margin-right: $link-size-icon-margin;
|
7849
|
+
margin-right: $link-size-default-icon-margin;
|
7799
7850
|
}
|
7800
7851
|
}
|
7801
7852
|
|
@@ -7901,6 +7952,10 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7901
7952
|
.mc-link {
|
7902
7953
|
@include mc-typography-level-to-styles($config, $link-font-default);
|
7903
7954
|
}
|
7955
|
+
|
7956
|
+
.mc-link.mc-link_caption {
|
7957
|
+
@include mc-typography-level-to-styles($config, $link-font-caption);
|
7958
|
+
}
|
7904
7959
|
}
|
7905
7960
|
|
7906
7961
|
|
@@ -9848,21 +9903,41 @@ button {
|
|
9848
9903
|
@mixin mc-dl-typography($config) {
|
9849
9904
|
.mc-dl {
|
9850
9905
|
& .mc-dt {
|
9851
|
-
@include mc-typography-level-to-styles($config, $description-list-font-horizontal-dt);
|
9906
|
+
@include mc-typography-level-to-styles($config, $description-list-font-default-horizontal-dt);
|
9852
9907
|
}
|
9853
9908
|
|
9854
9909
|
& .mc-dd {
|
9855
|
-
@include mc-typography-level-to-styles($config, $description-list-font-horizontal-dd);
|
9910
|
+
@include mc-typography-level-to-styles($config, $description-list-font-default-horizontal-dd);
|
9911
|
+
}
|
9912
|
+
|
9913
|
+
&.mc-dl_small {
|
9914
|
+
& .mc-dt {
|
9915
|
+
@include mc-typography-level-to-styles($config, $description-list-font-small-horizontal-dt);
|
9916
|
+
}
|
9917
|
+
|
9918
|
+
& .mc-dd {
|
9919
|
+
@include mc-typography-level-to-styles($config, $description-list-font-small-horizontal-dd);
|
9920
|
+
}
|
9856
9921
|
}
|
9857
9922
|
}
|
9858
9923
|
|
9859
9924
|
.mc-dl.mc-dl_vertical {
|
9860
9925
|
& .mc-dt {
|
9861
|
-
@include mc-typography-level-to-styles($config, $description-list-font-vertical-dt);
|
9926
|
+
@include mc-typography-level-to-styles($config, $description-list-font-default-vertical-dt);
|
9862
9927
|
}
|
9863
9928
|
|
9864
9929
|
& .mc-dd {
|
9865
|
-
@include mc-typography-level-to-styles($config, $description-list-font-vertical-dd);
|
9930
|
+
@include mc-typography-level-to-styles($config, $description-list-font-default-vertical-dd);
|
9931
|
+
}
|
9932
|
+
|
9933
|
+
&.mc-dl_small {
|
9934
|
+
& .mc-dt {
|
9935
|
+
@include mc-typography-level-to-styles($config, $description-list-font-small-vertical-dt);
|
9936
|
+
}
|
9937
|
+
|
9938
|
+
& .mc-dd {
|
9939
|
+
@include mc-typography-level-to-styles($config, $description-list-font-small-vertical-dd);
|
9940
|
+
}
|
9866
9941
|
}
|
9867
9942
|
}
|
9868
9943
|
}
|
package/_visual.scss
CHANGED
@@ -635,14 +635,14 @@ $checkbox-font-default: body;
|
|
635
635
|
$code-block-light-color-scheme-background: white;
|
636
636
|
$code-block-light-color-scheme-border: #d7dee4;
|
637
637
|
$code-block-light-color-scheme-color: #19252f;
|
638
|
-
$code-block-light-color-scheme-actionbar-background: rgba(white, 0.
|
638
|
+
$code-block-light-color-scheme-actionbar-background: rgba(white, 0.9);
|
639
639
|
$code-block-light-color-scheme-actionbar-border: null;
|
640
640
|
$code-block-light-color-scheme-line-numbers-background: null;
|
641
641
|
$code-block-light-color-scheme-line-numbers-border: null;
|
642
642
|
$code-block-light-color-scheme-line-numbers-color: #8c99a5;
|
643
643
|
$code-block-light-color-scheme-decoration-less-contrast-background: #f2f5f9;
|
644
644
|
$code-block-light-color-scheme-decoration-less-contrast-border: #d7dee4;
|
645
|
-
$code-block-light-color-scheme-decoration-less-contrast-actionbar-background: #f2f5f9;
|
645
|
+
$code-block-light-color-scheme-decoration-less-contrast-actionbar-background: rgba(#f2f5f9, 0.9);
|
646
646
|
$code-block-light-color-scheme-decoration-less-contrast-actionbar-border: null;
|
647
647
|
$code-block-light-color-scheme-hljs-addition-background: #d2f7db;
|
648
648
|
$code-block-light-color-scheme-hljs-addition-color: #103920;
|
@@ -749,14 +749,14 @@ $code-block-light-color-scheme-hljs-variable-language-color: null;
|
|
749
749
|
$code-block-dark-color-scheme-background: #19252f;
|
750
750
|
$code-block-dark-color-scheme-border: mix(#515e69, transparent, 50%);
|
751
751
|
$code-block-dark-color-scheme-color: #d7dee4;
|
752
|
-
$code-block-dark-color-scheme-actionbar-background: #19252f;
|
752
|
+
$code-block-dark-color-scheme-actionbar-background: rgba(#19252f, 0.9);
|
753
753
|
$code-block-dark-color-scheme-actionbar-border: null;
|
754
754
|
$code-block-dark-color-scheme-line-numbers-background: null;
|
755
755
|
$code-block-dark-color-scheme-line-numbers-border: null;
|
756
756
|
$code-block-dark-color-scheme-line-numbers-color: #6d7a86;
|
757
757
|
$code-block-dark-color-scheme-decoration-less-contrast-background: #27333e;
|
758
758
|
$code-block-dark-color-scheme-decoration-less-contrast-border: mix(#515e69, transparent, 50%);
|
759
|
-
$code-block-dark-color-scheme-decoration-less-contrast-actionbar-background: #27333e;
|
759
|
+
$code-block-dark-color-scheme-decoration-less-contrast-actionbar-background: rgba(#27333e, 0.9);
|
760
760
|
$code-block-dark-color-scheme-decoration-less-contrast-actionbar-border: null;
|
761
761
|
$code-block-dark-color-scheme-hljs-addition-background: #103920;
|
762
762
|
$code-block-dark-color-scheme-hljs-addition-color: #8ed5a1;
|
@@ -1014,15 +1014,24 @@ $description-list-dark-color-scheme-dd: #d7dee4;
|
|
1014
1014
|
$description-list-size-grid-template-columns: repeat(4, 1fr);
|
1015
1015
|
$description-list-size-dt-grid-column: 1;
|
1016
1016
|
$description-list-size-dd-grid-column: 2 / span 3;
|
1017
|
-
$description-list-size-horizontal-column-gap: 16px;
|
1018
|
-
$description-list-size-horizontal-row-gap: 12px;
|
1019
|
-
$description-list-size-vertical-column-gap: 0;
|
1020
|
-
$description-list-size-vertical-row-gap: 2px;
|
1021
|
-
$description-list-size-vertical-dd-margin-bottom: 16px;
|
1022
|
-
$description-list-
|
1023
|
-
$description-list-
|
1024
|
-
$description-list-
|
1025
|
-
$description-list-
|
1017
|
+
$description-list-size-default-horizontal-column-gap: 16px;
|
1018
|
+
$description-list-size-default-horizontal-row-gap: 12px;
|
1019
|
+
$description-list-size-default-vertical-column-gap: 0;
|
1020
|
+
$description-list-size-default-vertical-row-gap: 2px;
|
1021
|
+
$description-list-size-default-vertical-dd-margin-bottom: 16px;
|
1022
|
+
$description-list-size-small-horizontal-column-gap: 8px;
|
1023
|
+
$description-list-size-small-horizontal-row-gap: 8px;
|
1024
|
+
$description-list-size-small-vertical-column-gap: 0;
|
1025
|
+
$description-list-size-small-vertical-row-gap: 0;
|
1026
|
+
$description-list-size-small-vertical-dd-margin-bottom: 12px;
|
1027
|
+
$description-list-font-default-horizontal-dt: body;
|
1028
|
+
$description-list-font-default-horizontal-dd: body;
|
1029
|
+
$description-list-font-default-vertical-dt: caption;
|
1030
|
+
$description-list-font-default-vertical-dd: body;
|
1031
|
+
$description-list-font-small-horizontal-dt: caption;
|
1032
|
+
$description-list-font-small-horizontal-dd: caption;
|
1033
|
+
$description-list-font-small-vertical-dt: caption;
|
1034
|
+
$description-list-font-small-vertical-dd: caption;
|
1026
1035
|
$dropdown-item-size-padding: 5px 15px;
|
1027
1036
|
$dropdown-item-size-icon-padding: 0 8px 2px 0;
|
1028
1037
|
$dropdown-item-font-default: body;
|
@@ -1041,19 +1050,23 @@ $dropdown-panel-size-border-width: 1px;
|
|
1041
1050
|
$dropdown-panel-size-border-radius: 4px;
|
1042
1051
|
$form-field-light-color-scheme-border: #bdc7d1;
|
1043
1052
|
$form-field-light-color-scheme-background: white;
|
1053
|
+
$form-field-light-color-scheme-states-autofill-background: #ebf8fd;
|
1044
1054
|
$form-field-light-color-scheme-states-hover-border: #8c99a5;
|
1045
1055
|
$form-field-light-color-scheme-states-invalid-border: #db3c55;
|
1046
1056
|
$form-field-light-color-scheme-states-invalid-background: #fff3f3;
|
1047
1057
|
$form-field-dark-color-scheme-border: #515e69;
|
1048
1058
|
$form-field-dark-color-scheme-background: transparent;
|
1059
|
+
$form-field-dark-color-scheme-states-autofill-background: #143641;
|
1049
1060
|
$form-field-dark-color-scheme-states-hover-border: #6d7a86;
|
1050
1061
|
$form-field-dark-color-scheme-states-invalid-border: #b9023a;
|
1051
|
-
$form-field-dark-color-scheme-states-invalid-background:
|
1062
|
+
$form-field-dark-color-scheme-states-invalid-background: rgba(#41000b, 0.3);
|
1052
1063
|
$form-field-size-height: 32px;
|
1053
1064
|
$form-field-size-border-width: 1px;
|
1054
1065
|
$form-field-size-border-radius: 4px;
|
1055
1066
|
$form-field-size-button-width: 32px;
|
1056
1067
|
$form-field-font-default: body;
|
1068
|
+
$form-field-hint-light-color-scheme-text-color: #6d7a86;
|
1069
|
+
$form-field-hint-dark-color-scheme-text-color: #8c99a5;
|
1057
1070
|
$form-field-hint-size-margin-top: 4px;
|
1058
1071
|
$form-field-hint-font-default: caption;
|
1059
1072
|
$form-field-password-hint-light-color-scheme-text-color: #19252f;
|
@@ -1155,10 +1168,12 @@ $link-dark-color-scheme-state-hover-text: #4187ff;
|
|
1155
1168
|
$link-dark-color-scheme-state-hover-border-bottom: rgba(#4187ff, 0.32);
|
1156
1169
|
$link-dark-color-scheme-state-active: #0374eb;
|
1157
1170
|
$link-dark-color-scheme-state-focused-outline: #4187ff;
|
1158
|
-
$link-size-icon-margin: 4px;
|
1159
1171
|
$link-size-state-focused-outline-offset: 2px;
|
1160
1172
|
$link-size-state-focused-outline-width: 2px;
|
1173
|
+
$link-size-default-icon-margin: 4px;
|
1174
|
+
$link-size-caption-icon-margin: 2px;
|
1161
1175
|
$link-font-default: body;
|
1176
|
+
$link-font-caption: caption;
|
1162
1177
|
$list-size-horizontal-padding: 12px;
|
1163
1178
|
$list-size-icon-right-margin: 8px;
|
1164
1179
|
$list-size-item-height: 32px;
|
@@ -1310,7 +1325,7 @@ $modal-dark-color-scheme-body-top-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16);
|
|
1310
1325
|
$modal-dark-color-scheme-body-bottom-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.16);
|
1311
1326
|
$modal-dark-color-scheme-background-mask: rgba(0, 0, 0, 0.5);
|
1312
1327
|
$modal-size-small: 400px;
|
1313
|
-
$modal-size-
|
1328
|
+
$modal-size-medium: 640px;
|
1314
1329
|
$modal-size-large: 960px;
|
1315
1330
|
$modal-size-top: 48px;
|
1316
1331
|
$modal-size-close-width: 56px;
|
@@ -1382,7 +1397,7 @@ $popover-size-border-width: 1px;
|
|
1382
1397
|
$popover-size-arrow-size: 12px;
|
1383
1398
|
$popover-size-trigger-margin: 9px;
|
1384
1399
|
$popover-size-small-width: 200px;
|
1385
|
-
$popover-size-
|
1400
|
+
$popover-size-medium-width: 400px;
|
1386
1401
|
$popover-size-large-width: 640px;
|
1387
1402
|
$popover-font-default: body;
|
1388
1403
|
$popover-header-light-color-scheme-border: #d7dee4;
|
@@ -1478,6 +1493,9 @@ $select-panel-size-border-radius: 4px;
|
|
1478
1493
|
$select-panel-font-default: body;
|
1479
1494
|
$sidepanel-light-color-scheme-border: #bdc7d1;
|
1480
1495
|
$sidepanel-dark-color-scheme-border: #19252f;
|
1496
|
+
$sidepanel-size-small: 400px;
|
1497
|
+
$sidepanel-size-medium: 640px;
|
1498
|
+
$sidepanel-size-large: 960px;
|
1481
1499
|
$sidepanel-font-default: body;
|
1482
1500
|
$sidepanel-header-light-color-scheme-border: #d7dee4;
|
1483
1501
|
$sidepanel-header-dark-color-scheme-border: mix(#515e69, transparent, 50%);
|
package/button/_button-base.scss
CHANGED
@@ -60,4 +60,10 @@ $tokens: meta.module-variables(tokens) !default;
|
|
60
60
|
--mc-icon-button-size-left-icon-padding, map.get($tokens, icon-button-size-left-icon-padding)
|
61
61
|
);
|
62
62
|
}
|
63
|
+
|
64
|
+
& .mc-icon_right {
|
65
|
+
margin-left: var(
|
66
|
+
--mc-icon-button-size-left-icon-padding, map.get($tokens, icon-button-size-left-icon-padding)
|
67
|
+
);
|
68
|
+
}
|
63
69
|
}
|
@@ -1,17 +1,22 @@
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
2
|
-
import { ElementRef, OnDestroy, Renderer2, QueryList, AfterContentInit } from '@angular/core';
|
2
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy, Renderer2, QueryList, AfterContentInit } from '@angular/core';
|
3
3
|
import { CanColor, CanDisable, CanColorCtor, HasTabIndexCtor } from '@ptsecurity/mosaic/core';
|
4
4
|
import { McIcon } from '@ptsecurity/mosaic/icon';
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
+
export declare const leftIconClassName = "mc-icon_left";
|
7
|
+
export declare const rightIconClassName = "mc-icon_right";
|
8
|
+
export declare const buttonLeftIconClassName = "mc-icon-button_left";
|
9
|
+
export declare const buttonRightIconClassName = "mc-icon-button_right";
|
6
10
|
export declare class McButtonCssStyler implements AfterContentInit {
|
7
11
|
private renderer;
|
12
|
+
private cdr;
|
8
13
|
icons: QueryList<McIcon>;
|
9
14
|
nativeElement: HTMLElement;
|
10
15
|
isIconButton: boolean;
|
11
|
-
constructor(elementRef: ElementRef, renderer: Renderer2);
|
16
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef);
|
12
17
|
ngAfterContentInit(): void;
|
13
18
|
updateClassModifierForIcons(): void;
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<McButtonCssStyler,
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McButtonCssStyler, [null, null, { skipSelf: true; }]>;
|
15
20
|
static ɵdir: i0.ɵɵDirectiveDeclaration<McButtonCssStyler, "[mc-button]", never, {}, {}, ["icons"], never, false, never>;
|
16
21
|
}
|
17
22
|
/** @docs-private */
|
@@ -23,11 +28,12 @@ export declare class McButtonBase {
|
|
23
28
|
export declare const McButtonMixinBase: HasTabIndexCtor & CanColorCtor & typeof McButtonBase;
|
24
29
|
export declare class McButton extends McButtonMixinBase implements OnDestroy, CanDisable, CanColor {
|
25
30
|
private focusMonitor;
|
31
|
+
private styler;
|
26
32
|
hasFocus: boolean;
|
27
33
|
get disabled(): any;
|
28
34
|
set disabled(value: any);
|
29
35
|
private _disabled;
|
30
|
-
constructor(elementRef: ElementRef, focusMonitor: FocusMonitor);
|
36
|
+
constructor(elementRef: ElementRef, focusMonitor: FocusMonitor, styler: McButtonCssStyler);
|
31
37
|
ngOnDestroy(): void;
|
32
38
|
onFocus($event: any): void;
|
33
39
|
onBlur(): void;
|
@@ -35,6 +41,7 @@ export declare class McButton extends McButtonMixinBase implements OnDestroy, Ca
|
|
35
41
|
focus(): void;
|
36
42
|
focusViaKeyboard(): void;
|
37
43
|
haltDisabledEvents(event: Event): void;
|
44
|
+
projectContentChanged(): void;
|
38
45
|
private runFocusMonitor;
|
39
46
|
private stopFocusMonitor;
|
40
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<McButton, never>;
|
@@ -3,8 +3,9 @@ import * as i1 from "./button.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
4
4
|
import * as i3 from "@angular/cdk/a11y";
|
5
5
|
import * as i4 from "@angular/cdk/platform";
|
6
|
+
import * as i5 from "@angular/cdk/observers";
|
6
7
|
export declare class McButtonModule {
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<McButtonModule, never>;
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<McButtonModule, [typeof i1.McButton, typeof i1.McButtonCssStyler], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PlatformModule], [typeof i1.McButton, typeof i1.McButtonCssStyler]>;
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<McButtonModule, [typeof i1.McButton, typeof i1.McButtonCssStyler], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PlatformModule, typeof i5.ObserversModule], [typeof i1.McButton, typeof i1.McButtonCssStyler]>;
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<McButtonModule>;
|
10
11
|
}
|
@@ -110,7 +110,7 @@
|
|
110
110
|
@include mc-base-typography($config);
|
111
111
|
@include mc-markdown-base-typography($md-config);
|
112
112
|
|
113
|
-
@include alert-
|
113
|
+
@include mc-alert-typography($config);
|
114
114
|
@include mc-badge-typography($config);
|
115
115
|
@include mc-button-typography($config);
|
116
116
|
@include mc-checkbox-typography($config);
|
@@ -338,7 +338,8 @@
|
|
338
338
|
);
|
339
339
|
|
340
340
|
$datepicker: (
|
341
|
-
state-
|
341
|
+
state-today-color: map-get($tokens, 'datepicker-body-#{$scheme}-states-today-color'),
|
342
|
+
state-today-background: map-get($tokens, 'datepicker-body-#{$scheme}-states-today-background'),
|
342
343
|
state-selected-color: map-get($tokens, 'datepicker-body-#{$scheme}-states-selected-color'),
|
343
344
|
state-selected-background: map-get($tokens, 'datepicker-body-#{$scheme}-states-selected-background')
|
344
345
|
);
|
@@ -358,7 +359,8 @@
|
|
358
359
|
|
359
360
|
state-hover-border: map-get($tokens, 'form-field-#{$scheme}-states-hover-border'),
|
360
361
|
state-invalid-border: map-get($tokens, 'form-field-#{$scheme}-states-invalid-border'),
|
361
|
-
state-invalid-background: map-get($tokens, 'form-field-#{$scheme}-states-invalid-background')
|
362
|
+
state-invalid-background: map-get($tokens, 'form-field-#{$scheme}-states-invalid-background'),
|
363
|
+
state-autofill-background: map-get($tokens, 'form-field-#{$scheme}-states-autofill-background')
|
362
364
|
);
|
363
365
|
|
364
366
|
$form-field-password-hint: (
|
@@ -372,6 +374,10 @@
|
|
372
374
|
state-valid-icon-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-states-valid-icon-color')
|
373
375
|
);
|
374
376
|
|
377
|
+
$form-field-hint: (
|
378
|
+
text-color: map-get($tokens, 'form-field-hint-#{$scheme}-text-color'),
|
379
|
+
);
|
380
|
+
|
375
381
|
$forms: (
|
376
382
|
label: map-get($tokens, 'forms-#{$scheme}-label'),
|
377
383
|
legend: map-get($tokens, 'forms-#{$scheme}-legend'),
|
@@ -697,6 +703,7 @@
|
|
697
703
|
dl: $dl,
|
698
704
|
form-field: $form-field,
|
699
705
|
form-field-password-hint: $form-field-password-hint,
|
706
|
+
form-field-hint: $form-field-hint,
|
700
707
|
forms: $forms,
|
701
708
|
icon: $icon,
|
702
709
|
link: $link,
|