From 71f699cec9cda4ba0e4890f10620112e5a009320 Mon Sep 17 00:00:00 2001 From: German Panov Date: Mon, 16 Sep 2024 12:05:20 +0300 Subject: [PATCH 001/156] fix(kit): `Connected` work with `CardLarge` (#9040) --- .../components/cell/examples/8/index.html | 36 +++++++++++++++---- .../components/cell/examples/8/index.ts | 3 +- .../directives/connected/connected.style.less | 4 +++ .../layout/components/cell/cell.styles.less | 3 ++ 4 files changed, 38 insertions(+), 8 deletions(-) diff --git a/projects/demo/src/modules/components/cell/examples/8/index.html b/projects/demo/src/modules/components/cell/examples/8/index.html index d27e6dc0d584..0bec34f13915 100644 --- a/projects/demo/src/modules/components/cell/examples/8/index.html +++ b/projects/demo/src/modules/components/cell/examples/8/index.html @@ -1,3 +1,32 @@ + +
+ Can be attached as host directive: + hostDirectives: [TuiConnected] +
+
+ +
+

Inside a block

+ +
+
- - -
- Can be attached as host directive: - hostDirectives: [TuiConnected] -
-
diff --git a/projects/demo/src/modules/components/cell/examples/8/index.ts b/projects/demo/src/modules/components/cell/examples/8/index.ts index deeaba5d8adb..87599491cd85 100644 --- a/projects/demo/src/modules/components/cell/examples/8/index.ts +++ b/projects/demo/src/modules/components/cell/examples/8/index.ts @@ -50,7 +50,8 @@ export default class Example { { icon: '@tui.mail', title: 'Send message', - subtitle: 'Keep it short', + subtitle: + 'Allow outgoing unusual call that can change your life in an unusual way', }, { icon: '@tui.lock', diff --git a/projects/kit/directives/connected/connected.style.less b/projects/kit/directives/connected/connected.style.less index a7543a79569a..5115b47a5743 100644 --- a/projects/kit/directives/connected/connected.style.less +++ b/projects/kit/directives/connected/connected.style.less @@ -4,6 +4,10 @@ --t-image-size: 2.5rem; --t-connected-height: calc(100% - var(--t-image-size) - 0.5rem); + &[tuiCardLarge] { + --t-connected-height: calc(100% - var(--t-image-size) - 0.25rem); + } + [tuiCell], [tuiStep] { &:not(:last-of-type)::after { diff --git a/projects/layout/components/cell/cell.styles.less b/projects/layout/components/cell/cell.styles.less index 236a4a1575b6..b4e40fbfcf72 100644 --- a/projects/layout/components/cell/cell.styles.less +++ b/projects/layout/components/cell/cell.styles.less @@ -134,6 +134,8 @@ & > [tuiAccessories] tui-avatar, & > [tuiAccessories] tui-avatar-stack tui-avatar { --t-size: 2rem; + + align-self: flex-start; } } @@ -155,6 +157,7 @@ font: var(--tui-font-text-m); font-weight: bold; + align-self: flex-start; } } From 043216af5b7b6e061573983cd615d1b829d4ff58 Mon Sep 17 00:00:00 2001 From: taiga-family-bot <140712314+taiga-family-bot@users.noreply.github.com> Date: Mon, 16 Sep 2024 12:51:53 +0300 Subject: [PATCH 002/156] chore(deps): update taiga-ui dev infra to v0.179.0 (#9037) --- package-lock.json | 62 +++++++++++++++++++++++------------------------ package.json | 14 +++++------ 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/package-lock.json b/package-lock.json index a24d7fd33214..2ffc2f12b0a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,15 +26,15 @@ "@nx/jest": "19.7.3", "@nx/workspace": "19.7.3", "@schematics/angular": "16.2.15", - "@taiga-ui/browserslist-config": "0.174.3", - "@taiga-ui/commitlint-config": "0.174.3", - "@taiga-ui/cspell-config": "0.174.3", + "@taiga-ui/browserslist-config": "0.179.0", + "@taiga-ui/commitlint-config": "0.179.0", + "@taiga-ui/cspell-config": "0.179.0", "@taiga-ui/design-tokens": "0.134.0", - "@taiga-ui/eslint-plugin-experience": "0.174.3", + "@taiga-ui/eslint-plugin-experience": "0.179.0", "@taiga-ui/event-plugins": "4.2.0", - "@taiga-ui/prettier-config": "0.174.3", - "@taiga-ui/stylelint-config": "0.174.3", - "@taiga-ui/tsconfig": "0.174.3", + "@taiga-ui/prettier-config": "0.179.0", + "@taiga-ui/stylelint-config": "0.179.0", + "@taiga-ui/tsconfig": "0.179.0", "@types/glob": "8.1.0", "@types/loader-utils": "2.0.6", "@types/node": "22.5.5", @@ -4901,9 +4901,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", - "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", + "version": "4.11.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.1.tgz", + "integrity": "sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==", "dev": true, "license": "MIT", "peer": true, @@ -9514,9 +9514,9 @@ "link": true }, "node_modules/@taiga-ui/browserslist-config": { - "version": "0.174.3", - "resolved": "https://registry.npmjs.org/@taiga-ui/browserslist-config/-/browserslist-config-0.174.3.tgz", - "integrity": "sha512-6eNMgN0R/7yHVM3uWsztMfsYJGGTlr0eA6PAO9ck42kowlrjEwZeQk+UWNHuoyuVW3K7v+A7a348ISCXwN1vNg==", + "version": "0.179.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/browserslist-config/-/browserslist-config-0.179.0.tgz", + "integrity": "sha512-VkufU9yCREjPSmgLWYk9YNzm6kxQ7cO0p0lkFQGjTKIuKBbYtjKXNPdWp6HAL8EX+KERfD+0Es+vA24Jm6u76A==", "dev": true, "license": "Apache-2.0" }, @@ -9525,9 +9525,9 @@ "link": true }, "node_modules/@taiga-ui/commitlint-config": { - "version": "0.174.3", - "resolved": "https://registry.npmjs.org/@taiga-ui/commitlint-config/-/commitlint-config-0.174.3.tgz", - "integrity": "sha512-ruRctYCiwa8L1HD9E4VUKoz8vqP5OQ+2Z7+RgKRKJoqDCgc21SEG8cic2enOlOGWo6dtmB8bau7wTjbTlNmyTw==", + "version": "0.179.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/commitlint-config/-/commitlint-config-0.179.0.tgz", + "integrity": "sha512-Hh5TZSS7xvPd2HweP8drgs4HIECUCR0p9xq2cUmzUYVh/R7Zs5zi/oPcUvYtyaluIrdr0Fz6djd3IXTxFcoUWw==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -9540,9 +9540,9 @@ "link": true }, "node_modules/@taiga-ui/cspell-config": { - "version": "0.174.3", - "resolved": "https://registry.npmjs.org/@taiga-ui/cspell-config/-/cspell-config-0.174.3.tgz", - "integrity": "sha512-U7EIGth0d/gZrfUfc7zKAFI79ewrEy0+AwbV8pooF3j17FIzfbVBYPX38kSmaMu0f9QrnUwytmNvtodcKBwF8w==", + "version": "0.179.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/cspell-config/-/cspell-config-0.179.0.tgz", + "integrity": "sha512-Q4XZdZQiISUpvJbazl11AiW5IDRi047sWyYmML4Z4WWC5xG2eqseah9aNukX3TcOcVQlc7Nncfa+xWD4edcs0w==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -9591,9 +9591,9 @@ } }, "node_modules/@taiga-ui/eslint-plugin-experience": { - "version": "0.174.3", - "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.174.3.tgz", - "integrity": "sha512-vuBmdsLrZpsxJlkbJgWP2yrd8MhmgxMJKcuO4Wo1/T68/W0EOBuUY/PtQjaNL+ZRi0luYRiteWERb4Kh0JEkEQ==", + "version": "0.179.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.179.0.tgz", + "integrity": "sha512-5mKbwBqKOAegeaeziSkdqPuIUssSu88JPiDBa/lHd9P+FKOAOMuwQN8A1F6QyEe5qDTBrjsKeXvnkYemXtJHdQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -9785,9 +9785,9 @@ } }, "node_modules/@taiga-ui/prettier-config": { - "version": "0.174.3", - "resolved": "https://registry.npmjs.org/@taiga-ui/prettier-config/-/prettier-config-0.174.3.tgz", - "integrity": "sha512-CzdY8l2+8B5ID5UEy7kuXMNW/P6kCczeLNUqNyZO0LwdQhyqwu8HVUX3zfVMtr6s8u/4/Dh2N5YcxOLDFWDUbA==", + "version": "0.179.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/prettier-config/-/prettier-config-0.179.0.tgz", + "integrity": "sha512-i9F7duLT11YZTdGb1mzzpN+X9XhL9k9jcqkkx/50LOL38b2njNUUXbjTrxZYU1EEf05ZDS+PnWI7HjQrnv38Yw==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -9800,9 +9800,9 @@ } }, "node_modules/@taiga-ui/stylelint-config": { - "version": "0.174.3", - "resolved": "https://registry.npmjs.org/@taiga-ui/stylelint-config/-/stylelint-config-0.174.3.tgz", - "integrity": "sha512-puCP4CjvkvBird4kaoPDS9zmPpzJSi00cvCHq+ZiFm/1yURN+hz0dQcID/pdSHtMoGQyWGriOk9nJKO1o3Sh+A==", + "version": "0.179.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/stylelint-config/-/stylelint-config-0.179.0.tgz", + "integrity": "sha512-6dNw0n7iQ/Q5uDnY1wyQN1eS9kB1LuZd7cc9k/M5wRKc9Ahhq5iDGPosLDUjprKUAZ9Zrb6InJnErmyqEKL3tw==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -9824,9 +9824,9 @@ "link": true }, "node_modules/@taiga-ui/tsconfig": { - "version": "0.174.3", - "resolved": "https://registry.npmjs.org/@taiga-ui/tsconfig/-/tsconfig-0.174.3.tgz", - "integrity": "sha512-b5zWNHuxT0Zi2i7qIct4y3PlU8G7GReVbctMlyeQtRVy+WdKSLXCF8Cf9ITOLuCBUtMHlQtEC1GPHJvJzQPAcw==", + "version": "0.179.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/tsconfig/-/tsconfig-0.179.0.tgz", + "integrity": "sha512-6Jp3gJ5Mg7561H3I/hZT5BfsnkD7Rn/culDChN/8GEqMHK4zlHaI1Rmj6G2Et0YSKAtG6nQIUyvHQRXp41c0Hw==", "dev": true, "license": "Apache-2.0" }, diff --git a/package.json b/package.json index f34ddc0248f3..1b7d35c82cb3 100644 --- a/package.json +++ b/package.json @@ -152,15 +152,15 @@ "@nx/jest": "19.7.3", "@nx/workspace": "19.7.3", "@schematics/angular": "16.2.15", - "@taiga-ui/browserslist-config": "0.174.3", - "@taiga-ui/commitlint-config": "0.174.3", - "@taiga-ui/cspell-config": "0.174.3", + "@taiga-ui/browserslist-config": "0.179.0", + "@taiga-ui/commitlint-config": "0.179.0", + "@taiga-ui/cspell-config": "0.179.0", "@taiga-ui/design-tokens": "0.134.0", - "@taiga-ui/eslint-plugin-experience": "0.174.3", + "@taiga-ui/eslint-plugin-experience": "0.179.0", "@taiga-ui/event-plugins": "4.2.0", - "@taiga-ui/prettier-config": "0.174.3", - "@taiga-ui/stylelint-config": "0.174.3", - "@taiga-ui/tsconfig": "0.174.3", + "@taiga-ui/prettier-config": "0.179.0", + "@taiga-ui/stylelint-config": "0.179.0", + "@taiga-ui/tsconfig": "0.179.0", "@types/glob": "8.1.0", "@types/loader-utils": "2.0.6", "@types/node": "22.5.5", From d8aec0f2e359a097b3ea77fc157f539dbaa358d0 Mon Sep 17 00:00:00 2001 From: taiga-family-bot <140712314+taiga-family-bot@users.noreply.github.com> Date: Mon, 16 Sep 2024 14:54:26 +0300 Subject: [PATCH 003/156] chore(deps): update taiga-ui dev infra to v0.182.0 (#9043) --- package-lock.json | 86 +++++++++++++++++++++++------------------------ package.json | 14 ++++---- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2ffc2f12b0a5..7bee979f8cf1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,15 +26,15 @@ "@nx/jest": "19.7.3", "@nx/workspace": "19.7.3", "@schematics/angular": "16.2.15", - "@taiga-ui/browserslist-config": "0.179.0", - "@taiga-ui/commitlint-config": "0.179.0", - "@taiga-ui/cspell-config": "0.179.0", + "@taiga-ui/browserslist-config": "0.182.0", + "@taiga-ui/commitlint-config": "0.182.0", + "@taiga-ui/cspell-config": "0.182.0", "@taiga-ui/design-tokens": "0.134.0", - "@taiga-ui/eslint-plugin-experience": "0.179.0", + "@taiga-ui/eslint-plugin-experience": "0.182.0", "@taiga-ui/event-plugins": "4.2.0", - "@taiga-ui/prettier-config": "0.179.0", - "@taiga-ui/stylelint-config": "0.179.0", - "@taiga-ui/tsconfig": "0.179.0", + "@taiga-ui/prettier-config": "0.182.0", + "@taiga-ui/stylelint-config": "0.182.0", + "@taiga-ui/tsconfig": "0.182.0", "@types/glob": "8.1.0", "@types/loader-utils": "2.0.6", "@types/node": "22.5.5", @@ -6616,9 +6616,9 @@ } }, "node_modules/@ng-web-apis/common": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/@ng-web-apis/common/-/common-4.5.0.tgz", - "integrity": "sha512-gFfxxPjcnw0MLEohSgZnWRTIrxZhY3FfAS0SFAmU1sO1mWDDqvQudxexi1EOhWusmxlwO8+brTe7+q0Wq8j3ig==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@ng-web-apis/common/-/common-4.6.0.tgz", + "integrity": "sha512-QDMUQGj4zzL4S1fmUoJpNFl6cfxc0fmo6R01fiJvXmfi2bu6Wrm/fVTkC3cLKBNk/HndJdTItLpJmELE4f2mgA==", "license": "Apache-2.0", "peer": true, "dependencies": { @@ -6631,9 +6631,9 @@ } }, "node_modules/@ng-web-apis/intersection-observer": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/@ng-web-apis/intersection-observer/-/intersection-observer-4.5.0.tgz", - "integrity": "sha512-NPwAZPIWEXnBEKcwyHbD10VgmyElKLk50O7sDDilB67jO0nYEAvEgChyIwOfl4pth+qx8gVNZTFT3nv1XXzmTw==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@ng-web-apis/intersection-observer/-/intersection-observer-4.6.0.tgz", + "integrity": "sha512-fm4KeNW0+T5HmYdnMxgSFONd8G9LGkmLMWW2ryPg/3DLIQTk8KRgubZ98Hvan6nX2mKBkZB4SYxZyNJWafhMLg==", "license": "Apache-2.0", "peer": true, "dependencies": { @@ -6641,13 +6641,13 @@ }, "peerDependencies": { "@angular/core": ">=16.0.0", - "@ng-web-apis/common": ">=4.5.0" + "@ng-web-apis/common": ">=4.6.0" } }, "node_modules/@ng-web-apis/mutation-observer": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/@ng-web-apis/mutation-observer/-/mutation-observer-4.5.0.tgz", - "integrity": "sha512-cxMawlNkbrFbXG74T14wkl82KR2zJI7xTN2mfgXq2y0REn9ao+jnuefj8XOSvXLdWBlz0FBLPtOA2rLCR8khIw==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@ng-web-apis/mutation-observer/-/mutation-observer-4.6.0.tgz", + "integrity": "sha512-ySidEUKwjmlxn6wE9eIORQhThomnXTsdbwZ5Pmoig8lsLaaqHU2hWCT399nUtsASvfvoefIbiYvLRhj29H/LDg==", "license": "Apache-2.0", "peer": true, "dependencies": { @@ -6655,13 +6655,13 @@ }, "peerDependencies": { "@angular/core": ">=16.0.0", - "@ng-web-apis/common": ">=4.5.0" + "@ng-web-apis/common": ">=4.6.0" } }, "node_modules/@ng-web-apis/resize-observer": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/@ng-web-apis/resize-observer/-/resize-observer-4.5.0.tgz", - "integrity": "sha512-amZLDP7CUod4oTaUfczHmCf5sk7hA/5YowZTTDpjL+tKv4BOw76cH/yKX7A9wfXeZDcgY7y9bdDwPd/i4+c26A==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@ng-web-apis/resize-observer/-/resize-observer-4.6.0.tgz", + "integrity": "sha512-Ndt27Oq5pGbUagJvEcENmDKBxhy5YfTey6HiHlapRUJ9HFIoXIQFeo+PRpJHGYXSl2f0P3b6aAk3XKUJkXr8wA==", "license": "Apache-2.0", "peer": true, "dependencies": { @@ -6669,7 +6669,7 @@ }, "peerDependencies": { "@angular/core": ">=16.0.0", - "@ng-web-apis/common": ">=4.5.0" + "@ng-web-apis/common": ">=4.6.0" } }, "node_modules/@ng-web-apis/universal": { @@ -9514,9 +9514,9 @@ "link": true }, "node_modules/@taiga-ui/browserslist-config": { - "version": "0.179.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/browserslist-config/-/browserslist-config-0.179.0.tgz", - "integrity": "sha512-VkufU9yCREjPSmgLWYk9YNzm6kxQ7cO0p0lkFQGjTKIuKBbYtjKXNPdWp6HAL8EX+KERfD+0Es+vA24Jm6u76A==", + "version": "0.182.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/browserslist-config/-/browserslist-config-0.182.0.tgz", + "integrity": "sha512-ZUE5zzF9ZEP1YDkwRZU2IZthDbFzAz5nPMp886N7T2RQuGC4RY0kCFzHG47rdzqYHcp+r/7a7QQMvVOoXtYVcQ==", "dev": true, "license": "Apache-2.0" }, @@ -9525,9 +9525,9 @@ "link": true }, "node_modules/@taiga-ui/commitlint-config": { - "version": "0.179.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/commitlint-config/-/commitlint-config-0.179.0.tgz", - "integrity": "sha512-Hh5TZSS7xvPd2HweP8drgs4HIECUCR0p9xq2cUmzUYVh/R7Zs5zi/oPcUvYtyaluIrdr0Fz6djd3IXTxFcoUWw==", + "version": "0.182.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/commitlint-config/-/commitlint-config-0.182.0.tgz", + "integrity": "sha512-SCB6yBjBYuqTIA9jlkTFoShxxH4zXJb3w/eei1Nzy3FOIRRBxpQAq5Bsy+3R2vut9Amosxul5DITDQSJSxCRCw==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -9540,9 +9540,9 @@ "link": true }, "node_modules/@taiga-ui/cspell-config": { - "version": "0.179.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/cspell-config/-/cspell-config-0.179.0.tgz", - "integrity": "sha512-Q4XZdZQiISUpvJbazl11AiW5IDRi047sWyYmML4Z4WWC5xG2eqseah9aNukX3TcOcVQlc7Nncfa+xWD4edcs0w==", + "version": "0.182.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/cspell-config/-/cspell-config-0.182.0.tgz", + "integrity": "sha512-u6NrH+HYuGu8/E9VPs/eb6JfEJaieEiMZnie2Qutb0aWrFUZsvgOFfjXsNOJFPaudFcsktdngkFGBH1v5PMdiQ==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -9591,9 +9591,9 @@ } }, "node_modules/@taiga-ui/eslint-plugin-experience": { - "version": "0.179.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.179.0.tgz", - "integrity": "sha512-5mKbwBqKOAegeaeziSkdqPuIUssSu88JPiDBa/lHd9P+FKOAOMuwQN8A1F6QyEe5qDTBrjsKeXvnkYemXtJHdQ==", + "version": "0.182.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.182.0.tgz", + "integrity": "sha512-VBn9vda0dhSBMOR6NQpmZW4W1VKOVH5YJYmu0V71C+zsxBD2LteqxAR8/P9s35C6PlV+Tg/eHwbANueP0Natew==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -9785,9 +9785,9 @@ } }, "node_modules/@taiga-ui/prettier-config": { - "version": "0.179.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/prettier-config/-/prettier-config-0.179.0.tgz", - "integrity": "sha512-i9F7duLT11YZTdGb1mzzpN+X9XhL9k9jcqkkx/50LOL38b2njNUUXbjTrxZYU1EEf05ZDS+PnWI7HjQrnv38Yw==", + "version": "0.182.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/prettier-config/-/prettier-config-0.182.0.tgz", + "integrity": "sha512-mkphtbK6Iunzc+UL0Rsl57WuzKa+USkzocqZnozRuUhW8iFl7khHZNpVw7HnnqrpyWy7yRtem7PqV1qv/987qA==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -9800,9 +9800,9 @@ } }, "node_modules/@taiga-ui/stylelint-config": { - "version": "0.179.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/stylelint-config/-/stylelint-config-0.179.0.tgz", - "integrity": "sha512-6dNw0n7iQ/Q5uDnY1wyQN1eS9kB1LuZd7cc9k/M5wRKc9Ahhq5iDGPosLDUjprKUAZ9Zrb6InJnErmyqEKL3tw==", + "version": "0.182.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/stylelint-config/-/stylelint-config-0.182.0.tgz", + "integrity": "sha512-bT5hsIfs6CINtgWKLf52+bkxrYxSY3Pia5fixW6ZQpgxj9tfurmjROjSYeRwgg3fanAyYME5rVqS9Hn+SgyVew==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -9824,9 +9824,9 @@ "link": true }, "node_modules/@taiga-ui/tsconfig": { - "version": "0.179.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/tsconfig/-/tsconfig-0.179.0.tgz", - "integrity": "sha512-6Jp3gJ5Mg7561H3I/hZT5BfsnkD7Rn/culDChN/8GEqMHK4zlHaI1Rmj6G2Et0YSKAtG6nQIUyvHQRXp41c0Hw==", + "version": "0.182.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/tsconfig/-/tsconfig-0.182.0.tgz", + "integrity": "sha512-vMZ7f5/b57VFuGhTMeet9huGoUez37ZMUSMYkbcVRW97R2++svBpxOLX8jgCfstdNZg8tNi7tbNcxzo0XeFz3g==", "dev": true, "license": "Apache-2.0" }, diff --git a/package.json b/package.json index 1b7d35c82cb3..ffb94caa4f64 100644 --- a/package.json +++ b/package.json @@ -152,15 +152,15 @@ "@nx/jest": "19.7.3", "@nx/workspace": "19.7.3", "@schematics/angular": "16.2.15", - "@taiga-ui/browserslist-config": "0.179.0", - "@taiga-ui/commitlint-config": "0.179.0", - "@taiga-ui/cspell-config": "0.179.0", + "@taiga-ui/browserslist-config": "0.182.0", + "@taiga-ui/commitlint-config": "0.182.0", + "@taiga-ui/cspell-config": "0.182.0", "@taiga-ui/design-tokens": "0.134.0", - "@taiga-ui/eslint-plugin-experience": "0.179.0", + "@taiga-ui/eslint-plugin-experience": "0.182.0", "@taiga-ui/event-plugins": "4.2.0", - "@taiga-ui/prettier-config": "0.179.0", - "@taiga-ui/stylelint-config": "0.179.0", - "@taiga-ui/tsconfig": "0.179.0", + "@taiga-ui/prettier-config": "0.182.0", + "@taiga-ui/stylelint-config": "0.182.0", + "@taiga-ui/tsconfig": "0.182.0", "@types/glob": "8.1.0", "@types/loader-utils": "2.0.6", "@types/node": "22.5.5", From ad1979a31bfaa48fbb94131377f01b513fab17a7 Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Mon, 16 Sep 2024 15:29:18 +0300 Subject: [PATCH 004/156] fix(addon-doc): `TuiDocScrollIntoViewLink` should be export from root (#9039) --- projects/addon-doc/components/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/addon-doc/components/index.ts b/projects/addon-doc/components/index.ts index 1242a73b8e26..53d5b231bb49 100644 --- a/projects/addon-doc/components/index.ts +++ b/projects/addon-doc/components/index.ts @@ -24,6 +24,7 @@ export * from './language-switcher'; export * from './main/main.component'; export * from './navigation/navigation.component'; export * from './navigation/navigation.providers'; +export * from './navigation/scroll-into-view.directive'; export * from './page/page.component'; export * from './page/page.providers'; export * from './page/page-tab.directive'; From 40943ea7901794dc2f3049eccc3b08e52d564db2 Mon Sep 17 00:00:00 2001 From: taiga-family-bot <140712314+taiga-family-bot@users.noreply.github.com> Date: Mon, 16 Sep 2024 16:09:15 +0300 Subject: [PATCH 005/156] fix(deps): update ng-web-apis to ^4.6.0 (#9046) --- package-lock.json | 42 ++++++++++++++-------------- projects/addon-charts/package.json | 2 +- projects/addon-commerce/package.json | 2 +- projects/addon-doc/package.json | 2 +- projects/addon-mobile/package.json | 2 +- projects/addon-table/package.json | 2 +- projects/cdk/package.json | 6 ++-- projects/core/package.json | 4 +-- projects/demo/package.json | 2 +- projects/i18n/package.json | 2 +- projects/kit/package.json | 8 +++--- 11 files changed, 37 insertions(+), 37 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7bee979f8cf1..804978bd0f58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6673,17 +6673,17 @@ } }, "node_modules/@ng-web-apis/universal": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/@ng-web-apis/universal/-/universal-4.5.0.tgz", - "integrity": "sha512-hpXcbm/tCygZyJdVMR/Tho+pRRLbryQj24XdnPIKVHJ7Nadk61/TZRs2mgy/Ud779c6pPX4Psw5qwbPm2oueig==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@ng-web-apis/universal/-/universal-4.6.0.tgz", + "integrity": "sha512-X9vFXU+YWTDkFQx3bl61KATHJWJodGbqvvJvanFtQgD8ufB1ZTFgJsS+OSDZ7kIeOlOHPFVVTiESkvIEcQq1ZQ==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/core": ">=16.0.0", - "@ng-web-apis/common": ">=4.5.0", - "@types/node": ">=22.5.4", + "@ng-web-apis/common": ">=4.6.0", + "@types/node": ">=22.5.5", "rxjs": ">=7.0.0" } }, @@ -39798,7 +39798,7 @@ "peerDependencies": { "@angular/common": ">=16.0.0", "@angular/core": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", "@taiga-ui/polymorpheus": "^4.7.1", @@ -39816,7 +39816,7 @@ "@maskito/angular": "^3.0.1", "@maskito/core": "^3.0.1", "@maskito/kit": "^3.0.1", - "@ng-web-apis/common": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", "@taiga-ui/i18n": "^4.6.0", @@ -39839,7 +39839,7 @@ "@angular/core": ">=16.0.0", "@angular/forms": ">=16.0.0", "@angular/router": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", "@taiga-ui/addon-mobile": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", @@ -39858,7 +39858,7 @@ "@angular/cdk": ">=16.0.0", "@angular/common": ">=16.0.0", "@angular/core": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", "@taiga-ui/kit": "^4.6.0", @@ -39874,7 +39874,7 @@ "peerDependencies": { "@angular/common": ">=16.0.0", "@angular/core": ">=16.0.0", - "@ng-web-apis/intersection-observer": "^4.5.0", + "@ng-web-apis/intersection-observer": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", "@taiga-ui/i18n": "^4.6.0", @@ -39910,9 +39910,9 @@ "@angular/common": ">=16.0.0", "@angular/core": ">=16.0.0", "@angular/forms": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", - "@ng-web-apis/mutation-observer": "^4.5.0", - "@ng-web-apis/resize-observer": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", + "@ng-web-apis/mutation-observer": "^4.6.0", + "@ng-web-apis/resize-observer": "^4.6.0", "@taiga-ui/event-plugins": "^4.2.0", "@taiga-ui/polymorpheus": "^4.7.1", "rxjs": ">=7.0.0" @@ -39929,8 +39929,8 @@ "@angular/forms": ">=16.0.0", "@angular/platform-browser": ">=16.0.0", "@angular/router": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", - "@ng-web-apis/mutation-observer": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", + "@ng-web-apis/mutation-observer": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/event-plugins": "^4.2.0", "@taiga-ui/i18n": "^4.6.0", @@ -39952,7 +39952,7 @@ "@angular/platform-browser-dynamic": "16.2.12", "@angular/platform-server": "16.2.12", "@angular/router": "16.2.12", - "@ng-web-apis/universal": "4.5.0", + "@ng-web-apis/universal": "4.6.0", "@nguniversal/express-engine": "16.2.0", "@stackblitz/sdk": "1.11.0", "@taiga-ui/dompurify": "4.1.7", @@ -40001,7 +40001,7 @@ "license": "Apache-2.0", "peerDependencies": { "@angular/core": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", "rxjs": ">=7.0.0", "tslib": "^2.7.0" } @@ -40043,10 +40043,10 @@ "@maskito/core": "^3.0.1", "@maskito/kit": "^3.0.1", "@maskito/phone": "^3.0.1", - "@ng-web-apis/common": "^4.5.0", - "@ng-web-apis/intersection-observer": "^4.5.0", - "@ng-web-apis/mutation-observer": "^4.5.0", - "@ng-web-apis/resize-observer": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", + "@ng-web-apis/intersection-observer": "^4.6.0", + "@ng-web-apis/mutation-observer": "^4.6.0", + "@ng-web-apis/resize-observer": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", "@taiga-ui/i18n": "^4.6.0", diff --git a/projects/addon-charts/package.json b/projects/addon-charts/package.json index dcb52c1abee2..bb3fc235fff0 100644 --- a/projects/addon-charts/package.json +++ b/projects/addon-charts/package.json @@ -16,7 +16,7 @@ "peerDependencies": { "@angular/common": ">=16.0.0", "@angular/core": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", "@taiga-ui/polymorpheus": "^4.7.1", diff --git a/projects/addon-commerce/package.json b/projects/addon-commerce/package.json index ec983ce49dae..729cdac20333 100644 --- a/projects/addon-commerce/package.json +++ b/projects/addon-commerce/package.json @@ -20,7 +20,7 @@ "@maskito/angular": "^3.0.1", "@maskito/core": "^3.0.1", "@maskito/kit": "^3.0.1", - "@ng-web-apis/common": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", "@taiga-ui/i18n": "^4.6.0", diff --git a/projects/addon-doc/package.json b/projects/addon-doc/package.json index bfcd949d6856..6ca02b96cac5 100644 --- a/projects/addon-doc/package.json +++ b/projects/addon-doc/package.json @@ -22,7 +22,7 @@ "@angular/core": ">=16.0.0", "@angular/forms": ">=16.0.0", "@angular/router": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", "@taiga-ui/addon-mobile": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", diff --git a/projects/addon-mobile/package.json b/projects/addon-mobile/package.json index f7ebed8a5166..b409fbec1530 100644 --- a/projects/addon-mobile/package.json +++ b/projects/addon-mobile/package.json @@ -17,7 +17,7 @@ "@angular/cdk": ">=16.0.0", "@angular/common": ">=16.0.0", "@angular/core": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", "@taiga-ui/kit": "^4.6.0", diff --git a/projects/addon-table/package.json b/projects/addon-table/package.json index e7bb1eb2ed54..c1cdee2f77cb 100644 --- a/projects/addon-table/package.json +++ b/projects/addon-table/package.json @@ -15,7 +15,7 @@ "peerDependencies": { "@angular/common": ">=16.0.0", "@angular/core": ">=16.0.0", - "@ng-web-apis/intersection-observer": "^4.5.0", + "@ng-web-apis/intersection-observer": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", "@taiga-ui/i18n": "^4.6.0", diff --git a/projects/cdk/package.json b/projects/cdk/package.json index a9614cbf7c3d..55bdfc54f353 100644 --- a/projects/cdk/package.json +++ b/projects/cdk/package.json @@ -29,9 +29,9 @@ "@angular/common": ">=16.0.0", "@angular/core": ">=16.0.0", "@angular/forms": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", - "@ng-web-apis/mutation-observer": "^4.5.0", - "@ng-web-apis/resize-observer": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", + "@ng-web-apis/mutation-observer": "^4.6.0", + "@ng-web-apis/resize-observer": "^4.6.0", "@taiga-ui/event-plugins": "^4.2.0", "@taiga-ui/polymorpheus": "^4.7.1", "rxjs": ">=7.0.0" diff --git a/projects/core/package.json b/projects/core/package.json index 9d13797a2b64..7e42b671d05d 100644 --- a/projects/core/package.json +++ b/projects/core/package.json @@ -24,8 +24,8 @@ "@angular/forms": ">=16.0.0", "@angular/platform-browser": ">=16.0.0", "@angular/router": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", - "@ng-web-apis/mutation-observer": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", + "@ng-web-apis/mutation-observer": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/event-plugins": "^4.2.0", "@taiga-ui/i18n": "^4.6.0", diff --git a/projects/demo/package.json b/projects/demo/package.json index 1fd3c5f0642d..66ae27fe4080 100644 --- a/projects/demo/package.json +++ b/projects/demo/package.json @@ -12,7 +12,7 @@ "@angular/platform-browser-dynamic": "16.2.12", "@angular/platform-server": "16.2.12", "@angular/router": "16.2.12", - "@ng-web-apis/universal": "4.5.0", + "@ng-web-apis/universal": "4.6.0", "@nguniversal/express-engine": "16.2.0", "@stackblitz/sdk": "1.11.0", "@taiga-ui/dompurify": "4.1.7", diff --git a/projects/i18n/package.json b/projects/i18n/package.json index 60df726ae11e..a50f523c7c52 100644 --- a/projects/i18n/package.json +++ b/projects/i18n/package.json @@ -16,7 +16,7 @@ "license": "Apache-2.0", "peerDependencies": { "@angular/core": ">=16.0.0", - "@ng-web-apis/common": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", "rxjs": ">=7.0.0", "tslib": "^2.7.0" } diff --git a/projects/kit/package.json b/projects/kit/package.json index 6c3387e36b72..9ac2cf89f7bb 100644 --- a/projects/kit/package.json +++ b/projects/kit/package.json @@ -24,10 +24,10 @@ "@maskito/core": "^3.0.1", "@maskito/kit": "^3.0.1", "@maskito/phone": "^3.0.1", - "@ng-web-apis/common": "^4.5.0", - "@ng-web-apis/intersection-observer": "^4.5.0", - "@ng-web-apis/mutation-observer": "^4.5.0", - "@ng-web-apis/resize-observer": "^4.5.0", + "@ng-web-apis/common": "^4.6.0", + "@ng-web-apis/intersection-observer": "^4.6.0", + "@ng-web-apis/mutation-observer": "^4.6.0", + "@ng-web-apis/resize-observer": "^4.6.0", "@taiga-ui/cdk": "^4.6.0", "@taiga-ui/core": "^4.6.0", "@taiga-ui/i18n": "^4.6.0", From e63008094c7e9a03c6e2cc3a3f0ae33f9fa27efa Mon Sep 17 00:00:00 2001 From: taiga-family-bot <140712314+taiga-family-bot@users.noreply.github.com> Date: Mon, 16 Sep 2024 16:50:14 +0300 Subject: [PATCH 006/156] chore(deps): update dependency @taiga-ui/design-tokens to v0.135.0 (#9047) --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 804978bd0f58..c9df6f422346 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "@taiga-ui/browserslist-config": "0.182.0", "@taiga-ui/commitlint-config": "0.182.0", "@taiga-ui/cspell-config": "0.182.0", - "@taiga-ui/design-tokens": "0.134.0", + "@taiga-ui/design-tokens": "0.135.0", "@taiga-ui/eslint-plugin-experience": "0.182.0", "@taiga-ui/event-plugins": "4.2.0", "@taiga-ui/prettier-config": "0.182.0", @@ -9566,9 +9566,9 @@ "link": true }, "node_modules/@taiga-ui/design-tokens": { - "version": "0.134.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/design-tokens/-/design-tokens-0.134.0.tgz", - "integrity": "sha512-3/u/wXnWtPKZD5ReAGx2k4eLeixjzwngs9ng7WqX/VcVD6GgMRIln437s5H1falxjUVrdFyLF1v8Q3tyMwvs8g==", + "version": "0.135.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/design-tokens/-/design-tokens-0.135.0.tgz", + "integrity": "sha512-ljlyTFmeuc7oZMd0bGPZc80O+BahaUJCJdfH3wmrnAZyLN8+X4Jh5ZEYf2Hk9c4z4Ls3rWKcXq+v/YM2Gac35A==", "dev": true, "license": "Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index ffb94caa4f64..4195005fe560 100644 --- a/package.json +++ b/package.json @@ -155,7 +155,7 @@ "@taiga-ui/browserslist-config": "0.182.0", "@taiga-ui/commitlint-config": "0.182.0", "@taiga-ui/cspell-config": "0.182.0", - "@taiga-ui/design-tokens": "0.134.0", + "@taiga-ui/design-tokens": "0.135.0", "@taiga-ui/eslint-plugin-experience": "0.182.0", "@taiga-ui/event-plugins": "4.2.0", "@taiga-ui/prettier-config": "0.182.0", From c1c51c055a9a94a4782b2a7894b710814f352e74 Mon Sep 17 00:00:00 2001 From: taiga-family-bot <140712314+taiga-family-bot@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:38:29 +0300 Subject: [PATCH 007/156] chore(deps): update taiga-family/ci action to v1.74.0 (#9050) --- .github/workflows/auto-add-version-label.yml | 6 ++--- .github/workflows/auto-approve.yml | 14 +++++------ .github/workflows/auto-author-assign.yml | 4 +-- .github/workflows/auto-dependency-review.yml | 4 +-- .github/workflows/auto-label.yml | 6 ++--- .github/workflows/auto-remove-label.yml | 4 +-- .github/workflows/auto-update-icons.yml | 8 +++--- .github/workflows/build.yml | 12 ++++----- .github/workflows/codeql-analysis.yml | 4 +-- .github/workflows/create-release.yml | 6 ++--- .github/workflows/deploy-gh-pages.yml | 4 +-- .github/workflows/deploy-preview.yml | 6 ++--- .github/workflows/e2e-cypress.yml | 6 ++--- .github/workflows/e2e-playwright.yml | 26 ++++++++++---------- .github/workflows/lint.yml | 8 +++--- .github/workflows/publish-canary.yml | 8 +++--- .github/workflows/publish.yml | 12 ++++----- .github/workflows/schematics.yml | 4 +-- .github/workflows/snapshots.yml | 12 ++++----- .github/workflows/test.yml | 6 ++--- 20 files changed, 80 insertions(+), 80 deletions(-) diff --git a/.github/workflows/auto-add-version-label.yml b/.github/workflows/auto-add-version-label.yml index fa314148178c..033796b9e3a1 100644 --- a/.github/workflows/auto-add-version-label.yml +++ b/.github/workflows/auto-add-version-label.yml @@ -7,9 +7,9 @@ jobs: label-version: runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/run/node-info@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/run/node-info@v1.74.0 id: nodejs-workspace - uses: actions-ecosystem/action-add-labels@v1 continue-on-error: true diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 60506b5c7b03..3cc4239e66d2 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -11,8 +11,8 @@ jobs: outputs: matrix: ${{ steps.matrix.outputs.value }} steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 - id: matrix if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true' run: | @@ -30,7 +30,7 @@ jobs: matrix: value: ${{ fromJSON(needs.setup.outputs.matrix) }} steps: - - uses: taiga-family/ci/actions/run/wait-job@v1.73.1 + - uses: taiga-family/ci/actions/run/wait-job@v1.74.0 with: token: ${{ secrets.GITHUB_TOKEN }} job: ${{ matrix.value }} @@ -39,13 +39,13 @@ jobs: needs: [wait] runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/auto/approve/double@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/auto/approve/double@v1.74.0 with: token1: ${{ secrets.GITHUB_TOKEN }} token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }} - - uses: taiga-family/ci/actions/run/merge@v1.73.1 + - uses: taiga-family/ci/actions/run/merge@v1.74.0 if: env.IS_RELEASE_BRANCH == 'false' with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml index a3ecc879fa2b..9d75e0fd0ef2 100644 --- a/.github/workflows/auto-author-assign.yml +++ b/.github/workflows/auto-author-assign.yml @@ -8,8 +8,8 @@ jobs: name: PR author as an assignee runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 - uses: toshimaru/auto-author-assign@v2.1.1 if: env.IS_OWNER_MODE == 'true' with: diff --git a/.github/workflows/auto-dependency-review.yml b/.github/workflows/auto-dependency-review.yml index fb8d653ce3df..e6945e51af3e 100644 --- a/.github/workflows/auto-dependency-review.yml +++ b/.github/workflows/auto-dependency-review.yml @@ -8,5 +8,5 @@ jobs: dependency-review: runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/security/dependency-review@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/security/dependency-review@v1.74.0 diff --git a/.github/workflows/auto-label.yml b/.github/workflows/auto-label.yml index f790fe881905..ecabcff65ac4 100644 --- a/.github/workflows/auto-label.yml +++ b/.github/workflows/auto-label.yml @@ -9,8 +9,8 @@ jobs: name: Label when approved runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/auto/label-when-approved@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/auto/label-when-approved@v1.74.0 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/auto-remove-label.yml b/.github/workflows/auto-remove-label.yml index c24d6d820bcb..20a85aadb1be 100644 --- a/.github/workflows/auto-remove-label.yml +++ b/.github/workflows/auto-remove-label.yml @@ -7,5 +7,5 @@ jobs: remove_label: runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/auto/remove-label@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/auto/remove-label@v1.74.0 diff --git a/.github/workflows/auto-update-icons.yml b/.github/workflows/auto-update-icons.yml index 564bf54063c8..46ea4b883feb 100644 --- a/.github/workflows/auto-update-icons.yml +++ b/.github/workflows/auto-update-icons.yml @@ -8,9 +8,9 @@ jobs: if: ${{ !contains(github.head_ref , 'release/') }} runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 - name: Lucide icons run: | npx nx prebuild icons @@ -29,7 +29,7 @@ jobs: npx eslint ./projects/demo/used-icons.ts --fix || echo "no file matching" npx prettier ./projects/demo/used-icons.ts --write || echo "no file matching" npx prettier ./projects/cdk/constants/used-icons.ts --write || echo "no file matching" - - uses: taiga-family/ci/actions/auto/push@v1.73.1 + - uses: taiga-family/ci/actions/auto/push@v1.74.0 with: message: icons have changed token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5022b234275b..84c1f294a00e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,9 +10,9 @@ jobs: name: Build packages runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 - run: npm run run-many:build:libs - run: npx ts-node ./scripts/check-dist.ts @@ -21,9 +21,9 @@ jobs: name: Prerender of demo application runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 - run: npx nx prerender demo - run: tree ${{ env.DIST }} -P '*.html' - name: Bundle size tracking diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ba899940288b..84b6809ef3f6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,8 +17,8 @@ jobs: contents: read security-events: write steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/security/codeql@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/security/codeql@v1.74.0 concurrency: group: codeql-${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 94c27a20fa18..6d013a9f7a4a 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -20,12 +20,12 @@ jobs: env: IS_RRE_RELEASE_MODE: ${{ contains(github.event.inputs.mode, 'prerelease') }} steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 with: fetch-depth: 0 token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - - uses: taiga-family/ci/actions/setup/node@v1.73.1 - - uses: taiga-family/ci/actions/setup/config/git@v1.73.1 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 + - uses: taiga-family/ci/actions/setup/config/git@v1.74.0 with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index 773a9b15036c..0ff7ed409e7d 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -16,8 +16,8 @@ jobs: if: ${{ !contains(github.event.workflow_run.head_branch, 'release/') }} runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 - name: Prepare demo before deploy from snapshots run: | diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 2c7ee7eb41f4..840c5299039c 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -7,9 +7,9 @@ jobs: name: Firebase runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 - run: npx nx build demo - name: Debug output run: tree dist/demo/browser -P '*.html' diff --git a/.github/workflows/e2e-cypress.yml b/.github/workflows/e2e-cypress.yml index f40b71a50fba..0d7a2d907db0 100644 --- a/.github/workflows/e2e-cypress.yml +++ b/.github/workflows/e2e-cypress.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest name: Component testing result steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 - run: npx tsc -p projects/demo-cypress/tsconfig.json - run: npx nx component-test demo-cypress diff --git a/.github/workflows/e2e-playwright.yml b/.github/workflows/e2e-playwright.yml index 292b226edaf4..fd077b13831c 100644 --- a/.github/workflows/e2e-playwright.yml +++ b/.github/workflows/e2e-playwright.yml @@ -8,13 +8,13 @@ jobs: name: Build demo runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 with: fetch-depth: 10 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/run/rebase@v1.73.1 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/run/rebase@v1.74.0 continue-on-error: true - - uses: taiga-family/ci/actions/setup/node@v1.73.1 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 - name: Building demo-app of git-branch without cache run: npx nx build demo @@ -36,10 +36,10 @@ jobs: shardTotal: [9] name: playwright / (${{ matrix.shardIndex }} of ${{ matrix.shardTotal }}) steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 - - uses: taiga-family/ci/actions/setup/playwright@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 + - uses: taiga-family/ci/actions/setup/playwright@v1.74.0 - name: Download cache / ${{ env.CACHE_DIST_KEY }} uses: actions/cache/restore@v4.0.2 @@ -47,7 +47,7 @@ jobs: path: dist/demo key: ${{ env.CACHE_DIST_KEY }} - - uses: taiga-family/ci/actions/run/serve@v1.73.1 + - uses: taiga-family/ci/actions/run/serve@v1.74.0 with: port: ${{ env.NG_SERVER_PORT }} directory: ${{ env.DIST }} @@ -56,12 +56,12 @@ jobs: - name: Run screenshot tests on ${{ env.DIST }} run: npx nx e2e demo-playwright -- --update-snapshots --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} - - uses: taiga-family/ci/actions/run/clone@v1.73.1 + - uses: taiga-family/ci/actions/run/clone@v1.74.0 with: branch: snapshots/demo/next/${{ github.base_ref }} destination: ${{ env.DIST_NEXT }} - - uses: taiga-family/ci/actions/run/serve@v1.73.1 + - uses: taiga-family/ci/actions/run/serve@v1.74.0 with: port: ${{ env.NG_SERVER_PORT }} directory: ${{ env.DIST_NEXT }} @@ -115,8 +115,8 @@ jobs: needs: [playwright] runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 - name: Download artifacts / ${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }} continue-on-error: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c7c6c33d47ff..d64ebfdc28c8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,9 +10,9 @@ jobs: if: ${{ !contains(github.head_ref, 'release/') }} runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 - run: npm run typecheck - run: npm run cspell -- --no-progress - run: | @@ -25,7 +25,7 @@ jobs: npm run prettier -- --check npm run lint fi - - uses: taiga-family/ci/actions/auto/push@v1.73.1 + - uses: taiga-family/ci/actions/auto/push@v1.74.0 with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} diff --git a/.github/workflows/publish-canary.yml b/.github/workflows/publish-canary.yml index 164d1ece141b..402fe921e11f 100644 --- a/.github/workflows/publish-canary.yml +++ b/.github/workflows/publish-canary.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest name: Publish canary steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 - - uses: taiga-family/ci/actions/setup/config/npm@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 + - uses: taiga-family/ci/actions/setup/config/npm@v1.74.0 with: token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }} - run: npm run run-many:build:libs diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 996c796c7f77..78462ad2a2ca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,12 +8,12 @@ jobs: name: Publish runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 with: fetch-depth: 0 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 - - uses: taiga-family/ci/actions/setup/config/npm@v1.73.1 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 + - uses: taiga-family/ci/actions/setup/config/npm@v1.74.0 with: token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }} @@ -28,7 +28,7 @@ jobs: run: echo "version=v$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT - name: Announce to Time messenger - uses: taiga-family/ci/actions/messenger/time/announce@v1.73.1 + uses: taiga-family/ci/actions/messenger/time/announce@v1.74.0 if: ${{ !contains(steps.info.outputs.version, 'rc') }} with: url: ${{ secrets.ANNOUNCE_WEBHOOK }} @@ -36,7 +36,7 @@ jobs: version: ${{ steps.info.outputs.version }} - name: Announce to Telegram messenger - uses: taiga-family/ci/actions/messenger/telegram/announce@v1.73.1 + uses: taiga-family/ci/actions/messenger/telegram/announce@v1.74.0 if: ${{ !contains(steps.info.outputs.version, 'rc') }} with: chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }} diff --git a/.github/workflows/schematics.yml b/.github/workflows/schematics.yml index e0ed46acb330..f31e1c8ba131 100644 --- a/.github/workflows/schematics.yml +++ b/.github/workflows/schematics.yml @@ -10,8 +10,8 @@ jobs: runs-on: ubuntu-latest name: Run the latest migration steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 - run: npx nx run cdk:schematics --v=4 concurrency: diff --git a/.github/workflows/snapshots.yml b/.github/workflows/snapshots.yml index 0cd3483acdeb..d6742ac951d1 100644 --- a/.github/workflows/snapshots.yml +++ b/.github/workflows/snapshots.yml @@ -15,9 +15,9 @@ jobs: if: ${{ !contains(github.head_ref || github.ref_name, 'release/') }} runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 - run: npx nx build demo - run: tree ${{ env.DIST }} -P '*.html' @@ -34,9 +34,9 @@ jobs: if: ${{ contains(github.head_ref || github.ref_name, 'release/') || github.event.inputs.updateMain == 'true' }} runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 id: nodejs-workspace - run: npx nx prerender demo diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 521e69cfd526..406528e70ea5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest name: Unit tests steps: - - uses: taiga-family/ci/actions/setup/checkout@v1.73.1 - - uses: taiga-family/ci/actions/setup/variables@v1.73.1 - - uses: taiga-family/ci/actions/setup/node@v1.73.1 + - uses: taiga-family/ci/actions/setup/checkout@v1.74.0 + - uses: taiga-family/ci/actions/setup/variables@v1.74.0 + - uses: taiga-family/ci/actions/setup/node@v1.74.0 - run: npm test - run: tree -L 2 ./coverage -P 'lcov.info' - uses: codecov/codecov-action@v4.5.0 From e1853dd2842352cbe67f7c82447250b206c49db3 Mon Sep 17 00:00:00 2001 From: Alex Inkin Date: Mon, 16 Sep 2024 19:02:36 +0400 Subject: [PATCH 008/156] feat(core): `Appearance` allow multiple modes (#9042) --- .../input-card-group.component.ts | 3 ++- .../input-card-group.style.less | 2 +- .../constants/attr-with-values-to-replace.ts | 2 +- .../templates/migrate-button-appearance.ts | 7 +++++-- .../tests/schematic-migrate-blocked.spec.ts | 2 +- ...chematic-migrate-button-appearance.spec.ts | 8 +++---- .../components/textfield/select.directive.ts | 5 ++--- .../textfield/textfield.component.ts | 4 ++-- .../textfield/textfield.directive.ts | 21 ++++++++++++------- .../appearance/appearance.bindings.ts | 8 +++++++ .../appearance/appearance.directive.ts | 13 +++++++++++- .../directives/appearance/with-appearance.ts | 1 + .../core/styles/components/appearance.less | 2 +- projects/core/styles/components/group.less | 11 +++++----- .../core/styles/components/textfield.less | 10 ++++----- .../core/styles/theme/appearance/outline.less | 11 +++++----- .../core/styles/theme/appearance/primary.less | 3 ++- .../styles/theme/appearance/secondary.less | 17 +++++++++------ .../core/styles/theme/appearance/status.less | 18 ++++++++++------ .../styles/theme/appearance/textfield.less | 4 ++-- .../demo/src/components/appearance/index.html | 4 ++-- .../demo/src/components/appearance/index.ts | 4 ++-- .../src/modules/components/block/index.html | 2 +- .../components/button/examples/2/index.html | 10 +++++---- .../components/filter/examples/4/index.html | 2 +- .../dropdown-open/examples/4/index.html | 2 +- .../input-phone-international.template.html | 7 ++++--- 27 files changed, 115 insertions(+), 68 deletions(-) diff --git a/projects/addon-commerce/components/input-card-group/input-card-group.component.ts b/projects/addon-commerce/components/input-card-group/input-card-group.component.ts index 701abc142c24..ca286f17e2f1 100644 --- a/projects/addon-commerce/components/input-card-group/input-card-group.component.ts +++ b/projects/addon-commerce/components/input-card-group/input-card-group.component.ts @@ -45,6 +45,7 @@ import { TuiAppearance, tuiAppearance, tuiAppearanceFocus, + tuiAppearanceMode, tuiAppearanceState, } from '@taiga-ui/core/directives/appearance'; import { @@ -104,7 +105,6 @@ export interface TuiCard { ], host: { 'data-size': 'l', - '[attr.data-mode]': 'mode()', '(mousedown)': 'onMouseDown($event)', }, }) @@ -144,6 +144,7 @@ export class TuiInputCardGroup protected readonly texts = toSignal(inject(TUI_INPUT_CARD_GROUP_TEXTS)); protected readonly open = tuiDropdownOpen(); + protected readonly m = tuiAppearanceMode(this.mode); protected readonly appearance = tuiAppearance( inject(TUI_TEXTFIELD_OPTIONS).appearance, ); diff --git a/projects/addon-commerce/components/input-card-group/input-card-group.style.less b/projects/addon-commerce/components/input-card-group/input-card-group.style.less index 6a8ba3e31f9d..9a6576db798a 100644 --- a/projects/addon-commerce/components/input-card-group/input-card-group.style.less +++ b/projects/addon-commerce/components/input-card-group/input-card-group.style.less @@ -196,7 +196,7 @@ transform: translateY(-0.7em); } - :host([data-mode='invalid']) & { + :host([data-mode~='invalid']) & { color: var(--tui-text-negative); } diff --git a/projects/cdk/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.ts b/projects/cdk/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.ts index 4c28567b3016..8c8ffb1463bf 100644 --- a/projects/cdk/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.ts +++ b/projects/cdk/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.ts @@ -44,7 +44,7 @@ export const ATTR_WITH_VALUES_TO_REPLACE: ReplacementAttributeValue[] = [ }, { attrNames: ['[pseudoInvalid]'], - newAttrName: '[attr.data-mode]', + newAttrName: '[tuiAppearanceMode]', withTagNames: hasPseudoInvalid, valueReplacer: (condition) => `${condition} ? 'invalid' : null`, }, diff --git a/projects/cdk/schematics/ng-update/v4/steps/templates/migrate-button-appearance.ts b/projects/cdk/schematics/ng-update/v4/steps/templates/migrate-button-appearance.ts index b0c067e370f0..7e6c226e8fdc 100644 --- a/projects/cdk/schematics/ng-update/v4/steps/templates/migrate-button-appearance.ts +++ b/projects/cdk/schematics/ng-update/v4/steps/templates/migrate-button-appearance.ts @@ -68,7 +68,10 @@ export function migrateButtonAppearance({ startOffset + templateOffset, ` ${appearanceInputName}="whiteblock"`, ); - recorder.insertLeft(startOffset + templateOffset, ' data-mode="checked"'); + recorder.insertLeft( + startOffset + templateOffset, + ' tuiAppearanceMode="checked"', + ); } }); @@ -87,6 +90,6 @@ export function migrateButtonAppearance({ function addTodo(recorder: UpdateRecorder, templateOffset: number): void { recorder.insertRight( templateOffset, - '\n', + '\n', ); } diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-blocked.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-blocked.spec.ts index bfaea4247bbb..826523b375ac 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-blocked.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-blocked.spec.ts @@ -88,7 +88,7 @@ const TEMPLATE_BEFORE = ` `.trim(); const TEMPLATE_AFTER = ` - +