@ptsecurity/mosaic 15.3.0 → 15.3.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/_theming.scss +1 -0
- package/esm2020/core/version.mjs +2 -2
- package/esm2020/form-field/form-field.mjs +2 -2
- package/esm2020/markdown/markdown.component.mjs +2 -2
- package/esm2020/select/select.component.mjs +4 -3
- package/esm2020/tabs/tab-body.component.mjs +4 -3
- package/esm2020/tabs/tabs.module.mjs +5 -1
- package/esm2020/timezone/timezone-select.component.mjs +2 -2
- package/esm2020/title/title.module.mjs +4 -7
- package/fesm2015/ptsecurity-mosaic-core.mjs +1 -1
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-markdown.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-markdown.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.mjs +3 -2
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tabs.mjs +7 -3
- package/fesm2015/ptsecurity-mosaic-tabs.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-title.mjs +4 -7
- package/fesm2015/ptsecurity-mosaic-title.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-markdown.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-markdown.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-select.mjs +3 -2
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tabs.mjs +7 -3
- package/fesm2020/ptsecurity-mosaic-tabs.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-title.mjs +4 -7
- package/fesm2020/ptsecurity-mosaic-title.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +1 -0
- package/input/input.scss +5 -0
- package/markdown/markdown.scss +13 -7
- package/package.json +5 -5
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/select/select.scss +38 -27
- package/tabs/tabs.module.d.ts +5 -4
- package/title/title.module.d.ts +2 -5
@@ -2,6 +2,8 @@ import * as i1$2 from '@angular/cdk/a11y';
|
|
2
2
|
import { FocusKeyManager, A11yModule } from '@angular/cdk/a11y';
|
3
3
|
import * as i2$1 from '@angular/cdk/portal';
|
4
4
|
import { CdkPortalOutlet, CdkPortal, TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
5
|
+
import * as i1 from '@angular/cdk/scrolling';
|
6
|
+
import { CdkScrollableModule } from '@angular/cdk/scrolling';
|
5
7
|
import * as i1$1 from '@angular/common';
|
6
8
|
import { CommonModule } from '@angular/common';
|
7
9
|
import * as i0 from '@angular/core';
|
@@ -21,7 +23,6 @@ import { hasModifierKey, ENTER, SPACE } from '@angular/cdk/keycodes';
|
|
21
23
|
import * as i2 from '@angular/cdk/platform';
|
22
24
|
import { normalizePassiveListenerOptions } from '@angular/cdk/platform';
|
23
25
|
import { HOME, END, UP_ARROW, DOWN_ARROW, RIGHT_ARROW, LEFT_ARROW } from '@ptsecurity/cdk/keycodes';
|
24
|
-
import * as i1 from '@angular/cdk/scrolling';
|
25
26
|
|
26
27
|
const mcTabsAnimations = {
|
27
28
|
/** Animation translates a tab along the X axis. */
|
@@ -142,12 +143,12 @@ class McTabBody {
|
|
142
143
|
}
|
143
144
|
}
|
144
145
|
/** @nocollapse */ McTabBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: McTabBody, deps: [{ token: i0.ElementRef }, { token: i3.Directionality, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
145
|
-
/** @nocollapse */ McTabBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: McTabBody, selector: "mc-tab-body", inputs: { position: "position", content: "content", origin: "origin", animationDuration: "animationDuration" }, outputs: { onCentering: "onCentering", beforeCentering: "beforeCentering", afterLeavingCenter: "afterLeavingCenter", onCentered: "onCentered" }, host: { classAttribute: "mc-tab-body" }, viewQueries: [{ propertyName: "portalHost", first: true, predicate: CdkPortalOutlet, descendants: true }], ngImport: i0, template: "<div class=\"mc-tab-body__content\"\n #content\n [@translateTab]=\"{\n value: bodyPosition,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"onTranslateTabStarted($event)\"\n (@translateTab.done)=\"onTranslateTabComplete($event)\">\n <ng-template mcTabBodyHost></ng-template>\n</div>\n", styles: [".mc-tab-body__content{height:100%;overflow:auto}.mc-tab-body__content .mc-tab-group_dynamic-height{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return McTabBodyPortal; }), selector: "[mcTabBodyHost]" }], animations: [mcTabsAnimations.translateTab], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
146
|
+
/** @nocollapse */ McTabBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: McTabBody, selector: "mc-tab-body", inputs: { position: "position", content: "content", origin: "origin", animationDuration: "animationDuration" }, outputs: { onCentering: "onCentering", beforeCentering: "beforeCentering", afterLeavingCenter: "afterLeavingCenter", onCentered: "onCentered" }, host: { classAttribute: "mc-tab-body" }, viewQueries: [{ propertyName: "portalHost", first: true, predicate: CdkPortalOutlet, descendants: true }], ngImport: i0, template: "<div class=\"mc-tab-body__content\"\n #content\n [@translateTab]=\"{\n value: bodyPosition,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"onTranslateTabStarted($event)\"\n (@translateTab.done)=\"onTranslateTabComplete($event)\"\n cdk-scrollable>\n <ng-template mcTabBodyHost></ng-template>\n</div>\n", styles: [".mc-tab-body__content{height:100%;overflow:auto}.mc-tab-body__content .mc-tab-group_dynamic-height{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i1.CdkScrollable; }), selector: "[cdk-scrollable], [cdkScrollable]" }, { kind: "directive", type: i0.forwardRef(function () { return McTabBodyPortal; }), selector: "[mcTabBodyHost]" }], animations: [mcTabsAnimations.translateTab], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
146
147
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: McTabBody, decorators: [{
|
147
148
|
type: Component,
|
148
149
|
args: [{ selector: 'mc-tab-body', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [mcTabsAnimations.translateTab], host: {
|
149
150
|
class: 'mc-tab-body'
|
150
|
-
}, template: "<div class=\"mc-tab-body__content\"\n #content\n [@translateTab]=\"{\n value: bodyPosition,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"onTranslateTabStarted($event)\"\n (@translateTab.done)=\"onTranslateTabComplete($event)\">\n <ng-template mcTabBodyHost></ng-template>\n</div>\n", styles: [".mc-tab-body__content{height:100%;overflow:auto}.mc-tab-body__content .mc-tab-group_dynamic-height{overflow:hidden}\n"] }]
|
151
|
+
}, template: "<div class=\"mc-tab-body__content\"\n #content\n [@translateTab]=\"{\n value: bodyPosition,\n params: {animationDuration: animationDuration}\n }\"\n (@translateTab.start)=\"onTranslateTabStarted($event)\"\n (@translateTab.done)=\"onTranslateTabComplete($event)\"\n cdk-scrollable>\n <ng-template mcTabBodyHost></ng-template>\n</div>\n", styles: [".mc-tab-body__content{height:100%;overflow:auto}.mc-tab-body__content .mc-tab-group_dynamic-height{overflow:hidden}\n"] }]
|
151
152
|
}], ctorParameters: function () {
|
152
153
|
return [{ type: i0.ElementRef }, { type: i3.Directionality, decorators: [{
|
153
154
|
type: Optional
|
@@ -1436,6 +1437,7 @@ class McTabsModule {
|
|
1436
1437
|
McVerticalTabsCssStyler], imports: [CommonModule,
|
1437
1438
|
PortalModule,
|
1438
1439
|
A11yModule,
|
1440
|
+
CdkScrollableModule,
|
1439
1441
|
McCommonModule,
|
1440
1442
|
McIconModule,
|
1441
1443
|
McToolTipModule], exports: [McCommonModule,
|
@@ -1453,6 +1455,7 @@ class McTabsModule {
|
|
1453
1455
|
/** @nocollapse */ McTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: McTabsModule, imports: [CommonModule,
|
1454
1456
|
PortalModule,
|
1455
1457
|
A11yModule,
|
1458
|
+
CdkScrollableModule,
|
1456
1459
|
McCommonModule,
|
1457
1460
|
McIconModule,
|
1458
1461
|
McToolTipModule, McCommonModule] });
|
@@ -1463,6 +1466,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
1463
1466
|
CommonModule,
|
1464
1467
|
PortalModule,
|
1465
1468
|
A11yModule,
|
1469
|
+
CdkScrollableModule,
|
1466
1470
|
McCommonModule,
|
1467
1471
|
McIconModule,
|
1468
1472
|
McToolTipModule
|