@plexui/styles 0.1.18 → 0.1.19

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.
@@ -205,6 +205,12 @@
205
205
  grid-column: 1;
206
206
  grid-row: auto;
207
207
  justify-self: stretch;
208
+ }/* A framed field in a row: its width cannot follow what is typed, so it has one.
209
+ A ghost has the row for its frame, a Select follows its value. */.Field:where([data-row]:not([data-orientation="vertical"])) .Control:has(
210
+ [data-variant]:not([data-variant="ghost"]) > input,
211
+ [data-variant]:not([data-variant="ghost"]) > textarea
212
+ ) {
213
+ width: var(--field-row-control-width);
208
214
  }/* A ghost field in a row: the row is its frame. Beside the label the value takes
209
215
  the rest of the line and ends at the row's edge, under it the value starts
210
216
  where the label does. An error is the line of words under both, not a frame. */.Field:where([data-row]:not([data-orientation="vertical"])):has(
@@ -236,6 +236,7 @@
236
236
  --field-row-text-padding-block: 10px;
237
237
  --field-row-padding-inline: 16px;
238
238
  --field-row-gap: 24px;
239
+ --field-row-control-width: 160px;
239
240
  --field-row-row-gap: 2px;
240
241
  --field-row-text-display: flex;
241
242
  --field-row-label-font-size: var(--font-text-sm-size);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/styles",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Framework-agnostic CSS for Plex UI: design tokens, globals and component styles",
5
5
  "type": "module",
6
6
  "license": "MIT",