@plexui/styles 0.1.20 → 0.1.22

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.
@@ -207,6 +207,8 @@
207
207
  justify-self: stretch;
208
208
  }/* A control that fills the row, such as a list of tags: it starts after the label
209
209
  and ends at the row's edge, on one line for all the rows of a group. */.Field:where([data-row][data-fill]:not([data-orientation="vertical"])) {
210
+ --field-row-gap: 16px;
211
+
210
212
  grid-template-columns: minmax(var(--field-row-label-width), auto) minmax(0, 1fr);
211
213
  }.Field:where([data-row][data-fill]) .Control {
212
214
  justify-self: stretch;
@@ -30,9 +30,6 @@
30
30
  `--tag-input-tag-{height,gutter,font-size}` so the
31
31
  inner pills stay proportional to the container.
32
32
  ============================================= */
33
-
34
- /* Ghost: no frame, for a field that its container already frames, such as
35
- a row of a group. Last in the block: it undoes hover and focus above. */
36
33
  }
37
34
 
38
35
  .Container[data-disabled] {
@@ -124,13 +121,23 @@ box-shadow: 0 0 0 1px var(--gray-500) inset;
124
121
  --tag-input-tag-spacing: 8px;
125
122
  --tag-input-radius: var(--control-radius-xl);
126
123
  }
124
+
125
+ /* Ghost: no frame, for a field that its container already frames, such as
126
+ a row of a group. Last in the block: it undoes hover and focus above. */
127
127
  .Container[data-variant="ghost"],
128
128
  .Container[data-variant="ghost"]:not([data-disabled]),
129
129
  .Container[data-variant="ghost"]:not([data-disabled])[data-focused] {
130
+ --tag-input-tag-radius: var(--control-radius-sm);
131
+
130
132
  min-height: calc(var(--min-rows) * var(--tag-input-height));
131
133
  padding: 0;
132
134
  border-radius: 0;
133
135
  box-shadow: none;
136
+ }
137
+
138
+ /* Chips are solid, so they stand further from a label than a line of text. */
139
+ .Container[data-variant="ghost"]:not([data-empty]) {
140
+ margin-block: 2px;
134
141
  }.TagInput {
135
142
  display: flex;
136
143
  flex-wrap: wrap;
@@ -237,7 +237,7 @@
237
237
  --field-row-padding-inline: 16px;
238
238
  --field-row-gap: 24px;
239
239
  --field-row-control-width: 160px;
240
- --field-row-label-width: 96px;
240
+ --field-row-label-width: 80px;
241
241
  --field-row-row-gap: 2px;
242
242
  --field-row-text-display: flex;
243
243
  --field-row-label-font-size: var(--font-text-sm-size);
@@ -698,9 +698,9 @@
698
698
  --modal-backdrop-background: rgb(0 0 0 / 50%);
699
699
  --page-bar-veil: rgb(0 0 0 / 60%);
700
700
  --page-bar-line: var(--color-border);
701
- --segmented-control-background: var(--gray-0);
702
- --segmented-control-thumb-background: var(--gray-300);
703
- --segmented-control-option-highlight-background-color: var(--gray-300);
701
+ --segmented-control-background: var(--alpha-08);
702
+ --segmented-control-thumb-background: var(--alpha-12);
703
+ --segmented-control-option-highlight-background-color: var(--alpha-08);
704
704
  --slider-track-color: var(--gray-400);
705
705
  --slider-range-color: var(--gray-600);
706
706
  --switch-track-color: var(--gray-400);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/styles",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "description": "Framework-agnostic CSS for Plex UI: design tokens, globals and component styles",
5
5
  "type": "module",
6
6
  "license": "MIT",