@plexui/styles 0.1.37 → 0.1.38

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.
@@ -782,8 +782,10 @@
782
782
 
783
783
  /* The bar of a phone Sheet holds its title alone, centered on the row (iOS 27 kit Sheets 507-24684; owner
784
784
  09.11): the description reads as the first text of the content under the bar, in the type of the sheet
785
- and the label color, as the kit 27 alert writes its message. In Dialog.Body it starts the body and
786
- scrolls with it; without a body it stands under the bar, at the body's insets. */
785
+ and the label color, as the kit 27 alert writes its message. In Dialog.Body, or a Dialog.DescriptionSlot
786
+ at the top of content of the app's own, it starts that content and scrolls with it; without either it
787
+ stands under the bar, in flow, at the body's insets. The margins sit on the text itself, so a description
788
+ hidden on a phone (display none, or visually hidden) leaves no space. */
787
789
  .SheetDescriptionSlot,
788
790
  .SheetDescription {
789
791
  display: contents;
@@ -797,7 +799,7 @@
797
799
  margin: var(--page-bar-soft-tail, 32px) var(--mobile-layout-margin, 16px) 16px;
798
800
  }
799
801
 
800
- .Body > .SheetDescriptionSlot:not(:last-child) .Description {
802
+ .SheetDescriptionSlot:not(:last-child) .Description {
801
803
  margin-bottom: 16px;
802
804
  }
803
805
 
@@ -1219,8 +1221,10 @@
1219
1221
 
1220
1222
  /* The bar of a phone Sheet holds its title alone, centered on the row (iOS 27 kit Sheets 507-24684; owner
1221
1223
  09.11): the description reads as the first text of the content under the bar, in the type of the sheet
1222
- and the label color, as the kit 27 alert writes its message. In Dialog.Body it starts the body and
1223
- scrolls with it; without a body it stands under the bar, at the body's insets. */
1224
+ and the label color, as the kit 27 alert writes its message. In Dialog.Body, or a Dialog.DescriptionSlot
1225
+ at the top of content of the app's own, it starts that content and scrolls with it; without either it
1226
+ stands under the bar, in flow, at the body's insets. The margins sit on the text itself, so a description
1227
+ hidden on a phone (display none, or visually hidden) leaves no space. */
1224
1228
  :where([data-plex-layout="phone"]) .SheetDescriptionSlot,
1225
1229
  :where([data-plex-layout="phone"]) .SheetDescription {
1226
1230
  display: contents;
@@ -1234,7 +1238,7 @@
1234
1238
  margin: var(--page-bar-soft-tail, 32px) var(--mobile-layout-margin, 16px) 16px;
1235
1239
  }
1236
1240
 
1237
- :where([data-plex-layout="phone"]) .Body > .SheetDescriptionSlot:not(:last-child) .Description {
1241
+ :where([data-plex-layout="phone"]) .SheetDescriptionSlot:not(:last-child) .Description {
1238
1242
  margin-bottom: 16px;
1239
1243
  }
1240
1244
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/styles",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "description": "Framework-agnostic CSS for Plex UI: design tokens, globals and component styles",
5
5
  "type": "module",
6
6
  "license": "MIT",