@taiga-ui/core 3.55.0 → 3.56.0
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/bundles/taiga-ui-core-components-alert.umd.js +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +22 -6
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +7 -7
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/components/calendar/calendar.component.d.ts +6 -4
- package/components/hosted-dropdown/hosted-dropdown.component.d.ts +5 -4
- package/constants/cache-basting-payload.d.ts +1 -1
- package/esm2015/components/alert/alert.component.js +2 -2
- package/esm2015/components/calendar/calendar.component.js +15 -7
- package/esm2015/components/dialog/dialog.component.js +2 -2
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +8 -8
- package/esm2015/components/root/root.component.js +1 -1
- package/esm2015/components/theme-night/theme-night.component.js +1 -1
- package/esm2015/directives/dropdown/dropdown.component.js +2 -2
- package/esm2015/types/calendar-view.js +2 -0
- package/esm2015/types/index.js +2 -1
- package/fesm2015/taiga-ui-core-components-alert.js +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js +14 -6
- package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +7 -7
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/package.json +8 -8
- package/styles/mixins/appearance.less +3 -12
- package/styles/mixins/appearance.scss +3 -12
- package/styles/mixins/mixins.less +48 -11
- package/styles/mixins/mixins.scss +40 -0
- package/styles/mixins/slider.less +1 -1
- package/styles/theme/appearance/icon.less +25 -0
- package/styles/theme/appearance/outline.less +6 -1
- package/styles/theme/variables.less +17 -0
- package/types/calendar-view.d.ts +1 -0
- package/types/index.d.ts +1 -0
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
@mixin interactive {
|
|
2
|
+
// TODO switch to :is after Safari 14 and FF 78 support
|
|
3
|
+
&:-webkit-any(a, button, select, textarea, input) {
|
|
4
|
+
@content;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
&:-moz-any(a, button, select, textarea, input) {
|
|
8
|
+
@content;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
1
12
|
// centering with translate
|
|
2
13
|
@mixin center-left() {
|
|
3
14
|
position: absolute;
|
|
@@ -53,6 +64,35 @@
|
|
|
53
64
|
line-height: inherit;
|
|
54
65
|
}
|
|
55
66
|
|
|
67
|
+
@mixin button-base() {
|
|
68
|
+
@include clearbtn();
|
|
69
|
+
|
|
70
|
+
position: relative;
|
|
71
|
+
display: inline-flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
flex-shrink: 0;
|
|
74
|
+
box-sizing: border-box;
|
|
75
|
+
white-space: nowrap;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
vertical-align: middle;
|
|
78
|
+
max-width: 100%;
|
|
79
|
+
gap: calc(var(--t-gap) - 2 * var(--t-margin));
|
|
80
|
+
|
|
81
|
+
> img,
|
|
82
|
+
> tui-svg,
|
|
83
|
+
> tui-icon,
|
|
84
|
+
> tui-avatar,
|
|
85
|
+
> tui-badge,
|
|
86
|
+
> [tuiBadge],
|
|
87
|
+
> [tuiRadio],
|
|
88
|
+
> [tuiToggle],
|
|
89
|
+
> [tuiCheckbox],
|
|
90
|
+
&._icon-left:before,
|
|
91
|
+
&._icon-right:after {
|
|
92
|
+
margin: var(--t-margin);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
56
96
|
@mixin autofill($mode: default) {
|
|
57
97
|
&:-webkit-autofill,
|
|
58
98
|
&:-webkit-autofill:hover,
|
|
@@ -11,3 +11,28 @@
|
|
|
11
11
|
color: var(--tui-text-01);
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
+
|
|
15
|
+
// Icons with the directive
|
|
16
|
+
[tuiAppearance][data-appearance='whiteblock'],
|
|
17
|
+
[tuiAppearance][data-appearance='neutral'],
|
|
18
|
+
[tuiAppearance][data-appearance='floating'] {
|
|
19
|
+
&:before,
|
|
20
|
+
&:after {
|
|
21
|
+
.transition(color);
|
|
22
|
+
color: var(--tui-text-03);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.appearance-hover({
|
|
26
|
+
&:before,
|
|
27
|
+
&:after {
|
|
28
|
+
color: var(--tui-text-02);
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
.appearance-active({
|
|
33
|
+
&:before,
|
|
34
|
+
&:after {
|
|
35
|
+
color: var(--tui-text-01);
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@import '../../taiga-ui-local.less';
|
|
2
2
|
|
|
3
|
-
[tuiAppearance][data-appearance='outline']
|
|
3
|
+
[tuiAppearance][data-appearance='outline'],
|
|
4
|
+
[tuiAppearance][data-appearance='whiteblock'] {
|
|
4
5
|
background: transparent;
|
|
5
6
|
color: var(--tui-link);
|
|
6
7
|
box-shadow: inset 0 0 0 1px var(--tui-base-04);
|
|
@@ -27,3 +28,7 @@
|
|
|
27
28
|
});
|
|
28
29
|
}
|
|
29
30
|
}
|
|
31
|
+
|
|
32
|
+
[tuiAppearance][data-appearance='whiteblock'] {
|
|
33
|
+
color: var(--tui-text-01);
|
|
34
|
+
}
|
|
@@ -154,6 +154,15 @@
|
|
|
154
154
|
--tui-chart-2: var(--tui-support-21);
|
|
155
155
|
--tui-chart-3: var(--tui-support-11);
|
|
156
156
|
--tui-chart-4: var(--tui-base-05);
|
|
157
|
+
//
|
|
158
|
+
--tui-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.12);
|
|
159
|
+
--tui-shadow-hover: 0 0.75rem 2.25rem rgba(0, 0, 0, 0.2);
|
|
160
|
+
--tui-shadow-dropdown: 0 1.5rem 1rem rgba(0, 0, 0, 0.03), 0 0.75rem 0.75rem rgba(0, 0, 0, 0.04),
|
|
161
|
+
0 0.25rem 0.375rem rgba(0, 0, 0, 0.05);
|
|
162
|
+
--tui-shadow-modal: 0 1.125rem 1.875rem rgba(0, 0, 0, 0.48);
|
|
163
|
+
--tui-shadow-sidebar: 0.25rem 0 1.5rem rgba(0, 0, 0, 0.12);
|
|
164
|
+
--tui-shadow-navigation: 0 0.125rem 1rem rgba(0, 0, 0, 0.08);
|
|
165
|
+
--tui-shadow-sheet: 0 -1rem 1.75rem rgba(0, 0, 0, 0.24);
|
|
157
166
|
}
|
|
158
167
|
|
|
159
168
|
[tuiTheme='night'] {
|
|
@@ -201,6 +210,14 @@
|
|
|
201
210
|
--tui-autofill: var(--tui-autofill-night);
|
|
202
211
|
--tui-elevation-01: #222;
|
|
203
212
|
--tui-elevation-02: #222;
|
|
213
|
+
--tui-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.12);
|
|
214
|
+
--tui-shadow-hover: 0 0.75rem 2.25rem rgba(0, 0, 0, 0.2);
|
|
215
|
+
--tui-shadow-dropdown: 0 1.5rem 1rem rgba(0, 0, 0, 0.03), 0 0.75rem 0.75rem rgba(0, 0, 0, 0.04),
|
|
216
|
+
0 0.25rem 0.375rem rgba(0, 0, 0, 0.05);
|
|
217
|
+
--tui-shadow-modal: 0 1.125rem 1.875rem rgba(0, 0, 0, 0.48);
|
|
218
|
+
--tui-shadow-sidebar: 0.25rem 0 1.5rem rgba(0, 0, 0, 0.12);
|
|
219
|
+
--tui-shadow-navigation: 0 0.125rem 1rem rgba(0, 0, 0, 0.08);
|
|
220
|
+
--tui-shadow-sheet: 0 -1rem 1.75rem rgba(0, 0, 0, 0.24);
|
|
204
221
|
|
|
205
222
|
tui-notification {
|
|
206
223
|
--tui-base-01: #000;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type TuiCalendarView = 'month' | 'year';
|