@flytedan/flytebot-design-system 0.55.0 → 0.55.2
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 +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +9 -2
package/dist/index.d.cts
CHANGED
|
@@ -397,7 +397,8 @@ declare function ScreenHead({ kicker, title, lede, actions }: ScreenHeadProps):
|
|
|
397
397
|
* `@container` query — the grid element already sizes itself off its parent, the same as any
|
|
398
398
|
* other block box. `--card-grid-min` (default 280px) is the floor a card may shrink to before
|
|
399
399
|
* a track drops; two 280px cards plus the gap don't fit in a 375px-wide content column, so
|
|
400
|
-
* that width is always exactly one column
|
|
400
|
+
* that width is always exactly one column (a `minCardWidth` wider than the container clamps to
|
|
401
|
+
* the container: the track floor is `min(100%, var(--card-grid-min))`, MP-299), and a typical ~1280px desktop content column fits
|
|
401
402
|
* four (see CardGrid.browser.test.tsx for the measured counts this rests on, including the
|
|
402
403
|
* container-vs-viewport regression case added under review comment 2920 finding 1: a fixed-
|
|
403
404
|
* width container nested inside a differently-sized real viewport still shows the container's
|
|
@@ -437,7 +438,8 @@ interface CardGridProps {
|
|
|
437
438
|
children?: React.ReactNode;
|
|
438
439
|
/** The width, in px, a card may shrink to before a column drops. Default 280 is tuned so a
|
|
439
440
|
* 375px-wide content column (a phone) is always exactly one column and a ~1280px desktop
|
|
440
|
-
* content column fits four — see the file doc comment.
|
|
441
|
+
* content column fits four — see the file doc comment. A value wider than the container
|
|
442
|
+
* collapses to one full-width column rather than overflowing it. */
|
|
441
443
|
minCardWidth?: number;
|
|
442
444
|
/** One of the spacing scale's named tiers (styles/tokens.css's `--s-*`), same vocabulary as
|
|
443
445
|
* `fd-gap-*` (SMS-7). Applies to both the row and column gap. */
|
package/dist/index.d.ts
CHANGED
|
@@ -397,7 +397,8 @@ declare function ScreenHead({ kicker, title, lede, actions }: ScreenHeadProps):
|
|
|
397
397
|
* `@container` query — the grid element already sizes itself off its parent, the same as any
|
|
398
398
|
* other block box. `--card-grid-min` (default 280px) is the floor a card may shrink to before
|
|
399
399
|
* a track drops; two 280px cards plus the gap don't fit in a 375px-wide content column, so
|
|
400
|
-
* that width is always exactly one column
|
|
400
|
+
* that width is always exactly one column (a `minCardWidth` wider than the container clamps to
|
|
401
|
+
* the container: the track floor is `min(100%, var(--card-grid-min))`, MP-299), and a typical ~1280px desktop content column fits
|
|
401
402
|
* four (see CardGrid.browser.test.tsx for the measured counts this rests on, including the
|
|
402
403
|
* container-vs-viewport regression case added under review comment 2920 finding 1: a fixed-
|
|
403
404
|
* width container nested inside a differently-sized real viewport still shows the container's
|
|
@@ -437,7 +438,8 @@ interface CardGridProps {
|
|
|
437
438
|
children?: React.ReactNode;
|
|
438
439
|
/** The width, in px, a card may shrink to before a column drops. Default 280 is tuned so a
|
|
439
440
|
* 375px-wide content column (a phone) is always exactly one column and a ~1280px desktop
|
|
440
|
-
* content column fits four — see the file doc comment.
|
|
441
|
+
* content column fits four — see the file doc comment. A value wider than the container
|
|
442
|
+
* collapses to one full-width column rather than overflowing it. */
|
|
441
443
|
minCardWidth?: number;
|
|
442
444
|
/** One of the spacing scale's named tiers (styles/tokens.css's `--s-*`), same vocabulary as
|
|
443
445
|
* `fd-gap-*` (SMS-7). Applies to both the row and column gap. */
|
package/dist/index.js
CHANGED
|
@@ -1598,6 +1598,9 @@ function AppShell({
|
|
|
1598
1598
|
style: {
|
|
1599
1599
|
flex: 1,
|
|
1600
1600
|
minWidth: 0,
|
|
1601
|
+
// MP-298: positioned so absolutely positioned content inside (a chart's `.fd-sr` data
|
|
1602
|
+
// table) is contained and clipped by this scroller, never stretching the document.
|
|
1603
|
+
position: "relative",
|
|
1601
1604
|
overflowY: "auto",
|
|
1602
1605
|
padding: 24,
|
|
1603
1606
|
maxWidth: contentMaxWidth,
|