@ptsecurity/mosaic 15.5.0 → 15.6.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 +10 -6
- package/_visual.scss +4 -4
- package/button/_button-theme.scss +2 -5
- package/button-toggle/_button-toggle-theme.scss +2 -5
- package/checkbox/_checkbox-theme.scss +2 -5
- package/code-block/_code-block-theme.scss +2 -6
- package/core/forms/_forms-theme.scss +2 -4
- package/core/option/_optgroup-theme.scss +2 -4
- package/core/option/_option-theme.scss +2 -5
- package/core/styles/theming/_badges.scss +2 -1
- package/datepicker/_datepicker-theme.scss +2 -5
- package/dl/_dl-theme.scss +2 -5
- package/dropdown/_dropdown-theme.scss +2 -5
- package/esm2020/core/option/optgroup.mjs +2 -2
- package/esm2020/core/option/option.mjs +2 -2
- package/esm2020/core/version.mjs +2 -2
- package/esm2020/form-field/form-field.mjs +5 -8
- package/esm2020/form-field/password-hint.mjs +13 -5
- package/esm2020/list/list-selection.component.mjs +2 -2
- package/esm2020/list/list.component.mjs +2 -2
- package/esm2020/navbar/navbar-item.component.mjs +14 -13
- package/esm2020/radio/radio.component.mjs +3 -2
- package/esm2020/select/select.component.mjs +3 -3
- package/esm2020/tags/tag-default-options.mjs +1 -1
- package/esm2020/tags/tag-input.mjs +10 -8
- package/esm2020/tags/tag-list.component.mjs +10 -6
- package/esm2020/tags/tag.component.mjs +5 -5
- package/esm2020/timezone/timezone-option.component.mjs +2 -2
- package/esm2020/timezone/timezone-select.component.mjs +2 -2
- package/esm2020/tree/tree-option.component.mjs +2 -1
- package/esm2020/tree-select/tree-select.component.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-core.mjs +5 -5
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +15 -11
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-list.mjs +4 -4
- package/fesm2015/ptsecurity-mosaic-navbar.mjs +13 -12
- package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-radio.mjs +2 -1
- package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tags.mjs +22 -16
- package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timezone.mjs +4 -4
- package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-tree.mjs +1 -0
- package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs +5 -5
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +15 -10
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-list.mjs +4 -4
- package/fesm2020/ptsecurity-mosaic-navbar.mjs +13 -12
- package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-radio.mjs +2 -1
- package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-select.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tags.mjs +22 -16
- package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-timezone.mjs +4 -4
- package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-tree.mjs +1 -0
- package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +2 -4
- package/form-field/_form-field-theme.scss +3 -5
- package/form-field/form-field.d.ts +0 -1
- package/form-field/form-field.scss +1 -3
- package/form-field/password-hint.d.ts +6 -3
- package/input/_input-theme.scss +7 -6
- package/link/_link-theme.scss +7 -8
- package/list/_list-theme.scss +2 -5
- package/loader-overlay/_loader-overlay-theme.scss +2 -5
- package/markdown/_markdown-theme.scss +3 -6
- package/modal/_modal-theme.scss +3 -5
- package/navbar/_navbar-theme.scss +2 -6
- package/navbar/navbar-item.component.d.ts +3 -2
- package/package.json +14 -14
- package/popover/_popover-theme.scss +2 -6
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/prebuilt-visual/default-visual.css +1 -1
- package/radio/_radio-theme.scss +2 -6
- package/select/_select-theme.scss +2 -5
- package/select/select.scss +2 -0
- package/sidepanel/_sidepanel-theme.scss +2 -5
- package/table/_table-theme.scss +2 -5
- package/tabs/_tabs-theme.scss +2 -5
- package/tags/_tag-theme.scss +2 -5
- package/tags/tag-default-options.d.ts +4 -0
- package/tags/tag-list.component.d.ts +1 -0
- package/tags/tag-list.scss +6 -2
- package/tags/tag.component.d.ts +1 -1
- package/textarea/_textarea-theme.scss +2 -5
- package/timezone/_timezone-option-theme.scss +2 -5
- package/toast/_toast-theme.scss +2 -5
- package/toggle/_toggle-theme.scss +2 -5
- package/tooltip/_tooltip-theme.scss +2 -5
- package/tree/_tree-theme.scss +2 -4
- package/tree-select/_tree-select-theme.scss +2 -5
@@ -3,10 +3,6 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
$tokens: meta.module-variables(tokens) !default;
|
9
|
-
|
10
6
|
@mixin mc-file-upload-text-color($states) {
|
11
7
|
&, .mc-icon, .mc-link {
|
12
8
|
color: map.get($states, border);
|
@@ -127,6 +123,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
127
123
|
|
128
124
|
|
129
125
|
@mixin mc-file-upload-typography($config) {
|
126
|
+
$tokens: map.get($config, tokens);
|
127
|
+
|
130
128
|
.mc-single-file-upload {
|
131
129
|
@include mc-typography-level-to-styles($config, map.get($tokens, file-upload-font-single));
|
132
130
|
}
|
@@ -4,10 +4,6 @@
|
|
4
4
|
@use '../core/styles/theming/theming' as *;
|
5
5
|
@use '../core/styles/typography/typography-utils' as *;
|
6
6
|
|
7
|
-
@use '../core/styles/tokens';
|
8
|
-
|
9
|
-
|
10
|
-
$tokens: meta.module-variables(tokens) !default;
|
11
7
|
|
12
8
|
@mixin mc-form-field-theme($theme) {
|
13
9
|
$foreground: map.get($theme, foreground);
|
@@ -130,11 +126,13 @@ $tokens: meta.module-variables(tokens) !default;
|
|
130
126
|
}
|
131
127
|
|
132
128
|
@mixin mc-form-field-typography($config) {
|
129
|
+
$tokens: map.get($config, tokens);
|
130
|
+
|
133
131
|
.mc-form-field {
|
134
132
|
@include mc-typography-level-to-styles($config, map.get($tokens, form-field-font-default));
|
135
133
|
}
|
136
134
|
|
137
|
-
.mc-form-field__hint {
|
135
|
+
.mc-form-field__hint, .mc-password-hint {
|
138
136
|
@include mc-typography-level-to-styles($config, map.get($tokens, form-field-hint-font-default));
|
139
137
|
}
|
140
138
|
|
@@ -40,7 +40,6 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
|
|
40
40
|
canCleanerClearByEsc: boolean;
|
41
41
|
private $unsubscribe;
|
42
42
|
get hasHint(): boolean;
|
43
|
-
get hasPasswordStrengthError(): boolean;
|
44
43
|
get hasSuffix(): boolean;
|
45
44
|
get hasPrefix(): boolean;
|
46
45
|
get hasCleaner(): boolean;
|
@@ -36,7 +36,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
36
36
|
.mc-hint {
|
37
37
|
display: block;
|
38
38
|
}
|
39
|
-
|
39
|
+
/* test */
|
40
40
|
.mc-password-hint {
|
41
41
|
display: block;
|
42
42
|
|
@@ -50,9 +50,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
50
50
|
|
51
51
|
left: 0;
|
52
52
|
}
|
53
|
-
}
|
54
53
|
|
55
|
-
.mc-form-field__hint > .mc-password-hint {
|
56
54
|
margin-top: var(
|
57
55
|
--mc-form-field-password-hint-size-margin-top, map.get($tokens, form-field-password-hint-size-margin-top)
|
58
56
|
);
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, QueryList } from '@angular/core';
|
2
|
+
import { McFormField } from './form-field';
|
2
3
|
import * as i0 from "@angular/core";
|
3
4
|
export declare enum PasswordRules {
|
4
5
|
Length = 0,
|
@@ -14,6 +15,7 @@ export declare const regExpPasswordValidator: {
|
|
14
15
|
3: RegExp;
|
15
16
|
4: RegExp;
|
16
17
|
};
|
18
|
+
export declare const hasPasswordStrengthError: (passwordHints: QueryList<McPasswordHint>) => boolean;
|
17
19
|
export declare class McPasswordHint implements AfterContentInit {
|
18
20
|
private changeDetectorRef;
|
19
21
|
private formField;
|
@@ -22,6 +24,7 @@ export declare class McPasswordHint implements AfterContentInit {
|
|
22
24
|
min: number;
|
23
25
|
max: number;
|
24
26
|
regex: RegExp | null;
|
27
|
+
viewFormField?: McFormField;
|
25
28
|
hasError: boolean;
|
26
29
|
checked: boolean;
|
27
30
|
private checkRule;
|
@@ -34,6 +37,6 @@ export declare class McPasswordHint implements AfterContentInit {
|
|
34
37
|
private checkRegexRule;
|
35
38
|
private checkSpecialSymbolsRegexRule;
|
36
39
|
private isValueChanged;
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<McPasswordHint,
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordHint, "mc-password-hint", never, { "id": "id"; "rule": "rule"; "min": "min"; "max": "max"; "regex": "regex"; }, {}, never, ["*"], false, never>;
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McPasswordHint, [null, { optional: true; }]>;
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordHint, "mc-password-hint", never, { "id": "id"; "rule": "rule"; "min": "min"; "max": "max"; "regex": "regex"; "viewFormField": "viewFormField"; }, {}, never, ["*"], false, never>;
|
39
42
|
}
|
package/input/_input-theme.scss
CHANGED
@@ -3,11 +3,6 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
6
|
@mixin mc-input-theme($theme) {
|
12
7
|
$foreground: map.get($theme, foreground);
|
13
8
|
|
@@ -48,12 +43,18 @@ $tokens: meta.module-variables(tokens) !default;
|
|
48
43
|
}
|
49
44
|
|
50
45
|
@mixin mc-input-typography($config) {
|
46
|
+
$tokens: map.get($config, tokens);
|
47
|
+
|
51
48
|
.mc-input {
|
52
49
|
@include mc-typography-level-to-styles($config, map.get($tokens, input-font-default));
|
53
50
|
}
|
54
51
|
|
55
52
|
.mc-input.mc-input_monospace,
|
56
|
-
.mc-input.mc-input-password
|
53
|
+
.mc-input.mc-input-password {
|
57
54
|
@include mc-typography-level-to-styles($config, map.get($tokens, input-font-monospace));
|
58
55
|
}
|
56
|
+
|
57
|
+
.mc-input.mc-input-password::placeholder {
|
58
|
+
@include mc-typography-level-to-styles($config, map.get($tokens, input-font-default));
|
59
|
+
}
|
59
60
|
}
|
package/link/_link-theme.scss
CHANGED
@@ -3,12 +3,7 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
|
-
@mixin mc-link($foreground, $link) {
|
6
|
+
@mixin mc-link($foreground, $link, $tokens) {
|
12
7
|
display: inline-block;
|
13
8
|
|
14
9
|
color: map.get($link, text);
|
@@ -133,12 +128,14 @@ $tokens: meta.module-variables(tokens) !default;
|
|
133
128
|
|
134
129
|
$link: map.get(map.get($theme, components), link);
|
135
130
|
|
131
|
+
$tokens: map.get($theme, tokens);
|
132
|
+
|
136
133
|
.mc-link:not(.mc-link_use-visited) {
|
137
134
|
&:visited {
|
138
135
|
color: map.get($link, text);
|
139
136
|
}
|
140
137
|
|
141
|
-
@include mc-link($foreground, $link);
|
138
|
+
@include mc-link($foreground, $link, $tokens);
|
142
139
|
}
|
143
140
|
|
144
141
|
.mc-link.mc-link_use-visited {
|
@@ -155,7 +152,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
155
152
|
}
|
156
153
|
}
|
157
154
|
|
158
|
-
@include mc-link($foreground, $link);
|
155
|
+
@include mc-link($foreground, $link, $tokens);
|
159
156
|
}
|
160
157
|
|
161
158
|
@media print {
|
@@ -178,6 +175,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
178
175
|
}
|
179
176
|
|
180
177
|
@mixin mc-link-typography($config) {
|
178
|
+
$tokens: map.get($config, tokens);
|
179
|
+
|
181
180
|
.mc-link {
|
182
181
|
@include mc-typography-level-to-styles($config, map.get($tokens, link-font-default));
|
183
182
|
}
|
package/list/_list-theme.scss
CHANGED
@@ -3,11 +3,6 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
6
|
@mixin mc-list-theme($theme) {
|
12
7
|
$foreground: map.get($theme, foreground);
|
13
8
|
$background: map.get($theme, background);
|
@@ -42,6 +37,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
42
37
|
}
|
43
38
|
|
44
39
|
@mixin mc-list-typography($config) {
|
40
|
+
$tokens: map.get($config, tokens);
|
41
|
+
|
45
42
|
.mc-list-item,
|
46
43
|
.mc-list-option {
|
47
44
|
@include mc-typography-level-to-styles($config, map.get($tokens, list-font-item));
|
@@ -3,11 +3,6 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
6
|
@mixin mc-loader-overlay-theme($theme) {
|
12
7
|
$loader-overlay: map.get(map.get($theme, components), loader-overlay);
|
13
8
|
|
@@ -25,6 +20,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
25
20
|
}
|
26
21
|
|
27
22
|
@mixin mc-loader-overlay-typography($config) {
|
23
|
+
$tokens: map.get($config, tokens);
|
24
|
+
|
28
25
|
.mc-loader-overlay-text {
|
29
26
|
@include mc-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-text));
|
30
27
|
}
|
@@ -1,19 +1,14 @@
|
|
1
|
-
@use 'sass:meta';
|
2
1
|
@use 'sass:map';
|
3
2
|
|
4
3
|
@use '../core/styles/theming/theming' as *;
|
5
4
|
@use '../core/styles/typography/typography-utils' as *;
|
6
5
|
|
7
|
-
@use '../core/styles/tokens';
|
8
|
-
|
9
|
-
|
10
|
-
$tokens: meta.module-variables(tokens) !default;
|
11
|
-
|
12
6
|
@mixin mc-markdown-theme($theme) {
|
13
7
|
$foreground: map.get($theme, foreground);
|
14
8
|
$background: map.get($theme, background);
|
15
9
|
|
16
10
|
$markdown: map.get(map.get($theme, components), markdown);
|
11
|
+
$tokens: map.get($theme, tokens);
|
17
12
|
|
18
13
|
.mc-markdown {
|
19
14
|
color: map.get($foreground, text);
|
@@ -98,6 +93,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
98
93
|
}
|
99
94
|
|
100
95
|
@mixin mc-markdown-typography($config) {
|
96
|
+
$tokens: map.get($config, tokens);
|
97
|
+
|
101
98
|
.mc-markdown {
|
102
99
|
// h1, h2, h3, h4, h5, h6
|
103
100
|
@for $i from 1 through 6 {
|
package/modal/_modal-theme.scss
CHANGED
@@ -3,17 +3,13 @@
|
|
3
3
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
5
5
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
6
|
@mixin mc-modal-theme($theme) {
|
12
7
|
$foreground: map.get($theme, foreground);
|
13
8
|
$background: map.get($theme, background);
|
14
9
|
|
15
10
|
$modal: map.get(map.get($theme, components), modal);
|
16
11
|
$popup: map.get(map.get($theme, components), popup);
|
12
|
+
$tokens: map.get($theme, tokens);
|
17
13
|
|
18
14
|
.mc-modal {
|
19
15
|
.mc-modal-content {
|
@@ -80,6 +76,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
80
76
|
}
|
81
77
|
|
82
78
|
@mixin mc-modal-typography($config) {
|
79
|
+
$tokens: map.get($config, tokens);
|
80
|
+
|
83
81
|
.mc-modal-title {
|
84
82
|
@include mc-typography-level-to-styles($config, map.get($tokens, modal-header-font-default));
|
85
83
|
}
|
@@ -1,13 +1,7 @@
|
|
1
|
-
@use 'sass:meta';
|
2
1
|
@use 'sass:map';
|
3
2
|
|
4
3
|
@use '../core/styles/typography/typography-utils' as *;
|
5
4
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
5
|
@mixin mc-navbar-theme($theme) {
|
12
6
|
$background: map.get($theme, background);
|
13
7
|
$primary: map.get($theme, primary);
|
@@ -103,6 +97,8 @@ button {
|
|
103
97
|
}
|
104
98
|
|
105
99
|
@mixin mc-navbar-typography($config) {
|
100
|
+
$tokens: map.get($config, tokens);
|
101
|
+
|
106
102
|
.mc-navbar-title {
|
107
103
|
@include mc-typography-level-to-styles($config, map.get($tokens, navbar-font-title));
|
108
104
|
}
|
@@ -124,9 +124,9 @@ export declare class McNavbarItem extends McTooltipTrigger {
|
|
124
124
|
collapsedText: string;
|
125
125
|
get trigger(): string;
|
126
126
|
set trigger(value: string);
|
127
|
-
get collapsed(): boolean;
|
128
127
|
set collapsed(value: boolean);
|
129
128
|
private _collapsed;
|
129
|
+
isCollapsed: boolean;
|
130
130
|
get croppedText(): string;
|
131
131
|
get collapsable(): boolean;
|
132
132
|
set collapsable(value: boolean);
|
@@ -144,8 +144,9 @@ export declare class McNavbarItem extends McTooltipTrigger {
|
|
144
144
|
updateTooltip(): void;
|
145
145
|
getTitleWidth(): number;
|
146
146
|
onKeyDown($event: KeyboardEvent): void;
|
147
|
+
private updateCollapsedState;
|
147
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarItem, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
148
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarItem, "mc-navbar-item, [mc-navbar-item]", ["mcNavbarItem"], { "collapsedText": "collapsedText"; "trigger": "mcTrigger"; "
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarItem, "mc-navbar-item, [mc-navbar-item]", ["mcNavbarItem"], { "collapsedText": "collapsedText"; "trigger": "mcTrigger"; "collapsable": "collapsable"; }, {}, ["title", "subTitle", "icon"], ["[mc-icon]", "mc-navbar-title, [mc-navbar-title]", "mc-navbar-subtitle, [mc-navbar-subtitle]", "*"], false, never>;
|
149
150
|
}
|
150
151
|
export declare class McNavbarToggle extends McTooltipTrigger implements OnDestroy {
|
151
152
|
navbar: McVerticalNavbar;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ptsecurity/mosaic",
|
3
|
-
"version": "15.
|
3
|
+
"version": "15.6.0",
|
4
4
|
"description": "Mosaic",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -17,19 +17,19 @@
|
|
17
17
|
},
|
18
18
|
"homepage": "https://gitlab.ptsecurity.com/frontend/design-system/mosaic/-/blob/master/README.md",
|
19
19
|
"peerDependencies": {
|
20
|
-
"@angular/animations": "
|
21
|
-
"@angular/cdk": "
|
22
|
-
"@angular/core": "
|
23
|
-
"@angular/common": "
|
24
|
-
"@angular/forms": "
|
25
|
-
"@ptsecurity/cdk": "^15.
|
26
|
-
"@ptsecurity/mosaic-moment-adapter": "
|
27
|
-
"@ptsecurity/mosaic-luxon-adapter": "
|
28
|
-
"@mosaic-design/date-formatter": "
|
29
|
-
"@ptsecurity/mosaic-icons": "
|
30
|
-
"@mosaic-design/tokens-builder": "
|
31
|
-
"@mosaic-design/tokens-fe-2022": "
|
32
|
-
"@mosaic-design/tokens-legacy-2017": "
|
20
|
+
"@angular/animations": "15.2.9",
|
21
|
+
"@angular/cdk": "15.2.9",
|
22
|
+
"@angular/core": "15.2.9",
|
23
|
+
"@angular/common": "15.2.9",
|
24
|
+
"@angular/forms": "15.2.9",
|
25
|
+
"@ptsecurity/cdk": "^15.6.0",
|
26
|
+
"@ptsecurity/mosaic-moment-adapter": "1.1.0",
|
27
|
+
"@ptsecurity/mosaic-luxon-adapter": "1.1.0",
|
28
|
+
"@mosaic-design/date-formatter": "1.1.0",
|
29
|
+
"@ptsecurity/mosaic-icons": "7.0.8",
|
30
|
+
"@mosaic-design/tokens-builder": "1.3.0",
|
31
|
+
"@mosaic-design/tokens-fe-2022": "1.7.0",
|
32
|
+
"@mosaic-design/tokens-legacy-2017": "1.7.0"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
35
|
"tslib": "^2.4.0"
|
@@ -1,13 +1,7 @@
|
|
1
|
-
@use 'sass:meta';
|
2
1
|
@use 'sass:map';
|
3
2
|
|
4
3
|
@use '../core/styles/typography/typography-utils' as *;
|
5
4
|
|
6
|
-
@use '../core/styles/tokens';
|
7
|
-
|
8
|
-
|
9
|
-
$tokens: meta.module-variables(tokens) !default;
|
10
|
-
|
11
5
|
@mixin mc-popover-theme($theme) {
|
12
6
|
$foreground: map.get($theme, foreground);
|
13
7
|
|
@@ -99,6 +93,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
99
93
|
}
|
100
94
|
|
101
95
|
@mixin mc-popover-typography($config) {
|
96
|
+
$tokens: map.get($config, tokens);
|
97
|
+
|
102
98
|
.mc-popover__header {
|
103
99
|
@include mc-typography-level-to-styles($config, map.get($tokens, popover-header-font-default));
|
104
100
|
}
|