@flytedan/flytebot-design-system 0.12.5 → 0.12.7

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": "@flytedan/flytebot-design-system",
3
- "version": "0.12.5",
3
+ "version": "0.12.7",
4
4
  "description": "flytedesk Design System — shared component library, tokens, and business-logic kits for flytedesk apps.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -2192,6 +2192,44 @@
2192
2192
  gap: 2px;
2193
2193
  min-width: 160px;
2194
2194
  }
2195
+ /* MP-117 — every direct child of the overflow list (Ask, a version badge, Appearance,
2196
+ Dev tools, Undo — whatever a screen collapses) is one full-width row, so a compact
2197
+ control that packed tightly against its neighbours in the dense bar (a pill badge, a
2198
+ fixed-size icon square) can't sit at a different width/height than the rest and read
2199
+ as overlapping or uneven once stacked. */
2200
+ .fd-topbar-overflow-list > * {
2201
+ width: 100%;
2202
+ flex: none;
2203
+ }
2204
+ .fd-topbar-overflow-list > .fd-badge {
2205
+ height: var(--control-h-md);
2206
+ border-radius: var(--r-md);
2207
+ justify-content: flex-start;
2208
+ }
2209
+ /* An IconButton rendered here (see OverflowRowContext/IconButton.tsx) trades its
2210
+ dense-bar square for a full labelled row: same icon, same accessible name, now with
2211
+ that name shown as text instead of only living in `aria-label`/`title`. */
2212
+ .fd-btn-icon-row {
2213
+ display: flex;
2214
+ align-items: center;
2215
+ justify-content: flex-start;
2216
+ gap: 10px;
2217
+ width: 100%;
2218
+ height: var(--control-h-md);
2219
+ padding: 0 10px;
2220
+ }
2221
+ .fd-btn-icon-row .ph {
2222
+ font-size: 18px;
2223
+ flex: none;
2224
+ }
2225
+ .fd-btn-icon-row-label {
2226
+ font-size: var(--body-sm-size);
2227
+ font-weight: var(--w-semibold);
2228
+ color: var(--text);
2229
+ white-space: nowrap;
2230
+ overflow: hidden;
2231
+ text-overflow: ellipsis;
2232
+ }
2195
2233
  /* Narrow Topbar (`is-narrow`, set by Topbar from its own `overflowBreakpoint`, so the
2196
2234
  crumb rules and the overflow menu always switch together): earlier crumbs hide (the
2197
2235
  nav drawer `onMenu` opens still reaches them), and the current crumb truncates with
@@ -4229,6 +4267,23 @@ button.fd-erow-metric:focus-visible {
4229
4267
  flex-direction: column;
4230
4268
  align-items: stretch;
4231
4269
  }
4270
+ /* MP-114: below the same width EntityRow's metric strip stops having room to keep
4271
+ every column at the desktop's fixed --erow-metric-w (set so rows line up with a
4272
+ multi-digit totals footer, see EntityRowMetrics/.fd-erow-cell above) — even each
4273
+ cell's own un-wrapped figure (`.fd-erow-metric`'s `white-space: nowrap` makes its
4274
+ min-content equal its full width) no longer fits together in the strip, and
4275
+ `.fd-erow-metrics`'s `overflow: hidden` was clipping the ones that didn't. A
4276
+ stacked phone pane never regains that room, so the fixed-column alignment this
4277
+ component is built for is traded, at this width only, for every metric staying a
4278
+ whole, readable button: cells size to their own content instead of the desktop
4279
+ column width, and the strip wraps instead of clipping. */
4280
+ .fd-erow-cell {
4281
+ width: auto;
4282
+ }
4283
+ .fd-erow-metrics {
4284
+ flex-wrap: wrap;
4285
+ overflow: visible;
4286
+ }
4232
4287
  }
4233
4288
  .fd-tlist-side {
4234
4289
  flex: 1;