@plexui/styles 0.17.13 → 0.17.14
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.
|
@@ -2676,9 +2676,14 @@
|
|
|
2676
2676
|
out of the button to the bar's end, from after a back circle in the leading place (the gutter, the circle and the
|
|
2677
2677
|
gap: 6 + 46 + 6 = 58 to the width less 6 on a full screen, as the reference messenger's), while the title fades out
|
|
2678
2678
|
to 0.94 of its size and the trailing actions to 0.7, the leading action gives way to the back arrow, and the text
|
|
2679
|
-
comes in. Back reverses it.
|
|
2679
|
+
comes in. Back reverses it. On iOS the field stands before a glass close instead, the leading action staying beside
|
|
2680
|
+
it (iOS 26 Podcasts and Files). All of it runs 380ms on the reference's
|
|
2681
|
+
EASE_OUT_QUINT (android.css); a Sheet stands at
|
|
2680
2682
|
the full screen meanwhile (Dialog.module.css), its bar 5 under the status bar and 6 from the sides, as a page's.
|
|
2681
|
-
=============================================
|
|
2683
|
+
============================================= *//* The other platform's way out stands hidden in the layer, so the field never moves as the platform changes; a slot sets
|
|
2684
|
+
its own display, so the hidden one is taken out here, at any width (with no Tailwind preflight too) */.SearchLayer > :is(.SearchBack, .SearchClose)[hidden] {
|
|
2685
|
+
display: none;
|
|
2686
|
+
}@media (max-width: 767px) {
|
|
2682
2687
|
.Toolbar[data-toolbar][data-search][data-placement="top"] {
|
|
2683
2688
|
--toolbar-search-duration: var(--android-search-duration, 380ms);
|
|
2684
2689
|
--toolbar-search-easing: var(--android-search-easing, cubic-bezier(0.23, 1, 0.32, 1));
|
|
@@ -2735,17 +2740,18 @@
|
|
|
2735
2740
|
scale: 0.7;
|
|
2736
2741
|
}
|
|
2737
2742
|
|
|
2738
|
-
|
|
2743
|
+
/* The Plex Android look's back circle takes the leading place; iOS keeps its leading action beside the field. */
|
|
2744
|
+
.Toolbar[data-toolbar][data-search-open][data-placement="top"]:is([data-platform="android"] *) > .Leading {
|
|
2739
2745
|
visibility: hidden;
|
|
2740
2746
|
}
|
|
2741
2747
|
|
|
2742
|
-
.Toolbar[data-toolbar][data-search][data-placement="top"]:not(:has(> .Leading [data-navigation-action="back"])) > .Leading svg {
|
|
2748
|
+
.Toolbar[data-toolbar][data-search][data-placement="top"]:is([data-platform="android"] *):not(:has(> .Leading [data-navigation-action="back"])) > .Leading svg {
|
|
2743
2749
|
transition:
|
|
2744
2750
|
opacity var(--toolbar-search-duration) var(--toolbar-search-easing),
|
|
2745
2751
|
rotate var(--toolbar-search-duration) var(--toolbar-search-easing);
|
|
2746
2752
|
}
|
|
2747
2753
|
|
|
2748
|
-
.Toolbar[data-toolbar][data-search-open][data-placement="top"]:not(:has(> .Leading [data-navigation-action="back"])) > .Leading svg {
|
|
2754
|
+
.Toolbar[data-toolbar][data-search-open][data-placement="top"]:is([data-platform="android"] *):not(:has(> .Leading [data-navigation-action="back"])) > .Leading svg {
|
|
2749
2755
|
opacity: 0;
|
|
2750
2756
|
rotate: 45deg;
|
|
2751
2757
|
}
|
|
@@ -2880,6 +2886,56 @@
|
|
|
2880
2886
|
opacity: 1;
|
|
2881
2887
|
}
|
|
2882
2888
|
|
|
2889
|
+
/* iOS 26 (Podcasts, Files): the open field stands before a glass close, the close growing in where the trailing
|
|
2890
|
+
actions shrink away; a leading action stays beside the field (Files' More), else the field starts at the gutter. */
|
|
2891
|
+
.Toolbar[data-search-open]:not([data-platform="android"] *) > .SearchLayer > .SearchField {
|
|
2892
|
+
right: calc(var(--toolbar-gutter) + var(--toolbar-item-size) + var(--toolbar-item-gap));
|
|
2893
|
+
left: var(--toolbar-gutter);
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2896
|
+
.Toolbar[data-search-open]:not([data-platform="android"] *) > .SearchLayer > .SearchField:dir(rtl) {
|
|
2897
|
+
right: var(--toolbar-gutter);
|
|
2898
|
+
left: calc(var(--toolbar-gutter) + var(--toolbar-item-size) + var(--toolbar-item-gap));
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
/* After the leading actions as far as they reach (Toolbar.tsx measures them: a Back, a Cancel, more than one) */
|
|
2902
|
+
.Toolbar[data-search-open]:not([data-platform="android"] *):has(> .Leading > *) > .SearchLayer > .SearchField {
|
|
2903
|
+
left: calc(var(--toolbar-gutter) + var(--toolbar-search-leading, var(--toolbar-item-size)) + var(--toolbar-item-gap));
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
.Toolbar[data-search-open]:not([data-platform="android"] *):has(> .Leading > *) > .SearchLayer > .SearchField:dir(rtl) {
|
|
2907
|
+
right: calc(var(--toolbar-gutter) + var(--toolbar-search-leading, var(--toolbar-item-size)) + var(--toolbar-item-gap));
|
|
2908
|
+
left: calc(var(--toolbar-gutter) + var(--toolbar-item-size) + var(--toolbar-item-gap));
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
.SearchClose {
|
|
2912
|
+
position: absolute;
|
|
2913
|
+
top: 0;
|
|
2914
|
+
right: var(--toolbar-gutter);
|
|
2915
|
+
visibility: hidden;
|
|
2916
|
+
opacity: 0;
|
|
2917
|
+
scale: 0.7;
|
|
2918
|
+
transition:
|
|
2919
|
+
opacity var(--toolbar-search-duration) var(--toolbar-search-easing),
|
|
2920
|
+
scale var(--toolbar-search-duration) var(--toolbar-search-easing),
|
|
2921
|
+
visibility 0s var(--toolbar-search-duration);
|
|
2922
|
+
}
|
|
2923
|
+
|
|
2924
|
+
.SearchClose:dir(rtl) {
|
|
2925
|
+
right: auto;
|
|
2926
|
+
left: var(--toolbar-gutter);
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
.Toolbar[data-search-open] > .SearchLayer > .SearchClose {
|
|
2930
|
+
visibility: visible;
|
|
2931
|
+
opacity: 1;
|
|
2932
|
+
scale: 1;
|
|
2933
|
+
transition:
|
|
2934
|
+
opacity var(--toolbar-search-duration) var(--toolbar-search-easing),
|
|
2935
|
+
scale var(--toolbar-search-duration) var(--toolbar-search-easing),
|
|
2936
|
+
visibility 0s;
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2883
2939
|
/* A Sheet's bar at the full screen: 5 under the status bar and 6 from the sides, as a page's. */
|
|
2884
2940
|
[data-platform="android"] .Toolbar[data-host="dialog"][data-placement="top"][data-search-open] {
|
|
2885
2941
|
--toolbar-padding-top: calc(var(--safe-area-inset-top, env(safe-area-inset-top, 0px)) + 5px);
|
|
@@ -2957,17 +3013,18 @@
|
|
|
2957
3013
|
scale: 0.7;
|
|
2958
3014
|
}
|
|
2959
3015
|
|
|
2960
|
-
|
|
3016
|
+
/* The Plex Android look's back circle takes the leading place; iOS keeps its leading action beside the field. */
|
|
3017
|
+
:where([data-plex-layout="phone"]) .Toolbar[data-toolbar][data-search-open][data-placement="top"]:is([data-platform="android"] *) > .Leading {
|
|
2961
3018
|
visibility: hidden;
|
|
2962
3019
|
}
|
|
2963
3020
|
|
|
2964
|
-
:where([data-plex-layout="phone"]) .Toolbar[data-toolbar][data-search][data-placement="top"]:not(:has(> .Leading [data-navigation-action="back"])) > .Leading svg {
|
|
3021
|
+
:where([data-plex-layout="phone"]) .Toolbar[data-toolbar][data-search][data-placement="top"]:is([data-platform="android"] *):not(:has(> .Leading [data-navigation-action="back"])) > .Leading svg {
|
|
2965
3022
|
transition:
|
|
2966
3023
|
opacity var(--toolbar-search-duration) var(--toolbar-search-easing),
|
|
2967
3024
|
rotate var(--toolbar-search-duration) var(--toolbar-search-easing);
|
|
2968
3025
|
}
|
|
2969
3026
|
|
|
2970
|
-
:where([data-plex-layout="phone"]) .Toolbar[data-toolbar][data-search-open][data-placement="top"]:not(:has(> .Leading [data-navigation-action="back"])) > .Leading svg {
|
|
3027
|
+
:where([data-plex-layout="phone"]) .Toolbar[data-toolbar][data-search-open][data-placement="top"]:is([data-platform="android"] *):not(:has(> .Leading [data-navigation-action="back"])) > .Leading svg {
|
|
2971
3028
|
opacity: 0;
|
|
2972
3029
|
rotate: 45deg;
|
|
2973
3030
|
}
|
|
@@ -3102,6 +3159,56 @@
|
|
|
3102
3159
|
opacity: 1;
|
|
3103
3160
|
}
|
|
3104
3161
|
|
|
3162
|
+
/* iOS 26 (Podcasts, Files): the open field stands before a glass close, the close growing in where the trailing
|
|
3163
|
+
actions shrink away; a leading action stays beside the field (Files' More), else the field starts at the gutter. */
|
|
3164
|
+
:where([data-plex-layout="phone"]) .Toolbar[data-search-open]:not([data-platform="android"] *) > .SearchLayer > .SearchField {
|
|
3165
|
+
right: calc(var(--toolbar-gutter) + var(--toolbar-item-size) + var(--toolbar-item-gap));
|
|
3166
|
+
left: var(--toolbar-gutter);
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3169
|
+
:where([data-plex-layout="phone"]) .Toolbar[data-search-open]:not([data-platform="android"] *) > .SearchLayer > .SearchField:dir(rtl) {
|
|
3170
|
+
right: var(--toolbar-gutter);
|
|
3171
|
+
left: calc(var(--toolbar-gutter) + var(--toolbar-item-size) + var(--toolbar-item-gap));
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
/* After the leading actions as far as they reach (Toolbar.tsx measures them: a Back, a Cancel, more than one) */
|
|
3175
|
+
:where([data-plex-layout="phone"]) .Toolbar[data-search-open]:not([data-platform="android"] *):has(> .Leading > *) > .SearchLayer > .SearchField {
|
|
3176
|
+
left: calc(var(--toolbar-gutter) + var(--toolbar-search-leading, var(--toolbar-item-size)) + var(--toolbar-item-gap));
|
|
3177
|
+
}
|
|
3178
|
+
|
|
3179
|
+
:where([data-plex-layout="phone"]) .Toolbar[data-search-open]:not([data-platform="android"] *):has(> .Leading > *) > .SearchLayer > .SearchField:dir(rtl) {
|
|
3180
|
+
right: calc(var(--toolbar-gutter) + var(--toolbar-search-leading, var(--toolbar-item-size)) + var(--toolbar-item-gap));
|
|
3181
|
+
left: calc(var(--toolbar-gutter) + var(--toolbar-item-size) + var(--toolbar-item-gap));
|
|
3182
|
+
}
|
|
3183
|
+
|
|
3184
|
+
:where([data-plex-layout="phone"]) .SearchClose {
|
|
3185
|
+
position: absolute;
|
|
3186
|
+
top: 0;
|
|
3187
|
+
right: var(--toolbar-gutter);
|
|
3188
|
+
visibility: hidden;
|
|
3189
|
+
opacity: 0;
|
|
3190
|
+
scale: 0.7;
|
|
3191
|
+
transition:
|
|
3192
|
+
opacity var(--toolbar-search-duration) var(--toolbar-search-easing),
|
|
3193
|
+
scale var(--toolbar-search-duration) var(--toolbar-search-easing),
|
|
3194
|
+
visibility 0s var(--toolbar-search-duration);
|
|
3195
|
+
}
|
|
3196
|
+
|
|
3197
|
+
:where([data-plex-layout="phone"]) .SearchClose:dir(rtl) {
|
|
3198
|
+
right: auto;
|
|
3199
|
+
left: var(--toolbar-gutter);
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
:where([data-plex-layout="phone"]) .Toolbar[data-search-open] > .SearchLayer > .SearchClose {
|
|
3203
|
+
visibility: visible;
|
|
3204
|
+
opacity: 1;
|
|
3205
|
+
scale: 1;
|
|
3206
|
+
transition:
|
|
3207
|
+
opacity var(--toolbar-search-duration) var(--toolbar-search-easing),
|
|
3208
|
+
scale var(--toolbar-search-duration) var(--toolbar-search-easing),
|
|
3209
|
+
visibility 0s;
|
|
3210
|
+
}
|
|
3211
|
+
|
|
3105
3212
|
/* A Sheet's bar at the full screen: 5 under the status bar and 6 from the sides, as a page's. */
|
|
3106
3213
|
:where([data-plex-layout="phone"]) [data-platform="android"] .Toolbar[data-host="dialog"][data-placement="top"][data-search-open] {
|
|
3107
3214
|
--toolbar-padding-top: calc(var(--safe-area-inset-top, env(safe-area-inset-top, 0px)) + 5px);
|