@taiga-ui/core 4.81.0 → 4.82.0

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.
Files changed (34) hide show
  1. package/components/button/button.directive.d.ts +2 -0
  2. package/esm2022/components/button/button.directive.mjs +10 -6
  3. package/esm2022/components/label/label.directive.mjs +6 -6
  4. package/esm2022/components/link/link.directive.mjs +6 -6
  5. package/esm2022/components/notification/notification.directive.mjs +6 -6
  6. package/esm2022/components/root/root.component.mjs +1 -1
  7. package/esm2022/directives/appearance/appearance.directive.mjs +6 -7
  8. package/esm2022/directives/group/group.directive.mjs +6 -6
  9. package/esm2022/directives/icons/icons.directive.mjs +6 -6
  10. package/fesm2022/taiga-ui-core-components-button.mjs +9 -5
  11. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  12. package/fesm2022/taiga-ui-core-components-label.mjs +5 -5
  13. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  14. package/fesm2022/taiga-ui-core-components-link.mjs +5 -5
  15. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-core-components-notification.mjs +5 -5
  17. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-core-components-root.mjs +1 -1
  19. package/fesm2022/taiga-ui-core-directives-appearance.mjs +5 -6
  20. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  21. package/fesm2022/taiga-ui-core-directives-group.mjs +5 -5
  22. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  23. package/fesm2022/taiga-ui-core-directives-icons.mjs +5 -5
  24. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  25. package/package.json +21 -21
  26. package/styles/components/appearance.less +1 -1
  27. package/styles/components/button.less +3 -3
  28. package/styles/components/group.less +1 -1
  29. package/styles/components/icons.less +2 -1
  30. package/styles/components/label.less +1 -1
  31. package/styles/components/link.less +1 -1
  32. package/styles/components/notification.less +2 -2
  33. package/styles/taiga-ui-local.less +1 -0
  34. package/styles/variables/version.less +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/core",
3
- "version": "4.81.0",
3
+ "version": "4.82.0",
4
4
  "description": "Core library for creating Angular components and applications using Taiga UI",
5
5
  "keywords": [
6
6
  "angular",
@@ -31,18 +31,18 @@
31
31
  "esm": "./esm2022/animations/taiga-ui-core-animations.mjs",
32
32
  "default": "./fesm2022/taiga-ui-core-animations.mjs"
33
33
  },
34
- "./components": {
35
- "types": "./components/index.d.ts",
36
- "esm2022": "./esm2022/components/taiga-ui-core-components.mjs",
37
- "esm": "./esm2022/components/taiga-ui-core-components.mjs",
38
- "default": "./fesm2022/taiga-ui-core-components.mjs"
39
- },
40
34
  "./classes": {
41
35
  "types": "./classes/index.d.ts",
42
36
  "esm2022": "./esm2022/classes/taiga-ui-core-classes.mjs",
43
37
  "esm": "./esm2022/classes/taiga-ui-core-classes.mjs",
44
38
  "default": "./fesm2022/taiga-ui-core-classes.mjs"
45
39
  },
40
+ "./components": {
41
+ "types": "./components/index.d.ts",
42
+ "esm2022": "./esm2022/components/taiga-ui-core-components.mjs",
43
+ "esm": "./esm2022/components/taiga-ui-core-components.mjs",
44
+ "default": "./fesm2022/taiga-ui-core-components.mjs"
45
+ },
46
46
  "./directives": {
47
47
  "types": "./directives/index.d.ts",
48
48
  "esm2022": "./esm2022/directives/taiga-ui-core-directives.mjs",
@@ -229,6 +229,12 @@
229
229
  "esm": "./esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs",
230
230
  "default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
231
231
  },
232
+ "./directives/popup": {
233
+ "types": "./directives/popup/index.d.ts",
234
+ "esm2022": "./esm2022/directives/popup/taiga-ui-core-directives-popup.mjs",
235
+ "esm": "./esm2022/directives/popup/taiga-ui-core-directives-popup.mjs",
236
+ "default": "./fesm2022/taiga-ui-core-directives-popup.mjs"
237
+ },
232
238
  "./directives/surface": {
233
239
  "types": "./directives/surface/index.d.ts",
234
240
  "esm2022": "./esm2022/directives/surface/taiga-ui-core-directives-surface.mjs",
@@ -241,12 +247,6 @@
241
247
  "esm": "./esm2022/directives/title/taiga-ui-core-directives-title.mjs",
242
248
  "default": "./fesm2022/taiga-ui-core-directives-title.mjs"
243
249
  },
244
- "./directives/popup": {
245
- "types": "./directives/popup/index.d.ts",
246
- "esm2022": "./esm2022/directives/popup/taiga-ui-core-directives-popup.mjs",
247
- "esm": "./esm2022/directives/popup/taiga-ui-core-directives-popup.mjs",
248
- "default": "./fesm2022/taiga-ui-core-directives-popup.mjs"
249
- },
250
250
  "./pipes/auto-color": {
251
251
  "types": "./pipes/auto-color/index.d.ts",
252
252
  "esm2022": "./esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs",
@@ -289,18 +289,18 @@
289
289
  "esm": "./esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs",
290
290
  "default": "./fesm2022/taiga-ui-core-pipes-initials.mjs"
291
291
  },
292
- "./pipes/order-week-days": {
293
- "types": "./pipes/order-week-days/index.d.ts",
294
- "esm2022": "./esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs",
295
- "esm": "./esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs",
296
- "default": "./fesm2022/taiga-ui-core-pipes-order-week-days.mjs"
297
- },
298
292
  "./pipes/month": {
299
293
  "types": "./pipes/month/index.d.ts",
300
294
  "esm2022": "./esm2022/pipes/month/taiga-ui-core-pipes-month.mjs",
301
295
  "esm": "./esm2022/pipes/month/taiga-ui-core-pipes-month.mjs",
302
296
  "default": "./fesm2022/taiga-ui-core-pipes-month.mjs"
303
297
  },
298
+ "./pipes/order-week-days": {
299
+ "types": "./pipes/order-week-days/index.d.ts",
300
+ "esm2022": "./esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs",
301
+ "esm": "./esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs",
302
+ "default": "./fesm2022/taiga-ui-core-pipes-order-week-days.mjs"
303
+ },
304
304
  "./utils/dom": {
305
305
  "types": "./utils/dom/index.d.ts",
306
306
  "esm2022": "./esm2022/utils/dom/taiga-ui-core-utils-dom.mjs",
@@ -329,9 +329,9 @@
329
329
  "@angular/router": ">=16.0.0",
330
330
  "@ng-web-apis/common": "^4.14.0",
331
331
  "@ng-web-apis/mutation-observer": "^4.14.0",
332
- "@taiga-ui/cdk": "4.81.0",
332
+ "@taiga-ui/cdk": "4.82.0",
333
333
  "@taiga-ui/event-plugins": "^4.7.0",
334
- "@taiga-ui/i18n": "4.81.0",
334
+ "@taiga-ui/i18n": "4.82.0",
335
335
  "@taiga-ui/polymorpheus": "^4.9.0",
336
336
  "rxjs": ">=7.0.0"
337
337
  },
@@ -19,7 +19,7 @@
19
19
  * @see-also
20
20
  * Button
21
21
  */
22
- [tuiAppearance] {
22
+ [tuiAppearanceV='@{tui-version}'] {
23
23
  .transition(all);
24
24
 
25
25
  position: relative;
@@ -16,8 +16,8 @@
16
16
  * @see-also
17
17
  * Icons, Appearance, Link
18
18
  */
19
- [tuiButton],
20
- [tuiIconButton] {
19
+ [tuiButtonV='@{tui-version}'],
20
+ [tuiIconButtonV='@{tui-version}'] {
21
21
  --t-size: var(--tui-height-l);
22
22
  --t-radius: var(--tui-radius-l);
23
23
  --t-gap: 0.25rem;
@@ -130,7 +130,7 @@
130
130
  }
131
131
  }
132
132
 
133
- [tuiIconButton] {
133
+ [tuiIconButtonV='@{tui-version}'] {
134
134
  gap: 0;
135
135
  inline-size: var(--t-size);
136
136
  font-size: 0 !important;
@@ -19,7 +19,7 @@
19
19
  * @see-also
20
20
  * Button, Block, Textfield
21
21
  */
22
- [tuiGroup] {
22
+ [tuiGroupV='@{tui-version}'] {
23
23
  position: relative;
24
24
  display: flex;
25
25
  transform: translate3d(0, 0, 0);
@@ -1,3 +1,4 @@
1
+ @import '@taiga-ui/core/styles/taiga-ui-local.less';
1
2
  /**
2
3
  * @name Icons
3
4
  * @selector [tuiIcons]
@@ -17,7 +18,7 @@
17
18
  * @see-also
18
19
  * Button, Icon, Link
19
20
  */
20
- [tuiIcons] {
21
+ [tuiIconsV='@{tui-version}'] {
21
22
  --t-icon-start: none;
22
23
  --t-icon-end: none;
23
24
 
@@ -14,7 +14,7 @@
14
14
  * @see-also
15
15
  * Checkbox, Radio, Title
16
16
  */
17
- [tuiLabel] {
17
+ [tuiLabelV='@{tui-version}'] {
18
18
  display: flex;
19
19
  gap: 0.25rem;
20
20
  flex-direction: column;
@@ -13,7 +13,7 @@
13
13
  * @see-also
14
14
  * Icons, Appearance, Button
15
15
  */
16
- [tuiLink] {
16
+ [tuiLinkV='@{tui-version}'] {
17
17
  // TODO: Remove in v5
18
18
  --tui-text-tertiary: var(--tui-text-secondary);
19
19
 
@@ -22,7 +22,7 @@
22
22
  * Icons, Appearance
23
23
  */
24
24
  tui-notification,
25
- [tuiNotification] {
25
+ [tuiNotificationV='@{tui-version}'] {
26
26
  .button-clear();
27
27
 
28
28
  position: relative;
@@ -220,6 +220,6 @@ tui-notification,
220
220
  }
221
221
  }
222
222
 
223
- [tuiNotification] {
223
+ [tuiNotificationV='@{tui-version}'] {
224
224
  cursor: pointer;
225
225
  }
@@ -7,3 +7,4 @@
7
7
  @import 'mixins/appearance.less';
8
8
  @import 'mixins/hitbox.less';
9
9
  @import 'variables/media.less';
10
+ @import 'variables/version.less';
@@ -0,0 +1 @@
1
+ @tui-version: '4.82.0';