@plexui/styles 0.17.16 → 0.17.17

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.
@@ -382,7 +382,7 @@
382
382
 
383
383
  /* On the popover's glass a gray action (a soft primary or secondary one, an outline one, iOS's Gray) takes the
384
384
  alert's fill, see-through as the Dialog's alert actions, its press that fill faded as a soft button's */
385
- .Popover > .Tip[data-mobile-actions="buttons"] > .Actions > :is([data-variant="soft"]:where([data-color="primary"], [data-color="secondary"]), [data-variant="outline"]):not([data-disabled]):not(:where([data-platform="android"] *)) {
385
+ .Popover:not([data-material="solid"]) > .Tip[data-mobile-actions="buttons"] > .Actions > :is([data-variant="soft"]:where([data-color="primary"], [data-color="secondary"]), [data-variant="outline"]):not([data-disabled]):not(:where([data-platform="android"] *)) {
386
386
  --button-background-color: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
387
387
  --button-background-color-hover: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
388
388
  --button-background-color-active: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
@@ -393,6 +393,14 @@
393
393
  background: var(--dialog-alert-background, var(--tip-popover-background));
394
394
  backdrop-filter: var(--dialog-alert-backdrop-filter, none);
395
395
  }
396
+
397
+ /* material="solid": the tip and its arrow on the opaque elevated surface iOS draws the tip on with Reduce
398
+ Transparency, nothing blurred under them (a tip over a photo); a gray action keeps its own fill */
399
+ .Popover[data-material="solid"]:not(:where([data-platform="android"] *)) > .Tip,
400
+ .Popover[data-material="solid"]:not(:where([data-platform="android"] *)) .Arrow {
401
+ background: var(--tip-popover-background);
402
+ backdrop-filter: none;
403
+ }
396
404
  }
397
405
  :where([data-plex-layout="phone"]) .Tip {
398
406
  --tip-padding-top: 14px;
@@ -588,7 +596,7 @@
588
596
 
589
597
  /* On the popover's glass a gray action (a soft primary or secondary one, an outline one, iOS's Gray) takes the
590
598
  alert's fill, see-through as the Dialog's alert actions, its press that fill faded as a soft button's */
591
- :where([data-plex-layout="phone"]) .Popover > .Tip[data-mobile-actions="buttons"] > .Actions > :is([data-variant="soft"]:where([data-color="primary"], [data-color="secondary"]), [data-variant="outline"]):not([data-disabled]):not(:where([data-platform="android"] *)) {
599
+ :where([data-plex-layout="phone"]) .Popover:not([data-material="solid"]) > .Tip[data-mobile-actions="buttons"] > .Actions > :is([data-variant="soft"]:where([data-color="primary"], [data-color="secondary"]), [data-variant="outline"]):not([data-disabled]):not(:where([data-platform="android"] *)) {
592
600
  --button-background-color: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
593
601
  --button-background-color-hover: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
594
602
  --button-background-color-active: var(--dialog-alert-fill, var(--color-background-primary-soft-alpha));
@@ -598,7 +606,15 @@
598
606
  :where([data-plex-layout="phone"]) .Arrow {
599
607
  background: var(--dialog-alert-background, var(--tip-popover-background));
600
608
  backdrop-filter: var(--dialog-alert-backdrop-filter, none);
601
- }/* The Plex Android look (`data-platform="android"`, android.css), after @plexui/react-native's Tip on Android
609
+ }
610
+
611
+ /* material="solid": the tip and its arrow on the opaque elevated surface iOS draws the tip on with Reduce
612
+ Transparency, nothing blurred under them (a tip over a photo); a gray action keeps its own fill */
613
+ :where([data-plex-layout="phone"]) .Popover[data-material="solid"]:not(:where([data-platform="android"] *)) > .Tip,
614
+ :where([data-plex-layout="phone"]) .Popover[data-material="solid"]:not(:where([data-platform="android"] *)) .Arrow {
615
+ background: var(--tip-popover-background);
616
+ backdrop-filter: none;
617
+ }/* The Plex Android look (`data-platform="android"`, android.css), after @plexui/react-native's Tip on Android
602
618
  (decision 0026): a card of the screen's cells with Material 3's rich tooltip inside: 16px corners and 16 inside, a
603
619
  24px symbol 16 before the text, a title 16/24 Medium over a message 14/20 in the secondary text 2 under it, 12 over
604
620
  the actions; Close a bare 24px glyph in the secondary label, in a 48px target 4 from the top and the end. The actions are text buttons side by
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/styles",
3
- "version": "0.17.16",
3
+ "version": "0.17.17",
4
4
  "description": "Framework-agnostic CSS for Plex UI: design tokens, globals and component styles",
5
5
  "type": "module",
6
6
  "license": "MIT",