@flytedan/flytebot-design-system 0.74.0 → 0.75.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.74.0",
3
+ "version": "0.75.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",
@@ -2572,6 +2572,63 @@
2572
2572
  opacity: 0;
2573
2573
  pointer-events: none;
2574
2574
  }
2575
+ /* DS-26: AppShell's docked side panel. The outer box animates width in and out (the content beside it reflows
2576
+ with it); the inner box keeps the full width so what is inside slides rather than rewraps. Both keyframes
2577
+ leave one end implicit, so it is the panel's live width: a resized panel opens to the width it was left at.
2578
+ The exit runs for PANEL_EXIT_MS (kits/useClosingAnimation.ts), like .fd-drawer.is-closing. Only an open that follows
2579
+ a close slides in (.is-entering): a panel that is open when it mounts is simply there. */
2580
+ .fd-sidepanel {
2581
+ flex: none;
2582
+ min-width: 0;
2583
+ overflow: hidden;
2584
+ background: var(--surface);
2585
+ border-left: 1px solid var(--border);
2586
+ }
2587
+ .fd-sidepanel.is-entering {
2588
+ animation: fd-sidepanel-in 220ms var(--ease-out) backwards;
2589
+ }
2590
+ .fd-sidepanel.is-closing {
2591
+ animation: fd-sidepanel-out 220ms var(--ease) both;
2592
+ }
2593
+ @keyframes fd-sidepanel-in {
2594
+ from {
2595
+ width: 0;
2596
+ }
2597
+ }
2598
+ @keyframes fd-sidepanel-out {
2599
+ to {
2600
+ width: 0;
2601
+ }
2602
+ }
2603
+ @media (prefers-reduced-motion: reduce) {
2604
+ .fd-sidepanel.is-entering,
2605
+ .fd-sidepanel.is-closing {
2606
+ animation-duration: 1ms;
2607
+ }
2608
+ }
2609
+ .fd-sidepanel-inner {
2610
+ position: relative;
2611
+ height: 100%;
2612
+ display: flex;
2613
+ flex-direction: column;
2614
+ min-height: 0;
2615
+ }
2616
+ .fd-sidepanel-grip {
2617
+ position: absolute;
2618
+ left: 0;
2619
+ top: 0;
2620
+ bottom: 0;
2621
+ width: 6px;
2622
+ cursor: col-resize;
2623
+ touch-action: none;
2624
+ z-index: 4;
2625
+ transition: background var(--dur-fast) var(--ease);
2626
+ }
2627
+ .fd-sidepanel-grip:hover,
2628
+ .fd-sidepanel-grip:focus-visible,
2629
+ .fd-sidepanel.is-resizing .fd-sidepanel-grip {
2630
+ background: color-mix(in oklab, var(--brand) 26%, transparent);
2631
+ }
2575
2632
  .fd-side-group {
2576
2633
  font-size: var(--overline-size);
2577
2634
  letter-spacing: var(--overline-track);
@@ -6610,10 +6667,10 @@ button.fd-erow-metric:focus-visible {
6610
6667
  }
6611
6668
 
6612
6669
  /* surfaces */
6670
+ /* DS-26: fills the panel it is put in; AppShell's side panel (.fd-sidepanel) owns the width and the edge. */
6613
6671
  .fdc-panel.is-sidebar {
6614
6672
  height: 100%;
6615
- border-left: 1px solid var(--chat-border);
6616
- flex: none;
6673
+ width: 100%;
6617
6674
  }
6618
6675
  .fdc-panel.is-inline {
6619
6676
  border: 1px solid var(--chat-border);
@@ -6649,23 +6706,7 @@ button.fd-erow-metric:focus-visible {
6649
6706
  width: 100%;
6650
6707
  }
6651
6708
 
6652
- .fdc-grip {
6653
- position: absolute;
6654
- left: -3px;
6655
- top: 0;
6656
- bottom: 0;
6657
- width: 7px;
6658
- cursor: col-resize;
6659
- z-index: 4;
6660
- background: none;
6661
- transition: background var(--dur-fast) var(--ease);
6662
- }
6663
- .fdc-grip:hover,
6664
- .fdc-grip:focus-visible {
6665
- background: color-mix(in oklab, var(--brand) 26%, transparent);
6666
- }
6667
-
6668
- /* header — height tracks the app topbar so a docked panel lines up with it exactly */
6709
+ /* header — the same height as the app topbar (--topbar-h), the one header size across the shell */
6669
6710
  .fdc-head {
6670
6711
  display: flex;
6671
6712
  align-items: center;
@@ -7651,10 +7692,6 @@ button.fd-erow-metric:focus-visible {
7651
7692
  }
7652
7693
 
7653
7694
  @media (max-width: 768px) {
7654
- .fdc-panel.is-sidebar {
7655
- width: 100% !important;
7656
- border-left: 0;
7657
- }
7658
7695
  .fdc-log {
7659
7696
  padding-left: 14px;
7660
7697
  padding-right: 14px;