@flytedan/flytebot-design-system 0.55.2 → 0.55.3

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.55.2",
3
+ "version": "0.55.3",
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",
@@ -7408,19 +7408,11 @@ button.fd-erow-metric:focus-visible {
7408
7408
  border: 1.5px solid var(--surface);
7409
7409
  animation: fd-badge-pop 260ms var(--ease) both;
7410
7410
  }
7411
- /* z-index is set inline by ModeSwitch.tsx via useInlinePanel, from useLayerZIndex (kits/layerStack.tsx). */
7411
+ /* The mode panel is a Popover surface (.fd-pop) opened through InlinePanelSurface, which owns its
7412
+ position, width and z-index. This is only its own look. */
7412
7413
  .fd-mode-pop {
7413
- position: absolute;
7414
- top: calc(100% + 8px);
7415
- right: 0;
7416
- width: 400px;
7417
- max-width: calc(100vw - 32px);
7418
- display: block;
7419
- background: var(--surface);
7420
- border: 1px solid var(--border);
7421
7414
  border-radius: 12px;
7422
7415
  box-shadow: 0 20px 52px rgba(11, 13, 17, 0.2);
7423
- overflow: hidden;
7424
7416
  }
7425
7417
  .fd-mode-choice {
7426
7418
  display: grid;
@@ -7953,21 +7945,10 @@ button.fd-erow-metric:focus-visible {
7953
7945
  padding-left: 14px;
7954
7946
  }
7955
7947
  .fd-fb-menu-anchor {
7956
- position: relative;
7957
7948
  display: inline-flex;
7958
7949
  }
7950
+ /* The Move menu's items, inside its Popover surface (InlinePanelSurface). */
7959
7951
  .fd-fb-menu {
7960
- position: absolute;
7961
- top: calc(100% + 4px);
7962
- right: 0;
7963
- z-index: 10;
7964
- width: 220px;
7965
- max-height: 280px;
7966
- overflow: auto;
7967
- background: var(--surface);
7968
- border: 1px solid var(--border);
7969
- border-radius: var(--r-lg);
7970
- box-shadow: 0 16px 44px rgba(11, 13, 17, .18);
7971
7952
  padding: 6px;
7972
7953
  display: flex;
7973
7954
  flex-direction: column;