@flytedan/flytebot-design-system 0.50.1 → 0.51.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.50.1",
3
+ "version": "0.51.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",
@@ -1883,8 +1883,9 @@
1883
1883
  overflow: hidden;
1884
1884
  }
1885
1885
  /* The figure and its delta share a line while both fit; when the tile is too narrow for
1886
- * both, the delta wraps onto its own line under the figure. Neither is ever clipped or
1887
- * shrunk: each is one unbreakable unit (nowrap) and only the gap between them yields. */
1886
+ * both, the delta wraps onto its own line under the figure. Each is one unbreakable unit
1887
+ * (`nowrap` on `.fd-stat-figure` and `.fd-stat-delta`), so neither is shrunk or split:
1888
+ * only the gap between them yields. */
1888
1889
  .fd-stat-top {
1889
1890
  display: flex;
1890
1891
  flex-wrap: wrap;
@@ -2713,6 +2714,24 @@
2713
2714
  color: var(--text);
2714
2715
  font-size: var(--body-size);
2715
2716
  }
2717
+ /* ToastProvider's stack: pinned to the bottom-right of the viewport (z-index is set inline
2718
+ from OVERLAY_CEILING, above every layer). The region itself takes no clicks: it has a real
2719
+ box wherever a toast is, including the gap between two stacked toasts and the shadow around
2720
+ each, and without this a click aimed at the control underneath would land on it. Each toast
2721
+ takes its clicks back, so its close button works. */
2722
+ .fd-toast-region {
2723
+ position: fixed;
2724
+ bottom: var(--s-lg);
2725
+ right: var(--s-lg);
2726
+ display: flex;
2727
+ flex-direction: column;
2728
+ gap: var(--s-sm);
2729
+ max-width: calc(100vw - 2 * var(--s-lg));
2730
+ pointer-events: none;
2731
+ }
2732
+ .fd-toast-region > * {
2733
+ pointer-events: auto;
2734
+ }
2716
2735
 
2717
2736
  /* ============ Flag / empty ============ */
2718
2737
  .fd-flag {
@@ -3025,6 +3044,14 @@
3025
3044
  .fd-filterbar-trigger {
3026
3045
  flex: none;
3027
3046
  }
3047
+ /* The count of applied filters, inside the Filter button: the kit's blue count pill, shrunk to
3048
+ sit beside the button's text without making the button taller. */
3049
+ .fd-filterbar-count {
3050
+ min-width: 20px;
3051
+ height: 20px;
3052
+ padding: 0 6px;
3053
+ margin-inline-start: var(--s-sm);
3054
+ }
3028
3055
  .fd-filterbar-chips {
3029
3056
  flex: 1 1 0;
3030
3057
  min-width: 0;