@plexui/styles 0.16.4 → 0.16.5

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.
@@ -417,13 +417,14 @@
417
417
  color: var(--mobile-label-tertiary, var(--color-text-disabled));
418
418
  }
419
419
 
420
- /* A disabled text field in a row reads as disabled as a whole, as an unavailable row of iOS Settings
421
- is gray: its label dims with its value. (A Select's hidden form input does not count.) */
422
- .Field:where([data-row]):has(> .Content > .Control :is(input:not([type="checkbox"], [type="radio"], [type="hidden"], [aria-hidden="true"]), textarea):disabled) {
420
+ /* A disabled text field in a row dims only its value, as iOS shows a value that cannot be changed: the label
421
+ keeps its color (owner 19.11). A row that is unavailable as a whole, as a gray row
422
+ of iOS Settings, opts in with data-disabled on the Field: its label and description dim too. */
423
+ .Field:where([data-row][data-disabled]) {
423
424
  --field-description-color: var(--mobile-label-quaternary, var(--color-text-disabled));
424
425
  }
425
426
 
426
- .Field:where([data-row]):has(> .Content > .Control :is(input:not([type="checkbox"], [type="radio"], [type="hidden"], [aria-hidden="true"]), textarea):disabled) > .LabelGroup .Label {
427
+ .Field:where([data-row][data-disabled]) > .LabelGroup .Label {
427
428
  color: var(--mobile-label-tertiary, var(--color-text-disabled));
428
429
  }
429
430
 
@@ -832,13 +833,14 @@
832
833
  color: var(--mobile-label-tertiary, var(--color-text-disabled));
833
834
  }
834
835
 
835
- /* A disabled text field in a row reads as disabled as a whole, as an unavailable row of iOS Settings
836
- is gray: its label dims with its value. (A Select's hidden form input does not count.) */
837
- :where([data-plex-layout="phone"]) .Field:where([data-row]):has(> .Content > .Control :is(input:not([type="checkbox"], [type="radio"], [type="hidden"], [aria-hidden="true"]), textarea):disabled) {
836
+ /* A disabled text field in a row dims only its value, as iOS shows a value that cannot be changed: the label
837
+ keeps its color (owner 19.11). A row that is unavailable as a whole, as a gray row
838
+ of iOS Settings, opts in with data-disabled on the Field: its label and description dim too. */
839
+ :where([data-plex-layout="phone"]) .Field:where([data-row][data-disabled]) {
838
840
  --field-description-color: var(--mobile-label-quaternary, var(--color-text-disabled));
839
841
  }
840
842
 
841
- :where([data-plex-layout="phone"]) .Field:where([data-row]):has(> .Content > .Control :is(input:not([type="checkbox"], [type="radio"], [type="hidden"], [aria-hidden="true"]), textarea):disabled) > .LabelGroup .Label {
843
+ :where([data-plex-layout="phone"]) .Field:where([data-row][data-disabled]) > .LabelGroup .Label {
842
844
  color: var(--mobile-label-tertiary, var(--color-text-disabled));
843
845
  }
844
846
 
@@ -167,6 +167,13 @@ background-color: rgba(255, 255, 255, 0.1);
167
167
  flex-direction: column;
168
168
  gap: 16px;
169
169
  }@media (max-width: 767px) {
170
+ /* On a phone the editor is a card of the grouped form, with the corners of a FieldGroup (26), not a desktop
171
+ control's 8; its format buttons are round, as every button of the phone kit (--button-touch-radius), so a
172
+ pressed or active one lights a circle, not a small square (owner 19.11). */
173
+ .Container {
174
+ border-radius: var(--field-group-radius, 26px);
175
+ }
176
+
170
177
  .ToolbarGroup {
171
178
  overflow-x: auto;
172
179
  overscroll-behavior-x: contain;
@@ -178,8 +185,16 @@ background-color: rgba(255, 255, 255, 0.1);
178
185
  width: 44px;
179
186
  height: 44px;
180
187
  flex-shrink: 0;
188
+ border-radius: var(--button-touch-radius, var(--radius-full));
181
189
  }
182
190
  }
191
+ /* On a phone the editor is a card of the grouped form, with the corners of a FieldGroup (26), not a desktop
192
+ control's 8; its format buttons are round, as every button of the phone kit (--button-touch-radius), so a
193
+ pressed or active one lights a circle, not a small square (owner 19.11). */
194
+ :where([data-plex-layout="phone"]) .Container {
195
+ border-radius: var(--field-group-radius, 26px);
196
+ }
197
+
183
198
  :where([data-plex-layout="phone"]) .ToolbarGroup {
184
199
  overflow-x: auto;
185
200
  overscroll-behavior-x: contain;
@@ -191,5 +206,6 @@ background-color: rgba(255, 255, 255, 0.1);
191
206
  width: 44px;
192
207
  height: 44px;
193
208
  flex-shrink: 0;
209
+ border-radius: var(--button-touch-radius, var(--radius-full));
194
210
  }
195
211
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/styles",
3
- "version": "0.16.4",
3
+ "version": "0.16.5",
4
4
  "description": "Framework-agnostic CSS for Plex UI: design tokens, globals and component styles",
5
5
  "type": "module",
6
6
  "license": "MIT",