@taiga-ui/core 3.39.1-dev.main.f92cc75 → 3.40.0-canary.f82bb42
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/README.md +3 -3
- package/bundles/taiga-ui-core-components-alert.umd.js +21 -9
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +7 -3
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +7 -3
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +79 -24
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +10 -10
- package/bundles/taiga-ui-core-components-notification.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-spin-button.umd.js +38 -22
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +2 -2
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +52 -2
- package/bundles/taiga-ui-core-directives-dropdown.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-internal-primitive-year-month-pagination.umd.js +1 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +21 -0
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +6 -6
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/components/alert/alert.component.d.ts +12 -4
- package/components/alert/alert.providers.d.ts +2 -0
- package/components/alert/index.d.ts +1 -0
- package/components/data-list/option/option.component.d.ts +4 -2
- package/components/dialog/dialog.component.d.ts +4 -2
- package/components/hosted-dropdown/dropdown-open-monitor.directive.d.ts +10 -0
- package/components/hosted-dropdown/hosted-dropdown.module.d.ts +8 -7
- package/components/hosted-dropdown/hosted-dropdown.token.d.ts +3 -0
- package/components/hosted-dropdown/index.d.ts +1 -0
- package/components/notification/notification.component.d.ts +3 -4
- package/components/primitive-spin-button/primitive-spin-button.component.d.ts +6 -6
- package/components/primitive-spin-button/primitive-spin-button.module.d.ts +2 -3
- package/constants/cache-basting-payload.d.ts +1 -1
- package/constants/mask-caret-trap.d.ts +1 -1
- package/directives/dropdown/dropdown-open.directive.d.ts +10 -0
- package/directives/dropdown/dropdown.directive.d.ts +4 -2
- package/directives/dropdown/dropdown.module.d.ts +14 -13
- package/directives/dropdown/index.d.ts +1 -0
- package/directives/textfield-controller/textfield.options.d.ts +1 -1
- package/esm2015/components/alert/alert.component.js +19 -11
- package/esm2015/components/alert/alert.providers.js +6 -0
- package/esm2015/components/alert/index.js +2 -1
- package/esm2015/components/data-list/option/option.component.js +9 -5
- package/esm2015/components/dialog/dialog.component.js +9 -5
- package/esm2015/components/hosted-dropdown/dropdown-open-monitor.directive.js +45 -0
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +16 -6
- package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +4 -1
- package/esm2015/components/hosted-dropdown/hosted-dropdown.token.js +3 -0
- package/esm2015/components/hosted-dropdown/index.js +2 -1
- package/esm2015/components/notification/notification.component.js +8 -9
- package/esm2015/components/primitive-checkbox/checkbox.options.js +3 -7
- package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +34 -19
- package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +4 -5
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +1 -1
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +1 -1
- package/esm2015/components/root/root.component.js +1 -1
- package/esm2015/constants/mask-caret-trap.js +2 -2
- package/esm2015/directives/dropdown/dropdown-open.directive.js +24 -0
- package/esm2015/directives/dropdown/dropdown.directive.js +24 -4
- package/esm2015/directives/dropdown/dropdown.module.js +6 -1
- package/esm2015/directives/dropdown/index.js +2 -1
- package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +2 -2
- package/esm2015/directives/textfield-controller/textfield.options.js +1 -1
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +1 -1
- package/esm2015/mask/text-mask-config.js +1 -1
- package/esm2015/mask/text-mask-correction-handler.js +1 -1
- package/esm2015/mask/text-mask-list-handler.js +1 -1
- package/esm2015/mask/text-mask-list.js +1 -1
- package/esm2015/mask/text-mask-options.js +1 -1
- package/esm2015/mask/text-mask-pipe-handler.js +1 -1
- package/esm2015/mask/text-mask-pipe-result.js +1 -1
- package/esm2015/tokens/common-icon.js +12 -0
- package/esm2015/tokens/index.js +3 -1
- package/esm2015/tokens/spin-icons.js +8 -0
- package/esm2015/utils/format/format-phone.js +2 -2
- package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +2 -2
- package/esm2015/utils/mask/create-correction-mask.js +2 -2
- package/esm2015/utils/mask/create-number-mask.js +2 -2
- package/esm2015/utils/mask/enable-auto-correct-decimal-symbol.js +2 -2
- package/esm2015/utils/mask/masked-money-value-is-empty.js +2 -2
- package/esm2015/utils/mask/masked-number-string-to-number.js +2 -2
- package/fesm2015/taiga-ui-core-components-alert.js +24 -13
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +8 -4
- package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +8 -4
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +65 -13
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js +7 -8
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +2 -6
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +36 -21
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +2 -2
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +1 -1
- package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
- package/fesm2015/taiga-ui-core-constants.js +1 -1
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +48 -4
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +1 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +20 -2
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +6 -6
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/mask/text-mask-config.d.ts +1 -1
- package/mask/text-mask-correction-handler.d.ts +1 -1
- package/mask/text-mask-list-handler.d.ts +1 -1
- package/mask/text-mask-list.d.ts +1 -1
- package/mask/text-mask-options.d.ts +1 -1
- package/mask/text-mask-pipe-handler.d.ts +1 -1
- package/mask/text-mask-pipe-result.d.ts +1 -1
- package/package.json +6 -6
- package/styles/mixins/textfield.less +5 -0
- package/styles/mixins/textfield.scss +5 -0
- package/tokens/common-icon.d.ts +9 -0
- package/tokens/index.d.ts +2 -0
- package/tokens/spin-icons.d.ts +7 -0
- package/utils/format/format-phone.d.ts +1 -1
- package/utils/mask/create-auto-corrected-money-pipe.d.ts +1 -1
- package/utils/mask/create-correction-mask.d.ts +1 -1
- package/utils/mask/create-number-mask.d.ts +1 -1
- package/utils/mask/enable-auto-correct-decimal-symbol.d.ts +1 -1
- package/utils/mask/masked-money-value-is-empty.d.ts +1 -1
- package/utils/mask/masked-number-string-to-number.d.ts +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
|
+
export interface TuiCommonIcons {
|
|
3
|
+
readonly check: string;
|
|
4
|
+
readonly close: string;
|
|
5
|
+
readonly error: string;
|
|
6
|
+
readonly more: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const TUI_COMMON_ICONS: import("@angular/core").InjectionToken<TuiCommonIcons>;
|
|
9
|
+
export declare function tuiCommonIconsProvider(icons: TuiCommonIcons): Provider;
|
package/tokens/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './animation-options';
|
|
2
2
|
export * from './animations-duration';
|
|
3
3
|
export * from './assert-enabled';
|
|
4
|
+
export * from './common-icon';
|
|
4
5
|
export * from './data-list-accessor';
|
|
5
6
|
export * from './data-list-host';
|
|
6
7
|
export * from './day-type-handler';
|
|
@@ -22,6 +23,7 @@ export * from './ordered-short-week-days';
|
|
|
22
23
|
export * from './sanitizer';
|
|
23
24
|
export * from './scroll-ref';
|
|
24
25
|
export * from './selection-stream';
|
|
26
|
+
export * from './spin-icons';
|
|
25
27
|
export * from './svg-content-processor';
|
|
26
28
|
export * from './svg-src-processor';
|
|
27
29
|
export * from './textfield-appearance';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
3
|
+
export interface TuiSpinIcons {
|
|
4
|
+
readonly decrement: PolymorpheusContent;
|
|
5
|
+
readonly increment: PolymorpheusContent;
|
|
6
|
+
}
|
|
7
|
+
export declare const TUI_SPIN_ICONS: InjectionToken<TuiSpinIcons>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* TODO: delete in v4.0
|
|
3
|
-
* @deprecated Use {@link https://
|
|
3
|
+
* @deprecated Use {@link https://maskito.dev/core-concepts/transformer maskitoTransform} instead<br/>
|
|
4
4
|
* @example
|
|
5
5
|
* import {maskitoTransform} from '@maskito/core';
|
|
6
6
|
*
|
|
@@ -2,7 +2,7 @@ import { TuiTextMaskPipeHandler } from '@taiga-ui/core/mask';
|
|
|
2
2
|
import { TuiDecimalSymbol } from '@taiga-ui/core/types';
|
|
3
3
|
/**
|
|
4
4
|
* TODO: delete in v4.0
|
|
5
|
-
* @deprecated Use {@link https://
|
|
5
|
+
* @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead <br/>
|
|
6
6
|
* Used to finish a number with zeros to a given precision
|
|
7
7
|
*/
|
|
8
8
|
export declare function tuiCreateAutoCorrectedNumberPipe(decimalLimit?: number, decimalSymbol?: TuiDecimalSymbol, thousandSymbol?: string, nativeInput?: HTMLInputElement | null, allowNegative?: boolean, isIOS?: boolean): TuiTextMaskPipeHandler;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TuiTextMaskCorrectionHandler, TuiTextMaskListHandler } from '@taiga-ui/core/mask';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: delete in v4.0
|
|
4
|
-
* @deprecated Use {@link https://
|
|
4
|
+
* @deprecated Use {@link https://maskito.dev/core-concepts/processors processors} from {@link https://github.com/taiga-family/maskito Maskito}
|
|
5
5
|
*/
|
|
6
6
|
export declare function tuiCreateCorrectionMask(allowed: RegExp, correctionHandler: TuiTextMaskCorrectionHandler): TuiTextMaskListHandler;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TuiNumberMaskOptions, TuiTextMaskListHandler } from '@taiga-ui/core/mask';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: delete in v4.0
|
|
4
|
-
* @deprecated Use {@link https://
|
|
4
|
+
* @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead <br/>
|
|
5
5
|
* Adaptation for {@link https://github.com/text-mask/text-mask/tree/master/addons#createnumbermask `createNumberMask`}
|
|
6
6
|
*/
|
|
7
7
|
export declare function tuiCreateNumberMask({ allowDecimal, decimalSymbol, thousandSymbol, autoCorrectDecimalSymbol, decimalLimit, requireDecimal, allowNegative, integerLimit, }?: TuiNumberMaskOptions): TuiTextMaskListHandler;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TuiNumberFormatSettings } from '@taiga-ui/core/interfaces';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: delete in v4.0
|
|
4
|
-
* @deprecated Use {@link https://
|
|
4
|
+
* @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
5
5
|
*/
|
|
6
6
|
export declare function tuiEnableAutoCorrectDecimalSymbol({ thousandSeparator, }: TuiNumberFormatSettings): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* TODO: delete in v4.0
|
|
3
|
-
* @deprecated use {@link https://
|
|
3
|
+
* @deprecated use {@link https://maskito.dev/kit/number maskitoParseNumber} instead
|
|
4
4
|
* ```ts
|
|
5
5
|
* Number.isNaN(maskitoParseNumber(value, decimalSeparator))
|
|
6
6
|
* ```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TuiDecimalSymbol } from '@taiga-ui/core/types';
|
|
2
2
|
/**
|
|
3
3
|
* TODO: delete in v4.0
|
|
4
|
-
* @deprecated use {@link https://
|
|
4
|
+
* @deprecated use {@link https://maskito.dev/kit/number maskitoParseNumber} instead
|
|
5
5
|
*/
|
|
6
6
|
export declare function tuiMaskedNumberStringToNumber(value: string, decimalsSymbol: TuiDecimalSymbol, thousandSymbol: string): number;
|