@taiga-ui/addon-mobile 4.4.1 → 4.5.0-canary.d55e3ee
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/mobile-calendar.component.d.ts +2 -2
- package/directives/dropdown-mobile/dropdown-mobile.component.d.ts +1 -1
- package/esm2022/components/mobile-calendar/mobile-calendar.component.mjs +7 -7
- package/esm2022/components/mobile-calendar/mobile-calendar.strategy.mjs +4 -4
- package/esm2022/components/mobile-calendar-dropdown/mobile-calendar-dropdown.component.mjs +3 -3
- package/esm2022/components/mobile-calendar-sheet/mobile-calendar-sheet.component.mjs +5 -4
- package/esm2022/components/mobile-dialog/mobile-dialog.component.mjs +3 -3
- package/esm2022/components/pull-to-refresh/loader-android/loader-android.component.mjs +3 -3
- package/esm2022/components/pull-to-refresh/pull-to-refresh.component.mjs +3 -3
- package/esm2022/components/pull-to-refresh/pull-to-refresh.service.mjs +3 -3
- package/esm2022/components/sheet-dialog/sheet-dialog.component.mjs +5 -4
- package/esm2022/components/swipe-action/swipe-actions.component.mjs +3 -3
- package/esm2022/components/tab-bar/tab-bar-item.component.mjs +3 -3
- package/esm2022/components/tab-bar/tab-bar.component.mjs +3 -3
- package/esm2022/directives/dropdown-mobile/dropdown-mobile.component.mjs +4 -4
- package/esm2022/directives/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/directives/touchable/touchable.directive.mjs +4 -5
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs +2 -2
- 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 +4 -3
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs +9 -9
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-dialog.mjs +2 -2
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-pull-to-refresh.mjs +6 -6
- package/fesm2022/taiga-ui-addon-mobile-components-pull-to-refresh.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs +4 -3
- package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-swipe-action.mjs +2 -2
- package/fesm2022/taiga-ui-addon-mobile-components-swipe-action.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs +4 -4
- package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs +3 -3
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-sidebar.mjs +2 -2
- package/fesm2022/taiga-ui-addon-mobile-directives-sidebar.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs +3 -4
- package/fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs.map +1 -1
- package/package.json +134 -134
- package/styles/android/app-bar.less +3 -3
- package/styles/android/switch.less +9 -9
- package/styles/common/block-status.less +2 -2
- package/styles/common/button.less +1 -1
- package/styles/ios/switch.less +7 -7
package/styles/ios/switch.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
input[tuiSwitch] {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
block-size: 1.9375rem;
|
|
3
|
+
inline-size: 3.1875rem;
|
|
4
4
|
border-radius: 2rem;
|
|
5
5
|
color: #fff;
|
|
6
6
|
background: var(--tui-background-neutral-2);
|
|
@@ -14,19 +14,19 @@ input[tuiSwitch] {
|
|
|
14
14
|
.transition(~'transform, width');
|
|
15
15
|
|
|
16
16
|
right: auto;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
inline-size: 1.9375rem;
|
|
18
|
+
block-size: 1.9375rem;
|
|
19
19
|
border-radius: 2rem;
|
|
20
20
|
background: currentColor;
|
|
21
21
|
transform: scale(0.871);
|
|
22
22
|
outline: none;
|
|
23
23
|
box-shadow:
|
|
24
|
-
0 0.25rem 0.125rem
|
|
25
|
-
0 0.25rem 0.5rem
|
|
24
|
+
0 0.25rem 0.125rem rgb(0 0 0 / 6%),
|
|
25
|
+
0 0.25rem 0.5rem rgb(0 0 0 / 15%) !important;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&:active::after {
|
|
29
|
-
|
|
29
|
+
inline-size: 2.3rem;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&:checked,
|