@taiga-ui/kit 4.10.0 → 4.12.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/accordion/accordion-item.component.d.ts +1 -1
- package/components/input-phone-international/input-phone-international.component.d.ts +3 -2
- package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -0
- package/directives/tooltip/tooltip.directive.d.ts +2 -2
- package/esm2022/components/accordion/accordion-item.component.mjs +3 -3
- package/esm2022/components/action-bar/action-bar.component.mjs +3 -3
- package/esm2022/components/badge/badge.directive.mjs +2 -2
- package/esm2022/components/block/block.options.mjs +2 -2
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
- package/esm2022/components/calendar-range/calendar-range.component.mjs +3 -3
- package/esm2022/components/carousel/carousel.component.mjs +1 -1
- package/esm2022/components/checkbox/checkbox.options.mjs +2 -2
- package/esm2022/components/chip/chip.directive.mjs +2 -2
- package/esm2022/components/confirm/confirm.component.mjs +3 -9
- package/esm2022/components/files/input-files/input-files.component.mjs +3 -3
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +12 -8
- package/esm2022/components/line-clamp/line-clamp-box.component.mjs +3 -3
- package/esm2022/components/pagination/pagination.component.mjs +3 -3
- package/esm2022/components/pin/pin.directive.mjs +2 -2
- package/esm2022/components/preview/preview-dialog/preview-dialog.component.mjs +3 -3
- package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +3 -3
- package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +2 -2
- package/esm2022/components/radio/radio.options.mjs +2 -2
- package/esm2022/components/slider/slider.component.mjs +3 -5
- package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +5 -3
- package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +3 -3
- package/esm2022/directives/sensitive/sensitive.directive.mjs +3 -3
- package/esm2022/directives/tooltip/tooltip.directive.mjs +13 -11
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-confirm.mjs +2 -8
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +11 -7
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-preview-preview-dialog.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-preview-preview-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +2 -4
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tree.mjs +4 -2
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +2 -2
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +2 -2
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +12 -10
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
- package/package.json +19 -19
- package/styles/components/badge.less +12 -6
- package/styles/components/chip.less +4 -2
- package/styles/components/pin.less +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, inject,
|
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, inject, Directive } from '@angular/core';
|
|
3
3
|
import { toSignal } from '@angular/core/rxjs-interop';
|
|
4
4
|
import { tuiWatch } from '@taiga-ui/cdk/observables';
|
|
5
5
|
import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
|
|
@@ -14,13 +14,13 @@ import { map } from 'rxjs';
|
|
|
14
14
|
|
|
15
15
|
class TuiTooltipStyles {
|
|
16
16
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTooltipStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTooltipStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-tooltip" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiTooltip]{border-width:.25rem;border-radius:100%;cursor:pointer;pointer-events:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTooltipStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-tooltip" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiTooltip]{border-width:.25rem;border-radius:100%;cursor:pointer;pointer-events:auto}@media (hover: hover){tui-textfield:hover [tuiTooltip][data-appearance=icon]:after{color:var(--tui-text-secondary)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
18
18
|
}
|
|
19
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTooltipStyles, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
22
22
|
class: 'tui-tooltip',
|
|
23
|
-
}, styles: ["[tuiTooltip]{border-width:.25rem;border-radius:100%;cursor:pointer;pointer-events:auto}\n"] }]
|
|
23
|
+
}, styles: ["[tuiTooltip]{border-width:.25rem;border-radius:100%;cursor:pointer;pointer-events:auto}@media (hover: hover){tui-textfield:hover [tuiTooltip][data-appearance=icon]:after{color:var(--tui-text-secondary)}}\n"] }]
|
|
24
24
|
}] });
|
|
25
25
|
class TuiTooltip {
|
|
26
26
|
constructor() {
|
|
@@ -29,22 +29,24 @@ class TuiTooltip {
|
|
|
29
29
|
this.describe = inject(TuiHintDescribe);
|
|
30
30
|
this.driver = inject(TuiHintHover);
|
|
31
31
|
this.nothing = tuiWithStyles(TuiTooltipStyles);
|
|
32
|
-
this.state = tuiAppearanceState(toSignal(inject(TuiHintHover).pipe(map((hover) => (hover ? 'hover' : null)), tuiWatch(
|
|
32
|
+
this.state = tuiAppearanceState(toSignal(inject(TuiHintHover).pipe(map((hover) => (hover ? 'hover' : null)), tuiWatch()), { initialValue: null }));
|
|
33
33
|
}
|
|
34
34
|
ngDoCheck() {
|
|
35
35
|
if (this.textfield?.id) {
|
|
36
36
|
this.describe.tuiHintDescribe = this.textfield.id;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
onClick(event) {
|
|
40
40
|
if (this.isMobile) {
|
|
41
41
|
event.preventDefault();
|
|
42
42
|
event.stopPropagation();
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
else {
|
|
45
|
+
this.driver.toggle();
|
|
46
|
+
}
|
|
45
47
|
}
|
|
46
48
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTooltip, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
47
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTooltip, isStandalone: true, selector: "tui-icon[tuiTooltip]", host: { attributes: { "tuiTooltip": "" }, listeners: { "mousedown": "
|
|
49
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTooltip, isStandalone: true, selector: "tui-icon[tuiTooltip]", host: { attributes: { "tuiTooltip": "" }, listeners: { "mousedown": "onClick($event)" } }, providers: [
|
|
48
50
|
{
|
|
49
51
|
provide: TUI_APPEARANCE_OPTIONS,
|
|
50
52
|
useValue: { appearance: 'icon' },
|
|
@@ -53,7 +55,7 @@ class TuiTooltip {
|
|
|
53
55
|
provide: TUI_ICON_START,
|
|
54
56
|
useFactory: () => inject(TUI_HINT_OPTIONS).icon,
|
|
55
57
|
},
|
|
56
|
-
], hostDirectives: [{ directive: i1.TuiWithAppearance }, { directive: i2.TuiHintDescribe, inputs: ["tuiHintDescribe", "
|
|
58
|
+
], hostDirectives: [{ directive: i1.TuiWithAppearance }, { directive: i2.TuiHintDescribe, inputs: ["tuiHintDescribe", "tuiTooltipDescribe"] }, { directive: i2.TuiHintDirective, inputs: ["tuiHint", "tuiTooltip", "tuiHintAppearance", "tuiHintAppearance", "tuiHintContext", "tuiHintContext"] }], ngImport: i0 }); }
|
|
57
59
|
}
|
|
58
60
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTooltip, decorators: [{
|
|
59
61
|
type: Directive,
|
|
@@ -74,7 +76,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
74
76
|
TuiWithAppearance,
|
|
75
77
|
{
|
|
76
78
|
directive: TuiHintDescribe,
|
|
77
|
-
inputs: ['tuiHintDescribe'],
|
|
79
|
+
inputs: ['tuiHintDescribe: tuiTooltipDescribe'],
|
|
78
80
|
},
|
|
79
81
|
{
|
|
80
82
|
directive: TuiHintDirective,
|
|
@@ -83,7 +85,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
83
85
|
],
|
|
84
86
|
host: {
|
|
85
87
|
tuiTooltip: '',
|
|
86
|
-
'(mousedown)': '
|
|
88
|
+
'(mousedown)': 'onClick($event)',
|
|
87
89
|
},
|
|
88
90
|
}]
|
|
89
91
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-directives-tooltip.mjs","sources":["../../../projects/kit/directives/tooltip/tooltip.directive.ts","../../../projects/kit/directives/tooltip/taiga-ui-kit-directives-tooltip.ts"],"sourcesContent":["import type {DoCheck, Signal} from '@angular/core';\nimport {\n ChangeDetectionStrategy,\n
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-directives-tooltip.mjs","sources":["../../../projects/kit/directives/tooltip/tooltip.directive.ts","../../../projects/kit/directives/tooltip/taiga-ui-kit-directives-tooltip.ts"],"sourcesContent":["import type {DoCheck, Signal} from '@angular/core';\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {\n TUI_APPEARANCE_OPTIONS,\n tuiAppearanceState,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {\n TUI_HINT_OPTIONS,\n TuiHintDescribe,\n TuiHintDirective,\n TuiHintHover,\n} from '@taiga-ui/core/directives/hint';\nimport {TUI_ICON_START} from '@taiga-ui/core/tokens';\nimport {map} from 'rxjs';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./tooltip.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-tooltip',\n },\n})\nclass TuiTooltipStyles {}\n\n@Directive({\n standalone: true,\n selector: 'tui-icon[tuiTooltip]',\n providers: [\n {\n provide: TUI_APPEARANCE_OPTIONS,\n useValue: {appearance: 'icon'},\n },\n {\n provide: TUI_ICON_START,\n useFactory: () => inject(TUI_HINT_OPTIONS).icon,\n },\n ],\n hostDirectives: [\n TuiWithAppearance,\n {\n directive: TuiHintDescribe,\n inputs: ['tuiHintDescribe: tuiTooltipDescribe'],\n },\n {\n directive: TuiHintDirective,\n inputs: ['tuiHint: tuiTooltip', 'tuiHintAppearance', 'tuiHintContext'],\n },\n ],\n host: {\n tuiTooltip: '',\n '(mousedown)': 'onClick($event)',\n },\n})\nexport class TuiTooltip implements DoCheck {\n private readonly textfield = inject(TuiTextfieldComponent, {optional: true});\n private readonly isMobile = inject(TUI_IS_MOBILE);\n private readonly describe = inject(TuiHintDescribe);\n private readonly driver = inject(TuiHintHover);\n\n protected readonly nothing = tuiWithStyles(TuiTooltipStyles);\n protected readonly state: Signal<unknown> = tuiAppearanceState(\n toSignal(\n inject(TuiHintHover).pipe(\n map((hover) => (hover ? 'hover' : null)),\n tuiWatch(),\n ),\n {initialValue: null},\n ),\n );\n\n public ngDoCheck(): void {\n if (this.textfield?.id) {\n this.describe.tuiHintDescribe = this.textfield.id;\n }\n }\n\n protected onClick(event: MouseEvent): void {\n if (this.isMobile) {\n event.preventDefault();\n event.stopPropagation();\n } else {\n this.driver.toggle();\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA2BA,MAUM,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,iHARR,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,+MAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAQV,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAVrB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,EAAE,EAAA,a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AChB,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,SAAS,EAAE;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,sBAAsB;AAC/B,4BAAA,QAAQ,EAAE,EAAC,UAAU,EAAE,MAAM,EAAC;AACjC,yBAAA;AACD,wBAAA;AACI,4BAAA,OAAO,EAAE,cAAc;4BACvB,UAAU,EAAE,MAAM,MAAM,CAAC,gBAAgB,CAAC,CAAC,IAAI;AAClD,yBAAA;AACJ,qBAAA;AACD,oBAAA,cAAc,EAAE;wBACZ,iBAAiB;AACjB,wBAAA;AACI,4BAAA,SAAS,EAAE,eAAe;4BAC1B,MAAM,EAAE,CAAC,qCAAqC,CAAC;AAClD,yBAAA;AACD,wBAAA;AACI,4BAAA,SAAS,EAAE,gBAAgB;AAC3B,4BAAA,MAAM,EAAE,CAAC,qBAAqB,EAAE,mBAAmB,EAAE,gBAAgB,CAAC;AACzE,yBAAA;AACJ,qBAAA;AACD,oBAAA,IAAI,EAAE;AACF,wBAAA,UAAU,EAAE,EAAE;AACd,wBAAA,aAAa,EAAE,iBAAiB;AACnC,qBAAA;AACJ,iBAAA,CAAA;;;ACnED;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/kit",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.12.0",
|
|
4
4
|
"description": "Taiga UI Angular main components kit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -455,18 +455,18 @@
|
|
|
455
455
|
"esm": "./esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs",
|
|
456
456
|
"default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
|
|
457
457
|
},
|
|
458
|
-
"./pipes/filter-by-input": {
|
|
459
|
-
"types": "./pipes/filter-by-input/index.d.ts",
|
|
460
|
-
"esm2022": "./esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs",
|
|
461
|
-
"esm": "./esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs",
|
|
462
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
|
|
463
|
-
},
|
|
464
458
|
"./pipes/field-error": {
|
|
465
459
|
"types": "./pipes/field-error/index.d.ts",
|
|
466
460
|
"esm2022": "./esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs",
|
|
467
461
|
"esm": "./esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs",
|
|
468
462
|
"default": "./fesm2022/taiga-ui-kit-pipes-field-error.mjs"
|
|
469
463
|
},
|
|
464
|
+
"./pipes/filter-by-input": {
|
|
465
|
+
"types": "./pipes/filter-by-input/index.d.ts",
|
|
466
|
+
"esm2022": "./esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs",
|
|
467
|
+
"esm": "./esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs",
|
|
468
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
|
|
469
|
+
},
|
|
470
470
|
"./pipes/sort-countries": {
|
|
471
471
|
"types": "./pipes/sort-countries/index.d.ts",
|
|
472
472
|
"esm2022": "./esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs",
|
|
@@ -503,17 +503,17 @@
|
|
|
503
503
|
"@angular/core": ">=16.0.0",
|
|
504
504
|
"@angular/forms": ">=16.0.0",
|
|
505
505
|
"@angular/router": ">=16.0.0",
|
|
506
|
-
"@maskito/angular": "^3.
|
|
507
|
-
"@maskito/core": "^3.
|
|
508
|
-
"@maskito/kit": "^3.
|
|
509
|
-
"@maskito/phone": "^3.
|
|
510
|
-
"@ng-web-apis/common": "^4.
|
|
511
|
-
"@ng-web-apis/intersection-observer": "^4.
|
|
512
|
-
"@ng-web-apis/mutation-observer": "^4.
|
|
513
|
-
"@ng-web-apis/resize-observer": "^4.
|
|
514
|
-
"@taiga-ui/cdk": "^4.
|
|
515
|
-
"@taiga-ui/core": "^4.
|
|
516
|
-
"@taiga-ui/i18n": "^4.
|
|
506
|
+
"@maskito/angular": "^3.1.1",
|
|
507
|
+
"@maskito/core": "^3.1.1",
|
|
508
|
+
"@maskito/kit": "^3.1.1",
|
|
509
|
+
"@maskito/phone": "^3.1.1",
|
|
510
|
+
"@ng-web-apis/common": "^4.11.1",
|
|
511
|
+
"@ng-web-apis/intersection-observer": "^4.11.1",
|
|
512
|
+
"@ng-web-apis/mutation-observer": "^4.11.1",
|
|
513
|
+
"@ng-web-apis/resize-observer": "^4.11.1",
|
|
514
|
+
"@taiga-ui/cdk": "^4.12.0",
|
|
515
|
+
"@taiga-ui/core": "^4.12.0",
|
|
516
|
+
"@taiga-ui/i18n": "^4.12.0",
|
|
517
517
|
"@taiga-ui/polymorpheus": "^4.7.4",
|
|
518
518
|
"rxjs": ">=7.0.0"
|
|
519
519
|
},
|
|
@@ -521,6 +521,6 @@
|
|
|
521
521
|
"typings": "index.d.ts",
|
|
522
522
|
"sideEffects": false,
|
|
523
523
|
"dependencies": {
|
|
524
|
-
"tslib": "
|
|
524
|
+
"tslib": ">=2.8.0"
|
|
525
525
|
}
|
|
526
526
|
}
|
|
@@ -46,11 +46,13 @@ tui-badge,
|
|
|
46
46
|
font-size: var(--t-icon-size) !important;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
&[data-appearance='error']
|
|
49
|
+
&[data-appearance='error'], /* TODO @deprecated remove in v5 */
|
|
50
|
+
&[data-appearance='negative'] {
|
|
50
51
|
--t-status: var(--tui-status-negative);
|
|
51
52
|
}
|
|
52
53
|
|
|
53
|
-
&[data-appearance='success']
|
|
54
|
+
&[data-appearance='success'], /* TODO @deprecated remove in v5 */
|
|
55
|
+
&[data-appearance='positive'] {
|
|
54
56
|
--t-status: var(--tui-status-positive);
|
|
55
57
|
}
|
|
56
58
|
|
|
@@ -66,8 +68,10 @@ tui-badge,
|
|
|
66
68
|
--t-status: var(--tui-status-neutral);
|
|
67
69
|
}
|
|
68
70
|
|
|
69
|
-
&[tuiStatus][data-appearance='error']::before,
|
|
70
|
-
&[tuiStatus][data-appearance='success']::before,
|
|
71
|
+
&[tuiStatus][data-appearance='error']::before, /* TODO @deprecated remove in v5 */
|
|
72
|
+
&[tuiStatus][data-appearance='success']::before, /* TODO @deprecated remove in v5 */
|
|
73
|
+
&[tuiStatus][data-appearance='negative']::before,
|
|
74
|
+
&[tuiStatus][data-appearance='positive']::before,
|
|
71
75
|
&[tuiStatus][data-appearance='warning']::before,
|
|
72
76
|
&[tuiStatus][data-appearance='info']::before,
|
|
73
77
|
&[tuiStatus][data-appearance='neutral']::before {
|
|
@@ -110,8 +114,10 @@ tui-badge,
|
|
|
110
114
|
}
|
|
111
115
|
}
|
|
112
116
|
|
|
113
|
-
&[tuiAppearance][data-appearance='error'],
|
|
114
|
-
&[tuiAppearance][data-appearance='success'],
|
|
117
|
+
&[tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
|
|
118
|
+
&[tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
|
|
119
|
+
&[tuiAppearance][data-appearance='negative'],
|
|
120
|
+
&[tuiAppearance][data-appearance='positive'],
|
|
115
121
|
&[tuiAppearance][data-appearance='warning'],
|
|
116
122
|
&[tuiAppearance][data-appearance='info'],
|
|
117
123
|
&[tuiAppearance][data-appearance='neutral'] {
|
|
@@ -99,8 +99,10 @@ tui-chip,
|
|
|
99
99
|
margin: 0;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
&[tuiAppearance][data-appearance='error'],
|
|
103
|
-
&[tuiAppearance][data-appearance='success'],
|
|
102
|
+
&[tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
|
|
103
|
+
&[tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
|
|
104
|
+
&[tuiAppearance][data-appearance='negative'],
|
|
105
|
+
&[tuiAppearance][data-appearance='positive'],
|
|
104
106
|
&[tuiAppearance][data-appearance='warning'],
|
|
105
107
|
&[tuiAppearance][data-appearance='info'],
|
|
106
108
|
&[tuiAppearance][data-appearance='neutral'] {
|
|
@@ -34,7 +34,7 @@ tui-pin,
|
|
|
34
34
|
box-sizing: border-box;
|
|
35
35
|
color: var(--tui-text-primary-on-accent-2);
|
|
36
36
|
background: var(--tui-background-accent-2);
|
|
37
|
-
box-shadow: 0 0 0 0.125rem var(--tui-background-elevation-
|
|
37
|
+
box-shadow: 0 0 0 0.125rem var(--tui-background-elevation-2);
|
|
38
38
|
border: 0 solid var(--tui-background-accent-2);
|
|
39
39
|
transform: translate(-50%, -50%);
|
|
40
40
|
|