@ptsecurity/mosaic 15.8.0 → 15.8.1
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 +3 -3
- package/checkbox/_checkbox-theme.scss +1 -1
- package/core/pop-up/pop-up.d.ts +6 -0
- package/core/styles/_variables.scss +1 -1
- package/esm2020/core/pop-up/pop-up-trigger.mjs +2 -2
- package/esm2020/core/pop-up/pop-up.mjs +7 -1
- package/esm2020/core/version.mjs +2 -2
- package/esm2020/form-field/form-field.mjs +7 -1
- package/esm2020/icon/icon.component.mjs +11 -3
- package/esm2020/loader-overlay/loader-overlay.component.mjs +2 -2
- package/esm2020/navbar/navbar-item.component.mjs +15 -8
- package/esm2020/navbar/navbar.component.mjs +18 -8
- package/esm2020/navbar/vertical-navbar.component.mjs +3 -3
- package/esm2020/popover/popover.component.mjs +6 -1
- package/esm2020/tree/tree-option.component.mjs +4 -1
- package/fesm2015/ptsecurity-mosaic-core.mjs +8 -2
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +6 -0
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-icon.mjs +11 -2
- package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-navbar.mjs +33 -16
- package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-popover.mjs +5 -0
- package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree.mjs +3 -0
- package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs +8 -2
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +6 -0
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -2
- package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-navbar.mjs +33 -16
- package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-popover.mjs +5 -0
- package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree.mjs +3 -0
- package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/form-field/form-field.d.ts +2 -0
- package/icon/icon.component.d.ts +2 -0
- package/navbar/_navbar-theme.scss +2 -2
- package/navbar/navbar-item.component.d.ts +4 -1
- package/navbar/navbar-item.scss +6 -2
- package/navbar/navbar.component.d.ts +3 -0
- package/package.json +5 -5
- package/popover/popover.component.d.ts +5 -0
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
@@ -1975,6 +1975,12 @@ class McPopUp {
|
|
1975
1975
|
this.markForCheck();
|
1976
1976
|
}, delay);
|
1977
1977
|
}
|
1978
|
+
/**
|
1979
|
+
* Hides the popup after a specified delay.
|
1980
|
+
* The hide timeout triggers the hiding of the popup by updating visibility and emitting relevant events.
|
1981
|
+
* Also, it marks for check to ensure proper change detection, especially for parent components with OnPush strategy.
|
1982
|
+
* @param delay - The delay in milliseconds before hiding the popup.
|
1983
|
+
*/
|
1978
1984
|
hide(delay) {
|
1979
1985
|
if (this.showTimeoutId) {
|
1980
1986
|
clearTimeout(this.showTimeoutId);
|
@@ -2159,7 +2165,7 @@ class McPopUpTrigger {
|
|
2159
2165
|
}
|
2160
2166
|
hide(delay = this.leaveDelay) {
|
2161
2167
|
if (this.instance) {
|
2162
|
-
this.instance.hide(delay);
|
2168
|
+
this.ngZone.run(() => this.instance.hide(delay));
|
2163
2169
|
}
|
2164
2170
|
}
|
2165
2171
|
/** Create the overlay config and position strategy */
|
@@ -2472,7 +2478,7 @@ const validationTooltipShowDelay = 10;
|
|
2472
2478
|
const validationTooltipHideDelay = 3000;
|
2473
2479
|
const MC_VALIDATION = new InjectionToken('McUseValidation', { factory: () => ({ useValidation: true }) });
|
2474
2480
|
|
2475
|
-
const VERSION = new Version('15.8.
|
2481
|
+
const VERSION = new Version('15.8.1+sha-2fd670b');
|
2476
2482
|
|
2477
2483
|
/**
|
2478
2484
|
* Generated bundle index. Do not edit.
|