@flytedan/flytebot-design-system 0.87.0 → 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 +12 -4
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -1111,7 +1111,7 @@
|
|
|
1111
1111
|
transform var(--dur-base) var(--ease),
|
|
1112
1112
|
background var(--dur-fast) var(--ease);
|
|
1113
1113
|
}
|
|
1114
|
-
.fd-coll[
|
|
1114
|
+
.fd-coll-trigger[aria-expanded="true"] > .fd-coll-caret {
|
|
1115
1115
|
transform: rotate(180deg);
|
|
1116
1116
|
background: var(--brand-soft);
|
|
1117
1117
|
color: var(--brand);
|
|
@@ -1127,7 +1127,7 @@
|
|
|
1127
1127
|
grid-template-rows: 0fr;
|
|
1128
1128
|
visibility: hidden;
|
|
1129
1129
|
}
|
|
1130
|
-
.fd-coll[data-open="true"] .fd-coll-panel {
|
|
1130
|
+
.fd-coll[data-open="true"] > .fd-coll-panel {
|
|
1131
1131
|
grid-template-rows: 1fr;
|
|
1132
1132
|
visibility: visible;
|
|
1133
1133
|
transition:
|
|
@@ -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
|