@trackunit/react-drawer 0.1.26 → 0.1.30

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/index.cjs.js CHANGED
@@ -112,8 +112,8 @@ const cvaDrawer = cssClassVarianceUtilities.cvaMerge(["z-toast", "pointer-events
112
112
  bottom: ["bottom-0", "left-0", "right-0", "max-h-screen", "w-full", "pt-3"],
113
113
  },
114
114
  mode: {
115
- open: ["opacity-100"], // No additional classes needed; position determines translation
116
- closed: ["opacity-0"], // Translation handled in compoundVariants
115
+ open: [], // No additional classes needed; position determines translation
116
+ closed: [], // Translation handled in compoundVariants
117
117
  },
118
118
  },
119
119
  compoundVariants: [
@@ -169,7 +169,7 @@ const cvaDrawerContent = cssClassVarianceUtilities.cvaMerge(["flex", "flex-col",
169
169
  left: "rounded-r-lg",
170
170
  right: "rounded-l-lg",
171
171
  top: "rounded-b-lg",
172
- bottom: ["max-h-[calc(100dvh-10px)]", "rounded-t-lg", "sm:max-h-none"],
172
+ bottom: ["max-h-[calc(100dvh-10px)]", "rounded-t-lg"],
173
173
  },
174
174
  },
175
175
  });
package/index.esm.js CHANGED
@@ -110,8 +110,8 @@ const cvaDrawer = cvaMerge(["z-toast", "pointer-events-auto", "absolute", "flex-
110
110
  bottom: ["bottom-0", "left-0", "right-0", "max-h-screen", "w-full", "pt-3"],
111
111
  },
112
112
  mode: {
113
- open: ["opacity-100"], // No additional classes needed; position determines translation
114
- closed: ["opacity-0"], // Translation handled in compoundVariants
113
+ open: [], // No additional classes needed; position determines translation
114
+ closed: [], // Translation handled in compoundVariants
115
115
  },
116
116
  },
117
117
  compoundVariants: [
@@ -167,7 +167,7 @@ const cvaDrawerContent = cvaMerge(["flex", "flex-col", "h-full", "shadow-lg", "b
167
167
  left: "rounded-r-lg",
168
168
  right: "rounded-l-lg",
169
169
  top: "rounded-b-lg",
170
- bottom: ["max-h-[calc(100dvh-10px)]", "rounded-t-lg", "sm:max-h-none"],
170
+ bottom: ["max-h-[calc(100dvh-10px)]", "rounded-t-lg"],
171
171
  },
172
172
  },
173
173
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-drawer",
3
- "version": "0.1.26",
3
+ "version": "0.1.30",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {