@ai-matrx/design-system 0.48.9 → 0.48.10
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/CHANGELOG.md +17 -0
- package/dist/data-table/index.cjs +37 -28
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +37 -28
- package/dist/data-table/index.js.map +1 -1
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/tap-target.css +3 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -103,8 +103,8 @@ interface BottomSheetProps {
|
|
|
103
103
|
onOpenChange: (open: boolean) => void;
|
|
104
104
|
title?: string;
|
|
105
105
|
/**
|
|
106
|
-
* `adaptive` (default) — the sheet sizes to its content
|
|
107
|
-
* 90dvh. Correct for a single short list.
|
|
106
|
+
* `adaptive` (default) — the sheet sizes to its content, up to
|
|
107
|
+
* 90dvh (no minimum). Correct for a single short list.
|
|
108
108
|
*
|
|
109
109
|
* `full` — ONE fixed height (92dvh) that never changes as content changes.
|
|
110
110
|
* Use it for any sheet whose body varies (multi-level navigation, tabs,
|
package/dist/index.d.ts
CHANGED
|
@@ -103,8 +103,8 @@ interface BottomSheetProps {
|
|
|
103
103
|
onOpenChange: (open: boolean) => void;
|
|
104
104
|
title?: string;
|
|
105
105
|
/**
|
|
106
|
-
* `adaptive` (default) — the sheet sizes to its content
|
|
107
|
-
* 90dvh. Correct for a single short list.
|
|
106
|
+
* `adaptive` (default) — the sheet sizes to its content, up to
|
|
107
|
+
* 90dvh (no minimum). Correct for a single short list.
|
|
108
108
|
*
|
|
109
109
|
* `full` — ONE fixed height (92dvh) that never changes as content changes.
|
|
110
110
|
* Use it for any sheet whose body varies (multi-level navigation, tabs,
|
package/dist/index.js
CHANGED
|
@@ -639,7 +639,9 @@ function BottomSheet({
|
|
|
639
639
|
{
|
|
640
640
|
className: cn(
|
|
641
641
|
"fixed inset-x-0 bottom-0 z-[10000] mt-24 flex flex-col rounded-t-2xl overflow-hidden",
|
|
642
|
-
|
|
642
|
+
// Adaptive sizes to its content, up to 90dvh — never a 60dvh floor that
|
|
643
|
+
// left a two-action sheet mostly empty (hosts overrode it with min-h-0).
|
|
644
|
+
size === "full" ? "h-[92dvh]" : "max-h-[90dvh]",
|
|
643
645
|
surface === "solid" && "border border-b-0 border-border bg-background shadow-2xl",
|
|
644
646
|
contentClassName
|
|
645
647
|
),
|