@flytedan/flytebot-design-system 0.55.1 → 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/dist/index.cjs +26 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +26 -24
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +8 -22
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -2629,6 +2629,7 @@
|
|
|
2629
2629
|
}
|
|
2630
2630
|
.fd-modal-body {
|
|
2631
2631
|
padding: 0 24px 22px;
|
|
2632
|
+
position: relative; /* MP-298: contains absolutely positioned sr content, see .fd-scroll */
|
|
2632
2633
|
overflow: auto;
|
|
2633
2634
|
}
|
|
2634
2635
|
.fd-modal-foot {
|
|
@@ -2888,6 +2889,7 @@
|
|
|
2888
2889
|
.fd-pop-body {
|
|
2889
2890
|
flex: 1 1 auto;
|
|
2890
2891
|
min-height: 0;
|
|
2892
|
+
position: relative; /* MP-298: contains absolutely positioned sr content, see .fd-scroll */
|
|
2891
2893
|
overflow-x: hidden;
|
|
2892
2894
|
overflow-y: auto;
|
|
2893
2895
|
overscroll-behavior: contain;
|
|
@@ -3585,6 +3587,9 @@
|
|
|
3585
3587
|
}
|
|
3586
3588
|
.fd-scroll {
|
|
3587
3589
|
flex: 1;
|
|
3590
|
+
/* MP-298: positioned so an absolutely positioned child (a chart's `.fd-sr` data table) is
|
|
3591
|
+
contained and clipped by this scroller instead of stretching the page behind it. */
|
|
3592
|
+
position: relative;
|
|
3588
3593
|
overflow: auto;
|
|
3589
3594
|
padding: var(--gutter-lg);
|
|
3590
3595
|
}
|
|
@@ -7403,19 +7408,11 @@ button.fd-erow-metric:focus-visible {
|
|
|
7403
7408
|
border: 1.5px solid var(--surface);
|
|
7404
7409
|
animation: fd-badge-pop 260ms var(--ease) both;
|
|
7405
7410
|
}
|
|
7406
|
-
/*
|
|
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. */
|
|
7407
7413
|
.fd-mode-pop {
|
|
7408
|
-
position: absolute;
|
|
7409
|
-
top: calc(100% + 8px);
|
|
7410
|
-
right: 0;
|
|
7411
|
-
width: 400px;
|
|
7412
|
-
max-width: calc(100vw - 32px);
|
|
7413
|
-
display: block;
|
|
7414
|
-
background: var(--surface);
|
|
7415
|
-
border: 1px solid var(--border);
|
|
7416
7414
|
border-radius: 12px;
|
|
7417
7415
|
box-shadow: 0 20px 52px rgba(11, 13, 17, 0.2);
|
|
7418
|
-
overflow: hidden;
|
|
7419
7416
|
}
|
|
7420
7417
|
.fd-mode-choice {
|
|
7421
7418
|
display: grid;
|
|
@@ -7948,21 +7945,10 @@ button.fd-erow-metric:focus-visible {
|
|
|
7948
7945
|
padding-left: 14px;
|
|
7949
7946
|
}
|
|
7950
7947
|
.fd-fb-menu-anchor {
|
|
7951
|
-
position: relative;
|
|
7952
7948
|
display: inline-flex;
|
|
7953
7949
|
}
|
|
7950
|
+
/* The Move menu's items, inside its Popover surface (InlinePanelSurface). */
|
|
7954
7951
|
.fd-fb-menu {
|
|
7955
|
-
position: absolute;
|
|
7956
|
-
top: calc(100% + 4px);
|
|
7957
|
-
right: 0;
|
|
7958
|
-
z-index: 10;
|
|
7959
|
-
width: 220px;
|
|
7960
|
-
max-height: 280px;
|
|
7961
|
-
overflow: auto;
|
|
7962
|
-
background: var(--surface);
|
|
7963
|
-
border: 1px solid var(--border);
|
|
7964
|
-
border-radius: var(--r-lg);
|
|
7965
|
-
box-shadow: 0 16px 44px rgba(11, 13, 17, .18);
|
|
7966
7952
|
padding: 6px;
|
|
7967
7953
|
display: flex;
|
|
7968
7954
|
flex-direction: column;
|