@flytedan/flytebot-design-system 0.12.8 → 0.12.9
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/dist/index.cjs +17 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +28 -13
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -4267,22 +4267,37 @@ button.fd-erow-metric:focus-visible {
|
|
|
4267
4267
|
flex-direction: column;
|
|
4268
4268
|
align-items: stretch;
|
|
4269
4269
|
}
|
|
4270
|
-
/* MP-114
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4270
|
+
/* MP-114 (follow-up — the `width: auto` version of this rule regressed the
|
|
4271
|
+
alignment it was supposed to preserve): below this width EntityRow's metric strip
|
|
4272
|
+
stops having room to keep every column at the desktop's fixed --erow-metric-w (set
|
|
4273
|
+
so rows line up with a multi-digit totals footer, see EntityRowMetrics/.fd-erow-cell
|
|
4274
|
+
above) — even each cell's own un-wrapped figure (`.fd-erow-metric`'s
|
|
4275
|
+
`white-space: nowrap` makes its min-content equal its full width) no longer fits
|
|
4276
|
+
together in the strip, and `.fd-erow-metrics`'s `overflow: hidden` was clipping the
|
|
4277
|
+
ones that didn't.
|
|
4278
|
+
The first fix let `.fd-erow-cell` go `width: auto` — but "auto" means "size to your
|
|
4279
|
+
own content", and a row's own figures and TransferList's footer totals almost never
|
|
4280
|
+
have the same digit counts, so the row's strip and the totals strip (the SAME
|
|
4281
|
+
component, at the SAME nominal column widths) drifted apart the moment either one's
|
|
4282
|
+
content did — audience-builder.spec.ts caught this: a row 14px narrower than the
|
|
4283
|
+
totals line under it. A fixed-width cell has to stay fixed-width EVERYWHERE for
|
|
4284
|
+
"the same column lands at the same x on every row and on the totals line" (see
|
|
4285
|
+
.fd-erow-metrics's own comment above) to mean anything, including here. So instead:
|
|
4286
|
+
`flex-shrink: 0` keeps every cell at its exact declared width even when the strip
|
|
4287
|
+
has less room than the three columns need, which the row and the footer both still
|
|
4288
|
+
agree on regardless of what either one's figures say — and `.fd-erow-metrics`
|
|
4289
|
+
scrolls that overflow horizontally instead of clipping it, the same "wide content
|
|
4290
|
+
gets its own scroll container, nothing else has to give" rule DataTable's
|
|
4291
|
+
`.fd-table-wrap` already follows (and the layout auditor already treats an
|
|
4292
|
+
`overflow: auto` ancestor as fine by design). A phone-width row keeps every figure
|
|
4293
|
+
reachable, one swipe away, rather than losing it or drifting out of line with the
|
|
4294
|
+
total it belongs under. */
|
|
4280
4295
|
.fd-erow-cell {
|
|
4281
|
-
|
|
4296
|
+
flex-shrink: 0;
|
|
4282
4297
|
}
|
|
4283
4298
|
.fd-erow-metrics {
|
|
4284
|
-
|
|
4285
|
-
overflow:
|
|
4299
|
+
overflow-x: auto;
|
|
4300
|
+
overflow-y: hidden;
|
|
4286
4301
|
}
|
|
4287
4302
|
}
|
|
4288
4303
|
.fd-tlist-side {
|