@syscore/ui-library 1.14.0 → 1.15.0

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.es.js CHANGED
@@ -8,7 +8,7 @@ import { cva } from "class-variance-authority";
8
8
  import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
9
9
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
10
10
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
11
- import { GripVertical, X as X$1, PanelLeft, Check, Circle, Dot, ChevronLeft, ChevronRight, Search, MoreHorizontal, ChevronDown, ArrowLeft, ArrowRight } from "lucide-react";
11
+ import { GripVertical, X as X$1, PanelLeft, Circle, Dot, ChevronLeft, ChevronRight, Search, Check, MoreHorizontal, ChevronDown, ArrowLeft, ArrowRight } from "lucide-react";
12
12
  import * as ResizablePrimitive from "react-resizable-panels";
13
13
  import { Slot } from "@radix-ui/react-slot";
14
14
  import * as SheetPrimitive from "@radix-ui/react-dialog";
@@ -1666,13 +1666,35 @@ const Textarea = React.forwardRef(
1666
1666
  }
1667
1667
  );
1668
1668
  Textarea.displayName = "Textarea";
1669
+ const UtilityCheck = ({ className }) => {
1670
+ return /* @__PURE__ */ jsx("div", { className: cn("flex items-center justify-center", className), children: /* @__PURE__ */ jsx(
1671
+ "svg",
1672
+ {
1673
+ xmlns: "http://www.w3.org/2000/svg",
1674
+ width: "7",
1675
+ height: "5",
1676
+ viewBox: "0 0 7 5",
1677
+ fill: "none",
1678
+ children: /* @__PURE__ */ jsx(
1679
+ "path",
1680
+ {
1681
+ d: "M0.75 2.30556L2.30556 3.86111L5.41667 0.75",
1682
+ stroke: "currentColor",
1683
+ "stroke-width": "1.5",
1684
+ "stroke-linecap": "round",
1685
+ "stroke-linejoin": "round"
1686
+ }
1687
+ )
1688
+ }
1689
+ ) });
1690
+ };
1669
1691
  const Checkbox = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1670
1692
  CheckboxPrimitive.Root,
1671
1693
  {
1672
1694
  ref,
1673
1695
  className: cn("checkbox", className),
1674
1696
  ...props,
1675
- children: /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, { className: "checkbox-indicator", children: /* @__PURE__ */ jsx(Check, { className: "icon-4" }) })
1697
+ children: /* @__PURE__ */ jsx("span", { className: "checkbox-indicator", children: /* @__PURE__ */ jsx(UtilityCheck, {}) })
1676
1698
  }
1677
1699
  ));
1678
1700
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syscore/ui-library",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
4
4
  "description": "A comprehensive React component library built with Radix UI, Tailwind CSS, and TypeScript",
5
5
  "private": false,
6
6
  "type": "module",