@taiga-ui/cdk 4.0.0-alpha.0 → 4.0.0-rc.10
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/classes/index.d.ts +0 -1
- package/constants/used-icons.d.ts +1 -1
- package/constants/version.d.ts +1 -1
- package/constants/version.js +1 -1
- package/esm2022/classes/index.mjs +1 -2
- package/esm2022/constants/used-icons.mjs +9 -1
- package/esm2022/constants/version.mjs +2 -2
- package/esm2022/directives/auto-focus/autofocus.options.mjs +3 -3
- package/esm2022/directives/copy-processor/copy-processor.directive.mjs +3 -3
- package/esm2022/directives/high-dpi/high-dpi.directive.mjs +3 -3
- package/esm2022/directives/obscured/obscured.service.mjs +3 -3
- package/esm2022/services/index.mjs +2 -2
- package/esm2022/services/scroll.service.mjs +4 -4
- package/esm2022/services/theme-color.service.mjs +30 -0
- package/esm2022/tokens/active-element.mjs +3 -3
- package/esm2022/tokens/environment.mjs +15 -7
- package/esm2022/tokens/removed-element.mjs +3 -3
- package/esm2022/tokens/window-size.mjs +3 -3
- package/esm2022/utils/focus/focused-in.mjs +7 -0
- package/esm2022/utils/focus/index.mjs +2 -1
- package/fesm2022/taiga-ui-cdk-classes.mjs +1 -15
- package/fesm2022/taiga-ui-cdk-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-constants.mjs +9 -1
- package/fesm2022/taiga-ui-cdk-constants.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs +2 -2
- package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs +2 -2
- package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs +2 -2
- package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-directives-obscured.mjs +2 -2
- package/fesm2022/taiga-ui-cdk-directives-obscured.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-services.mjs +22 -25
- package/fesm2022/taiga-ui-cdk-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-tokens.mjs +19 -12
- package/fesm2022/taiga-ui-cdk-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-utils-focus.mjs +8 -2
- package/fesm2022/taiga-ui-cdk-utils-focus.mjs.map +1 -1
- package/package.json +356 -67
- package/schematics/ng-update/interfaces/html-comment.d.ts +3 -2
- package/schematics/ng-update/interfaces/replacement-attribute-value.d.ts +6 -2
- package/schematics/ng-update/interfaces/replacement-identifier.d.ts +4 -10
- package/schematics/ng-update/interfaces/replacement-type.d.ts +4 -0
- package/schematics/ng-update/steps/rename-types.js +6 -2
- package/schematics/ng-update/steps/replace-identifier.js +30 -8
- package/schematics/ng-update/steps/replace-package-name.js +4 -5
- package/schematics/ng-update/utils/templates/replace-attr-values.js +39 -10
- package/schematics/ng-update/utils/templates/template-comments.js +7 -1
- package/schematics/ng-update/v4/index.js +9 -1
- package/schematics/ng-update/v4/migrate-icons/index.js +2 -2
- package/schematics/ng-update/v4/migrate-icons/rename-icons.js +13 -5
- package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.d.ts +2 -1
- package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.js +19 -6
- package/schematics/ng-update/v4/steps/constants/attr-to-directive-replace.js +3 -2
- package/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.js +44 -3
- package/schematics/ng-update/v4/steps/constants/attrs-to-replace.js +107 -21
- package/schematics/ng-update/v4/steps/constants/html-comments.js +9 -0
- package/schematics/ng-update/v4/steps/constants/identifiers-to-replace.js +552 -213
- package/schematics/ng-update/v4/steps/constants/index.d.ts +1 -0
- package/schematics/ng-update/v4/steps/constants/index.js +1 -0
- package/schematics/ng-update/v4/steps/constants/inputs-to-remove.js +1 -0
- package/schematics/ng-update/v4/steps/constants/migration-warnings.js +20 -0
- package/schematics/ng-update/v4/steps/constants/modules-to-remove.js +20 -0
- package/schematics/ng-update/v4/steps/constants/modules-to-replace.d.ts +7 -6
- package/schematics/ng-update/v4/steps/constants/modules-to-replace.js +1 -0
- package/schematics/ng-update/v4/steps/constants/services.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/services.js +15 -0
- package/schematics/ng-update/v4/steps/constants/tags-to-replace.js +14 -2
- package/schematics/ng-update/v4/steps/constants/types.js +33 -1
- package/schematics/ng-update/v4/steps/index.d.ts +4 -1
- package/schematics/ng-update/v4/steps/index.js +4 -1
- package/schematics/ng-update/v4/steps/migrate-alert-service.d.ts +2 -0
- package/schematics/ng-update/v4/steps/migrate-alert-service.js +110 -0
- package/schematics/ng-update/v4/steps/migrate-month-context.d.ts +2 -0
- package/schematics/ng-update/v4/steps/migrate-month-context.js +39 -0
- package/schematics/ng-update/v4/steps/migrate-number-format-settings.d.ts +2 -0
- package/schematics/ng-update/v4/steps/migrate-number-format-settings.js +64 -0
- package/schematics/ng-update/v4/steps/migrate-root.d.ts +3 -0
- package/schematics/ng-update/v4/steps/migrate-root.js +61 -0
- package/schematics/ng-update/v4/steps/migrate-templates.js +10 -2
- package/schematics/ng-update/v4/steps/styles/index.js +38 -0
- package/schematics/ng-update/v4/steps/styles/migrate-less-scss-constants.d.ts +1 -0
- package/schematics/ng-update/v4/steps/styles/migrate-less-scss-constants.js +13 -0
- package/schematics/ng-update/v4/steps/styles/migrate-scrollbar-behavior.d.ts +1 -0
- package/schematics/ng-update/v4/steps/styles/migrate-scrollbar-behavior.js +10 -0
- package/schematics/ng-update/v4/steps/styles/migrate-shadow-mixins.d.ts +1 -0
- package/schematics/ng-update/v4/steps/styles/migrate-shadow-mixins.js +23 -0
- package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.d.ts +1 -0
- package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.js +20 -0
- package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.d.ts +1 -0
- package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.js +54 -0
- package/schematics/ng-update/v4/steps/templates/index.d.ts +6 -0
- package/schematics/ng-update/v4/steps/templates/index.js +6 -0
- package/schematics/ng-update/v4/steps/templates/migrate-avatar.js +10 -5
- package/schematics/ng-update/{v3/steps/migrate-polymorpheus.d.ts → v4/steps/templates/migrate-axes.d.ts} +2 -2
- package/schematics/ng-update/v4/steps/templates/migrate-axes.js +26 -0
- package/schematics/ng-update/v4/steps/templates/migrate-badge.js +15 -6
- package/schematics/ng-update/v4/steps/templates/migrate-badged-content.js +1 -1
- package/schematics/ng-update/{v3/steps/migrate-textfield-controller.d.ts → v4/steps/templates/migrate-blocked.d.ts} +2 -2
- package/schematics/ng-update/v4/steps/templates/migrate-blocked.js +35 -0
- package/schematics/ng-update/v4/steps/templates/migrate-button-appearance.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-button-appearance.js +41 -0
- package/schematics/ng-update/v4/steps/templates/migrate-expandable.js +3 -2
- package/schematics/ng-update/v4/steps/templates/migrate-focusable.js +7 -4
- package/schematics/ng-update/v4/steps/templates/migrate-label.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-label.js +39 -0
- package/schematics/ng-update/v4/steps/templates/migrate-labeled.js +5 -7
- package/schematics/ng-update/v4/steps/templates/migrate-mobile-tabs.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-mobile-tabs.js +45 -0
- package/schematics/ng-update/v4/steps/templates/migrate-notification.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-notification.js +64 -0
- package/schematics/ng-update/v4/steps/templates/migrate-number-precision.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-number-precision.js +36 -0
- package/schematics/ng-update/v4/steps/templates/migrate-overscroll.js +4 -6
- package/schematics/ng-update/v4/steps/templates/migrate-thumbnail-card.js +2 -1
- package/schematics/ng-update/v4/steps/templates/toggles/common.js +3 -2
- package/schematics/ng-update/v4/steps/templates/toggles/migrate-checkbox.js +36 -0
- package/schematics/ng-update/v4/steps/update-packages.js +21 -8
- package/schematics/ng-update/v4/steps/utils/replace-modules-with-providers.d.ts +1 -11
- package/schematics/ng-update/v4/steps/utils/replace-modules-with-providers.js +8 -4
- package/schematics/utils/get-named-import-references.js +4 -2
- package/schematics/utils/templates/elements.js +2 -1
- package/schematics/utils/templates/inputs.js +2 -1
- package/services/index.d.ts +1 -1
- package/services/theme-color.service.d.ts +16 -0
- package/tokens/environment.d.ts +1 -0
- package/utils/focus/focused-in.d.ts +2 -0
- package/utils/focus/index.d.ts +1 -0
- package/classes/controller.d.ts +0 -9
- package/esm2022/classes/controller.mjs +0 -18
- package/esm2022/services/static-request.service.mjs +0 -33
- package/schematics/ng-update/v3/constants/breakpoints.d.ts +0 -82
- package/schematics/ng-update/v3/constants/breakpoints.js +0 -34
- package/schematics/ng-update/v3/constants/constants.d.ts +0 -2
- package/schematics/ng-update/v3/constants/constants.js +0 -466
- package/schematics/ng-update/v3/constants/deprecated-functions.d.ts +0 -2
- package/schematics/ng-update/v3/constants/deprecated-functions.js +0 -680
- package/schematics/ng-update/v3/constants/enums.d.ts +0 -2
- package/schematics/ng-update/v3/constants/enums.js +0 -284
- package/schematics/ng-update/v3/constants/modules.d.ts +0 -2
- package/schematics/ng-update/v3/constants/modules.js +0 -9
- package/schematics/ng-update/v3/constants/services.d.ts +0 -2
- package/schematics/ng-update/v3/constants/services.js +0 -53
- package/schematics/ng-update/v3/constants/templates.d.ts +0 -57
- package/schematics/ng-update/v3/constants/templates.js +0 -744
- package/schematics/ng-update/v3/constants/tui-interactive-selectors.d.ts +0 -1
- package/schematics/ng-update/v3/constants/tui-interactive-selectors.js +0 -55
- package/schematics/ng-update/v3/constants/types.d.ts +0 -2
- package/schematics/ng-update/v3/constants/types.js +0 -156
- package/schematics/ng-update/v3/constants/warnings.d.ts +0 -2
- package/schematics/ng-update/v3/constants/warnings.js +0 -111
- package/schematics/ng-update/v3/index.d.ts +0 -3
- package/schematics/ng-update/v3/index.js +0 -105
- package/schematics/ng-update/v3/schema.json +0 -13
- package/schematics/ng-update/v3/steps/migrate-date-time.d.ts +0 -2
- package/schematics/ng-update/v3/steps/migrate-date-time.js +0 -207
- package/schematics/ng-update/v3/steps/migrate-polymorpheus.js +0 -78
- package/schematics/ng-update/v3/steps/migrate-progress.d.ts +0 -8
- package/schematics/ng-update/v3/steps/migrate-progress.js +0 -49
- package/schematics/ng-update/v3/steps/migrate-sliders/index.d.ts +0 -3
- package/schematics/ng-update/v3/steps/migrate-sliders/index.js +0 -19
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.d.ts +0 -3
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.js +0 -103
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.d.ts +0 -3
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.js +0 -90
- package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.d.ts +0 -3
- package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.js +0 -70
- package/schematics/ng-update/v3/steps/migrate-templates.d.ts +0 -4
- package/schematics/ng-update/v3/steps/migrate-templates.js +0 -216
- package/schematics/ng-update/v3/steps/migrate-textfield-controller.js +0 -98
- package/schematics/ng-update/v3/steps/miscellaneous.d.ts +0 -2
- package/schematics/ng-update/v3/steps/miscellaneous.js +0 -81
- package/schematics/ng-update/v3/steps/replace-functions.d.ts +0 -2
- package/schematics/ng-update/v3/steps/replace-functions.js +0 -138
- package/schematics/ng-update/v3/steps/replace-styles.d.ts +0 -3
- package/schematics/ng-update/v3/steps/replace-styles.js +0 -33
- package/schematics/ng-update/v3-30/constants/constants.d.ts +0 -2
- package/schematics/ng-update/v3-30/constants/constants.js +0 -8
- package/schematics/ng-update/v3-30/constants/icons.d.ts +0 -4
- package/schematics/ng-update/v3-30/constants/icons.js +0 -993
- package/schematics/ng-update/v3-30/index.d.ts +0 -3
- package/schematics/ng-update/v3-30/index.js +0 -33
- package/schematics/ng-update/v3-35/constants/constants.d.ts +0 -2
- package/schematics/ng-update/v3-35/constants/constants.js +0 -8
- package/schematics/ng-update/v3-35/constants/icons.d.ts +0 -4
- package/schematics/ng-update/v3-35/constants/icons.js +0 -2537
- package/schematics/ng-update/v3-35/index.d.ts +0 -3
- package/schematics/ng-update/v3-35/index.js +0 -33
- package/schematics/ng-update/v3-36/index.d.ts +0 -3
- package/schematics/ng-update/v3-36/index.js +0 -23
- package/schematics/ng-update/v3-40/index.d.ts +0 -3
- package/schematics/ng-update/v3-40/index.js +0 -62
- package/schematics/ng-update/v3-5/index.d.ts +0 -3
- package/schematics/ng-update/v3-5/index.js +0 -20
- package/schematics/ng-update/v3-5/steps/migrate-expand-templates.d.ts +0 -3
- package/schematics/ng-update/v3-5/steps/migrate-expand-templates.js +0 -44
- package/schematics/ng-update/v4/steps/migrate-styles.js +0 -20
- package/services/static-request.service.d.ts +0 -8
- /package/schematics/ng-update/v4/steps/{migrate-styles.d.ts → styles/index.d.ts} +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ATTRS_TO_REPLACE = void 0;
|
4
4
|
const elements_1 = require("../../../../utils/templates/elements");
|
5
|
+
const inputs_1 = require("../../../../utils/templates/inputs");
|
5
6
|
exports.ATTRS_TO_REPLACE = [
|
6
7
|
{
|
7
8
|
from: {
|
@@ -10,6 +11,20 @@ exports.ATTRS_TO_REPLACE = [
|
|
10
11
|
},
|
11
12
|
to: { attrName: 'iconStart' },
|
12
13
|
},
|
14
|
+
{
|
15
|
+
from: {
|
16
|
+
attrName: 'src',
|
17
|
+
withTagNames: ['tui-svg'],
|
18
|
+
},
|
19
|
+
to: { attrName: 'icon' },
|
20
|
+
},
|
21
|
+
{
|
22
|
+
from: {
|
23
|
+
attrName: '[src]',
|
24
|
+
withTagNames: ['tui-svg'],
|
25
|
+
},
|
26
|
+
to: { attrName: '[icon]' },
|
27
|
+
},
|
13
28
|
{
|
14
29
|
from: {
|
15
30
|
attrName: '[brandLogo]',
|
@@ -34,17 +49,24 @@ exports.ATTRS_TO_REPLACE = [
|
|
34
49
|
{
|
35
50
|
from: {
|
36
51
|
attrName: 'item',
|
37
|
-
withTagNames: ['tui-radio'],
|
52
|
+
withTagNames: ['tui-radio', 'tui-radio-labeled', 'tui-radio-block'],
|
38
53
|
},
|
39
54
|
to: { attrName: 'value' },
|
40
55
|
},
|
41
56
|
{
|
42
57
|
from: {
|
43
58
|
attrName: '[item]',
|
44
|
-
withTagNames: ['tui-radio'],
|
59
|
+
withTagNames: ['tui-radio', 'tui-radio-labeled', 'tui-radio-block'],
|
45
60
|
},
|
46
61
|
to: { attrName: '[value]' },
|
47
62
|
},
|
63
|
+
{
|
64
|
+
from: {
|
65
|
+
attrName: '(removed)',
|
66
|
+
withTagNames: ['tui-file'],
|
67
|
+
},
|
68
|
+
to: { attrName: '(remove)' },
|
69
|
+
},
|
48
70
|
{
|
49
71
|
from: {
|
50
72
|
attrName: '[rounded]',
|
@@ -59,20 +81,6 @@ exports.ATTRS_TO_REPLACE = [
|
|
59
81
|
},
|
60
82
|
to: { attrName: '(waResizeObserver)' },
|
61
83
|
},
|
62
|
-
{
|
63
|
-
from: {
|
64
|
-
attrName: 'item',
|
65
|
-
withTagNames: ['tui-radio-labeled'],
|
66
|
-
},
|
67
|
-
to: { attrName: 'value' },
|
68
|
-
},
|
69
|
-
{
|
70
|
-
from: {
|
71
|
-
attrName: '[item]',
|
72
|
-
withTagNames: ['tui-radio-labeled'],
|
73
|
-
},
|
74
|
-
to: { attrName: '[value]' },
|
75
|
-
},
|
76
84
|
// Hosted dropdown
|
77
85
|
{
|
78
86
|
from: {
|
@@ -156,6 +164,14 @@ exports.ATTRS_TO_REPLACE = [
|
|
156
164
|
},
|
157
165
|
to: { attrName: 'appearance' },
|
158
166
|
},
|
167
|
+
{
|
168
|
+
from: {
|
169
|
+
attrName: '[mode]',
|
170
|
+
withTagNames: ['tui-marker-icon'],
|
171
|
+
withAttrsNames: ['tuiMarkerIcon'],
|
172
|
+
},
|
173
|
+
to: { attrName: '[appearance]' },
|
174
|
+
},
|
159
175
|
{
|
160
176
|
from: {
|
161
177
|
attrName: 'tuiAction',
|
@@ -167,17 +183,45 @@ exports.ATTRS_TO_REPLACE = [
|
|
167
183
|
{
|
168
184
|
from: {
|
169
185
|
attrName: 'icon',
|
170
|
-
withAttrsNames: ['tuiButton'],
|
186
|
+
withAttrsNames: ['tuiButton', 'tuiIconButton'],
|
171
187
|
},
|
172
188
|
to: { attrName: 'iconStart' },
|
173
189
|
},
|
174
190
|
{
|
175
191
|
from: {
|
176
192
|
attrName: '[icon]',
|
177
|
-
withAttrsNames: ['tuiButton'],
|
193
|
+
withAttrsNames: ['tuiButton', 'tuiIconButton'],
|
178
194
|
},
|
179
195
|
to: { attrName: '[iconStart]' },
|
180
196
|
},
|
197
|
+
{
|
198
|
+
from: {
|
199
|
+
attrName: 'iconLeft',
|
200
|
+
withAttrsNames: ['tuiButton', 'tuiIconButton'],
|
201
|
+
},
|
202
|
+
to: { attrName: 'iconStart' },
|
203
|
+
},
|
204
|
+
{
|
205
|
+
from: {
|
206
|
+
attrName: '[iconLeft]',
|
207
|
+
withAttrsNames: ['tuiButton', 'tuiIconButton'],
|
208
|
+
},
|
209
|
+
to: { attrName: '[iconStart]' },
|
210
|
+
},
|
211
|
+
{
|
212
|
+
from: {
|
213
|
+
attrName: 'iconRight',
|
214
|
+
withAttrsNames: ['tuiButton', 'tuiIconButton'],
|
215
|
+
},
|
216
|
+
to: { attrName: 'iconEnd' },
|
217
|
+
},
|
218
|
+
{
|
219
|
+
from: {
|
220
|
+
attrName: '[iconRight]',
|
221
|
+
withAttrsNames: ['tuiButton', 'tuiIconButton'],
|
222
|
+
},
|
223
|
+
to: { attrName: '[iconEnd]' },
|
224
|
+
},
|
181
225
|
{
|
182
226
|
from: {
|
183
227
|
attrName: 'icon',
|
@@ -185,20 +229,39 @@ exports.ATTRS_TO_REPLACE = [
|
|
185
229
|
filterFn: (element) => {
|
186
230
|
var _a;
|
187
231
|
return !(0, elements_1.hasElementAttribute)(element, 'iconAlign') ||
|
188
|
-
((_a = element.attrs
|
189
|
-
'right';
|
232
|
+
((_a = (0, inputs_1.findAttr)(element.attrs, 'iconAlign')) === null || _a === void 0 ? void 0 : _a.value) === 'right';
|
190
233
|
},
|
191
234
|
},
|
192
235
|
to: { attrName: 'iconEnd' },
|
193
236
|
},
|
237
|
+
{
|
238
|
+
from: {
|
239
|
+
attrName: '[icon]',
|
240
|
+
withAttrsNames: ['tuiLink'],
|
241
|
+
filterFn: (element) => {
|
242
|
+
var _a;
|
243
|
+
return !(0, elements_1.hasElementAttribute)(element, 'iconAlign') ||
|
244
|
+
((_a = (0, inputs_1.findAttr)(element.attrs, 'iconAlign')) === null || _a === void 0 ? void 0 : _a.value) === 'right';
|
245
|
+
},
|
246
|
+
},
|
247
|
+
to: { attrName: '[iconEnd]' },
|
248
|
+
},
|
194
249
|
{
|
195
250
|
from: {
|
196
251
|
attrName: 'icon',
|
197
252
|
withAttrsNames: ['tuiLink'],
|
198
|
-
filterFn: (element) => { var _a; return ((_a = element.attrs
|
253
|
+
filterFn: (element) => { var _a; return ((_a = (0, inputs_1.findAttr)(element.attrs, 'iconAlign')) === null || _a === void 0 ? void 0 : _a.value) === 'left'; },
|
199
254
|
},
|
200
255
|
to: { attrName: 'iconStart' },
|
201
256
|
},
|
257
|
+
{
|
258
|
+
from: {
|
259
|
+
attrName: '[icon]',
|
260
|
+
withAttrsNames: ['tuiLink'],
|
261
|
+
filterFn: (element) => { var _a; return ((_a = (0, inputs_1.findAttr)(element.attrs, 'iconAlign')) === null || _a === void 0 ? void 0 : _a.value) === 'left'; },
|
262
|
+
},
|
263
|
+
to: { attrName: '[iconStart]' },
|
264
|
+
},
|
202
265
|
{
|
203
266
|
from: {
|
204
267
|
attrName: 'new',
|
@@ -206,4 +269,27 @@ exports.ATTRS_TO_REPLACE = [
|
|
206
269
|
},
|
207
270
|
to: { attrName: '' },
|
208
271
|
},
|
272
|
+
{
|
273
|
+
from: {
|
274
|
+
attrName: 'tuiTextfield',
|
275
|
+
withTagNames: ['input', 'textarea'],
|
276
|
+
},
|
277
|
+
to: { attrName: 'tuiTextfieldLegacy' },
|
278
|
+
},
|
279
|
+
{
|
280
|
+
from: {
|
281
|
+
attrName: 'status',
|
282
|
+
withTagNames: ['tui-notification'],
|
283
|
+
withAttrsNames: ['tuiNotification'],
|
284
|
+
},
|
285
|
+
to: { attrName: 'appearance' },
|
286
|
+
},
|
287
|
+
{
|
288
|
+
from: {
|
289
|
+
attrName: '[status]',
|
290
|
+
withTagNames: ['tui-notification'],
|
291
|
+
withAttrsNames: ['tuiNotification'],
|
292
|
+
},
|
293
|
+
to: { attrName: '[appearance]' },
|
294
|
+
},
|
209
295
|
];
|
@@ -47,4 +47,13 @@ exports.HTML_COMMENTS = [
|
|
47
47
|
withAttrs: [],
|
48
48
|
comment: 'TuiThemeNight has been removed. Please use tuiTheme attribute to set theme https://taiga-ui.dev/directives/theme',
|
49
49
|
},
|
50
|
+
{
|
51
|
+
tag: 'tui-input-files',
|
52
|
+
withAttrs: [],
|
53
|
+
comment: 'Native input inside is now required and the wrapper has changed from <tui-input-files to <label tuiInputFiles, control moved to native input. See interactive example https://taiga-ui.dev/components/input-files',
|
54
|
+
},
|
55
|
+
{
|
56
|
+
pattern: /\|\s?tuiFormatNumber\s?:/g,
|
57
|
+
comment: 'tuiFormatNumber pipe API has been changed. Learn how to migrate decimalLimit, decimal, zeroPadding: https://github.com/taiga-family/taiga-ui/issues/8335#migration',
|
58
|
+
},
|
50
59
|
];
|