@versini/ui-panel 10.1.2 → 10.1.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.js +8 -6
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-panel v10.1.
|
|
2
|
+
@versini/ui-panel v10.1.4
|
|
3
3
|
© 2026 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -232,10 +232,10 @@ const getPanelClassName = ({ className, kind, borderMode, animation, maxWidth =
|
|
|
232
232
|
["w-full sm:w-[95%] md:max-w-4xl"]: kind === /* inlined export .TYPE_PANEL */ ("panel") && maxWidth === /* inlined export .LARGE */ ("large"),
|
|
233
233
|
/**
|
|
234
234
|
* Heights and max heights for Panel
|
|
235
|
-
* Mobile: full height, Desktop: clamp between min and max to allow flexible sizing
|
|
236
|
-
*/ "
|
|
237
|
-
"
|
|
238
|
-
"
|
|
235
|
+
* Mobile: full viewport height, Desktop: clamp between min and max to allow flexible sizing
|
|
236
|
+
*/ "h-dvh sm:h-auto min-h-40 sm:max-h-[40dvh]": kind === /* inlined export .TYPE_PANEL */ ("panel") && effectiveMaxHeight === /* inlined export .SMALL */ ("small"),
|
|
237
|
+
"h-dvh sm:h-auto min-h-40 sm:max-h-[60dvh]": kind === /* inlined export .TYPE_PANEL */ ("panel") && effectiveMaxHeight === /* inlined export .MEDIUM */ ("medium"),
|
|
238
|
+
"h-dvh sm:h-auto min-h-40 sm:max-h-[95dvh]": kind === /* inlined export .TYPE_PANEL */ ("panel") && effectiveMaxHeight === /* inlined export .LARGE */ ("large"),
|
|
239
239
|
/**
|
|
240
240
|
* Panel border colors
|
|
241
241
|
*/ "sm:border-border-dark": borderMode === "dark" && kind === /* inlined export .TYPE_PANEL */ ("panel"),
|
|
@@ -264,7 +264,9 @@ const getPanelClassName = ({ className, kind, borderMode, animation, maxWidth =
|
|
|
264
264
|
}),
|
|
265
265
|
footer: clsx(getFooterAndHeaderCommonClasses({
|
|
266
266
|
blurEffect
|
|
267
|
-
}), "
|
|
267
|
+
}), "bottom-0", "sm:min-h-auto h-12", {
|
|
268
|
+
"px-2 pt-4 pb-8 sm:pt-2 sm:pb-2": kind === /* inlined export .TYPE_PANEL */ ("panel"),
|
|
269
|
+
"p-2": kind === TYPE_MESSAGEBOX,
|
|
268
270
|
"min-h-20": hasFooter && kind === /* inlined export .TYPE_PANEL */ ("panel"),
|
|
269
271
|
"sm:rounded-b-3xl": kind === /* inlined export .TYPE_PANEL */ ("panel"),
|
|
270
272
|
"rounded-b-3xl": kind === TYPE_MESSAGEBOX
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-panel",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"sideEffects": [
|
|
59
59
|
"**/*.css"
|
|
60
60
|
],
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "3f1aec01873565d603d2bb6bb4a4627ecefed834"
|
|
62
62
|
}
|