@greatapps/greatauth-ui 0.3.13 → 0.3.14

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/ui.d.ts CHANGED
@@ -155,7 +155,7 @@ declare function BreadcrumbSeparator({ children, className, ...props }: React$1.
155
155
 
156
156
  declare function Collapsible({ ...props }: React$1.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
157
157
  declare function CollapsibleTrigger({ ...props }: React$1.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
158
- declare function CollapsibleContent({ ...props }: React$1.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime.JSX.Element;
158
+ declare function CollapsibleContent({ className, ...props }: React$1.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime.JSX.Element;
159
159
 
160
160
  declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof Checkbox$1.Root>): react_jsx_runtime.JSX.Element;
161
161
 
package/dist/ui.js CHANGED
@@ -1391,7 +1391,7 @@ import { jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
1391
1391
  var SIDEBAR_STORAGE_KEY = "sidebar_state";
1392
1392
  var SIDEBAR_WIDTH = "16rem";
1393
1393
  var SIDEBAR_WIDTH_MOBILE = "18rem";
1394
- var SIDEBAR_WIDTH_ICON = "3rem";
1394
+ var SIDEBAR_WIDTH_ICON = "3.5rem";
1395
1395
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
1396
1396
  var SidebarContext = React.createContext(null);
1397
1397
  function useSidebar() {
@@ -2032,12 +2032,17 @@ function CollapsibleTrigger({
2032
2032
  );
2033
2033
  }
2034
2034
  function CollapsibleContent({
2035
+ className,
2035
2036
  ...props
2036
2037
  }) {
2037
2038
  return /* @__PURE__ */ jsx24(
2038
2039
  CollapsiblePrimitive.CollapsibleContent,
2039
2040
  {
2040
2041
  "data-slot": "collapsible-content",
2042
+ className: cn(
2043
+ "overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",
2044
+ className
2045
+ ),
2041
2046
  ...props
2042
2047
  }
2043
2048
  );