@taiga-ui/core 3.11.0 → 3.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/bundles/taiga-ui-core-components-alert.umd.js +3 -1
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +3 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +21 -10
- package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +3 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +3 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +3 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +3 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +3 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-date.umd.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.js +3 -1
- package/bundles/taiga-ui-core-services.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +3 -1
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
- package/components/alert/alert.component.d.ts +1 -1
- package/components/button/button-options.d.ts +3 -3
- package/components/button/button.component.d.ts +2 -2
- package/components/calendar/calendar.component.d.ts +1 -1
- package/components/data-list/data-list.component.d.ts +1 -1
- package/components/data-list/option/option.component.d.ts +1 -1
- package/components/link/link.component.d.ts +1 -1
- package/components/loader/loader.component.d.ts +1 -1
- package/components/notification/notification.component.d.ts +1 -1
- package/components/primitive-calendar/primitive-calendar.component.d.ts +2 -2
- package/components/primitive-textfield/primitive-textfield.component.d.ts +3 -3
- package/components/primitive-year-picker/primitive-year-picker.component.d.ts +1 -1
- package/components/scroll-controls/scrollbar.directive.d.ts +1 -1
- package/components/svg/svg.component.d.ts +5 -4
- package/components/tooltip/tooltip.component.d.ts +1 -1
- package/directives/dropdown/dropdown-selection.directive.d.ts +1 -1
- package/directives/dropdown/dropdown.component.d.ts +1 -1
- package/directives/hint/hint.component.d.ts +1 -1
- package/directives/scroll-into-view/scroll-into-view.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-icon.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-size.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield.controller.d.ts +3 -3
- package/esm2015/components/alert/alert.component.js +5 -3
- package/esm2015/components/button/button-options.js +1 -1
- package/esm2015/components/calendar/calendar.component.js +1 -1
- package/esm2015/components/data-list/option/option.component.js +1 -1
- package/esm2015/components/link/link.component.js +1 -1
- package/esm2015/components/notification/notification.component.js +1 -1
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +1 -1
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +1 -1
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +1 -1
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +1 -1
- package/esm2015/components/root/root.component.js +1 -1
- package/esm2015/components/scroll-controls/scrollbar.directive.js +5 -3
- package/esm2015/components/svg/svg.component.js +24 -13
- package/esm2015/components/tooltip/tooltip.component.js +5 -3
- package/esm2015/directives/dropdown/dropdown-selection.directive.js +1 -1
- package/esm2015/directives/dropdown/dropdown.component.js +5 -3
- package/esm2015/directives/hint/hint.component.js +5 -3
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +5 -3
- package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +1 -1
- package/esm2015/directives/textfield-controller/textfield-icon.directive.js +1 -1
- package/esm2015/directives/textfield-controller/textfield-size.directive.js +1 -1
- package/esm2015/directives/textfield-controller/textfield.controller.js +1 -1
- package/esm2015/interfaces/alert-options.js +1 -1
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +5 -3
- package/esm2015/mask/text-mask-list.js +1 -1
- package/esm2015/mask/text-mask-pipe-handler.js +1 -1
- package/esm2015/pipes/format-date/format-date.pipe.js +1 -1
- package/esm2015/services/router-link-active.service.js +5 -3
- package/esm2015/tokens/svg-content-processor.js +4 -2
- package/esm2015/tokens/svg-src-processor.js +1 -1
- package/esm2015/types/brightness.js +1 -1
- package/esm2015/types/decimal-symbol.js +1 -1
- package/esm2015/types/decimal.js +1 -1
- package/esm2015/types/dialog-size.js +1 -1
- package/esm2015/types/direction.js +1 -1
- package/esm2015/types/dropdown-width.js +1 -1
- package/esm2015/types/hint-direction.js +1 -1
- package/esm2015/types/marker-handler.js +1 -1
- package/esm2015/types/option-role.js +1 -1
- package/esm2015/types/orientation.js +1 -1
- package/esm2015/types/size.js +1 -1
- package/esm2015/utils/mask/create-number-mask.js +1 -1
- package/esm2015/utils/miscellaneous/size-bigger.js +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js +4 -2
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +1 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +4 -2
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-svg.js +23 -12
- package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +4 -2
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +4 -2
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +4 -2
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +4 -2
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +4 -2
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-date.js.map +1 -1
- package/fesm2015/taiga-ui-core-services.js +4 -2
- package/fesm2015/taiga-ui-core-services.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +3 -1
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-types.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/interfaces/alert-options.d.ts +1 -1
- package/internal/svg-defs-host/svg-defs-host.component.d.ts +1 -1
- package/mask/text-mask-list.d.ts +1 -1
- package/mask/text-mask-pipe-handler.d.ts +1 -1
- package/package.json +10 -10
- package/pipes/format-date/format-date.pipe.d.ts +1 -1
- package/services/router-link-active.service.d.ts +1 -1
- package/tokens/svg-content-processor.d.ts +3 -2
- package/tokens/svg-src-processor.d.ts +3 -2
- package/types/brightness.d.ts +1 -1
- package/types/decimal-symbol.d.ts +1 -1
- package/types/decimal.d.ts +1 -1
- package/types/dialog-size.d.ts +1 -1
- package/types/direction.d.ts +1 -1
- package/types/dropdown-width.d.ts +1 -1
- package/types/hint-direction.d.ts +1 -1
- package/types/marker-handler.d.ts +1 -1
- package/types/option-role.d.ts +1 -1
- package/types/orientation.d.ts +1 -1
- package/types/size.d.ts +3 -3
- package/utils/miscellaneous/size-bigger.d.ts +1 -1
|
@@ -4,4 +4,4 @@ import type { TuiTextMaskPipeResult } from './text-mask-pipe-result';
|
|
|
4
4
|
/**
|
|
5
5
|
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#pipe}
|
|
6
6
|
*/
|
|
7
|
-
export declare type TuiTextMaskPipeHandler = (conformedValue: string, config:
|
|
7
|
+
export declare type TuiTextMaskPipeHandler = (conformedValue: string, config: TuiTextMaskConfig & TuiTextMaskOptions) => TuiTextMaskPipeResult | string | false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.12.0",
|
|
4
4
|
"description": "Core library for creating Angular components and applications using Taiga UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
"repository": "https://github.com/tinkoff/taiga-ui",
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@taiga-ui/i18n": "^3.
|
|
18
|
+
"@taiga-ui/i18n": "^3.12.0",
|
|
19
19
|
"tslib": "^2.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@angular/animations": ">=
|
|
23
|
-
"@angular/common": ">=
|
|
24
|
-
"@angular/core": ">=
|
|
25
|
-
"@angular/forms": ">=
|
|
26
|
-
"@angular/platform-browser": ">=
|
|
27
|
-
"@angular/router": ">=
|
|
22
|
+
"@angular/animations": ">=12.0.0",
|
|
23
|
+
"@angular/common": ">=12.0.0",
|
|
24
|
+
"@angular/core": ">=12.0.0",
|
|
25
|
+
"@angular/forms": ">=12.0.0",
|
|
26
|
+
"@angular/platform-browser": ">=12.0.0",
|
|
27
|
+
"@angular/router": ">=12.0.0",
|
|
28
28
|
"@ng-web-apis/common": ">=2.0.0",
|
|
29
29
|
"@ng-web-apis/mutation-observer": ">=2.0.0",
|
|
30
|
-
"@taiga-ui/cdk": ">=3.
|
|
31
|
-
"@taiga-ui/i18n": ">=3.
|
|
30
|
+
"@taiga-ui/cdk": ">=3.12.0",
|
|
31
|
+
"@taiga-ui/i18n": ">=3.12.0",
|
|
32
32
|
"@tinkoff/ng-event-plugins": ">=3.0.0",
|
|
33
33
|
"@tinkoff/ng-polymorpheus": ">=4.0.0",
|
|
34
34
|
"rxjs": ">=6.0.0"
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class TuiFormatDatePipe implements PipeTransform {
|
|
6
6
|
private readonly service;
|
|
7
7
|
constructor(service: TuiFormatDateService);
|
|
8
|
-
transform(timestampOrDate:
|
|
8
|
+
transform(timestampOrDate: Date | number): Observable<string>;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFormatDatePipe, never>;
|
|
10
10
|
static ɵpipe: i0.ɵɵPipeDeclaration<TuiFormatDatePipe, "tuiFormatDate">;
|
|
11
11
|
}
|
|
@@ -5,6 +5,6 @@ import { Observable } from 'rxjs';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TuiRouterLinkActiveService extends Observable<boolean> {
|
|
7
7
|
constructor(routerLinkActive: RouterLinkActive | null, ngZone: NgZone, animationFrame$: Observable<number>, destroy$: TuiDestroyService);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRouterLinkActiveService, [{ optional: true; }, null, null,
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRouterLinkActiveService, [{ optional: true; }, null, null, { self: true; }]>;
|
|
9
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<TuiRouterLinkActiveService>;
|
|
10
10
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import { TuiHandler } from '@taiga-ui/cdk';
|
|
4
|
+
export declare const TUI_SVG_CONTENT_PROCESSOR: InjectionToken<TuiHandler<string | SafeHtml, string | SafeHtml>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import { TuiHandler } from '@taiga-ui/cdk';
|
|
4
|
+
export declare const TUI_SVG_SRC_PROCESSOR: InjectionToken<TuiHandler<string | SafeHtml, string | SafeHtml>>;
|
package/types/brightness.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type TuiBrightness = '
|
|
1
|
+
export declare type TuiBrightness = 'onDark' | 'onLight';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type TuiDecimalSymbol = '
|
|
1
|
+
export declare type TuiDecimalSymbol = ',' | '.';
|
package/types/decimal.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type TuiDecimal = '
|
|
1
|
+
export declare type TuiDecimal = 'always' | 'never' | 'not-zero';
|
package/types/dialog-size.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TuiSizeL, TuiSizeS } from './size';
|
|
2
|
-
export declare type TuiDialogSize =
|
|
2
|
+
export declare type TuiDialogSize = TuiSizeL | TuiSizeS | 'auto' | 'fullscreen' | 'page';
|
package/types/direction.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare type TuiHorizontalDirection = 'left' | 'right';
|
|
2
|
-
export declare type TuiVerticalDirection = '
|
|
2
|
+
export declare type TuiVerticalDirection = 'bottom' | 'top';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type TuiDropdownWidth = '
|
|
1
|
+
export declare type TuiDropdownWidth = 'auto' | 'fixed' | 'min';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type TuiHintDirection = '
|
|
1
|
+
export declare type TuiHintDirection = 'bottom-left' | 'bottom-right' | 'bottom' | 'left-bottom' | 'left-top' | 'left' | 'right-bottom' | 'right-top' | 'right' | 'top-left' | 'top-right' | 'top';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TuiDay, TuiHandler } from '@taiga-ui/cdk';
|
|
2
|
-
export declare type TuiMarkerHandler = TuiHandler<TuiDay, [] | [string] | [string
|
|
2
|
+
export declare type TuiMarkerHandler = TuiHandler<TuiDay, [] | [string, string] | [string]>;
|
package/types/option-role.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type TuiOptionRole = '
|
|
1
|
+
export declare type TuiOptionRole = 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'option';
|
package/types/orientation.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type TuiOrientation = '
|
|
1
|
+
export declare type TuiOrientation = 'horizontal' | 'vertical';
|
package/types/size.d.ts
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* 'xxl' - extra extra large
|
|
11
11
|
*/
|
|
12
12
|
export declare type TuiSizeM = 'm';
|
|
13
|
-
export declare type TuiSizeS = 's'
|
|
13
|
+
export declare type TuiSizeS = TuiSizeM | 's';
|
|
14
14
|
export declare type TuiSizeL = TuiSizeM | 'l';
|
|
15
|
-
export declare type TuiSizeXS = 'xs'
|
|
16
|
-
export declare type TuiSizeXXS = 'xxs'
|
|
15
|
+
export declare type TuiSizeXS = TuiSizeS | 'xs';
|
|
16
|
+
export declare type TuiSizeXXS = TuiSizeXS | 'xxs';
|
|
17
17
|
export declare type TuiSizeXL = TuiSizeL | 'xl';
|
|
18
18
|
export declare type TuiSizeXXL = TuiSizeXL | 'xxl';
|
|
@@ -5,4 +5,4 @@ import { TuiSizeXXL, TuiSizeXXS } from '@taiga-ui/core/types';
|
|
|
5
5
|
* @param size size that we need to compare
|
|
6
6
|
* @param biggerThanSize size to compare with, 's' by default
|
|
7
7
|
*/
|
|
8
|
-
export declare function tuiSizeBigger(size:
|
|
8
|
+
export declare function tuiSizeBigger(size: TuiSizeXXL | TuiSizeXXS, biggerThanSize?: TuiSizeXXL | TuiSizeXXS): boolean;
|