@taiga-ui/core 3.41.1 → 3.42.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/animations/animations.d.ts +1 -1
- package/bundles/taiga-ui-core-animations.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +2 -2
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +3 -5
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-error.umd.js +1 -1
- package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +2 -2
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +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 +2 -2
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +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 +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 +6 -6
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +1 -1
- 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 +2 -2
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +4 -4
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-enums.umd.js +8 -8
- package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-observables.umd.js +3 -3
- package/bundles/taiga-ui-core-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.js +4 -4
- package/bundles/taiga-ui-core-services.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +20 -38
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/components/button/button.options.d.ts +1 -1
- package/components/dialog/dialog.tokens.d.ts +3 -3
- package/components/loader/loader.options.d.ts +1 -1
- package/components/primitive-checkbox/checkbox.options.d.ts +2 -2
- package/components/primitive-textfield/primitive-textfield-types.d.ts +4 -4
- package/components/scroll-controls/scroll-controls.component.d.ts +2 -2
- package/components/scroll-controls/scrollbar.directive.d.ts +1 -1
- package/components/svg/svg-options.d.ts +2 -2
- package/components/tooltip/tooltip.component.d.ts +4 -3
- package/constants/cache-basting-payload.d.ts +1 -1
- package/directives/dropdown/dropdown-hover.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-options.directive.d.ts +2 -2
- package/directives/dropdown/index.d.ts +1 -1
- package/directives/hint/hint-describe.directive.d.ts +2 -2
- package/directives/hint/hint-options.directive.d.ts +2 -2
- package/enums/appearance.d.ts +3 -3
- package/enums/interactive-state.d.ts +3 -3
- package/enums/notification.d.ts +2 -2
- package/enums/range-state.d.ts +2 -2
- package/esm2015/animations/animations.js +1 -1
- package/esm2015/components/alert/alert.component.js +2 -2
- package/esm2015/components/button/button.component.js +2 -2
- package/esm2015/components/button/button.options.js +3 -3
- package/esm2015/components/calendar/calendar.component.js +2 -2
- package/esm2015/components/dialog/dialog.component.js +2 -2
- package/esm2015/components/dialog/dialog.tokens.js +4 -7
- package/esm2015/components/error/error.component.js +2 -2
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +2 -2
- package/esm2015/components/loader/loader.component.js +2 -2
- package/esm2015/components/loader/loader.options.js +3 -3
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +2 -2
- package/esm2015/components/primitive-checkbox/checkbox.options.js +3 -3
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +2 -2
- package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +2 -2
- package/esm2015/components/primitive-textfield/primitive-textfield-types.js +1 -1
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +2 -2
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +2 -2
- package/esm2015/components/root/root.component.js +1 -1
- package/esm2015/components/scroll-controls/scroll-controls.component.js +4 -4
- package/esm2015/components/scroll-controls/scrollbar.directive.js +4 -4
- package/esm2015/components/svg/svg-options.js +1 -1
- package/esm2015/components/svg/svg.component.js +2 -2
- package/esm2015/components/tooltip/tooltip.component.js +4 -2
- package/esm2015/directives/dropdown/dropdown-hover.directive.js +2 -2
- package/esm2015/directives/dropdown/dropdown-hover.options.js +14 -0
- package/esm2015/directives/dropdown/dropdown-options.directive.js +3 -3
- package/esm2015/directives/dropdown/index.js +2 -2
- package/esm2015/directives/hint/hint-describe.directive.js +4 -4
- package/esm2015/directives/hint/hint-options.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield.options.js +3 -3
- package/esm2015/enums/appearance.js +4 -4
- package/esm2015/enums/interactive-state.js +3 -3
- package/esm2015/enums/notification.js +3 -3
- package/esm2015/enums/range-state.js +2 -2
- package/esm2015/interfaces/alert-options.js +1 -1
- package/esm2015/interfaces/data-list-host.js +1 -1
- package/esm2015/interfaces/dialog-options.js +1 -1
- package/esm2015/interfaces/icon-error.js +1 -1
- package/esm2015/interfaces/media.js +1 -1
- package/esm2015/interfaces/number-format-settings.js +1 -1
- package/esm2015/interfaces/portal-item.js +1 -1
- package/esm2015/interfaces/textfield-host.js +1 -1
- package/esm2015/interfaces/with-optional-min-max.js +1 -1
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +2 -2
- package/esm2015/mask/number-mask-options.js +1 -1
- package/esm2015/mask/text-mask-config.js +1 -1
- package/esm2015/mask/text-mask-options.js +1 -1
- package/esm2015/mask/text-mask-pipe-result.js +1 -1
- package/esm2015/observables/zoneful-map.js +4 -4
- package/esm2015/pipes/calendar-sheet/utils.js +1 -1
- package/esm2015/services/position.service.js +3 -3
- package/esm2015/services/router-link-active.service.js +3 -3
- package/esm2015/tokens/animations-duration.js +3 -5
- package/esm2015/tokens/common-icon.js +3 -3
- package/esm2015/tokens/day-type-handler.js +3 -5
- package/esm2015/tokens/first-day-of-week.js +3 -6
- package/esm2015/tokens/icon-place.js +3 -5
- package/esm2015/tokens/icons-path.js +3 -2
- package/esm2015/tokens/icons.js +3 -5
- package/esm2015/tokens/media.js +6 -8
- package/esm2015/tokens/notification-options.js +3 -3
- package/esm2015/tokens/number-format.js +3 -3
- package/esm2015/tokens/spin-icons.js +5 -7
- package/esm2015/tokens/svg-content-processor.js +3 -4
- package/esm2015/tokens/svg-src-processor.js +3 -3
- package/esm2015/tokens/textfield-appearance.js +3 -5
- package/esm2015/tokens/theme.js +3 -5
- package/fesm2015/taiga-ui-core-animations.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js +3 -3
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +5 -7
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-error.js +1 -1
- package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +3 -3
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +3 -3
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +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 +6 -6
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-svg.js +1 -1
- package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +3 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +3 -3
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +5 -5
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +2 -2
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-enums.js +8 -8
- package/fesm2015/taiga-ui-core-enums.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +1 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-observables.js +3 -3
- package/fesm2015/taiga-ui-core-observables.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-core-services.js +4 -4
- package/fesm2015/taiga-ui-core-services.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +21 -39
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/interfaces/alert-options.d.ts +6 -6
- package/interfaces/data-list-host.d.ts +1 -1
- package/interfaces/dialog-options.d.ts +4 -4
- package/interfaces/icon-error.d.ts +1 -1
- package/interfaces/media.d.ts +2 -2
- package/interfaces/number-format-settings.d.ts +4 -4
- package/interfaces/portal-item.d.ts +2 -2
- package/interfaces/textfield-host.d.ts +4 -4
- package/interfaces/with-optional-min-max.d.ts +1 -1
- package/mask/number-mask-options.d.ts +4 -4
- package/mask/text-mask-config.d.ts +2 -2
- package/mask/text-mask-options.d.ts +8 -8
- package/mask/text-mask-pipe-result.d.ts +1 -1
- package/observables/zoneful-map.d.ts +2 -2
- package/package.json +4 -4
- package/pipes/calendar-sheet/utils.d.ts +5 -5
- package/services/position.service.d.ts +1 -1
- package/services/router-link-active.service.d.ts +1 -1
- package/styles/mixins/mixins.less +3 -1
- package/tokens/animations-duration.d.ts +1 -2
- package/tokens/day-type-handler.d.ts +1 -2
- package/tokens/first-day-of-week.d.ts +1 -2
- package/tokens/icons.d.ts +1 -2
- package/tokens/media.d.ts +1 -2
- package/tokens/spin-icons.d.ts +1 -2
- package/tokens/svg-content-processor.d.ts +1 -2
- package/tokens/svg-src-processor.d.ts +1 -2
- package/tokens/textfield-appearance.d.ts +1 -2
- package/tokens/theme.d.ts +1 -2
- package/esm2015/directives/dropdown/dropdown-hover.options.directive.js +0 -14
- package/directives/dropdown/{dropdown-hover.options.directive.d.ts → dropdown-hover.options.d.ts} +1 -1
|
@@ -6,26 +6,26 @@ import type { TuiTextMaskPipeHandler } from './text-mask-pipe-handler';
|
|
|
6
6
|
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md}
|
|
7
7
|
*/
|
|
8
8
|
export interface TuiTextMaskOptions {
|
|
9
|
-
/**
|
|
10
|
-
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#mask}
|
|
11
|
-
*/
|
|
12
|
-
mask: TuiTextMaskList | TuiTextMaskListHandler | false;
|
|
13
9
|
/**
|
|
14
10
|
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#guide}
|
|
15
11
|
*/
|
|
16
12
|
guide?: boolean;
|
|
17
13
|
/**
|
|
18
|
-
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#
|
|
14
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#keepcharpositions}
|
|
19
15
|
*/
|
|
20
|
-
|
|
16
|
+
keepCharPositions?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#mask}
|
|
19
|
+
*/
|
|
20
|
+
mask: TuiTextMaskList | TuiTextMaskListHandler | false;
|
|
21
21
|
/**
|
|
22
22
|
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#pipe}
|
|
23
23
|
*/
|
|
24
24
|
pipe?: TuiTextMaskPipeHandler;
|
|
25
25
|
/**
|
|
26
|
-
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#
|
|
26
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#placeholderchar}
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
placeholderChar?: string;
|
|
29
29
|
/**
|
|
30
30
|
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#showmask}
|
|
31
31
|
*/
|
|
@@ -5,6 +5,6 @@ import { OperatorFunction } from 'rxjs';
|
|
|
5
5
|
* and only returns to NgZone if value has changed
|
|
6
6
|
*
|
|
7
7
|
* @param project mapping function
|
|
8
|
-
* @param
|
|
8
|
+
* @param zone NgZone instance
|
|
9
9
|
*/
|
|
10
|
-
export declare function tuiZonefulMap<T, R>(project: (value: T, index: number) => R,
|
|
10
|
+
export declare function tuiZonefulMap<T, R>(project: (value: T, index: number) => R, zone: NgZone): OperatorFunction<T, R>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.42.0",
|
|
4
4
|
"description": "Core library for creating Angular components and applications using Taiga UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"repository": "https://github.com/taiga-family/taiga-ui",
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@taiga-ui/i18n": "^3.
|
|
18
|
+
"@taiga-ui/i18n": "^3.42.0",
|
|
19
19
|
"tslib": ">=2.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@angular/router": ">=12.0.0",
|
|
28
28
|
"@ng-web-apis/common": ">=3.0.0",
|
|
29
29
|
"@ng-web-apis/mutation-observer": ">=3.0.0",
|
|
30
|
-
"@taiga-ui/cdk": ">=3.
|
|
31
|
-
"@taiga-ui/i18n": ">=3.
|
|
30
|
+
"@taiga-ui/cdk": ">=3.42.0",
|
|
31
|
+
"@taiga-ui/i18n": ">=3.42.0",
|
|
32
32
|
"@tinkoff/ng-event-plugins": ">=3.1.0",
|
|
33
33
|
"@tinkoff/ng-polymorpheus": ">=4.0.0",
|
|
34
34
|
"rxjs": ">=6.0.0"
|
|
@@ -4,11 +4,6 @@ import { TuiDay, TuiDayOfWeek, TuiMonth } from '@taiga-ui/cdk';
|
|
|
4
4
|
* @return resulting day on these coordinates (could exceed passed month)
|
|
5
5
|
*/
|
|
6
6
|
export declare const getDayFromMonthRowCol: ({ month, rowIndex, colIndex, firstDayOfWeek, }: {
|
|
7
|
-
month: TuiMonth;
|
|
8
|
-
/**
|
|
9
|
-
* row in a calendar
|
|
10
|
-
*/
|
|
11
|
-
rowIndex: number;
|
|
12
7
|
/**
|
|
13
8
|
* column in a calendar
|
|
14
9
|
*/
|
|
@@ -17,4 +12,9 @@ export declare const getDayFromMonthRowCol: ({ month, rowIndex, colIndex, firstD
|
|
|
17
12
|
* first day of the week index (Sunday - 0, Saturday - 6)
|
|
18
13
|
*/
|
|
19
14
|
firstDayOfWeek: TuiDayOfWeek;
|
|
15
|
+
month: TuiMonth;
|
|
16
|
+
/**
|
|
17
|
+
* row in a calendar
|
|
18
|
+
*/
|
|
19
|
+
rowIndex: number;
|
|
20
20
|
}) => TuiDay;
|
|
@@ -4,7 +4,7 @@ import { TuiPoint } from '@taiga-ui/core/types';
|
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TuiPositionService extends Observable<TuiPoint> {
|
|
7
|
-
constructor(el: ElementRef<HTMLElement>, animationFrame: Observable<unknown>,
|
|
7
|
+
constructor(el: ElementRef<HTMLElement>, animationFrame: Observable<unknown>, zone: NgZone, accessor: TuiPositionAccessor);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPositionService, never>;
|
|
9
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<TuiPositionService>;
|
|
10
10
|
}
|
|
@@ -4,7 +4,7 @@ import { TuiDestroyService } from '@taiga-ui/cdk';
|
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TuiRouterLinkActiveService extends Observable<boolean> {
|
|
7
|
-
constructor(routerLinkActive: RouterLinkActive | null,
|
|
7
|
+
constructor(routerLinkActive: RouterLinkActive | null, zone: NgZone, animationFrame$: Observable<number>, destroy$: TuiDestroyService);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRouterLinkActiveService, [{ optional: true; }, null, null, { self: true; }]>;
|
|
9
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<TuiRouterLinkActiveService>;
|
|
10
10
|
}
|
|
@@ -163,7 +163,9 @@
|
|
|
163
163
|
|
|
164
164
|
// Dropdown
|
|
165
165
|
& when (@mode = 2) {
|
|
166
|
-
box-shadow:
|
|
166
|
+
box-shadow:
|
|
167
|
+
0 1.5rem 1rem rgba(0, 0, 0, 0.03),
|
|
168
|
+
0 0.75rem 0.75rem rgba(0, 0, 0, 0.04),
|
|
167
169
|
0 0.25rem 0.375rem rgba(0, 0, 0, 0.05);
|
|
168
170
|
}
|
|
169
171
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
1
|
export declare const TUI_ANIMATIONS_DEFAULT_DURATION = 300;
|
|
3
2
|
/**
|
|
4
3
|
* Duration of all Taiga UI animations in ms
|
|
5
4
|
*/
|
|
6
|
-
export declare const TUI_ANIMATIONS_DURATION: InjectionToken<number>;
|
|
5
|
+
export declare const TUI_ANIMATIONS_DURATION: import("@angular/core").InjectionToken<number>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
1
|
import { TuiDay, TuiHandler } from '@taiga-ui/cdk';
|
|
3
2
|
/**
|
|
4
3
|
* Token for adding data-type attribute to calendar cell
|
|
5
4
|
*/
|
|
6
|
-
export declare const TUI_DAY_TYPE_HANDLER: InjectionToken<TuiHandler<TuiDay, string>>;
|
|
5
|
+
export declare const TUI_DAY_TYPE_HANDLER: import("@angular/core").InjectionToken<TuiHandler<TuiDay, string>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
1
|
import { TuiDayOfWeek } from '@taiga-ui/cdk';
|
|
3
2
|
/**
|
|
4
3
|
* The first day of the week index
|
|
5
4
|
*/
|
|
6
|
-
export declare const TUI_FIRST_DAY_OF_WEEK: InjectionToken<TuiDayOfWeek>;
|
|
5
|
+
export declare const TUI_FIRST_DAY_OF_WEEK: import("@angular/core").InjectionToken<TuiDayOfWeek>;
|
package/tokens/icons.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
1
|
/**
|
|
3
2
|
* A key/value dictionary of icon names and src to be defined with TuiSvgService
|
|
4
3
|
*/
|
|
5
|
-
export declare const TUI_ICONS: InjectionToken<Record<string, string>>;
|
|
4
|
+
export declare const TUI_ICONS: import("@angular/core").InjectionToken<Record<string, string>>;
|
package/tokens/media.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
1
|
import { TuiMedia } from '@taiga-ui/core/interfaces';
|
|
3
2
|
/**
|
|
4
3
|
* Token for media constant
|
|
5
4
|
*/
|
|
6
|
-
export declare const TUI_MEDIA: InjectionToken<TuiMedia>;
|
|
5
|
+
export declare const TUI_MEDIA: import("@angular/core").InjectionToken<TuiMedia>;
|
package/tokens/spin-icons.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
1
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
3
2
|
export interface TuiSpinIcons {
|
|
4
3
|
readonly decrement: PolymorpheusContent;
|
|
5
4
|
readonly increment: PolymorpheusContent;
|
|
6
5
|
}
|
|
7
|
-
export declare const TUI_SPIN_ICONS: InjectionToken<TuiSpinIcons>;
|
|
6
|
+
export declare const TUI_SPIN_ICONS: import("@angular/core").InjectionToken<TuiSpinIcons>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
1
|
import { TuiHandler, TuiSafeHtml } from '@taiga-ui/cdk';
|
|
3
2
|
/**
|
|
4
3
|
* Transform function the contents of the loaded svg file
|
|
5
4
|
* @deprecated Use {@link TUI_SVG_OPTIONS} instead
|
|
6
5
|
*/
|
|
7
|
-
export declare const TUI_SVG_CONTENT_PROCESSOR: InjectionToken<TuiHandler<TuiSafeHtml, TuiSafeHtml>>;
|
|
6
|
+
export declare const TUI_SVG_CONTENT_PROCESSOR: import("@angular/core").InjectionToken<TuiHandler<TuiSafeHtml, TuiSafeHtml>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
1
|
import { TuiHandler, TuiSafeHtml } from '@taiga-ui/cdk';
|
|
3
2
|
/**
|
|
4
3
|
* Source path processor for svg
|
|
5
4
|
* @deprecated Use {@link TUI_SVG_OPTIONS} instead
|
|
6
5
|
*/
|
|
7
|
-
export declare const TUI_SVG_SRC_PROCESSOR: InjectionToken<TuiHandler<TuiSafeHtml, TuiSafeHtml>>;
|
|
6
|
+
export declare const TUI_SVG_SRC_PROCESSOR: import("@angular/core").InjectionToken<TuiHandler<TuiSafeHtml, TuiSafeHtml>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
1
|
/**
|
|
3
2
|
* Appearance for inputs
|
|
4
3
|
* @deprecated use {@link TUI_TEXTFIELD_APPEARANCE_DIRECTIVE} instead
|
|
5
4
|
* TODO: Remove in 4.0
|
|
6
5
|
*/
|
|
7
|
-
export declare const TUI_TEXTFIELD_APPEARANCE: InjectionToken<string>;
|
|
6
|
+
export declare const TUI_TEXTFIELD_APPEARANCE: import("@angular/core").InjectionToken<string>;
|
package/tokens/theme.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const TUI_THEME: InjectionToken<string>;
|
|
1
|
+
export declare const TUI_THEME: import("@angular/core").InjectionToken<string>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { tuiCreateOptions, tuiProvideOptions } from '@taiga-ui/cdk';
|
|
2
|
-
/** Default values for hint options */
|
|
3
|
-
export const TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS = {
|
|
4
|
-
showDelay: 200,
|
|
5
|
-
hideDelay: 500,
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Default parameters for dropdown hover directive
|
|
9
|
-
*/
|
|
10
|
-
export const TUI_DROPDOWN_HOVER_OPTIONS = tuiCreateOptions(TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS);
|
|
11
|
-
export function tuiDropdownHoverOptionsProvider(options) {
|
|
12
|
-
return tuiProvideOptions(TUI_DROPDOWN_HOVER_OPTIONS, options, TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS);
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24taG92ZXIub3B0aW9ucy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2RpcmVjdGl2ZXMvZHJvcGRvd24vZHJvcGRvd24taG92ZXIub3B0aW9ucy5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLGdCQUFnQixFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBT2xFLHNDQUFzQztBQUN0QyxNQUFNLENBQUMsTUFBTSxrQ0FBa0MsR0FBNEI7SUFDdkUsU0FBUyxFQUFFLEdBQUc7SUFDZCxTQUFTLEVBQUUsR0FBRztDQUNqQixDQUFDO0FBRUY7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSwwQkFBMEIsR0FBRyxnQkFBZ0IsQ0FDdEQsa0NBQWtDLENBQ3JDLENBQUM7QUFFRixNQUFNLFVBQVUsK0JBQStCLENBQzNDLE9BQXlDO0lBRXpDLE9BQU8saUJBQWlCLENBQ3BCLDBCQUEwQixFQUMxQixPQUFPLEVBQ1Asa0NBQWtDLENBQ3JDLENBQUM7QUFDTixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtQcm92aWRlcn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge3R1aUNyZWF0ZU9wdGlvbnMsIHR1aVByb3ZpZGVPcHRpb25zfSBmcm9tICdAdGFpZ2EtdWkvY2RrJztcblxuZXhwb3J0IGludGVyZmFjZSBUdWlEcm9wZG93bkhvdmVyT3B0aW9ucyB7XG4gICAgcmVhZG9ubHkgc2hvd0RlbGF5OiBudW1iZXI7XG4gICAgcmVhZG9ubHkgaGlkZURlbGF5OiBudW1iZXI7XG59XG5cbi8qKiBEZWZhdWx0IHZhbHVlcyBmb3IgaGludCBvcHRpb25zICovXG5leHBvcnQgY29uc3QgVFVJX0RST1BET1dOX0hPVkVSX0RFRkFVTFRfT1BUSU9OUzogVHVpRHJvcGRvd25Ib3Zlck9wdGlvbnMgPSB7XG4gICAgc2hvd0RlbGF5OiAyMDAsXG4gICAgaGlkZURlbGF5OiA1MDAsXG59O1xuXG4vKipcbiAqIERlZmF1bHQgcGFyYW1ldGVycyBmb3IgZHJvcGRvd24gaG92ZXIgZGlyZWN0aXZlXG4gKi9cbmV4cG9ydCBjb25zdCBUVUlfRFJPUERPV05fSE9WRVJfT1BUSU9OUyA9IHR1aUNyZWF0ZU9wdGlvbnMoXG4gICAgVFVJX0RST1BET1dOX0hPVkVSX0RFRkFVTFRfT1BUSU9OUyxcbik7XG5cbmV4cG9ydCBmdW5jdGlvbiB0dWlEcm9wZG93bkhvdmVyT3B0aW9uc1Byb3ZpZGVyKFxuICAgIG9wdGlvbnM6IFBhcnRpYWw8VHVpRHJvcGRvd25Ib3Zlck9wdGlvbnM+LFxuKTogUHJvdmlkZXIge1xuICAgIHJldHVybiB0dWlQcm92aWRlT3B0aW9ucyhcbiAgICAgICAgVFVJX0RST1BET1dOX0hPVkVSX09QVElPTlMsXG4gICAgICAgIG9wdGlvbnMsXG4gICAgICAgIFRVSV9EUk9QRE9XTl9IT1ZFUl9ERUZBVUxUX09QVElPTlMsXG4gICAgKTtcbn1cbiJdfQ==
|
package/directives/dropdown/{dropdown-hover.options.directive.d.ts → dropdown-hover.options.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Provider } from '@angular/core';
|
|
2
2
|
export interface TuiDropdownHoverOptions {
|
|
3
|
-
readonly showDelay: number;
|
|
4
3
|
readonly hideDelay: number;
|
|
4
|
+
readonly showDelay: number;
|
|
5
5
|
}
|
|
6
6
|
/** Default values for hint options */
|
|
7
7
|
export declare const TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS: TuiDropdownHoverOptions;
|