@taiga-ui/addon-mobile 5.21.0 → 5.22.0-canary.71a3b93
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/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-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/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
|
}
|