@taiga-ui/core 4.47.0 → 4.48.0-canary.8006d33
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/textfield/index.d.ts +1 -0
- package/components/textfield/with-native-picker.directive.d.ts +14 -0
- package/esm2022/components/data-list/data-list.component.mjs +13 -1
- package/esm2022/components/root/root.component.mjs +2 -2
- package/esm2022/components/textfield/index.mjs +2 -1
- package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +3 -3
- package/esm2022/components/textfield/textfield.component.mjs +3 -3
- package/esm2022/components/textfield/with-native-picker.directive.mjs +24 -0
- package/esm2022/directives/dropdown/dropdown-position-sided.directive.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-data-list.mjs +12 -0
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +25 -5
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs +2 -2
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
- package/package.json +80 -80
- package/styles/components/textfield.less +7 -5
- package/styles/theme/appearance/outline.less +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.48.0-canary.8006d33",
|
|
4
4
|
"description": "Core library for creating Angular components and applications using Taiga UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
"esm": "./esm2022/components/taiga-ui-core-components.mjs",
|
|
44
44
|
"default": "./fesm2022/taiga-ui-core-components.mjs"
|
|
45
45
|
},
|
|
46
|
-
"./directives": {
|
|
47
|
-
"types": "./directives/index.d.ts",
|
|
48
|
-
"esm2022": "./esm2022/directives/taiga-ui-core-directives.mjs",
|
|
49
|
-
"esm": "./esm2022/directives/taiga-ui-core-directives.mjs",
|
|
50
|
-
"default": "./fesm2022/taiga-ui-core-directives.mjs"
|
|
51
|
-
},
|
|
52
46
|
"./pipes": {
|
|
53
47
|
"types": "./pipes/index.d.ts",
|
|
54
48
|
"esm2022": "./esm2022/pipes/taiga-ui-core-pipes.mjs",
|
|
55
49
|
"esm": "./esm2022/pipes/taiga-ui-core-pipes.mjs",
|
|
56
50
|
"default": "./fesm2022/taiga-ui-core-pipes.mjs"
|
|
57
51
|
},
|
|
52
|
+
"./directives": {
|
|
53
|
+
"types": "./directives/index.d.ts",
|
|
54
|
+
"esm2022": "./esm2022/directives/taiga-ui-core-directives.mjs",
|
|
55
|
+
"esm": "./esm2022/directives/taiga-ui-core-directives.mjs",
|
|
56
|
+
"default": "./fesm2022/taiga-ui-core-directives.mjs"
|
|
57
|
+
},
|
|
58
58
|
"./services": {
|
|
59
59
|
"types": "./services/index.d.ts",
|
|
60
60
|
"esm2022": "./esm2022/services/taiga-ui-core-services.mjs",
|
|
@@ -97,12 +97,6 @@
|
|
|
97
97
|
"esm": "./esm2022/components/calendar/taiga-ui-core-components-calendar.mjs",
|
|
98
98
|
"default": "./fesm2022/taiga-ui-core-components-calendar.mjs"
|
|
99
99
|
},
|
|
100
|
-
"./components/data-list": {
|
|
101
|
-
"types": "./components/data-list/index.d.ts",
|
|
102
|
-
"esm2022": "./esm2022/components/data-list/taiga-ui-core-components-data-list.mjs",
|
|
103
|
-
"esm": "./esm2022/components/data-list/taiga-ui-core-components-data-list.mjs",
|
|
104
|
-
"default": "./fesm2022/taiga-ui-core-components-data-list.mjs"
|
|
105
|
-
},
|
|
106
100
|
"./components/dialog": {
|
|
107
101
|
"types": "./components/dialog/index.d.ts",
|
|
108
102
|
"esm2022": "./esm2022/components/dialog/taiga-ui-core-components-dialog.mjs",
|
|
@@ -115,6 +109,12 @@
|
|
|
115
109
|
"esm": "./esm2022/components/error/taiga-ui-core-components-error.mjs",
|
|
116
110
|
"default": "./fesm2022/taiga-ui-core-components-error.mjs"
|
|
117
111
|
},
|
|
112
|
+
"./components/data-list": {
|
|
113
|
+
"types": "./components/data-list/index.d.ts",
|
|
114
|
+
"esm2022": "./esm2022/components/data-list/taiga-ui-core-components-data-list.mjs",
|
|
115
|
+
"esm": "./esm2022/components/data-list/taiga-ui-core-components-data-list.mjs",
|
|
116
|
+
"default": "./fesm2022/taiga-ui-core-components-data-list.mjs"
|
|
117
|
+
},
|
|
118
118
|
"./components/expand": {
|
|
119
119
|
"types": "./components/expand/index.d.ts",
|
|
120
120
|
"esm2022": "./esm2022/components/expand/taiga-ui-core-components-expand.mjs",
|
|
@@ -145,18 +145,18 @@
|
|
|
145
145
|
"esm": "./esm2022/components/link/taiga-ui-core-components-link.mjs",
|
|
146
146
|
"default": "./fesm2022/taiga-ui-core-components-link.mjs"
|
|
147
147
|
},
|
|
148
|
-
"./components/notification": {
|
|
149
|
-
"types": "./components/notification/index.d.ts",
|
|
150
|
-
"esm2022": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
|
|
151
|
-
"esm": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
|
|
152
|
-
"default": "./fesm2022/taiga-ui-core-components-notification.mjs"
|
|
153
|
-
},
|
|
154
148
|
"./components/loader": {
|
|
155
149
|
"types": "./components/loader/index.d.ts",
|
|
156
150
|
"esm2022": "./esm2022/components/loader/taiga-ui-core-components-loader.mjs",
|
|
157
151
|
"esm": "./esm2022/components/loader/taiga-ui-core-components-loader.mjs",
|
|
158
152
|
"default": "./fesm2022/taiga-ui-core-components-loader.mjs"
|
|
159
153
|
},
|
|
154
|
+
"./components/notification": {
|
|
155
|
+
"types": "./components/notification/index.d.ts",
|
|
156
|
+
"esm2022": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
|
|
157
|
+
"esm": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
|
|
158
|
+
"default": "./fesm2022/taiga-ui-core-components-notification.mjs"
|
|
159
|
+
},
|
|
160
160
|
"./components/root": {
|
|
161
161
|
"types": "./components/root/index.d.ts",
|
|
162
162
|
"esm2022": "./esm2022/components/root/taiga-ui-core-components-root.mjs",
|
|
@@ -181,6 +181,60 @@
|
|
|
181
181
|
"esm": "./esm2022/components/textfield/taiga-ui-core-components-textfield.mjs",
|
|
182
182
|
"default": "./fesm2022/taiga-ui-core-components-textfield.mjs"
|
|
183
183
|
},
|
|
184
|
+
"./pipes/auto-color": {
|
|
185
|
+
"types": "./pipes/auto-color/index.d.ts",
|
|
186
|
+
"esm2022": "./esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs",
|
|
187
|
+
"esm": "./esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs",
|
|
188
|
+
"default": "./fesm2022/taiga-ui-core-pipes-auto-color.mjs"
|
|
189
|
+
},
|
|
190
|
+
"./pipes/calendar-sheet": {
|
|
191
|
+
"types": "./pipes/calendar-sheet/index.d.ts",
|
|
192
|
+
"esm2022": "./esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs",
|
|
193
|
+
"esm": "./esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs",
|
|
194
|
+
"default": "./fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs"
|
|
195
|
+
},
|
|
196
|
+
"./pipes/fallback-src": {
|
|
197
|
+
"types": "./pipes/fallback-src/index.d.ts",
|
|
198
|
+
"esm2022": "./esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs",
|
|
199
|
+
"esm": "./esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs",
|
|
200
|
+
"default": "./fesm2022/taiga-ui-core-pipes-fallback-src.mjs"
|
|
201
|
+
},
|
|
202
|
+
"./pipes/flag": {
|
|
203
|
+
"types": "./pipes/flag/index.d.ts",
|
|
204
|
+
"esm2022": "./esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs",
|
|
205
|
+
"esm": "./esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs",
|
|
206
|
+
"default": "./fesm2022/taiga-ui-core-pipes-flag.mjs"
|
|
207
|
+
},
|
|
208
|
+
"./pipes/format-date": {
|
|
209
|
+
"types": "./pipes/format-date/index.d.ts",
|
|
210
|
+
"esm2022": "./esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs",
|
|
211
|
+
"esm": "./esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs",
|
|
212
|
+
"default": "./fesm2022/taiga-ui-core-pipes-format-date.mjs"
|
|
213
|
+
},
|
|
214
|
+
"./pipes/format-number": {
|
|
215
|
+
"types": "./pipes/format-number/index.d.ts",
|
|
216
|
+
"esm2022": "./esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs",
|
|
217
|
+
"esm": "./esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs",
|
|
218
|
+
"default": "./fesm2022/taiga-ui-core-pipes-format-number.mjs"
|
|
219
|
+
},
|
|
220
|
+
"./pipes/initials": {
|
|
221
|
+
"types": "./pipes/initials/index.d.ts",
|
|
222
|
+
"esm2022": "./esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs",
|
|
223
|
+
"esm": "./esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs",
|
|
224
|
+
"default": "./fesm2022/taiga-ui-core-pipes-initials.mjs"
|
|
225
|
+
},
|
|
226
|
+
"./pipes/month": {
|
|
227
|
+
"types": "./pipes/month/index.d.ts",
|
|
228
|
+
"esm2022": "./esm2022/pipes/month/taiga-ui-core-pipes-month.mjs",
|
|
229
|
+
"esm": "./esm2022/pipes/month/taiga-ui-core-pipes-month.mjs",
|
|
230
|
+
"default": "./fesm2022/taiga-ui-core-pipes-month.mjs"
|
|
231
|
+
},
|
|
232
|
+
"./pipes/order-week-days": {
|
|
233
|
+
"types": "./pipes/order-week-days/index.d.ts",
|
|
234
|
+
"esm2022": "./esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs",
|
|
235
|
+
"esm": "./esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs",
|
|
236
|
+
"default": "./fesm2022/taiga-ui-core-pipes-order-week-days.mjs"
|
|
237
|
+
},
|
|
184
238
|
"./directives/appearance": {
|
|
185
239
|
"types": "./directives/appearance/index.d.ts",
|
|
186
240
|
"esm2022": "./esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs",
|
|
@@ -247,59 +301,11 @@
|
|
|
247
301
|
"esm": "./esm2022/directives/title/taiga-ui-core-directives-title.mjs",
|
|
248
302
|
"default": "./fesm2022/taiga-ui-core-directives-title.mjs"
|
|
249
303
|
},
|
|
250
|
-
"./
|
|
251
|
-
"types": "./
|
|
252
|
-
"esm2022": "./esm2022/
|
|
253
|
-
"esm": "./esm2022/
|
|
254
|
-
"default": "./fesm2022/taiga-ui-core-
|
|
255
|
-
},
|
|
256
|
-
"./pipes/calendar-sheet": {
|
|
257
|
-
"types": "./pipes/calendar-sheet/index.d.ts",
|
|
258
|
-
"esm2022": "./esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs",
|
|
259
|
-
"esm": "./esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs",
|
|
260
|
-
"default": "./fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs"
|
|
261
|
-
},
|
|
262
|
-
"./pipes/fallback-src": {
|
|
263
|
-
"types": "./pipes/fallback-src/index.d.ts",
|
|
264
|
-
"esm2022": "./esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs",
|
|
265
|
-
"esm": "./esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs",
|
|
266
|
-
"default": "./fesm2022/taiga-ui-core-pipes-fallback-src.mjs"
|
|
267
|
-
},
|
|
268
|
-
"./pipes/flag": {
|
|
269
|
-
"types": "./pipes/flag/index.d.ts",
|
|
270
|
-
"esm2022": "./esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs",
|
|
271
|
-
"esm": "./esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs",
|
|
272
|
-
"default": "./fesm2022/taiga-ui-core-pipes-flag.mjs"
|
|
273
|
-
},
|
|
274
|
-
"./pipes/format-date": {
|
|
275
|
-
"types": "./pipes/format-date/index.d.ts",
|
|
276
|
-
"esm2022": "./esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs",
|
|
277
|
-
"esm": "./esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs",
|
|
278
|
-
"default": "./fesm2022/taiga-ui-core-pipes-format-date.mjs"
|
|
279
|
-
},
|
|
280
|
-
"./pipes/format-number": {
|
|
281
|
-
"types": "./pipes/format-number/index.d.ts",
|
|
282
|
-
"esm2022": "./esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs",
|
|
283
|
-
"esm": "./esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs",
|
|
284
|
-
"default": "./fesm2022/taiga-ui-core-pipes-format-number.mjs"
|
|
285
|
-
},
|
|
286
|
-
"./pipes/initials": {
|
|
287
|
-
"types": "./pipes/initials/index.d.ts",
|
|
288
|
-
"esm2022": "./esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs",
|
|
289
|
-
"esm": "./esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs",
|
|
290
|
-
"default": "./fesm2022/taiga-ui-core-pipes-initials.mjs"
|
|
291
|
-
},
|
|
292
|
-
"./pipes/month": {
|
|
293
|
-
"types": "./pipes/month/index.d.ts",
|
|
294
|
-
"esm2022": "./esm2022/pipes/month/taiga-ui-core-pipes-month.mjs",
|
|
295
|
-
"esm": "./esm2022/pipes/month/taiga-ui-core-pipes-month.mjs",
|
|
296
|
-
"default": "./fesm2022/taiga-ui-core-pipes-month.mjs"
|
|
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"
|
|
304
|
+
"./utils/dom": {
|
|
305
|
+
"types": "./utils/dom/index.d.ts",
|
|
306
|
+
"esm2022": "./esm2022/utils/dom/taiga-ui-core-utils-dom.mjs",
|
|
307
|
+
"esm": "./esm2022/utils/dom/taiga-ui-core-utils-dom.mjs",
|
|
308
|
+
"default": "./fesm2022/taiga-ui-core-utils-dom.mjs"
|
|
303
309
|
},
|
|
304
310
|
"./utils/format": {
|
|
305
311
|
"types": "./utils/format/index.d.ts",
|
|
@@ -312,12 +318,6 @@
|
|
|
312
318
|
"esm2022": "./esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs",
|
|
313
319
|
"esm": "./esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs",
|
|
314
320
|
"default": "./fesm2022/taiga-ui-core-utils-miscellaneous.mjs"
|
|
315
|
-
},
|
|
316
|
-
"./utils/dom": {
|
|
317
|
-
"types": "./utils/dom/index.d.ts",
|
|
318
|
-
"esm2022": "./esm2022/utils/dom/taiga-ui-core-utils-dom.mjs",
|
|
319
|
-
"esm": "./esm2022/utils/dom/taiga-ui-core-utils-dom.mjs",
|
|
320
|
-
"default": "./fesm2022/taiga-ui-core-utils-dom.mjs"
|
|
321
321
|
}
|
|
322
322
|
},
|
|
323
323
|
"peerDependencies": {
|
|
@@ -329,9 +329,9 @@
|
|
|
329
329
|
"@angular/router": ">=16.0.0",
|
|
330
330
|
"@ng-web-apis/common": "^4.12.0",
|
|
331
331
|
"@ng-web-apis/mutation-observer": "^4.12.0",
|
|
332
|
-
"@taiga-ui/cdk": "^4.
|
|
332
|
+
"@taiga-ui/cdk": "^4.48.0",
|
|
333
333
|
"@taiga-ui/event-plugins": "^4.6.0",
|
|
334
|
-
"@taiga-ui/i18n": "^4.
|
|
334
|
+
"@taiga-ui/i18n": "^4.48.0",
|
|
335
335
|
"@taiga-ui/polymorpheus": "^4.9.0",
|
|
336
336
|
"rxjs": ">=7.0.0"
|
|
337
337
|
},
|
|
@@ -7,6 +7,7 @@ tui-textfield {
|
|
|
7
7
|
--t-height: var(--tui-height-l);
|
|
8
8
|
--t-padding: var(--tui-padding-l);
|
|
9
9
|
--t-label: -0.7em;
|
|
10
|
+
--t-label-size: 0.83em;
|
|
10
11
|
--t-end: ~'0rem';
|
|
11
12
|
--t-start: ~'0rem';
|
|
12
13
|
|
|
@@ -20,6 +21,7 @@ tui-textfield {
|
|
|
20
21
|
padding: 0 var(--t-padding);
|
|
21
22
|
border-radius: var(--tui-radius-l);
|
|
22
23
|
font: var(--tui-font-text-ui-m);
|
|
24
|
+
line-height: 1.25rem;
|
|
23
25
|
box-sizing: border-box;
|
|
24
26
|
gap: 0 0.25rem;
|
|
25
27
|
isolation: isolate;
|
|
@@ -71,7 +73,7 @@ tui-textfield {
|
|
|
71
73
|
input,
|
|
72
74
|
select,
|
|
73
75
|
textarea {
|
|
74
|
-
font:
|
|
76
|
+
font: inherit;
|
|
75
77
|
resize: none;
|
|
76
78
|
outline: none;
|
|
77
79
|
padding-block-start: 1.125rem;
|
|
@@ -89,6 +91,7 @@ tui-textfield {
|
|
|
89
91
|
border-radius: var(--tui-radius-m);
|
|
90
92
|
gap: 0;
|
|
91
93
|
font: var(--tui-font-text-ui-s);
|
|
94
|
+
line-height: 1rem;
|
|
92
95
|
|
|
93
96
|
&[style*='--t-icon-start:'] {
|
|
94
97
|
--t-start: 1.25rem;
|
|
@@ -113,7 +116,6 @@ tui-textfield {
|
|
|
113
116
|
input,
|
|
114
117
|
select,
|
|
115
118
|
textarea {
|
|
116
|
-
font: var(--tui-font-text-ui-s);
|
|
117
119
|
padding-block-start: 0.5rem;
|
|
118
120
|
padding-block-end: 0.5rem;
|
|
119
121
|
}
|
|
@@ -129,6 +131,7 @@ tui-textfield {
|
|
|
129
131
|
|
|
130
132
|
border-radius: var(--tui-radius-m);
|
|
131
133
|
font: var(--tui-font-text-ui-s);
|
|
134
|
+
line-height: 1rem;
|
|
132
135
|
|
|
133
136
|
&[style*='--t-icon-start:'] {
|
|
134
137
|
--t-start: 1.75rem;
|
|
@@ -151,7 +154,6 @@ tui-textfield {
|
|
|
151
154
|
input,
|
|
152
155
|
select,
|
|
153
156
|
textarea {
|
|
154
|
-
font: var(--tui-font-text-ui-s);
|
|
155
157
|
padding-block-start: 0.875rem;
|
|
156
158
|
padding-block-end: 0.875rem;
|
|
157
159
|
}
|
|
@@ -300,7 +302,7 @@ tui-textfield {
|
|
|
300
302
|
&:-webkit-autofill,
|
|
301
303
|
&:not(._empty):not(:placeholder-shown) {
|
|
302
304
|
& ~ label {
|
|
303
|
-
font-size:
|
|
305
|
+
font-size: var(--t-label-size);
|
|
304
306
|
transform: translateY(var(--t-label));
|
|
305
307
|
}
|
|
306
308
|
|
|
@@ -323,7 +325,7 @@ tui-textfield {
|
|
|
323
325
|
|
|
324
326
|
& ~ label {
|
|
325
327
|
color: var(--tui-text-primary) !important;
|
|
326
|
-
font-size:
|
|
328
|
+
font-size: var(--t-label-size);
|
|
327
329
|
transform: translateY(var(--t-label));
|
|
328
330
|
}
|
|
329
331
|
});
|