@taiga-ui/core 4.20.0 → 4.21.0-canary.07e335a
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/dialog/dialog.factory.d.ts +1 -1
- package/directives/hint/hint.component.d.ts +0 -1
- package/esm2022/components/dialog/dialog.factory.mjs +1 -1
- package/esm2022/components/root/root.component.mjs +2 -2
- package/esm2022/directives/appearance/appearance.directive.mjs +2 -2
- package/esm2022/directives/hint/hint-position.directive.mjs +6 -6
- package/esm2022/directives/hint/hint.component.mjs +4 -8
- package/esm2022/directives/surface/surface.directive.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-dialog.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-directives-appearance.mjs +2 -2
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-hint.mjs +10 -14
- package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-surface.mjs +2 -2
- package/fesm2022/taiga-ui-core-directives-surface.mjs.map +1 -1
- package/package.json +4 -4
- package/styles/components/appearance.less +1 -1
- package/styles/mixins/mixins.less +3 -3
- package/styles/mixins/mixins.scss +3 -3
- package/styles/theme/appearance/table.less +66 -0
- package/styles/theme/appearance/textfield.less +1 -1
- package/styles/theme/appearance.less +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.21.0-canary.07e335a",
|
|
4
4
|
"description": "Core library for creating Angular components and applications using Taiga UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -317,10 +317,10 @@
|
|
|
317
317
|
"@angular/router": ">=16.0.0",
|
|
318
318
|
"@ng-web-apis/common": "^4.11.1",
|
|
319
319
|
"@ng-web-apis/mutation-observer": "^4.11.1",
|
|
320
|
-
"@taiga-ui/cdk": "^4.
|
|
320
|
+
"@taiga-ui/cdk": "^4.21.0",
|
|
321
321
|
"@taiga-ui/event-plugins": "^4.3.1",
|
|
322
|
-
"@taiga-ui/i18n": "^4.
|
|
323
|
-
"@taiga-ui/polymorpheus": "^4.
|
|
322
|
+
"@taiga-ui/i18n": "^4.21.0",
|
|
323
|
+
"@taiga-ui/polymorpheus": "^4.8.0",
|
|
324
324
|
"rxjs": ">=7.0.0"
|
|
325
325
|
},
|
|
326
326
|
"schematics": "./schematics/collection.json",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
appearance: none;
|
|
27
27
|
outline: 0.125rem solid transparent;
|
|
28
28
|
outline-offset: -0.125rem;
|
|
29
|
-
transition-property: color, background, opacity, box-shadow, border, border-radius;
|
|
29
|
+
transition-property: color, background-color, opacity, box-shadow, border, border-radius;
|
|
30
30
|
|
|
31
31
|
&.tui-appearance-initializing {
|
|
32
32
|
transition: none !important;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@import 'browsers.less';
|
|
2
2
|
|
|
3
3
|
.interactive(@ruleset) {
|
|
4
|
-
// TODO
|
|
5
|
-
|
|
4
|
+
// TODO remove after dropping Safari 13 support
|
|
5
|
+
&:matches(a, button, select, textarea, input, label) {
|
|
6
6
|
@ruleset();
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
&:is(a, button, select, textarea, input, label) {
|
|
10
10
|
@ruleset();
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@import 'browsers.scss';
|
|
2
2
|
|
|
3
3
|
@mixin interactive {
|
|
4
|
-
// TODO
|
|
5
|
-
|
|
4
|
+
// TODO remove after dropping Safari 13 support
|
|
5
|
+
&:matches(a, button, select, textarea, input) {
|
|
6
6
|
@content;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
&:is(a, button, select, textarea, input) {
|
|
10
10
|
@content;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
TODO: remove :not([tuiWrapper]) after legacy controls deletion
|
|
5
|
+
*/
|
|
6
|
+
[tuiAppearance][data-appearance='table']:not([tuiWrapper]) {
|
|
7
|
+
content: '';
|
|
8
|
+
position: fixed;
|
|
9
|
+
/* TODO: Use inset: -0.0625rem after Safari 14+ support */
|
|
10
|
+
top: -0.0625rem;
|
|
11
|
+
bottom: -0.0625rem;
|
|
12
|
+
left: -0.0625rem;
|
|
13
|
+
right: -0.0625rem;
|
|
14
|
+
inline-size: auto;
|
|
15
|
+
block-size: auto;
|
|
16
|
+
border-radius: 0;
|
|
17
|
+
background: transparent;
|
|
18
|
+
border: none;
|
|
19
|
+
outline: none;
|
|
20
|
+
padding-bottom: calc(var(--t-row-height) - var(--t-height));
|
|
21
|
+
|
|
22
|
+
&:not(._empty) {
|
|
23
|
+
color: var(--tui-text-primary);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.appearance-hover({
|
|
27
|
+
&[data-focus='false'] {
|
|
28
|
+
background-color: var(--tui-background-neutral-1);
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
.appearance-focus({
|
|
33
|
+
outline-offset: -0.125rem;
|
|
34
|
+
outline: 0.125rem solid var(--tui-border-focus);
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
&:invalid,
|
|
38
|
+
&[data-mode~='invalid'] {
|
|
39
|
+
background-origin: border-box;
|
|
40
|
+
background-position: top right;
|
|
41
|
+
background-repeat: no-repeat;
|
|
42
|
+
background-image: linear-gradient(to top right, transparent 0% 50%, var(--tui-status-negative) 50% 100%);
|
|
43
|
+
background-size: 0.5rem 0.5rem;
|
|
44
|
+
|
|
45
|
+
&[data-focus='false'] {
|
|
46
|
+
background-color: var(--tui-status-negative-pale);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.appearance-hover({
|
|
50
|
+
&[data-focus='false'] {
|
|
51
|
+
background-color: var(--tui-status-negative-pale-hover);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
.appearance-disabled({
|
|
56
|
+
background: transparent;
|
|
57
|
+
outline: none;
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
.appearance-focus({
|
|
61
|
+
background-color: transparent;
|
|
62
|
+
outline-offset: -0.0625rem;
|
|
63
|
+
outline: 0.0625rem solid var(--tui-status-negative);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
2
|
|
|
3
3
|
[tuiAppearance][data-appearance='textfield'] {
|
|
4
|
-
.transition(~'box-shadow, background, outline-color, border-color');
|
|
4
|
+
.transition(~'box-shadow, background-color, outline-color, border-color');
|
|
5
5
|
|
|
6
6
|
--t-shadow: 0 0.125rem 0.1875rem rgba(0, 0, 0, 0.1);
|
|
7
7
|
|