@taiga-ui/kit 4.42.0-canary.26116ba → 4.42.0-canary.551f28f
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/index.d.ts +1 -0
- package/components/input-chip/input-chip.component.d.ts +2 -2
- package/components/input-chip/input-chip.directive.d.ts +2 -0
- package/components/input-date/input-date.directive.d.ts +2 -1
- package/components/input-date-range/input-date-range.directive.d.ts +1 -0
- package/components/input-time/index.d.ts +4 -0
- package/components/input-time/input-time.component.d.ts +14 -0
- package/components/input-time/input-time.d.ts +3 -0
- package/components/input-time/input-time.directive.d.ts +31 -0
- package/components/input-time/input-time.options.d.ts +11 -0
- package/components/select/select-option/select-option.component.d.ts +2 -4
- package/directives/button-select/button-select.directive.d.ts +3 -2
- package/esm2022/components/badge/badge.directive.mjs +2 -2
- package/esm2022/components/calendar-month/calendar-month.component.mjs +3 -3
- package/esm2022/components/combo-box/combo-box.directive.mjs +2 -5
- package/esm2022/components/index.mjs +2 -1
- package/esm2022/components/input-chip/input-chip.component.mjs +15 -13
- package/esm2022/components/input-chip/input-chip.directive.mjs +14 -8
- package/esm2022/components/input-date/input-date.directive.mjs +11 -3
- package/esm2022/components/input-date-range/input-date-range.directive.mjs +6 -2
- package/esm2022/components/input-inline/input-inline.component.mjs +1 -1
- package/esm2022/components/input-time/index.mjs +5 -0
- package/esm2022/components/input-time/input-time.component.mjs +49 -0
- package/esm2022/components/input-time/input-time.directive.mjs +123 -0
- package/esm2022/components/input-time/input-time.mjs +4 -0
- package/esm2022/components/input-time/input-time.options.mjs +9 -0
- package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +5 -0
- package/esm2022/components/select/select-option/select-option.component.mjs +10 -18
- package/esm2022/components/select/select.directive.mjs +1 -4
- package/esm2022/components/tabs/tabs.directive.mjs +2 -2
- package/esm2022/directives/button-select/button-select.directive.mjs +15 -7
- package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +46 -0
- package/esm2022/pipes/hide-selected/index.mjs +2 -0
- package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +5 -0
- package/esm2022/pipes/index.mjs +2 -1
- package/esm2022/tokens/items-handlers.mjs +4 -4
- package/esm2022/utils/index.mjs +2 -1
- package/esm2022/utils/inject-value.mjs +11 -0
- 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-calendar-month.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +1 -4
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +103 -94
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +4 -0
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +10 -2
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +180 -0
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-select.mjs +11 -20
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +1 -0
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs +14 -6
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +52 -0
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes.mjs +1 -0
- package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-tokens.mjs +3 -3
- package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-utils.mjs +12 -1
- package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
- package/package.json +19 -7
- package/pipes/hide-selected/hide-selected.pipe.d.ts +12 -0
- package/pipes/hide-selected/index.d.ts +1 -0
- package/pipes/index.d.ts +1 -0
- package/styles/components/badge.less +1 -13
- package/tokens/items-handlers.d.ts +4 -4
- package/utils/index.d.ts +1 -0
- package/utils/inject-value.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/kit",
|
|
3
|
-
"version": "4.42.0-canary.
|
|
3
|
+
"version": "4.42.0-canary.551f28f",
|
|
4
4
|
"description": "Taiga UI Angular main components kit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -221,12 +221,6 @@
|
|
|
221
221
|
"esm": "./esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs",
|
|
222
222
|
"default": "./fesm2022/taiga-ui-kit-components-input-inline.mjs"
|
|
223
223
|
},
|
|
224
|
-
"./components/input-month": {
|
|
225
|
-
"types": "./components/input-month/index.d.ts",
|
|
226
|
-
"esm2022": "./esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs",
|
|
227
|
-
"esm": "./esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs",
|
|
228
|
-
"default": "./fesm2022/taiga-ui-kit-components-input-month.mjs"
|
|
229
|
-
},
|
|
230
224
|
"./components/input-month-range": {
|
|
231
225
|
"types": "./components/input-month-range/index.d.ts",
|
|
232
226
|
"esm2022": "./esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs",
|
|
@@ -239,6 +233,12 @@
|
|
|
239
233
|
"esm": "./esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs",
|
|
240
234
|
"default": "./fesm2022/taiga-ui-kit-components-input-number.mjs"
|
|
241
235
|
},
|
|
236
|
+
"./components/input-month": {
|
|
237
|
+
"types": "./components/input-month/index.d.ts",
|
|
238
|
+
"esm2022": "./esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs",
|
|
239
|
+
"esm": "./esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs",
|
|
240
|
+
"default": "./fesm2022/taiga-ui-kit-components-input-month.mjs"
|
|
241
|
+
},
|
|
242
242
|
"./components/input-password": {
|
|
243
243
|
"types": "./components/input-password/index.d.ts",
|
|
244
244
|
"esm2022": "./esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs",
|
|
@@ -263,6 +263,12 @@
|
|
|
263
263
|
"esm": "./esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs",
|
|
264
264
|
"default": "./fesm2022/taiga-ui-kit-components-input-slider.mjs"
|
|
265
265
|
},
|
|
266
|
+
"./components/input-time": {
|
|
267
|
+
"types": "./components/input-time/index.d.ts",
|
|
268
|
+
"esm2022": "./esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs",
|
|
269
|
+
"esm": "./esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs",
|
|
270
|
+
"default": "./fesm2022/taiga-ui-kit-components-input-time.mjs"
|
|
271
|
+
},
|
|
266
272
|
"./components/items-with-more": {
|
|
267
273
|
"types": "./components/items-with-more/index.d.ts",
|
|
268
274
|
"esm2022": "./esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs",
|
|
@@ -557,6 +563,12 @@
|
|
|
557
563
|
"esm": "./esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs",
|
|
558
564
|
"default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
|
|
559
565
|
},
|
|
566
|
+
"./pipes/hide-selected": {
|
|
567
|
+
"types": "./pipes/hide-selected/index.d.ts",
|
|
568
|
+
"esm2022": "./esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs",
|
|
569
|
+
"esm": "./esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs",
|
|
570
|
+
"default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
|
|
571
|
+
},
|
|
560
572
|
"./pipes/sort-countries": {
|
|
561
573
|
"types": "./pipes/sort-countries/index.d.ts",
|
|
562
574
|
"esm2022": "./esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TuiHideSelectedPipe implements PipeTransform {
|
|
4
|
+
private readonly textfield;
|
|
5
|
+
private readonly handlers;
|
|
6
|
+
transform<T>(items: readonly T[] | null): readonly T[] | null;
|
|
7
|
+
transform<T>(items: ReadonlyArray<readonly T[]> | null): ReadonlyArray<readonly T[]> | null;
|
|
8
|
+
private filter2d;
|
|
9
|
+
private filter;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHideSelectedPipe, never>;
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TuiHideSelectedPipe, "tuiHideSelected", true>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hide-selected.pipe';
|
package/pipes/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from '@taiga-ui/kit/pipes/emails';
|
|
2
2
|
export * from '@taiga-ui/kit/pipes/field-error';
|
|
3
3
|
export * from '@taiga-ui/kit/pipes/filter-by-input';
|
|
4
|
+
export * from '@taiga-ui/kit/pipes/hide-selected';
|
|
4
5
|
export * from '@taiga-ui/kit/pipes/sort-countries';
|
|
5
6
|
export * from '@taiga-ui/kit/pipes/stringify';
|
|
6
7
|
export * from '@taiga-ui/kit/pipes/stringify-content';
|
|
@@ -37,7 +37,7 @@ tui-badge,
|
|
|
37
37
|
&[tuiStatus]::before {
|
|
38
38
|
inline-size: 0.375rem;
|
|
39
39
|
block-size: 0.375rem;
|
|
40
|
-
margin
|
|
40
|
+
margin: 0;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
> tui-icon,
|
|
@@ -68,18 +68,6 @@ tui-badge,
|
|
|
68
68
|
--t-status: var(--tui-status-neutral);
|
|
69
69
|
}
|
|
70
70
|
|
|
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,
|
|
75
|
-
&[tuiStatus][data-appearance='warning']::before,
|
|
76
|
-
&[tuiStatus][data-appearance='info']::before,
|
|
77
|
-
&[tuiStatus][data-appearance='neutral']::before {
|
|
78
|
-
content: '';
|
|
79
|
-
display: block;
|
|
80
|
-
margin: 0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
71
|
&[data-size='s'] {
|
|
84
72
|
--t-padding: 0 0.3125rem;
|
|
85
73
|
--t-size: 1rem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
2
|
import type { TuiBooleanHandler, TuiIdentityMatcher, TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
3
|
/**
|
|
4
|
-
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/
|
|
4
|
+
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
|
|
5
5
|
* TODO(v5): delete
|
|
6
6
|
*/
|
|
7
7
|
export interface TuiItemsHandlers<T> {
|
|
@@ -10,17 +10,17 @@ export interface TuiItemsHandlers<T> {
|
|
|
10
10
|
readonly stringify: TuiStringHandler<T>;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/
|
|
13
|
+
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
|
|
14
14
|
* TODO(v5): delete
|
|
15
15
|
*/
|
|
16
16
|
export declare const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown>;
|
|
17
17
|
/**
|
|
18
|
-
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/
|
|
18
|
+
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
|
|
19
19
|
* TODO(v5): delete
|
|
20
20
|
*/
|
|
21
21
|
export declare const TUI_ITEMS_HANDLERS: import("@angular/core").InjectionToken<TuiItemsHandlers<unknown>>;
|
|
22
22
|
/**
|
|
23
|
-
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/
|
|
23
|
+
* @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
|
|
24
24
|
* TODO(v5): delete
|
|
25
25
|
*/
|
|
26
26
|
export declare function tuiItemsHandlersProvider<T>(options: Partial<TuiItemsHandlers<T>>): Provider;
|
package/utils/index.d.ts
CHANGED