@taiga-ui/core 5.0.0-canary.7eaae48 → 5.0.0-canary.7f0a2ac

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 (66) hide show
  1. package/components/data-list/index.d.ts +1 -0
  2. package/components/data-list/option-content.directive.d.ts +1 -1
  3. package/components/data-list/option-with-content.directive.d.ts +9 -0
  4. package/components/data-list/option-with-value.directive.d.ts +2 -1
  5. package/components/data-list/option.directive.d.ts +0 -4
  6. package/components/textfield/textfield-multi/textfield-item.component.d.ts +1 -0
  7. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +2 -0
  8. package/fesm2022/taiga-ui-core-components-button.mjs +3 -2
  9. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  10. package/fesm2022/taiga-ui-core-components-calendar.mjs +5 -15
  11. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  12. package/fesm2022/taiga-ui-core-components-cell.mjs +2 -2
  13. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
  14. package/fesm2022/taiga-ui-core-components-data-list.mjs +29 -20
  15. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-core-components-error.mjs +1 -3
  17. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-core-components-icon.mjs +3 -7
  19. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-core-components-label.mjs +5 -3
  21. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-core-components-link.mjs +3 -2
  23. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-core-components-notification.mjs +4 -5
  25. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-core-components-root.mjs +1 -1
  27. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +3 -9
  28. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  29. package/fesm2022/taiga-ui-core-components-textfield.mjs +19 -9
  30. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-core-components-title.mjs +5 -3
  32. package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-core-directives-appearance.mjs +7 -9
  34. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-core-directives-group.mjs +5 -3
  36. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-core-directives-icons.mjs +5 -3
  38. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +3 -9
  40. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-core-portals-dialog.mjs +1 -3
  42. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-core-portals-dropdown.mjs +6 -18
  44. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-core-portals-hint.mjs +4 -12
  46. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-core-portals-popup.mjs +2 -6
  48. package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-core-services.mjs +1 -3
  50. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-core-tokens.mjs +16 -32
  52. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  53. package/package.json +19 -19
  54. package/styles/components/appearance.less +1 -1
  55. package/styles/components/button.less +3 -3
  56. package/styles/components/group.less +1 -1
  57. package/styles/components/icon.less +1 -1
  58. package/styles/components/icons.less +1 -1
  59. package/styles/components/label.less +1 -1
  60. package/styles/components/link.less +2 -1
  61. package/styles/components/notification.less +2 -2
  62. package/styles/components/textfield.less +1 -6
  63. package/styles/components/title.less +6 -6
  64. package/tokens/i18n.d.ts +4 -0
  65. package/tokens/index.d.ts +0 -1
  66. package/tokens/theme.d.ts +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/core",
3
- "version": "5.0.0-canary.7eaae48",
3
+ "version": "5.0.0-canary.7f0a2ac",
4
4
  "description": "Core library for creating Angular components and applications using Taiga UI",
5
5
  "keywords": [
6
6
  "angular",
@@ -38,10 +38,6 @@
38
38
  "types": "./directives/index.d.ts",
39
39
  "default": "./fesm2022/taiga-ui-core-directives.mjs"
40
40
  },
41
- "./pipes": {
42
- "types": "./pipes/index.d.ts",
43
- "default": "./fesm2022/taiga-ui-core-pipes.mjs"
44
- },
45
41
  "./portals": {
46
42
  "types": "./portals/index.d.ts",
47
43
  "default": "./fesm2022/taiga-ui-core-portals.mjs"
@@ -50,6 +46,10 @@
50
46
  "types": "./services/index.d.ts",
51
47
  "default": "./fesm2022/taiga-ui-core-services.mjs"
52
48
  },
49
+ "./pipes": {
50
+ "types": "./pipes/index.d.ts",
51
+ "default": "./fesm2022/taiga-ui-core-pipes.mjs"
52
+ },
53
53
  "./tokens": {
54
54
  "types": "./tokens/index.d.ts",
55
55
  "default": "./fesm2022/taiga-ui-core-tokens.mjs"
@@ -78,14 +78,14 @@
78
78
  "types": "./components/data-list/index.d.ts",
79
79
  "default": "./fesm2022/taiga-ui-core-components-data-list.mjs"
80
80
  },
81
- "./components/error": {
82
- "types": "./components/error/index.d.ts",
83
- "default": "./fesm2022/taiga-ui-core-components-error.mjs"
84
- },
85
81
  "./components/expand": {
86
82
  "types": "./components/expand/index.d.ts",
87
83
  "default": "./fesm2022/taiga-ui-core-components-expand.mjs"
88
84
  },
85
+ "./components/error": {
86
+ "types": "./components/error/index.d.ts",
87
+ "default": "./fesm2022/taiga-ui-core-components-error.mjs"
88
+ },
89
89
  "./components/icon": {
90
90
  "types": "./components/icon/index.d.ts",
91
91
  "default": "./fesm2022/taiga-ui-core-components-icon.mjs"
@@ -138,14 +138,14 @@
138
138
  "types": "./directives/button-x/index.d.ts",
139
139
  "default": "./fesm2022/taiga-ui-core-directives-button-x.mjs"
140
140
  },
141
- "./directives/date-format": {
142
- "types": "./directives/date-format/index.d.ts",
143
- "default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
144
- },
145
141
  "./directives/group": {
146
142
  "types": "./directives/group/index.d.ts",
147
143
  "default": "./fesm2022/taiga-ui-core-directives-group.mjs"
148
144
  },
145
+ "./directives/date-format": {
146
+ "types": "./directives/date-format/index.d.ts",
147
+ "default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
148
+ },
149
149
  "./directives/icons": {
150
150
  "types": "./directives/icons/index.d.ts",
151
151
  "default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
@@ -158,10 +158,6 @@
158
158
  "types": "./directives/number-format/index.d.ts",
159
159
  "default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
160
160
  },
161
- "./pipes/format-number": {
162
- "types": "./pipes/format-number/index.d.ts",
163
- "default": "./fesm2022/taiga-ui-core-pipes-format-number.mjs"
164
- },
165
161
  "./portals/alert": {
166
162
  "types": "./portals/alert/index.d.ts",
167
163
  "default": "./fesm2022/taiga-ui-core-portals-alert.mjs"
@@ -186,6 +182,10 @@
186
182
  "types": "./portals/popup/index.d.ts",
187
183
  "default": "./fesm2022/taiga-ui-core-portals-popup.mjs"
188
184
  },
185
+ "./pipes/format-number": {
186
+ "types": "./pipes/format-number/index.d.ts",
187
+ "default": "./fesm2022/taiga-ui-core-pipes-format-number.mjs"
188
+ },
189
189
  "./utils/dom": {
190
190
  "types": "./utils/dom/index.d.ts",
191
191
  "default": "./fesm2022/taiga-ui-core-utils-dom.mjs"
@@ -208,9 +208,9 @@
208
208
  "@ng-web-apis/common": "^5.0.3",
209
209
  "@ng-web-apis/mutation-observer": "^5.0.3",
210
210
  "@ng-web-apis/platform": "^5.0.3",
211
- "@taiga-ui/cdk": "^5.0.0-rc.1",
211
+ "@taiga-ui/cdk": "^5.0.0-rc.2",
212
212
  "@taiga-ui/event-plugins": "^5.0.0",
213
- "@taiga-ui/i18n": "^5.0.0-rc.1",
213
+ "@taiga-ui/i18n": "^5.0.0-rc.2",
214
214
  "@taiga-ui/polymorpheus": "^5.0.0",
215
215
  "rxjs": ">=7.0.0"
216
216
  },
@@ -19,7 +19,7 @@
19
19
  * @see-also
20
20
  * Button
21
21
  */
22
- [tuiAppearance] {
22
+ [tuiAppearance]:where(*&) {
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
+ [tuiButton]:where(*&),
20
+ [tuiIconButton]:where(*&) {
21
21
  --t-size: var(--tui-height-l);
22
22
  --t-radius: var(--tui-radius-l);
23
23
  --t-gap: 0.25rem;
@@ -122,7 +122,7 @@
122
122
  }
123
123
  }
124
124
 
125
- [tuiIconButton] {
125
+ [tuiIconButton]:where(*&) {
126
126
  gap: 0;
127
127
  inline-size: var(--t-size);
128
128
  font-size: 0 !important;
@@ -19,7 +19,7 @@
19
19
  * @see-also
20
20
  * Button, Block, Textfield
21
21
  */
22
- [tuiGroup] {
22
+ [tuiGroup]:where(*&) {
23
23
  position: relative;
24
24
  display: flex;
25
25
  transform: translate3d(0, 0, 0);
@@ -18,7 +18,7 @@
18
18
  * @see-also
19
19
  * Icons
20
20
  */
21
- tui-icon {
21
+ tui-icon:where(*&) {
22
22
  --tui-icon-size: 1em;
23
23
 
24
24
  position: relative;
@@ -17,7 +17,7 @@
17
17
  * @see-also
18
18
  * Button, Icon, Link
19
19
  */
20
- [tuiIcons] {
20
+ [tuiIcons]:where(*&) {
21
21
  --t-icon-start: none;
22
22
  --t-icon-end: none;
23
23
 
@@ -14,7 +14,7 @@
14
14
  * @see-also
15
15
  * Checkbox, Radio, Title
16
16
  */
17
- [tuiLabel] {
17
+ [tuiLabel]:where(*&) {
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
+ [tuiLink]:where(*&) {
17
17
  .transition(~'color, text-decoration, opacity');
18
18
 
19
19
  padding: 0;
@@ -51,6 +51,7 @@
51
51
 
52
52
  &[tuiChevron]::after {
53
53
  display: inline-block;
54
+ vertical-align: initial;
54
55
  }
55
56
 
56
57
  .appearance-hover({
@@ -21,11 +21,11 @@
21
21
  * @see-also
22
22
  * Icons, Appearance
23
23
  */
24
- [tuiNotification] {
24
+ [tuiNotification]:where(*&) {
25
25
  .button-clear();
26
26
 
27
27
  position: relative;
28
- display: block;
28
+ display: flow-root;
29
29
  max-block-size: 100%;
30
30
  color: var(--tui-text-primary);
31
31
  padding: 1rem;
@@ -1,6 +1,6 @@
1
1
  @import '@taiga-ui/core/styles/taiga-ui-local.less';
2
2
 
3
- tui-textfield {
3
+ tui-textfield:where(*&) {
4
4
  .scrollbar-hidden();
5
5
  .transition(color);
6
6
 
@@ -342,11 +342,6 @@ tui-textfield {
342
342
 
343
343
  &:not([data-mode~='readonly']) {
344
344
  .appearance-focus({
345
- [tuiInput]::placeholder,
346
- [tuiInput]._empty {
347
- color: var(--tui-text-tertiary);
348
- }
349
-
350
345
  [tuiLabel] {
351
346
  color: var(--tui-text-primary) !important;
352
347
  font: var(--t-label-font);
@@ -18,7 +18,7 @@
18
18
  * @see-also
19
19
  * Label
20
20
  */
21
- [tuiTitle] {
21
+ [tuiTitle]:where(*&) {
22
22
  position: relative;
23
23
  display: flex;
24
24
  min-inline-size: 0;
@@ -64,14 +64,14 @@
64
64
  margin: 0;
65
65
  font: inherit;
66
66
  }
67
- }
68
67
 
69
- [tuiSubtitle] {
70
- font: var(--tui-font-ui-s);
71
- margin: 0;
68
+ [tuiSubtitle] {
69
+ font: var(--tui-font-ui-s);
70
+ margin: 0;
71
+ }
72
72
  }
73
73
 
74
- [tuiButton] [tuiTitle] {
74
+ [tuiButton]:where(*&) [tuiTitle] {
75
75
  margin-inline-end: auto;
76
76
 
77
77
  [tuiSubtitle] {
package/tokens/i18n.d.ts CHANGED
@@ -7,6 +7,10 @@ export declare const TUI_MONTHS: InjectionToken<import("@angular/core").Signal<r
7
7
  * i18n 'close' word
8
8
  */
9
9
  export declare const TUI_CLOSE_WORD: InjectionToken<import("@angular/core").Signal<string>>;
10
+ /**
11
+ * i18n 'back' word
12
+ */
13
+ export declare const TUI_BACK_WORD: InjectionToken<import("@angular/core").Signal<string>>;
10
14
  /**
11
15
  * i18n 'clear' word
12
16
  */
package/tokens/index.d.ts CHANGED
@@ -13,6 +13,5 @@ export * from './media';
13
13
  export * from './number-format';
14
14
  export * from './reduced-motion';
15
15
  export * from './selection-stream';
16
- export * from './theme';
17
16
  export * from './validation-errors';
18
17
  export * from './viewport';
package/tokens/theme.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const TUI_THEME: InjectionToken<string>;