@flytedan/flytebot-design-system 0.84.0 → 0.86.0

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.84.0",
3
+ "version": "0.86.0",
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",
@@ -1047,7 +1047,20 @@
1047
1047
  padding-right: 18px;
1048
1048
  }
1049
1049
  .fd-coll-head .fd-coll-title {
1050
- overflow-wrap: anywhere;
1050
+ overflow-wrap: break-word;
1051
+ }
1052
+ /* DS-47: on a phone the actions drop to their own line under the title and subtitle,
1053
+ aligned with the trigger's content, so the title keeps the full heading width. */
1054
+ @media (max-width: 520px) {
1055
+ .fd-coll-head {
1056
+ flex-wrap: wrap;
1057
+ }
1058
+ .fd-coll-head > .fd-coll-trigger {
1059
+ flex: 1 1 100%;
1060
+ }
1061
+ .fd-coll-actions {
1062
+ padding: 0 18px 14px;
1063
+ }
1051
1064
  }
1052
1065
  .fd-coll-trigger:hover {
1053
1066
  background: var(--surface-2);
@@ -8839,3 +8852,42 @@ button.fd-erow-metric:focus-visible {
8839
8852
  .fd-donut-pop strong { font-weight: 600; }
8840
8853
  .fd-donut-pop .fd-tabular { color: var(--text-muted); }
8841
8854
  [data-contrast="high"] .fd-donut-pop .fd-tabular { color: var(--text); }
8855
+
8856
+ /* DS-49: StatTile `info`. Inline after the label in display mode; in press mode the button is
8857
+ * an overlay sibling of the tile's <button> (no nested buttons) that repeats the label
8858
+ * invisibly so the info button follows its last word. Padding mirrors .fd-stat + its border. */
8859
+ .fd-stat-label .fd-tooltip-anchor {
8860
+ margin-left: 2px;
8861
+ vertical-align: middle;
8862
+ text-transform: none;
8863
+ }
8864
+ .fd-stat-info-wrap {
8865
+ position: relative;
8866
+ min-width: 0;
8867
+ }
8868
+ .fd-stat-info-wrap > .fd-stat-pressable {
8869
+ height: 100%;
8870
+ }
8871
+ .fd-stat-info-overlay {
8872
+ position: absolute;
8873
+ inset: 0;
8874
+ padding: 15px 17px;
8875
+ display: flex;
8876
+ flex-direction: column;
8877
+ justify-content: flex-end;
8878
+ pointer-events: none;
8879
+ min-width: 0;
8880
+ }
8881
+ .fd-stat-info-overlay .fd-stat-label {
8882
+ pointer-events: none;
8883
+ }
8884
+ .fd-stat-info-overlay .fd-tooltip-anchor {
8885
+ pointer-events: auto;
8886
+ }
8887
+ .fd-stat-label-ghost {
8888
+ visibility: hidden;
8889
+ }
8890
+ @media (max-width: 640px) {
8891
+ .fd-stat-info-overlay { padding: 13px 15px; }
8892
+ }
8893
+ .fd-stat-info-wrap.is-compact .fd-stat-info-overlay { padding: 11px 15px; }