@taiga-ui/addon-mobile 4.11.0 → 4.12.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/sheet-dialog/sheet-dialog.component.d.ts +1 -12
- package/components/sheet-dialog/sheet-dialog.options.d.ts +5 -2
- package/components/sheet-dialog/sheet-dialog.service.d.ts +3 -0
- package/directives/index.d.ts +1 -0
- package/directives/responsive-dialog/index.d.ts +2 -0
- package/directives/responsive-dialog/responsive-dialog.directive.d.ts +7 -0
- package/directives/responsive-dialog/responsive-dialog.service.d.ts +22 -0
- package/esm2022/components/mobile-calendar/mobile-calendar.component.mjs +1 -1
- package/esm2022/components/mobile-calendar/mobile-calendar.providers.mjs +4 -4
- package/esm2022/components/sheet-dialog/sheet-dialog.component.mjs +20 -61
- package/esm2022/components/sheet-dialog/sheet-dialog.options.mjs +2 -1
- package/esm2022/components/sheet-dialog/sheet-dialog.service.mjs +21 -2
- package/esm2022/components/tab-bar/tab-bar-item.directive.mjs +3 -3
- package/esm2022/directives/dropdown-mobile/dropdown-mobile.component.mjs +2 -2
- package/esm2022/directives/index.mjs +2 -1
- package/esm2022/directives/responsive-dialog/index.mjs +3 -0
- package/esm2022/directives/responsive-dialog/responsive-dialog.directive.mjs +21 -0
- package/esm2022/directives/responsive-dialog/responsive-dialog.service.mjs +34 -0
- package/esm2022/directives/responsive-dialog/taiga-ui-addon-mobile-directives-responsive-dialog.mjs +5 -0
- package/esm2022/services/keyboard.service.mjs +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs +3 -3
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs +41 -61
- package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs +2 -2
- package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs +57 -0
- package/fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-addon-mobile-directives.mjs +1 -0
- package/fesm2022/taiga-ui-addon-mobile-directives.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-services.mjs.map +1 -1
- package/package.json +48 -42
- package/styles/android/app-bar.less +4 -4
- package/styles/common/button.less +8 -8
- package/styles/{ios → common}/search.less +0 -1
- package/styles/taiga-ui-mobile.less +17 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/addon-mobile",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.12.0",
|
|
4
4
|
"description": "Extension package for Taiga UI that adds support for mobile specific behaviors such as custom data pickers, dropdowns, etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -21,6 +21,12 @@
|
|
|
21
21
|
"esm": "./esm2022/taiga-ui-addon-mobile.mjs",
|
|
22
22
|
"default": "./fesm2022/taiga-ui-addon-mobile.mjs"
|
|
23
23
|
},
|
|
24
|
+
"./components": {
|
|
25
|
+
"types": "./components/index.d.ts",
|
|
26
|
+
"esm2022": "./esm2022/components/taiga-ui-addon-mobile-components.mjs",
|
|
27
|
+
"esm": "./esm2022/components/taiga-ui-addon-mobile-components.mjs",
|
|
28
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-components.mjs"
|
|
29
|
+
},
|
|
24
30
|
"./directives": {
|
|
25
31
|
"types": "./directives/index.d.ts",
|
|
26
32
|
"esm2022": "./esm2022/directives/taiga-ui-addon-mobile-directives.mjs",
|
|
@@ -33,42 +39,6 @@
|
|
|
33
39
|
"esm": "./esm2022/services/taiga-ui-addon-mobile-services.mjs",
|
|
34
40
|
"default": "./fesm2022/taiga-ui-addon-mobile-services.mjs"
|
|
35
41
|
},
|
|
36
|
-
"./components": {
|
|
37
|
-
"types": "./components/index.d.ts",
|
|
38
|
-
"esm2022": "./esm2022/components/taiga-ui-addon-mobile-components.mjs",
|
|
39
|
-
"esm": "./esm2022/components/taiga-ui-addon-mobile-components.mjs",
|
|
40
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-components.mjs"
|
|
41
|
-
},
|
|
42
|
-
"./directives/dropdown-mobile": {
|
|
43
|
-
"types": "./directives/dropdown-mobile/index.d.ts",
|
|
44
|
-
"esm2022": "./esm2022/directives/dropdown-mobile/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs",
|
|
45
|
-
"esm": "./esm2022/directives/dropdown-mobile/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs",
|
|
46
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs"
|
|
47
|
-
},
|
|
48
|
-
"./directives/elastic-sticky": {
|
|
49
|
-
"types": "./directives/elastic-sticky/index.d.ts",
|
|
50
|
-
"esm2022": "./esm2022/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.mjs",
|
|
51
|
-
"esm": "./esm2022/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.mjs",
|
|
52
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs"
|
|
53
|
-
},
|
|
54
|
-
"./directives/ripple": {
|
|
55
|
-
"types": "./directives/ripple/index.d.ts",
|
|
56
|
-
"esm2022": "./esm2022/directives/ripple/taiga-ui-addon-mobile-directives-ripple.mjs",
|
|
57
|
-
"esm": "./esm2022/directives/ripple/taiga-ui-addon-mobile-directives-ripple.mjs",
|
|
58
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs"
|
|
59
|
-
},
|
|
60
|
-
"./directives/sidebar": {
|
|
61
|
-
"types": "./directives/sidebar/index.d.ts",
|
|
62
|
-
"esm2022": "./esm2022/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.mjs",
|
|
63
|
-
"esm": "./esm2022/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.mjs",
|
|
64
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-directives-sidebar.mjs"
|
|
65
|
-
},
|
|
66
|
-
"./directives/touchable": {
|
|
67
|
-
"types": "./directives/touchable/index.d.ts",
|
|
68
|
-
"esm2022": "./esm2022/directives/touchable/taiga-ui-addon-mobile-directives-touchable.mjs",
|
|
69
|
-
"esm": "./esm2022/directives/touchable/taiga-ui-addon-mobile-directives-touchable.mjs",
|
|
70
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs"
|
|
71
|
-
},
|
|
72
42
|
"./components/mobile-calendar": {
|
|
73
43
|
"types": "./components/mobile-calendar/index.d.ts",
|
|
74
44
|
"esm2022": "./esm2022/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.mjs",
|
|
@@ -116,16 +86,52 @@
|
|
|
116
86
|
"esm2022": "./esm2022/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.mjs",
|
|
117
87
|
"esm": "./esm2022/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.mjs",
|
|
118
88
|
"default": "./fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs"
|
|
89
|
+
},
|
|
90
|
+
"./directives/dropdown-mobile": {
|
|
91
|
+
"types": "./directives/dropdown-mobile/index.d.ts",
|
|
92
|
+
"esm2022": "./esm2022/directives/dropdown-mobile/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs",
|
|
93
|
+
"esm": "./esm2022/directives/dropdown-mobile/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs",
|
|
94
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs"
|
|
95
|
+
},
|
|
96
|
+
"./directives/elastic-sticky": {
|
|
97
|
+
"types": "./directives/elastic-sticky/index.d.ts",
|
|
98
|
+
"esm2022": "./esm2022/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.mjs",
|
|
99
|
+
"esm": "./esm2022/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.mjs",
|
|
100
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs"
|
|
101
|
+
},
|
|
102
|
+
"./directives/responsive-dialog": {
|
|
103
|
+
"types": "./directives/responsive-dialog/index.d.ts",
|
|
104
|
+
"esm2022": "./esm2022/directives/responsive-dialog/taiga-ui-addon-mobile-directives-responsive-dialog.mjs",
|
|
105
|
+
"esm": "./esm2022/directives/responsive-dialog/taiga-ui-addon-mobile-directives-responsive-dialog.mjs",
|
|
106
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs"
|
|
107
|
+
},
|
|
108
|
+
"./directives/ripple": {
|
|
109
|
+
"types": "./directives/ripple/index.d.ts",
|
|
110
|
+
"esm2022": "./esm2022/directives/ripple/taiga-ui-addon-mobile-directives-ripple.mjs",
|
|
111
|
+
"esm": "./esm2022/directives/ripple/taiga-ui-addon-mobile-directives-ripple.mjs",
|
|
112
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs"
|
|
113
|
+
},
|
|
114
|
+
"./directives/sidebar": {
|
|
115
|
+
"types": "./directives/sidebar/index.d.ts",
|
|
116
|
+
"esm2022": "./esm2022/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.mjs",
|
|
117
|
+
"esm": "./esm2022/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.mjs",
|
|
118
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-sidebar.mjs"
|
|
119
|
+
},
|
|
120
|
+
"./directives/touchable": {
|
|
121
|
+
"types": "./directives/touchable/index.d.ts",
|
|
122
|
+
"esm2022": "./esm2022/directives/touchable/taiga-ui-addon-mobile-directives-touchable.mjs",
|
|
123
|
+
"esm": "./esm2022/directives/touchable/taiga-ui-addon-mobile-directives-touchable.mjs",
|
|
124
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs"
|
|
119
125
|
}
|
|
120
126
|
},
|
|
121
127
|
"peerDependencies": {
|
|
122
128
|
"@angular/cdk": ">=16.0.0",
|
|
123
129
|
"@angular/common": ">=16.0.0",
|
|
124
130
|
"@angular/core": ">=16.0.0",
|
|
125
|
-
"@ng-web-apis/common": "^4.
|
|
126
|
-
"@taiga-ui/cdk": "^4.
|
|
127
|
-
"@taiga-ui/core": "^4.
|
|
128
|
-
"@taiga-ui/kit": "^4.
|
|
131
|
+
"@ng-web-apis/common": "^4.11.1",
|
|
132
|
+
"@taiga-ui/cdk": "^4.12.0",
|
|
133
|
+
"@taiga-ui/core": "^4.12.0",
|
|
134
|
+
"@taiga-ui/kit": "^4.12.0",
|
|
129
135
|
"@taiga-ui/polymorpheus": "^4.7.4",
|
|
130
136
|
"rxjs": ">=7.0.0"
|
|
131
137
|
},
|
|
@@ -133,6 +139,6 @@
|
|
|
133
139
|
"typings": "index.d.ts",
|
|
134
140
|
"sideEffects": false,
|
|
135
141
|
"dependencies": {
|
|
136
|
-
"tslib": ">=2.
|
|
142
|
+
"tslib": ">=2.8.0"
|
|
137
143
|
}
|
|
138
144
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
tui-app-bar {
|
|
2
|
-
text-align: start;
|
|
3
2
|
font: var(--tui-font-heading-6);
|
|
4
3
|
block-size: 3.5rem;
|
|
5
4
|
|
|
6
5
|
> .t-content {
|
|
7
6
|
position: static;
|
|
8
|
-
padding: 0 0 0
|
|
7
|
+
padding: 0 0 0 1rem;
|
|
8
|
+
text-align: start;
|
|
9
9
|
transform: none;
|
|
10
10
|
max-inline-size: calc(100% - var(--t-sides, 0px) / 2);
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ tui-app-bar {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
>
|
|
18
|
-
|
|
17
|
+
> :last-child [tuiIconButton] {
|
|
18
|
+
margin: 0 -0.25rem;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
--t-radius: 0.75rem;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
&[data-appearance
|
|
18
|
-
&[data-appearance
|
|
19
|
-
&[data-appearance
|
|
20
|
-
&[data-appearance
|
|
21
|
-
&[data-appearance
|
|
22
|
-
&[data-appearance
|
|
17
|
+
&[data-appearance^='primary']:disabled:not(._loading),
|
|
18
|
+
&[data-appearance^='secondary']:disabled:not(._loading),
|
|
19
|
+
&[data-appearance^='accent']:disabled:not(._loading),
|
|
20
|
+
&[data-appearance^='destructive']:disabled:not(._loading),
|
|
21
|
+
&[data-appearance^='opposite']:disabled:not(._loading),
|
|
22
|
+
&[data-appearance^='flat']:disabled:not(._loading) {
|
|
23
23
|
background: var(--tui-background-neutral-1);
|
|
24
|
-
color: var(--tui-
|
|
24
|
+
color: var(--tui-text-tertiary);
|
|
25
25
|
opacity: 1;
|
|
26
26
|
|
|
27
|
-
&[data-appearance
|
|
27
|
+
&[data-appearance^='flat'] {
|
|
28
28
|
background: transparent;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
@import './common/search.less';
|
|
2
|
+
|
|
1
3
|
[data-platform='android'] {
|
|
2
|
-
@import './android/app-bar';
|
|
3
|
-
@import './android/checkbox';
|
|
4
|
-
@import './android/radio';
|
|
5
|
-
@import './android/switch';
|
|
4
|
+
@import './android/app-bar.less';
|
|
5
|
+
@import './android/checkbox.less';
|
|
6
|
+
@import './android/radio.less';
|
|
7
|
+
@import './android/switch.less';
|
|
6
8
|
|
|
7
9
|
tui-badge-notification[data-size='l'] {
|
|
8
10
|
--t-size: 1.375rem;
|
|
@@ -10,10 +12,9 @@
|
|
|
10
12
|
}
|
|
11
13
|
|
|
12
14
|
[data-platform='ios'] {
|
|
13
|
-
@import './ios/app-bar';
|
|
14
|
-
@import './ios/checkbox';
|
|
15
|
-
@import './ios/
|
|
16
|
-
@import './ios/switch';
|
|
15
|
+
@import './ios/app-bar.less';
|
|
16
|
+
@import './ios/checkbox.less';
|
|
17
|
+
@import './ios/switch.less';
|
|
17
18
|
|
|
18
19
|
tui-segmented > *:not(tui-segmented_active):active {
|
|
19
20
|
background-color: var(--tui-background-neutral-1);
|
|
@@ -26,12 +27,12 @@
|
|
|
26
27
|
|
|
27
28
|
[data-platform='android'],
|
|
28
29
|
[data-platform='ios'] {
|
|
29
|
-
@import './common/badge';
|
|
30
|
-
@import './common/badge-notification';
|
|
31
|
-
@import './common/block-status';
|
|
32
|
-
@import './common/button';
|
|
33
|
-
@import './common/title';
|
|
34
|
-
@import './common/card-large';
|
|
35
|
-
@import './common/segmented';
|
|
36
|
-
@import './common/header';
|
|
30
|
+
@import './common/badge.less';
|
|
31
|
+
@import './common/badge-notification.less';
|
|
32
|
+
@import './common/block-status.less';
|
|
33
|
+
@import './common/button.less';
|
|
34
|
+
@import './common/title.less';
|
|
35
|
+
@import './common/card-large.less';
|
|
36
|
+
@import './common/segmented.less';
|
|
37
|
+
@import './common/header.less';
|
|
37
38
|
}
|