@ptsecurity/mosaic 17.2.0 → 17.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autocomplete/_autocomplete-theme.scss +2 -2
- package/autocomplete/autocomplete.scss +0 -2
- package/button/_button-theme.scss +3 -3
- package/button-toggle/_button-toggle-theme.scss +2 -2
- package/button-toggle/button-toggle.scss +2 -2
- package/checkbox/_checkbox-theme.scss +1 -1
- package/code-block/_code-block-theme.scss +3 -3
- package/core/form-field/form-field-ref.d.ts +13 -0
- package/core/form-field/index.d.ts +1 -0
- package/core/forms/_forms-theme.scss +3 -3
- package/core/locales/en-US.d.ts +17 -0
- package/core/locales/es-LA.d.ts +17 -0
- package/core/locales/fa-IR.d.ts +17 -0
- package/core/locales/index.d.ts +6 -0
- package/core/locales/locale-service.d.ts +102 -0
- package/core/locales/pt-BR.d.ts +17 -0
- package/core/locales/ru-RU.d.ts +17 -0
- package/core/locales/zh-CN.d.ts +17 -0
- package/core/option/_optgroup-theme.scss +1 -1
- package/core/option/_option-theme.scss +1 -1
- package/core/public-api.d.ts +1 -0
- package/core/select/common.d.ts +35 -0
- package/core/select/index.d.ts +1 -0
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +16 -11
- package/core/styles/common/_groups.scss +3 -2
- package/core/styles/common/_popup.scss +1 -1
- package/core/styles/common/_tokens.scss +33 -14
- package/core/styles/theming/_alerts.scss +20 -19
- package/core/styles/theming/_badges.scss +38 -36
- package/core/styles/theming/_components-theming.scss +13 -13
- package/core/styles/theming/_scrollbars.scss +24 -27
- package/core/styles/theming/_theming.scss +10 -8
- package/core/styles/typography/_typography-utils.scss +1 -1
- package/core/styles/typography/_typography.scss +29 -28
- package/core/styles/visual/_layout.scss +14 -13
- package/datepicker/_datepicker-theme.scss +5 -6
- package/divider/_divider-theme.scss +1 -1
- package/dl/_dl-theme.scss +9 -9
- package/dropdown/_dropdown-theme.scss +4 -4
- package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
- package/esm2022/core/form-field/form-field-ref.mjs +8 -0
- package/esm2022/core/form-field/index.mjs +2 -0
- package/esm2022/core/locales/en-US.mjs +18 -1
- package/esm2022/core/locales/es-LA.mjs +18 -1
- package/esm2022/core/locales/fa-IR.mjs +18 -1
- package/esm2022/core/locales/index.mjs +7 -1
- package/esm2022/core/locales/pt-BR.mjs +18 -1
- package/esm2022/core/locales/ru-RU.mjs +18 -1
- package/esm2022/core/locales/zh-CN.mjs +18 -1
- package/esm2022/core/public-api.mjs +2 -1
- package/esm2022/core/select/common.mjs +119 -0
- package/esm2022/core/select/index.mjs +2 -1
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +49 -26
- package/esm2022/file-upload/single-file-upload.component.mjs +38 -14
- package/esm2022/form-field/form-field.mjs +5 -11
- package/esm2022/form-field/password-hint.mjs +5 -4
- package/esm2022/form-field/validate.directive.mjs +5 -2
- package/esm2022/modal/modal.component.mjs +3 -3
- package/esm2022/modal/modal.directive.mjs +12 -6
- package/esm2022/navbar/navbar.component.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +3 -3
- package/esm2022/select/select.component.mjs +17 -113
- package/esm2022/select/select.module.mjs +17 -17
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +17 -3
- package/esm2022/timepicker/timepicker.directive.mjs +10 -2
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/toast/toast.service.mjs +17 -11
- package/esm2022/tree-select/tree-select.component.mjs +6 -7
- package/fesm2022/ptsecurity-mosaic-button-toggle.mjs +2 -2
- package/fesm2022/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-core.mjs +227 -4
- package/fesm2022/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-datepicker.mjs +1 -1
- package/fesm2022/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-file-upload.mjs +80 -36
- package/fesm2022/ptsecurity-mosaic-file-upload.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-form-field.mjs +11 -14
- package/fesm2022/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-modal.mjs +11 -6
- package/fesm2022/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-navbar.mjs +4 -4
- package/fesm2022/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-select.mjs +35 -131
- package/fesm2022/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-tabs.mjs +4 -4
- package/fesm2022/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-tags.mjs +17 -4
- package/fesm2022/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-timepicker.mjs +9 -1
- package/fesm2022/ptsecurity-mosaic-timepicker.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-timezone.mjs +4 -4
- package/fesm2022/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-toast.mjs +15 -9
- package/fesm2022/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2022/ptsecurity-mosaic-tree-select.mjs +6 -6
- package/fesm2022/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +7 -7
- package/file-upload/multiple-file-upload.component.d.ts +17 -6
- package/file-upload/multiple-file-upload.component.scss +9 -9
- package/file-upload/single-file-upload.component.d.ts +15 -6
- package/file-upload/single-file-upload.component.scss +3 -3
- package/form-field/_form-field-theme.scss +7 -5
- package/form-field/form-field.d.ts +1 -7
- package/form-field/form-field.scss +1 -1
- package/form-field/validate.directive.d.ts +5 -2
- package/icon/_icon-theme.scss +1 -1
- package/input/_input-theme.scss +4 -4
- package/link/_link-theme.scss +3 -3
- package/list/_list-theme.scss +1 -1
- package/loader-overlay/_loader-overlay-theme.scss +2 -2
- package/markdown/_markdown-theme.scss +15 -15
- package/modal/_modal-theme.scss +4 -4
- package/modal/modal.directive.d.ts +1 -1
- package/modal/modal.scss +2 -2
- package/navbar/_navbar-theme.scss +6 -6
- package/navbar/navbar-item.scss +2 -2
- package/package.json +8 -8
- package/popover/_popover-theme.scss +4 -4
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/radio/_radio-theme.scss +2 -2
- package/select/_select-theme.scss +4 -4
- package/select/select.component.d.ts +2 -32
- package/select/select.module.d.ts +1 -1
- package/select/select.scss +1 -1
- package/sidepanel/_sidepanel-theme.scss +5 -5
- package/table/_table-theme.scss +2 -2
- package/tabs/_tabs-theme.scss +3 -3
- package/tabs/tab-header.scss +16 -12
- package/tabs/tab-nav-bar/tab-nav-bar.scss +15 -13
- package/tags/_tag-theme.scss +7 -7
- package/tags/tag-default-options.d.ts +1 -0
- package/tags/tag-input.d.ts +7 -1
- package/textarea/_textarea-theme.scss +2 -2
- package/timezone/_timezone-option-theme.scss +4 -4
- package/timezone/timezone-select.component.d.ts +2 -1
- package/toast/_toast-theme.scss +3 -3
- package/toast/toast.service.d.ts +8 -4
- package/toggle/_toggle-theme.scss +3 -3
- package/tooltip/_tooltip-theme.scss +4 -4
- package/tree/_tree-theme.scss +1 -1
- package/tree-select/_tree-select-theme.scss +1 -1
- package/tree-select/tree-select.component.d.ts +1 -2
- package/tree-select/tree-select.scss +1 -1
@@ -61,11 +61,13 @@
|
|
61
61
|
&.cdk-focused {
|
62
62
|
&:not(.ng-invalid) .mc-form-field__container {
|
63
63
|
border-color: mc-css-variable(states-focused-color, map-get($theme, states, focused-color));
|
64
|
-
box-shadow: 0 0 0 1px mc-css-variable(
|
64
|
+
box-shadow: 0 0 0.1px 1px mc-css-variable(
|
65
|
+
states-focused-color, map-get($theme, states, focused-color)
|
66
|
+
);
|
65
67
|
}
|
66
68
|
|
67
69
|
&.ng-invalid .mc-form-field__container {
|
68
|
-
box-shadow: 0 0 0 1px mc-color($error);
|
70
|
+
box-shadow: 0 0 0.1px 1px mc-css-variable(error-default, mc-color($error));
|
69
71
|
}
|
70
72
|
}
|
71
73
|
|
@@ -142,14 +144,14 @@
|
|
142
144
|
|
143
145
|
@mixin mc-form-field-typography($config) {
|
144
146
|
.mc-form-field {
|
145
|
-
@include mc-typography-css-variables(form-field, default);
|
147
|
+
@include mc-typography-css-variables($config, form-field, default);
|
146
148
|
}
|
147
149
|
|
148
150
|
.mc-form-field__hint, .mc-password-hint {
|
149
|
-
@include mc-typography-css-variables(form-field-hint, default);
|
151
|
+
@include mc-typography-css-variables($config, form-field-hint, default);
|
150
152
|
}
|
151
153
|
|
152
154
|
.mc-hint {
|
153
|
-
@include mc-typography-level-to-
|
155
|
+
@include mc-typography-level-to-styles_css-variables($config, typography, caption);
|
154
156
|
}
|
155
157
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
2
|
-
import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef,
|
2
|
+
import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, QueryList } from '@angular/core';
|
3
3
|
import { NgControl } from '@angular/forms';
|
4
4
|
import { CanColor, CanColorCtor } from '@ptsecurity/mosaic/core';
|
5
5
|
import { McCleaner } from './cleaner';
|
@@ -10,12 +10,6 @@ import { McPrefix } from './prefix';
|
|
10
10
|
import { McStepper } from './stepper';
|
11
11
|
import { McSuffix } from './suffix';
|
12
12
|
import * as i0 from "@angular/core";
|
13
|
-
/**
|
14
|
-
* Injection token that can be used to inject an instances of `MatFormField`. It serves
|
15
|
-
* as alternative token to the actual `MatFormField` class which would cause unnecessary
|
16
|
-
* retention of the `MatFormField` class and its component metadata.
|
17
|
-
*/
|
18
|
-
export declare const MC_FORM_FIELD: InjectionToken<McFormField>;
|
19
13
|
/** @docs-private */
|
20
14
|
export declare class McFormFieldBase {
|
21
15
|
elementRef: ElementRef;
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
2
2
|
import { AbstractControl, FormGroupDirective, NgControl, NgForm, Validator, ValidatorFn } from '@angular/forms';
|
3
3
|
import { McValidationOptions } from '@ptsecurity/mosaic/core';
|
4
|
+
import { Subscription } from 'rxjs';
|
4
5
|
import { McFormFieldControl } from './form-field-control';
|
5
6
|
import * as i0 from "@angular/core";
|
6
|
-
export declare class McValidateDirective implements AfterContentInit {
|
7
|
+
export declare class McValidateDirective implements AfterContentInit, OnDestroy {
|
7
8
|
private formFieldControl;
|
8
9
|
rawValidators: Validator[];
|
9
10
|
private ngControl;
|
@@ -17,8 +18,10 @@ export declare class McValidateDirective implements AfterContentInit {
|
|
17
18
|
get validationControl(): any;
|
18
19
|
get parent(): NgForm;
|
19
20
|
get hasNotSubmittedParent(): boolean;
|
21
|
+
protected validationStatusChangesSubscription: Subscription;
|
20
22
|
constructor(formFieldControl: McFormFieldControl<any>, rawValidators: Validator[], ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, mcValidation: McValidationOptions, cdr: ChangeDetectorRef);
|
21
23
|
ngAfterContentInit(): void;
|
24
|
+
ngOnDestroy(): void;
|
22
25
|
setValidState(control: AbstractControl, validator: ValidatorFn): void;
|
23
26
|
/** This function do next:
|
24
27
|
* - run validation on submitting parent form
|
package/icon/_icon-theme.scss
CHANGED
package/input/_input-theme.scss
CHANGED
@@ -39,22 +39,22 @@
|
|
39
39
|
|
40
40
|
&.cdk-keyboard-focused {
|
41
41
|
border-color: mc-css-variable(states-focused-color, map-get($theme, states, focused-color));
|
42
|
-
box-shadow: 0 0 0 1px mc-css-variable(states-focused-color, map-get($theme, states, focused-color));
|
42
|
+
box-shadow: 0 0 0.1px 1px mc-css-variable(states-focused-color, map-get($theme, states, focused-color));
|
43
43
|
}
|
44
44
|
}
|
45
45
|
}
|
46
46
|
|
47
47
|
@mixin mc-input-typography($config) {
|
48
48
|
.mc-input {
|
49
|
-
@include mc-typography-css-variables(input, default);
|
49
|
+
@include mc-typography-css-variables($config, input, default);
|
50
50
|
}
|
51
51
|
|
52
52
|
.mc-input.mc-input_monospace,
|
53
53
|
.mc-input.mc-input-password {
|
54
|
-
@include mc-typography-css-variables(input, monospace);
|
54
|
+
@include mc-typography-css-variables($config, input, monospace);
|
55
55
|
}
|
56
56
|
|
57
57
|
.mc-input.mc-input-password::placeholder {
|
58
|
-
@include mc-typography-css-variables(input, default);
|
58
|
+
@include mc-typography-css-variables($config, input, default);
|
59
59
|
}
|
60
60
|
}
|
package/link/_link-theme.scss
CHANGED
@@ -133,7 +133,7 @@
|
|
133
133
|
@mixin mc-link-theme($theme) {
|
134
134
|
$foreground: map.get($theme, foreground);
|
135
135
|
|
136
|
-
$link: map.get(
|
136
|
+
$link: map.get($theme, components, link);
|
137
137
|
|
138
138
|
.mc-link:not(.mc-link_use-visited) {
|
139
139
|
&:visited {
|
@@ -182,10 +182,10 @@
|
|
182
182
|
|
183
183
|
@mixin mc-link-typography($config) {
|
184
184
|
.mc-link {
|
185
|
-
@include mc-typography-css-variables(link, default);
|
185
|
+
@include mc-typography-css-variables($config, link, default);
|
186
186
|
}
|
187
187
|
|
188
188
|
.mc-link.mc-link_caption {
|
189
|
-
@include mc-typography-css-variables(link, caption);
|
189
|
+
@include mc-typography-css-variables($config, link, caption);
|
190
190
|
}
|
191
191
|
}
|
package/list/_list-theme.scss
CHANGED
@@ -23,11 +23,11 @@
|
|
23
23
|
|
24
24
|
@mixin mc-loader-overlay-typography($config) {
|
25
25
|
.mc-loader-overlay-text {
|
26
|
-
@include mc-typography-css-variables(loader-overlay, text);
|
26
|
+
@include mc-typography-css-variables($config, loader-overlay, text);
|
27
27
|
}
|
28
28
|
|
29
29
|
.mc-loader-overlay-caption {
|
30
|
-
@include mc-typography-css-variables(loader-overlay, caption);
|
30
|
+
@include mc-typography-css-variables($config, loader-overlay, caption);
|
31
31
|
}
|
32
32
|
}
|
33
33
|
|
@@ -9,7 +9,7 @@
|
|
9
9
|
$foreground: map.get($theme, foreground);
|
10
10
|
$background: map.get($theme, background);
|
11
11
|
|
12
|
-
$markdown: map.get(
|
12
|
+
$markdown: map.get($theme, components, markdown);
|
13
13
|
|
14
14
|
.mc-markdown {
|
15
15
|
color: mc-css-variable(foreground-text, map-get($foreground, text));
|
@@ -98,60 +98,60 @@
|
|
98
98
|
@mixin mc-markdown-typography($config) {
|
99
99
|
.mc-markdown {
|
100
100
|
.mc-markdown__h1 {
|
101
|
-
@include mc-typography-css-variables(markdown-h1, default);
|
101
|
+
@include mc-typography-css-variables($config, markdown-h1, default);
|
102
102
|
}
|
103
103
|
|
104
104
|
.mc-markdown__h2 {
|
105
|
-
@include mc-typography-css-variables(markdown-h2, default);
|
105
|
+
@include mc-typography-css-variables($config, markdown-h2, default);
|
106
106
|
}
|
107
107
|
|
108
108
|
.mc-markdown__h3 {
|
109
|
-
@include mc-typography-css-variables(markdown-h3, default);
|
109
|
+
@include mc-typography-css-variables($config, markdown-h3, default);
|
110
110
|
}
|
111
111
|
|
112
112
|
.mc-markdown__h4 {
|
113
|
-
@include mc-typography-css-variables(markdown-h4, default);
|
113
|
+
@include mc-typography-css-variables($config, markdown-h4, default);
|
114
114
|
}
|
115
115
|
|
116
116
|
.mc-markdown__h5 {
|
117
|
-
@include mc-typography-css-variables(markdown-h5, default);
|
117
|
+
@include mc-typography-css-variables($config, markdown-h5, default);
|
118
118
|
}
|
119
119
|
|
120
120
|
.mc-markdown__h6 {
|
121
|
-
@include mc-typography-css-variables(markdown-h6, default);
|
121
|
+
@include mc-typography-css-variables($config, markdown-h6, default);
|
122
122
|
}
|
123
123
|
|
124
124
|
.mc-markdown__p {
|
125
|
-
@include mc-typography-css-variables(markdown-p, default);
|
125
|
+
@include mc-typography-css-variables($config, markdown-p, default);
|
126
126
|
}
|
127
127
|
|
128
128
|
.mc-markdown__ul,
|
129
129
|
.mc-markdown__ol {
|
130
|
-
@include mc-typography-css-variables(markdown-list, default);
|
130
|
+
@include mc-typography-css-variables($config, markdown-list, default);
|
131
131
|
}
|
132
132
|
|
133
133
|
.mc-markdown__blockquote > .mc-markdown__p {
|
134
|
-
@include mc-typography-css-variables(markdown-blockquote, default);
|
134
|
+
@include mc-typography-css-variables($config, markdown-blockquote, default);
|
135
135
|
}
|
136
136
|
|
137
137
|
.mc-markdown__code {
|
138
|
-
@include mc-typography-css-variables(markdown-code, default);
|
138
|
+
@include mc-typography-css-variables($config, markdown-code, default);
|
139
139
|
}
|
140
140
|
|
141
141
|
.mc-markdown__a {
|
142
|
-
@include mc-typography-css-variables(markdown-link, default);
|
142
|
+
@include mc-typography-css-variables($config, markdown-link, default);
|
143
143
|
}
|
144
144
|
|
145
145
|
.mc-markdown__img + em {
|
146
|
-
@include mc-typography-css-variables(markdown-image, caption);
|
146
|
+
@include mc-typography-css-variables($config, markdown-image, caption);
|
147
147
|
}
|
148
148
|
|
149
149
|
.mc-markdown__table > .mc-markdown__thead {
|
150
|
-
@include mc-typography-css-variables(markdown-table, header);
|
150
|
+
@include mc-typography-css-variables($config, markdown-table, header);
|
151
151
|
}
|
152
152
|
|
153
153
|
.mc-markdown__table > .mc-markdown__tbody {
|
154
|
-
@include mc-typography-css-variables(markdown-table, body);
|
154
|
+
@include mc-typography-css-variables($config, markdown-table, body);
|
155
155
|
}
|
156
156
|
}
|
157
157
|
}
|
package/modal/_modal-theme.scss
CHANGED
@@ -9,8 +9,8 @@
|
|
9
9
|
$foreground: map.get($theme, foreground);
|
10
10
|
$background: map.get($theme, background);
|
11
11
|
|
12
|
-
$modal: map.get(
|
13
|
-
$popup: map.get(
|
12
|
+
$modal: map.get($theme, components, modal);
|
13
|
+
$popup: map.get($theme, components, popup);
|
14
14
|
|
15
15
|
.mc-modal {
|
16
16
|
.mc-modal-content {
|
@@ -78,10 +78,10 @@
|
|
78
78
|
|
79
79
|
@mixin mc-modal-typography($config) {
|
80
80
|
.mc-modal-title {
|
81
|
-
@include mc-typography-css-variables(modal-header, default);
|
81
|
+
@include mc-typography-css-variables($config, modal-header, default);
|
82
82
|
}
|
83
83
|
|
84
84
|
.mc-modal-body {
|
85
|
-
@include mc-typography-css-variables(modal-body, default);
|
85
|
+
@include mc-typography-css-variables($config, modal-body, default);
|
86
86
|
}
|
87
87
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
export declare class McModalTitle {
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<McModalTitle, never>;
|
4
|
-
static
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McModalTitle, "[mc-modal-title], mc-modal-title, [mcModalTitle]", never, {}, {}, never, ["*"], false, never>;
|
5
5
|
}
|
6
6
|
export declare class McModalBody {
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<McModalBody, never>;
|
package/modal/modal.scss
CHANGED
@@ -73,8 +73,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
73
73
|
}
|
74
74
|
|
75
75
|
.mc-modal-title {
|
76
|
-
margin-top:
|
77
|
-
margin-bottom:
|
76
|
+
margin-top: mc-css-variable(size-s);
|
77
|
+
margin-bottom: mc-css-variable(size-s);
|
78
78
|
|
79
79
|
display: -webkit-box;
|
80
80
|
-webkit-box-orient: vertical;
|
@@ -8,8 +8,8 @@
|
|
8
8
|
$background: map.get($theme, background);
|
9
9
|
$primary: map.get($theme, primary);
|
10
10
|
|
11
|
-
$navbar: map.get(
|
12
|
-
$navbar-item: map.get(
|
11
|
+
$navbar: map.get($theme, components, navbar);
|
12
|
+
$navbar-item: map.get($theme, components, navbar-item);
|
13
13
|
|
14
14
|
.mc-navbar,
|
15
15
|
.mc-vertical-navbar .mc-vertical-navbar__container {
|
@@ -101,19 +101,19 @@ button {
|
|
101
101
|
|
102
102
|
@mixin mc-navbar-typography($config) {
|
103
103
|
.mc-navbar-title {
|
104
|
-
@include mc-typography-css-variables(navbar, title);
|
104
|
+
@include mc-typography-css-variables($config, navbar, title);
|
105
105
|
}
|
106
106
|
|
107
107
|
.mc-navbar-subtitle {
|
108
|
-
@include mc-typography-level-to-
|
108
|
+
@include mc-typography-level-to-styles_css-variables($config, typography, extra-small-text);
|
109
109
|
}
|
110
110
|
|
111
111
|
.mc-navbar-brand {
|
112
112
|
.mc-navbar-title {
|
113
|
-
@include mc-typography-css-variables(navbar-brand, title);
|
113
|
+
@include mc-typography-css-variables($config, navbar-brand, title);
|
114
114
|
|
115
115
|
&.mc-navbar-title_small {
|
116
|
-
@include mc-typography-level-to-
|
116
|
+
@include mc-typography-level-to-styles_css-variables($config, typography, subheading);
|
117
117
|
|
118
118
|
white-space: unset;
|
119
119
|
}
|
package/navbar/navbar-item.scss
CHANGED
@@ -82,8 +82,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
82
82
|
}
|
83
83
|
|
84
84
|
&.mc-navbar-item_has-nested {
|
85
|
-
padding-left:
|
86
|
-
padding-right:
|
85
|
+
padding-left: mc-css-variable(size-s);
|
86
|
+
padding-right: mc-css-variable(size-s);
|
87
87
|
}
|
88
88
|
}
|
89
89
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ptsecurity/mosaic",
|
3
|
-
"version": "17.2.
|
3
|
+
"version": "17.2.2",
|
4
4
|
"description": "Mosaic",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -19,14 +19,14 @@
|
|
19
19
|
"peerDependencies": {
|
20
20
|
"@angular/cdk": "^17.2.0",
|
21
21
|
"@angular/forms": "^17.2.0",
|
22
|
-
"@ptsecurity/cdk": "^17.2.
|
23
|
-
"@ptsecurity/mosaic-moment-adapter": "^17.2.
|
24
|
-
"@ptsecurity/mosaic-luxon-adapter": "^17.2.
|
25
|
-
"@mosaic-design/date-formatter": "^2.1.
|
22
|
+
"@ptsecurity/cdk": "^17.2.2",
|
23
|
+
"@ptsecurity/mosaic-moment-adapter": "^17.2.2",
|
24
|
+
"@ptsecurity/mosaic-luxon-adapter": "^17.2.2",
|
25
|
+
"@mosaic-design/date-formatter": "^2.1.6",
|
26
26
|
"@ptsecurity/mosaic-icons": "^7.0.8",
|
27
|
-
"@mosaic-design/tokens-builder": "^3.
|
28
|
-
"@mosaic-design/tokens-fe-2022": "^3.
|
29
|
-
"@mosaic-design/tokens-legacy-2017": "^3.
|
27
|
+
"@mosaic-design/tokens-builder": "^3.1.0",
|
28
|
+
"@mosaic-design/tokens-fe-2022": "^3.1.0",
|
29
|
+
"@mosaic-design/tokens-legacy-2017": "^3.1.0",
|
30
30
|
"marked": "^4.0.18"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
@@ -7,7 +7,7 @@
|
|
7
7
|
@mixin mc-popover-theme($theme) {
|
8
8
|
$foreground: map.get($theme, foreground);
|
9
9
|
|
10
|
-
$popover: map.get(
|
10
|
+
$popover: map.get($theme, components, popover);
|
11
11
|
|
12
12
|
$header: map.get($popover, header);
|
13
13
|
$footer: map.get($popover, footer);
|
@@ -96,14 +96,14 @@
|
|
96
96
|
|
97
97
|
@mixin mc-popover-typography($config) {
|
98
98
|
.mc-popover__header {
|
99
|
-
@include mc-typography-css-variables(popover-header, default);
|
99
|
+
@include mc-typography-css-variables($config, popover-header, default);
|
100
100
|
}
|
101
101
|
|
102
102
|
.mc-popover__content {
|
103
|
-
@include mc-typography-css-variables(popover, default);
|
103
|
+
@include mc-typography-css-variables($config, popover, default);
|
104
104
|
}
|
105
105
|
|
106
106
|
.mc-popover__footer {
|
107
|
-
@include mc-typography-css-variables(popover-footer, default);
|
107
|
+
@include mc-typography-css-variables($config, popover-footer, default);
|
108
108
|
}
|
109
109
|
}
|