@taiga-ui/core 3.54.0 → 3.55.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-button.umd.js +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +3 -3
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +10 -10
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +0 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +6 -6
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +0 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +92 -93
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/constants/cache-basting-payload.d.ts +1 -1
- package/enums/interactive-state.d.ts +1 -0
- package/esm2015/components/button/button.component.js +1 -1
- package/esm2015/components/data-list/option/option.component.js +1 -1
- package/esm2015/components/dialog/dialog.component.js +4 -4
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +2 -2
- package/esm2015/components/link/link.component.js +1 -1
- package/esm2015/components/notification/notification.component.js +1 -1
- package/esm2015/components/root/root.component.js +1 -1
- package/esm2015/components/scroll-controls/scrollbar.directive.js +7 -7
- package/esm2015/directives/hint/hint-position.directive.js +1 -2
- package/esm2015/directives/hint/hint.directive.js +1 -2
- package/esm2015/directives/hint/hint.providers.js +1 -2
- package/esm2015/enums/interactive-state.js +1 -1
- package/esm2015/pipes/order-week-days/order-week-days.pipe.js +8 -8
- package/esm2015/tokens/common-icon.js +1 -1
- package/esm2015/tokens/ordered-short-week-days.js +1 -1
- package/esm2015/utils/dom/get-word-range.js +1 -2
- package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +43 -43
- package/esm2015/utils/mask/create-number-mask.js +45 -46
- package/fesm2015/taiga-ui-core-components-button.js +1 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +4 -4
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +1 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +6 -6
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +0 -1
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-enums.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +0 -1
- package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +86 -87
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/package.json +4 -4
- package/styles/mixins/appearance.less +50 -0
- package/styles/mixins/appearance.scss +50 -0
- package/styles/mixins/mixins.less +1 -0
- package/styles/taiga-ui-local.less +1 -0
- package/styles/taiga-ui-local.scss +1 -0
- package/styles/taiga-ui-theme.less +1 -0
- package/styles/theme/appearance/accent.less +14 -0
- package/styles/theme/appearance/base.less +18 -0
- package/styles/theme/appearance/floating.less +16 -0
- package/styles/theme/appearance/glass.less +30 -0
- package/styles/theme/appearance/icon.less +13 -0
- package/styles/theme/appearance/opposite.less +31 -0
- package/styles/theme/appearance/outline.less +29 -0
- package/styles/theme/appearance/primary.less +14 -0
- package/styles/theme/appearance/secondary.less +24 -0
- package/styles/theme/appearance/status.less +66 -0
- package/styles/theme/appearance.less +10 -0
- package/styles/theme/variables.less +51 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import '../../taiga-ui-local.less';
|
|
2
|
+
|
|
3
|
+
[tuiAppearance][data-appearance='secondary'],
|
|
4
|
+
[tuiAppearance][data-appearance='flat'],
|
|
5
|
+
[tuiAppearance][data-appearance='destructive'] {
|
|
6
|
+
background: var(--tui-secondary);
|
|
7
|
+
color: var(--tui-link);
|
|
8
|
+
|
|
9
|
+
.appearance-hover({
|
|
10
|
+
background: var(--tui-secondary-hover);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
.appearance-active({
|
|
14
|
+
background: var(--tui-secondary-active);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[tuiAppearance][data-appearance='flat'] {
|
|
19
|
+
background: transparent;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[tuiAppearance][data-appearance='destructive'] {
|
|
23
|
+
color: var(--tui-negative);
|
|
24
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@import '../../taiga-ui-local.less';
|
|
2
|
+
|
|
3
|
+
[tuiAppearance][data-appearance='error'] {
|
|
4
|
+
color: var(--tui-text-01);
|
|
5
|
+
background: var(--tui-error-bg);
|
|
6
|
+
|
|
7
|
+
.appearance-hover({
|
|
8
|
+
background: var(--tui-error-bg-hover);
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
.appearance-active({
|
|
12
|
+
background: var(--tui-error-bg-hover);
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[tuiAppearance][data-appearance='success'] {
|
|
17
|
+
color: var(--tui-text-01);
|
|
18
|
+
background: var(--tui-success-bg);
|
|
19
|
+
|
|
20
|
+
.appearance-hover({
|
|
21
|
+
background: var(--tui-success-bg-hover);
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
.appearance-active({
|
|
25
|
+
background: var(--tui-success-bg-hover);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[tuiAppearance][data-appearance='warning'] {
|
|
30
|
+
color: var(--tui-text-01);
|
|
31
|
+
background: var(--tui-warning-bg);
|
|
32
|
+
|
|
33
|
+
.appearance-hover({
|
|
34
|
+
background: var(--tui-warning-bg-hover);
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
.appearance-active({
|
|
38
|
+
background: var(--tui-warning-bg-hover);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[tuiAppearance][data-appearance='info'] {
|
|
43
|
+
color: var(--tui-text-01);
|
|
44
|
+
background: var(--tui-info-bg);
|
|
45
|
+
|
|
46
|
+
.appearance-hover({
|
|
47
|
+
background: var(--tui-info-bg-hover);
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
.appearance-active({
|
|
51
|
+
background: var(--tui-info-bg-hover);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[tuiAppearance][data-appearance='neutral'] {
|
|
56
|
+
color: var(--tui-text-01);
|
|
57
|
+
background: var(--tui-neutral-bg);
|
|
58
|
+
|
|
59
|
+
.appearance-hover({
|
|
60
|
+
background: var(--tui-neutral-bg-hover);
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
.appearance-active({
|
|
64
|
+
background: var(--tui-neutral-bg-hover);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
@import 'appearance/base.less';
|
|
2
|
+
@import 'appearance/accent.less';
|
|
3
|
+
@import 'appearance/floating.less';
|
|
4
|
+
@import 'appearance/glass.less';
|
|
5
|
+
@import 'appearance/icon.less';
|
|
6
|
+
@import 'appearance/opposite.less';
|
|
7
|
+
@import 'appearance/outline.less';
|
|
8
|
+
@import 'appearance/primary.less';
|
|
9
|
+
@import 'appearance/secondary.less';
|
|
10
|
+
@import 'appearance/status.less';
|
|
@@ -155,3 +155,54 @@
|
|
|
155
155
|
--tui-chart-3: var(--tui-support-11);
|
|
156
156
|
--tui-chart-4: var(--tui-base-05);
|
|
157
157
|
}
|
|
158
|
+
|
|
159
|
+
[tuiTheme='night'] {
|
|
160
|
+
--tui-base-01: #222;
|
|
161
|
+
--tui-base-02: #333;
|
|
162
|
+
--tui-base-03: #808080;
|
|
163
|
+
--tui-base-04: #959595;
|
|
164
|
+
--tui-base-05: #b0b0b0;
|
|
165
|
+
--tui-base-06: #d7d7d7;
|
|
166
|
+
--tui-base-07: #ededed;
|
|
167
|
+
--tui-base-08: #f6f6f6;
|
|
168
|
+
--tui-base-09: #fff;
|
|
169
|
+
--tui-focus: rgba(51, 51, 51, 0.64);
|
|
170
|
+
--tui-secondary: rgba(255, 255, 255, 0.16);
|
|
171
|
+
--tui-secondary-hover: rgba(255, 255, 255, 0.24);
|
|
172
|
+
--tui-secondary-active: rgba(255, 255, 255, 0.4);
|
|
173
|
+
--tui-clear: rgba(255, 255, 255, 0.16);
|
|
174
|
+
--tui-clear-disabled: rgba(255, 255, 255, 0.08);
|
|
175
|
+
--tui-clear-hover: rgba(255, 255, 255, 0.24);
|
|
176
|
+
--tui-clear-active: rgba(255, 255, 255, 0.4);
|
|
177
|
+
--tui-error-fill: rgba(255, 140, 103, 1);
|
|
178
|
+
--tui-error-bg: rgba(244, 87, 37, 0.32);
|
|
179
|
+
--tui-error-bg-hover: rgba(244, 87, 37, 0.4);
|
|
180
|
+
--tui-success-fill: rgb(74, 201, 155);
|
|
181
|
+
--tui-success-bg: rgba(74, 201, 155, 0.32);
|
|
182
|
+
--tui-success-bg-hover: rgba(74, 201, 155, 0.4);
|
|
183
|
+
--tui-warning-fill: rgb(255, 199, 0);
|
|
184
|
+
--tui-warning-bg: rgba(255, 199, 0, 0.32);
|
|
185
|
+
--tui-warning-bg-hover: rgba(255, 199, 0, 0.4);
|
|
186
|
+
--tui-info-fill: rgb(112, 182, 246);
|
|
187
|
+
--tui-info-bg: rgba(112, 182, 246, 0.32);
|
|
188
|
+
--tui-info-bg-hover: rgba(112, 182, 246, 0.4);
|
|
189
|
+
--tui-neutral-fill: rgb(149, 155, 164);
|
|
190
|
+
--tui-neutral-bg: rgba(149, 155, 164, 0.32);
|
|
191
|
+
--tui-neutral-bg-hover: rgba(149, 155, 164, 0.48);
|
|
192
|
+
--tui-text-01: rgba(255, 255, 255, 1);
|
|
193
|
+
--tui-text-02: rgba(255, 255, 255, 0.72);
|
|
194
|
+
--tui-text-03: rgba(255, 255, 255, 0.6);
|
|
195
|
+
--tui-link: #6788ff;
|
|
196
|
+
--tui-link-hover: #526ed3;
|
|
197
|
+
--tui-positive: #44c596;
|
|
198
|
+
--tui-positive-hover: #3aa981;
|
|
199
|
+
--tui-negative: #ff8c67;
|
|
200
|
+
--tui-negative-hover: #bb593a;
|
|
201
|
+
--tui-autofill: var(--tui-autofill-night);
|
|
202
|
+
--tui-elevation-01: #222;
|
|
203
|
+
--tui-elevation-02: #222;
|
|
204
|
+
|
|
205
|
+
tui-notification {
|
|
206
|
+
--tui-base-01: #000;
|
|
207
|
+
}
|
|
208
|
+
}
|