@plexui/styles 0.12.0 → 0.12.1
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.
|
@@ -230,6 +230,28 @@
|
|
|
230
230
|
--dialog-exit-duration: var(--motion-exit-large);
|
|
231
231
|
--dialog-exit-easing: var(--cubic-enter);
|
|
232
232
|
}
|
|
233
|
+
|
|
234
|
+
/* A sheet under a sheet at its full height steps back, as one presented from a sheet does on iOS (Apple's iOS 26
|
|
235
|
+
kit, Sheet - Full Screen - iPhone, Stacked): 16px narrower at each side at the kit's 402 (0.92), its top 10px
|
|
236
|
+
above the new one's, dimmed by the new one's overlay. It shows the sheet is still open under the new one; the two
|
|
237
|
+
at one height read as the first one closed. It comes back as the one over it leaves. `scale` and `translate`
|
|
238
|
+
leave `transform` to the entrance, the exit and a drag. */
|
|
239
|
+
.Content:where([data-mobile-placement="bottom"]) .Panel {
|
|
240
|
+
transform-origin: 50% 0;
|
|
241
|
+
transition:
|
|
242
|
+
scale var(--motion-enter-large) var(--cubic-enter),
|
|
243
|
+
translate var(--motion-enter-large) var(--cubic-enter);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
:is(.Transition, .PhoneScope):has(
|
|
247
|
+
~ .Transition:not([data-exiting], [data-exiting-active]) .Content[data-mobile-placement="bottom"] .Panel[data-sheet-full],
|
|
248
|
+
~ .PhoneScope .Transition:not([data-exiting], [data-exiting-active]) .Content[data-mobile-placement="bottom"] .Panel[data-sheet-full]
|
|
249
|
+
)
|
|
250
|
+
.Content[data-mobile-placement="bottom"]
|
|
251
|
+
.Panel {
|
|
252
|
+
scale: 0.92;
|
|
253
|
+
translate: 0 -10px;
|
|
254
|
+
}
|
|
233
255
|
}
|
|
234
256
|
:where([data-plex-layout="phone"]) .Content,
|
|
235
257
|
:where([data-plex-layout="phone"]) .Content[data-pill] {
|
|
@@ -285,6 +307,28 @@
|
|
|
285
307
|
--dialog-enter-duration: var(--motion-enter-large);
|
|
286
308
|
--dialog-exit-duration: var(--motion-exit-large);
|
|
287
309
|
--dialog-exit-easing: var(--cubic-enter);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/* A sheet under a sheet at its full height steps back, as one presented from a sheet does on iOS (Apple's iOS 26
|
|
313
|
+
kit, Sheet - Full Screen - iPhone, Stacked): 16px narrower at each side at the kit's 402 (0.92), its top 10px
|
|
314
|
+
above the new one's, dimmed by the new one's overlay. It shows the sheet is still open under the new one; the two
|
|
315
|
+
at one height read as the first one closed. It comes back as the one over it leaves. `scale` and `translate`
|
|
316
|
+
leave `transform` to the entrance, the exit and a drag. */
|
|
317
|
+
:where([data-plex-layout="phone"]) .Content:where([data-mobile-placement="bottom"]) .Panel {
|
|
318
|
+
transform-origin: 50% 0;
|
|
319
|
+
transition:
|
|
320
|
+
scale var(--motion-enter-large) var(--cubic-enter),
|
|
321
|
+
translate var(--motion-enter-large) var(--cubic-enter);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
:where([data-plex-layout="phone"]) :is(.Transition, .PhoneScope):has(
|
|
325
|
+
~ .Transition:not([data-exiting], [data-exiting-active]) .Content[data-mobile-placement="bottom"] .Panel[data-sheet-full],
|
|
326
|
+
~ .PhoneScope .Transition:not([data-exiting], [data-exiting-active]) .Content[data-mobile-placement="bottom"] .Panel[data-sheet-full]
|
|
327
|
+
)
|
|
328
|
+
.Content[data-mobile-placement="bottom"]
|
|
329
|
+
.Panel {
|
|
330
|
+
scale: 0.92;
|
|
331
|
+
translate: 0 -10px;
|
|
288
332
|
}.CloseButton {
|
|
289
333
|
position: absolute;
|
|
290
334
|
top: 0.75rem;
|