@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.js CHANGED
@@ -3,7 +3,7 @@ import { twMerge } from 'tailwind-merge';
3
3
  import * as React39 from 'react';
4
4
  import React39__default from 'react';
5
5
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
6
- import { ChevronDown, ArrowLeft, ArrowRight, Check, X, Search, ChevronRight, Circle, Dot, ChevronUp, PanelLeft, MoreHorizontal, ChevronLeft, GripVertical } from 'lucide-react';
6
+ import { ChevronDown, ArrowLeft, ArrowRight, Check, Search, ChevronRight, Circle, Dot, ChevronUp, PanelLeft, X, MoreHorizontal, ChevronLeft, GripVertical } from 'lucide-react';
7
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
8
8
  import { cva } from 'class-variance-authority';
9
9
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
@@ -1198,7 +1198,7 @@ var DialogContent = React39.forwardRef(({ className, children, onCloseComplete,
1198
1198
  );
1199
1199
  return /* @__PURE__ */ jsxs(DialogPortal, { children: [
1200
1200
  /* @__PURE__ */ jsx(DialogOverlay, {}),
1201
- /* @__PURE__ */ jsxs(
1201
+ /* @__PURE__ */ jsx(
1202
1202
  DialogPrimitive.Content,
1203
1203
  {
1204
1204
  ref,
@@ -1208,13 +1208,7 @@ var DialogContent = React39.forwardRef(({ className, children, onCloseComplete,
1208
1208
  ),
1209
1209
  onAnimationEnd: handleAnimationEnd,
1210
1210
  ...props,
1211
- children: [
1212
- children,
1213
- /* @__PURE__ */ jsxs(DialogPrimitive.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: [
1214
- /* @__PURE__ */ jsx(X, { className: "h-4 w-4" }),
1215
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1216
- ] })
1217
- ]
1211
+ children
1218
1212
  }
1219
1213
  )
1220
1214
  ] });
@@ -2821,25 +2815,13 @@ var sheetVariants = cva(
2821
2815
  );
2822
2816
  var SheetContent = React39.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
2823
2817
  /* @__PURE__ */ jsx(SheetOverlay, {}),
2824
- /* @__PURE__ */ jsxs(
2818
+ /* @__PURE__ */ jsx(
2825
2819
  DialogPrimitive.Content,
2826
2820
  {
2827
2821
  ref,
2828
2822
  className: cn(sheetVariants({ side }), className),
2829
2823
  ...props,
2830
- children: [
2831
- children,
2832
- /* @__PURE__ */ jsxs(
2833
- DialogPrimitive.Close,
2834
- {
2835
- 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",
2836
- children: [
2837
- /* @__PURE__ */ jsx(X, { className: "h-4 w-4" }),
2838
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
2839
- ]
2840
- }
2841
- )
2842
- ]
2824
+ children
2843
2825
  }
2844
2826
  )
2845
2827
  ] }));