@ptsecurity/mosaic 17.2.1 → 17.3.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.
Files changed (89) hide show
  1. package/autocomplete/autocomplete.scss +0 -2
  2. package/button/_button-theme.scss +3 -3
  3. package/button-toggle/_button-toggle-theme.scss +2 -2
  4. package/checkbox/_checkbox-theme.scss +1 -1
  5. package/code-block/_code-block-theme.scss +2 -2
  6. package/core/form-field/form-field-ref.d.ts +13 -0
  7. package/core/form-field/index.d.ts +1 -0
  8. package/core/forms/_forms-theme.scss +2 -2
  9. package/core/option/_optgroup-theme.scss +1 -1
  10. package/core/option/_option-theme.scss +1 -1
  11. package/core/public-api.d.ts +1 -0
  12. package/core/select/common.d.ts +35 -0
  13. package/core/select/index.d.ts +1 -0
  14. package/core/styles/common/_tokens.scss +29 -20
  15. package/core/styles/theming/_alerts.scss +5 -5
  16. package/core/styles/theming/_badges.scss +6 -6
  17. package/core/styles/typography/_typography.scss +26 -26
  18. package/datepicker/_datepicker-theme.scss +4 -4
  19. package/dl/_dl-theme.scss +8 -8
  20. package/dropdown/_dropdown-theme.scss +4 -4
  21. package/esm2022/core/form-field/form-field-ref.mjs +8 -0
  22. package/esm2022/core/form-field/index.mjs +2 -0
  23. package/esm2022/core/public-api.mjs +2 -1
  24. package/esm2022/core/select/common.mjs +119 -0
  25. package/esm2022/core/select/index.mjs +2 -1
  26. package/esm2022/core/version.mjs +2 -2
  27. package/esm2022/datepicker/calendar-header.component.mjs +1 -1
  28. package/esm2022/form-field/form-field.mjs +5 -11
  29. package/esm2022/form-field/password-hint.mjs +5 -4
  30. package/esm2022/select/select.component.mjs +15 -111
  31. package/esm2022/select/select.module.mjs +17 -17
  32. package/esm2022/tags/tag-default-options.mjs +1 -1
  33. package/esm2022/tags/tag-input.mjs +17 -3
  34. package/esm2022/timepicker/timepicker.directive.mjs +10 -2
  35. package/esm2022/timezone/timezone-select.component.mjs +3 -3
  36. package/esm2022/toast/toast.service.mjs +17 -11
  37. package/esm2022/tree-select/tree-select.component.mjs +4 -5
  38. package/fesm2022/ptsecurity-mosaic-core.mjs +125 -4
  39. package/fesm2022/ptsecurity-mosaic-core.mjs.map +1 -1
  40. package/fesm2022/ptsecurity-mosaic-datepicker.mjs +1 -1
  41. package/fesm2022/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  42. package/fesm2022/ptsecurity-mosaic-form-field.mjs +7 -13
  43. package/fesm2022/ptsecurity-mosaic-form-field.mjs.map +1 -1
  44. package/fesm2022/ptsecurity-mosaic-select.mjs +34 -130
  45. package/fesm2022/ptsecurity-mosaic-select.mjs.map +1 -1
  46. package/fesm2022/ptsecurity-mosaic-tags.mjs +17 -4
  47. package/fesm2022/ptsecurity-mosaic-tags.mjs.map +1 -1
  48. package/fesm2022/ptsecurity-mosaic-timepicker.mjs +9 -1
  49. package/fesm2022/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  50. package/fesm2022/ptsecurity-mosaic-timezone.mjs +2 -2
  51. package/fesm2022/ptsecurity-mosaic-timezone.mjs.map +1 -1
  52. package/fesm2022/ptsecurity-mosaic-toast.mjs +15 -9
  53. package/fesm2022/ptsecurity-mosaic-toast.mjs.map +1 -1
  54. package/fesm2022/ptsecurity-mosaic-tree-select.mjs +4 -4
  55. package/fesm2022/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  56. package/file-upload/_file-upload-theme.scss +7 -7
  57. package/form-field/_form-field-theme.scss +7 -5
  58. package/form-field/form-field.d.ts +1 -7
  59. package/input/_input-theme.scss +4 -4
  60. package/link/_link-theme.scss +2 -2
  61. package/list/_list-theme.scss +1 -1
  62. package/loader-overlay/_loader-overlay-theme.scss +2 -2
  63. package/markdown/_markdown-theme.scss +14 -14
  64. package/modal/_modal-theme.scss +2 -2
  65. package/navbar/_navbar-theme.scss +4 -4
  66. package/package.json +16 -16
  67. package/popover/_popover-theme.scss +3 -3
  68. package/prebuilt-themes/dark-theme.css +1 -1
  69. package/prebuilt-themes/default-theme.css +1 -1
  70. package/radio/_radio-theme.scss +1 -1
  71. package/select/_select-theme.scss +2 -2
  72. package/select/select.component.d.ts +2 -32
  73. package/select/select.module.d.ts +1 -1
  74. package/sidepanel/_sidepanel-theme.scss +3 -3
  75. package/table/_table-theme.scss +2 -2
  76. package/tabs/_tabs-theme.scss +1 -1
  77. package/tags/_tag-theme.scss +5 -5
  78. package/tags/tag-default-options.d.ts +1 -0
  79. package/tags/tag-input.d.ts +7 -1
  80. package/textarea/_textarea-theme.scss +2 -2
  81. package/timezone/_timezone-option-theme.scss +3 -3
  82. package/timezone/timezone-select.component.d.ts +2 -1
  83. package/toast/_toast-theme.scss +3 -3
  84. package/toast/toast.service.d.ts +8 -4
  85. package/toggle/_toggle-theme.scss +2 -2
  86. package/tooltip/_tooltip-theme.scss +3 -3
  87. package/tree/_tree-theme.scss +1 -1
  88. package/tree-select/_tree-select-theme.scss +1 -1
  89. package/tree-select/tree-select.component.d.ts +1 -2
@@ -102,6 +102,6 @@
102
102
 
103
103
  @mixin mc-radio-typography($config) {
104
104
  .mc-radio-group {
105
- @include mc-typography-css-variables(radio, default);
105
+ @include mc-typography-css-variables($config, radio, default);
106
106
  }
107
107
  }
@@ -51,10 +51,10 @@
51
51
 
52
52
  @mixin mc-select-typography($config) {
53
53
  .mc-select {
54
- @include mc-typography-css-variables(select, default);
54
+ @include mc-typography-css-variables($config, select, default);
55
55
  }
56
56
 
57
57
  .mc-select__panel {
58
- @include mc-typography-css-variables(select-panel, default);
58
+ @include mc-typography-css-variables($config, select-panel, default);
59
59
  }
60
60
  }
@@ -5,11 +5,10 @@ import { CdkVirtualForOf } from '@angular/cdk/scrolling';
5
5
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges, TemplateRef } from '@angular/core';
6
6
  import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
7
7
  import { ActiveDescendantKeyManager } from '@ptsecurity/cdk/a11y';
8
- import { CanDisable, CanDisableCtor, CanUpdateErrorState, CanUpdateErrorStateCtor, ErrorStateMatcher, HasTabIndex, HasTabIndexCtor, McOptgroup, McOption, McOptionSelectionChange, McLocaleService, McOptionBase } from '@ptsecurity/mosaic/core';
8
+ import { CanDisable, CanDisableCtor, CanUpdateErrorState, CanUpdateErrorStateCtor, ErrorStateMatcher, HasTabIndex, HasTabIndexCtor, McOptgroup, McOption, McOptionSelectionChange, McLocaleService, McOptionBase, McSelectTrigger, McSelectMatcher, McSelectFooter, McSelectSearch } from '@ptsecurity/mosaic/core';
9
9
  import { McCleaner, McFormField, McFormFieldControl } from '@ptsecurity/mosaic/form-field';
10
- import { McInput } from '@ptsecurity/mosaic/input';
11
10
  import { McTag } from '@ptsecurity/mosaic/tags';
12
- import { Observable, Subject, Subscription } from 'rxjs';
11
+ import { Observable, Subject } from 'rxjs';
13
12
  import * as i0 from "@angular/core";
14
13
  /** Change event object that is emitted when the select value has changed. */
15
14
  export declare class McSelectChange {
@@ -17,35 +16,6 @@ export declare class McSelectChange {
17
16
  value: any;
18
17
  constructor(source: McSelect, value: any);
19
18
  }
20
- export declare class McSelectFooter {
21
- static ɵfac: i0.ɵɵFactoryDeclaration<McSelectFooter, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<McSelectFooter, "mc-select-footer, [mc-select-footer]", never, {}, {}, never, never, false, never>;
23
- }
24
- export declare class McSelectSearch implements AfterContentInit, OnDestroy {
25
- input: McInput;
26
- searchChangesSubscription: Subscription;
27
- isSearchChanged: boolean;
28
- constructor(formField: McFormField);
29
- focus(): void;
30
- reset(): void;
31
- ngAfterContentInit(): void;
32
- ngOnDestroy(): void;
33
- handleKeydown(event: KeyboardEvent): void;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<McSelectSearch, never>;
35
- static ɵdir: i0.ɵɵDirectiveDeclaration<McSelectSearch, "[mcSelectSearch]", ["mcSelectSearch"], {}, {}, ["input"], never, false, never>;
36
- }
37
- export declare class McSelectSearchEmptyResult {
38
- static ɵfac: i0.ɵɵFactoryDeclaration<McSelectSearchEmptyResult, never>;
39
- static ɵdir: i0.ɵɵDirectiveDeclaration<McSelectSearchEmptyResult, "[mc-select-search-empty-result]", ["mcSelectSearchEmptyResult"], {}, {}, never, never, false, never>;
40
- }
41
- export declare class McSelectTrigger {
42
- static ɵfac: i0.ɵɵFactoryDeclaration<McSelectTrigger, never>;
43
- static ɵdir: i0.ɵɵDirectiveDeclaration<McSelectTrigger, "mc-select-trigger, [mc-select-trigger]", never, {}, {}, never, never, false, never>;
44
- }
45
- export declare class McSelectMatcher {
46
- static ɵfac: i0.ɵɵFactoryDeclaration<McSelectMatcher, never>;
47
- static ɵdir: i0.ɵɵDirectiveDeclaration<McSelectMatcher, "mc-select-matcher, [mc-select-matcher]", never, {}, {}, never, never, false, never>;
48
- }
49
19
  /** @docs-private */
50
20
  export declare class McSelectBase {
51
21
  elementRef: ElementRef;
@@ -10,6 +10,6 @@ import * as i8 from "@ptsecurity/mosaic/tooltip";
10
10
  import * as i9 from "@ptsecurity/mosaic/form-field";
11
11
  export declare class McSelectModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<McSelectModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<McSelectModule, [typeof i1.McSelect, typeof i1.McSelectSearch, typeof i1.McSelectSearchEmptyResult, typeof i1.McSelectTrigger, typeof i1.McSelectMatcher, typeof i2.McOptionTooltip, typeof i1.McSelectFooter], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.McOptionModule, typeof i6.McIconModule, typeof i7.McTagsModule, typeof i8.McToolTipModule], [typeof i9.McFormFieldModule, typeof i1.McSelect, typeof i1.McSelectSearch, typeof i1.McSelectSearchEmptyResult, typeof i1.McSelectTrigger, typeof i1.McSelectMatcher, typeof i1.McSelectFooter, typeof i2.McOptionTooltip, typeof i5.McOptionModule, typeof i3.CommonModule]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<McSelectModule, [typeof i1.McSelect, typeof i2.McOptionTooltip], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.McOptionModule, typeof i6.McIconModule, typeof i7.McTagsModule, typeof i8.McToolTipModule, typeof i5.McSelectSearch, typeof i5.McSelectSearchEmptyResult, typeof i5.McSelectTrigger, typeof i5.McSelectMatcher, typeof i5.McSelectFooter], [typeof i9.McFormFieldModule, typeof i1.McSelect, typeof i5.McSelectSearch, typeof i5.McSelectSearchEmptyResult, typeof i5.McSelectTrigger, typeof i5.McSelectMatcher, typeof i5.McSelectFooter, typeof i2.McOptionTooltip, typeof i5.McOptionModule, typeof i3.CommonModule]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<McSelectModule>;
15
15
  }
@@ -53,14 +53,14 @@
53
53
 
54
54
  @mixin mc-sidepanel-typography($config) {
55
55
  .mc-sidepanel-title {
56
- @include mc-typography-css-variables(sidepanel-header, default);
56
+ @include mc-typography-css-variables($config, sidepanel-header, default);
57
57
  }
58
58
 
59
59
  .mc-sidepanel-container {
60
- @include mc-typography-css-variables(sidepanel, default);
60
+ @include mc-typography-css-variables($config, sidepanel, default);
61
61
  }
62
62
 
63
63
  .mc-sidepanel-footer {
64
- @include mc-typography-css-variables(sidepanel-footer, default);
64
+ @include mc-typography-css-variables($config, sidepanel-footer, default);
65
65
  }
66
66
  }
@@ -49,7 +49,7 @@
49
49
  font-weight: normal;
50
50
  }
51
51
 
52
- @include mc-typography-css-variables(table, header);
52
+ @include mc-typography-css-variables($config, table, header);
53
53
  }
54
54
 
55
55
  & > tbody {
@@ -57,7 +57,7 @@
57
57
  font-weight: normal;
58
58
  }
59
59
 
60
- @include mc-typography-css-variables(table, body);
60
+ @include mc-typography-css-variables($config, table, body);
61
61
  }
62
62
  }
63
63
  }
@@ -245,6 +245,6 @@
245
245
  .mc-tab-label,
246
246
  .mc-tab-label_old,
247
247
  .mc-tab-link {
248
- @include mc-typography-css-variables(tabs, default);
248
+ @include mc-typography-css-variables($config, tabs, default);
249
249
  }
250
250
  }
@@ -19,7 +19,7 @@
19
19
  &.mc-active,
20
20
  &.mc-focused {
21
21
  border-color: mc-css-variable(tags-#{$style-name}-focused, map-get($style, focused));
22
- box-shadow: 0 0 0 1px mc-css-variable(tags-#{$style-name}-focused, map-get($style, focused));
22
+ box-shadow: 0 0 0.1px 1px mc-css-variable(tags-#{$style-name}-focused, map-get($style, focused));
23
23
  }
24
24
 
25
25
  &:not(.mc-disabled) .mc-icon {
@@ -104,19 +104,19 @@
104
104
 
105
105
  @mixin mc-tag-typography($config) {
106
106
  .mc-tag:not(.mc-tag_mono):not(.mc-tag_caps) {
107
- @include mc-typography-css-variables(tags, default);
107
+ @include mc-typography-css-variables($config, tags, default);
108
108
  }
109
109
 
110
110
  .mc-tag_mono {
111
- @include mc-typography-css-variables(tags, mono);
111
+ @include mc-typography-css-variables($config, tags, mono);
112
112
  }
113
113
 
114
114
  .mc-tag_caps {
115
- @include mc-typography-css-variables(tags, caps);
115
+ @include mc-typography-css-variables($config, tags, caps);
116
116
  }
117
117
 
118
118
  .mc-tag-input {
119
- @include mc-typography-css-variables(tag-input, default);
119
+ @include mc-typography-css-variables($config, tag-input, default);
120
120
  }
121
121
  }
122
122
 
@@ -7,6 +7,7 @@ export interface McTagsDefaultOptions {
7
7
  separators?: {
8
8
  [key: number]: McTagSeparator;
9
9
  };
10
+ addOnPaste?: boolean;
10
11
  }
11
12
  /** Injection token to be used to override the default options for the chips module. */
12
13
  export declare const MC_TAGS_DEFAULT_OPTIONS: InjectionToken<McTagsDefaultOptions>;
@@ -56,6 +56,12 @@ export declare class McTagInput implements McTagTextControl, OnChanges {
56
56
  get addOnBlur(): boolean;
57
57
  set addOnBlur(value: boolean);
58
58
  private _addOnBlur;
59
+ /**
60
+ * Whether the tagEnd event will be emitted when the text pasted.
61
+ */
62
+ get addOnPaste(): boolean;
63
+ set addOnPaste(value: boolean);
64
+ private _addOnPaste;
59
65
  /** Whether the input is disabled. */
60
66
  get disabled(): boolean;
61
67
  set disabled(value: boolean);
@@ -88,5 +94,5 @@ export declare class McTagInput implements McTagTextControl, OnChanges {
88
94
  /** Checks whether a keycode is one of the configured separators. */
89
95
  private isSeparatorKey;
90
96
  static ɵfac: i0.ɵɵFactoryDeclaration<McTagInput, [null, null, null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }]>;
91
- static ɵdir: i0.ɵɵDirectiveDeclaration<McTagInput, "input[mcTagInputFor]", ["mcTagInput", "mcTagInputFor"], { "separatorKeyCodes": { "alias": "mcTagInputSeparatorKeyCodes"; "required": false; }; "distinct": { "alias": "distinct"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "tagList": { "alias": "mcTagInputFor"; "required": false; }; "addOnBlur": { "alias": "mcTagInputAddOnBlur"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "tagEnd": "mcTagInputTokenEnd"; }, never, never, false, never>;
97
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McTagInput, "input[mcTagInputFor]", ["mcTagInput", "mcTagInputFor"], { "separatorKeyCodes": { "alias": "mcTagInputSeparatorKeyCodes"; "required": false; }; "distinct": { "alias": "distinct"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "tagList": { "alias": "mcTagInputFor"; "required": false; }; "addOnBlur": { "alias": "mcTagInputAddOnBlur"; "required": false; }; "addOnPaste": { "alias": "mcTagInputAddOnPaste"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "tagEnd": "mcTagInputTokenEnd"; }, never, never, false, never>;
92
98
  }
@@ -28,10 +28,10 @@
28
28
 
29
29
  @mixin mc-textarea-typography($config) {
30
30
  textarea.mc-textarea {
31
- @include mc-typography-css-variables(textarea, default);
31
+ @include mc-typography-css-variables($config, textarea, default);
32
32
  }
33
33
 
34
34
  .mc-textarea.mc-textarea_monospace {
35
- @include mc-typography-css-variables(textarea, mono);
35
+ @include mc-typography-css-variables($config, textarea, mono);
36
36
  }
37
37
  }
@@ -20,14 +20,14 @@
20
20
 
21
21
  @mixin mc-timezone-option-typography($config) {
22
22
  .mc-timezone-option__offset {
23
- @include mc-typography-css-variables(timezone-option, offset-text);
23
+ @include mc-typography-css-variables($config, timezone-option, offset-text);
24
24
  }
25
25
 
26
26
  .mc-timezone-option__city {
27
- @include mc-typography-css-variables(timezone-option, text);
27
+ @include mc-typography-css-variables($config, timezone-option, text);
28
28
  }
29
29
 
30
30
  .mc-timezone-option__cities {
31
- @include mc-typography-css-variables(timezone-option, caption);
31
+ @include mc-typography-css-variables($config, timezone-option, caption);
32
32
  }
33
33
  }
@@ -1,5 +1,6 @@
1
+ import { McSelectSearch } from '@ptsecurity/mosaic/core';
1
2
  import { McCleaner } from '@ptsecurity/mosaic/form-field';
2
- import { McSelect, McSelectSearch } from '@ptsecurity/mosaic/select';
3
+ import { McSelect } from '@ptsecurity/mosaic/select';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class McTimezoneSelectTrigger {
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<McTimezoneSelectTrigger, never>;
@@ -45,14 +45,14 @@
45
45
 
46
46
  @mixin mc-toast-typography($config) {
47
47
  .mc-toast {
48
- @include mc-typography-level-to-styles_css-variables(typography, body);
48
+ @include mc-typography-level-to-styles_css-variables($config, typography, body);
49
49
  }
50
50
 
51
51
  .mc-toast__title {
52
- @include mc-typography-css-variables(toast, title);
52
+ @include mc-typography-css-variables($config, toast, title);
53
53
  }
54
54
 
55
55
  .mc-toast__caption {
56
- @include mc-typography-css-variables(toast, caption);
56
+ @include mc-typography-css-variables($config, toast, caption);
57
57
  }
58
58
  }
@@ -1,15 +1,16 @@
1
1
  import { AnimationEvent } from '@angular/animations';
2
2
  import { Overlay } from '@angular/cdk/overlay';
3
- import { Injector, ComponentRef, TemplateRef, EmbeddedViewRef, InjectionToken } from '@angular/core';
3
+ import { Injector, ComponentRef, TemplateRef, EmbeddedViewRef, InjectionToken, NgZone, OnDestroy } from '@angular/core';
4
4
  import { BehaviorSubject } from 'rxjs';
5
5
  import { McToastComponent } from './toast.component';
6
6
  import { McToastData, McToastConfig } from './toast.type';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare const MC_TOAST_FACTORY: InjectionToken<unknown>;
9
9
  export declare const defaultToastConfig: McToastConfig;
10
- export declare class McToastService<T extends McToastComponent = McToastComponent> {
10
+ export declare class McToastService<T extends McToastComponent = McToastComponent> implements OnDestroy {
11
11
  private overlay;
12
12
  private injector;
13
+ private ngZone;
13
14
  private toastFactory;
14
15
  private toastConfig;
15
16
  get toasts(): ComponentRef<T>[];
@@ -17,12 +18,15 @@ export declare class McToastService<T extends McToastComponent = McToastComponen
17
18
  readonly hovered: BehaviorSubject<boolean>;
18
19
  readonly focused: BehaviorSubject<boolean>;
19
20
  readonly animation: BehaviorSubject<AnimationEvent | null>;
21
+ timer: import("rxjs").Observable<number>;
20
22
  private containerInstance;
21
23
  private overlayRef;
22
24
  private portal;
25
+ private timerSubscription;
23
26
  private toastsDict;
24
27
  private templatesDict;
25
- constructor(overlay: Overlay, injector: Injector, toastFactory: any, toastConfig: McToastConfig);
28
+ constructor(overlay: Overlay, injector: Injector, ngZone: NgZone, toastFactory: any, toastConfig: McToastConfig);
29
+ ngOnDestroy(): void;
26
30
  show(data: McToastData, duration?: number, onTop?: boolean): {
27
31
  ref: ComponentRef<T>;
28
32
  id: number;
@@ -48,6 +52,6 @@ export declare class McToastService<T extends McToastComponent = McToastComponen
48
52
  private getBottomRight;
49
53
  private getCenter;
50
54
  private getGlobalOverlayPosition;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<McToastService<any>, [null, null, null, { optional: true; }]>;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<McToastService<any>, [null, null, null, null, { optional: true; }]>;
52
56
  static ɵprov: i0.ɵɵInjectableDeclaration<McToastService<any>>;
53
57
  }
@@ -75,7 +75,7 @@
75
75
 
76
76
  @mixin mc-toggle-typography($config) {
77
77
  .mc-toggle:not(.mc-toggle_small) {
78
- @include mc-typography-css-variables(toggle, default);
78
+ @include mc-typography-css-variables($config, toggle, default);
79
79
 
80
80
  .mc-toggle-bar-outer-container {
81
81
  height: mc-css-variable(toggle-font-default-line-height);
@@ -83,7 +83,7 @@
83
83
  }
84
84
 
85
85
  .mc-toggle.mc-toggle_small {
86
- @include mc-typography-css-variables(toggle-small, default);
86
+ @include mc-typography-css-variables($config, toggle-small, default);
87
87
 
88
88
  .mc-toggle-bar-outer-container {
89
89
  height: mc-css-variable(toggle-small-font-default-line-height);
@@ -81,16 +81,16 @@
81
81
 
82
82
  @mixin mc-tooltip-typography($config) {
83
83
  .mc-tooltip {
84
- @include mc-typography-css-variables(tooltip, default);
84
+ @include mc-typography-css-variables($config, tooltip, default);
85
85
  }
86
86
 
87
87
  .mc-tooltip_extended {
88
88
  & .mc-tooltip__content {
89
- @include mc-typography-css-variables(extended-tooltip, default);
89
+ @include mc-typography-css-variables($config, extended-tooltip, default);
90
90
  }
91
91
 
92
92
  & .mc-tooltip__header {
93
- @include mc-typography-css-variables(extended-tooltip-header, default);
93
+ @include mc-typography-css-variables($config, extended-tooltip-header, default);
94
94
  }
95
95
  }
96
96
  }
@@ -63,6 +63,6 @@
63
63
 
64
64
  @mixin mc-tree-typography($config) {
65
65
  .mc-tree-option {
66
- @include mc-typography-css-variables(tree, node);
66
+ @include mc-typography-css-variables($config, tree, node);
67
67
  }
68
68
  }
@@ -42,6 +42,6 @@
42
42
  @mixin mc-tree-select-typography($config) {
43
43
  .mc-tree-select,
44
44
  .mc-tree-select__panel {
45
- @include mc-typography-css-variables(select-panel, default);
45
+ @include mc-typography-css-variables($config, select-panel, default);
46
46
  }
47
47
  }
@@ -3,9 +3,8 @@ import { SelectionModel } from '@angular/cdk/collections';
3
3
  import { CdkConnectedOverlay, ConnectedPosition, ViewportRuler } from '@angular/cdk/overlay';
4
4
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges } from '@angular/core';
5
5
  import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
6
- import { CanDisable, CanUpdateErrorState, ErrorStateMatcher, HasTabIndex, CanDisableCtor, HasTabIndexCtor, CanUpdateErrorStateCtor } from '@ptsecurity/mosaic/core';
6
+ import { CanDisable, CanUpdateErrorState, ErrorStateMatcher, HasTabIndex, CanDisableCtor, HasTabIndexCtor, CanUpdateErrorStateCtor, McSelectSearch } from '@ptsecurity/mosaic/core';
7
7
  import { McCleaner, McFormField, McFormFieldControl } from '@ptsecurity/mosaic/form-field';
8
- import { McSelectSearch } from '@ptsecurity/mosaic/select';
9
8
  import { McTag } from '@ptsecurity/mosaic/tags';
10
9
  import { McTreeSelection, McTreeOption } from '@ptsecurity/mosaic/tree';
11
10
  import { Observable, Subject } from 'rxjs';