@taiga-ui/core 5.0.0-canary.b9c0378 → 5.0.0-canary.ba4fa64
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/components/data-list/index.d.ts +1 -0
- package/components/data-list/option-content.directive.d.ts +1 -1
- package/components/data-list/option-with-content.directive.d.ts +9 -0
- package/components/data-list/option-with-value.directive.d.ts +2 -1
- package/components/data-list/option.directive.d.ts +0 -4
- package/fesm2022/taiga-ui-core-components-button.mjs +3 -2
- package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-data-list.mjs +27 -18
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-icon.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-label.mjs +5 -3
- package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-link.mjs +3 -2
- package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-notification.mjs +3 -2
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +5 -4
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-title.mjs +5 -3
- package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +5 -3
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-group.mjs +5 -3
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-icons.mjs +5 -3
- package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-hint.mjs +2 -2
- package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/package.json +41 -41
- package/styles/components/appearance.less +1 -1
- package/styles/components/button.less +3 -3
- package/styles/components/group.less +1 -1
- package/styles/components/icon.less +1 -1
- package/styles/components/icons.less +1 -1
- package/styles/components/label.less +1 -1
- package/styles/components/link.less +2 -1
- package/styles/components/notification.less +1 -1
- package/styles/components/textfield.less +19 -14
- package/styles/components/title.less +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/core",
|
|
3
|
-
"version": "5.0.0-canary.
|
|
3
|
+
"version": "5.0.0-canary.ba4fa64",
|
|
4
4
|
"description": "Core library for creating Angular components and applications using Taiga UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"types": "./classes/index.d.ts",
|
|
31
31
|
"default": "./fesm2022/taiga-ui-core-classes.mjs"
|
|
32
32
|
},
|
|
33
|
-
"./directives": {
|
|
34
|
-
"types": "./directives/index.d.ts",
|
|
35
|
-
"default": "./fesm2022/taiga-ui-core-directives.mjs"
|
|
36
|
-
},
|
|
37
33
|
"./components": {
|
|
38
34
|
"types": "./components/index.d.ts",
|
|
39
35
|
"default": "./fesm2022/taiga-ui-core-components.mjs"
|
|
40
36
|
},
|
|
37
|
+
"./directives": {
|
|
38
|
+
"types": "./directives/index.d.ts",
|
|
39
|
+
"default": "./fesm2022/taiga-ui-core-directives.mjs"
|
|
40
|
+
},
|
|
41
41
|
"./pipes": {
|
|
42
42
|
"types": "./pipes/index.d.ts",
|
|
43
43
|
"default": "./fesm2022/taiga-ui-core-pipes.mjs"
|
|
@@ -62,45 +62,17 @@
|
|
|
62
62
|
"types": "./utils/index.d.ts",
|
|
63
63
|
"default": "./fesm2022/taiga-ui-core-utils.mjs"
|
|
64
64
|
},
|
|
65
|
-
"./
|
|
66
|
-
"types": "./
|
|
67
|
-
"default": "./fesm2022/taiga-ui-core-
|
|
68
|
-
},
|
|
69
|
-
"./directives/button-x": {
|
|
70
|
-
"types": "./directives/button-x/index.d.ts",
|
|
71
|
-
"default": "./fesm2022/taiga-ui-core-directives-button-x.mjs"
|
|
72
|
-
},
|
|
73
|
-
"./directives/date-format": {
|
|
74
|
-
"types": "./directives/date-format/index.d.ts",
|
|
75
|
-
"default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
|
|
76
|
-
},
|
|
77
|
-
"./directives/group": {
|
|
78
|
-
"types": "./directives/group/index.d.ts",
|
|
79
|
-
"default": "./fesm2022/taiga-ui-core-directives-group.mjs"
|
|
80
|
-
},
|
|
81
|
-
"./directives/icons": {
|
|
82
|
-
"types": "./directives/icons/index.d.ts",
|
|
83
|
-
"default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
|
|
84
|
-
},
|
|
85
|
-
"./directives/items-handlers": {
|
|
86
|
-
"types": "./directives/items-handlers/index.d.ts",
|
|
87
|
-
"default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
|
|
88
|
-
},
|
|
89
|
-
"./directives/number-format": {
|
|
90
|
-
"types": "./directives/number-format/index.d.ts",
|
|
91
|
-
"default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
|
|
92
|
-
},
|
|
93
|
-
"./components/button": {
|
|
94
|
-
"types": "./components/button/index.d.ts",
|
|
95
|
-
"default": "./fesm2022/taiga-ui-core-components-button.mjs"
|
|
65
|
+
"./components/cell": {
|
|
66
|
+
"types": "./components/cell/index.d.ts",
|
|
67
|
+
"default": "./fesm2022/taiga-ui-core-components-cell.mjs"
|
|
96
68
|
},
|
|
97
69
|
"./components/calendar": {
|
|
98
70
|
"types": "./components/calendar/index.d.ts",
|
|
99
71
|
"default": "./fesm2022/taiga-ui-core-components-calendar.mjs"
|
|
100
72
|
},
|
|
101
|
-
"./components/
|
|
102
|
-
"types": "./components/
|
|
103
|
-
"default": "./fesm2022/taiga-ui-core-components-
|
|
73
|
+
"./components/button": {
|
|
74
|
+
"types": "./components/button/index.d.ts",
|
|
75
|
+
"default": "./fesm2022/taiga-ui-core-components-button.mjs"
|
|
104
76
|
},
|
|
105
77
|
"./components/data-list": {
|
|
106
78
|
"types": "./components/data-list/index.d.ts",
|
|
@@ -158,6 +130,34 @@
|
|
|
158
130
|
"types": "./components/title/index.d.ts",
|
|
159
131
|
"default": "./fesm2022/taiga-ui-core-components-title.mjs"
|
|
160
132
|
},
|
|
133
|
+
"./directives/appearance": {
|
|
134
|
+
"types": "./directives/appearance/index.d.ts",
|
|
135
|
+
"default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
|
|
136
|
+
},
|
|
137
|
+
"./directives/button-x": {
|
|
138
|
+
"types": "./directives/button-x/index.d.ts",
|
|
139
|
+
"default": "./fesm2022/taiga-ui-core-directives-button-x.mjs"
|
|
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
|
+
"./directives/group": {
|
|
146
|
+
"types": "./directives/group/index.d.ts",
|
|
147
|
+
"default": "./fesm2022/taiga-ui-core-directives-group.mjs"
|
|
148
|
+
},
|
|
149
|
+
"./directives/icons": {
|
|
150
|
+
"types": "./directives/icons/index.d.ts",
|
|
151
|
+
"default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
|
|
152
|
+
},
|
|
153
|
+
"./directives/items-handlers": {
|
|
154
|
+
"types": "./directives/items-handlers/index.d.ts",
|
|
155
|
+
"default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
|
|
156
|
+
},
|
|
157
|
+
"./directives/number-format": {
|
|
158
|
+
"types": "./directives/number-format/index.d.ts",
|
|
159
|
+
"default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
|
|
160
|
+
},
|
|
161
161
|
"./pipes/format-number": {
|
|
162
162
|
"types": "./pipes/format-number/index.d.ts",
|
|
163
163
|
"default": "./fesm2022/taiga-ui-core-pipes-format-number.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.
|
|
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.
|
|
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
|
},
|
|
@@ -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;
|
|
@@ -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({
|
|
@@ -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
|
|
|
@@ -10,6 +10,7 @@ tui-textfield {
|
|
|
10
10
|
--t-label-font: var(--tui-font-body-s);
|
|
11
11
|
--t-end: ~'0rem';
|
|
12
12
|
--t-start: ~'0rem';
|
|
13
|
+
--t-side: ~'0rem';
|
|
13
14
|
|
|
14
15
|
position: relative;
|
|
15
16
|
display: flex;
|
|
@@ -24,6 +25,12 @@ tui-textfield {
|
|
|
24
25
|
gap: 0 0.25rem;
|
|
25
26
|
isolation: isolate;
|
|
26
27
|
|
|
28
|
+
// TODO: Remove in next PR
|
|
29
|
+
&[data-size='s'],
|
|
30
|
+
&:has([tuiInputPin]) {
|
|
31
|
+
gap: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
27
34
|
&[tuiAppearance] {
|
|
28
35
|
outline: none;
|
|
29
36
|
|
|
@@ -95,31 +102,29 @@ tui-textfield {
|
|
|
95
102
|
--t-padding: var(--tui-padding-s);
|
|
96
103
|
|
|
97
104
|
border-radius: var(--tui-radius-m);
|
|
98
|
-
gap: 0;
|
|
99
105
|
font: var(--tui-font-ui-s);
|
|
100
106
|
line-height: 1rem;
|
|
101
107
|
|
|
102
108
|
&[data-icon-start] {
|
|
103
|
-
--t-start: 1.
|
|
109
|
+
--t-start: 1.5rem;
|
|
104
110
|
}
|
|
105
111
|
|
|
106
112
|
&[data-icon-end] {
|
|
107
|
-
--t-end: 1.
|
|
113
|
+
--t-end: 1.5rem;
|
|
108
114
|
}
|
|
109
115
|
|
|
110
116
|
&::before {
|
|
111
|
-
margin-inline: -0.125rem 0.5rem;
|
|
112
117
|
font-size: 1rem;
|
|
113
118
|
}
|
|
114
119
|
|
|
115
120
|
&::after {
|
|
116
|
-
margin-inline-start: calc(0.
|
|
117
|
-
margin-inline-end: calc(-0.125rem - var(--t-padding));
|
|
121
|
+
margin-inline-start: calc(0.5rem - var(--t-padding));
|
|
118
122
|
font-size: 1rem;
|
|
119
123
|
}
|
|
120
124
|
|
|
121
125
|
& > .t-content {
|
|
122
|
-
|
|
126
|
+
gap: 0;
|
|
127
|
+
margin-inline-end: -0.25rem;
|
|
123
128
|
}
|
|
124
129
|
}
|
|
125
130
|
|
|
@@ -225,6 +230,11 @@ tui-textfield {
|
|
|
225
230
|
&[inputmode='none'] {
|
|
226
231
|
caret-color: transparent;
|
|
227
232
|
}
|
|
233
|
+
|
|
234
|
+
&::-webkit-inner-spin-button,
|
|
235
|
+
&::-webkit-outer-spin-button {
|
|
236
|
+
appearance: none;
|
|
237
|
+
}
|
|
228
238
|
}
|
|
229
239
|
|
|
230
240
|
& > .t-template {
|
|
@@ -300,7 +310,7 @@ tui-textfield {
|
|
|
300
310
|
display: flex;
|
|
301
311
|
block-size: var(--t-height);
|
|
302
312
|
align-items: center;
|
|
303
|
-
gap:
|
|
313
|
+
gap: 0.25rem;
|
|
304
314
|
margin-inline-start: auto;
|
|
305
315
|
isolation: isolate;
|
|
306
316
|
border-radius: inherit;
|
|
@@ -342,11 +352,6 @@ tui-textfield {
|
|
|
342
352
|
|
|
343
353
|
&:not([data-mode~='readonly']) {
|
|
344
354
|
.appearance-focus({
|
|
345
|
-
[tuiInput]::placeholder,
|
|
346
|
-
[tuiInput]._empty {
|
|
347
|
-
color: var(--tui-text-tertiary);
|
|
348
|
-
}
|
|
349
|
-
|
|
350
355
|
[tuiLabel] {
|
|
351
356
|
color: var(--tui-text-primary) !important;
|
|
352
357
|
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
|
-
|
|
71
|
-
|
|
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] {
|