@taiga-ui/addon-mobile 5.32.0 → 5.33.0-canary.26000e7
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/fesm2022/taiga-ui-addon-mobile-components-keypad.mjs +2 -2
- package/fesm2022/taiga-ui-addon-mobile-components-keypad.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs +2 -2
- package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-swipe-actions.mjs +3 -3
- package/fesm2022/taiga-ui-addon-mobile-components-swipe-actions.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs +5 -4
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs +2 -2
- package/fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-services.mjs +2 -0
- package/fesm2022/taiga-ui-addon-mobile-services.mjs.map +1 -1
- package/package.json +5 -5
- package/services/theme-color.service.d.ts +2 -0
- package/styles/android/checkbox.less +10 -2
- package/styles/android/radio.less +13 -5
- package/styles/common/block-status.less +2 -1
- package/styles/common/header.less +1 -0
- package/styles/common/hint.less +1 -3
- package/styles/ios/checkbox.less +10 -1
- package/styles/ios/tab-bar.less +9 -2
- package/styles/taiga-ui-mobile.css +1108 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/** @deprecated: TODO drop in v6 */
|
|
3
4
|
export declare const TUI_THEME_COLOR: InjectionToken<string>;
|
|
4
5
|
interface TuiThemeColor {
|
|
5
6
|
get color(): string;
|
|
6
7
|
set color(value: string);
|
|
7
8
|
}
|
|
9
|
+
/** @deprecated: TODO drop in v6 */
|
|
8
10
|
export declare class TuiThemeColorService implements TuiThemeColor {
|
|
9
11
|
private current;
|
|
10
12
|
private readonly doc;
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
+
[tuiTheme='dark'] &,
|
|
2
|
+
&[tuiTheme='dark'],
|
|
3
|
+
[tuiTheme='dark'] {
|
|
4
|
+
input[tuiCheckbox] {
|
|
5
|
+
outline: 1px solid rgba(255, 255, 255, 0.3);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
input[tuiCheckbox] {
|
|
2
10
|
--t-size: 1.375rem;
|
|
3
11
|
|
|
4
12
|
color: var(--tui-text-primary-on-accent-2) !important;
|
|
5
13
|
border-radius: 100%;
|
|
6
|
-
outline:
|
|
7
|
-
outline-offset: -
|
|
14
|
+
outline: 1px solid rgba(0, 16, 36, 0.22);
|
|
15
|
+
outline-offset: -1px;
|
|
8
16
|
transition: none;
|
|
9
17
|
box-shadow: none !important;
|
|
10
18
|
background: var(--t-background) !important;
|
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
@import '@taiga-ui/styles/utils.less';
|
|
2
2
|
|
|
3
|
+
[tuiTheme='dark'] &,
|
|
4
|
+
&[tuiTheme='dark'],
|
|
5
|
+
[tuiTheme='dark'] {
|
|
6
|
+
input[tuiRadio] {
|
|
7
|
+
color: rgba(255, 255, 255, 0.3);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
3
11
|
input[tuiRadio] {
|
|
4
12
|
--t-size: 1.125rem;
|
|
5
13
|
|
|
6
14
|
.transition(color);
|
|
7
15
|
|
|
8
|
-
color:
|
|
16
|
+
color: rgba(0, 16, 36, 0.22);
|
|
9
17
|
outline: 0.125rem solid;
|
|
10
18
|
outline-offset: -0.125rem;
|
|
11
19
|
box-shadow: none !important;
|
|
12
20
|
background: transparent !important;
|
|
13
21
|
|
|
14
22
|
&:disabled:not(._readonly) {
|
|
15
|
-
color: var(--tui-background-neutral-2);
|
|
23
|
+
color: var(--tui-background-neutral-2) !important;
|
|
16
24
|
}
|
|
17
25
|
|
|
18
26
|
&:checked {
|
|
19
|
-
color: var(--tui-background-accent-2);
|
|
27
|
+
color: var(--tui-background-accent-2) !important;
|
|
20
28
|
|
|
21
29
|
&::after {
|
|
22
30
|
scale: 0.555;
|
|
@@ -24,10 +32,10 @@ input[tuiRadio] {
|
|
|
24
32
|
}
|
|
25
33
|
|
|
26
34
|
&:invalid {
|
|
27
|
-
color: var(--tui-status-negative-pale-hover);
|
|
35
|
+
color: var(--tui-status-negative-pale-hover) !important;
|
|
28
36
|
|
|
29
37
|
&:checked {
|
|
30
|
-
color: var(--tui-status-negative);
|
|
38
|
+
color: var(--tui-status-negative) !important;
|
|
31
39
|
}
|
|
32
40
|
}
|
|
33
41
|
}
|
package/styles/common/hint.less
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
tui-hint {
|
|
2
2
|
font: var(--tui-typography-body-m);
|
|
3
3
|
|
|
4
|
-
--t-
|
|
5
|
-
--t-arrow-block: 1.125rem;
|
|
6
|
-
--t-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 18"><path d="M7.22854 3.81615L4.89971 6.6711C3.69732 8.14514 1.8988 9 0 9C1.8988 9 3.69732 9.85486 4.89971 11.3289L7.22854 14.1839L7.22854 14.1839C9.12123 16.5041 10.0676 17.6643 11.2665 17.922C11.75 18.026 12.25 18.026 12.7335 17.922C13.9324 17.6643 14.8788 16.5041 16.7715 14.1839L19.1003 11.3289C20.3027 9.85486 22.1012 9 24 9C22.1012 9 20.3027 8.14514 19.1003 6.6711L16.7715 3.81614C14.8788 1.49586 13.9324 0.335716 12.7335 0.0779663C12.25 -0.0259888 11.75 -0.0259888 11.2665 0.0779663C10.0676 0.335716 9.12123 1.49586 7.22854 3.81614L7.22854 3.81615Z" /></svg>');
|
|
4
|
+
--t-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 18" width="24" height="18"><path d="M7.22854 3.81615L4.89971 6.6711C3.69732 8.14514 1.8988 9 0 9C1.8988 9 3.69732 9.85486 4.89971 11.3289L7.22854 14.1839L7.22854 14.1839C9.12123 16.5041 10.0676 17.6643 11.2665 17.922C11.75 18.026 12.25 18.026 12.7335 17.922C13.9324 17.6643 14.8788 16.5041 16.7715 14.1839L19.1003 11.3289C20.3027 9.85486 22.1012 9 24 9C22.1012 9 20.3027 8.14514 19.1003 6.6711L16.7715 3.81614C14.8788 1.49586 13.9324 0.335716 12.7335 0.0779663C12.25 -0.0259888 11.75 -0.0259888 11.2665 0.0779663C10.0676 0.335716 9.12123 1.49586 7.22854 3.81614L7.22854 3.81615Z" /></svg>');
|
|
7
5
|
|
|
8
6
|
&.tui-enter {
|
|
9
7
|
animation-timing-function: var(--tui-curve-expressive-entrance);
|
package/styles/ios/checkbox.less
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
|
+
[tuiTheme='dark'] &,
|
|
2
|
+
&[tuiTheme='dark'],
|
|
3
|
+
[tuiTheme='dark'] {
|
|
4
|
+
input[tuiCheckbox],
|
|
5
|
+
input[tuiRadio] {
|
|
6
|
+
outline: 1px solid rgba(255, 255, 255, 0.3);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
1
10
|
input[tuiCheckbox],
|
|
2
11
|
input[tuiRadio] {
|
|
3
12
|
--t-size: 1.375rem;
|
|
4
13
|
|
|
5
14
|
border-radius: 100%;
|
|
6
15
|
color: var(--tui-text-primary-on-accent-2) !important;
|
|
7
|
-
outline: 1px solid
|
|
16
|
+
outline: 1px solid rgba(0, 16, 36, 0.22);
|
|
8
17
|
outline-offset: -1px;
|
|
9
18
|
transition: none;
|
|
10
19
|
box-shadow: none !important;
|
package/styles/ios/tab-bar.less
CHANGED
|
@@ -76,8 +76,9 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
&.tui-liquid-glass_fullwidth {
|
|
79
|
-
inline-size:
|
|
80
|
-
|
|
79
|
+
inline-size: calc(100% - 3rem);
|
|
80
|
+
max-inline-size: 24.5rem;
|
|
81
|
+
margin-inline: auto;
|
|
81
82
|
|
|
82
83
|
[tuiTabBarItem] {
|
|
83
84
|
flex: 1 0 3.375rem;
|
|
@@ -115,6 +116,8 @@
|
|
|
115
116
|
block-size: 9.375rem;
|
|
116
117
|
background: var(--tui-background-base);
|
|
117
118
|
pointer-events: none;
|
|
119
|
+
opacity: 0;
|
|
120
|
+
transition: opacity var(--tui-duration) linear;
|
|
118
121
|
mask-image: linear-gradient(
|
|
119
122
|
180deg,
|
|
120
123
|
rgba(0, 0, 0, 0),
|
|
@@ -134,6 +137,10 @@
|
|
|
134
137
|
rgba(0, 0, 0, 0.99) 93%,
|
|
135
138
|
#000 100%
|
|
136
139
|
);
|
|
140
|
+
|
|
141
|
+
&:is(.tui-liquid-glass_overlay *) {
|
|
142
|
+
opacity: 1;
|
|
143
|
+
}
|
|
137
144
|
}
|
|
138
145
|
}
|
|
139
146
|
}
|