@taiga-ui/kit 4.82.0 → 4.84.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/esm2022/components/avatar/avatar-labeled.component.mjs +7 -4
- package/esm2022/components/avatar/avatar-outline.directive.mjs +6 -4
- package/esm2022/components/avatar/avatar-stack.component.mjs +5 -3
- package/esm2022/components/badge/badge.directive.mjs +6 -4
- package/esm2022/components/block/block.directive.mjs +6 -4
- package/esm2022/components/checkbox/checkbox.component.mjs +5 -3
- package/esm2022/components/chip/chip.directive.mjs +9 -5
- package/esm2022/components/comment/comment.directive.mjs +6 -4
- package/esm2022/components/compass/compass.component.mjs +5 -3
- package/esm2022/components/files/files/files.component.mjs +7 -5
- package/esm2022/components/files/files.validators.mjs +3 -3
- package/esm2022/components/input-date/input-date.component.mjs +5 -3
- package/esm2022/components/input-date-time/input-date-time.component.mjs +7 -3
- package/esm2022/components/input-inline/input-inline.component.mjs +6 -3
- package/esm2022/components/input-month/input-month.component.mjs +5 -4
- package/esm2022/components/input-number/step/input-number-step.component.mjs +5 -3
- package/esm2022/components/input-time/input-time.component.mjs +7 -3
- package/esm2022/components/like/like.component.mjs +5 -3
- package/esm2022/components/message/message.directive.mjs +8 -4
- package/esm2022/components/pin/pin.directive.mjs +6 -4
- package/esm2022/components/preview/dialog/preview-dialog.component.mjs +6 -4
- package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +6 -4
- package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +5 -3
- package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +6 -4
- package/esm2022/components/radio/radio.component.mjs +5 -3
- package/esm2022/components/radio-list/radio-list.component.mjs +5 -4
- package/esm2022/components/segmented/segmented.component.mjs +6 -4
- package/esm2022/components/shrink-wrap/shrink-wrap.component.mjs +6 -3
- package/esm2022/components/status/status.directive.mjs +6 -4
- package/esm2022/components/switch/switch.component.mjs +5 -3
- package/esm2022/components/tabs/tab.directive.mjs +4 -2
- package/esm2022/components/tabs/tabs.directive.mjs +6 -4
- package/esm2022/components/textarea/textarea-limit.directive.mjs +8 -4
- package/esm2022/components/textarea/textarea.component.mjs +3 -3
- package/esm2022/components/tiles/tiles.component.mjs +6 -4
- package/esm2022/components/toast/toast.directive.mjs +8 -4
- package/esm2022/directives/button-group/button-group.directive.mjs +8 -4
- package/esm2022/directives/chevron/chevron.directive.mjs +9 -5
- package/esm2022/directives/connected/connected.directive.mjs +6 -4
- package/esm2022/directives/fade/fade.directive.mjs +6 -4
- package/esm2022/directives/icon-badge/icon-badge.directive.mjs +6 -4
- package/esm2022/directives/sensitive/sensitive.directive.mjs +6 -4
- package/esm2022/directives/shimmer/shimmer.directive.mjs +6 -4
- package/esm2022/directives/skeleton/skeleton.directive.mjs +6 -5
- package/esm2022/directives/tooltip/tooltip.directive.mjs +6 -4
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +13 -8
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +4 -2
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +8 -4
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-compass.mjs +4 -2
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +8 -6
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +6 -2
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +4 -3
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs +5 -2
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +4 -3
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +4 -3
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +6 -2
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-like.mjs +4 -2
- package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs +7 -3
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +5 -4
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +12 -8
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +4 -3
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +4 -3
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +5 -4
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs +5 -2
- package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-switch.mjs +4 -2
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +7 -5
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +8 -5
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +5 -3
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-toast.mjs +7 -3
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -3
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs +8 -4
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-connected.mjs +5 -3
- package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fade.mjs +5 -3
- package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +5 -3
- package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +5 -3
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +5 -3
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +5 -4
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +5 -3
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
- package/package.json +16 -16
- package/styles/components/badge.less +3 -4
- package/styles/components/block.less +1 -1
- package/styles/components/checkbox.less +1 -1
- package/styles/components/chip.less +2 -3
- package/styles/components/comment.less +1 -1
- package/styles/components/compass.less +1 -1
- package/styles/components/like.less +1 -1
- package/styles/components/message.less +1 -1
- package/styles/components/pin.less +1 -2
- package/styles/components/progress-bar.less +1 -1
- package/styles/components/radio.less +1 -1
- package/styles/components/status.less +3 -1
- package/styles/components/switch.less +1 -1
- package/styles/components/toast.less +1 -1
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Directive, ViewEncapsulation, } from '@angular/core';
|
|
2
2
|
import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
3
|
+
import { TUI_VERSION } from '@taiga-ui/cdk/constants';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
class TuiButtonGroupStyles {
|
|
5
6
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonGroupStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiButtonGroupStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-button-group-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiButtonGroupStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-button-group-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiButtonGroupV=\"4.84.0\"],[tuiButtonGroupV=\"4.84.0\"] tui-elastic-container{transition-property:background,height,border-radius;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;border-radius:var(--tui-radius-xl);overflow:hidden}[tuiButtonGroupV=\"4.84.0\"],[tuiButtonGroupV=\"4.84.0\"] tui-elastic-container .t-wrapper{display:flex;justify-content:center}[tuiButtonGroupV=\"4.84.0\"] tui-elastic-container{inline-size:100%}[tuiButtonGroupV=\"4.84.0\"] button,[tuiButtonGroupV=\"4.84.0\"] a{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:flex;border:none;outline:none;background:transparent;align-items:center;flex:1;flex-direction:column;padding:1.125rem .25rem;gap:.5rem;font:var(--tui-font-text-ui-s);max-inline-size:calc(50% - 1.75rem);cursor:pointer;color:var(--tui-text-action);text-align:center;text-decoration:none;clip-path:inset(0)}[tuiButtonGroupV=\"4.84.0\"] button:first-child,[tuiButtonGroupV=\"4.84.0\"] a:first-child{clip-path:inset(0 0 0 -10rem)}[tuiButtonGroupV=\"4.84.0\"] button:last-child,[tuiButtonGroupV=\"4.84.0\"] a:last-child{clip-path:inset(0 -10rem 0 0)}[tuiButtonGroupV=\"4.84.0\"] button:active,[tuiButtonGroupV=\"4.84.0\"] a:active{background:var(--tui-background-neutral-1)}[tuiButtonGroupV=\"4.84.0\"] button:before,[tuiButtonGroupV=\"4.84.0\"] a:before,[tuiButtonGroupV=\"4.84.0\"] button:after,[tuiButtonGroupV=\"4.84.0\"] a:after{position:absolute;top:0;background:inherit;inline-size:1.75rem;block-size:100%}[tuiButtonGroupV=\"4.84.0\"] button:first-child:before,[tuiButtonGroupV=\"4.84.0\"] a:first-child:before{content:\"\";left:-1.75rem}[tuiButtonGroupV=\"4.84.0\"] button:last-child:after,[tuiButtonGroupV=\"4.84.0\"] a:last-child:after{content:\"\";right:-1.75rem}[tuiButtonGroupV=\"4.84.0\"] button tui-icon,[tuiButtonGroupV=\"4.84.0\"] a tui-icon{font-size:1.75rem}[tuiButtonGroupV=\"4.84.0\"]:has(button:only-child){border-radius:1rem}[tuiButtonGroupV=\"4.84.0\"] button:only-child,[tuiButtonGroupV=\"4.84.0\"] a:only-child{inline-size:100%;flex-direction:row;font:var(--tui-font-text-ui-l);max-inline-size:100%;justify-content:center}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7
8
|
}
|
|
8
9
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonGroupStyles, decorators: [{
|
|
9
10
|
type: Component,
|
|
10
11
|
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
11
12
|
class: 'tui-button-group-styles',
|
|
12
|
-
}, styles: ["[
|
|
13
|
+
}, styles: ["[tuiButtonGroupV=\"4.84.0\"],[tuiButtonGroupV=\"4.84.0\"] tui-elastic-container{transition-property:background,height,border-radius;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;border-radius:var(--tui-radius-xl);overflow:hidden}[tuiButtonGroupV=\"4.84.0\"],[tuiButtonGroupV=\"4.84.0\"] tui-elastic-container .t-wrapper{display:flex;justify-content:center}[tuiButtonGroupV=\"4.84.0\"] tui-elastic-container{inline-size:100%}[tuiButtonGroupV=\"4.84.0\"] button,[tuiButtonGroupV=\"4.84.0\"] a{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:flex;border:none;outline:none;background:transparent;align-items:center;flex:1;flex-direction:column;padding:1.125rem .25rem;gap:.5rem;font:var(--tui-font-text-ui-s);max-inline-size:calc(50% - 1.75rem);cursor:pointer;color:var(--tui-text-action);text-align:center;text-decoration:none;clip-path:inset(0)}[tuiButtonGroupV=\"4.84.0\"] button:first-child,[tuiButtonGroupV=\"4.84.0\"] a:first-child{clip-path:inset(0 0 0 -10rem)}[tuiButtonGroupV=\"4.84.0\"] button:last-child,[tuiButtonGroupV=\"4.84.0\"] a:last-child{clip-path:inset(0 -10rem 0 0)}[tuiButtonGroupV=\"4.84.0\"] button:active,[tuiButtonGroupV=\"4.84.0\"] a:active{background:var(--tui-background-neutral-1)}[tuiButtonGroupV=\"4.84.0\"] button:before,[tuiButtonGroupV=\"4.84.0\"] a:before,[tuiButtonGroupV=\"4.84.0\"] button:after,[tuiButtonGroupV=\"4.84.0\"] a:after{position:absolute;top:0;background:inherit;inline-size:1.75rem;block-size:100%}[tuiButtonGroupV=\"4.84.0\"] button:first-child:before,[tuiButtonGroupV=\"4.84.0\"] a:first-child:before{content:\"\";left:-1.75rem}[tuiButtonGroupV=\"4.84.0\"] button:last-child:after,[tuiButtonGroupV=\"4.84.0\"] a:last-child:after{content:\"\";right:-1.75rem}[tuiButtonGroupV=\"4.84.0\"] button tui-icon,[tuiButtonGroupV=\"4.84.0\"] a tui-icon{font-size:1.75rem}[tuiButtonGroupV=\"4.84.0\"]:has(button:only-child){border-radius:1rem}[tuiButtonGroupV=\"4.84.0\"] button:only-child,[tuiButtonGroupV=\"4.84.0\"] a:only-child{inline-size:100%;flex-direction:row;font:var(--tui-font-text-ui-l);max-inline-size:100%;justify-content:center}\n"] }]
|
|
13
14
|
}] });
|
|
14
15
|
class TuiButtonGroup {
|
|
15
16
|
constructor() {
|
|
16
17
|
this.nothing = tuiWithStyles(TuiButtonGroupStyles);
|
|
17
18
|
}
|
|
18
19
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
19
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiButtonGroup, isStandalone: true, selector: "[tuiButtonGroup]", ngImport: i0 }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiButtonGroup, isStandalone: true, selector: "[tuiButtonGroup]", host: { attributes: { "tuiButtonGroupV": "4.84.0" } }, ngImport: i0 }); }
|
|
20
21
|
}
|
|
21
22
|
export { TuiButtonGroup };
|
|
22
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiButtonGroup, decorators: [{
|
|
@@ -24,6 +25,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
24
25
|
args: [{
|
|
25
26
|
standalone: true,
|
|
26
27
|
selector: '[tuiButtonGroup]',
|
|
28
|
+
host: {
|
|
29
|
+
tuiButtonGroupV: TUI_VERSION,
|
|
30
|
+
},
|
|
27
31
|
}]
|
|
28
32
|
}] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWdyb3VwLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9kaXJlY3RpdmVzL2J1dHRvbi1ncm91cC9idXR0b24tZ3JvdXAuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFNBQVMsRUFDVCxpQkFBaUIsR0FDcEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLG1DQUFtQyxDQUFDO0FBRWhFLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQzs7QUFFcEQsTUFVTSxvQkFBb0I7K0dBQXBCLG9CQUFvQjttR0FBcEIsb0JBQW9CLDZIQVJaLEVBQUU7OzRGQVFWLG9CQUFvQjtrQkFWekIsU0FBUztpQ0FDTSxJQUFJLFlBQ04sRUFBRSxpQkFFRyxpQ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3M6ICd0dWktYnV0dG9uLWdyb3VwLXN0eWxlcycsXG4gICAgfSxcbn0pXG5jbGFzcyBUdWlCdXR0b25Hcm91cFN0eWxlcyB7fVxuXG5ARGlyZWN0aXZlKHtcbiAgICBzdGFuZGFsb25lOiB0cnVlLFxuICAgIHNlbGVjdG9yOiAnW3R1aUJ1dHRvbkdyb3VwXScsXG4gICAgaG9zdDoge1xuICAgICAgICB0dWlCdXR0b25Hcm91cFY6IFRVSV9WRVJTSU9OLFxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUJ1dHRvbkdyb3VwIHtcbiAgICBwcm90ZWN0ZWQgcmVhZG9ubHkgbm90aGluZyA9IHR1aVdpdGhTdHlsZXMoVHVpQnV0dG9uR3JvdXBTdHlsZXMpO1xufVxuIl19
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Directive, effect, inject, InjectionToken, Input, signal, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { TUI_VERSION } from '@taiga-ui/cdk/constants';
|
|
2
3
|
import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
|
|
3
4
|
import { tuiProvide, tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
5
|
import { TuiDropdownDirective } from '@taiga-ui/core/directives/dropdown';
|
|
@@ -9,11 +10,11 @@ export const TUI_CHEVRON = new InjectionToken(ngDevMode ? 'TUI_CHEVRON' : '', {
|
|
|
9
10
|
});
|
|
10
11
|
class TuiChevronStyles {
|
|
11
12
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiChevronStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiChevronStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-chevron" }, ngImport: i0, template: '', isInline: true, styles: ["[
|
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiChevronStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-chevron" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiChevronV=\"4.84.0\"][tuiIcons]:after,tui-icon[tuiChevronV=\"4.84.0\"]:after{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;cursor:pointer}tui-textfield[tuiChevronV=\"4.84.0\"][tuiIcons]:after{font-size:1rem}tui-textfield[data-size=s][tuiChevronV=\"4.84.0\"][tuiIcons]:after{margin-inline-end:calc(-.125rem - var(--t-padding))}tui-textfield[data-size=m][tuiChevronV=\"4.84.0\"][tuiIcons]:after{margin-inline-end:calc(.125rem - var(--t-padding))}tui-textfield[data-size=l][tuiChevronV=\"4.84.0\"][tuiIcons]:after{margin-inline-end:calc(.25rem - var(--t-padding))}[tuiChevronV=\"4.84.0\"][tuiIcons]._chevron-rotated:after,tui-icon[tuiChevronV=\"4.84.0\"]._chevron-rotated:after{transform:rotate(180deg)}[tuiChevronV=\"4.84.0\"]:has(input[tuiTextfield]:read-only):after{cursor:default}tui-textfield[tuiChevronV=\"4.84.0\"][style*=\"--t-icon-end:\"][data-size=l]{--t-end: 1.875rem}tui-textfield[tuiChevronV=\"4.84.0\"][style*=\"--t-icon-end:\"][data-size=m]{--t-end: 1.5rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
13
14
|
}
|
|
14
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiChevronStyles, decorators: [{
|
|
15
16
|
type: Component,
|
|
16
|
-
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-chevron' }, styles: ["[
|
|
17
|
+
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-chevron' }, styles: ["[tuiChevronV=\"4.84.0\"][tuiIcons]:after,tui-icon[tuiChevronV=\"4.84.0\"]:after{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;cursor:pointer}tui-textfield[tuiChevronV=\"4.84.0\"][tuiIcons]:after{font-size:1rem}tui-textfield[data-size=s][tuiChevronV=\"4.84.0\"][tuiIcons]:after{margin-inline-end:calc(-.125rem - var(--t-padding))}tui-textfield[data-size=m][tuiChevronV=\"4.84.0\"][tuiIcons]:after{margin-inline-end:calc(.125rem - var(--t-padding))}tui-textfield[data-size=l][tuiChevronV=\"4.84.0\"][tuiIcons]:after{margin-inline-end:calc(.25rem - var(--t-padding))}[tuiChevronV=\"4.84.0\"][tuiIcons]._chevron-rotated:after,tui-icon[tuiChevronV=\"4.84.0\"]._chevron-rotated:after{transform:rotate(180deg)}[tuiChevronV=\"4.84.0\"]:has(input[tuiTextfield]:read-only):after{cursor:default}tui-textfield[tuiChevronV=\"4.84.0\"][style*=\"--t-icon-end:\"][data-size=l]{--t-end: 1.875rem}tui-textfield[tuiChevronV=\"4.84.0\"][style*=\"--t-icon-end:\"][data-size=m]{--t-end: 1.5rem}\n"] }]
|
|
17
18
|
}] });
|
|
18
19
|
class TuiChevron {
|
|
19
20
|
constructor() {
|
|
@@ -28,7 +29,7 @@ class TuiChevron {
|
|
|
28
29
|
this.chevron.set(chevron);
|
|
29
30
|
}
|
|
30
31
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiChevron, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiChevron, isStandalone: true, selector: "[tuiChevron]", inputs: { tuiChevron: "tuiChevron" }, host: { attributes: { "tuiChevron": "" } }, providers: [tuiProvide(TUI_ICON_END, TUI_CHEVRON)], ngImport: i0 }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiChevron, isStandalone: true, selector: "[tuiChevron]", inputs: { tuiChevron: "tuiChevron" }, host: { attributes: { "tuiChevron": "", "tuiChevronV": "4.84.0" } }, providers: [tuiProvide(TUI_ICON_END, TUI_CHEVRON)], ngImport: i0 }); }
|
|
32
33
|
}
|
|
33
34
|
export { TuiChevron };
|
|
34
35
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiChevron, decorators: [{
|
|
@@ -37,9 +38,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
37
38
|
standalone: true,
|
|
38
39
|
selector: '[tuiChevron]',
|
|
39
40
|
providers: [tuiProvide(TUI_ICON_END, TUI_CHEVRON)],
|
|
40
|
-
host: {
|
|
41
|
+
host: {
|
|
42
|
+
tuiChevron: '',
|
|
43
|
+
tuiChevronV: TUI_VERSION,
|
|
44
|
+
},
|
|
41
45
|
}]
|
|
42
46
|
}], propDecorators: { tuiChevron: [{
|
|
43
47
|
type: Input
|
|
44
48
|
}] } });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hldnJvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvZGlyZWN0aXZlcy9jaGV2cm9uL2NoZXZyb24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFNBQVMsRUFDVCxNQUFNLEVBQ04sTUFBTSxFQUNOLGNBQWMsRUFDZCxLQUFLLE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dWlDaGV2cm9uKGNoZXZyb246IGJvb2xlYW4gfCAnJykge1xuICAgICAgICB0aGlzLmNoZXZyb24uc2V0KGNoZXZyb24pO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Directive, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { TUI_VERSION } from '@taiga-ui/cdk/constants';
|
|
2
3
|
import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
class TuiConnectedStyles {
|
|
5
6
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiConnectedStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiConnectedStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-connected-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiConnectedStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-connected-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiConnectedV=\"4.84.0\"]{--t-image-size: 2.5rem;--t-connected-height: calc(100% - var(--t-image-size) - .5rem)}[tuiConnectedV=\"4.84.0\"]>[tuiCell]{padding:1rem}[tuiConnectedV=\"4.84.0\"][tuiCardLarge][data-space] [tuiCell]{padding:1rem;margin:-1rem -1rem calc(1rem - var(--t-space))}[tuiConnectedV=\"4.84.0\"][tuiCardLarge][data-space] [tuiCell]:last-of-type{margin-block-end:-1rem}tui-accordion[tuiConnectedV=\"4.84.0\"]{--t-image-size: 2rem}[tuiConnectedV=\"4.84.0\"]>[tuiAccordion]:before,[tuiConnectedV=\"4.84.0\"]>[tuiCell]:not(:last-of-type):before,[tuiConnectedV=\"4.84.0\"]>[tuiStep]:not(:last-of-type):before{content:\"\";position:absolute;top:calc(var(--t-image-size) + .25rem);left:calc(var(--t-image-size) / 2);display:block;inset-inline-start:calc(var(--t-image-size) / 2);block-size:var(--t-connected-height);inline-size:1px;color:var(--tui-border-normal);background:linear-gradient(to bottom,currentColor 75%,transparent 75%) top center / 300% 300%;background-clip:content-box;padding:inherit}[tuiConnectedV=\"4.84.0\"]>[tuiAccordion]{gap:1rem;--t-margin: 0}[tuiConnectedV=\"4.84.0\"]>[tuiAccordion]:before{top:0;left:calc(var(--t-image-size) / 2);inset-inline-start:calc(var(--t-image-size) / 2);block-size:100%;margin:0;background:var(--tui-border-normal);-webkit-mask:linear-gradient(to top,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2),transparent calc(50% + var(--t-image-size) / 2),black calc(50% + var(--t-image-size) / 2));mask:linear-gradient(to top,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2),transparent calc(50% + var(--t-image-size) / 2),black calc(50% + var(--t-image-size) / 2))}[tuiConnectedV=\"4.84.0\"]>[tuiAccordion]:first-of-type:before{-webkit-mask:linear-gradient(to top,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2));mask:linear-gradient(to top,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2))}[tuiConnectedV=\"4.84.0\"]>[tuiAccordion]:last-of-type:before{-webkit-mask:linear-gradient(to bottom,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2));mask:linear-gradient(to bottom,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2))}[tuiConnectedV=\"4.84.0\"]>tui-expand>*{padding:0;padding-inline-start:3rem}[tuiConnectedV=\"4.84.0\"]>tui-expand:not(:last-child):before{content:\"\";position:absolute;top:0;left:calc(var(--t-image-size) / 2);inset-inline-start:calc(var(--t-image-size) / 2);block-size:100%;inline-size:1px;background:var(--tui-border-normal)}[tuiConnectedV=\"4.84.0\"]>[tuiStep]{--t-image-size: 2rem;--t-connected-height: calc(100% - var(--t-image-size) + .75rem)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7
8
|
}
|
|
8
9
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiConnectedStyles, decorators: [{
|
|
9
10
|
type: Component,
|
|
10
11
|
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
11
12
|
class: 'tui-connected-styles',
|
|
12
|
-
}, styles: ["[
|
|
13
|
+
}, styles: ["[tuiConnectedV=\"4.84.0\"]{--t-image-size: 2.5rem;--t-connected-height: calc(100% - var(--t-image-size) - .5rem)}[tuiConnectedV=\"4.84.0\"]>[tuiCell]{padding:1rem}[tuiConnectedV=\"4.84.0\"][tuiCardLarge][data-space] [tuiCell]{padding:1rem;margin:-1rem -1rem calc(1rem - var(--t-space))}[tuiConnectedV=\"4.84.0\"][tuiCardLarge][data-space] [tuiCell]:last-of-type{margin-block-end:-1rem}tui-accordion[tuiConnectedV=\"4.84.0\"]{--t-image-size: 2rem}[tuiConnectedV=\"4.84.0\"]>[tuiAccordion]:before,[tuiConnectedV=\"4.84.0\"]>[tuiCell]:not(:last-of-type):before,[tuiConnectedV=\"4.84.0\"]>[tuiStep]:not(:last-of-type):before{content:\"\";position:absolute;top:calc(var(--t-image-size) + .25rem);left:calc(var(--t-image-size) / 2);display:block;inset-inline-start:calc(var(--t-image-size) / 2);block-size:var(--t-connected-height);inline-size:1px;color:var(--tui-border-normal);background:linear-gradient(to bottom,currentColor 75%,transparent 75%) top center / 300% 300%;background-clip:content-box;padding:inherit}[tuiConnectedV=\"4.84.0\"]>[tuiAccordion]{gap:1rem;--t-margin: 0}[tuiConnectedV=\"4.84.0\"]>[tuiAccordion]:before{top:0;left:calc(var(--t-image-size) / 2);inset-inline-start:calc(var(--t-image-size) / 2);block-size:100%;margin:0;background:var(--tui-border-normal);-webkit-mask:linear-gradient(to top,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2),transparent calc(50% + var(--t-image-size) / 2),black calc(50% + var(--t-image-size) / 2));mask:linear-gradient(to top,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2),transparent calc(50% + var(--t-image-size) / 2),black calc(50% + var(--t-image-size) / 2))}[tuiConnectedV=\"4.84.0\"]>[tuiAccordion]:first-of-type:before{-webkit-mask:linear-gradient(to top,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2));mask:linear-gradient(to top,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2))}[tuiConnectedV=\"4.84.0\"]>[tuiAccordion]:last-of-type:before{-webkit-mask:linear-gradient(to bottom,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2));mask:linear-gradient(to bottom,black calc(50% - var(--t-image-size) / 2),transparent calc(50% - var(--t-image-size) / 2))}[tuiConnectedV=\"4.84.0\"]>tui-expand>*{padding:0;padding-inline-start:3rem}[tuiConnectedV=\"4.84.0\"]>tui-expand:not(:last-child):before{content:\"\";position:absolute;top:0;left:calc(var(--t-image-size) / 2);inset-inline-start:calc(var(--t-image-size) / 2);block-size:100%;inline-size:1px;background:var(--tui-border-normal)}[tuiConnectedV=\"4.84.0\"]>[tuiStep]{--t-image-size: 2rem;--t-connected-height: calc(100% - var(--t-image-size) + .75rem)}\n"] }]
|
|
13
14
|
}] });
|
|
14
15
|
class TuiConnected {
|
|
15
16
|
constructor() {
|
|
16
17
|
this.nothing = tuiWithStyles(TuiConnectedStyles);
|
|
17
18
|
}
|
|
18
19
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiConnected, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
19
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiConnected, isStandalone: true, selector: "[tuiConnected]", host: { attributes: { "tuiConnected": "" } }, ngImport: i0 }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiConnected, isStandalone: true, selector: "[tuiConnected]", host: { attributes: { "tuiConnected": "", "tuiConnectedV": "4.84.0" } }, ngImport: i0 }); }
|
|
20
21
|
}
|
|
21
22
|
export { TuiConnected };
|
|
22
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiConnected, decorators: [{
|
|
@@ -26,7 +27,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
26
27
|
selector: '[tuiConnected]',
|
|
27
28
|
host: {
|
|
28
29
|
tuiConnected: '',
|
|
30
|
+
tuiConnectedV: TUI_VERSION,
|
|
29
31
|
},
|
|
30
32
|
}]
|
|
31
33
|
}] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29ubmVjdGVkLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9kaXJlY3RpdmVzL2Nvbm5lY3RlZC9jb25uZWN0ZWQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFNBQVMsRUFDVCxpQkFBaUIsR0FDcEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLHlCQUF5QixDQU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lbXBsYXRlOiAnJyxcbiAgICBzdHlsZVVybHM6IFsnLi9jb25uZWN0ZWQuc3R5bGUubGVzcyddLFxuICAgIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gICAgaG9zdDoge1xuICAgICAgICBjbGFzczogJ3R1aS1jb25uZWN0ZWQtc3R5bGVzJyxcbiAgICB9LFxufSlcbmNsYXNzIFR1aUNvbm5lY3RlZFN0eWxlcyB7fVxuXG5ARGlyZWN0aXZlKHtcbiAgICBzdGFuZGFsb25lOiB0cnVlLFxuICAgIHNlbGVjdG9yOiAnW3R1aUNvbm5lY3RlZF0nLFxuICAgIGhvc3Q6IHtcbiAgICAgICAgdHVpQ29ubmVjdGVkOiAnJyxcbiAgICAgICAgdHVpQ29ubmVjdGVkVjogVFVJX1ZFUlNJT04sXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQ29ubmVjdGVkIHtcbiAgICBwcm90ZWN0ZWQgcmVhZG9ubHkgbm90aGluZyA9IHR1aVdpdGhTdHlsZXMoVHVpQ29ubmVjdGVkU3R5bGVzKTtcbn1cbiJdfQ==
|
|
@@ -2,6 +2,7 @@ import { ChangeDetectionStrategy, Component, Directive, inject, Input, NgZone, V
|
|
|
2
2
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
3
3
|
import { WaMutationObserverService, WA_MUTATION_OBSERVER_INIT, } from '@ng-web-apis/mutation-observer';
|
|
4
4
|
import { WaResizeObserverService } from '@ng-web-apis/resize-observer';
|
|
5
|
+
import { TUI_VERSION } from '@taiga-ui/cdk/constants';
|
|
5
6
|
import { tuiZonefree } from '@taiga-ui/cdk/observables';
|
|
6
7
|
import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
|
|
7
8
|
import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
@@ -10,13 +11,13 @@ import * as i0 from "@angular/core";
|
|
|
10
11
|
const BUFFER = 1; // buffer for rounding issues
|
|
11
12
|
class TuiFadeStyles {
|
|
12
13
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFadeStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiFadeStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-fade-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiFadeStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-fade-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiFadeV=\"4.84.0\"]{scrollbar-width:none;-ms-overflow-style:none;transition-property:-webkit-mask-position;transition-property:mask-position;transition-property:mask-position,-webkit-mask-position;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;overflow:auto;text-overflow:unset!important;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[tuiFadeV=\"4.84.0\"]::-webkit-scrollbar,[tuiFadeV=\"4.84.0\"]::-webkit-scrollbar-thumb{display:none}[tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical]){overflow-y:hidden;-webkit-mask-image:linear-gradient(to right,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(to left,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(#000,#000);mask-image:linear-gradient(to right,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(to left,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(#000,#000);-webkit-mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top;mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top;-webkit-mask-size:calc(51% + var(--t-fade-size) + var(--t-fade-offset)) var(--t-line-height, 100%),calc(50% + var(--t-fade-size) + var(--t-fade-offset)) var(--t-line-height, 100%),100% calc(100% - var(--t-line-height, 100%));mask-size:calc(51% + var(--t-fade-size) + var(--t-fade-offset)) var(--t-line-height, 100%),calc(50% + var(--t-fade-size) + var(--t-fade-offset)) var(--t-line-height, 100%),100% calc(100% - var(--t-line-height, 100%))}[tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._start{-webkit-mask-position:left bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top;mask-position:left bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top}[tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._end{-webkit-mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,right bottom,top;mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,right bottom,top}[tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._start._end{-webkit-mask-position:left bottom,right bottom,top;mask-position:left bottom,right bottom,top}[dir=rtl] [tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._end{-webkit-mask-position:left bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top;mask-position:left bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top}[dir=rtl] [tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._start{-webkit-mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,right bottom,top;mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,right bottom,top}[dir=rtl] [tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._start._end{-webkit-mask-position:left bottom,right bottom,top;mask-position:left bottom,right bottom,top}[tuiFadeV=\"4.84.0\"][data-orientation=vertical]{overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(to top,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset)));mask-image:linear-gradient(to bottom,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(to top,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset)));-webkit-mask-position:left calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px),left calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px);mask-position:left calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px),left calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px);-webkit-mask-size:100% calc(51% + var(--t-fade-size) + var(--t-fade-offset));mask-size:100% calc(51% + var(--t-fade-size) + var(--t-fade-offset))}[tuiFadeV=\"4.84.0\"][data-orientation=vertical]._start{-webkit-mask-position:left top,left calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px);mask-position:left top,left calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px)}[tuiFadeV=\"4.84.0\"][data-orientation=vertical]._end{-webkit-mask-position:left calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px),left bottom;mask-position:left calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px),left bottom}[tuiFadeV=\"4.84.0\"][data-orientation=vertical]._start._end{-webkit-mask-position:left top,left bottom;mask-position:left top,left bottom}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
14
15
|
}
|
|
15
16
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFadeStyles, decorators: [{
|
|
16
17
|
type: Component,
|
|
17
18
|
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
18
19
|
class: 'tui-fade-styles',
|
|
19
|
-
}, styles: ["[
|
|
20
|
+
}, styles: ["[tuiFadeV=\"4.84.0\"]{scrollbar-width:none;-ms-overflow-style:none;transition-property:-webkit-mask-position;transition-property:mask-position;transition-property:mask-position,-webkit-mask-position;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;overflow:auto;text-overflow:unset!important;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[tuiFadeV=\"4.84.0\"]::-webkit-scrollbar,[tuiFadeV=\"4.84.0\"]::-webkit-scrollbar-thumb{display:none}[tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical]){overflow-y:hidden;-webkit-mask-image:linear-gradient(to right,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(to left,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(#000,#000);mask-image:linear-gradient(to right,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(to left,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(#000,#000);-webkit-mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top;mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top;-webkit-mask-size:calc(51% + var(--t-fade-size) + var(--t-fade-offset)) var(--t-line-height, 100%),calc(50% + var(--t-fade-size) + var(--t-fade-offset)) var(--t-line-height, 100%),100% calc(100% - var(--t-line-height, 100%));mask-size:calc(51% + var(--t-fade-size) + var(--t-fade-offset)) var(--t-line-height, 100%),calc(50% + var(--t-fade-size) + var(--t-fade-offset)) var(--t-line-height, 100%),100% calc(100% - var(--t-line-height, 100%))}[tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._start{-webkit-mask-position:left bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top;mask-position:left bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top}[tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._end{-webkit-mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,right bottom,top;mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,right bottom,top}[tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._start._end{-webkit-mask-position:left bottom,right bottom,top;mask-position:left bottom,right bottom,top}[dir=rtl] [tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._end{-webkit-mask-position:left bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top;mask-position:left bottom,calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px) bottom,top}[dir=rtl] [tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._start{-webkit-mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,right bottom,top;mask-position:calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px) bottom,right bottom,top}[dir=rtl] [tuiFadeV=\"4.84.0\"]:not([data-orientation=vertical])._start._end{-webkit-mask-position:left bottom,right bottom,top;mask-position:left bottom,right bottom,top}[tuiFadeV=\"4.84.0\"][data-orientation=vertical]{overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(to top,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset)));mask-image:linear-gradient(to bottom,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset))),linear-gradient(to top,transparent var(--t-fade-offset),#000 calc(var(--t-fade-size) + var(--t-fade-offset)));-webkit-mask-position:left calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px),left calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px);mask-position:left calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px),left calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px);-webkit-mask-size:100% calc(51% + var(--t-fade-size) + var(--t-fade-offset));mask-size:100% calc(51% + var(--t-fade-size) + var(--t-fade-offset))}[tuiFadeV=\"4.84.0\"][data-orientation=vertical]._start{-webkit-mask-position:left top,left calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px);mask-position:left top,left calc(100% + var(--t-fade-size) + var(--t-fade-offset) - 1px)}[tuiFadeV=\"4.84.0\"][data-orientation=vertical]._end{-webkit-mask-position:left calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px),left bottom;mask-position:left calc(-1 * var(--t-fade-size) - var(--t-fade-offset) + 1px),left bottom}[tuiFadeV=\"4.84.0\"][data-orientation=vertical]._start._end{-webkit-mask-position:left top,left bottom;mask-position:left top,left bottom}\n"] }]
|
|
20
21
|
}] });
|
|
21
22
|
class TuiFade {
|
|
22
23
|
constructor() {
|
|
@@ -49,7 +50,7 @@ class TuiFade {
|
|
|
49
50
|
scrollHeight > clientHeight + 4 * BUFFER;
|
|
50
51
|
}
|
|
51
52
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFade, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
52
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiFade, isStandalone: true, selector: "[tuiFade]", inputs: { lineHeight: ["tuiFadeHeight", "lineHeight"], size: ["tuiFadeSize", "size"], offset: ["tuiFadeOffset", "offset"], orientation: ["tuiFade", "orientation"] }, host: { properties: { "style.line-height": "lineHeight", "style.--t-line-height": "lineHeight", "style.--t-fade-size": "size", "style.--t-fade-offset": "offset", "attr.data-orientation": "orientation", "style.transition": "\"none\"" } }, providers: [
|
|
53
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiFade, isStandalone: true, selector: "[tuiFade]", inputs: { lineHeight: ["tuiFadeHeight", "lineHeight"], size: ["tuiFadeSize", "size"], offset: ["tuiFadeOffset", "offset"], orientation: ["tuiFade", "orientation"] }, host: { attributes: { "tuiFadeV": "4.84.0" }, properties: { "style.line-height": "lineHeight", "style.--t-line-height": "lineHeight", "style.--t-fade-size": "size", "style.--t-fade-offset": "offset", "attr.data-orientation": "orientation", "style.transition": "\"none\"" } }, providers: [
|
|
53
54
|
WaResizeObserverService,
|
|
54
55
|
WaMutationObserverService,
|
|
55
56
|
{
|
|
@@ -73,6 +74,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
73
74
|
},
|
|
74
75
|
],
|
|
75
76
|
host: {
|
|
77
|
+
tuiFadeV: TUI_VERSION,
|
|
76
78
|
'[style.line-height]': 'lineHeight',
|
|
77
79
|
'[style.--t-line-height]': 'lineHeight',
|
|
78
80
|
'[style.--t-fade-size]': 'size',
|
|
@@ -94,4 +96,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
94
96
|
type: Input,
|
|
95
97
|
args: ['tuiFade']
|
|
96
98
|
}] } });
|
|
97
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
99
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvZGlyZWN0aXZlcy9mYWRlL2ZhZGUuZGlyZWN0aXZlLnRzIl0sIm5h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gICAgICAgICAgICAgICAgICBzY3JvbGxIZWlnaHQgPiBjbGllbnRIZWlnaHQgKyA0ICogQlVGRkVSO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Directive, inject, Input, signal, ViewEncapsulation, } from '@angular/core';
|
|
2
2
|
import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
3
3
|
import { TuiIcon } from '@taiga-ui/core/components/icon';
|
|
4
|
+
import { TUI_VERSION } from '@taiga-ui/cdk/constants';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
class TuiIconBadgeStyles {
|
|
6
7
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIconBadgeStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiIconBadgeStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-icon-badge" }, ngImport: i0, template: '', isInline: true, styles: ["[
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiIconBadgeStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-icon-badge" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiIconBadgeV=\"4.84.0\"]:before{content:\"\";position:absolute;right:.143em;bottom:.143em;display:var(--t-icon-badge, none);inline-size:.57em;block-size:.57em;transform:translate(50%,50%);-webkit-mask:var(--t-icon-badge) no-repeat center / contain;mask:var(--t-icon-badge) no-repeat center / contain;background:currentColor}[tuiIconBadgeV=\"4.84.0\"][style*=\"--t-icon-badge:\"]:after{-webkit-mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);-webkit-mask-composite:source-in,xor;mask-composite:intersect}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8
9
|
}
|
|
9
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIconBadgeStyles, decorators: [{
|
|
10
11
|
type: Component,
|
|
11
12
|
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
12
13
|
class: 'tui-icon-badge',
|
|
13
|
-
}, styles: ["[
|
|
14
|
+
}, styles: ["[tuiIconBadgeV=\"4.84.0\"]:before{content:\"\";position:absolute;right:.143em;bottom:.143em;display:var(--t-icon-badge, none);inline-size:.57em;block-size:.57em;transform:translate(50%,50%);-webkit-mask:var(--t-icon-badge) no-repeat center / contain;mask:var(--t-icon-badge) no-repeat center / contain;background:currentColor}[tuiIconBadgeV=\"4.84.0\"][style*=\"--t-icon-badge:\"]:after{-webkit-mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);-webkit-mask-composite:source-in,xor;mask-composite:intersect}\n"] }]
|
|
14
15
|
}] });
|
|
15
16
|
class TuiIconBadge {
|
|
16
17
|
constructor() {
|
|
@@ -22,7 +23,7 @@ class TuiIconBadge {
|
|
|
22
23
|
this.badgeSrc.set(this.icon.resolve(icon));
|
|
23
24
|
}
|
|
24
25
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIconBadge, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
25
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiIconBadge, isStandalone: true, selector: "tui-icon[badge]", inputs: { badge: "badge" }, host: { attributes: { "tuiIconBadge": "" }, properties: { "style.--t-icon-badge": "badgeSrc()" } }, ngImport: i0 }); }
|
|
26
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiIconBadge, isStandalone: true, selector: "tui-icon[badge]", inputs: { badge: "badge" }, host: { attributes: { "tuiIconBadge": "", "tuiIconBadgeV": "4.84.0" }, properties: { "style.--t-icon-badge": "badgeSrc()" } }, ngImport: i0 }); }
|
|
26
27
|
}
|
|
27
28
|
export { TuiIconBadge };
|
|
28
29
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIconBadge, decorators: [{
|
|
@@ -32,10 +33,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
32
33
|
selector: 'tui-icon[badge]',
|
|
33
34
|
host: {
|
|
34
35
|
tuiIconBadge: '',
|
|
36
|
+
tuiIconBadgeV: TUI_VERSION,
|
|
35
37
|
'[style.--t-icon-badge]': 'badgeSrc()',
|
|
36
38
|
},
|
|
37
39
|
}]
|
|
38
40
|
}], propDecorators: { badge: [{
|
|
39
41
|
type: Input
|
|
40
42
|
}] } });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi1iYWRnZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvZGlyZWN0aXZlcy9pY29uLWJhZGdlL2ljb24tYmFkZ2UuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFNBQVMsRUFDVCxNQUFNLEVBQ04sS0FBSyxFQUNML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