@versini/ui-panel 6.0.0 → 6.0.1

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -9
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /*!
2
- @versini/ui-panel v6.0.0
2
+ @versini/ui-panel v6.0.1
3
3
  © 2025 gizmette.com
4
4
  */
5
5
  try {
6
6
  if (!window.__VERSINI_UI_PANEL__) {
7
7
  window.__VERSINI_UI_PANEL__ = {
8
- version: "6.0.0",
9
- buildTime: "12/09/2025 10:15 AM EST",
8
+ version: "6.0.1",
9
+ buildTime: "12/09/2025 11:52 AM EST",
10
10
  homepage: "https://github.com/aversini/ui-components",
11
11
  license: "MIT",
12
12
  };
@@ -48,7 +48,7 @@ const NONE = "none";
48
48
  if (!window.__VERSINI_UI_MODAL__) {
49
49
  window.__VERSINI_UI_MODAL__ = {
50
50
  version: "3.1.1",
51
- buildTime: "12/09/2025 10:14 AM EST",
51
+ buildTime: "12/09/2025 11:52 AM EST",
52
52
  homepage: "https://github.com/aversini/ui-components",
53
53
  license: "MIT"
54
54
  };
@@ -221,7 +221,7 @@ const getPanelClassName = ({ className, kind, borderMode, animation, maxWidth =
221
221
  "duration-200 ease-out": animation,
222
222
  /**
223
223
  * Panel styles
224
- */ [`${PANEL_CLASSNAME} min-h-full sm:min-h-[10rem] sm:rounded-3xl sm:border`]: kind === /* inlined export .TYPE_PANEL */ ("panel"),
224
+ */ [`${PANEL_CLASSNAME} sm:rounded-3xl sm:border`]: kind === /* inlined export .TYPE_PANEL */ ("panel"),
225
225
  /**
226
226
  * Widths and max widths for Panel when no className is provided
227
227
  */ ["w-full sm:w-[95%] md:max-w-2xl"]: kind === /* inlined export .TYPE_PANEL */ ("panel") && !className && maxWidth === /* inlined export .SMALL */ ("small"),
@@ -229,9 +229,10 @@ const getPanelClassName = ({ className, kind, borderMode, animation, maxWidth =
229
229
  ["w-full sm:w-[95%] md:max-w-4xl"]: kind === /* inlined export .TYPE_PANEL */ ("panel") && !className && maxWidth === /* inlined export .LARGE */ ("large"),
230
230
  /**
231
231
  * Heights and max heights for Panel
232
- */ "max-h-full sm:max-h-[40vh] h-[40vh]": kind === /* inlined export .TYPE_PANEL */ ("panel") && effectiveMaxHeight === /* inlined export .SMALL */ ("small"),
233
- "max-h-full sm:max-h-[60vh] h-[60vh]": kind === /* inlined export .TYPE_PANEL */ ("panel") && effectiveMaxHeight === /* inlined export .MEDIUM */ ("medium"),
234
- "max-h-full sm:max-h-[95vh] h-[95vh]": kind === /* inlined export .TYPE_PANEL */ ("panel") && effectiveMaxHeight === /* inlined export .LARGE */ ("large"),
232
+ * Mobile: full height, Desktop: clamp between min and max to allow flexible sizing
233
+ */ "min-h-[10rem] max-h-full sm:max-h-[40vh]": kind === /* inlined export .TYPE_PANEL */ ("panel") && effectiveMaxHeight === /* inlined export .SMALL */ ("small"),
234
+ "min-h-[10rem] max-h-full sm:max-h-[60vh]": kind === /* inlined export .TYPE_PANEL */ ("panel") && effectiveMaxHeight === /* inlined export .MEDIUM */ ("medium"),
235
+ "min-h-[10rem] max-h-full sm:max-h-[95vh]": kind === /* inlined export .TYPE_PANEL */ ("panel") && effectiveMaxHeight === /* inlined export .LARGE */ ("large"),
235
236
  /**
236
237
  * Panel border colors
237
238
  */ "sm:border-border-dark": borderMode === "dark" && kind === /* inlined export .TYPE_PANEL */ ("panel"),
@@ -253,7 +254,7 @@ const getPanelClassName = ({ className, kind, borderMode, animation, maxWidth =
253
254
  "border-border-accent": borderMode === "light" && kind === TYPE_MESSAGEBOX,
254
255
  [`${className}`]: !!className
255
256
  }),
256
- innerWrapper: "content flex flex-col rounded-[inherit] relative h-full",
257
+ innerWrapper: "content flex flex-col rounded-[inherit] relative min-h-full",
257
258
  scrollableContent: clsx("flex-1 overflow-y-auto overflow-x-hidden", "pt-12", {
258
259
  "pb-12": hasFooter
259
260
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-panel",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -49,5 +49,5 @@
49
49
  "sideEffects": [
50
50
  "**/*.css"
51
51
  ],
52
- "gitHead": "a8eb0abfb1651b119b24251fe9f0fcccd6a3064f"
52
+ "gitHead": "641051f666505bfd5df1febd10723924db798b9e"
53
53
  }