@taiga-ui/addon-mobile 3.55.0 → 3.56.0-canary.40af9f3
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/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js +10 -2
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js +19 -9
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js +1 -1
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet-dialog.umd.js +1 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js +1 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js +1 -0
- package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js.map +1 -1
- package/components/mobile-calendar/mobile-calendar.component.d.ts +6 -3
- package/components/mobile-calendar-dialog/mobile-calendar-dialog.component.d.ts +1 -0
- package/directives/mobile-tabs/mobile-tabs.directive.d.ts +2 -2
- package/esm2015/components/mobile-calendar/mobile-calendar.component.js +20 -10
- package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.component.js +7 -3
- package/esm2015/components/pull-to-refresh/loader-android/loader-android.component.js +1 -1
- package/esm2015/components/sheet/components/sheet/sheet.component.js +2 -2
- package/esm2015/components/sheet-dialog/sheet-dialog.component.js +2 -2
- package/esm2015/directives/mobile-tabs/mobile-tabs.directive.js +3 -2
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +6 -2
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js +19 -9
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.js +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.js +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js +1 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js.map +1 -1
- package/package.json +32 -32
- package/styles/android/checkbox.less +43 -0
- package/styles/android/radio.less +28 -0
- package/styles/common/badge-notification.less +9 -0
- package/styles/common/badge.less +21 -0
- package/styles/common/button.less +27 -0
- package/styles/common/title.less +7 -0
- package/styles/ios/checkbox.less +38 -0
- package/styles/taiga-ui-mobile.less +17 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
tui-badge,
|
|
2
|
+
[tuiBadge] {
|
|
3
|
+
font-weight: bold;
|
|
4
|
+
|
|
5
|
+
&[data-appearance='neutral'] {
|
|
6
|
+
background: var(--tui-base-06);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&[data-size='s'] {
|
|
10
|
+
font: var(--tui-font-text-xs);
|
|
11
|
+
font-weight: bold;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&[data-size='xl'] {
|
|
15
|
+
font: var(--tui-font-text-s);
|
|
16
|
+
font-weight: bold;
|
|
17
|
+
|
|
18
|
+
--t-padding: 0 0.625rem;
|
|
19
|
+
--t-size: 1.75rem;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[tuiButtonNew] {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
&[data-size='xs'],
|
|
5
|
+
&[data-size='s'],
|
|
6
|
+
&[data-size='l'] {
|
|
7
|
+
--t-radius: 1rem;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&[data-size='m'] {
|
|
11
|
+
--t-radius: 0.75rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:disabled:not(._loading) {
|
|
15
|
+
background: var(--tui-clear);
|
|
16
|
+
color: var(--tui-clear-active);
|
|
17
|
+
opacity: 1;
|
|
18
|
+
|
|
19
|
+
&[data-appearance='flat'] {
|
|
20
|
+
background: transparent;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[tuiButton][tuiButtonVertical] {
|
|
26
|
+
gap: 0.5rem;
|
|
27
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
input[tuiCheckbox],
|
|
2
|
+
input[tuiRadio] {
|
|
3
|
+
width: 1.375rem;
|
|
4
|
+
height: 1.375rem;
|
|
5
|
+
border-radius: 100%;
|
|
6
|
+
color: var(--tui-base-01);
|
|
7
|
+
transition: none;
|
|
8
|
+
|
|
9
|
+
&:checked,
|
|
10
|
+
&:not([tuiRadio]):indeterminate {
|
|
11
|
+
background: var(--tui-accent);
|
|
12
|
+
box-shadow: none;
|
|
13
|
+
|
|
14
|
+
&:disabled:not(._readonly) {
|
|
15
|
+
background: var(--tui-base-04);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:before {
|
|
19
|
+
display: block;
|
|
20
|
+
transform: none;
|
|
21
|
+
mask: var(--t-mask) center/100%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&._invalid {
|
|
25
|
+
background: var(--tui-error-fill);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:before {
|
|
30
|
+
display: none;
|
|
31
|
+
|
|
32
|
+
--t-mask: url('data:image/svg+xml,<svg viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg"><path d="M6.75 11.25L9.8 15.2L15.2 7" fill="none" stroke="black" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:not([tuiRadio]):indeterminate:before {
|
|
36
|
+
--t-mask: url('data:image/svg+xml,<svg viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg"><path d="M6 11H16" fill="none" stroke="black" stroke-width="1.75" stroke-linecap="round"/></svg>');
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
@import '@taiga-ui/core/styles/taiga-ui-local';
|
|
2
2
|
|
|
3
|
+
[data-platform='android'] {
|
|
4
|
+
@import './android/checkbox';
|
|
5
|
+
@import './android/radio';
|
|
6
|
+
@import './android/toggle';
|
|
7
|
+
|
|
8
|
+
tui-badge-notification[data-size='l'] {
|
|
9
|
+
--t-size: 1.375rem;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
3
13
|
[data-platform='ios'] {
|
|
14
|
+
@import './ios/checkbox';
|
|
4
15
|
@import './ios/toggle';
|
|
5
16
|
}
|
|
6
17
|
|
|
7
|
-
[data-platform='android']
|
|
8
|
-
|
|
18
|
+
[data-platform='android'],
|
|
19
|
+
[data-platform='ios'] {
|
|
20
|
+
@import './common/badge';
|
|
21
|
+
@import './common/badge-notification';
|
|
22
|
+
@import './common/button';
|
|
23
|
+
@import './common/title';
|
|
9
24
|
}
|