@taiga-ui/core 4.43.0 → 4.44.0-canary.0bcf1bf
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/alert/alert.tokens.d.ts +5 -4
- package/components/calendar/calendar-sheet.options.d.ts +2 -1
- package/components/data-list/data-list.tokens.d.ts +3 -2
- package/components/data-list/option/option-content.d.ts +2 -1
- package/components/dialog/dialog.factory.d.ts +3 -3
- package/components/dialog/dialog.tokens.d.ts +4 -3
- package/components/link/link.options.d.ts +2 -1
- package/components/loader/loader.options.d.ts +2 -1
- package/components/spin-button/spin-button.component.d.ts +0 -2
- package/components/textfield/select-like.directive.d.ts +0 -1
- package/components/textfield/textfield-accessor.d.ts +2 -1
- package/components/textfield/textfield-multi/textfield-item.component.d.ts +1 -0
- package/components/textfield/textfield-multi/textfield-multi.component.d.ts +2 -1
- package/components/textfield/textfield.component.d.ts +2 -2
- package/components/textfield/textfield.options.d.ts +2 -1
- package/directives/appearance/appearance.options.d.ts +2 -1
- package/directives/dropdown/dropdown-hover.options.d.ts +2 -1
- package/directives/dropdown/dropdown-options.directive.d.ts +2 -1
- package/directives/dropdown/dropdown.providers.d.ts +3 -2
- package/directives/group/group.options.d.ts +2 -1
- package/directives/hint/hint-options.directive.d.ts +2 -1
- package/directives/hint/hint.providers.d.ts +2 -1
- package/directives/items-handlers/items-handlers.tokens.d.ts +2 -1
- package/esm2022/components/alert/alert.component.mjs +3 -3
- package/esm2022/components/alert/alert.tokens.mjs +28 -21
- package/esm2022/components/calendar/calendar-sheet.component.mjs +3 -3
- package/esm2022/components/calendar/calendar-sheet.options.mjs +6 -3
- package/esm2022/components/calendar/calendar.component.mjs +3 -3
- package/esm2022/components/data-list/data-list.component.mjs +3 -3
- package/esm2022/components/data-list/data-list.tokens.mjs +5 -4
- package/esm2022/components/data-list/option/option-content.mjs +3 -4
- package/esm2022/components/dialog/dialog.component.mjs +3 -3
- package/esm2022/components/dialog/dialog.factory.mjs +1 -1
- package/esm2022/components/dialog/dialog.tokens.mjs +12 -5
- package/esm2022/components/dialog/dialogs.component.mjs +3 -3
- package/esm2022/components/label/label.directive.mjs +2 -2
- package/esm2022/components/link/link.options.mjs +6 -3
- package/esm2022/components/loader/loader.component.mjs +3 -3
- package/esm2022/components/loader/loader.options.mjs +6 -3
- package/esm2022/components/notification/notification.directive.mjs +2 -2
- package/esm2022/components/root/root.component.mjs +3 -3
- package/esm2022/components/scrollbar/scroll-controls.component.mjs +3 -3
- package/esm2022/components/scrollbar/scrollbar.directive.mjs +3 -2
- package/esm2022/components/scrollbar/scrollbar.service.mjs +7 -3
- package/esm2022/components/spin-button/spin-button.component.mjs +5 -11
- package/esm2022/components/textfield/select-like.directive.mjs +4 -16
- package/esm2022/components/textfield/textfield-accessor.mjs +4 -3
- package/esm2022/components/textfield/textfield-dropdown.directive.mjs +7 -2
- package/esm2022/components/textfield/textfield-multi/textfield-item.component.mjs +7 -4
- package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +20 -10
- package/esm2022/components/textfield/textfield.component.mjs +11 -9
- package/esm2022/components/textfield/textfield.options.mjs +9 -7
- package/esm2022/directives/appearance/appearance.options.mjs +6 -3
- package/esm2022/directives/dropdown/dropdown-hover.options.mjs +6 -3
- package/esm2022/directives/dropdown/dropdown-options.directive.mjs +6 -4
- package/esm2022/directives/dropdown/dropdown.providers.mjs +6 -4
- package/esm2022/directives/group/group.directive.mjs +2 -2
- package/esm2022/directives/group/group.options.mjs +6 -3
- package/esm2022/directives/hint/hint-options.directive.mjs +6 -4
- package/esm2022/directives/hint/hint.providers.mjs +5 -3
- package/esm2022/directives/items-handlers/items-handlers.tokens.mjs +5 -4
- package/esm2022/directives/title/title.directive.mjs +2 -2
- package/esm2022/tokens/animations-speed.mjs +5 -4
- package/esm2022/tokens/assets-path.mjs +5 -3
- package/esm2022/tokens/auxiliary.mjs +6 -3
- package/esm2022/tokens/common-icons.mjs +6 -3
- package/esm2022/tokens/dark-mode.mjs +34 -31
- package/esm2022/tokens/date-format.mjs +5 -4
- package/esm2022/tokens/day-type-handler.mjs +5 -3
- package/esm2022/tokens/first-day-of-week.mjs +5 -3
- package/esm2022/tokens/i18n.mjs +23 -9
- package/esm2022/tokens/icon-resolver.mjs +7 -6
- package/esm2022/tokens/icon.mjs +8 -4
- package/esm2022/tokens/icons.mjs +5 -4
- package/esm2022/tokens/media.mjs +8 -6
- package/esm2022/tokens/number-format.mjs +5 -4
- package/esm2022/tokens/reduced-motion.mjs +6 -5
- package/esm2022/tokens/scroll-ref.mjs +5 -4
- package/esm2022/tokens/selection-stream.mjs +7 -6
- package/esm2022/tokens/spin-icons.mjs +7 -5
- package/esm2022/tokens/theme.mjs +5 -3
- package/esm2022/tokens/viewport.mjs +27 -25
- package/fesm2022/taiga-ui-core-components-alert.mjs +29 -22
- package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-calendar.mjs +9 -7
- package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-data-list.mjs +7 -7
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-dialog.mjs +15 -9
- package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-label.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-link.mjs +5 -3
- package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-loader.mjs +7 -5
- package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-notification.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +10 -5
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-spin-button.mjs +4 -10
- package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +50 -41
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +5 -3
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs +12 -6
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-group.mjs +7 -5
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-hint.mjs +8 -4
- package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +5 -3
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-title.mjs +2 -2
- package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +143 -87
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/package.json +3 -3
- package/styles/components/group.less +17 -0
- package/styles/components/label.less +2 -2
- package/styles/components/notification.less +9 -21
- package/styles/components/textfield.less +12 -3
- package/styles/components/title.less +8 -0
- package/styles/mixins/mixins.less +1 -1
- package/styles/mixins/slider.less +3 -3
- package/styles/mixins/slider.scss +3 -3
- package/styles/theme/appearance/table.less +1 -1
- package/tokens/animations-speed.d.ts +2 -1
- package/tokens/assets-path.d.ts +2 -1
- package/tokens/auxiliary.d.ts +2 -1
- package/tokens/common-icons.d.ts +2 -1
- package/tokens/dark-mode.d.ts +3 -2
- package/tokens/date-format.d.ts +2 -1
- package/tokens/day-type-handler.d.ts +2 -1
- package/tokens/first-day-of-week.d.ts +2 -1
- package/tokens/i18n.d.ts +8 -7
- package/tokens/icon-resolver.d.ts +3 -2
- package/tokens/icon.d.ts +3 -2
- package/tokens/icons.d.ts +3 -2
- package/tokens/media.d.ts +2 -1
- package/tokens/number-format.d.ts +2 -1
- package/tokens/reduced-motion.d.ts +2 -1
- package/tokens/scroll-ref.d.ts +2 -2
- package/tokens/selection-stream.d.ts +2 -1
- package/tokens/spin-icons.d.ts +2 -1
- package/tokens/theme.d.ts +2 -1
- package/tokens/viewport.d.ts +2 -1
|
@@ -186,6 +186,7 @@ tui-textfield {
|
|
|
186
186
|
&::before {
|
|
187
187
|
z-index: 1;
|
|
188
188
|
margin-inline-end: 0.5rem;
|
|
189
|
+
pointer-events: none;
|
|
189
190
|
}
|
|
190
191
|
|
|
191
192
|
&:has(:disabled:not(.t-filler, button, option, [tuiChip]))::before,
|
|
@@ -278,9 +279,10 @@ tui-textfield {
|
|
|
278
279
|
select:defined,
|
|
279
280
|
textarea:defined {
|
|
280
281
|
pointer-events: auto;
|
|
281
|
-
background:
|
|
282
|
+
background: none;
|
|
282
283
|
|
|
283
|
-
|
|
284
|
+
// TODO: Remove :not when we drop old select tuiTextfield in v5
|
|
285
|
+
&:not(select):read-only ~ .t-filler {
|
|
284
286
|
display: none;
|
|
285
287
|
}
|
|
286
288
|
|
|
@@ -411,7 +413,6 @@ tui-textfield {
|
|
|
411
413
|
|
|
412
414
|
& > .t-filler:defined {
|
|
413
415
|
pointer-events: none;
|
|
414
|
-
background: none;
|
|
415
416
|
color: var(--tui-text-tertiary);
|
|
416
417
|
opacity: 1;
|
|
417
418
|
}
|
|
@@ -419,4 +420,12 @@ tui-textfield {
|
|
|
419
420
|
[tuiFluidTypography] {
|
|
420
421
|
font-weight: bold;
|
|
421
422
|
}
|
|
423
|
+
|
|
424
|
+
[tuiSelectLike]:not(:read-only) {
|
|
425
|
+
cursor: pointer;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
&:has(input[type='tel']) {
|
|
429
|
+
direction: ltr;
|
|
430
|
+
}
|
|
422
431
|
}
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
|
|
31
31
|
tui-textfield + &, /* TODO: add :has([tuiInputSlider]) */
|
|
32
32
|
tui-input-slider + & {
|
|
33
|
-
margin-
|
|
33
|
+
margin-inline-start: calc(var(--tui-radius-m) / 2 + @first-tick-center);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
tui-input-range + &,
|
|
37
37
|
tui-range + & {
|
|
38
38
|
@thumb: @thumb-diameters[@@input-size];
|
|
39
39
|
|
|
40
|
-
margin-
|
|
41
|
-
margin-
|
|
40
|
+
margin-inline-start: @thumb;
|
|
41
|
+
margin-inline-end: @thumb;
|
|
42
42
|
|
|
43
43
|
& > * {
|
|
44
44
|
&:first-child {
|
|
@@ -29,14 +29,14 @@ $thumb-diameters: (
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
tui-input-slider + & {
|
|
32
|
-
margin-
|
|
32
|
+
margin-inline-start: calc(var(--tui-radius-m) / 2 + #{$first-tick-center});
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
tui-input-range + &,
|
|
36
36
|
tui-range + & {
|
|
37
37
|
$thumb: map-get($thumb-diameters, $input-size);
|
|
38
|
-
margin-
|
|
39
|
-
margin-
|
|
38
|
+
margin-inline-start: $thumb;
|
|
39
|
+
margin-inline-end: $thumb;
|
|
40
40
|
|
|
41
41
|
& > * {
|
|
42
42
|
&:first-child {
|
|
@@ -17,7 +17,7 @@ TODO: remove :not([tuiWrapper]) after legacy controls deletion
|
|
|
17
17
|
background: transparent;
|
|
18
18
|
border: none;
|
|
19
19
|
outline: none;
|
|
20
|
-
border-
|
|
20
|
+
border-block-end: calc(var(--t-row-height) - var(--t-height)) solid transparent;
|
|
21
21
|
|
|
22
22
|
&:not(._empty) {
|
|
23
23
|
color: var(--tui-text-primary);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
/**
|
|
2
3
|
* Speed of all Taiga UI animations. 1 equals 300ms.
|
|
3
4
|
*/
|
|
4
|
-
export declare const TUI_ANIMATIONS_SPEED:
|
|
5
|
+
export declare const TUI_ANIMATIONS_SPEED: InjectionToken<number>;
|
package/tokens/assets-path.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { ValueProvider } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
export declare const TUI_ASSETS_PATH: InjectionToken<string>;
|
|
3
4
|
export declare function tuiAssetsPathProvider(useValue: string): ValueProvider;
|
package/tokens/auxiliary.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { Provider, Type } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
export declare const TUI_AUXILIARY: InjectionToken<null>;
|
|
3
4
|
export declare function tuiAsAuxiliary(x: Type<unknown>): Provider;
|
package/tokens/common-icons.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
export interface TuiCommonIcons {
|
|
3
4
|
readonly check: string;
|
|
4
5
|
readonly close: string;
|
|
@@ -7,5 +8,5 @@ export interface TuiCommonIcons {
|
|
|
7
8
|
readonly search: string;
|
|
8
9
|
readonly ellipsis: string;
|
|
9
10
|
}
|
|
10
|
-
export declare const TUI_COMMON_ICONS:
|
|
11
|
+
export declare const TUI_COMMON_ICONS: InjectionToken<TuiCommonIcons>;
|
|
11
12
|
export declare function tuiCommonIconsProvider(icons: Partial<TuiCommonIcons>): Provider;
|
package/tokens/dark-mode.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { WritableSignal } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
export declare const TUI_DARK_MODE_DEFAULT_KEY = "tuiDark";
|
|
3
|
-
export declare const TUI_DARK_MODE_KEY:
|
|
4
|
-
export declare const TUI_DARK_MODE:
|
|
4
|
+
export declare const TUI_DARK_MODE_KEY: InjectionToken<string>;
|
|
5
|
+
export declare const TUI_DARK_MODE: InjectionToken<WritableSignal<boolean> & {
|
|
5
6
|
reset(): void;
|
|
6
7
|
}>;
|
package/tokens/date-format.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiDateMode } from '@taiga-ui/cdk/date-time';
|
|
3
4
|
import type { Observable } from 'rxjs';
|
|
4
5
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { TuiDay } from '@taiga-ui/cdk/date-time';
|
|
2
3
|
import type { TuiHandler } from '@taiga-ui/cdk/types';
|
|
3
4
|
/**
|
|
4
5
|
* Token for adding data-type attribute to calendar cell
|
|
5
6
|
*/
|
|
6
|
-
export declare const TUI_DAY_TYPE_HANDLER:
|
|
7
|
+
export declare const TUI_DAY_TYPE_HANDLER: InjectionToken<TuiHandler<TuiDay, string>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
/**
|
|
2
3
|
* The first day of the week index
|
|
3
4
|
*/
|
|
4
|
-
export declare const TUI_FIRST_DAY_OF_WEEK:
|
|
5
|
+
export declare const TUI_FIRST_DAY_OF_WEEK: InjectionToken<0 | 1 | 2 | 3 | 4 | 5 | 6>;
|
package/tokens/i18n.d.ts
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
/**
|
|
2
3
|
* Localized months names
|
|
3
4
|
*/
|
|
4
|
-
export declare const TUI_MONTHS:
|
|
5
|
+
export declare const TUI_MONTHS: InjectionToken<import("rxjs").Observable<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
|
|
5
6
|
/**
|
|
6
7
|
* i18n 'close' word
|
|
7
8
|
*/
|
|
8
|
-
export declare const TUI_CLOSE_WORD:
|
|
9
|
+
export declare const TUI_CLOSE_WORD: InjectionToken<import("rxjs").Observable<string>>;
|
|
9
10
|
/**
|
|
10
11
|
* i18n 'clear' word
|
|
11
12
|
*/
|
|
12
|
-
export declare const TUI_CLEAR_WORD:
|
|
13
|
+
export declare const TUI_CLEAR_WORD: InjectionToken<import("rxjs").Observable<string>>;
|
|
13
14
|
/**
|
|
14
15
|
* i18n 'Nothing found' message
|
|
15
16
|
*/
|
|
16
|
-
export declare const TUI_NOTHING_FOUND_MESSAGE:
|
|
17
|
+
export declare const TUI_NOTHING_FOUND_MESSAGE: InjectionToken<import("rxjs").Observable<string>>;
|
|
17
18
|
/**
|
|
18
19
|
* i18n of error message
|
|
19
20
|
*/
|
|
20
|
-
export declare const TUI_DEFAULT_ERROR_MESSAGE:
|
|
21
|
+
export declare const TUI_DEFAULT_ERROR_MESSAGE: InjectionToken<import("rxjs").Observable<string>>;
|
|
21
22
|
/**
|
|
22
23
|
* spin i18n texts
|
|
23
24
|
*/
|
|
24
|
-
export declare const TUI_SPIN_TEXTS:
|
|
25
|
+
export declare const TUI_SPIN_TEXTS: InjectionToken<import("rxjs").Observable<readonly [previous: string, next: string]>>;
|
|
25
26
|
/**
|
|
26
27
|
* calendars i18n texts
|
|
27
28
|
*/
|
|
28
|
-
export declare const TUI_SHORT_WEEK_DAYS:
|
|
29
|
+
export declare const TUI_SHORT_WEEK_DAYS: InjectionToken<import("rxjs").Observable<readonly [Monday: string, Tuesday: string, Wednesday: string, Thursday: string, Friday: string, Saturday: string, Sunday: string]>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
|
-
export declare const TUI_ICON_RESOLVER:
|
|
4
|
+
export declare const TUI_ICON_RESOLVER: InjectionToken<TuiStringHandler<string>>;
|
|
4
5
|
/**
|
|
5
6
|
* @deprecated use {@link TUI_ICON_RESOLVER}
|
|
6
7
|
*/
|
|
7
|
-
export declare const TUI_ICON_START_RESOLVER:
|
|
8
|
+
export declare const TUI_ICON_START_RESOLVER: InjectionToken<TuiStringHandler<string>>;
|
|
8
9
|
export declare function tuiInjectIconResolver(): TuiStringHandler<string>;
|
|
9
10
|
export declare function tuiIconResolverProvider(useValue: TuiStringHandler<string>): Provider;
|
package/tokens/icon.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const TUI_ICON_START: InjectionToken<string>;
|
|
3
|
+
export declare const TUI_ICON_END: InjectionToken<string>;
|
package/tokens/icons.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { FactoryProvider } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
export declare const TUI_ICON_REGISTRY: InjectionToken<Record<string, string>>;
|
|
3
4
|
/**
|
|
4
5
|
* @deprecated: use {@link TUI_ICON_REGISTRY}
|
|
5
6
|
*/
|
|
6
|
-
export declare const TUI_ICON_STARTS:
|
|
7
|
+
export declare const TUI_ICON_STARTS: InjectionToken<Record<string, string>>;
|
|
7
8
|
export declare function tuiIconsProvider(icons: Record<string, string>): FactoryProvider;
|
package/tokens/media.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
export interface TuiMedia {
|
|
2
3
|
readonly desktopLarge: number;
|
|
3
4
|
readonly desktopSmall: number;
|
|
@@ -7,4 +8,4 @@ export interface TuiMedia {
|
|
|
7
8
|
/**
|
|
8
9
|
* Token for media constant
|
|
9
10
|
*/
|
|
10
|
-
export declare const TUI_MEDIA:
|
|
11
|
+
export declare const TUI_MEDIA: InjectionToken<TuiMedia>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiRounding } from '@taiga-ui/cdk/types';
|
|
3
4
|
import type { Observable } from 'rxjs';
|
|
4
5
|
export type TuiDecimalMode = 'always' | 'not-zero' | 'pad';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const TUI_REDUCED_MOTION: InjectionToken<boolean>;
|
package/tokens/scroll-ref.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
export declare const TUI_SCROLL_REF:
|
|
1
|
+
import { ElementRef, InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const TUI_SCROLL_REF: InjectionToken<ElementRef<HTMLElement>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { Observable } from 'rxjs';
|
|
2
3
|
/**
|
|
3
4
|
* A stream of possible selection changes
|
|
4
5
|
*/
|
|
5
|
-
export declare const TUI_SELECTION_STREAM:
|
|
6
|
+
export declare const TUI_SELECTION_STREAM: InjectionToken<Observable<unknown>>;
|
package/tokens/spin-icons.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
export interface TuiSpinIcons {
|
|
2
3
|
readonly decrement: string;
|
|
3
4
|
readonly increment: string;
|
|
4
5
|
}
|
|
5
|
-
export declare const TUI_SPIN_ICONS:
|
|
6
|
+
export declare const TUI_SPIN_ICONS: InjectionToken<TuiSpinIcons>;
|
package/tokens/theme.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const TUI_THEME: InjectionToken<string>;
|
package/tokens/viewport.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Provider, Type } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiRectAccessor } from '@taiga-ui/core/classes';
|
|
3
4
|
/**
|
|
4
5
|
* Viewport accessor
|
|
5
6
|
*/
|
|
6
|
-
export declare const TUI_VIEWPORT:
|
|
7
|
+
export declare const TUI_VIEWPORT: InjectionToken<TuiRectAccessor>;
|
|
7
8
|
export declare function tuiAsViewport(accessor: Type<TuiRectAccessor>): Provider;
|