@plexui/styles 0.13.0 → 0.14.0

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.
@@ -1798,6 +1798,8 @@
1798
1798
  --mobile-neutral-outline-background: initial;
1799
1799
  --mobile-neutral-outline-hover: initial;
1800
1800
  --mobile-neutral-outline-active: initial;
1801
+ /* A plain sheet inside a grouped surface keeps the gray tip (the grouped rule below sets it) */
1802
+ --alert-phone-background: initial;
1801
1803
  --page-bar-veil: color-mix(in srgb, var(--dialog-panel-background) var(--page-bar-veil-opacity), transparent);
1802
1804
  }
1803
1805
 
@@ -1805,6 +1807,8 @@
1805
1807
  --mobile-surface-primary: var(--mobile-surface-elevated-grouped-primary, var(--color-surface-elevated-secondary));
1806
1808
  --mobile-surface-secondary: var(--mobile-surface-elevated-grouped-secondary, var(--color-surface-elevated));
1807
1809
  --mobile-surface-tertiary: var(--mobile-surface-elevated-grouped-tertiary, var(--color-surface-elevated-secondary));
1810
+ /* A gray tip (Alert) is a cell of the sheet there, as a group is (Page.module.css) */
1811
+ --alert-phone-background: var(--mobile-surface-secondary);
1808
1812
  --file-upload-list-background: var(--mobile-surface-secondary);
1809
1813
  --file-upload-list-border-width: 0px;
1810
1814
  --mobile-neutral-outline-background: var(--mobile-surface-secondary);
@@ -1823,6 +1827,8 @@
1823
1827
  --mobile-neutral-outline-background: initial;
1824
1828
  --mobile-neutral-outline-hover: initial;
1825
1829
  --mobile-neutral-outline-active: initial;
1830
+ /* A plain sheet inside a grouped surface keeps the gray tip (the grouped rule below sets it) */
1831
+ --alert-phone-background: initial;
1826
1832
  --page-bar-veil: color-mix(in srgb, var(--dialog-panel-background) var(--page-bar-veil-opacity), transparent);
1827
1833
  }
1828
1834
 
@@ -1830,6 +1836,8 @@
1830
1836
  --mobile-surface-primary: var(--mobile-surface-elevated-grouped-primary, var(--color-surface-elevated-secondary));
1831
1837
  --mobile-surface-secondary: var(--mobile-surface-elevated-grouped-secondary, var(--color-surface-elevated));
1832
1838
  --mobile-surface-tertiary: var(--mobile-surface-elevated-grouped-tertiary, var(--color-surface-elevated-secondary));
1839
+ /* A gray tip (Alert) is a cell of the sheet there, as a group is (Page.module.css) */
1840
+ --alert-phone-background: var(--mobile-surface-secondary);
1833
1841
  --file-upload-list-background: var(--mobile-surface-secondary);
1834
1842
  --file-upload-list-border-width: 0px;
1835
1843
  --mobile-neutral-outline-background: var(--mobile-surface-secondary);
@@ -97,8 +97,8 @@
97
97
  under it, also at full width; the chevron stays at the end, centred on the row. The row's padding is unchanged. */.NavigationRow[data-value-below] .Content {
98
98
  display: grid;
99
99
  grid-template-columns: minmax(0, 1fr) auto;
100
- -moz-column-gap: var(--field-row-disclosure-gap, 8px);
101
- column-gap: var(--field-row-disclosure-gap, 8px);
100
+ /* The lines touch, as the label and the description do (a subtitle cell's two lines) */
101
+ gap: 0 var(--field-row-disclosure-gap, 8px);
102
102
  align-items: center;
103
103
  }.NavigationRow[data-value-below] .Text {
104
104
  display: contents;
@@ -114,8 +114,10 @@
114
114
  color: var(--navigation-row-value-color, var(--mobile-label-secondary, var(--color-text-secondary)));
115
115
  }.NavigationRow[data-value-below] .Description {
116
116
  grid-area: 3 / 1;
117
- }.NavigationRow[data-value-below] .Disclosure {
118
- grid-area: 1 / 2 / span 3 / 3;
117
+ }/* The chevron spans the rows there are, so no empty row (and no space) is added under the value */.NavigationRow[data-value-below] .Disclosure {
118
+ grid-area: 1 / 2 / span 2 / 3;
119
+ }.NavigationRow[data-value-below][data-description] .Disclosure {
120
+ grid-row: 1 / span 3;
119
121
  }/* "auto" measures the label and the value on one line each, beside each other, in the end layout's own limits (the
120
122
  value's cap, a columns label's column): it fits when neither overflows its box and the row does not overflow. */.NavigationRow[data-measuring] .Text {
121
123
  flex: none;
@@ -142,6 +142,8 @@
142
142
  --mobile-neutral-outline-background: initial;
143
143
  --mobile-neutral-outline-hover: initial;
144
144
  --mobile-neutral-outline-active: initial;
145
+ /* A plain page inside a grouped one keeps the gray tip (the grouped rule below sets it) */
146
+ --alert-phone-background: initial;
145
147
  --page-bar-veil: color-mix(in srgb, var(--page-background) var(--page-bar-veil-opacity), transparent);
146
148
  }
147
149
 
@@ -149,6 +151,9 @@
149
151
  --mobile-surface-primary: var(--mobile-surface-grouped-primary, var(--color-surface-secondary));
150
152
  --mobile-surface-secondary: var(--mobile-surface-grouped-secondary, var(--color-surface));
151
153
  --mobile-surface-tertiary: var(--mobile-surface-grouped-tertiary, var(--color-surface-secondary));
154
+ /* A gray tip (Alert) is a cell of the screen there, as a group is, not a darker gray on the gray ground
155
+ (owner 15.11 via the console: «почему у карточки такой цвет?») */
156
+ --alert-phone-background: var(--mobile-surface-secondary);
152
157
  --file-upload-list-background: var(--mobile-surface-secondary);
153
158
  --file-upload-list-border-width: 0px;
154
159
  --mobile-neutral-outline-background: var(--mobile-surface-secondary);
@@ -573,6 +578,8 @@
573
578
  --mobile-neutral-outline-background: initial;
574
579
  --mobile-neutral-outline-hover: initial;
575
580
  --mobile-neutral-outline-active: initial;
581
+ /* A plain page inside a grouped one keeps the gray tip (the grouped rule below sets it) */
582
+ --alert-phone-background: initial;
576
583
  --page-bar-veil: color-mix(in srgb, var(--page-background) var(--page-bar-veil-opacity), transparent);
577
584
  }
578
585
 
@@ -580,6 +587,9 @@
580
587
  --mobile-surface-primary: var(--mobile-surface-grouped-primary, var(--color-surface-secondary));
581
588
  --mobile-surface-secondary: var(--mobile-surface-grouped-secondary, var(--color-surface));
582
589
  --mobile-surface-tertiary: var(--mobile-surface-grouped-tertiary, var(--color-surface-secondary));
590
+ /* A gray tip (Alert) is a cell of the screen there, as a group is, not a darker gray on the gray ground
591
+ (owner 15.11 via the console: «почему у карточки такой цвет?») */
592
+ --alert-phone-background: var(--mobile-surface-secondary);
583
593
  --file-upload-list-background: var(--mobile-surface-secondary);
584
594
  --file-upload-list-border-width: 0px;
585
595
  --mobile-neutral-outline-background: var(--mobile-surface-secondary);
@@ -95,7 +95,7 @@
95
95
  }.Icon {
96
96
  width: var(--stepper-icon-size);
97
97
  height: var(--stepper-icon-size);
98
- }/* The PlexUI minus is shorter than the plus (12 and 14 of 24); a phone draws it as long, as iOS does (touch.css). */.Segment[data-segment="decrement"] > .Icon {
98
+ }/* The PlexUI minus is shorter than the plus (12 and 14 of 24); a phone draws it as long, as iOS does (touch.css). */.Segment[data-segment="decrement"]:not([data-remove]) > .Icon {
99
99
  scale: var(--stepper-decrement-icon-scale, none);
100
100
  }
101
101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/styles",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Framework-agnostic CSS for Plex UI: design tokens, globals and component styles",
5
5
  "type": "module",
6
6
  "license": "MIT",