@taiga-ui/addon-doc 3.63.0 → 3.64.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/bundles/taiga-ui-addon-doc-components.umd.js +3 -7
- package/bundles/taiga-ui-addon-doc-components.umd.js.map +1 -1
- package/components/internal/header/header.component.d.ts +1 -3
- package/esm2015/components/internal/header/header.component.js +6 -10
- package/fesm2015/taiga-ui-addon-doc-components.js +4 -8
- package/fesm2015/taiga-ui-addon-doc-components.js.map +1 -1
- package/package.json +5 -5
|
@@ -1828,14 +1828,13 @@
|
|
|
1828
1828
|
}], filterItems: [], flattenSubPages: [] } });
|
|
1829
1829
|
|
|
1830
1830
|
var TuiDocHeaderComponent = /** @class */ (function () {
|
|
1831
|
-
function TuiDocHeaderComponent(icons, logo, menu, router
|
|
1831
|
+
function TuiDocHeaderComponent(icons, logo, menu, router) {
|
|
1832
1832
|
this.icons = icons;
|
|
1833
1833
|
this.logo = logo;
|
|
1834
1834
|
this.menu = menu;
|
|
1835
1835
|
this.router = router;
|
|
1836
|
-
this.swipes$ = swipes$;
|
|
1837
1836
|
this.stream$ = new i10.Subject();
|
|
1838
|
-
this.open$ = i10.merge(this.router.events.pipe(operators.map(i6.ALWAYS_FALSE_HANDLER)), this.stream
|
|
1837
|
+
this.open$ = i10.merge(this.router.events.pipe(operators.map(i6.ALWAYS_FALSE_HANDLER)), this.stream$).pipe(operators.startWith(false), operators.distinctUntilChanged());
|
|
1839
1838
|
}
|
|
1840
1839
|
TuiDocHeaderComponent.prototype.onClick = function () {
|
|
1841
1840
|
this.stream$.next(true);
|
|
@@ -1847,7 +1846,7 @@
|
|
|
1847
1846
|
};
|
|
1848
1847
|
return TuiDocHeaderComponent;
|
|
1849
1848
|
}());
|
|
1850
|
-
TuiDocHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocHeaderComponent, deps: [{ token: tokens.TUI_DOC_ICONS }, { token: tokens.TUI_DOC_LOGO }, { token: tokens.TUI_DOC_MENU_TEXT }, { token: i6$1.Router }
|
|
1849
|
+
TuiDocHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocHeaderComponent, deps: [{ token: tokens.TUI_DOC_ICONS }, { token: tokens.TUI_DOC_LOGO }, { token: tokens.TUI_DOC_MENU_TEXT }, { token: i6$1.Router }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1851
1850
|
TuiDocHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiDocHeaderComponent, selector: "header[tuiDocHeader]", ngImport: i0__namespace, template: "<button\n appearance=\"icon\"\n tuiIconButton\n type=\"button\"\n class=\"t-menu\"\n [icon]=\"icons.menu\"\n [title]=\"menu\"\n (click)=\"onClick()\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-doc-navigation\n *tuiSidebar=\"!!(open$ | async)\"\n class=\"t-navigation\"\n ></tui-doc-navigation>\n</button>\n<div class=\"t-logo\">\n <img\n *polymorpheusOutlet=\"logo as src\"\n alt=\"Logo\"\n class=\"t-img\"\n [src]=\"src\"\n />\n</div>\n<ng-content></ng-content>\n", styles: [":host{position:fixed;top:0;left:0;right:0;z-index:1;display:flex;box-shadow:var(--tui-shadow-navigation);height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-base-01);border-bottom:1px solid var(--tui-base-03)}@supports (background: color-mix(in srgb,var(--tui-base-01),transparent 50%)){:host{background:color-mix(in srgb,var(--tui-base-01),transparent 50%);-webkit-backdrop-filter:blur(1.25rem);backdrop-filter:blur(1.25rem)}}.t-logo{margin-right:auto;font:var(--tui-font-heading-5)}.t-img{display:block}.t-menu{margin-left:-1.25rem}@media screen and (min-width: 48em){.t-menu{display:none}}.t-navigation{min-height:100%}\n"], components: [{ type: i2__namespace.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }, { type: TuiDocNavigationComponent, selector: "tui-doc-navigation" }], directives: [{ type: i6__namespace$1.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i4__namespace$2.TuiSidebarDirective, selector: "[tuiSidebar]", inputs: ["tuiSidebarDirection", "tuiSidebarAutoWidth", "tuiSidebar"] }, { type: i5__namespace$1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i4__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1852
1851
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocHeaderComponent, decorators: [{
|
|
1853
1852
|
type: i0.Component,
|
|
@@ -1870,9 +1869,6 @@
|
|
|
1870
1869
|
}] }, { type: i6__namespace.Router, decorators: [{
|
|
1871
1870
|
type: i0.Inject,
|
|
1872
1871
|
args: [i6$1.Router]
|
|
1873
|
-
}] }, { type: i6__namespace$1.TuiSwipeService, decorators: [{
|
|
1874
|
-
type: i0.Inject,
|
|
1875
|
-
args: [i6.TuiSwipeService]
|
|
1876
1872
|
}] }];
|
|
1877
1873
|
} });
|
|
1878
1874
|
|