@taiga-ui/layout 4.101.0 → 4.103.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/components/app-bar/app-bar-back.component.d.ts +1 -1
- package/components/app-bar/app-bar.component.d.ts +1 -0
- package/components/app-bar/liquid-glass/app-bar-button.directive.d.ts +7 -0
- package/components/dynamic-header/dynamic-header-container.directive.d.ts +6 -4
- package/components/index.d.ts +1 -0
- package/components/progressive-blur/index.d.ts +1 -0
- package/components/progressive-blur/progressive-blur.component.d.ts +9 -0
- package/esm2022/components/app-bar/app-bar-back.component.mjs +6 -4
- package/esm2022/components/app-bar/app-bar.component.mjs +10 -5
- package/esm2022/components/app-bar/app-bar.providers.mjs +7 -4
- package/esm2022/components/app-bar/liquid-glass/app-bar-button.directive.mjs +30 -0
- package/esm2022/components/block-details/block-details.directive.mjs +3 -3
- package/esm2022/components/block-status/block-status.component.mjs +2 -2
- package/esm2022/components/card/collapsed.directive.mjs +3 -3
- package/esm2022/components/card/large.directive.mjs +3 -3
- package/esm2022/components/card/medium.directive.mjs +3 -3
- package/esm2022/components/card/row.directive.mjs +3 -3
- package/esm2022/components/cell/cell.directive.mjs +3 -3
- package/esm2022/components/dynamic-header/dynamic-header-anchor.directive.mjs +12 -2
- package/esm2022/components/dynamic-header/dynamic-header-container.directive.mjs +14 -13
- package/esm2022/components/dynamic-header/dynamic-header.component.mjs +8 -6
- package/esm2022/components/form/form.directive.mjs +3 -3
- package/esm2022/components/header/header.directive.mjs +3 -3
- package/esm2022/components/index.mjs +2 -1
- package/esm2022/components/item-group/item-group.directive.mjs +3 -3
- package/esm2022/components/navigation/aside-item.directive.mjs +1 -1
- package/esm2022/components/navigation/aside.component.mjs +3 -3
- package/esm2022/components/navigation/header.component.mjs +3 -3
- package/esm2022/components/navigation/logo.component.mjs +2 -2
- package/esm2022/components/navigation/main.component.mjs +2 -2
- package/esm2022/components/navigation/nav.component.mjs +3 -3
- package/esm2022/components/navigation/subheader.component.mjs +6 -6
- package/esm2022/components/progressive-blur/index.mjs +2 -0
- package/esm2022/components/progressive-blur/progressive-blur.component.mjs +29 -0
- package/esm2022/components/progressive-blur/taiga-ui-layout-components-progressive-blur.mjs +5 -0
- package/esm2022/components/search/search.component.mjs +3 -3
- package/esm2022/directives/list/list.directive.mjs +3 -3
- package/fesm2022/taiga-ui-layout-components-app-bar.mjs +43 -13
- package/fesm2022/taiga-ui-layout-components-app-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-block-details.mjs +3 -3
- package/fesm2022/taiga-ui-layout-components-block-status.mjs +2 -2
- package/fesm2022/taiga-ui-layout-components-card.mjs +12 -12
- package/fesm2022/taiga-ui-layout-components-cell.mjs +3 -3
- package/fesm2022/taiga-ui-layout-components-dynamic-header.mjs +59 -45
- package/fesm2022/taiga-ui-layout-components-dynamic-header.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-form.mjs +3 -3
- package/fesm2022/taiga-ui-layout-components-header.mjs +3 -3
- package/fesm2022/taiga-ui-layout-components-item-group.mjs +3 -3
- package/fesm2022/taiga-ui-layout-components-navigation.mjs +20 -20
- package/fesm2022/taiga-ui-layout-components-progressive-blur.mjs +35 -0
- package/fesm2022/taiga-ui-layout-components-progressive-blur.mjs.map +1 -0
- package/fesm2022/taiga-ui-layout-components-search.mjs +3 -3
- package/fesm2022/taiga-ui-layout-components.mjs +1 -0
- package/fesm2022/taiga-ui-layout-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-directives-list.mjs +3 -3
- package/fesm2022/taiga-ui-layout-directives-list.mjs.map +1 -1
- package/package.json +16 -10
|
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
import * as i1 from "@taiga-ui/core/directives/appearance";
|
|
4
4
|
export declare class TuiAppBarBack implements TuiAppearanceOptions {
|
|
5
5
|
protected readonly icons: import("@taiga-ui/core/tokens").TuiSpinIcons;
|
|
6
|
-
readonly appearance
|
|
6
|
+
readonly appearance: string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAppBarBack, never>;
|
|
8
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAppBarBack, "button[tuiAppBarBack], a[tuiAppBarBack]", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
|
|
9
9
|
}
|
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TuiAppBarComponent implements AfterViewInit {
|
|
5
5
|
private readonly side;
|
|
6
6
|
private readonly el;
|
|
7
|
+
protected readonly liquidGlass: boolean;
|
|
7
8
|
protected readonly width$: import("rxjs").Observable<number>;
|
|
8
9
|
size: TuiSizeL;
|
|
9
10
|
ngAfterViewInit(): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
3
|
+
export declare class TuiAppBarButton {
|
|
4
|
+
protected readonly nothing: undefined;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAppBarButton, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAppBarButton, "[tuiAppBarButton]", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
|
|
7
|
+
}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { TuiDynamicHeaderAnchorDirective } from './dynamic-header-anchor.directive';
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
|
+
import { type TuiDynamicHeaderAnchorDirective } from './dynamic-header-anchor.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@ng-web-apis/intersection-observer";
|
|
5
5
|
export declare class TuiDynamicHeaderContainerDirective {
|
|
6
6
|
private readonly el;
|
|
7
|
-
|
|
7
|
+
private readonly headers;
|
|
8
8
|
hiddenHeaders: import("@angular/core").WritableSignal<TemplateRef<unknown>[]>;
|
|
9
9
|
scrollDir: import("@angular/core").Signal<1 | -1 | undefined>;
|
|
10
|
+
register(anchor: TuiDynamicHeaderAnchorDirective): void;
|
|
11
|
+
unregister(anchor: TuiDynamicHeaderAnchorDirective): void;
|
|
10
12
|
update(): void;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDynamicHeaderContainerDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDynamicHeaderContainerDirective, "[tuiDynamicHeaderContainer]", never, {}, {},
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDynamicHeaderContainerDirective, "[tuiDynamicHeaderContainer]", never, {}, {}, never, never, true, [{ directive: typeof i1.WaIntersectionRoot; inputs: {}; outputs: {}; }, { directive: typeof i1.WaIntersectionObserverDirective; inputs: {}; outputs: {}; }]>;
|
|
13
15
|
}
|
package/components/index.d.ts
CHANGED
|
@@ -9,4 +9,5 @@ export * from '@taiga-ui/layout/components/header';
|
|
|
9
9
|
export * from '@taiga-ui/layout/components/input-search';
|
|
10
10
|
export * from '@taiga-ui/layout/components/item-group';
|
|
11
11
|
export * from '@taiga-ui/layout/components/navigation';
|
|
12
|
+
export * from '@taiga-ui/layout/components/progressive-blur';
|
|
12
13
|
export * from '@taiga-ui/layout/components/search';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './progressive-blur.component';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare class TuiProgressiveBlur {
|
|
6
|
+
protected readonly steps: number[];
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiProgressiveBlur, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiProgressiveBlur, "tui-progressive-blur", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
|
2
|
+
import { TUI_PLATFORM } from '@taiga-ui/cdk/tokens';
|
|
2
3
|
import { TuiIcon } from '@taiga-ui/core/components/icon';
|
|
3
4
|
import { tuiAppearanceOptionsProvider, TuiWithAppearance, } from '@taiga-ui/core/directives/appearance';
|
|
4
5
|
import { TUI_SPIN_ICONS } from '@taiga-ui/core/tokens';
|
|
6
|
+
import { TUI_LIQUID_GLASS } from '@taiga-ui/core/utils/miscellaneous';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
import * as i1 from "@taiga-ui/core/directives/appearance";
|
|
7
9
|
class TuiAppBarBack {
|
|
8
10
|
constructor() {
|
|
9
11
|
this.icons = inject(TUI_SPIN_ICONS);
|
|
10
|
-
this.appearance = 'link';
|
|
12
|
+
this.appearance = inject(TUI_LIQUID_GLASS) && inject(TUI_PLATFORM) === 'ios' ? '' : 'link';
|
|
11
13
|
}
|
|
12
14
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarBack, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAppBarBack, isStandalone: true, selector: "button[tuiAppBarBack], a[tuiAppBarBack]", providers: [tuiAppearanceOptionsProvider(TuiAppBarBack)], hostDirectives: [{ directive: i1.TuiWithAppearance }], ngImport: i0, template: "<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-ios\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-android\"\n>\n <path\n d=\"M19.6999 11.5899C19.6999 11.0377 19.2522 10.5899 18.6999 10.5899H7.49992L12.3999 5.68995C12.7865 5.30335 12.7865 4.67655 12.3999 4.28995V4.28995C12.0133 3.90335 11.3865 3.90335 10.9999 4.28995L4.40703 10.8828C4.0165 11.2734 4.01651 11.9065 4.40703 12.2971L10.9999 18.89C11.3865 19.2765 12.0133 19.2765 12.3999 18.8899V18.8899C12.7865 18.5034 12.7865 17.8765 12.3999 17.49L7.49992 12.5899H18.6999C19.2522 12.5899 19.6999 12.1422 19.6999 11.5899V11.5899Z\"\n fill=\"currentColor\"\n />\n</svg>\n<tui-icon\n class=\"t-web\"\n [icon]=\"icons.decrement\"\n/>\n<ng-content />\n", styles: [":host{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;display:flex;align-items:center;padding:0 1rem 0 0;cursor:pointer}:host :host-context([data-platform=\"web\"] tui-dialog){padding:0 .5rem}:host :host-context([data-platform=\"android\"]){font-size:0;padding:0 1rem}:host :host-context([data-platform=\"android\"]) .t-android{display:block}:host :host-context([data-platform=\"android\"]) .t-web{display:none}:host :host-context([data-platform=\"ios\"]) .t-ios{display:block;margin-inline-start:.5rem}:host :host-context([data-platform=\"ios\"]) .t-web{display:none}.t-web{transform:scaleX(var(--tui-inline))}.t-android,.t-ios{display:none}\n"], dependencies: [{ kind: "component", type: TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAppBarBack, isStandalone: true, selector: "button[tuiAppBarBack], a[tuiAppBarBack]", providers: [tuiAppearanceOptionsProvider(TuiAppBarBack)], hostDirectives: [{ directive: i1.TuiWithAppearance }], ngImport: i0, template: "<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-ios\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-android\"\n>\n <path\n d=\"M19.6999 11.5899C19.6999 11.0377 19.2522 10.5899 18.6999 10.5899H7.49992L12.3999 5.68995C12.7865 5.30335 12.7865 4.67655 12.3999 4.28995V4.28995C12.0133 3.90335 11.3865 3.90335 10.9999 4.28995L4.40703 10.8828C4.0165 11.2734 4.01651 11.9065 4.40703 12.2971L10.9999 18.89C11.3865 19.2765 12.0133 19.2765 12.3999 18.8899V18.8899C12.7865 18.5034 12.7865 17.8765 12.3999 17.49L7.49992 12.5899H18.6999C19.2522 12.5899 19.6999 12.1422 19.6999 11.5899V11.5899Z\"\n fill=\"currentColor\"\n />\n</svg>\n<tui-icon\n class=\"t-web\"\n [icon]=\"icons.decrement\"\n/>\n<ng-content />\n", styles: [":host{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;display:flex;align-items:center;padding:0 1rem 0 0;cursor:pointer}:host :host-context([data-platform=\"web\"] tui-dialog){padding:0 .5rem}:host :host-context([data-platform=\"android\"]){font-size:0;padding:0 1rem}:host :host-context([data-platform=\"android\"]) .t-android{display:block}:host :host-context([data-platform=\"android\"]) .t-web{display:none}:host :host-context([data-platform=\"ios\"]) .t-ios{display:block;margin-inline-start:.5rem}:host :host-context([data-platform=\"ios\"]) .t-web{display:none}:host-context([data-platform=\"ios\"].tui-liquid-glass) :host :host-context([data-platform=\"ios\"]){display:flex;font-size:0;block-size:2.75rem;inline-size:2.75rem;padding:0;justify-content:center}:host-context([data-platform=\"ios\"].tui-liquid-glass) :host :host-context([data-platform=\"ios\"]) .t-ios{margin-inline-start:0}.t-web{transform:scaleX(var(--tui-inline))}.t-android,.t-ios{display:none}\n"], dependencies: [{ kind: "component", type: TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14
16
|
}
|
|
15
17
|
export { TuiAppBarBack };
|
|
16
18
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarBack, decorators: [{
|
|
17
19
|
type: Component,
|
|
18
|
-
args: [{ standalone: true, selector: 'button[tuiAppBarBack], a[tuiAppBarBack]', imports: [TuiIcon], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAppearanceOptionsProvider(TuiAppBarBack)], hostDirectives: [TuiWithAppearance], template: "<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-ios\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-android\"\n>\n <path\n d=\"M19.6999 11.5899C19.6999 11.0377 19.2522 10.5899 18.6999 10.5899H7.49992L12.3999 5.68995C12.7865 5.30335 12.7865 4.67655 12.3999 4.28995V4.28995C12.0133 3.90335 11.3865 3.90335 10.9999 4.28995L4.40703 10.8828C4.0165 11.2734 4.01651 11.9065 4.40703 12.2971L10.9999 18.89C11.3865 19.2765 12.0133 19.2765 12.3999 18.8899V18.8899C12.7865 18.5034 12.7865 17.8765 12.3999 17.49L7.49992 12.5899H18.6999C19.2522 12.5899 19.6999 12.1422 19.6999 11.5899V11.5899Z\"\n fill=\"currentColor\"\n />\n</svg>\n<tui-icon\n class=\"t-web\"\n [icon]=\"icons.decrement\"\n/>\n<ng-content />\n", styles: [":host{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;display:flex;align-items:center;padding:0 1rem 0 0;cursor:pointer}:host :host-context([data-platform=\"web\"] tui-dialog){padding:0 .5rem}:host :host-context([data-platform=\"android\"]){font-size:0;padding:0 1rem}:host :host-context([data-platform=\"android\"]) .t-android{display:block}:host :host-context([data-platform=\"android\"]) .t-web{display:none}:host :host-context([data-platform=\"ios\"]) .t-ios{display:block;margin-inline-start:.5rem}:host :host-context([data-platform=\"ios\"]) .t-web{display:none}.t-web{transform:scaleX(var(--tui-inline))}.t-android,.t-ios{display:none}\n"] }]
|
|
20
|
+
args: [{ standalone: true, selector: 'button[tuiAppBarBack], a[tuiAppBarBack]', imports: [TuiIcon], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAppearanceOptionsProvider(TuiAppBarBack)], hostDirectives: [TuiWithAppearance], template: "<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-ios\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-android\"\n>\n <path\n d=\"M19.6999 11.5899C19.6999 11.0377 19.2522 10.5899 18.6999 10.5899H7.49992L12.3999 5.68995C12.7865 5.30335 12.7865 4.67655 12.3999 4.28995V4.28995C12.0133 3.90335 11.3865 3.90335 10.9999 4.28995L4.40703 10.8828C4.0165 11.2734 4.01651 11.9065 4.40703 12.2971L10.9999 18.89C11.3865 19.2765 12.0133 19.2765 12.3999 18.8899V18.8899C12.7865 18.5034 12.7865 17.8765 12.3999 17.49L7.49992 12.5899H18.6999C19.2522 12.5899 19.6999 12.1422 19.6999 11.5899V11.5899Z\"\n fill=\"currentColor\"\n />\n</svg>\n<tui-icon\n class=\"t-web\"\n [icon]=\"icons.decrement\"\n/>\n<ng-content />\n", styles: [":host{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;display:flex;align-items:center;padding:0 1rem 0 0;cursor:pointer}:host :host-context([data-platform=\"web\"] tui-dialog){padding:0 .5rem}:host :host-context([data-platform=\"android\"]){font-size:0;padding:0 1rem}:host :host-context([data-platform=\"android\"]) .t-android{display:block}:host :host-context([data-platform=\"android\"]) .t-web{display:none}:host :host-context([data-platform=\"ios\"]) .t-ios{display:block;margin-inline-start:.5rem}:host :host-context([data-platform=\"ios\"]) .t-web{display:none}:host-context([data-platform=\"ios\"].tui-liquid-glass) :host :host-context([data-platform=\"ios\"]){display:flex;font-size:0;block-size:2.75rem;inline-size:2.75rem;padding:0;justify-content:center}:host-context([data-platform=\"ios\"].tui-liquid-glass) :host :host-context([data-platform=\"ios\"]) .t-ios{margin-inline-start:0}.t-web{transform:scaleX(var(--tui-inline))}.t-android,.t-ios{display:none}\n"] }]
|
|
19
21
|
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJhci1iYWNrLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xheW91dC9jb21wb25lbnRzL2FwcC1iYXIvYXBwLWJhci1iYWNrLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xheW91dC9jb21wb25lbnRzL2FwcC1iYXIvYXBwLWJhci1iYWNrLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDekUsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLHNCQUFzQixDQUFDO0FBQ2xELE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN2RCxPQUFPLEVBRUgsNEJBQTRCLEVBQzVCLGlCQUFpQixHQUNwQixNQUFNLHNDQUFzQyxDQUFDO0FBQzlDLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUNyRCxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxvQ0FBb0MsQ0FBQzs7O0FBRXBFLE1BVWEsYUFBYTtJQVYxQjtRQVd1QixVQUFLLEdBQUcsTUFBTSxDQUFDLGNBQWMsQ0FBQyxDQUFDO1FBRWxDLGVBQVUsR0FDdEIsTUFBTSxDQUFDLGdCQUFnQixDQUFDLElBQUksTUFBTSxDQUF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4OTlWMTguODg5OUMxMi43ODY1IDE4LjUwMzQgMTIuNzg2NSAxNy44NzY1IDEyLjM5OTkgMTcuNDlMNy40OTk5MiAxMi41ODk5SDE4LjY5OTlDMTkuMjUyMiAxMi41ODk5IDE5LjY5OTkgMTIuMTQyMiAxOS42OTk5IDExLjU4OTlWMTEuNTg5OVpcIlxuICAgICAgICBmaWxsPVwiY3VycmVudENvbG9yXCJcbiAgICAvPlxuPC9zdmc+XG48dHVpLWljb25cbiAgICBjbGFzcz1cInQtd2ViXCJcbiAgICBbaWNvbl09XCJpY29ucy5kZWNyZW1lbnRcIlxuLz5cbjxuZy1jb250ZW50IC8+XG4iXX0=
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
import { AsyncPipe } from '@angular/common';
|
|
1
|
+
import { AsyncPipe, NgIf } from '@angular/common';
|
|
2
2
|
import { ChangeDetectionStrategy, Component, inject, Input, ViewChildren, ViewEncapsulation, } from '@angular/core';
|
|
3
3
|
import { WaMutationObserverService } from '@ng-web-apis/mutation-observer';
|
|
4
4
|
import { WaResizeObserverService } from '@ng-web-apis/resize-observer';
|
|
5
5
|
import { EMPTY_QUERY, TUI_VERSION } from '@taiga-ui/cdk/constants';
|
|
6
6
|
import { tuiZonefull } from '@taiga-ui/cdk/observables';
|
|
7
|
+
import { TUI_PLATFORM } from '@taiga-ui/cdk/tokens';
|
|
7
8
|
import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
|
|
9
|
+
import { TUI_LIQUID_GLASS } from '@taiga-ui/core/utils/miscellaneous';
|
|
8
10
|
import { TuiFade } from '@taiga-ui/kit/directives/fade';
|
|
11
|
+
import { TuiProgressiveBlur } from '@taiga-ui/layout/components/progressive-blur';
|
|
9
12
|
import { map, merge } from 'rxjs';
|
|
10
13
|
import { TUI_APP_BAR_PROVIDERS } from './app-bar.providers';
|
|
14
|
+
import { TuiAppBarButton } from './liquid-glass/app-bar-button.directive';
|
|
11
15
|
import * as i0 from "@angular/core";
|
|
12
16
|
class TuiAppBarComponent {
|
|
13
17
|
constructor() {
|
|
14
18
|
this.side = EMPTY_QUERY;
|
|
15
19
|
this.el = tuiInjectElement();
|
|
20
|
+
this.liquidGlass = inject(TUI_LIQUID_GLASS) && inject(TUI_PLATFORM) === 'ios';
|
|
16
21
|
this.width$ = merge(inject(WaResizeObserverService, { self: true }), inject(WaMutationObserverService, { self: true })).pipe(tuiZonefull(), map(() => 2 *
|
|
17
22
|
Math.max(this.side.first?.nativeElement.clientWidth, this.side.last?.nativeElement.clientWidth)));
|
|
18
23
|
this.size = 'm';
|
|
@@ -22,20 +27,20 @@ class TuiAppBarComponent {
|
|
|
22
27
|
this.el.closest('tui-dialog')?.classList.add('tui-app-bar');
|
|
23
28
|
}
|
|
24
29
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAppBarComponent, isStandalone: true, selector: "tui-app-bar", inputs: { size: "size" }, host: { attributes: { "tuiAppBar": "", "tuiAppBarV": "4.
|
|
30
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAppBarComponent, isStandalone: true, selector: "tui-app-bar", inputs: { size: "size" }, host: { attributes: { "tuiAppBar": "", "tuiAppBarV": "4.103.0" }, properties: { "attr.data-size": "size" } }, providers: TUI_APP_BAR_PROVIDERS, viewQueries: [{ propertyName: "side", predicate: ["side"], descendants: true }], ngImport: i0, template: "<tui-progressive-blur *ngIf=\"liquidGlass\" />\n\n<div #side>\n <div tuiAppBarButton>\n <ng-content select=\"[tuiSlot='left']\" />\n </div>\n</div>\n<div\n tuiFade\n class=\"t-content\"\n [style.--t-sides.px]=\"width$ | async\"\n>\n <ng-content />\n</div>\n<div #side>\n <div tuiAppBarButton>\n <ng-content select=\"[tuiSlot='right']\" />\n </div>\n</div>\n", styles: ["[tuiAppBarV=\"4.103.0\"]{position:relative;display:flex;block-size:2.75rem;align-items:center;justify-content:space-between;box-sizing:border-box;font:var(--tui-font-text-m);font-weight:700;text-align:center;color:var(--tui-text-primary);background:var(--tui-background-base);background:color-mix(in hsl,var(--tui-background-base) 80%,transparent);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem)}[tuiAppBarV=\"4.103.0\"]>.t-content{left:50%;transform:translate(-50%);position:absolute;display:flex;block-size:100%;max-inline-size:calc(100% - var(--t-sides, 0px));inline-size:calc(100% - var(--t-sides, 0px));flex-direction:column;justify-content:center;flex:1;padding:0 .375rem;box-sizing:border-box;text-align:inherit;white-space:nowrap}[tuiAppBarV=\"4.103.0\"]>.t-content progress{margin:auto}[tuiAppBarV=\"4.103.0\"]>:last-child [tuiIconButton]{margin:0 -.375rem}[tuiAppBarV=\"4.103.0\"]>:last-child [tuiIconButton]:last-child{margin-inline-end:0}[tuiAppBarV=\"4.103.0\"]>:last-child [tuiIconButton]:only-child{margin:0}[tuiAppBarV=\"4.103.0\"] [tuiButton][data-size=l]{font:var(--tui-font-text-l);margin:0 -.25rem}[tuiAppBarV=\"4.103.0\"] [tuiTitle]{text-align:inherit;font:inherit}[tuiAppBarV=\"4.103.0\"] [tuiSubtitle]{color:var(--tui-text-secondary)}[tuiAppBarV=\"4.103.0\"][data-size=m] [tuiTitle]{line-height:1.2em;gap:0}[tuiAppBarV=\"4.103.0\"][data-size=l]{block-size:4rem}[tuiAppBarV=\"4.103.0\"][data-size=l]>:first-child,[tuiAppBarV=\"4.103.0\"][data-size=l]>:last-child{margin:0 -1rem}[tuiAppBarV=\"4.103.0\"][data-size=l] [tuiAppBarBack]{font:var(--tui-font-text-l)}[tuiAppBarV=\"4.103.0\"][data-size=l]>:first-child [tuiButton]:before{font-size:1rem}[tuiAppBarV=\"4.103.0\"][data-size=l]>:first-child [tuiIconButton][data-size=xs]{margin-inline-start:.5rem}[tuiAppBarV=\"4.103.0\"] [tuiProgressBar]{inline-size:8.75rem}tui-dialog [tuiAppBarV=\"4.103.0\"][data-size=l]{margin:-3rem 0 2rem}tui-dialog [tuiAppBarV=\"4.103.0\"][data-size=m]{margin:-1rem -1rem .75rem}tui-sheet-dialog [tuiAppBarV=\"4.103.0\"]{margin:-.75rem -1rem;block-size:3.5rem;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}tui-sheet-dialog[data-appearance=fullscreen] [tuiAppBarV=\"4.103.0\"]{margin:0 -1rem}tui-dialog [tuiAppBarV=\"4.103.0\"]{background:var(--tui-background-elevation-1)}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TuiAppBarButton, selector: "[tuiAppBarButton]" }, { kind: "directive", type: TuiFade, selector: "[tuiFade]", inputs: ["tuiFadeHeight", "tuiFadeSize", "tuiFadeOffset", "tuiFade"] }, { kind: "component", type: TuiProgressiveBlur, selector: "tui-progressive-blur" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
26
31
|
}
|
|
27
32
|
export { TuiAppBarComponent };
|
|
28
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarComponent, decorators: [{
|
|
29
34
|
type: Component,
|
|
30
|
-
args: [{ standalone: true, selector: 'tui-app-bar', imports: [AsyncPipe, TuiFade], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: TUI_APP_BAR_PROVIDERS, host: {
|
|
35
|
+
args: [{ standalone: true, selector: 'tui-app-bar', imports: [AsyncPipe, NgIf, TuiAppBarButton, TuiFade, TuiProgressiveBlur], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: TUI_APP_BAR_PROVIDERS, host: {
|
|
31
36
|
tuiAppBar: '',
|
|
32
37
|
tuiAppBarV: TUI_VERSION,
|
|
33
38
|
'[attr.data-size]': 'size',
|
|
34
|
-
}, template: "<div #side>\n <ng-content select=\"[tuiSlot='left']\" />\n</div>\n<div\n tuiFade\n class=\"t-content\"\n [style.--t-sides.px]=\"width$ | async\"\n>\n <ng-content />\n</div>\n<div #side>\n <ng-content select=\"[tuiSlot='right']\" />\n</div>\n", styles: ["[tuiAppBarV=\"4.
|
|
39
|
+
}, template: "<tui-progressive-blur *ngIf=\"liquidGlass\" />\n\n<div #side>\n <div tuiAppBarButton>\n <ng-content select=\"[tuiSlot='left']\" />\n </div>\n</div>\n<div\n tuiFade\n class=\"t-content\"\n [style.--t-sides.px]=\"width$ | async\"\n>\n <ng-content />\n</div>\n<div #side>\n <div tuiAppBarButton>\n <ng-content select=\"[tuiSlot='right']\" />\n </div>\n</div>\n", styles: ["[tuiAppBarV=\"4.103.0\"]{position:relative;display:flex;block-size:2.75rem;align-items:center;justify-content:space-between;box-sizing:border-box;font:var(--tui-font-text-m);font-weight:700;text-align:center;color:var(--tui-text-primary);background:var(--tui-background-base);background:color-mix(in hsl,var(--tui-background-base) 80%,transparent);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem)}[tuiAppBarV=\"4.103.0\"]>.t-content{left:50%;transform:translate(-50%);position:absolute;display:flex;block-size:100%;max-inline-size:calc(100% - var(--t-sides, 0px));inline-size:calc(100% - var(--t-sides, 0px));flex-direction:column;justify-content:center;flex:1;padding:0 .375rem;box-sizing:border-box;text-align:inherit;white-space:nowrap}[tuiAppBarV=\"4.103.0\"]>.t-content progress{margin:auto}[tuiAppBarV=\"4.103.0\"]>:last-child [tuiIconButton]{margin:0 -.375rem}[tuiAppBarV=\"4.103.0\"]>:last-child [tuiIconButton]:last-child{margin-inline-end:0}[tuiAppBarV=\"4.103.0\"]>:last-child [tuiIconButton]:only-child{margin:0}[tuiAppBarV=\"4.103.0\"] [tuiButton][data-size=l]{font:var(--tui-font-text-l);margin:0 -.25rem}[tuiAppBarV=\"4.103.0\"] [tuiTitle]{text-align:inherit;font:inherit}[tuiAppBarV=\"4.103.0\"] [tuiSubtitle]{color:var(--tui-text-secondary)}[tuiAppBarV=\"4.103.0\"][data-size=m] [tuiTitle]{line-height:1.2em;gap:0}[tuiAppBarV=\"4.103.0\"][data-size=l]{block-size:4rem}[tuiAppBarV=\"4.103.0\"][data-size=l]>:first-child,[tuiAppBarV=\"4.103.0\"][data-size=l]>:last-child{margin:0 -1rem}[tuiAppBarV=\"4.103.0\"][data-size=l] [tuiAppBarBack]{font:var(--tui-font-text-l)}[tuiAppBarV=\"4.103.0\"][data-size=l]>:first-child [tuiButton]:before{font-size:1rem}[tuiAppBarV=\"4.103.0\"][data-size=l]>:first-child [tuiIconButton][data-size=xs]{margin-inline-start:.5rem}[tuiAppBarV=\"4.103.0\"] [tuiProgressBar]{inline-size:8.75rem}tui-dialog [tuiAppBarV=\"4.103.0\"][data-size=l]{margin:-3rem 0 2rem}tui-dialog [tuiAppBarV=\"4.103.0\"][data-size=m]{margin:-1rem -1rem .75rem}tui-sheet-dialog [tuiAppBarV=\"4.103.0\"]{margin:-.75rem -1rem;block-size:3.5rem;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}tui-sheet-dialog[data-appearance=fullscreen] [tuiAppBarV=\"4.103.0\"]{margin:0 -1rem}tui-dialog [tuiAppBarV=\"4.103.0\"]{background:var(--tui-background-elevation-1)}\n"] }]
|
|
35
40
|
}], propDecorators: { side: [{
|
|
36
41
|
type: ViewChildren,
|
|
37
42
|
args: ['side']
|
|
38
43
|
}], size: [{
|
|
39
44
|
type: Input
|
|
40
45
|
}] } });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9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NpZGU+XG4gICAgPGRpdiB0dWlBcHBCYXJCdXR0b24+XG4gICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIlt0dWlTbG90PSdyaWdodCddXCIgLz5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { inject } from '@angular/core';
|
|
1
2
|
import { WaMutationObserverService, WA_MUTATION_OBSERVER_INIT, } from '@ng-web-apis/mutation-observer';
|
|
2
3
|
import { WaResizeObserverService } from '@ng-web-apis/resize-observer';
|
|
4
|
+
import { TUI_PLATFORM } from '@taiga-ui/cdk/tokens';
|
|
3
5
|
import { tuiButtonOptionsProvider } from '@taiga-ui/core/components/button';
|
|
6
|
+
import { TUI_LIQUID_GLASS } from '@taiga-ui/core/utils/miscellaneous';
|
|
4
7
|
export const TUI_APP_BAR_PROVIDERS = [
|
|
5
8
|
WaResizeObserverService,
|
|
6
9
|
WaMutationObserverService,
|
|
@@ -12,8 +15,8 @@ export const TUI_APP_BAR_PROVIDERS = [
|
|
|
12
15
|
subtree: true,
|
|
13
16
|
},
|
|
14
17
|
},
|
|
15
|
-
tuiButtonOptionsProvider(
|
|
16
|
-
appearance: '
|
|
17
|
-
|
|
18
|
+
tuiButtonOptionsProvider(() => inject(TUI_LIQUID_GLASS) && inject(TUI_PLATFORM) === 'ios'
|
|
19
|
+
? { appearance: '', size: 'm' }
|
|
20
|
+
: { appearance: 'action' }),
|
|
18
21
|
];
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJhci5wcm92aWRlcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sYXlvdXQvY29tcG9uZW50cy9hcHAtYmFyL2FwcC1iYXIucHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGlu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LFxuXTtcbiJdfQ==
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Directive, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
|
|
3
|
+
import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@taiga-ui/cdk/directives/animated";
|
|
6
|
+
class TuiAppBarButtonStyles {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarButtonStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAppBarButtonStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-app-bar-button" }, ngImport: i0, template: '', isInline: true, styles: ["[data-platform=ios].tui-liquid-glass [tuiAppBarButton]{--t-glass-background: rgba(255, 255, 255, .7);--t-glass-glow: rgba(255, 255, 255, .1);--t-glass-filter: blur(.25rem) saturate(1.3) brightness(1.05);--t-glass-bevel: linear-gradient(319deg, #fff 4%, #fff 19%, rgba(255, 255, 255, .12) 40%, rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .12) 60%, #fff 80%, #fff 96%);--t-glass-bevel-filter: none;border-radius:2.75rem;margin:0 1rem;overflow:hidden;box-sizing:border-box;-webkit-backdrop-filter:var(--t-glass-filter);backdrop-filter:var(--t-glass-filter);background:var(--t-glass-background);box-shadow:0 .5rem 2rem #00000017;color:var(--tui-text-primary);transition:scale var(--tui-duration) var(--tui-curve-expressive-entrance, cubic-bezier(.35, 1.3, .25, 1)),background-color calc(var(--tui-duration) / 2) ease,color calc(var(--tui-duration) / 2) ease,box-shadow calc(var(--tui-duration) / 2) ease,-webkit-backdrop-filter calc(var(--tui-duration) / 2) ease;transition:scale var(--tui-duration) var(--tui-curve-expressive-entrance, cubic-bezier(.35, 1.3, .25, 1)),background-color calc(var(--tui-duration) / 2) ease,color calc(var(--tui-duration) / 2) ease,box-shadow calc(var(--tui-duration) / 2) ease,backdrop-filter calc(var(--tui-duration) / 2) ease;transition:scale var(--tui-duration) var(--tui-curve-expressive-entrance, cubic-bezier(.35, 1.3, .25, 1)),background-color calc(var(--tui-duration) / 2) ease,color calc(var(--tui-duration) / 2) ease,box-shadow calc(var(--tui-duration) / 2) ease,backdrop-filter calc(var(--tui-duration) / 2) ease,-webkit-backdrop-filter calc(var(--tui-duration) / 2) ease}[data-platform=ios].tui-liquid-glass [tuiAppBarButton]:before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;border-radius:inherit;box-shadow:inset 0 0 .5rem var(--t-glass-glow)}[data-platform=ios].tui-liquid-glass [tuiAppBarButton]:after{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;border-radius:inherit;pointer-events:none;padding:1px;background:var(--t-glass-bevel);filter:var(--t-glass-bevel-filter);-webkit-mask-image:linear-gradient(#000 0 0),linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0),linear-gradient(#000 0 0);-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude}[data-platform=ios].tui-liquid-glass [tuiAppBarButton]:active{scale:1.25;filter:brightness(3)}[data-platform=ios].tui-liquid-glass [tuiAppBarButton]>[tuiIconButton]{margin:0}[data-platform=ios].tui-liquid-glass [tuiAppBarButton].tui-enter{--tui-blur: 1rem;animation-name:tuiFade,tuiBlur}[data-platform=ios].tui-liquid-glass [tuiTheme=dark] [tuiAppBarButton],[tuiTheme=dark] [data-platform=ios].tui-liquid-glass [tuiAppBarButton],[data-platform=ios][tuiTheme=dark].tui-liquid-glass [tuiAppBarButton]{--t-glass-background: rgba(255, 255, 255, .1);--t-glass-glow: rgba(31, 31, 31, .08);--t-glass-bevel: linear-gradient(319deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .12) 19%, rgba(255, 255, 255, .04) 40%, rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .04) 60%, rgba(255, 255, 255, .12) 80%, rgba(255, 255, 255, .2) 96%);--t-glass-bevel-filter: brightness(.6)}[data-platform=ios].tui-liquid-glass tui-app-bar[tuiTheme=dark] [tuiAppBarButton]{--t-glass-bevel: linear-gradient(319deg, #fff 4%, #fff 19%, rgba(255, 255, 255, .12) 40%, rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .12) 60%, #fff 80%, #fff 96%)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarButtonStyles, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-app-bar-button' }, styles: ["[data-platform=ios].tui-liquid-glass [tuiAppBarButton]{--t-glass-background: rgba(255, 255, 255, .7);--t-glass-glow: rgba(255, 255, 255, .1);--t-glass-filter: blur(.25rem) saturate(1.3) brightness(1.05);--t-glass-bevel: linear-gradient(319deg, #fff 4%, #fff 19%, rgba(255, 255, 255, .12) 40%, rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .12) 60%, #fff 80%, #fff 96%);--t-glass-bevel-filter: none;border-radius:2.75rem;margin:0 1rem;overflow:hidden;box-sizing:border-box;-webkit-backdrop-filter:var(--t-glass-filter);backdrop-filter:var(--t-glass-filter);background:var(--t-glass-background);box-shadow:0 .5rem 2rem #00000017;color:var(--tui-text-primary);transition:scale var(--tui-duration) var(--tui-curve-expressive-entrance, cubic-bezier(.35, 1.3, .25, 1)),background-color calc(var(--tui-duration) / 2) ease,color calc(var(--tui-duration) / 2) ease,box-shadow calc(var(--tui-duration) / 2) ease,-webkit-backdrop-filter calc(var(--tui-duration) / 2) ease;transition:scale var(--tui-duration) var(--tui-curve-expressive-entrance, cubic-bezier(.35, 1.3, .25, 1)),background-color calc(var(--tui-duration) / 2) ease,color calc(var(--tui-duration) / 2) ease,box-shadow calc(var(--tui-duration) / 2) ease,backdrop-filter calc(var(--tui-duration) / 2) ease;transition:scale var(--tui-duration) var(--tui-curve-expressive-entrance, cubic-bezier(.35, 1.3, .25, 1)),background-color calc(var(--tui-duration) / 2) ease,color calc(var(--tui-duration) / 2) ease,box-shadow calc(var(--tui-duration) / 2) ease,backdrop-filter calc(var(--tui-duration) / 2) ease,-webkit-backdrop-filter calc(var(--tui-duration) / 2) ease}[data-platform=ios].tui-liquid-glass [tuiAppBarButton]:before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;border-radius:inherit;box-shadow:inset 0 0 .5rem var(--t-glass-glow)}[data-platform=ios].tui-liquid-glass [tuiAppBarButton]:after{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;border-radius:inherit;pointer-events:none;padding:1px;background:var(--t-glass-bevel);filter:var(--t-glass-bevel-filter);-webkit-mask-image:linear-gradient(#000 0 0),linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0),linear-gradient(#000 0 0);-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude}[data-platform=ios].tui-liquid-glass [tuiAppBarButton]:active{scale:1.25;filter:brightness(3)}[data-platform=ios].tui-liquid-glass [tuiAppBarButton]>[tuiIconButton]{margin:0}[data-platform=ios].tui-liquid-glass [tuiAppBarButton].tui-enter{--tui-blur: 1rem;animation-name:tuiFade,tuiBlur}[data-platform=ios].tui-liquid-glass [tuiTheme=dark] [tuiAppBarButton],[tuiTheme=dark] [data-platform=ios].tui-liquid-glass [tuiAppBarButton],[data-platform=ios][tuiTheme=dark].tui-liquid-glass [tuiAppBarButton]{--t-glass-background: rgba(255, 255, 255, .1);--t-glass-glow: rgba(31, 31, 31, .08);--t-glass-bevel: linear-gradient(319deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .12) 19%, rgba(255, 255, 255, .04) 40%, rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .04) 60%, rgba(255, 255, 255, .12) 80%, rgba(255, 255, 255, .2) 96%);--t-glass-bevel-filter: brightness(.6)}[data-platform=ios].tui-liquid-glass tui-app-bar[tuiTheme=dark] [tuiAppBarButton]{--t-glass-bevel: linear-gradient(319deg, #fff 4%, #fff 19%, rgba(255, 255, 255, .12) 40%, rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .12) 60%, #fff 80%, #fff 96%)}\n"] }]
|
|
13
|
+
}] });
|
|
14
|
+
class TuiAppBarButton {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.nothing = tuiWithStyles(TuiAppBarButtonStyles);
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarButton, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
19
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiAppBarButton, isStandalone: true, selector: "[tuiAppBarButton]", hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0 }); }
|
|
20
|
+
}
|
|
21
|
+
export { TuiAppBarButton };
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarButton, decorators: [{
|
|
23
|
+
type: Directive,
|
|
24
|
+
args: [{
|
|
25
|
+
standalone: true,
|
|
26
|
+
selector: '[tuiAppBarButton]',
|
|
27
|
+
hostDirectives: [TuiAnimated],
|
|
28
|
+
}]
|
|
29
|
+
}] });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJhci1idXR0b24uZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGF5b3V0L2NvbXBvbmVudHMvYXBwLWJhci9saXF1aWQtZ2xhc3MvYXBwLWJhci1idXR0b24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFNBQVMsRUFDVCxpQkFBaUIsR0FDcEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLG1DQUFtQyxDQUFDO0FBQzlELE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQzs7O0FBRWhFLE1BUU0scUJBQXFCOytHQUFyQixxQkFBcUI7bUdBQXJCLHFCQUFxQix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lRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICAgIGhvc3Q6IHtjbGFzczogJ3R1aS1hcHAtYmFyLWJ1dHRvbid9LFxufSlcbmNsYXNzIFR1aUFwcEJhckJ1dHRvblN0eWxlcyB7fVxuXG5ARGlyZWN0aXZlKHtcbiAgICBzdGFuZGFsb25lOiB0cnVlLFxuICAgIHNlbGVjdG9yOiAnW3R1aUFwcEJhckJ1dHRvbl0nLFxuICAgIGhvc3REaXJlY3RpdmVzOiBbVHVpQW5pbWF0ZWRdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlBcHBCYXJCdXR0b24ge1xuICAgIHByb3RlY3RlZCByZWFkb25seSBub3RoaW5nID0gdHVpV2l0aFN0eWxlcyhUdWlBcHBCYXJCdXR0b25TdHlsZXMpO1xufVxuIl19
|
|
@@ -4,20 +4,20 @@ import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
class TuiBlockDetailsStyles {
|
|
6
6
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBlockDetailsStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiBlockDetailsStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-block-details-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiBlockDetailsV=\"4.
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiBlockDetailsStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-block-details-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiBlockDetailsV=\"4.103.0\"]{display:flex;flex-direction:column;align-items:center;font:var(--tui-font-heading-3);min-block-size:2rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiTitle]{text-align:center;font:var(--tui-font-text-l);gap:0}[tuiBlockDetailsV=\"4.103.0\"] [tuiSubtitle],[tuiBlockDetailsV=\"4.103.0\"] [tuiDetailsStatus]{display:flex;align-items:center;gap:.25rem;font:var(--tui-font-text-m);color:var(--tui-text-secondary);margin-block-start:.25rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiSubtitle]+[tuiSubtitle],[tuiBlockDetailsV=\"4.103.0\"] [tuiDetailsStatus]{margin-block-start:1rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiComment]{margin-block-start:1.0625rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiAccessory]{display:flex;gap:.5rem;margin-block-start:1.25rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiAccessories],[tuiBlockDetailsV=\"4.103.0\"] tui-badge:only-of-type{margin-block-start:1.25rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiAccessories]{display:flex;gap:.5rem}[tuiBlockDetailsV=\"4.103.0\"] tui-avatar,[tuiBlockDetailsV=\"4.103.0\"] [tuiTitle]{margin-block-end:1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8
8
|
}
|
|
9
9
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBlockDetailsStyles, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
11
|
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
12
12
|
class: 'tui-block-details-styles',
|
|
13
|
-
}, styles: ["[tuiBlockDetailsV=\"4.
|
|
13
|
+
}, styles: ["[tuiBlockDetailsV=\"4.103.0\"]{display:flex;flex-direction:column;align-items:center;font:var(--tui-font-heading-3);min-block-size:2rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiTitle]{text-align:center;font:var(--tui-font-text-l);gap:0}[tuiBlockDetailsV=\"4.103.0\"] [tuiSubtitle],[tuiBlockDetailsV=\"4.103.0\"] [tuiDetailsStatus]{display:flex;align-items:center;gap:.25rem;font:var(--tui-font-text-m);color:var(--tui-text-secondary);margin-block-start:.25rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiSubtitle]+[tuiSubtitle],[tuiBlockDetailsV=\"4.103.0\"] [tuiDetailsStatus]{margin-block-start:1rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiComment]{margin-block-start:1.0625rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiAccessory]{display:flex;gap:.5rem;margin-block-start:1.25rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiAccessories],[tuiBlockDetailsV=\"4.103.0\"] tui-badge:only-of-type{margin-block-start:1.25rem}[tuiBlockDetailsV=\"4.103.0\"] [tuiAccessories]{display:flex;gap:.5rem}[tuiBlockDetailsV=\"4.103.0\"] tui-avatar,[tuiBlockDetailsV=\"4.103.0\"] [tuiTitle]{margin-block-end:1rem}\n"] }]
|
|
14
14
|
}] });
|
|
15
15
|
class TuiBlockDetails {
|
|
16
16
|
constructor() {
|
|
17
17
|
this.nothing = tuiWithStyles(TuiBlockDetailsStyles);
|
|
18
18
|
}
|
|
19
19
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBlockDetails, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiBlockDetails, isStandalone: true, selector: "[tuiBlockDetails]", host: { attributes: { "tuiBlockDetails": "", "tuiBlockDetailsV": "4.
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiBlockDetails, isStandalone: true, selector: "[tuiBlockDetails]", host: { attributes: { "tuiBlockDetails": "", "tuiBlockDetailsV": "4.103.0" } }, ngImport: i0 }); }
|
|
21
21
|
}
|
|
22
22
|
export { TuiBlockDetails };
|
|
23
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBlockDetails, decorators: [{
|
|
@@ -7,7 +7,7 @@ class TuiBlockStatusComponent {
|
|
|
7
7
|
this.size = 'l';
|
|
8
8
|
}
|
|
9
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBlockStatusComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiBlockStatusComponent, isStandalone: true, selector: "tui-block-status", inputs: { card: "card", size: "size" }, host: { attributes: { "tuiBlockStatus": "", "tuiBlockStatusV": "4.
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiBlockStatusComponent, isStandalone: true, selector: "tui-block-status", inputs: { card: "card", size: "size" }, host: { attributes: { "tuiBlockStatus": "", "tuiBlockStatusV": "4.103.0" }, properties: { "class._card": "card", "attr.data-size": "size" } }, ngImport: i0, template: "<div class=\"t-block-image\">\n <ng-content select=\"[tuiSlot='top']\" />\n</div>\n\n<ng-content select=\"h1,h2,h3,h4,h5,h6\" />\n\n<div class=\"t-block-text\">\n <ng-content />\n</div>\n\n<div class=\"t-block-actions\">\n <ng-content select=\"a,button,[tuiSlot='action']\" />\n</div>\n", styles: ["[tuiBlockStatusV=\"4.103.0\"]{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;overflow:hidden;inline-size:100%;block-size:100%}[tuiBlockStatusV=\"4.103.0\"]._card{border-radius:var(--tui-radius-xl);padding:2rem}[tuiBlockStatusV=\"4.103.0\"] .t-block-image:empty,[tuiBlockStatusV=\"4.103.0\"] .t-block-text:empty,[tuiBlockStatusV=\"4.103.0\"] .t-block-actions:empty{display:none}[tuiBlockStatusV=\"4.103.0\"] .t-block-image:not(:empty){display:flex;margin-block-end:2rem}[tuiBlockStatusV=\"4.103.0\"] .t-block-text:not(:empty){font:var(--tui-font-text-m);color:var(--tui-text-secondary);white-space:pre-line}[tuiBlockStatusV=\"4.103.0\"] .t-block-actions:not(:empty){display:flex;flex-direction:column;align-items:center;inline-size:100%;margin-block-start:2rem}[tuiBlockStatusV=\"4.103.0\"] h1,[tuiBlockStatusV=\"4.103.0\"] h2,[tuiBlockStatusV=\"4.103.0\"] h3,[tuiBlockStatusV=\"4.103.0\"] h4,[tuiBlockStatusV=\"4.103.0\"] h5,[tuiBlockStatusV=\"4.103.0\"] h6{font:var(--tui-font-heading-4);margin:0}[tuiBlockStatusV=\"4.103.0\"] h1~.t-block-text:not(:empty),[tuiBlockStatusV=\"4.103.0\"] h2~.t-block-text:not(:empty),[tuiBlockStatusV=\"4.103.0\"] h3~.t-block-text:not(:empty),[tuiBlockStatusV=\"4.103.0\"] h4~.t-block-text:not(:empty),[tuiBlockStatusV=\"4.103.0\"] h5~.t-block-text:not(:empty),[tuiBlockStatusV=\"4.103.0\"] h6~.t-block-text:not(:empty){margin-block-start:1rem}[tuiBlockStatusV=\"4.103.0\"] img{inline-size:9rem;block-size:9rem}[tuiBlockStatusV=\"4.103.0\"] a:not(:last-child),[tuiBlockStatusV=\"4.103.0\"] button:not(:last-child){margin-block-end:.75rem}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h1,[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h2,[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h3,[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h4,[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h5,[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h6{font:var(--tui-font-heading-6);margin-block-start:0}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h1~.t-block-text:not(:empty),[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h2~.t-block-text:not(:empty),[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h3~.t-block-text:not(:empty),[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h4~.t-block-text:not(:empty),[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h5~.t-block-text:not(:empty),[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h6~.t-block-text:not(:empty){margin-block-start:.75rem}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] img{inline-size:6rem;block-size:6rem}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] .t-block-text:not(:empty){font:var(--tui-font-text-s)}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] .t-block-actions:not(:empty){margin-block-start:1.5rem}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] .t-block-image:not(:empty){margin-block-end:1.5rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
11
11
|
}
|
|
12
12
|
export { TuiBlockStatusComponent };
|
|
13
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBlockStatusComponent, decorators: [{
|
|
@@ -17,7 +17,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17
17
|
tuiBlockStatusV: TUI_VERSION,
|
|
18
18
|
'[class._card]': 'card',
|
|
19
19
|
'[attr.data-size]': 'size',
|
|
20
|
-
}, template: "<div class=\"t-block-image\">\n <ng-content select=\"[tuiSlot='top']\" />\n</div>\n\n<ng-content select=\"h1,h2,h3,h4,h5,h6\" />\n\n<div class=\"t-block-text\">\n <ng-content />\n</div>\n\n<div class=\"t-block-actions\">\n <ng-content select=\"a,button,[tuiSlot='action']\" />\n</div>\n", styles: ["[tuiBlockStatusV=\"4.
|
|
20
|
+
}, template: "<div class=\"t-block-image\">\n <ng-content select=\"[tuiSlot='top']\" />\n</div>\n\n<ng-content select=\"h1,h2,h3,h4,h5,h6\" />\n\n<div class=\"t-block-text\">\n <ng-content />\n</div>\n\n<div class=\"t-block-actions\">\n <ng-content select=\"a,button,[tuiSlot='action']\" />\n</div>\n", styles: ["[tuiBlockStatusV=\"4.103.0\"]{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;overflow:hidden;inline-size:100%;block-size:100%}[tuiBlockStatusV=\"4.103.0\"]._card{border-radius:var(--tui-radius-xl);padding:2rem}[tuiBlockStatusV=\"4.103.0\"] .t-block-image:empty,[tuiBlockStatusV=\"4.103.0\"] .t-block-text:empty,[tuiBlockStatusV=\"4.103.0\"] .t-block-actions:empty{display:none}[tuiBlockStatusV=\"4.103.0\"] .t-block-image:not(:empty){display:flex;margin-block-end:2rem}[tuiBlockStatusV=\"4.103.0\"] .t-block-text:not(:empty){font:var(--tui-font-text-m);color:var(--tui-text-secondary);white-space:pre-line}[tuiBlockStatusV=\"4.103.0\"] .t-block-actions:not(:empty){display:flex;flex-direction:column;align-items:center;inline-size:100%;margin-block-start:2rem}[tuiBlockStatusV=\"4.103.0\"] h1,[tuiBlockStatusV=\"4.103.0\"] h2,[tuiBlockStatusV=\"4.103.0\"] h3,[tuiBlockStatusV=\"4.103.0\"] h4,[tuiBlockStatusV=\"4.103.0\"] h5,[tuiBlockStatusV=\"4.103.0\"] h6{font:var(--tui-font-heading-4);margin:0}[tuiBlockStatusV=\"4.103.0\"] h1~.t-block-text:not(:empty),[tuiBlockStatusV=\"4.103.0\"] h2~.t-block-text:not(:empty),[tuiBlockStatusV=\"4.103.0\"] h3~.t-block-text:not(:empty),[tuiBlockStatusV=\"4.103.0\"] h4~.t-block-text:not(:empty),[tuiBlockStatusV=\"4.103.0\"] h5~.t-block-text:not(:empty),[tuiBlockStatusV=\"4.103.0\"] h6~.t-block-text:not(:empty){margin-block-start:1rem}[tuiBlockStatusV=\"4.103.0\"] img{inline-size:9rem;block-size:9rem}[tuiBlockStatusV=\"4.103.0\"] a:not(:last-child),[tuiBlockStatusV=\"4.103.0\"] button:not(:last-child){margin-block-end:.75rem}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h1,[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h2,[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h3,[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h4,[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h5,[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h6{font:var(--tui-font-heading-6);margin-block-start:0}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h1~.t-block-text:not(:empty),[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h2~.t-block-text:not(:empty),[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h3~.t-block-text:not(:empty),[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h4~.t-block-text:not(:empty),[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h5~.t-block-text:not(:empty),[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] h6~.t-block-text:not(:empty){margin-block-start:.75rem}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] img{inline-size:6rem;block-size:6rem}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] .t-block-text:not(:empty){font:var(--tui-font-text-s)}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] .t-block-actions:not(:empty){margin-block-start:1.5rem}[data-platform=web] [tuiBlockStatusV=\"4.103.0\"][data-size=m] .t-block-image:not(:empty){margin-block-end:1.5rem}\n"] }]
|
|
21
21
|
}], propDecorators: { card: [{
|
|
22
22
|
type: Input
|
|
23
23
|
}], size: [{
|
|
@@ -4,13 +4,13 @@ import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
class TuiCardCollapsedStyles {
|
|
6
6
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCardCollapsedStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiCardCollapsedStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-card-collapsed" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiCardCollapsedV=\"4.
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiCardCollapsedStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-card-collapsed" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiCardCollapsedV=\"4.103.0\"]{transition-property:clip-path,margin;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;border-image:radial-gradient(at center,var(--tui-background-neutral-2) 26.5%,transparent 27%) 50% 49% / 0 2rem 2rem / 0 0 2rem}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand{transition-property:grid-template-rows,padding,margin;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;background:var(--tui-background-neutral-1);border-radius:var(--tui-radius-s);padding:0 1rem;margin:-.25rem 0 calc(-1 * var(--t-space))!important}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand._expanded{padding:.5rem 1rem;margin:0!important}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand [tuiTable]{inline-size:100%}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand [tuiTable] th,[tuiCardCollapsedV=\"4.103.0\"]>tui-expand [tuiTable] td{background:none;padding-inline-start:0;padding-inline-end:0;border-inline-start:0;border-inline-end:0}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand [tuiTable] thead th{border:none;block-size:1.75rem}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand [tuiTable] tr:last-child td{border-block-end:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8
8
|
}
|
|
9
9
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCardCollapsedStyles, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
11
|
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
12
12
|
class: 'tui-card-collapsed',
|
|
13
|
-
}, styles: ["[tuiCardCollapsedV=\"4.
|
|
13
|
+
}, styles: ["[tuiCardCollapsedV=\"4.103.0\"]{transition-property:clip-path,margin;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;border-image:radial-gradient(at center,var(--tui-background-neutral-2) 26.5%,transparent 27%) 50% 49% / 0 2rem 2rem / 0 0 2rem}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand{transition-property:grid-template-rows,padding,margin;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;background:var(--tui-background-neutral-1);border-radius:var(--tui-radius-s);padding:0 1rem;margin:-.25rem 0 calc(-1 * var(--t-space))!important}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand._expanded{padding:.5rem 1rem;margin:0!important}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand [tuiTable]{inline-size:100%}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand [tuiTable] th,[tuiCardCollapsedV=\"4.103.0\"]>tui-expand [tuiTable] td{background:none;padding-inline-start:0;padding-inline-end:0;border-inline-start:0;border-inline-end:0}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand [tuiTable] thead th{border:none;block-size:1.75rem}[tuiCardCollapsedV=\"4.103.0\"]>tui-expand [tuiTable] tr:last-child td{border-block-end:0}\n"] }]
|
|
14
14
|
}] });
|
|
15
15
|
class TuiCardCollapsed {
|
|
16
16
|
constructor() {
|
|
@@ -18,7 +18,7 @@ class TuiCardCollapsed {
|
|
|
18
18
|
this.collapsed = false;
|
|
19
19
|
}
|
|
20
20
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCardCollapsed, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiCardCollapsed, isStandalone: true, selector: "[tuiCardCollapsed]", inputs: { collapsed: ["tuiCardCollapsed", "collapsed"] }, host: { attributes: { "tuiCardCollapsed": "", "tuiCardCollapsedV": "4.
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiCardCollapsed, isStandalone: true, selector: "[tuiCardCollapsed]", inputs: { collapsed: ["tuiCardCollapsed", "collapsed"] }, host: { attributes: { "tuiCardCollapsed": "", "tuiCardCollapsedV": "4.103.0" }, properties: { "style.margin-block-end.rem": "collapsed ? 0.75 : 0", "style.clip-path": "collapsed ? \"inset(-0.75rem)\" : \"inset(0)\"" } }, ngImport: i0 }); }
|
|
22
22
|
}
|
|
23
23
|
export { TuiCardCollapsed };
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCardCollapsed, decorators: [{
|
|
@@ -8,13 +8,13 @@ export const [TUI_CARD_OPTIONS, tuiCardOptionsProvider] = tuiCreateOptions({
|
|
|
8
8
|
});
|
|
9
9
|
class TuiCardLargeStyles {
|
|
10
10
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCardLargeStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiCardLargeStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-card-large" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiCardMediumV=\"4.
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiCardLargeStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-card-large" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiCardMediumV=\"4.103.0\"],[tuiCardLargeV=\"4.103.0\"]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;position:relative;display:flex;align-items:flex-start;flex-shrink:0;text-decoration:none;overflow:hidden;background:var(--tui-background-elevation-2)}[tuiCardMediumV=\"4.103.0\"] [tuiTitle],[tuiCardLargeV=\"4.103.0\"] [tuiTitle],[tuiCardMediumV=\"4.103.0\"] [tuiSubtitle],[tuiCardLargeV=\"4.103.0\"] [tuiSubtitle]{max-inline-size:100%}[tuiCardMediumV=\"4.103.0\"]>*,[tuiCardLargeV=\"4.103.0\"]>*{scrollbar-width:none;-ms-overflow-style:none}[tuiCardMediumV=\"4.103.0\"]>*::-webkit-scrollbar,[tuiCardLargeV=\"4.103.0\"]>*::-webkit-scrollbar,[tuiCardMediumV=\"4.103.0\"]>*::-webkit-scrollbar-thumb,[tuiCardLargeV=\"4.103.0\"]>*::-webkit-scrollbar-thumb{display:none}\n", "[tuiCardLargeV=\"4.103.0\"]{font:var(--tui-font-text-m)}[tuiCardLargeV=\"4.103.0\"][data-space]{--t-space: .75rem;--t-radius: var(--tui-radius-l);--t-comp: -.25rem;--t-padding: .75rem;--tui-padding-inline: .75rem;--t-dim: calc(var(--t-padding) + var(--t-comp));padding:var(--t-padding) var(--tui-padding-inline);border-radius:var(--t-radius);box-sizing:border-box}[tuiCardLargeV=\"4.103.0\"][data-space][data-space=normal]{--t-radius: 1.5rem;--t-padding: 1.5rem;--tui-padding-inline: 1.5rem;--t-space: 1.5rem}[tuiCardLargeV=\"4.103.0\"][data-space][data-space=compact]{--t-radius: 1rem;--t-padding: 1.25rem;--tui-padding-inline: 1.25rem;--t-space: 1.25rem}[tuiCardLargeV=\"4.103.0\"][data-space]:not([tuiCell],[tuiHeader],[tuiForm]){flex-direction:column;gap:var(--t-space);align-items:stretch}[tuiCardLargeV=\"4.103.0\"][data-space]:not([tuiCell],[tuiHeader],[tuiForm])>:last-child:not([tuiCell]){margin-block-start:auto}[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"]{padding:var(--t-dim) var(--tui-padding-inline)}[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"] [tuiButton]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"] [tuiSwitch]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"] [tuiAvatar]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"] tui-avatar:last-child,[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"] tui-segmented:last-child{margin-inline-end:var(--t-comp)}[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"]{margin:var(--t-comp) 0 calc(2 * var(--t-comp))}[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"] [tuiButton]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"] [tuiSwitch]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"] [tuiAvatar]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"] tui-avatar:last-child,[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"] tui-segmented:last-child{margin-inline-end:var(--t-comp)}[tuiCardLargeV=\"4.103.0\"][data-space] [tuiCell]{--t-padding: .5rem var(--tui-padding-inline);inline-size:100%;margin:-.5rem calc(-1 * var(--tui-padding-inline)) -.75rem;border-radius:var(--tui-radius-l)}[tuiCardLargeV=\"4.103.0\"][data-space] [tuiCell]:last-of-type{margin-block-end:-.5rem}[data-platform]:not([data-platform=ios],[data-platform=android]) [tuiCardLargeV=\"4.103.0\"][data-space] [tuiCell]{--tui-padding-inline: .5rem}[tuiCardLargeV=\"4.103.0\"][data-space] [tuiHeader]+[tuiDescription]{margin-block:-.5rem -.25rem}[tuiCardLargeV=\"4.103.0\"][data-space] [tuiHeader]+[tuiCell]{margin-block-start:var(--t-comp)}[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiLink]:last-child{display:block;inline-size:-webkit-fit-content;inline-size:-moz-fit-content;inline-size:fit-content;margin-block-end:var(--t-comp)}[tuiCardLargeV=\"4.103.0\"][data-space] [tuiAccessories]>[tuiButtonClose]{align-self:flex-start;--t-size: 1.5rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
12
12
|
}
|
|
13
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCardLargeStyles, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
16
16
|
class: 'tui-card-large',
|
|
17
|
-
}, styles: ["[tuiCardMediumV=\"4.
|
|
17
|
+
}, styles: ["[tuiCardMediumV=\"4.103.0\"],[tuiCardLargeV=\"4.103.0\"]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;position:relative;display:flex;align-items:flex-start;flex-shrink:0;text-decoration:none;overflow:hidden;background:var(--tui-background-elevation-2)}[tuiCardMediumV=\"4.103.0\"] [tuiTitle],[tuiCardLargeV=\"4.103.0\"] [tuiTitle],[tuiCardMediumV=\"4.103.0\"] [tuiSubtitle],[tuiCardLargeV=\"4.103.0\"] [tuiSubtitle]{max-inline-size:100%}[tuiCardMediumV=\"4.103.0\"]>*,[tuiCardLargeV=\"4.103.0\"]>*{scrollbar-width:none;-ms-overflow-style:none}[tuiCardMediumV=\"4.103.0\"]>*::-webkit-scrollbar,[tuiCardLargeV=\"4.103.0\"]>*::-webkit-scrollbar,[tuiCardMediumV=\"4.103.0\"]>*::-webkit-scrollbar-thumb,[tuiCardLargeV=\"4.103.0\"]>*::-webkit-scrollbar-thumb{display:none}\n", "[tuiCardLargeV=\"4.103.0\"]{font:var(--tui-font-text-m)}[tuiCardLargeV=\"4.103.0\"][data-space]{--t-space: .75rem;--t-radius: var(--tui-radius-l);--t-comp: -.25rem;--t-padding: .75rem;--tui-padding-inline: .75rem;--t-dim: calc(var(--t-padding) + var(--t-comp));padding:var(--t-padding) var(--tui-padding-inline);border-radius:var(--t-radius);box-sizing:border-box}[tuiCardLargeV=\"4.103.0\"][data-space][data-space=normal]{--t-radius: 1.5rem;--t-padding: 1.5rem;--tui-padding-inline: 1.5rem;--t-space: 1.5rem}[tuiCardLargeV=\"4.103.0\"][data-space][data-space=compact]{--t-radius: 1rem;--t-padding: 1.25rem;--tui-padding-inline: 1.25rem;--t-space: 1.25rem}[tuiCardLargeV=\"4.103.0\"][data-space]:not([tuiCell],[tuiHeader],[tuiForm]){flex-direction:column;gap:var(--t-space);align-items:stretch}[tuiCardLargeV=\"4.103.0\"][data-space]:not([tuiCell],[tuiHeader],[tuiForm])>:last-child:not([tuiCell]){margin-block-start:auto}[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"]{padding:var(--t-dim) var(--tui-padding-inline)}[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"] [tuiButton]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"] [tuiSwitch]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"] [tuiAvatar]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"] tui-avatar:last-child,[tuiCardLargeV=\"4.103.0\"][data-space][tuiHeaderV=\"4.103.0\"] tui-segmented:last-child{margin-inline-end:var(--t-comp)}[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"]{margin:var(--t-comp) 0 calc(2 * var(--t-comp))}[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"] [tuiButton]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"] [tuiSwitch]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"] [tuiAvatar]:last-child,[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"] tui-avatar:last-child,[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiHeaderV=\"4.103.0\"] tui-segmented:last-child{margin-inline-end:var(--t-comp)}[tuiCardLargeV=\"4.103.0\"][data-space] [tuiCell]{--t-padding: .5rem var(--tui-padding-inline);inline-size:100%;margin:-.5rem calc(-1 * var(--tui-padding-inline)) -.75rem;border-radius:var(--tui-radius-l)}[tuiCardLargeV=\"4.103.0\"][data-space] [tuiCell]:last-of-type{margin-block-end:-.5rem}[data-platform]:not([data-platform=ios],[data-platform=android]) [tuiCardLargeV=\"4.103.0\"][data-space] [tuiCell]{--tui-padding-inline: .5rem}[tuiCardLargeV=\"4.103.0\"][data-space] [tuiHeader]+[tuiDescription]{margin-block:-.5rem -.25rem}[tuiCardLargeV=\"4.103.0\"][data-space] [tuiHeader]+[tuiCell]{margin-block-start:var(--t-comp)}[tuiCardLargeV=\"4.103.0\"][data-space]>[tuiLink]:last-child{display:block;inline-size:-webkit-fit-content;inline-size:-moz-fit-content;inline-size:fit-content;margin-block-end:var(--t-comp)}[tuiCardLargeV=\"4.103.0\"][data-space] [tuiAccessories]>[tuiButtonClose]{align-self:flex-start;--t-size: 1.5rem}\n"] }]
|
|
18
18
|
}] });
|
|
19
19
|
class TuiCardLarge {
|
|
20
20
|
constructor() {
|
|
@@ -23,7 +23,7 @@ class TuiCardLarge {
|
|
|
23
23
|
this.space = '';
|
|
24
24
|
}
|
|
25
25
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCardLarge, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiCardLarge, isStandalone: true, selector: "[tuiCardLarge]", inputs: { space: ["tuiCardLarge", "space"] }, host: { attributes: { "tuiCardLarge": "", "tuiCardLargeV": "4.
|
|
26
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiCardLarge, isStandalone: true, selector: "[tuiCardLarge]", inputs: { space: ["tuiCardLarge", "space"] }, host: { attributes: { "tuiCardLarge": "", "tuiCardLargeV": "4.103.0" }, properties: { "attr.data-space": "space || this.options.space" } }, ngImport: i0 }); }
|
|
27
27
|
}
|
|
28
28
|
export { TuiCardLarge };
|
|
29
29
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCardLarge, decorators: [{
|