@syscore/ui-library 1.18.0 → 1.19.1

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.d.ts CHANGED
@@ -20,6 +20,7 @@ import { AlertDialogTitle } from '../client/components/ui/alert-dialog';
20
20
  import { AlertDialogTrigger } from '../client/components/ui/alert-dialog';
21
21
  import { AlertTitle } from '../client/components/ui/alert';
22
22
  import { AlphaIcon } from '../client/components/icons/AlphaIcon';
23
+ import { AnimatedTabs } from '../client/components/ui/tabs';
23
24
  import { AspectRatio } from '../client/components/ui/aspect-ratio';
24
25
  import { Avatar } from '../client/components/ui/avatar';
25
26
  import { AvatarFallback } from '../client/components/ui/avatar';
@@ -412,6 +413,8 @@ export { AlertTitle }
412
413
 
413
414
  export { AlphaIcon }
414
415
 
416
+ export { AnimatedTabs }
417
+
415
418
  export { AspectRatio }
416
419
 
417
420
  export { Avatar }
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
- import React__default, { useState, useEffect, useCallback, useRef, createContext, useMemo, useLayoutEffect, useContext } from "react";
3
+ import React__default, { useState, useCallback, useEffect, useRef, createContext, useMemo, useLayoutEffect, useContext } from "react";
4
4
  import { motion, AnimatePresence, useMotionValue, animate } from "motion/react";
5
5
  import { clsx } from "clsx";
6
6
  import { twMerge } from "tailwind-merge";
@@ -18,6 +18,7 @@ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
18
18
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
19
19
  import * as SwitchPrimitives from "@radix-ui/react-switch";
20
20
  import * as SliderPrimitive from "@radix-ui/react-slider";
21
+ import * as TabsPrimitive from "@radix-ui/react-tabs";
21
22
  import { OTPInput, OTPInputContext } from "input-otp";
22
23
  import * as SelectPrimitive from "@radix-ui/react-select";
23
24
  import { useFormContext, FormProvider, Controller } from "react-hook-form";
@@ -27,7 +28,6 @@ import * as AvatarPrimitive from "@radix-ui/react-avatar";
27
28
  import * as ProgressPrimitive from "@radix-ui/react-progress";
28
29
  import { DayPicker } from "react-day-picker";
29
30
  import { Command as Command$1 } from "cmdk";
30
- import * as TabsPrimitive from "@radix-ui/react-tabs";
31
31
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
32
32
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
33
33
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
@@ -1752,6 +1752,172 @@ const Slider = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
1752
1752
  }
1753
1753
  ));
1754
1754
  Slider.displayName = SliderPrimitive.Root.displayName;
1755
+ function useTabs({ tabs, initialTabId }) {
1756
+ const initialIndex = tabs.findIndex((tab) => tab.value === initialTabId);
1757
+ const [selectedTabIndex, setSelectedTabIndex] = useState(
1758
+ initialIndex >= 0 ? initialIndex : 0
1759
+ );
1760
+ const setSelectedTab = useCallback(([index, direction]) => {
1761
+ setSelectedTabIndex(index);
1762
+ }, []);
1763
+ const selectedTab = tabs[selectedTabIndex] || tabs[0];
1764
+ return {
1765
+ tabProps: {
1766
+ tabs,
1767
+ selectedTabIndex,
1768
+ setSelectedTab
1769
+ },
1770
+ selectedTab
1771
+ };
1772
+ }
1773
+ const transition = {
1774
+ type: "tween",
1775
+ ease: "easeOut",
1776
+ duration: 0.15
1777
+ };
1778
+ const TabContent = ({ tab }) => {
1779
+ return /* @__PURE__ */ jsx(
1780
+ motion.div,
1781
+ {
1782
+ initial: { opacity: 0, y: 10 },
1783
+ animate: { opacity: 1, y: 0 },
1784
+ exit: { opacity: 0, y: -10 },
1785
+ transition,
1786
+ children: tab.content
1787
+ },
1788
+ tab.value
1789
+ );
1790
+ };
1791
+ const Tabs = ({
1792
+ tabs,
1793
+ selectedTabIndex,
1794
+ setSelectedTab
1795
+ }) => {
1796
+ var _a, _b, _c;
1797
+ const [buttonRefs, setButtonRefs] = React__default.useState([]);
1798
+ React__default.useEffect(() => {
1799
+ setButtonRefs((prev) => prev.slice(0, tabs.length));
1800
+ }, [tabs.length]);
1801
+ const navRef = React__default.useRef(null);
1802
+ const navRect = (_a = navRef.current) == null ? void 0 : _a.getBoundingClientRect();
1803
+ const selectedRect = (_b = buttonRefs[selectedTabIndex]) == null ? void 0 : _b.getBoundingClientRect();
1804
+ const [hoveredTabIndex, setHoveredTabIndex] = React__default.useState(
1805
+ null
1806
+ );
1807
+ (_c = buttonRefs[hoveredTabIndex ?? -1]) == null ? void 0 : _c.getBoundingClientRect();
1808
+ return /* @__PURE__ */ jsxs(
1809
+ "nav",
1810
+ {
1811
+ ref: navRef,
1812
+ className: "tabs-nav",
1813
+ onPointerLeave: () => setHoveredTabIndex(null),
1814
+ children: [
1815
+ tabs.map((item, i) => {
1816
+ const isActive = selectedTabIndex === i;
1817
+ return /* @__PURE__ */ jsx(
1818
+ "button",
1819
+ {
1820
+ className: "tabs-nav-button",
1821
+ onPointerEnter: () => setHoveredTabIndex(i),
1822
+ onFocus: () => setHoveredTabIndex(i),
1823
+ onClick: () => setSelectedTab([i, i > selectedTabIndex ? 1 : -1]),
1824
+ children: /* @__PURE__ */ jsx(
1825
+ motion.span,
1826
+ {
1827
+ ref: (el) => {
1828
+ buttonRefs[i] = el;
1829
+ },
1830
+ className: cn("tabs-nav-button-text", {
1831
+ "tabs-nav-button-text--inactive": !isActive,
1832
+ "tabs-nav-button-text--active": isActive
1833
+ }),
1834
+ children: /* @__PURE__ */ jsx(
1835
+ "small",
1836
+ {
1837
+ className: item.value === "danger-zone" ? "tabs-nav-button-text--danger" : "",
1838
+ children: item.label
1839
+ }
1840
+ )
1841
+ }
1842
+ )
1843
+ },
1844
+ item.value
1845
+ );
1846
+ }),
1847
+ /* @__PURE__ */ jsx(AnimatePresence, { children: selectedRect && navRect && /* @__PURE__ */ jsx(
1848
+ motion.div,
1849
+ {
1850
+ className: cn("tabs-nav-indicator", {
1851
+ "tabs-nav-indicator--danger": selectedTabIndex === tabs.findIndex(({ value }) => value === "danger-zone"),
1852
+ "tabs-nav-indicator--default": selectedTabIndex !== tabs.findIndex(({ value }) => value === "danger-zone")
1853
+ }),
1854
+ initial: false,
1855
+ animate: {
1856
+ width: selectedRect.width,
1857
+ x: selectedRect.left - navRect.left,
1858
+ opacity: 1
1859
+ },
1860
+ transition
1861
+ }
1862
+ ) }),
1863
+ /* @__PURE__ */ jsx("div", { className: "tabs-nav-underline" })
1864
+ ]
1865
+ }
1866
+ );
1867
+ };
1868
+ function AnimatedTabs({ tabs }) {
1869
+ const [hookProps] = React__default.useState(() => {
1870
+ var _a;
1871
+ const initialTabId = ((_a = tabs.find((tab) => tab.value === "home")) == null ? void 0 : _a.value) || tabs[0].value;
1872
+ return {
1873
+ tabs: tabs.map((tab) => ({
1874
+ ...tab
1875
+ })),
1876
+ initialTabId
1877
+ };
1878
+ });
1879
+ const framer = useTabs(hookProps);
1880
+ return /* @__PURE__ */ jsxs("div", { className: "tabs-container", children: [
1881
+ /* @__PURE__ */ jsx("div", { className: "tabs-container-inner", children: /* @__PURE__ */ jsx(Tabs, { ...framer.tabProps }) }),
1882
+ /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: /* @__PURE__ */ jsx(TabContent, { tab: framer.selectedTab }) })
1883
+ ] });
1884
+ }
1885
+ const TabsRoot = React__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1886
+ TabsPrimitive.Root,
1887
+ {
1888
+ ref,
1889
+ className: cn("tabs", className),
1890
+ ...props
1891
+ }
1892
+ ));
1893
+ TabsRoot.displayName = TabsPrimitive.Root.displayName;
1894
+ const TabsList = React__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1895
+ TabsPrimitive.List,
1896
+ {
1897
+ ref,
1898
+ className: cn("tabs-list", className),
1899
+ ...props
1900
+ }
1901
+ ));
1902
+ TabsList.displayName = TabsPrimitive.List.displayName;
1903
+ const TabsTrigger = React__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1904
+ TabsPrimitive.Trigger,
1905
+ {
1906
+ ref,
1907
+ className: cn("tabs-trigger", className),
1908
+ ...props
1909
+ }
1910
+ ));
1911
+ TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
1912
+ const TabsContent = React__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1913
+ TabsPrimitive.Content,
1914
+ {
1915
+ ref,
1916
+ className: cn("tabs-content", className),
1917
+ ...props
1918
+ }
1919
+ ));
1920
+ TabsContent.displayName = TabsPrimitive.Content.displayName;
1755
1921
  const InputOTP = React.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
1756
1922
  OTPInput,
1757
1923
  {
@@ -2442,30 +2608,30 @@ function DialogOverlay({
2442
2608
  }
2443
2609
  function DialogContent({
2444
2610
  className,
2611
+ innerClassName,
2612
+ closeClassName,
2445
2613
  children,
2446
2614
  showCloseButton = true,
2447
2615
  ...props
2448
2616
  }) {
2449
- return /* @__PURE__ */ jsx(DialogPortal, { "data-slot": "dialog-portal", children: /* @__PURE__ */ jsx(DialogOverlay, { children: /* @__PURE__ */ jsxs(
2617
+ return /* @__PURE__ */ jsx(DialogPortal, { "data-slot": "dialog-portal", children: /* @__PURE__ */ jsx(DialogOverlay, { className: "overflow-y-auto", children: /* @__PURE__ */ jsx(
2450
2618
  SheetPrimitive.Content,
2451
2619
  {
2452
2620
  "data-slot": "dialog-content",
2453
2621
  className: cn("dialog-content", className),
2454
2622
  ...props,
2455
- children: [
2456
- /* @__PURE__ */ jsx("div", { className: "dialog-content-inner", children }),
2457
- showCloseButton && /* @__PURE__ */ jsxs(
2458
- SheetPrimitive.Close,
2459
- {
2460
- "data-slot": "dialog-close",
2461
- className: "dialog-close",
2462
- children: [
2463
- /* @__PURE__ */ jsx(UtilityClose, {}),
2464
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
2465
- ]
2466
- }
2467
- )
2468
- ]
2623
+ children: /* @__PURE__ */ jsxs("div", { className: "dialog-content-wrapper", children: [
2624
+ /* @__PURE__ */ jsx("div", { className: cn("dialog-content-inner", innerClassName), children }),
2625
+ showCloseButton && /* @__PURE__ */ jsx("div", { className: "dialog-close", children: /* @__PURE__ */ jsxs(SheetPrimitive.Close, { "data-slot": "dialog-close", children: [
2626
+ /* @__PURE__ */ jsx(
2627
+ UtilityClose,
2628
+ {
2629
+ className: cn("dialog-close-icon", closeClassName)
2630
+ }
2631
+ ),
2632
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
2633
+ ] }) })
2634
+ ] })
2469
2635
  }
2470
2636
  ) }) });
2471
2637
  }
@@ -2759,60 +2925,6 @@ const Tag = React.forwardRef(
2759
2925
  }
2760
2926
  );
2761
2927
  Tag.displayName = "Tag";
2762
- function useTabs({ tabs, initialTabId }) {
2763
- const initialIndex = tabs.findIndex((tab) => tab.value === initialTabId);
2764
- const [selectedTabIndex, setSelectedTabIndex] = useState(
2765
- initialIndex >= 0 ? initialIndex : 0
2766
- );
2767
- const setSelectedTab = useCallback(([index, direction]) => {
2768
- setSelectedTabIndex(index);
2769
- }, []);
2770
- const selectedTab = tabs[selectedTabIndex] || tabs[0];
2771
- return {
2772
- tabProps: {
2773
- tabs,
2774
- selectedTabIndex,
2775
- setSelectedTab
2776
- },
2777
- selectedTab
2778
- };
2779
- }
2780
- const TabsRoot = React__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2781
- TabsPrimitive.Root,
2782
- {
2783
- ref,
2784
- className: cn("tabs", className),
2785
- ...props
2786
- }
2787
- ));
2788
- TabsRoot.displayName = TabsPrimitive.Root.displayName;
2789
- const TabsList = React__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2790
- TabsPrimitive.List,
2791
- {
2792
- ref,
2793
- className: cn("tabs-list", className),
2794
- ...props
2795
- }
2796
- ));
2797
- TabsList.displayName = TabsPrimitive.List.displayName;
2798
- const TabsTrigger = React__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2799
- TabsPrimitive.Trigger,
2800
- {
2801
- ref,
2802
- className: cn("tabs-trigger", className),
2803
- ...props
2804
- }
2805
- ));
2806
- TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
2807
- const TabsContent = React__default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2808
- TabsPrimitive.Content,
2809
- {
2810
- ref,
2811
- className: cn("tabs-content", className),
2812
- ...props
2813
- }
2814
- ));
2815
- TabsContent.displayName = TabsPrimitive.Content.displayName;
2816
2928
  const Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
2817
2929
  "nav",
2818
2930
  {
@@ -5762,9 +5874,7 @@ const UtilityClassification = ({
5762
5874
  }
5763
5875
  );
5764
5876
  };
5765
- const UtilityCompare = ({
5766
- className
5767
- }) => {
5877
+ function UtilityCompare({ className }) {
5768
5878
  return /* @__PURE__ */ jsx(
5769
5879
  "div",
5770
5880
  {
@@ -5787,7 +5897,7 @@ const UtilityCompare = ({
5787
5897
  {
5788
5898
  d: "M10.6002 5.79905C10.6002 8.44949 8.45114 10.5981 5.80011 10.5981C3.14908 10.5981 1 8.44949 1 5.79905C1 3.14861 3.14908 1 5.80011 1C8.45114 1 10.6002 3.14861 10.6002 5.79905Z",
5789
5899
  fill: "#E0FBF5",
5790
- stroke: "#282A31",
5900
+ stroke: "currentColor",
5791
5901
  "stroke-width": "2",
5792
5902
  "stroke-linecap": "round",
5793
5903
  "stroke-linejoin": "round"
@@ -5797,7 +5907,7 @@ const UtilityCompare = ({
5797
5907
  "path",
5798
5908
  {
5799
5909
  d: "M5.80078 16.998L5.80078 24.9965C5.80078 25.845 6.13793 26.6588 6.73806 27.2587C7.33819 27.8587 8.15214 28.1958 9.00086 28.1958L20.2011 28.1958",
5800
- stroke: "#282A31",
5910
+ stroke: "currentColor",
5801
5911
  "stroke-width": "2",
5802
5912
  "stroke-linecap": "round",
5803
5913
  "stroke-linejoin": "round"
@@ -5807,7 +5917,7 @@ const UtilityCompare = ({
5807
5917
  "path",
5808
5918
  {
5809
5919
  d: "M10.6002 21.7971L5.80011 16.998L1 21.7971",
5810
- stroke: "#282A31",
5920
+ stroke: "currentColor",
5811
5921
  "stroke-width": "2",
5812
5922
  "stroke-linecap": "round",
5813
5923
  "stroke-linejoin": "round"
@@ -5818,7 +5928,7 @@ const UtilityCompare = ({
5818
5928
  {
5819
5929
  d: "M29.8001 28.2014C29.8001 30.8518 27.651 33.0004 24.9999 33.0004C22.3489 33.0004 20.1998 30.8518 20.1998 28.2014C20.1998 25.551 22.3489 23.4023 24.9999 23.4023C27.651 23.4023 29.8001 25.5509 29.8001 28.2014Z",
5820
5930
  fill: "#EFF5FB",
5821
- stroke: "#282A31",
5931
+ stroke: "currentColor",
5822
5932
  "stroke-width": "2",
5823
5933
  "stroke-linecap": "round",
5824
5934
  "stroke-linejoin": "round"
@@ -5828,7 +5938,7 @@ const UtilityCompare = ({
5828
5938
  "path",
5829
5939
  {
5830
5940
  d: "M25.0002 16.9946V8.99624C25.0002 8.14771 24.663 7.33394 24.0629 6.73395C23.4628 6.13395 22.6488 5.79687 21.8001 5.79687L10.5999 5.79688",
5831
- stroke: "#282A31",
5941
+ stroke: "currentColor",
5832
5942
  "stroke-width": "2",
5833
5943
  "stroke-linecap": "round",
5834
5944
  "stroke-linejoin": "round"
@@ -5838,7 +5948,7 @@ const UtilityCompare = ({
5838
5948
  "path",
5839
5949
  {
5840
5950
  d: "M20.1998 12.2012L24.9999 17.0002L29.8001 12.2012",
5841
- stroke: "#282A31",
5951
+ stroke: "currentColor",
5842
5952
  "stroke-width": "2",
5843
5953
  "stroke-linecap": "round",
5844
5954
  "stroke-linejoin": "round"
@@ -5849,7 +5959,7 @@ const UtilityCompare = ({
5849
5959
  )
5850
5960
  }
5851
5961
  );
5852
- };
5962
+ }
5853
5963
  const UtilityDrag = ({ className }) => {
5854
5964
  return /* @__PURE__ */ jsx(
5855
5965
  "div",
@@ -6657,47 +6767,56 @@ function UtilityTargetActive({ className, ...props }) {
6657
6767
  ] });
6658
6768
  }
6659
6769
  function UtilityText({ className }) {
6660
- return /* @__PURE__ */ jsxs(
6661
- "svg",
6770
+ return /* @__PURE__ */ jsx(
6771
+ "div",
6662
6772
  {
6663
- className,
6664
- xmlns: "http://www.w3.org/2000/svg",
6665
- width: "16",
6666
- height: "14",
6667
- viewBox: "0 0 16 14",
6668
- fill: "none",
6669
- children: [
6670
- /* @__PURE__ */ jsx(
6671
- "path",
6672
- {
6673
- d: "M8.75 12.75H0.75",
6674
- stroke: "currentColor",
6675
- strokeWidth: "1.5",
6676
- strokeLinecap: "round",
6677
- "stroke-linejoin": "round"
6678
- }
6679
- ),
6680
- /* @__PURE__ */ jsx(
6681
- "path",
6682
- {
6683
- d: "M10.75 0.75H0.75",
6684
- stroke: "currentColor",
6685
- strokeWidth: "1.5",
6686
- strokeLinecap: "round",
6687
- strokeLinejoin: "round"
6688
- }
6689
- ),
6690
- /* @__PURE__ */ jsx(
6691
- "path",
6692
- {
6693
- d: "M14.75 6.75H0.75",
6694
- stroke: "currentColor",
6695
- strokeWidth: "1.5",
6696
- strokeLinecap: "round",
6697
- strokeLinejoin: "round"
6698
- }
6699
- )
6700
- ]
6773
+ className: cn(
6774
+ "size-4 flex items-center justify-center text-gray-500",
6775
+ className
6776
+ ),
6777
+ children: /* @__PURE__ */ jsxs(
6778
+ "svg",
6779
+ {
6780
+ xmlns: "http://www.w3.org/2000/svg",
6781
+ width: "16",
6782
+ height: "14",
6783
+ viewBox: "0 0 16 14",
6784
+ fill: "none",
6785
+ className: cn("text-inherit w-full h-full"),
6786
+ children: [
6787
+ /* @__PURE__ */ jsx(
6788
+ "path",
6789
+ {
6790
+ d: "M8.75 12.75H0.75",
6791
+ stroke: "currentColor",
6792
+ strokeWidth: "1.5",
6793
+ strokeLinecap: "round",
6794
+ "stroke-linejoin": "round"
6795
+ }
6796
+ ),
6797
+ /* @__PURE__ */ jsx(
6798
+ "path",
6799
+ {
6800
+ d: "M10.75 0.75H0.75",
6801
+ stroke: "currentColor",
6802
+ strokeWidth: "1.5",
6803
+ strokeLinecap: "round",
6804
+ strokeLinejoin: "round"
6805
+ }
6806
+ ),
6807
+ /* @__PURE__ */ jsx(
6808
+ "path",
6809
+ {
6810
+ d: "M14.75 6.75H0.75",
6811
+ stroke: "currentColor",
6812
+ strokeWidth: "1.5",
6813
+ strokeLinecap: "round",
6814
+ strokeLinejoin: "round"
6815
+ }
6816
+ )
6817
+ ]
6818
+ }
6819
+ )
6701
6820
  }
6702
6821
  );
6703
6822
  }
@@ -6717,7 +6836,7 @@ function UtilityRevisionsHide({ className }) {
6717
6836
  height: "15",
6718
6837
  viewBox: "0 0 17 15",
6719
6838
  fill: "none",
6720
- className: cn("text-inherit"),
6839
+ className: cn("text-inherit w-full h-full"),
6721
6840
  children: [
6722
6841
  /* @__PURE__ */ jsx(
6723
6842
  "path",
@@ -6882,7 +7001,7 @@ function UtilityFeedback({ className }) {
6882
7001
  height: "28",
6883
7002
  viewBox: "0 0 30 28",
6884
7003
  fill: "none",
6885
- className: cn("text-inherit"),
7004
+ className: cn("text-inherit w-full h-full"),
6886
7005
  children: /* @__PURE__ */ jsx(
6887
7006
  "path",
6888
7007
  {
@@ -6915,7 +7034,7 @@ function UtilityRevisionsShow({ className }) {
6915
7034
  height: "26",
6916
7035
  viewBox: "0 0 30 26",
6917
7036
  fill: "none",
6918
- className: cn("text-inherit"),
7037
+ className: cn("text-inherit w-full h-full"),
6919
7038
  children: [
6920
7039
  /* @__PURE__ */ jsx(
6921
7040
  "path",
@@ -6928,20 +7047,20 @@ function UtilityRevisionsShow({ className }) {
6928
7047
  "path",
6929
7048
  {
6930
7049
  d: "M9.84194 11.5L1 20.5006V25.0009H14.2629L18.6839 20.5006",
6931
- stroke: "#282A31",
6932
- "stroke-width": "2",
6933
- "stroke-linecap": "round",
6934
- "stroke-linejoin": "round"
7050
+ stroke: "currentColor",
7051
+ strokeWidth: "2",
7052
+ strokeLinecap: "round",
7053
+ strokeLinejoin: "round"
6935
7054
  }
6936
7055
  ),
6937
7056
  /* @__PURE__ */ jsx(
6938
7057
  "path",
6939
7058
  {
6940
7059
  d: "M28.9999 13.0008L22.2211 19.9013C21.6702 20.451 20.9295 20.7589 20.158 20.7589C19.3865 20.7589 18.6458 20.451 18.0949 19.9013L10.4319 12.1008C9.89184 11.5399 9.58936 10.7859 9.58936 10.0006C9.58936 9.21531 9.89184 8.4613 10.4319 7.90048L17.2107 1",
6941
- stroke: "#282A31",
6942
- "stroke-width": "2",
6943
- "stroke-linecap": "round",
6944
- "stroke-linejoin": "round"
7060
+ stroke: "currentColor",
7061
+ strokeWidth: "2",
7062
+ strokeLinecap: "round",
7063
+ strokeLinejoin: "round"
6945
7064
  }
6946
7065
  )
6947
7066
  ]
@@ -12565,8 +12684,11 @@ const MobileNavTrigger = ({
12565
12684
  }
12566
12685
  };
12567
12686
  return /* @__PURE__ */ jsx(
12568
- "button",
12687
+ Button,
12569
12688
  {
12689
+ variant: "clear",
12690
+ size: "icon",
12691
+ type: "button",
12570
12692
  onClick: handleClick,
12571
12693
  disabled,
12572
12694
  "data-active": activeKey === value || void 0,
@@ -13218,6 +13340,7 @@ export {
13218
13340
  AlertDialogTrigger,
13219
13341
  AlertTitle,
13220
13342
  AlphaIcon,
13343
+ AnimatedTabs,
13221
13344
  AspectRatio,
13222
13345
  Avatar,
13223
13346
  AvatarFallback,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syscore/ui-library",
3
- "version": "1.18.0",
3
+ "version": "1.19.1",
4
4
  "description": "A comprehensive React component library built with Radix UI, Tailwind CSS, and TypeScript",
5
5
  "private": false,
6
6
  "type": "module",