@taiga-ui/core 4.101.0 → 4.103.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/components/button/button.directive.d.ts +1 -1
- package/components/root/root.component.d.ts +1 -0
- package/esm2022/components/button/button.directive.mjs +2 -2
- package/esm2022/components/data-list/data-list.component.mjs +3 -3
- package/esm2022/components/icon/icon.component.mjs +2 -2
- package/esm2022/components/label/label.directive.mjs +3 -3
- package/esm2022/components/link/link.directive.mjs +3 -3
- package/esm2022/components/notification/notification.directive.mjs +3 -3
- package/esm2022/components/root/root.component.mjs +6 -4
- package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +3 -3
- package/esm2022/components/textfield/textfield.component.mjs +3 -3
- package/esm2022/directives/appearance/appearance.directive.mjs +3 -3
- package/esm2022/directives/group/group.directive.mjs +3 -3
- package/esm2022/directives/icons/icons.directive.mjs +3 -3
- package/esm2022/directives/title/title.directive.mjs +3 -3
- package/esm2022/tokens/common-icons.mjs +1 -1
- package/esm2022/utils/miscellaneous/index.mjs +2 -1
- package/esm2022/utils/miscellaneous/liquid-glass.mjs +7 -0
- package/fesm2022/taiga-ui-core-components-button.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-data-list.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-icon.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-label.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-link.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-notification.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-root.mjs +5 -3
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +6 -6
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-group.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-icons.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-title.mjs +3 -3
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +7 -1
- package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
- package/package.json +21 -21
- package/styles/mixins/liquid-glass.less +77 -0
- package/styles/mixins/theme/variables.less +2 -0
- package/styles/taiga-ui-local.less +1 -0
- package/styles/theme/wrapper.less +7 -25
- package/styles/variables/version.less +1 -1
- package/tokens/common-icons.d.ts +1 -1
- package/utils/miscellaneous/index.d.ts +1 -0
- package/utils/miscellaneous/liquid-glass.d.ts +5 -0
|
@@ -21,23 +21,13 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[tuiWrapper][data-appearance='textfield'] {
|
|
24
|
-
.transition(~'box-shadow, background');
|
|
24
|
+
.transition(~'box-shadow, background, outline-color');
|
|
25
25
|
|
|
26
26
|
background: var(--tui-background-base);
|
|
27
27
|
color: var(--tui-text-primary);
|
|
28
|
-
outline: none !important;
|
|
29
28
|
box-shadow: 0 0.125rem 0.1875rem rgba(0, 0, 0, 0.1);
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
}
|
|
29
|
+
outline: 1px solid var(--tui-border-normal);
|
|
30
|
+
outline-offset: -1px;
|
|
41
31
|
|
|
42
32
|
.wrapper-hover({
|
|
43
33
|
box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.16);
|
|
@@ -45,20 +35,14 @@
|
|
|
45
35
|
|
|
46
36
|
.wrapper-focus({
|
|
47
37
|
box-shadow: none;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
border-width: 2px;
|
|
51
|
-
color: var(--tui-background-accent-1);
|
|
52
|
-
}
|
|
38
|
+
outline: 0.125rem solid var(--tui-background-accent-1);
|
|
39
|
+
outline-offset: -0.125rem;
|
|
53
40
|
});
|
|
54
41
|
|
|
55
42
|
.wrapper-readonly({
|
|
56
43
|
box-shadow: none;
|
|
57
44
|
background: transparent;
|
|
58
|
-
|
|
59
|
-
&:after {
|
|
60
|
-
color: var(--tui-border-normal);
|
|
61
|
-
}
|
|
45
|
+
outline-color: var(--tui-border-normal);
|
|
62
46
|
});
|
|
63
47
|
|
|
64
48
|
.wrapper-disabled({
|
|
@@ -66,9 +50,7 @@
|
|
|
66
50
|
});
|
|
67
51
|
|
|
68
52
|
.wrapper-invalid({
|
|
69
|
-
|
|
70
|
-
color: var(--tui-text-negative);
|
|
71
|
-
}
|
|
53
|
+
outline-color: var(--tui-status-negative);
|
|
72
54
|
});
|
|
73
55
|
}
|
|
74
56
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@tui-version: '4.
|
|
1
|
+
@tui-version: '4.103.0';
|
package/tokens/common-icons.d.ts
CHANGED
|
@@ -8,4 +8,4 @@ export interface TuiCommonIcons {
|
|
|
8
8
|
readonly ellipsis: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const TUI_COMMON_ICONS: InjectionToken<TuiCommonIcons>;
|
|
11
|
-
export declare function tuiCommonIconsProvider(icons: Partial<TuiCommonIcons>): Provider;
|
|
11
|
+
export declare function tuiCommonIconsProvider(icons: Partial<TuiCommonIcons> | (() => Partial<TuiCommonIcons>)): Provider;
|