@flytedan/flytebot-design-system 0.12.2 → 0.12.4
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 +29 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +49 -31
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +13 -4
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -2180,7 +2180,12 @@
|
|
|
2180
2180
|
/* Narrow Topbar (`is-narrow`, set by Topbar from its own `overflowBreakpoint`, so the
|
|
2181
2181
|
crumb rules and the overflow menu always switch together): earlier crumbs hide (the
|
|
2182
2182
|
nav drawer `onMenu` opens still reaches them), and the current crumb truncates with
|
|
2183
|
-
an ellipsis instead of spilling its text outside a zero-width box.
|
|
2183
|
+
an ellipsis instead of spilling its text outside a zero-width box.
|
|
2184
|
+
The crumb also grows (`flex: 1 1 auto`) so it, not the row spacer, takes the width
|
|
2185
|
+
the collapsed controls free. */
|
|
2186
|
+
.fd-topbar.is-narrow .fd-crumb {
|
|
2187
|
+
flex: 1 1 auto;
|
|
2188
|
+
}
|
|
2184
2189
|
.fd-topbar.is-narrow .fd-crumb > *:not(:last-child) {
|
|
2185
2190
|
display: none;
|
|
2186
2191
|
}
|
|
@@ -2328,6 +2333,8 @@
|
|
|
2328
2333
|
border-top: 1px solid var(--border);
|
|
2329
2334
|
background: var(--surface-2);
|
|
2330
2335
|
}
|
|
2336
|
+
/* z-index below is a resting default only — Drawer.tsx sets it (and its scrim's) inline
|
|
2337
|
+
via useOverlayLayer(DRAWER_BASE), which wins over this rule (see Popover.tsx). */
|
|
2331
2338
|
.fd-drawer {
|
|
2332
2339
|
position: fixed;
|
|
2333
2340
|
top: 0;
|
|
@@ -2351,9 +2358,11 @@
|
|
|
2351
2358
|
min-width: 0;
|
|
2352
2359
|
}
|
|
2353
2360
|
/* Portaled to document.body and placed by Tooltip.tsx (fixed, anchored geometry), so no
|
|
2354
|
-
overflow: hidden ancestor of the trigger can clip it.
|
|
2355
|
-
|
|
2356
|
-
|
|
2361
|
+
overflow: hidden ancestor of the trigger can clip it. Short labels stay on one line
|
|
2362
|
+
(max-content); a sentence wraps at a readable measure instead of running off-screen.
|
|
2363
|
+
The z-index below is a resting default only — Tooltip.tsx always sets it inline via
|
|
2364
|
+
useOverlayLayer(TOOLTIP_BASE), which wins over this rule and is what actually keeps a
|
|
2365
|
+
tip above whatever popover its trigger happens to be nested inside (see Popover.tsx). */
|
|
2357
2366
|
.fd-tooltip {
|
|
2358
2367
|
position: fixed;
|
|
2359
2368
|
z-index: 150;
|