@taiga-ui/core 4.52.0-canary.ca43bcb → 4.52.0-canary.e07790b
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/classes/accessors.d.ts +1 -1
- package/components/calendar/calendar-sheet.component.d.ts +1 -1
- package/components/calendar/calendar-sheet.pipe.d.ts +1 -1
- package/components/calendar/calendar.options.d.ts +9 -0
- package/components/calendar/index.d.ts +1 -0
- package/components/calendar/order-week-days.pipe.d.ts +1 -1
- package/components/data-list/data-list.d.ts +2 -1
- package/components/data-list/data-list.tokens.d.ts +0 -18
- package/components/data-list/index.d.ts +3 -2
- package/components/data-list/option-with-value.directive.d.ts +9 -0
- package/components/data-list/{option/option.directive.d.ts → option.directive.d.ts} +3 -10
- package/components/icon/icon.component.d.ts +2 -2
- package/components/input/input.d.ts +4 -1
- package/components/label/label.directive.d.ts +1 -1
- package/components/link/index.d.ts +0 -1
- package/components/link/link.directive.d.ts +8 -6
- package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
- package/components/scrollbar/scrollbar.component.d.ts +1 -5
- package/components/spin-button/spin-button.component.d.ts +1 -1
- package/components/textfield/textfield-multi/textfield-multi.component.d.ts +2 -2
- package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
- package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
- package/fesm2022/taiga-ui-core-classes.mjs +3 -3
- package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-button.mjs +7 -7
- package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-calendar.mjs +36 -30
- package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-cell.mjs +7 -7
- package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-data-list.mjs +84 -93
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-error.mjs +9 -9
- package/fesm2022/taiga-ui-core-components-expand.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-icon.mjs +8 -8
- package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-input.mjs +17 -8
- package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-label.mjs +10 -12
- package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-link.mjs +13 -24
- package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-loader.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-notification.mjs +19 -21
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +4 -4
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +42 -47
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-spin-button.mjs +5 -5
- package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +35 -33
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-title.mjs +6 -6
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +10 -10
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-date-format.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-group.mjs +7 -7
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-icons.mjs +9 -9
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +15 -36
- package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-number-format.mjs +3 -3
- package/fesm2022/taiga-ui-core-pipes-format-number.mjs +3 -3
- package/fesm2022/taiga-ui-core-portals-alert.mjs +10 -10
- package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-dialog.mjs +12 -12
- package/fesm2022/taiga-ui-core-portals-dropdown.mjs +54 -54
- package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-hint.mjs +54 -54
- package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-modal.mjs +8 -8
- package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-popup.mjs +9 -9
- package/fesm2022/taiga-ui-core-services.mjs +15 -34
- package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +4 -28
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +13 -4
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
- package/fesm2022/taiga-ui-core.mjs +0 -1
- package/fesm2022/taiga-ui-core.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/package.json +57 -62
- package/portals/hint/hint-position.directive.d.ts +3 -3
- package/portals/hint/hint.directive.d.ts +1 -1
- package/services/index.d.ts +0 -1
- package/styles/components/appearance.less +5 -0
- package/styles/components/button.less +1 -1
- package/styles/components/link.less +8 -23
- package/styles/components/notification.less +4 -4
- package/styles/components/textfield.less +32 -64
- package/styles/mixins/appearance.less +9 -25
- package/styles/mixins/appearance.scss +8 -24
- package/styles/taiga-ui-local.less +0 -1
- package/styles/taiga-ui-local.scss +0 -1
- package/styles/taiga-ui-theme.less +0 -1
- package/styles/theme/appearance/outline.less +9 -18
- package/styles/theme/appearance/primary.less +2 -4
- package/styles/theme/appearance/secondary.less +6 -14
- package/styles/theme/appearance/status.less +0 -4
- package/styles/theme/appearance/table.less +38 -31
- package/styles/theme/appearance.less +0 -1
- package/tokens/common-icons.d.ts +2 -0
- package/tokens/index.d.ts +0 -4
- package/types/point.d.ts +1 -1
- package/utils/miscellaneous/font-scaling.d.ts +2 -1
- package/animations/animations.d.ts +0 -109
- package/animations/index.d.ts +0 -1
- package/components/link/link.options.d.ts +0 -10
- package/fesm2022/taiga-ui-core-animations.mjs +0 -370
- package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
- package/services/dark-theme.service.d.ts +0 -10
- package/styles/mixins/wrapper.less +0 -64
- package/styles/mixins/wrapper.scss +0 -61
- package/styles/theme/appearance/opposite.less +0 -17
- package/styles/theme/wrapper.less +0 -211
- package/tokens/day-type-handler.d.ts +0 -7
- package/tokens/first-day-of-week.d.ts +0 -5
- package/tokens/scroll-ref.d.ts +0 -2
- package/tokens/spin-icons.d.ts +0 -6
- /package/components/data-list/{option/option-content.d.ts → option-content.directive.d.ts} +0 -0
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* TODO: Drop in v.5
|
|
5
|
-
* @deprecated use appearance instead
|
|
6
|
-
*/
|
|
7
|
-
[tuiWrapper] {
|
|
8
|
-
.transition(~'color, background, opacity');
|
|
9
|
-
|
|
10
|
-
position: relative;
|
|
11
|
-
display: block;
|
|
12
|
-
block-size: 100%;
|
|
13
|
-
inline-size: 100%;
|
|
14
|
-
appearance: none;
|
|
15
|
-
border-radius: inherit;
|
|
16
|
-
|
|
17
|
-
.wrapper-disabled({
|
|
18
|
-
pointer-events: none;
|
|
19
|
-
opacity: var(--tui-disabled-opacity);
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
[tuiWrapper][data-appearance='textfield'] {
|
|
24
|
-
.transition(~'box-shadow, background');
|
|
25
|
-
|
|
26
|
-
background: var(--tui-background-base);
|
|
27
|
-
color: var(--tui-text-primary);
|
|
28
|
-
outline: none !important;
|
|
29
|
-
box-shadow: 0 0.125rem 0.1875rem rgba(0, 0, 0, 0.1);
|
|
30
|
-
|
|
31
|
-
&::after {
|
|
32
|
-
.transition(color);
|
|
33
|
-
.fullsize(absolute, inset);
|
|
34
|
-
|
|
35
|
-
content: '';
|
|
36
|
-
border-radius: inherit;
|
|
37
|
-
border: 1px solid currentColor;
|
|
38
|
-
pointer-events: none;
|
|
39
|
-
color: var(--tui-border-normal);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.wrapper-hover({
|
|
43
|
-
box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.16);
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
.wrapper-focus({
|
|
47
|
-
box-shadow: none;
|
|
48
|
-
|
|
49
|
-
&:after {
|
|
50
|
-
border-width: 2px;
|
|
51
|
-
color: var(--tui-background-accent-1);
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
.wrapper-readonly({
|
|
56
|
-
box-shadow: none;
|
|
57
|
-
background: transparent;
|
|
58
|
-
|
|
59
|
-
&:after {
|
|
60
|
-
color: var(--tui-border-normal);
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
.wrapper-disabled({
|
|
65
|
-
box-shadow: none;
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
.wrapper-invalid({
|
|
69
|
-
&:after {
|
|
70
|
-
color: var(--tui-text-negative);
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
[tuiTheme='dark'][tuiWrapper][data-appearance='textfield'],
|
|
76
|
-
[tuiTheme='dark'] [tuiWrapper][data-appearance='textfield'] {
|
|
77
|
-
background: var(--tui-background-neutral-1);
|
|
78
|
-
|
|
79
|
-
.wrapper-hover({
|
|
80
|
-
background: var(--tui-background-neutral-1-hover);
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
.wrapper-focus({
|
|
84
|
-
background: transparent;
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/* stylelint-disable order/order */
|
|
89
|
-
[tuiWrapper][data-appearance='table'] {
|
|
90
|
-
border-radius: 0;
|
|
91
|
-
background: transparent;
|
|
92
|
-
color: var(--tui-text-primary);
|
|
93
|
-
outline: none !important;
|
|
94
|
-
|
|
95
|
-
/* stylelint-disable meowtec/no-px */
|
|
96
|
-
&::before,
|
|
97
|
-
&[data-appearance='table']::after {
|
|
98
|
-
content: '';
|
|
99
|
-
position: fixed;
|
|
100
|
-
top: -0.03125rem;
|
|
101
|
-
left: -1px;
|
|
102
|
-
right: -0.03125rem;
|
|
103
|
-
bottom: -1px;
|
|
104
|
-
}
|
|
105
|
-
/* stylelint-enable meowtec/no-px */
|
|
106
|
-
|
|
107
|
-
&::before {
|
|
108
|
-
.transition(background);
|
|
109
|
-
|
|
110
|
-
z-index: -1;
|
|
111
|
-
background-repeat: no-repeat;
|
|
112
|
-
background-position: top right;
|
|
113
|
-
background-size: 0.5rem 0.5rem;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&[data-appearance='table']::after {
|
|
117
|
-
border: 1px solid currentColor;
|
|
118
|
-
border-radius: inherit;
|
|
119
|
-
pointer-events: none;
|
|
120
|
-
color: var(--tui-border-normal);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.wrapper-hover({
|
|
124
|
-
&:not(._focused):before {
|
|
125
|
-
background-color: var(--tui-background-neutral-1);
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
.wrapper-focus({
|
|
130
|
-
background: transparent;
|
|
131
|
-
|
|
132
|
-
&:after {
|
|
133
|
-
border-width: 2px;
|
|
134
|
-
color: var(--tui-border-focus);
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
|
|
138
|
-
.wrapper-invalid({
|
|
139
|
-
&:before {
|
|
140
|
-
background-image: linear-gradient(to top right, transparent 0%, transparent 50%, var(--tui-status-negative) 50%, var(--tui-status-negative) 100%);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&:not(._focused):before {
|
|
144
|
-
background-color: var(--tui-status-negative-pale);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.wrapper-hover({
|
|
148
|
-
&:not(._focused):before {
|
|
149
|
-
background-color: var(--tui-status-negative-pale-hover);
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
|
|
153
|
-
.wrapper-disabled({
|
|
154
|
-
background: transparent;
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
.wrapper-focus({
|
|
158
|
-
background: transparent;
|
|
159
|
-
|
|
160
|
-
--tui-border-focus: var(--tui-status-negative);
|
|
161
|
-
|
|
162
|
-
&:after {
|
|
163
|
-
border-width: 1px;
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
table [tuiWrapper][data-appearance='table'] {
|
|
170
|
-
&[data-appearance='table']:not(._focused)::after {
|
|
171
|
-
border-width: 0;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&._focused {
|
|
175
|
-
z-index: 1;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
[tuiWrapper][data-appearance='icon'] {
|
|
180
|
-
color: var(--tui-text-tertiary);
|
|
181
|
-
|
|
182
|
-
[tuiWrapper]:not([data-state='readonly']):hover .t-textfield-icon &:not([data-state='disabled']) {
|
|
183
|
-
color: var(--tui-text-secondary);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.wrapper-hover({
|
|
187
|
-
color: var(--tui-text-secondary);
|
|
188
|
-
});
|
|
189
|
-
|
|
190
|
-
.wrapper-active({
|
|
191
|
-
color: var(--tui-text-primary);
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
tui-primitive-textfield:hover:not(._disabled) [tuiAppearance][data-appearance='icon'],
|
|
196
|
-
tui-textarea:hover:not(._disabled) [tuiAppearance][data-appearance='icon'],
|
|
197
|
-
tui-input-tag:hover:not(._disabled) [tuiAppearance][data-appearance='icon'] {
|
|
198
|
-
color: var(--tui-text-secondary);
|
|
199
|
-
|
|
200
|
-
.wrapper-active({
|
|
201
|
-
color: var(--tui-text-primary);
|
|
202
|
-
});
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
[tuiWrapper][data-appearance='none'] {
|
|
206
|
-
outline: none;
|
|
207
|
-
|
|
208
|
-
&::after {
|
|
209
|
-
border: none;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { type TuiDay } from '@taiga-ui/cdk/date-time';
|
|
3
|
-
import { type TuiHandler } from '@taiga-ui/cdk/types';
|
|
4
|
-
/**
|
|
5
|
-
* Token for adding data-type attribute to calendar cell
|
|
6
|
-
*/
|
|
7
|
-
export declare const TUI_DAY_TYPE_HANDLER: InjectionToken<TuiHandler<TuiDay, string>>;
|
package/tokens/scroll-ref.d.ts
DELETED
package/tokens/spin-icons.d.ts
DELETED
|
File without changes
|