@flytedan/flytebot-design-system 0.85.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.85.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",
@@ -8852,3 +8852,42 @@ button.fd-erow-metric:focus-visible {
8852
8852
  .fd-donut-pop strong { font-weight: 600; }
8853
8853
  .fd-donut-pop .fd-tabular { color: var(--text-muted); }
8854
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; }