@taiga-ui/addon-mobile 4.52.0-canary.ec0802b → 4.52.0-canary.efbd0d4
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/mobile-calendar/calendar-date-stream.d.ts +6 -0
- package/components/mobile-calendar/index.d.ts +1 -0
- package/components/mobile-calendar/mobile-calendar.component.d.ts +3 -2
- package/components/mobile-calendar-dropdown/mobile-calendar-dropdown.component.d.ts +6 -8
- package/components/mobile-calendar-dropdown/mobile-calendar-dropdown.directive.d.ts +6 -6
- package/components/sheet-dialog/sheet-dialog.service.d.ts +1 -1
- package/directives/dropdown-mobile/dropdown-mobile.component.d.ts +1 -1
- package/directives/dropdown-sheet/dropdown-sheet.component.d.ts +1 -1
- package/directives/responsive-dialog/responsive-dialog.service.d.ts +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-bottom-sheet.mjs +3 -3
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs +24 -39
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs +7 -9
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs +39 -18
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-pull-to-refresh.mjs +14 -15
- package/fesm2022/taiga-ui-addon-mobile-components-pull-to-refresh.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs +15 -16
- package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-swipe-action.mjs +6 -6
- package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs +11 -12
- package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs +8 -8
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-sheet.mjs +9 -9
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-sheet.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs +7 -8
- package/fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs +7 -7
- package/fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs +6 -6
- package/fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs +3 -3
- package/fesm2022/taiga-ui-addon-mobile-services.mjs +34 -5
- package/fesm2022/taiga-ui-addon-mobile-services.mjs.map +1 -1
- package/package.json +1 -1
- package/services/index.d.ts +1 -0
- package/services/theme-color.service.d.ts +18 -0
- package/styles/android/app-bar.less +1 -1
- package/styles/android/switch.less +1 -0
- package/styles/common/badge-notification.less +1 -1
- package/styles/common/badge.less +2 -2
- package/styles/common/block-status.less +1 -1
- package/styles/common/button.less +1 -1
- package/styles/common/header.less +1 -1
- package/styles/common/message.less +1 -1
- package/styles/common/segmented.less +1 -1
- package/styles/common/title.less +0 -1
- package/styles/common/toast.less +1 -1
- package/styles/ios/switch.less +50 -1
package/styles/ios/switch.less
CHANGED
|
@@ -1,6 +1,55 @@
|
|
|
1
1
|
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
2
|
|
|
3
|
-
input[tuiSwitch] {
|
|
3
|
+
input[tuiSwitch]._native {
|
|
4
|
+
block-size: 1.9375rem;
|
|
5
|
+
inline-size: 3.1875rem;
|
|
6
|
+
appearance: auto;
|
|
7
|
+
accent-color: var(--tui-background-accent-2);
|
|
8
|
+
|
|
9
|
+
&:invalid {
|
|
10
|
+
accent-color: var(--tui-status-negative);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&::before,
|
|
14
|
+
&::after {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@supports (anchor-name: --ios26) {
|
|
19
|
+
inline-size: 4rem;
|
|
20
|
+
block-size: 1.75rem;
|
|
21
|
+
|
|
22
|
+
&::before {
|
|
23
|
+
.transition(background);
|
|
24
|
+
|
|
25
|
+
position: absolute;
|
|
26
|
+
display: block;
|
|
27
|
+
inset: 0;
|
|
28
|
+
border-radius: 10rem;
|
|
29
|
+
inline-size: 100%;
|
|
30
|
+
background-color: transparent;
|
|
31
|
+
mix-blend-mode: color;
|
|
32
|
+
transform: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:invalid:not(:checked)::before {
|
|
36
|
+
background-color: var(--tui-status-negative);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
[data-theme='dark'] & {
|
|
40
|
+
&:invalid:not(:checked)::before {
|
|
41
|
+
background-color: var(--tui-status-negative-pale);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:disabled:not(:checked)::before {
|
|
45
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
46
|
+
mix-blend-mode: lighten;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
input[tuiSwitch]:not(._native) {
|
|
4
53
|
block-size: 1.9375rem;
|
|
5
54
|
inline-size: 3.1875rem;
|
|
6
55
|
border-radius: 2rem;
|