@taiga-ui/core 4.42.0 → 4.43.0-canary.0505af2
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/alert/alert.tokens.d.ts +5 -4
- package/components/calendar/calendar-sheet.options.d.ts +2 -1
- package/components/calendar/calendar-year.component.d.ts +5 -4
- package/components/calendar/calendar.component.d.ts +1 -0
- package/components/data-list/data-list.tokens.d.ts +3 -2
- package/components/data-list/option/option-content.d.ts +2 -1
- package/components/data-list/option/option.directive.d.ts +2 -0
- package/components/dialog/dialog.tokens.d.ts +4 -3
- package/components/link/link.options.d.ts +2 -1
- package/components/loader/loader.options.d.ts +2 -1
- package/components/textfield/select-like.directive.d.ts +4 -3
- package/components/textfield/textfield-accessor.d.ts +2 -1
- package/components/textfield/textfield-dropdown.directive.d.ts +9 -5
- package/components/textfield/textfield-multi/textfield-multi.component.d.ts +3 -3
- package/components/textfield/textfield.component.d.ts +8 -4
- package/components/textfield/textfield.options.d.ts +2 -1
- package/directives/appearance/appearance.options.d.ts +2 -1
- package/directives/dropdown/dropdown-hover.options.d.ts +2 -1
- package/directives/dropdown/dropdown-options.directive.d.ts +2 -1
- package/directives/dropdown/dropdown.directive.d.ts +5 -4
- package/directives/dropdown/dropdown.providers.d.ts +3 -2
- package/directives/group/group.options.d.ts +2 -1
- package/directives/hint/hint-options.directive.d.ts +2 -1
- package/directives/hint/hint.providers.d.ts +2 -1
- package/directives/items-handlers/items-handlers.tokens.d.ts +2 -1
- package/esm2022/components/alert/alert.component.mjs +3 -3
- package/esm2022/components/alert/alert.tokens.mjs +28 -21
- package/esm2022/components/calendar/calendar-sheet.component.mjs +3 -3
- package/esm2022/components/calendar/calendar-sheet.options.mjs +6 -3
- package/esm2022/components/calendar/calendar-year.component.mjs +22 -18
- package/esm2022/components/calendar/calendar.component.mjs +5 -3
- package/esm2022/components/data-list/data-list.component.mjs +3 -3
- package/esm2022/components/data-list/data-list.tokens.mjs +5 -4
- package/esm2022/components/data-list/option/option-content.mjs +3 -4
- package/esm2022/components/data-list/option/option.directive.mjs +14 -2
- package/esm2022/components/dialog/dialog.component.mjs +3 -3
- package/esm2022/components/dialog/dialog.tokens.mjs +12 -5
- package/esm2022/components/dialog/dialogs.component.mjs +3 -3
- package/esm2022/components/label/label.directive.mjs +2 -2
- package/esm2022/components/link/link.options.mjs +6 -3
- package/esm2022/components/loader/loader.component.mjs +3 -3
- package/esm2022/components/loader/loader.options.mjs +6 -3
- package/esm2022/components/notification/notification.directive.mjs +2 -2
- package/esm2022/components/root/root.component.mjs +2 -2
- package/esm2022/components/textfield/select-like.directive.mjs +14 -10
- package/esm2022/components/textfield/textfield-accessor.mjs +4 -3
- package/esm2022/components/textfield/textfield-dropdown.directive.mjs +22 -15
- package/esm2022/components/textfield/textfield-multi/textfield-item.component.mjs +5 -4
- package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +27 -15
- package/esm2022/components/textfield/textfield.component.mjs +48 -39
- package/esm2022/components/textfield/textfield.options.mjs +9 -7
- package/esm2022/directives/appearance/appearance.options.mjs +6 -3
- package/esm2022/directives/dropdown/dropdown-hover.options.mjs +6 -3
- package/esm2022/directives/dropdown/dropdown-open.directive.mjs +2 -2
- package/esm2022/directives/dropdown/dropdown-options.directive.mjs +6 -4
- package/esm2022/directives/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/directives/dropdown/dropdown.directive.mjs +21 -16
- package/esm2022/directives/dropdown/dropdown.providers.mjs +6 -4
- package/esm2022/directives/group/group.directive.mjs +2 -2
- package/esm2022/directives/group/group.options.mjs +6 -3
- package/esm2022/directives/hint/hint-options.directive.mjs +6 -4
- package/esm2022/directives/hint/hint.providers.mjs +5 -3
- package/esm2022/directives/items-handlers/items-handlers.tokens.mjs +5 -4
- package/esm2022/tokens/animations-speed.mjs +5 -4
- package/esm2022/tokens/assets-path.mjs +5 -3
- package/esm2022/tokens/auxiliary.mjs +6 -3
- package/esm2022/tokens/common-icons.mjs +6 -3
- package/esm2022/tokens/dark-mode.mjs +34 -31
- package/esm2022/tokens/date-format.mjs +5 -4
- package/esm2022/tokens/day-type-handler.mjs +5 -3
- package/esm2022/tokens/first-day-of-week.mjs +5 -3
- package/esm2022/tokens/i18n.mjs +23 -9
- package/esm2022/tokens/icon-resolver.mjs +7 -6
- package/esm2022/tokens/icon.mjs +8 -4
- package/esm2022/tokens/icons.mjs +5 -4
- package/esm2022/tokens/media.mjs +8 -6
- package/esm2022/tokens/number-format.mjs +5 -4
- package/esm2022/tokens/reduced-motion.mjs +6 -5
- package/esm2022/tokens/scroll-ref.mjs +5 -4
- package/esm2022/tokens/selection-stream.mjs +7 -6
- package/esm2022/tokens/spin-icons.mjs +7 -5
- package/esm2022/tokens/theme.mjs +5 -3
- package/esm2022/tokens/viewport.mjs +27 -25
- package/fesm2022/taiga-ui-core-components-alert.mjs +29 -22
- package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-calendar.mjs +30 -23
- package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-data-list.mjs +19 -8
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-dialog.mjs +15 -9
- package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-label.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-link.mjs +5 -3
- package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-loader.mjs +7 -5
- package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-notification.mjs +2 -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-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +116 -84
- package/fesm2022/taiga-ui-core-components-textfield.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-dropdown.mjs +35 -24
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-group.mjs +7 -5
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-hint.mjs +8 -4
- package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +5 -3
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +143 -87
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/package.json +9 -9
- package/styles/components/label.less +2 -2
- package/styles/components/notification.less +57 -10
- package/styles/components/textfield.less +36 -17
- package/styles/mixins/mixins.less +1 -1
- package/styles/mixins/slider.less +3 -3
- package/styles/mixins/slider.scss +3 -3
- package/styles/theme/appearance/table.less +1 -1
- package/tokens/animations-speed.d.ts +2 -1
- package/tokens/assets-path.d.ts +2 -1
- package/tokens/auxiliary.d.ts +2 -1
- package/tokens/common-icons.d.ts +2 -1
- package/tokens/dark-mode.d.ts +3 -2
- package/tokens/date-format.d.ts +2 -1
- package/tokens/day-type-handler.d.ts +2 -1
- package/tokens/first-day-of-week.d.ts +2 -1
- package/tokens/i18n.d.ts +8 -7
- package/tokens/icon-resolver.d.ts +3 -2
- package/tokens/icon.d.ts +3 -2
- package/tokens/icons.d.ts +3 -2
- package/tokens/media.d.ts +2 -1
- package/tokens/number-format.d.ts +2 -1
- package/tokens/reduced-motion.d.ts +2 -1
- package/tokens/scroll-ref.d.ts +2 -2
- package/tokens/selection-stream.d.ts +2 -1
- package/tokens/spin-icons.d.ts +2 -1
- package/tokens/theme.d.ts +2 -1
- package/tokens/viewport.d.ts +2 -1
|
@@ -36,23 +36,28 @@ tui-notification,
|
|
|
36
36
|
box-sizing: border-box;
|
|
37
37
|
text-align: start;
|
|
38
38
|
text-decoration: none;
|
|
39
|
-
border-inline-start: var(--t-
|
|
40
|
-
border-inline-end: var(--t-
|
|
39
|
+
border-inline-start: var(--t-start) solid transparent;
|
|
40
|
+
border-inline-end: var(--t-end) solid transparent;
|
|
41
41
|
|
|
42
|
-
--t-
|
|
43
|
-
--t-
|
|
42
|
+
--t-start: 0;
|
|
43
|
+
--t-end: 0;
|
|
44
44
|
|
|
45
45
|
&[style*='--t-icon-start:'] {
|
|
46
|
-
--t-
|
|
46
|
+
--t-start: 2rem;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
&[style*='--t-icon-end:'] {
|
|
50
|
-
--t-
|
|
50
|
+
--t-end: 1.5rem;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
&::before {
|
|
54
54
|
position: absolute;
|
|
55
55
|
left: -1rem;
|
|
56
|
+
|
|
57
|
+
@supports (inset-inline-start: -1rem) {
|
|
58
|
+
left: unset;
|
|
59
|
+
inset-inline-start: -1rem;
|
|
60
|
+
}
|
|
56
61
|
}
|
|
57
62
|
|
|
58
63
|
&::after {
|
|
@@ -60,8 +65,15 @@ tui-notification,
|
|
|
60
65
|
|
|
61
66
|
right: -0.5rem;
|
|
62
67
|
font-size: 1rem;
|
|
63
|
-
margin: 0
|
|
68
|
+
margin: 0;
|
|
69
|
+
margin-inline-end: -0.25rem;
|
|
70
|
+
margin-inline-start: auto;
|
|
64
71
|
color: var(--tui-text-tertiary) !important;
|
|
72
|
+
|
|
73
|
+
@supports (inset-inline-end: -0.5rem) {
|
|
74
|
+
right: unset;
|
|
75
|
+
inset-inline-end: -0.5rem;
|
|
76
|
+
}
|
|
65
77
|
}
|
|
66
78
|
|
|
67
79
|
&[data-size='s'] {
|
|
@@ -71,17 +83,27 @@ tui-notification,
|
|
|
71
83
|
border-radius: var(--tui-radius-m);
|
|
72
84
|
|
|
73
85
|
&[style*='--t-icon-start:'] {
|
|
74
|
-
--t-
|
|
86
|
+
--t-start: 1.5rem;
|
|
75
87
|
}
|
|
76
88
|
|
|
77
89
|
&::before {
|
|
78
90
|
top: 0.5rem;
|
|
79
91
|
left: -0.875rem;
|
|
80
92
|
font-size: 1rem;
|
|
93
|
+
|
|
94
|
+
@supports (inset-inline-start: -0.875rem) {
|
|
95
|
+
left: unset;
|
|
96
|
+
inset-inline-start: -0.875rem;
|
|
97
|
+
}
|
|
81
98
|
}
|
|
82
99
|
|
|
83
100
|
&::after {
|
|
84
101
|
right: -0.875rem;
|
|
102
|
+
|
|
103
|
+
@supports (inset-inline-end: -0.875rem) {
|
|
104
|
+
right: unset;
|
|
105
|
+
inset-inline-end: -0.875rem;
|
|
106
|
+
}
|
|
85
107
|
}
|
|
86
108
|
|
|
87
109
|
tui-icon {
|
|
@@ -105,6 +127,11 @@ tui-notification,
|
|
|
105
127
|
> [tuiIconButton] {
|
|
106
128
|
top: 0;
|
|
107
129
|
right: 0;
|
|
130
|
+
|
|
131
|
+
@supports (inset-inline-end: 0) {
|
|
132
|
+
right: unset;
|
|
133
|
+
inset-inline-end: 0;
|
|
134
|
+
}
|
|
108
135
|
}
|
|
109
136
|
}
|
|
110
137
|
|
|
@@ -115,16 +142,26 @@ tui-notification,
|
|
|
115
142
|
border-radius: var(--tui-radius-m);
|
|
116
143
|
|
|
117
144
|
&[style*='--t-icon-start:'] {
|
|
118
|
-
--t-
|
|
145
|
+
--t-start: 1.625rem;
|
|
119
146
|
}
|
|
120
147
|
|
|
121
148
|
&::before {
|
|
122
149
|
left: -0.875rem;
|
|
123
150
|
font-size: 1.25rem;
|
|
151
|
+
|
|
152
|
+
@supports (inset-inline-start: -0.875rem) {
|
|
153
|
+
left: unset;
|
|
154
|
+
inset-inline-start: -0.875rem;
|
|
155
|
+
}
|
|
124
156
|
}
|
|
125
157
|
|
|
126
158
|
&::after {
|
|
127
159
|
right: -0.75rem;
|
|
160
|
+
|
|
161
|
+
@supports (inset-inline-end: -0.75rem) {
|
|
162
|
+
right: unset;
|
|
163
|
+
inset-inline-end: -0.75rem;
|
|
164
|
+
}
|
|
128
165
|
}
|
|
129
166
|
|
|
130
167
|
tui-icon {
|
|
@@ -148,6 +185,11 @@ tui-notification,
|
|
|
148
185
|
> [tuiIconButton] {
|
|
149
186
|
top: 0.375rem;
|
|
150
187
|
right: 0.5rem;
|
|
188
|
+
|
|
189
|
+
@supports (inset-inline-end: 0.5rem) {
|
|
190
|
+
right: unset;
|
|
191
|
+
inset-inline-end: 0.5rem;
|
|
192
|
+
}
|
|
151
193
|
}
|
|
152
194
|
}
|
|
153
195
|
|
|
@@ -164,7 +206,7 @@ tui-notification,
|
|
|
164
206
|
display: flex;
|
|
165
207
|
align-items: center;
|
|
166
208
|
gap: 1.25rem;
|
|
167
|
-
margin-
|
|
209
|
+
margin-block-start: 0.625rem;
|
|
168
210
|
font: var(--tui-font-text-s);
|
|
169
211
|
}
|
|
170
212
|
}
|
|
@@ -175,6 +217,11 @@ tui-notification,
|
|
|
175
217
|
right: 0.75rem;
|
|
176
218
|
box-shadow: none !important;
|
|
177
219
|
background: transparent !important;
|
|
220
|
+
|
|
221
|
+
@supports (inset-inline-end: 0.75rem) {
|
|
222
|
+
right: unset;
|
|
223
|
+
inset-inline-end: 0.75rem;
|
|
224
|
+
}
|
|
178
225
|
}
|
|
179
226
|
}
|
|
180
227
|
|
|
@@ -7,8 +7,8 @@ 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-
|
|
11
|
-
--t-
|
|
10
|
+
--t-end: ~'0rem';
|
|
11
|
+
--t-start: ~'0rem';
|
|
12
12
|
|
|
13
13
|
position: relative;
|
|
14
14
|
display: flex;
|
|
@@ -25,19 +25,19 @@ tui-textfield {
|
|
|
25
25
|
isolation: isolate;
|
|
26
26
|
|
|
27
27
|
&[style*='--t-icon-start:'] {
|
|
28
|
-
--t-
|
|
28
|
+
--t-start: 2.25rem;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&[style*='--t-icon-end:'] {
|
|
32
|
-
--t-
|
|
32
|
+
--t-end: 2.25rem;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&[tuiIcons]::after {
|
|
36
36
|
position: relative;
|
|
37
37
|
block-size: auto;
|
|
38
38
|
align-self: stretch;
|
|
39
|
-
border-
|
|
40
|
-
border-
|
|
39
|
+
border-inline-start: var(--t-padding) solid transparent;
|
|
40
|
+
border-inline-end: var(--t-padding) solid transparent;
|
|
41
41
|
margin: 0 calc(-1 * var(--t-padding));
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -91,20 +91,22 @@ tui-textfield {
|
|
|
91
91
|
font: var(--tui-font-text-ui-s);
|
|
92
92
|
|
|
93
93
|
&[style*='--t-icon-start:'] {
|
|
94
|
-
--t-
|
|
94
|
+
--t-start: 1.25rem;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
&[style*='--t-icon-end:'] {
|
|
98
|
-
--t-
|
|
98
|
+
--t-end: 1.25rem;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
&::before {
|
|
102
|
-
margin: 0
|
|
102
|
+
margin-inline-end: 0.5rem;
|
|
103
|
+
margin-inline-start: -0.125rem;
|
|
103
104
|
font-size: 1rem;
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
&::after {
|
|
107
|
-
margin:
|
|
108
|
+
margin-inline-end: calc(-0.125rem - var(--t-padding));
|
|
109
|
+
margin-inline-start: calc(0.625rem - var(--t-padding));
|
|
108
110
|
font-size: 1rem;
|
|
109
111
|
}
|
|
110
112
|
|
|
@@ -129,19 +131,21 @@ tui-textfield {
|
|
|
129
131
|
font: var(--tui-font-text-ui-s);
|
|
130
132
|
|
|
131
133
|
&[style*='--t-icon-start:'] {
|
|
132
|
-
--t-
|
|
134
|
+
--t-start: 1.75rem;
|
|
133
135
|
}
|
|
134
136
|
|
|
135
137
|
&[style*='--t-icon-end:'] {
|
|
136
|
-
--t-
|
|
138
|
+
--t-end: 1.75rem;
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
&::before {
|
|
140
|
-
margin:
|
|
142
|
+
margin-inline-start: -0.125rem;
|
|
143
|
+
margin-inline-end: 0.125rem;
|
|
141
144
|
}
|
|
142
145
|
|
|
143
146
|
&::after {
|
|
144
|
-
margin
|
|
147
|
+
margin-inline-start: calc(0.25rem - var(--t-padding));
|
|
148
|
+
margin-inline-end: calc(-0.125rem - var(--t-padding));
|
|
145
149
|
}
|
|
146
150
|
|
|
147
151
|
input,
|
|
@@ -204,7 +208,14 @@ tui-textfield {
|
|
|
204
208
|
textarea:defined {
|
|
205
209
|
padding-block-start: calc(var(--t-height) / 3);
|
|
206
210
|
padding-block-end: 0;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
207
213
|
|
|
214
|
+
&:not([data-focus='true']):has(label:not(:empty)) {
|
|
215
|
+
& > .t-template,
|
|
216
|
+
input:not([type='range']),
|
|
217
|
+
select:defined,
|
|
218
|
+
textarea:defined {
|
|
208
219
|
&::placeholder,
|
|
209
220
|
&._empty {
|
|
210
221
|
color: transparent;
|
|
@@ -218,9 +229,16 @@ tui-textfield {
|
|
|
218
229
|
input:not([type='range']),
|
|
219
230
|
select:defined,
|
|
220
231
|
textarea:defined {
|
|
221
|
-
padding-
|
|
232
|
+
padding-block-start: calc(var(--t-height) / 3);
|
|
222
233
|
padding-block-end: 0;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
223
236
|
|
|
237
|
+
&:not([data-focus='true'])._with-label {
|
|
238
|
+
& > .t-template,
|
|
239
|
+
input:not([type='range']),
|
|
240
|
+
select:defined,
|
|
241
|
+
textarea:defined {
|
|
224
242
|
&::placeholder,
|
|
225
243
|
&._empty {
|
|
226
244
|
color: transparent;
|
|
@@ -240,8 +258,8 @@ tui-textfield {
|
|
|
240
258
|
border-width: 0;
|
|
241
259
|
overscroll-behavior: none;
|
|
242
260
|
// StackBlitz changes "0rem" to "0" breaking calc
|
|
243
|
-
padding-inline-start: calc(var(--t-
|
|
244
|
-
padding-inline-end: calc(var(--t-
|
|
261
|
+
padding-inline-start: calc(var(--t-start, ~'0rem') + var(--t-padding));
|
|
262
|
+
padding-inline-end: calc(var(--t-end, ~'0rem') + var(--t-side) + var(--t-padding));
|
|
245
263
|
}
|
|
246
264
|
|
|
247
265
|
& > .t-template {
|
|
@@ -309,6 +327,7 @@ tui-textfield {
|
|
|
309
327
|
});
|
|
310
328
|
}
|
|
311
329
|
|
|
330
|
+
// @deprecated remove in v5
|
|
312
331
|
.ios-only({
|
|
313
332
|
&._ios-fix {
|
|
314
333
|
position: fixed;
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
|
|
31
31
|
tui-textfield + &, /* TODO: add :has([tuiInputSlider]) */
|
|
32
32
|
tui-input-slider + & {
|
|
33
|
-
margin-
|
|
33
|
+
margin-inline-start: calc(var(--tui-radius-m) / 2 + @first-tick-center);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
tui-input-range + &,
|
|
37
37
|
tui-range + & {
|
|
38
38
|
@thumb: @thumb-diameters[@@input-size];
|
|
39
39
|
|
|
40
|
-
margin-
|
|
41
|
-
margin-
|
|
40
|
+
margin-inline-start: @thumb;
|
|
41
|
+
margin-inline-end: @thumb;
|
|
42
42
|
|
|
43
43
|
& > * {
|
|
44
44
|
&:first-child {
|
|
@@ -29,14 +29,14 @@ $thumb-diameters: (
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
tui-input-slider + & {
|
|
32
|
-
margin-
|
|
32
|
+
margin-inline-start: calc(var(--tui-radius-m) / 2 + #{$first-tick-center});
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
tui-input-range + &,
|
|
36
36
|
tui-range + & {
|
|
37
37
|
$thumb: map-get($thumb-diameters, $input-size);
|
|
38
|
-
margin-
|
|
39
|
-
margin-
|
|
38
|
+
margin-inline-start: $thumb;
|
|
39
|
+
margin-inline-end: $thumb;
|
|
40
40
|
|
|
41
41
|
& > * {
|
|
42
42
|
&:first-child {
|
|
@@ -17,7 +17,7 @@ TODO: remove :not([tuiWrapper]) after legacy controls deletion
|
|
|
17
17
|
background: transparent;
|
|
18
18
|
border: none;
|
|
19
19
|
outline: none;
|
|
20
|
-
border-
|
|
20
|
+
border-block-end: calc(var(--t-row-height) - var(--t-height)) solid transparent;
|
|
21
21
|
|
|
22
22
|
&:not(._empty) {
|
|
23
23
|
color: var(--tui-text-primary);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
/**
|
|
2
3
|
* Speed of all Taiga UI animations. 1 equals 300ms.
|
|
3
4
|
*/
|
|
4
|
-
export declare const TUI_ANIMATIONS_SPEED:
|
|
5
|
+
export declare const TUI_ANIMATIONS_SPEED: InjectionToken<number>;
|
package/tokens/assets-path.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { ValueProvider } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
export declare const TUI_ASSETS_PATH: InjectionToken<string>;
|
|
3
4
|
export declare function tuiAssetsPathProvider(useValue: string): ValueProvider;
|
package/tokens/auxiliary.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { Provider, Type } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
export declare const TUI_AUXILIARY: InjectionToken<null>;
|
|
3
4
|
export declare function tuiAsAuxiliary(x: Type<unknown>): Provider;
|
package/tokens/common-icons.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
export interface TuiCommonIcons {
|
|
3
4
|
readonly check: string;
|
|
4
5
|
readonly close: string;
|
|
@@ -7,5 +8,5 @@ export interface TuiCommonIcons {
|
|
|
7
8
|
readonly search: string;
|
|
8
9
|
readonly ellipsis: string;
|
|
9
10
|
}
|
|
10
|
-
export declare const TUI_COMMON_ICONS:
|
|
11
|
+
export declare const TUI_COMMON_ICONS: InjectionToken<TuiCommonIcons>;
|
|
11
12
|
export declare function tuiCommonIconsProvider(icons: Partial<TuiCommonIcons>): Provider;
|
package/tokens/dark-mode.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { WritableSignal } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
export declare const TUI_DARK_MODE_DEFAULT_KEY = "tuiDark";
|
|
3
|
-
export declare const TUI_DARK_MODE_KEY:
|
|
4
|
-
export declare const TUI_DARK_MODE:
|
|
4
|
+
export declare const TUI_DARK_MODE_KEY: InjectionToken<string>;
|
|
5
|
+
export declare const TUI_DARK_MODE: InjectionToken<WritableSignal<boolean> & {
|
|
5
6
|
reset(): void;
|
|
6
7
|
}>;
|
package/tokens/date-format.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiDateMode } from '@taiga-ui/cdk/date-time';
|
|
3
4
|
import type { Observable } from 'rxjs';
|
|
4
5
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { TuiDay } from '@taiga-ui/cdk/date-time';
|
|
2
3
|
import type { TuiHandler } from '@taiga-ui/cdk/types';
|
|
3
4
|
/**
|
|
4
5
|
* Token for adding data-type attribute to calendar cell
|
|
5
6
|
*/
|
|
6
|
-
export declare const TUI_DAY_TYPE_HANDLER:
|
|
7
|
+
export declare const TUI_DAY_TYPE_HANDLER: InjectionToken<TuiHandler<TuiDay, string>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
/**
|
|
2
3
|
* The first day of the week index
|
|
3
4
|
*/
|
|
4
|
-
export declare const TUI_FIRST_DAY_OF_WEEK:
|
|
5
|
+
export declare const TUI_FIRST_DAY_OF_WEEK: InjectionToken<0 | 1 | 2 | 3 | 4 | 5 | 6>;
|
package/tokens/i18n.d.ts
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
/**
|
|
2
3
|
* Localized months names
|
|
3
4
|
*/
|
|
4
|
-
export declare const TUI_MONTHS:
|
|
5
|
+
export declare const TUI_MONTHS: InjectionToken<import("rxjs").Observable<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
|
|
5
6
|
/**
|
|
6
7
|
* i18n 'close' word
|
|
7
8
|
*/
|
|
8
|
-
export declare const TUI_CLOSE_WORD:
|
|
9
|
+
export declare const TUI_CLOSE_WORD: InjectionToken<import("rxjs").Observable<string>>;
|
|
9
10
|
/**
|
|
10
11
|
* i18n 'clear' word
|
|
11
12
|
*/
|
|
12
|
-
export declare const TUI_CLEAR_WORD:
|
|
13
|
+
export declare const TUI_CLEAR_WORD: InjectionToken<import("rxjs").Observable<string>>;
|
|
13
14
|
/**
|
|
14
15
|
* i18n 'Nothing found' message
|
|
15
16
|
*/
|
|
16
|
-
export declare const TUI_NOTHING_FOUND_MESSAGE:
|
|
17
|
+
export declare const TUI_NOTHING_FOUND_MESSAGE: InjectionToken<import("rxjs").Observable<string>>;
|
|
17
18
|
/**
|
|
18
19
|
* i18n of error message
|
|
19
20
|
*/
|
|
20
|
-
export declare const TUI_DEFAULT_ERROR_MESSAGE:
|
|
21
|
+
export declare const TUI_DEFAULT_ERROR_MESSAGE: InjectionToken<import("rxjs").Observable<string>>;
|
|
21
22
|
/**
|
|
22
23
|
* spin i18n texts
|
|
23
24
|
*/
|
|
24
|
-
export declare const TUI_SPIN_TEXTS:
|
|
25
|
+
export declare const TUI_SPIN_TEXTS: InjectionToken<import("rxjs").Observable<readonly [previous: string, next: string]>>;
|
|
25
26
|
/**
|
|
26
27
|
* calendars i18n texts
|
|
27
28
|
*/
|
|
28
|
-
export declare const TUI_SHORT_WEEK_DAYS:
|
|
29
|
+
export declare const TUI_SHORT_WEEK_DAYS: InjectionToken<import("rxjs").Observable<readonly [Monday: string, Tuesday: string, Wednesday: string, Thursday: string, Friday: string, Saturday: string, Sunday: string]>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
3
|
-
export declare const TUI_ICON_RESOLVER:
|
|
4
|
+
export declare const TUI_ICON_RESOLVER: InjectionToken<TuiStringHandler<string>>;
|
|
4
5
|
/**
|
|
5
6
|
* @deprecated use {@link TUI_ICON_RESOLVER}
|
|
6
7
|
*/
|
|
7
|
-
export declare const TUI_ICON_START_RESOLVER:
|
|
8
|
+
export declare const TUI_ICON_START_RESOLVER: InjectionToken<TuiStringHandler<string>>;
|
|
8
9
|
export declare function tuiInjectIconResolver(): TuiStringHandler<string>;
|
|
9
10
|
export declare function tuiIconResolverProvider(useValue: TuiStringHandler<string>): Provider;
|
package/tokens/icon.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const TUI_ICON_START: InjectionToken<string>;
|
|
3
|
+
export declare const TUI_ICON_END: InjectionToken<string>;
|
package/tokens/icons.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { FactoryProvider } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
export declare const TUI_ICON_REGISTRY: InjectionToken<Record<string, string>>;
|
|
3
4
|
/**
|
|
4
5
|
* @deprecated: use {@link TUI_ICON_REGISTRY}
|
|
5
6
|
*/
|
|
6
|
-
export declare const TUI_ICON_STARTS:
|
|
7
|
+
export declare const TUI_ICON_STARTS: InjectionToken<Record<string, string>>;
|
|
7
8
|
export declare function tuiIconsProvider(icons: Record<string, string>): FactoryProvider;
|
package/tokens/media.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
export interface TuiMedia {
|
|
2
3
|
readonly desktopLarge: number;
|
|
3
4
|
readonly desktopSmall: number;
|
|
@@ -7,4 +8,4 @@ export interface TuiMedia {
|
|
|
7
8
|
/**
|
|
8
9
|
* Token for media constant
|
|
9
10
|
*/
|
|
10
|
-
export declare const TUI_MEDIA:
|
|
11
|
+
export declare const TUI_MEDIA: InjectionToken<TuiMedia>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiRounding } from '@taiga-ui/cdk/types';
|
|
3
4
|
import type { Observable } from 'rxjs';
|
|
4
5
|
export type TuiDecimalMode = 'always' | 'not-zero' | 'pad';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const TUI_REDUCED_MOTION: InjectionToken<boolean>;
|
package/tokens/scroll-ref.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
export declare const TUI_SCROLL_REF:
|
|
1
|
+
import { ElementRef, InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const TUI_SCROLL_REF: InjectionToken<ElementRef<HTMLElement>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import type { Observable } from 'rxjs';
|
|
2
3
|
/**
|
|
3
4
|
* A stream of possible selection changes
|
|
4
5
|
*/
|
|
5
|
-
export declare const TUI_SELECTION_STREAM:
|
|
6
|
+
export declare const TUI_SELECTION_STREAM: InjectionToken<Observable<unknown>>;
|
package/tokens/spin-icons.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
export interface TuiSpinIcons {
|
|
2
3
|
readonly decrement: string;
|
|
3
4
|
readonly increment: string;
|
|
4
5
|
}
|
|
5
|
-
export declare const TUI_SPIN_ICONS:
|
|
6
|
+
export declare const TUI_SPIN_ICONS: InjectionToken<TuiSpinIcons>;
|
package/tokens/theme.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const TUI_THEME: InjectionToken<string>;
|
package/tokens/viewport.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Provider, Type } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import type { TuiRectAccessor } from '@taiga-ui/core/classes';
|
|
3
4
|
/**
|
|
4
5
|
* Viewport accessor
|
|
5
6
|
*/
|
|
6
|
-
export declare const TUI_VIEWPORT:
|
|
7
|
+
export declare const TUI_VIEWPORT: InjectionToken<TuiRectAccessor>;
|
|
7
8
|
export declare function tuiAsViewport(accessor: Type<TuiRectAccessor>): Provider;
|