@appolabs/ui 0.1.7 → 0.1.8

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.cjs CHANGED
@@ -1250,7 +1250,7 @@ var DialogContent = React39__namespace.forwardRef(({ className, children, onClos
1250
1250
  );
1251
1251
  return /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { children: [
1252
1252
  /* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
1253
- /* @__PURE__ */ jsxRuntime.jsxs(
1253
+ /* @__PURE__ */ jsxRuntime.jsx(
1254
1254
  DialogPrimitive__namespace.Content,
1255
1255
  {
1256
1256
  ref,
@@ -1260,13 +1260,7 @@ var DialogContent = React39__namespace.forwardRef(({ className, children, onClos
1260
1260
  ),
1261
1261
  onAnimationEnd: handleAnimationEnd,
1262
1262
  ...props,
1263
- children: [
1264
- children,
1265
- /* @__PURE__ */ jsxRuntime.jsxs(DialogPrimitive__namespace.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
1266
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" }),
1267
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
1268
- ] })
1269
- ]
1263
+ children
1270
1264
  }
1271
1265
  )
1272
1266
  ] });
@@ -2873,25 +2867,13 @@ var sheetVariants = classVarianceAuthority.cva(
2873
2867
  );
2874
2868
  var SheetContent = React39__namespace.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
2875
2869
  /* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
2876
- /* @__PURE__ */ jsxRuntime.jsxs(
2870
+ /* @__PURE__ */ jsxRuntime.jsx(
2877
2871
  DialogPrimitive__namespace.Content,
2878
2872
  {
2879
2873
  ref,
2880
2874
  className: cn(sheetVariants({ side }), className),
2881
2875
  ...props,
2882
- children: [
2883
- children,
2884
- /* @__PURE__ */ jsxRuntime.jsxs(
2885
- DialogPrimitive__namespace.Close,
2886
- {
2887
- className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",
2888
- children: [
2889
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" }),
2890
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
2891
- ]
2892
- }
2893
- )
2894
- ]
2876
+ children
2895
2877
  }
2896
2878
  )
2897
2879
  ] }));