@apliteni/apliteni-ui 0.58.1 → 0.58.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apliteni/apliteni-ui",
3
- "version": "0.58.1",
3
+ "version": "0.58.2",
4
4
  "workspaces": [
5
5
  "react"
6
6
  ],
@@ -164,7 +164,7 @@
164
164
  .ui-dropdown__tick { margin-left: auto; flex: none; display: none; color: var(--accent); }
165
165
  .ui-dropdown__tick svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; }
166
166
  .ui-dropdown__item.is-selected .ui-dropdown__tick { display: inline-flex; } /* motion: still — a mark inside a row whose highlight already transitions; picking it closes the panel, which fades out over --dur-med */
167
- .ui-dropdown__item.is-selected .ui-dropdown__label { color: var(--accent); }
167
+ .ui-dropdown__item.is-selected .ui-dropdown__label { color: var(--text); }
168
168
 
169
169
  /* When a row has both a badge and a tick, keep the badge from eating the margin */
170
170
  .ui-dropdown__badge + .ui-dropdown__tick { margin-left: 8px; }
@@ -174,20 +174,17 @@
174
174
  /* rank: chip */
175
175
  font-size: var(--text-xs);
176
176
  font-weight: var(--weight-semibold);
177
- padding: 2px 7px;
177
+ padding: 3px 9px;
178
178
  border-radius: var(--radius-pill);
179
179
  margin-left: auto;
180
180
  flex: none;
181
181
  color: var(--text);
182
- /* A chip is the top step. why: docs/specification.md#elevation */
183
- background: var(--surface); /* ring-gap: inherit — decorative or text-only surface has no nested focus target. */
182
+ background: color-mix(in srgb, var(--muted) 12%, transparent); /* ring-gap: inherit — decorative or text-only surface has no nested focus target. */
184
183
  }
185
184
  .ui-dropdown__badge.is-live { color: var(--chip-success-ink); background: var(--chip-success-fill); /* ring-gap: inherit — decorative or text-only surface has no nested focus target. */ }
186
- /* The accent counter keeps the badge's flat surface and changes only the ink — the shape
187
- src/styles/nav.css:158 `.ui-nav__item.is-active .ui-nav__badge.is-accent` already holds.
188
- The accent wash goes on a base surface, never a raised one, and #295 made this panel a
189
- raised one. why: docs/specification.md#elevation */
190
- .ui-dropdown__badge.is-accent { color: var(--accent); background: var(--surface); /* ring-gap: inherit — decorative or text-only surface has no nested focus target. */ }
185
+ :root[data-theme="light"] .ui-dropdown__badge:not(.is-live) {
186
+ background: color-mix(in srgb, var(--muted) 15%, transparent); /* ring-gap: inherit — decorative or text-only surface has no nested focus target. */
187
+ }
191
188
 
192
189
  /* Disabled + danger rows */
193
190
  .ui-dropdown__item.is-disabled { /* muted-ink: state — unavailable control */ color: var(--disabled-ink); cursor: not-allowed; pointer-events: none; }
@@ -291,4 +288,7 @@
291
288
  .ui-dropdown__none-title { font-size: calc(var(--text-sm) - 0.5px); font-weight: 600; color: var(--strong); }
292
289
  .ui-dropdown__none-hint { font-size: var(--text-xs); color: var(--text); line-height: 1.35; }
293
290
 
294
- .ui-dropdown__badge.is-state { /* muted-ink: state — off, unset, disabled or archived badge */ color: var(--muted); }
291
+ .ui-dropdown__badge.is-state {
292
+ /* muted-ink: state — off, unset, disabled or archived badge */
293
+ color: var(--muted);
294
+ }