@taiga-ui/addon-mobile 5.21.0 → 5.22.0-canary.7c35aae
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/bottom-sheet/bottom-sheet.component.d.ts +1 -0
- package/components/bottom-sheet/bottom-sheet.options.d.ts +6 -0
- package/components/bottom-sheet/index.d.ts +1 -0
- package/components/index.d.ts +1 -0
- package/components/mobile-calendar/calendar-date-stream.d.ts +1 -1
- package/components/search-bar/index.d.ts +3 -0
- package/components/search-bar/search-bar-input.component.d.ts +5 -0
- package/components/search-bar/search-bar.component.d.ts +6 -0
- package/components/search-bar/search-bar.d.ts +3 -0
- package/components/sheet-dialog/sheet-dialog.component.d.ts +4 -3
- package/fesm2022/taiga-ui-addon-mobile-components-bottom-sheet.mjs +17 -9
- package/fesm2022/taiga-ui-addon-mobile-components-bottom-sheet.mjs.map +1 -1
- 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-mobile-calendar-dropdown.mjs +4 -1
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs +11 -12
- package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-mobile-components-search-bar.mjs +62 -0
- package/fesm2022/taiga-ui-addon-mobile-components-search-bar.mjs.map +1 -0
- package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs +15 -7
- 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-components.mjs +1 -0
- package/fesm2022/taiga-ui-addon-mobile-components.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-ripple.mjs +2 -2
- package/fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs.map +1 -1
- package/package.json +38 -33
- package/styles/ios/tab-bar.less +15 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/addon-mobile",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.22.0-canary.7c35aae",
|
|
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",
|
|
@@ -36,6 +36,10 @@
|
|
|
36
36
|
"types": "./index.d.ts",
|
|
37
37
|
"default": "./fesm2022/taiga-ui-addon-mobile.mjs"
|
|
38
38
|
},
|
|
39
|
+
"./components": {
|
|
40
|
+
"types": "./components/index.d.ts",
|
|
41
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-components.mjs"
|
|
42
|
+
},
|
|
39
43
|
"./directives": {
|
|
40
44
|
"types": "./directives/index.d.ts",
|
|
41
45
|
"default": "./fesm2022/taiga-ui-addon-mobile-directives.mjs"
|
|
@@ -44,34 +48,6 @@
|
|
|
44
48
|
"types": "./services/index.d.ts",
|
|
45
49
|
"default": "./fesm2022/taiga-ui-addon-mobile-services.mjs"
|
|
46
50
|
},
|
|
47
|
-
"./components": {
|
|
48
|
-
"types": "./components/index.d.ts",
|
|
49
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-components.mjs"
|
|
50
|
-
},
|
|
51
|
-
"./directives/dropdown-mobile": {
|
|
52
|
-
"types": "./directives/dropdown-mobile/index.d.ts",
|
|
53
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs"
|
|
54
|
-
},
|
|
55
|
-
"./directives/elastic-sticky": {
|
|
56
|
-
"types": "./directives/elastic-sticky/index.d.ts",
|
|
57
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs"
|
|
58
|
-
},
|
|
59
|
-
"./directives/dropdown-sheet": {
|
|
60
|
-
"types": "./directives/dropdown-sheet/index.d.ts",
|
|
61
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-directives-dropdown-sheet.mjs"
|
|
62
|
-
},
|
|
63
|
-
"./directives/responsive-dialog": {
|
|
64
|
-
"types": "./directives/responsive-dialog/index.d.ts",
|
|
65
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs"
|
|
66
|
-
},
|
|
67
|
-
"./directives/ripple": {
|
|
68
|
-
"types": "./directives/ripple/index.d.ts",
|
|
69
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs"
|
|
70
|
-
},
|
|
71
|
-
"./directives/touchable": {
|
|
72
|
-
"types": "./directives/touchable/index.d.ts",
|
|
73
|
-
"default": "./fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs"
|
|
74
|
-
},
|
|
75
51
|
"./components/bottom-sheet": {
|
|
76
52
|
"types": "./components/bottom-sheet/index.d.ts",
|
|
77
53
|
"default": "./fesm2022/taiga-ui-addon-mobile-components-bottom-sheet.mjs"
|
|
@@ -96,6 +72,10 @@
|
|
|
96
72
|
"types": "./components/pull-to-refresh/index.d.ts",
|
|
97
73
|
"default": "./fesm2022/taiga-ui-addon-mobile-components-pull-to-refresh.mjs"
|
|
98
74
|
},
|
|
75
|
+
"./components/search-bar": {
|
|
76
|
+
"types": "./components/search-bar/index.d.ts",
|
|
77
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-components-search-bar.mjs"
|
|
78
|
+
},
|
|
99
79
|
"./components/sheet-dialog": {
|
|
100
80
|
"types": "./components/sheet-dialog/index.d.ts",
|
|
101
81
|
"default": "./fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs"
|
|
@@ -107,6 +87,30 @@
|
|
|
107
87
|
"./components/tab-bar": {
|
|
108
88
|
"types": "./components/tab-bar/index.d.ts",
|
|
109
89
|
"default": "./fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs"
|
|
90
|
+
},
|
|
91
|
+
"./directives/dropdown-mobile": {
|
|
92
|
+
"types": "./directives/dropdown-mobile/index.d.ts",
|
|
93
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs"
|
|
94
|
+
},
|
|
95
|
+
"./directives/dropdown-sheet": {
|
|
96
|
+
"types": "./directives/dropdown-sheet/index.d.ts",
|
|
97
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-dropdown-sheet.mjs"
|
|
98
|
+
},
|
|
99
|
+
"./directives/elastic-sticky": {
|
|
100
|
+
"types": "./directives/elastic-sticky/index.d.ts",
|
|
101
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs"
|
|
102
|
+
},
|
|
103
|
+
"./directives/responsive-dialog": {
|
|
104
|
+
"types": "./directives/responsive-dialog/index.d.ts",
|
|
105
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs"
|
|
106
|
+
},
|
|
107
|
+
"./directives/ripple": {
|
|
108
|
+
"types": "./directives/ripple/index.d.ts",
|
|
109
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs"
|
|
110
|
+
},
|
|
111
|
+
"./directives/touchable": {
|
|
112
|
+
"types": "./directives/touchable/index.d.ts",
|
|
113
|
+
"default": "./fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs"
|
|
110
114
|
}
|
|
111
115
|
},
|
|
112
116
|
"peerDependencies": {
|
|
@@ -115,10 +119,11 @@
|
|
|
115
119
|
"@angular/core": ">=19.0.0",
|
|
116
120
|
"@ng-web-apis/common": "^5.3.0",
|
|
117
121
|
"@ng-web-apis/platform": "^5.3.0",
|
|
118
|
-
"@
|
|
119
|
-
"@taiga-ui/
|
|
120
|
-
"@taiga-ui/
|
|
121
|
-
"@taiga-ui/
|
|
122
|
+
"@ng-web-apis/resize-observer": "^5.3.0",
|
|
123
|
+
"@taiga-ui/cdk": "5.22.0",
|
|
124
|
+
"@taiga-ui/core": "5.22.0",
|
|
125
|
+
"@taiga-ui/kit": "5.22.0",
|
|
126
|
+
"@taiga-ui/layout": "5.22.0",
|
|
122
127
|
"@taiga-ui/polymorpheus": "^5.0.1",
|
|
123
128
|
"rxjs": ">=7.0.0"
|
|
124
129
|
},
|
package/styles/ios/tab-bar.less
CHANGED
|
@@ -12,39 +12,28 @@
|
|
|
12
12
|
block-size: 3.375rem;
|
|
13
13
|
backdrop-filter: none;
|
|
14
14
|
|
|
15
|
+
.liquid-glass-vars();
|
|
16
|
+
|
|
15
17
|
--t-tabbar-offset: max(env(safe-area-inset-bottom), 1.25rem);
|
|
16
|
-
--t-tabbar-bg: rgba(255, 255, 255, 0.7);
|
|
17
|
-
--t-tabbar-glow: rgba(255, 255, 255, 1);
|
|
18
18
|
--t-tabbar-active: rgba(255, 255, 255, 0.9);
|
|
19
|
-
|
|
19
|
+
// the tab bar has its own bevel lighting angles and keeps
|
|
20
|
+
// the light backdrop filter in both themes
|
|
21
|
+
--t-glass-filter: blur(0.25rem) saturate(6) brightness(1.05);
|
|
22
|
+
--t-glass-bevel-filter: brightness(1.05);
|
|
23
|
+
--t-glass-bevel: linear-gradient(227deg, rgba(255, 255, 255, 0) 6%, rgba(255, 255, 255, 0.35) 21%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.95) 45%, #fff 48%, #fff 50%, #fff 52%, rgba(255, 255, 255, 0.95) 55%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0.35) 80%, rgba(255, 255, 255, 0) 95%);
|
|
20
24
|
|
|
21
25
|
&::before {
|
|
26
|
+
.liquid-glass(0 0.5rem 2rem rgba(0, 0, 0, 0.1));
|
|
27
|
+
|
|
22
28
|
content: '';
|
|
23
29
|
position: absolute;
|
|
24
30
|
inset: 0;
|
|
25
31
|
border-radius: inherit;
|
|
26
|
-
background: var(--t-tabbar-bg);
|
|
27
|
-
box-shadow:
|
|
28
|
-
0 0.5rem 2rem rgba(0, 0, 0, 0.1),
|
|
29
|
-
inset 0 0 0.75rem var(--t-tabbar-glow);
|
|
30
|
-
backdrop-filter: blur(0.25rem) saturate(6) brightness(1.05);
|
|
31
32
|
opacity: 1;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
&::after {
|
|
35
|
-
|
|
36
|
-
position: absolute;
|
|
37
|
-
inset: 0;
|
|
38
|
-
padding: 1px;
|
|
39
|
-
pointer-events: none;
|
|
40
|
-
border-radius: inherit;
|
|
41
|
-
background: var(--t-tabbar-bevel);
|
|
42
|
-
filter: brightness(1.05);
|
|
43
|
-
-webkit-mask:
|
|
44
|
-
linear-gradient(#000 0 0) content-box,
|
|
45
|
-
linear-gradient(#000 0 0);
|
|
46
|
-
-webkit-mask-composite: xor;
|
|
47
|
-
mask-composite: exclude;
|
|
36
|
+
.liquid-glass-bevel();
|
|
48
37
|
}
|
|
49
38
|
|
|
50
39
|
[tuiTabBarItem] {
|
|
@@ -154,9 +143,11 @@
|
|
|
154
143
|
&.tui-liquid-glass [tuiTheme='dark'] nav[tuiTabBar],
|
|
155
144
|
[tuiTheme='dark'] &.tui-liquid-glass nav[tuiTabBar],
|
|
156
145
|
&[tuiTheme='dark'].tui-liquid-glass nav[tuiTabBar] {
|
|
146
|
+
.liquid-glass-dark();
|
|
147
|
+
|
|
157
148
|
--tui-active-color: var(--tui-text-primary);
|
|
158
|
-
--t-tabbar-bg: rgba(88, 88, 88, 0.31);
|
|
159
|
-
--t-tabbar-glow: rgba(31, 31, 31, 0.8);
|
|
160
149
|
--t-tabbar-active: rgba(255, 255, 255, 0.18);
|
|
161
|
-
--t-
|
|
150
|
+
--t-glass-filter: blur(0.25rem) saturate(6) brightness(1.05);
|
|
151
|
+
--t-glass-bevel-filter: brightness(1.05);
|
|
152
|
+
--t-glass-bevel: linear-gradient(-6deg, rgba(255, 255, 255, 0.15) 5%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.03) 55%, rgba(255, 255, 255, 0.04) 60%, rgba(255, 255, 255, 0.1) 80%, rgba(255, 255, 255, 0.15) 95%);
|
|
162
153
|
}
|