@flytedan/flytebot-design-system 0.87.1 → 0.87.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/dist/index.cjs +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +45 -37
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +10 -2
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -4705,7 +4705,9 @@
|
|
|
4705
4705
|
margin-top: 2px;
|
|
4706
4706
|
}
|
|
4707
4707
|
.fd-donut-legend {
|
|
4708
|
-
|
|
4708
|
+
/* Basis is the widest row, so the legend takes the room it needs beside the ring and drops below it
|
|
4709
|
+
(full width) only when that room is not there. */
|
|
4710
|
+
flex: 1 1 max-content;
|
|
4709
4711
|
min-width: 160px;
|
|
4710
4712
|
margin-top: 0;
|
|
4711
4713
|
flex-direction: column;
|
|
@@ -4714,14 +4716,20 @@
|
|
|
4714
4716
|
}
|
|
4715
4717
|
/* DS-54: the legend row now carries the count too, so the label may wrap inside a narrow
|
|
4716
4718
|
container instead of pushing the chart past it. */
|
|
4717
|
-
.fd-donut-legend
|
|
4719
|
+
.fd-donut-legend > li {
|
|
4718
4720
|
max-width: 100%;
|
|
4721
|
+
}
|
|
4722
|
+
.fd-donut-legend .fd-chart-legend-item {
|
|
4719
4723
|
text-align: left;
|
|
4720
4724
|
}
|
|
4721
4725
|
.fd-donut-legend .fd-chart-legend-label {
|
|
4722
4726
|
white-space: normal;
|
|
4723
4727
|
min-width: 0;
|
|
4724
4728
|
}
|
|
4729
|
+
/* The `pct% · count` part of a row never splits; only a long label wraps. */
|
|
4730
|
+
.fd-donut-legend-value {
|
|
4731
|
+
white-space: nowrap;
|
|
4732
|
+
}
|
|
4725
4733
|
|
|
4726
4734
|
/* BarList */
|
|
4727
4735
|
/* One shared column set for the whole list, so every row's label, bar, value and percent
|