@syscore/ui-library 1.20.0 → 1.22.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/client/components/icons/AlphaIcon.tsx +33 -4
- package/client/components/icons/UtilityClose.tsx +1 -1
- package/client/components/icons/UtilityCompare.tsx +18 -18
- package/client/components/icons/UtilityFeedback.tsx +3 -3
- package/client/components/icons/UtilityMessage.tsx +4 -4
- package/client/components/icons/UtilityTrash.tsx +9 -9
- package/client/components/icons/achievement-badges/BadgeCertificationGold.tsx +25 -25
- package/client/components/icons/imperative-badges/BadgeImperativePrimary.tsx +9 -9
- package/client/components/icons/imperative-badges/BadgeImperativeSecondary.tsx +13 -13
- package/client/components/ui/accordion.tsx +4 -3
- package/client/components/ui/dialog.tsx +8 -3
- package/client/components/ui/tabs.tsx +352 -204
- package/client/components/ui/tooltip.tsx +2 -2
- package/client/global.css +89 -18
- package/client/ui/MobileNav.stories.tsx +1 -15
- package/client/ui/Tabs.stories.tsx +156 -53
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.es.js +437 -271
- package/package.json +10 -2
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
|
|
3
|
+
import { useState, useEffect, useCallback, useRef, createContext, Children, isValidElement, cloneElement, useLayoutEffect, useContext, useMemo } 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,7 +18,6 @@ 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";
|
|
22
21
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
23
22
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
24
23
|
import { useFormContext, FormProvider, Controller } from "react-hook-form";
|
|
@@ -277,9 +276,9 @@ const Accordion = React.forwardRef(
|
|
|
277
276
|
}
|
|
278
277
|
);
|
|
279
278
|
Accordion.displayName = "Accordion";
|
|
280
|
-
const AccordionSectionHeader = React.forwardRef(({ title, hasExpanded, onToggleAll, className }, ref) => {
|
|
279
|
+
const AccordionSectionHeader = React.forwardRef(({ title, hasExpanded, onToggleAll, className, titleClassName }, ref) => {
|
|
281
280
|
return /* @__PURE__ */ jsxs("div", { ref, className: cn(className), children: [
|
|
282
|
-
/* @__PURE__ */ jsx("h2", { children: title }),
|
|
281
|
+
/* @__PURE__ */ jsx("h2", { className: cn(titleClassName), children: title }),
|
|
283
282
|
onToggleAll && /* @__PURE__ */ jsx(
|
|
284
283
|
motion.div,
|
|
285
284
|
{
|
|
@@ -289,7 +288,6 @@ const AccordionSectionHeader = React.forwardRef(({ title, hasExpanded, onToggleA
|
|
|
289
288
|
Button,
|
|
290
289
|
{
|
|
291
290
|
size: "icon",
|
|
292
|
-
variant: "clear",
|
|
293
291
|
onClick: onToggleAll,
|
|
294
292
|
"aria-label": hasExpanded ? "Collapse all" : "Expand all",
|
|
295
293
|
children: /* @__PURE__ */ jsx(UtilityChevronDown, {})
|
|
@@ -887,7 +885,7 @@ const UtilityClose = ({ className }) => {
|
|
|
887
885
|
"div",
|
|
888
886
|
{
|
|
889
887
|
className: cn(
|
|
890
|
-
"size-4 flex items-center justify-center text-gray-500
|
|
888
|
+
"size-4 flex items-center justify-center text-gray-500 ",
|
|
891
889
|
className
|
|
892
890
|
),
|
|
893
891
|
children: /* @__PURE__ */ jsxs(
|
|
@@ -1085,7 +1083,7 @@ function TooltipContent({
|
|
|
1085
1083
|
)
|
|
1086
1084
|
}
|
|
1087
1085
|
) }),
|
|
1088
|
-
variant2 !== "simple" && !hideClose && /* @__PURE__ */ jsx(ToggleClose, {
|
|
1086
|
+
variant2 !== "simple" && !hideClose && /* @__PURE__ */ jsx(ToggleClose, {}),
|
|
1089
1087
|
children
|
|
1090
1088
|
]
|
|
1091
1089
|
}
|
|
@@ -1098,7 +1096,7 @@ function ToggleClose({ className }) {
|
|
|
1098
1096
|
{
|
|
1099
1097
|
"data-slot": "tooltip-close",
|
|
1100
1098
|
onClick: close,
|
|
1101
|
-
className
|
|
1099
|
+
className,
|
|
1102
1100
|
children: /* @__PURE__ */ jsx(UtilityClose, {})
|
|
1103
1101
|
}
|
|
1104
1102
|
);
|
|
@@ -1752,172 +1750,6 @@ const Slider = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
1752
1750
|
}
|
|
1753
1751
|
));
|
|
1754
1752
|
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;
|
|
1921
1753
|
const InputOTP = React.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1922
1754
|
OTPInput,
|
|
1923
1755
|
{
|
|
@@ -2622,15 +2454,25 @@ function DialogContent({
|
|
|
2622
2454
|
...props,
|
|
2623
2455
|
children: /* @__PURE__ */ jsxs("div", { className: "dialog-content-wrapper", children: [
|
|
2624
2456
|
/* @__PURE__ */ jsx("div", { className: cn("dialog-content-inner", innerClassName), children }),
|
|
2625
|
-
showCloseButton && /* @__PURE__ */ jsx("div", { className: "dialog-close", children: /* @__PURE__ */ jsxs(
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2457
|
+
showCloseButton && /* @__PURE__ */ jsx("div", { className: "dialog-close", children: /* @__PURE__ */ jsxs(
|
|
2458
|
+
SheetPrimitive.Close,
|
|
2459
|
+
{
|
|
2460
|
+
"data-slot": "dialog-close",
|
|
2461
|
+
className: "absolute top-4 right-4 cursor-pointer",
|
|
2462
|
+
children: [
|
|
2463
|
+
/* @__PURE__ */ jsx(
|
|
2464
|
+
UtilityClose,
|
|
2465
|
+
{
|
|
2466
|
+
className: cn(
|
|
2467
|
+
"dialog-close-icon text-gray-400 hover:text-gray-500 transition-colors duration-200 ",
|
|
2468
|
+
closeClassName
|
|
2469
|
+
)
|
|
2470
|
+
}
|
|
2471
|
+
),
|
|
2472
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
2473
|
+
]
|
|
2474
|
+
}
|
|
2475
|
+
) })
|
|
2634
2476
|
] })
|
|
2635
2477
|
}
|
|
2636
2478
|
) }) });
|
|
@@ -2925,6 +2767,278 @@ const Tag = React.forwardRef(
|
|
|
2925
2767
|
}
|
|
2926
2768
|
);
|
|
2927
2769
|
Tag.displayName = "Tag";
|
|
2770
|
+
const TabsContext = createContext(null);
|
|
2771
|
+
function useTabsContext() {
|
|
2772
|
+
const ctx = useContext(TabsContext);
|
|
2773
|
+
if (!ctx)
|
|
2774
|
+
throw new Error("Tabs compound components must be used inside <Tabs>");
|
|
2775
|
+
return ctx;
|
|
2776
|
+
}
|
|
2777
|
+
const TabsNavContext = createContext(null);
|
|
2778
|
+
function useTabsNavContext() {
|
|
2779
|
+
const ctx = useContext(TabsNavContext);
|
|
2780
|
+
if (!ctx) throw new Error("TabsTrigger must be used inside <TabsList>");
|
|
2781
|
+
return ctx;
|
|
2782
|
+
}
|
|
2783
|
+
const transition = {
|
|
2784
|
+
type: "tween",
|
|
2785
|
+
ease: "easeOut",
|
|
2786
|
+
duration: 0.15
|
|
2787
|
+
};
|
|
2788
|
+
const contentVariants = {
|
|
2789
|
+
enter: (dir) => ({ opacity: 0, x: dir * 20 }),
|
|
2790
|
+
center: { opacity: 1, x: 0 },
|
|
2791
|
+
exit: (dir) => ({ opacity: 0, x: dir * -20 })
|
|
2792
|
+
};
|
|
2793
|
+
function AnimatedHeight({
|
|
2794
|
+
children,
|
|
2795
|
+
selectedValue
|
|
2796
|
+
}) {
|
|
2797
|
+
const containerRef = useRef(null);
|
|
2798
|
+
const innerRef = useRef(null);
|
|
2799
|
+
const currentHeight = useRef(0);
|
|
2800
|
+
useLayoutEffect(() => {
|
|
2801
|
+
const container = containerRef.current;
|
|
2802
|
+
const inner = innerRef.current;
|
|
2803
|
+
if (!container || !inner) return;
|
|
2804
|
+
const initialHeight = inner.offsetHeight;
|
|
2805
|
+
if (currentHeight.current === 0) {
|
|
2806
|
+
currentHeight.current = initialHeight;
|
|
2807
|
+
container.style.height = `${initialHeight}px`;
|
|
2808
|
+
return;
|
|
2809
|
+
}
|
|
2810
|
+
const ro = new ResizeObserver(() => {
|
|
2811
|
+
const targetHeight = inner.offsetHeight;
|
|
2812
|
+
if (targetHeight > 0 && targetHeight !== currentHeight.current) {
|
|
2813
|
+
currentHeight.current = targetHeight;
|
|
2814
|
+
ro.disconnect();
|
|
2815
|
+
animate(container, { height: targetHeight }, { duration: 0.25, ease: "easeInOut" });
|
|
2816
|
+
}
|
|
2817
|
+
});
|
|
2818
|
+
ro.observe(inner);
|
|
2819
|
+
return () => ro.disconnect();
|
|
2820
|
+
}, [selectedValue]);
|
|
2821
|
+
return /* @__PURE__ */ jsx("div", { ref: containerRef, className: "overflow-clip", children: /* @__PURE__ */ jsx("div", { ref: innerRef, children }) });
|
|
2822
|
+
}
|
|
2823
|
+
function Tabs({
|
|
2824
|
+
children,
|
|
2825
|
+
defaultValue,
|
|
2826
|
+
className
|
|
2827
|
+
}) {
|
|
2828
|
+
const [selectedValue, setSelectedValue] = useState(defaultValue);
|
|
2829
|
+
const [direction, setDirection] = useState(0);
|
|
2830
|
+
const valuesRef = useRef([]);
|
|
2831
|
+
const selectedValueRef = useRef(defaultValue);
|
|
2832
|
+
const registerValue = useCallback((value) => {
|
|
2833
|
+
if (!valuesRef.current.includes(value)) {
|
|
2834
|
+
valuesRef.current.push(value);
|
|
2835
|
+
}
|
|
2836
|
+
}, []);
|
|
2837
|
+
const handleSetSelectedValue = useCallback((value) => {
|
|
2838
|
+
const currentIdx = valuesRef.current.indexOf(selectedValueRef.current);
|
|
2839
|
+
const nextIdx = valuesRef.current.indexOf(value);
|
|
2840
|
+
setDirection(nextIdx > currentIdx ? 1 : -1);
|
|
2841
|
+
selectedValueRef.current = value;
|
|
2842
|
+
setSelectedValue(value);
|
|
2843
|
+
}, []);
|
|
2844
|
+
const childArray = Children.toArray(children);
|
|
2845
|
+
const contentChildren = childArray.filter(
|
|
2846
|
+
(child) => isValidElement(child) && child.type === TabsContent
|
|
2847
|
+
);
|
|
2848
|
+
const nonContentChildren = childArray.filter(
|
|
2849
|
+
(child) => !(isValidElement(child) && child.type === TabsContent)
|
|
2850
|
+
);
|
|
2851
|
+
const activeContent = contentChildren.find(
|
|
2852
|
+
(child) => child.props.value === selectedValue
|
|
2853
|
+
);
|
|
2854
|
+
return /* @__PURE__ */ jsx(
|
|
2855
|
+
TabsContext.Provider,
|
|
2856
|
+
{
|
|
2857
|
+
value: { selectedValue, setSelectedValue: handleSetSelectedValue, direction, registerValue },
|
|
2858
|
+
children: /* @__PURE__ */ jsxs("div", { className: cn("tabs-container", className), children: [
|
|
2859
|
+
nonContentChildren,
|
|
2860
|
+
/* @__PURE__ */ jsx(AnimatedHeight, { selectedValue, children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", custom: direction, children: activeContent && cloneElement(activeContent, { key: activeContent.props.value }) }) })
|
|
2861
|
+
] })
|
|
2862
|
+
}
|
|
2863
|
+
);
|
|
2864
|
+
}
|
|
2865
|
+
function TabsList({
|
|
2866
|
+
children,
|
|
2867
|
+
className,
|
|
2868
|
+
containerClassName,
|
|
2869
|
+
fullWidth = false
|
|
2870
|
+
}) {
|
|
2871
|
+
const { selectedValue } = useTabsContext();
|
|
2872
|
+
const navRef = useRef(null);
|
|
2873
|
+
const containerRef = useRef(null);
|
|
2874
|
+
const buttonRefs = useRef(/* @__PURE__ */ new Map());
|
|
2875
|
+
const indicatorX = useMotionValue(-999);
|
|
2876
|
+
const indicatorWidth = useMotionValue(0);
|
|
2877
|
+
const [indicatorColor, setIndicatorColor] = useState(null);
|
|
2878
|
+
const isFirstRender = useRef(true);
|
|
2879
|
+
const selectedValueRef = useRef(selectedValue);
|
|
2880
|
+
selectedValueRef.current = selectedValue;
|
|
2881
|
+
const updateIndicatorPosition = useCallback(() => {
|
|
2882
|
+
const nav = navRef.current;
|
|
2883
|
+
const selectedEl = buttonRefs.current.get(selectedValueRef.current);
|
|
2884
|
+
if (!nav || !selectedEl) return;
|
|
2885
|
+
const navRect = nav.getBoundingClientRect();
|
|
2886
|
+
const selectedRect = selectedEl.getBoundingClientRect();
|
|
2887
|
+
indicatorX.set(selectedRect.left - navRect.left);
|
|
2888
|
+
indicatorWidth.set(selectedRect.width);
|
|
2889
|
+
}, [indicatorX, indicatorWidth]);
|
|
2890
|
+
useEffect(() => {
|
|
2891
|
+
const el = containerRef.current;
|
|
2892
|
+
if (!el) return;
|
|
2893
|
+
const updateScroll = () => {
|
|
2894
|
+
const canLeft = el.scrollLeft > 0;
|
|
2895
|
+
const canRight = el.scrollLeft < el.scrollWidth - el.clientWidth - 1;
|
|
2896
|
+
el.dataset.scrollLeft = canLeft ? "true" : "";
|
|
2897
|
+
el.dataset.scrollRight = canRight ? "true" : "";
|
|
2898
|
+
};
|
|
2899
|
+
updateScroll();
|
|
2900
|
+
el.addEventListener("scroll", updateScroll, { passive: true });
|
|
2901
|
+
const ro = new ResizeObserver(() => {
|
|
2902
|
+
updateScroll();
|
|
2903
|
+
updateIndicatorPosition();
|
|
2904
|
+
});
|
|
2905
|
+
ro.observe(el);
|
|
2906
|
+
return () => {
|
|
2907
|
+
el.removeEventListener("scroll", updateScroll);
|
|
2908
|
+
ro.disconnect();
|
|
2909
|
+
};
|
|
2910
|
+
}, [updateIndicatorPosition]);
|
|
2911
|
+
const registerRef = useCallback(
|
|
2912
|
+
(value, el) => {
|
|
2913
|
+
buttonRefs.current.set(value, el);
|
|
2914
|
+
},
|
|
2915
|
+
[]
|
|
2916
|
+
);
|
|
2917
|
+
useLayoutEffect(() => {
|
|
2918
|
+
var _a;
|
|
2919
|
+
const nav = navRef.current;
|
|
2920
|
+
const container = containerRef.current;
|
|
2921
|
+
const selectedEl = buttonRefs.current.get(selectedValue);
|
|
2922
|
+
if (!nav || !container || !selectedEl) return;
|
|
2923
|
+
const navRect = nav.getBoundingClientRect();
|
|
2924
|
+
const selectedRect = selectedEl.getBoundingClientRect();
|
|
2925
|
+
const P = selectedRect.left - navRect.left;
|
|
2926
|
+
const W = selectedRect.width;
|
|
2927
|
+
const danger = ((_a = selectedEl.dataset) == null ? void 0 : _a.variant) === "danger";
|
|
2928
|
+
setIndicatorColor(danger ? "danger" : "default");
|
|
2929
|
+
if (isFirstRender.current) {
|
|
2930
|
+
isFirstRender.current = false;
|
|
2931
|
+
indicatorX.set(P);
|
|
2932
|
+
indicatorWidth.set(W);
|
|
2933
|
+
return;
|
|
2934
|
+
}
|
|
2935
|
+
const target = P - container.clientWidth / 2 + W / 2;
|
|
2936
|
+
const clampedTarget = Math.max(
|
|
2937
|
+
0,
|
|
2938
|
+
Math.min(target, container.scrollWidth - container.clientWidth)
|
|
2939
|
+
);
|
|
2940
|
+
const needsScroll = Math.abs(clampedTarget - container.scrollLeft) > 1;
|
|
2941
|
+
if (needsScroll) {
|
|
2942
|
+
indicatorX.set(P);
|
|
2943
|
+
indicatorWidth.set(W);
|
|
2944
|
+
container.scrollTo({ left: clampedTarget, behavior: "smooth" });
|
|
2945
|
+
} else {
|
|
2946
|
+
animate(indicatorX, P, transition);
|
|
2947
|
+
animate(indicatorWidth, W, transition);
|
|
2948
|
+
}
|
|
2949
|
+
}, [selectedValue, indicatorX, indicatorWidth]);
|
|
2950
|
+
return /* @__PURE__ */ jsx(TabsNavContext.Provider, { value: { registerRef }, children: /* @__PURE__ */ jsx(
|
|
2951
|
+
"div",
|
|
2952
|
+
{
|
|
2953
|
+
ref: containerRef,
|
|
2954
|
+
className: cn("tabs-container-inner", containerClassName),
|
|
2955
|
+
children: /* @__PURE__ */ jsxs(
|
|
2956
|
+
"nav",
|
|
2957
|
+
{
|
|
2958
|
+
ref: navRef,
|
|
2959
|
+
className: cn(
|
|
2960
|
+
"tabs-nav",
|
|
2961
|
+
{ "tabs-nav--full-width": fullWidth },
|
|
2962
|
+
className
|
|
2963
|
+
),
|
|
2964
|
+
children: [
|
|
2965
|
+
children,
|
|
2966
|
+
indicatorColor !== null && /* @__PURE__ */ jsx(
|
|
2967
|
+
motion.div,
|
|
2968
|
+
{
|
|
2969
|
+
className: cn("tabs-nav-indicator", {
|
|
2970
|
+
"tabs-nav-indicator--danger": indicatorColor === "danger",
|
|
2971
|
+
"tabs-nav-indicator--default": indicatorColor === "default"
|
|
2972
|
+
}),
|
|
2973
|
+
style: { x: indicatorX, width: indicatorWidth }
|
|
2974
|
+
}
|
|
2975
|
+
),
|
|
2976
|
+
/* @__PURE__ */ jsx("div", { className: "tabs-nav-underline" })
|
|
2977
|
+
]
|
|
2978
|
+
}
|
|
2979
|
+
)
|
|
2980
|
+
}
|
|
2981
|
+
) });
|
|
2982
|
+
}
|
|
2983
|
+
function TabsTrigger({
|
|
2984
|
+
value,
|
|
2985
|
+
children,
|
|
2986
|
+
className,
|
|
2987
|
+
variant: variant2 = "default"
|
|
2988
|
+
}) {
|
|
2989
|
+
const { selectedValue, setSelectedValue, registerValue } = useTabsContext();
|
|
2990
|
+
const { registerRef } = useTabsNavContext();
|
|
2991
|
+
useLayoutEffect(() => {
|
|
2992
|
+
registerValue(value);
|
|
2993
|
+
}, [registerValue, value]);
|
|
2994
|
+
const isActive = selectedValue === value;
|
|
2995
|
+
const refCallback = useCallback(
|
|
2996
|
+
(el) => registerRef(value, el),
|
|
2997
|
+
[registerRef, value]
|
|
2998
|
+
);
|
|
2999
|
+
const handleClick = useCallback(
|
|
3000
|
+
() => setSelectedValue(value),
|
|
3001
|
+
[setSelectedValue, value]
|
|
3002
|
+
);
|
|
3003
|
+
return /* @__PURE__ */ jsx(
|
|
3004
|
+
"button",
|
|
3005
|
+
{
|
|
3006
|
+
className: cn("tabs-nav-button", className),
|
|
3007
|
+
"data-variant": variant2,
|
|
3008
|
+
onClick: handleClick,
|
|
3009
|
+
ref: refCallback,
|
|
3010
|
+
children: /* @__PURE__ */ jsx(
|
|
3011
|
+
"span",
|
|
3012
|
+
{
|
|
3013
|
+
className: cn("tabs-nav-button-text overline-large", {
|
|
3014
|
+
"tabs-nav-button-text--inactive": !isActive,
|
|
3015
|
+
"tabs-nav-button-text--active": isActive
|
|
3016
|
+
}),
|
|
3017
|
+
children
|
|
3018
|
+
}
|
|
3019
|
+
)
|
|
3020
|
+
}
|
|
3021
|
+
);
|
|
3022
|
+
}
|
|
3023
|
+
function TabsContent({
|
|
3024
|
+
children,
|
|
3025
|
+
className
|
|
3026
|
+
}) {
|
|
3027
|
+
const { direction } = useTabsContext();
|
|
3028
|
+
return /* @__PURE__ */ jsx(
|
|
3029
|
+
motion.div,
|
|
3030
|
+
{
|
|
3031
|
+
className,
|
|
3032
|
+
custom: direction,
|
|
3033
|
+
variants: contentVariants,
|
|
3034
|
+
initial: "enter",
|
|
3035
|
+
animate: "center",
|
|
3036
|
+
exit: "exit",
|
|
3037
|
+
transition,
|
|
3038
|
+
children
|
|
3039
|
+
}
|
|
3040
|
+
);
|
|
3041
|
+
}
|
|
2928
3042
|
const Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
2929
3043
|
"nav",
|
|
2930
3044
|
{
|
|
@@ -4816,6 +4930,24 @@ const Toaster = ({ ...props }) => {
|
|
|
4816
4930
|
}
|
|
4817
4931
|
);
|
|
4818
4932
|
};
|
|
4933
|
+
function useTabs({ tabs, initialTabId }) {
|
|
4934
|
+
const initialIndex = tabs.findIndex((tab) => tab.value === initialTabId);
|
|
4935
|
+
const [selectedTabIndex, setSelectedTabIndex] = useState(
|
|
4936
|
+
initialIndex >= 0 ? initialIndex : 0
|
|
4937
|
+
);
|
|
4938
|
+
const setSelectedTab = useCallback(([index, direction]) => {
|
|
4939
|
+
setSelectedTabIndex(index);
|
|
4940
|
+
}, []);
|
|
4941
|
+
const selectedTab = tabs[selectedTabIndex] || tabs[0];
|
|
4942
|
+
return {
|
|
4943
|
+
tabProps: {
|
|
4944
|
+
tabs,
|
|
4945
|
+
selectedTabIndex,
|
|
4946
|
+
setSelectedTab
|
|
4947
|
+
},
|
|
4948
|
+
selectedTab
|
|
4949
|
+
};
|
|
4950
|
+
}
|
|
4819
4951
|
const conceptColors = {
|
|
4820
4952
|
mind: {
|
|
4821
4953
|
solid: "#0a5161",
|
|
@@ -5898,9 +6030,9 @@ function UtilityCompare({ className }) {
|
|
|
5898
6030
|
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",
|
|
5899
6031
|
fill: "#E0FBF5",
|
|
5900
6032
|
stroke: "currentColor",
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
6033
|
+
strokeWidth: "2",
|
|
6034
|
+
strokeLinecap: "round",
|
|
6035
|
+
strokeLinejoin: "round"
|
|
5904
6036
|
}
|
|
5905
6037
|
),
|
|
5906
6038
|
/* @__PURE__ */ jsx(
|
|
@@ -5908,9 +6040,9 @@ function UtilityCompare({ className }) {
|
|
|
5908
6040
|
{
|
|
5909
6041
|
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",
|
|
5910
6042
|
stroke: "currentColor",
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
6043
|
+
strokeWidth: "2",
|
|
6044
|
+
strokeLinecap: "round",
|
|
6045
|
+
strokeLinejoin: "round"
|
|
5914
6046
|
}
|
|
5915
6047
|
),
|
|
5916
6048
|
/* @__PURE__ */ jsx(
|
|
@@ -5918,9 +6050,9 @@ function UtilityCompare({ className }) {
|
|
|
5918
6050
|
{
|
|
5919
6051
|
d: "M10.6002 21.7971L5.80011 16.998L1 21.7971",
|
|
5920
6052
|
stroke: "currentColor",
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
6053
|
+
strokeWidth: "2",
|
|
6054
|
+
strokeLinecap: "round",
|
|
6055
|
+
strokeLinejoin: "round"
|
|
5924
6056
|
}
|
|
5925
6057
|
),
|
|
5926
6058
|
/* @__PURE__ */ jsx(
|
|
@@ -5929,9 +6061,9 @@ function UtilityCompare({ className }) {
|
|
|
5929
6061
|
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",
|
|
5930
6062
|
fill: "#EFF5FB",
|
|
5931
6063
|
stroke: "currentColor",
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
6064
|
+
strokeWidth: "2",
|
|
6065
|
+
strokeLinecap: "round",
|
|
6066
|
+
strokeLinejoin: "round"
|
|
5935
6067
|
}
|
|
5936
6068
|
),
|
|
5937
6069
|
/* @__PURE__ */ jsx(
|
|
@@ -5939,9 +6071,9 @@ function UtilityCompare({ className }) {
|
|
|
5939
6071
|
{
|
|
5940
6072
|
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",
|
|
5941
6073
|
stroke: "currentColor",
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
6074
|
+
strokeWidth: "2",
|
|
6075
|
+
strokeLinecap: "round",
|
|
6076
|
+
strokeLinejoin: "round"
|
|
5945
6077
|
}
|
|
5946
6078
|
),
|
|
5947
6079
|
/* @__PURE__ */ jsx(
|
|
@@ -5949,9 +6081,9 @@ function UtilityCompare({ className }) {
|
|
|
5949
6081
|
{
|
|
5950
6082
|
d: "M20.1998 12.2012L24.9999 17.0002L29.8001 12.2012",
|
|
5951
6083
|
stroke: "currentColor",
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
6084
|
+
strokeWidth: "2",
|
|
6085
|
+
strokeLinecap: "round",
|
|
6086
|
+
strokeLinejoin: "round"
|
|
5955
6087
|
}
|
|
5956
6088
|
)
|
|
5957
6089
|
]
|
|
@@ -6113,11 +6245,11 @@ const UtilityMessage = ({
|
|
|
6113
6245
|
{
|
|
6114
6246
|
d: "M21 15C21 15.5304 20.7893 16.0391 20.4142 16.4142C20.0391 16.7893 19.5304 17 19 17H5.828C5.29761 17.0001 4.78899 17.2109 4.414 17.586L2.212 19.788C2.1127 19.8873 1.9862 19.9549 1.84849 19.9823C1.71077 20.0097 1.56803 19.9956 1.43831 19.9419C1.30858 19.8881 1.1977 19.7971 1.11969 19.6804C1.04167 19.5637 1.00002 19.4264 1 19.286V3C1 2.46957 1.21071 1.96086 1.58579 1.58579C1.96086 1.21071 2.46957 1 3 1H19C19.5304 1 20.0391 1.21071 20.4142 1.58579C20.7893 1.96086 21 2.46957 21 3V15Z",
|
|
6115
6247
|
fill: "currentColor",
|
|
6116
|
-
|
|
6248
|
+
fillOpacity: "0.2",
|
|
6117
6249
|
stroke: "currentColor",
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6250
|
+
strokeWidth: "2",
|
|
6251
|
+
strokeLinecap: "round",
|
|
6252
|
+
strokeLinejoin: "round"
|
|
6121
6253
|
}
|
|
6122
6254
|
)
|
|
6123
6255
|
}
|
|
@@ -6921,9 +7053,9 @@ const UtilityTrash = ({ className }) => {
|
|
|
6921
7053
|
{
|
|
6922
7054
|
d: "M11.9504 3.5498V13.3498C11.9504 13.7211 11.8029 14.0772 11.5403 14.3398C11.2778 14.6023 10.9217 14.7498 10.5504 14.7498H3.55039C3.17909 14.7498 2.82299 14.6023 2.56044 14.3398C2.29789 14.0772 2.15039 13.7211 2.15039 13.3498V3.5498",
|
|
6923
7055
|
stroke: "currentColor",
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
7056
|
+
strokeWidth: "1.5",
|
|
7057
|
+
strokeLinecap: "round",
|
|
7058
|
+
strokeLinejoin: "round"
|
|
6927
7059
|
}
|
|
6928
7060
|
),
|
|
6929
7061
|
/* @__PURE__ */ jsx(
|
|
@@ -6931,9 +7063,9 @@ const UtilityTrash = ({ className }) => {
|
|
|
6931
7063
|
{
|
|
6932
7064
|
d: "M0.75 3.5498H13.35",
|
|
6933
7065
|
stroke: "currentColor",
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
7066
|
+
strokeWidth: "1.5",
|
|
7067
|
+
strokeLinecap: "round",
|
|
7068
|
+
strokeLinejoin: "round"
|
|
6937
7069
|
}
|
|
6938
7070
|
),
|
|
6939
7071
|
/* @__PURE__ */ jsx(
|
|
@@ -6941,9 +7073,9 @@ const UtilityTrash = ({ className }) => {
|
|
|
6941
7073
|
{
|
|
6942
7074
|
d: "M4.25 3.55V2.15C4.25 1.7787 4.3975 1.4226 4.66005 1.16005C4.9226 0.8975 5.2787 0.75 5.65 0.75H8.45C8.8213 0.75 9.1774 0.8975 9.43995 1.16005C9.7025 1.4226 9.85 1.7787 9.85 2.15V3.55",
|
|
6943
7075
|
stroke: "currentColor",
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
7076
|
+
strokeWidth: "1.5",
|
|
7077
|
+
strokeLinecap: "round",
|
|
7078
|
+
strokeLinejoin: "round"
|
|
6947
7079
|
}
|
|
6948
7080
|
)
|
|
6949
7081
|
]
|
|
@@ -7008,9 +7140,9 @@ function UtilityFeedback({ className }) {
|
|
|
7008
7140
|
d: "M29 20.162C29 20.888 28.705 21.5843 28.1799 22.0977C27.6548 22.611 26.9426 22.8995 26.2 22.8995H7.7592C7.01665 22.8996 6.30458 23.1881 5.7796 23.7015L2.6968 26.7154C2.55779 26.8513 2.38068 26.9438 2.18788 26.9813C1.99508 27.0188 1.79524 26.9996 1.61363 26.926C1.43202 26.8525 1.27678 26.728 1.16756 26.5682C1.05834 26.4084 1.00003 26.2205 1 26.0283V3.73743C1 3.01142 1.295 2.31514 1.8201 1.80178C2.3452 1.28841 3.05739 1 3.8 1H26.2C26.9426 1 27.6548 1.28841 28.1799 1.80178C28.705 2.31514 29 3.01142 29 3.73743V20.162Z",
|
|
7009
7141
|
fill: "#D6F4FB",
|
|
7010
7142
|
stroke: "#71747D",
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
7143
|
+
strokeWidth: "2",
|
|
7144
|
+
strokeLinecap: "round",
|
|
7145
|
+
strokeLinejoin: "round"
|
|
7014
7146
|
}
|
|
7015
7147
|
)
|
|
7016
7148
|
}
|
|
@@ -10867,7 +10999,7 @@ const BadgeCertificationGold = ({
|
|
|
10867
10999
|
{
|
|
10868
11000
|
d: "M26.8122 52.8121C24.5706 52.8121 22.2424 52.5414 20.0875 51.9133C17.9325 51.2853 15.7884 50.4839 13.8176 49.3144C11.8467 48.1449 10.0491 46.8021 8.43565 45.1886C6.82216 43.5751 5.47939 41.7884 4.30987 39.8067C3.14036 37.8359 2.33903 35.7784 1.71096 33.5368C1.08288 31.3819 0.812164 29.0537 0.812164 26.8121C0.812164 24.5706 1.08288 22.2424 1.71096 20.0874C2.33903 17.9325 3.14036 15.7884 4.30987 13.8175C5.47939 11.8467 6.82216 10.0491 8.43565 8.43562C10.0491 6.82213 11.8359 5.47936 13.8176 4.30984C15.7884 3.14033 17.8459 2.339 20.0875 1.71093C22.2424 1.08285 24.5706 0.812134 26.8122 0.812134C29.0537 0.812134 31.3819 1.08285 33.5369 1.71093C35.6918 2.339 37.8359 3.14033 39.8067 4.30984C41.7776 5.47936 43.5752 6.82213 45.1887 8.43562C46.8022 10.0491 48.1449 11.8359 49.3145 13.8175C50.484 15.7884 51.2853 17.8459 51.9134 20.0874C52.5414 22.2424 52.8122 24.5706 52.8122 26.8121C52.8122 29.0537 52.5414 31.3819 51.9134 33.5368C51.2853 35.6918 50.484 37.8359 49.3145 39.8067C48.1449 41.7776 46.8022 43.5751 45.1887 45.1886C43.5752 46.8021 41.7884 48.1449 39.8067 49.3144C37.8359 50.4839 35.7784 51.2853 33.5369 51.9133C31.3819 52.5414 29.0537 52.8121 26.8122 52.8121Z",
|
|
10869
11001
|
fill: "url(#paint0_linear_9834_327)",
|
|
10870
|
-
|
|
11002
|
+
fillOpacity: "0.8"
|
|
10871
11003
|
}
|
|
10872
11004
|
),
|
|
10873
11005
|
/* @__PURE__ */ jsx(
|
|
@@ -10875,8 +11007,8 @@ const BadgeCertificationGold = ({
|
|
|
10875
11007
|
{
|
|
10876
11008
|
d: "M26.8122 52.8121C24.5706 52.8121 22.2424 52.5414 20.0875 51.9133C17.9325 51.2853 15.7884 50.4839 13.8176 49.3144C11.8467 48.1449 10.0492 46.8021 8.43566 45.1886C6.82216 43.5752 5.47939 41.7884 4.30987 39.8067C3.14036 37.8359 2.33903 35.7784 1.71096 33.5368C1.08288 31.3819 0.812164 29.0537 0.812164 26.8121C0.812164 24.5706 1.08288 22.2424 1.71096 20.0874C2.33903 17.9325 3.14036 15.7884 4.30987 13.8175C5.47939 11.8467 6.82216 10.0491 8.43566 8.43562C10.0492 6.82213 11.8359 5.47936 13.8176 4.30984C15.7884 3.14033 17.8459 2.339 20.0875 1.71093C22.2424 1.08285 24.5706 0.812134 26.8122 0.812134C29.0537 0.812134 31.3819 1.08285 33.5369 1.71093C35.6918 2.339 37.8359 3.14033 39.8068 4.30984C41.7776 5.47936 43.5752 6.82213 45.1887 8.43562C46.8022 10.0491 48.1449 11.8359 49.3145 13.8175C50.484 15.7884 51.2853 17.8459 51.9134 20.0874C52.5414 22.2424 52.8122 24.5706 52.8122 26.8121C52.8122 29.0537 52.5414 31.3819 51.9134 33.5368C51.2853 35.6918 50.484 37.8359 49.3145 39.8067C48.1449 41.7776 46.8022 43.5752 45.1887 45.1886C43.5752 46.8021 41.7884 48.1449 39.8068 49.3144C37.8359 50.4839 35.7784 51.2853 33.5369 51.9133C31.3819 52.5414 29.0537 52.8121 26.8122 52.8121Z",
|
|
10877
11009
|
stroke: "white",
|
|
10878
|
-
|
|
10879
|
-
|
|
11010
|
+
strokeWidth: "1.62432",
|
|
11011
|
+
strokeLinecap: "round"
|
|
10880
11012
|
}
|
|
10881
11013
|
),
|
|
10882
11014
|
/* @__PURE__ */ jsx(
|
|
@@ -10884,8 +11016,8 @@ const BadgeCertificationGold = ({
|
|
|
10884
11016
|
{
|
|
10885
11017
|
d: "M32.6923 48.7839C30.8081 49.3362 28.7723 49.5636 26.8123 49.5636C24.8523 49.5636 22.8165 49.3254 20.9322 48.7839C19.048 48.2425 17.1638 47.5278 15.442 46.5099C13.7202 45.4919 12.1501 44.3116 10.7423 42.9039C9.33457 41.4961 8.15423 39.9259 7.13632 38.2041C6.11841 36.4824 5.41454 34.674 4.86227 32.7139C4.31 30.8297 4.0826 28.7939 4.0826 26.8339C4.0826 24.8739 4.32083 22.8381 4.86227 20.9538C5.40371 19.0696 6.11841 17.1854 7.13632 15.4636C8.15423 13.7418 9.33457 12.1717 10.7423 10.7639",
|
|
10886
11018
|
stroke: "white",
|
|
10887
|
-
|
|
10888
|
-
|
|
11019
|
+
strokeWidth: "1.62432",
|
|
11020
|
+
strokeLinecap: "round"
|
|
10889
11021
|
}
|
|
10890
11022
|
),
|
|
10891
11023
|
/* @__PURE__ */ jsx(
|
|
@@ -10893,8 +11025,8 @@ const BadgeCertificationGold = ({
|
|
|
10893
11025
|
{
|
|
10894
11026
|
d: "M49.5526 26.8231C49.5526 28.7831 49.3144 30.819 48.773 32.7032C48.2315 34.5874 47.5168 36.4716 46.4989 38.1934C45.481 39.9152 44.3007 41.4853 42.8929 42.8931",
|
|
10895
11027
|
stroke: "white",
|
|
10896
|
-
|
|
10897
|
-
|
|
11028
|
+
strokeWidth: "1.62432",
|
|
11029
|
+
strokeLinecap: "round"
|
|
10898
11030
|
}
|
|
10899
11031
|
),
|
|
10900
11032
|
/* @__PURE__ */ jsx(
|
|
@@ -10902,8 +11034,8 @@ const BadgeCertificationGold = ({
|
|
|
10902
11034
|
{
|
|
10903
11035
|
d: "M20.9323 4.86219C22.8165 4.30992 24.8523 4.08252 26.8124 4.08252C28.7724 4.08252 30.8082 4.32075 32.6924 4.86219C34.5766 5.40364 36.4608 6.11834 38.1826 7.13625C39.9044 8.15416 41.4746 9.3345 42.8823 10.7422C44.2901 12.15 45.4704 13.7202 46.4883 15.442",
|
|
10904
11036
|
stroke: "white",
|
|
10905
|
-
|
|
10906
|
-
|
|
11037
|
+
strokeWidth: "1.62432",
|
|
11038
|
+
strokeLinecap: "round"
|
|
10907
11039
|
}
|
|
10908
11040
|
),
|
|
10909
11041
|
/* @__PURE__ */ jsx(
|
|
@@ -10911,8 +11043,8 @@ const BadgeCertificationGold = ({
|
|
|
10911
11043
|
{
|
|
10912
11044
|
d: "M17.0661 43.6944C15.5825 42.8173 14.2398 41.8102 13.0378 40.5974C11.8249 39.3846 10.8179 38.0418 9.94072 36.5691C9.06359 35.0855 8.45717 33.5478 7.99153 31.8694C7.52589 30.2559 7.32014 28.5124 7.32014 26.8231",
|
|
10913
11045
|
stroke: "white",
|
|
10914
|
-
|
|
10915
|
-
|
|
11046
|
+
strokeWidth: "1.62432",
|
|
11047
|
+
strokeLinecap: "round"
|
|
10916
11048
|
}
|
|
10917
11049
|
),
|
|
10918
11050
|
/* @__PURE__ */ jsx(
|
|
@@ -10920,8 +11052,8 @@ const BadgeCertificationGold = ({
|
|
|
10920
11052
|
{
|
|
10921
11053
|
d: "M45.6327 21.7767C46.0983 23.3902 46.3041 25.1337 46.3041 26.823C46.3041 28.5123 46.0983 30.2557 45.6327 31.8692C45.167 33.4827 44.5606 35.0962 43.6835 36.5689C42.8064 38.0525 41.7993 39.3952 40.5864 40.5972C39.3736 41.8101 38.0308 42.8171 36.5581 43.6943C35.0746 44.5714 33.5369 45.1778 31.8584 45.6435",
|
|
10922
11054
|
stroke: "white",
|
|
10923
|
-
|
|
10924
|
-
|
|
11055
|
+
strokeWidth: "1.62432",
|
|
11056
|
+
strokeLinecap: "round"
|
|
10925
11057
|
}
|
|
10926
11058
|
),
|
|
10927
11059
|
/* @__PURE__ */ jsx(
|
|
@@ -10929,8 +11061,8 @@ const BadgeCertificationGold = ({
|
|
|
10929
11061
|
{
|
|
10930
11062
|
d: "M9.94115 17.0771C10.8183 15.5936 11.8254 14.2508 13.0382 13.0488C14.251 11.836 15.5938 10.8289 17.0665 9.95175C18.5501 9.07462 20.0878 8.4682 21.7662 8.00256C23.3797 7.53692 25.1232 7.33118 26.8125 7.33118C28.5017 7.33118 30.2452 7.53692 31.8587 8.00256C33.4722 8.4682 35.0857 9.07462 36.5584 9.95175C38.0419 10.8289 39.3847 11.836 40.5867 13.0488",
|
|
10931
11063
|
stroke: "white",
|
|
10932
|
-
|
|
10933
|
-
|
|
11064
|
+
strokeWidth: "1.62432",
|
|
11065
|
+
strokeLinecap: "round"
|
|
10934
11066
|
}
|
|
10935
11067
|
),
|
|
10936
11068
|
/* @__PURE__ */ jsx(
|
|
@@ -10938,8 +11070,8 @@ const BadgeCertificationGold = ({
|
|
|
10938
11070
|
{
|
|
10939
11071
|
d: "M40.8678 34.9447C40.1423 36.1792 39.2977 37.2946 38.2906 38.3016C37.2835 39.3087 36.1573 40.1534 34.9337 40.8789C33.6992 41.6044 32.4105 42.1134 31.0136 42.5032C29.6708 42.8931 28.209 43.0663 26.812 43.0663C25.4151 43.0663 23.9532 42.8931 22.6105 42.5032C21.2677 42.1134 19.9249 41.6044 18.6904 40.8789C17.4559 40.1534 16.3406 39.3087 15.3335 38.3016C14.3264 37.2946 13.4818 36.1684 12.7562 34.9447",
|
|
10940
11072
|
stroke: "white",
|
|
10941
|
-
|
|
10942
|
-
|
|
11073
|
+
strokeWidth: "1.62432",
|
|
11074
|
+
strokeLinecap: "round"
|
|
10943
11075
|
}
|
|
10944
11076
|
),
|
|
10945
11077
|
/* @__PURE__ */ jsx(
|
|
@@ -10947,8 +11079,8 @@ const BadgeCertificationGold = ({
|
|
|
10947
11079
|
{
|
|
10948
11080
|
d: "M31.014 11.1429C32.3568 11.5328 33.6995 12.0417 34.934 12.7673C36.1685 13.4928 37.2839 14.3374 38.291 15.3445C39.298 16.3516 40.1427 17.4778 40.8682 18.7015C41.5938 19.9359 42.1027 21.2246 42.4925 22.6215C42.8824 23.9643 43.0556 25.4262 43.0556 26.8231",
|
|
10949
11081
|
stroke: "white",
|
|
10950
|
-
|
|
10951
|
-
|
|
11082
|
+
strokeWidth: "1.62432",
|
|
11083
|
+
strokeLinecap: "round"
|
|
10952
11084
|
}
|
|
10953
11085
|
),
|
|
10954
11086
|
/* @__PURE__ */ jsx(
|
|
@@ -10956,8 +11088,8 @@ const BadgeCertificationGold = ({
|
|
|
10956
11088
|
{
|
|
10957
11089
|
d: "M10.5688 26.8231C10.5688 25.4262 10.742 23.9643 11.1319 22.6216C11.5217 21.2788 12.0307 19.936 12.7562 18.7015C13.4817 17.467 14.3264 16.3517 15.3335 15.3446C16.3405 14.3375 17.4667 13.4929 18.6904 12.7673",
|
|
10958
11090
|
stroke: "white",
|
|
10959
|
-
|
|
10960
|
-
|
|
11091
|
+
strokeWidth: "1.62432",
|
|
11092
|
+
strokeLinecap: "round"
|
|
10961
11093
|
}
|
|
10962
11094
|
),
|
|
10963
11095
|
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
|
|
@@ -10970,10 +11102,10 @@ const BadgeCertificationGold = ({
|
|
|
10970
11102
|
y2: "0.822974",
|
|
10971
11103
|
gradientUnits: "userSpaceOnUse",
|
|
10972
11104
|
children: [
|
|
10973
|
-
/* @__PURE__ */ jsx("stop", { offset: "0.173077",
|
|
10974
|
-
/* @__PURE__ */ jsx("stop", { offset: "0.365337",
|
|
10975
|
-
/* @__PURE__ */ jsx("stop", { offset: "0.542584",
|
|
10976
|
-
/* @__PURE__ */ jsx("stop", { offset: "0.826923",
|
|
11105
|
+
/* @__PURE__ */ jsx("stop", { offset: "0.173077", stopColor: "#EADA94" }),
|
|
11106
|
+
/* @__PURE__ */ jsx("stop", { offset: "0.365337", stopColor: "white" }),
|
|
11107
|
+
/* @__PURE__ */ jsx("stop", { offset: "0.542584", stopColor: "#F6EFD0" }),
|
|
11108
|
+
/* @__PURE__ */ jsx("stop", { offset: "0.826923", stopColor: "#EEE2AA" })
|
|
10977
11109
|
]
|
|
10978
11110
|
}
|
|
10979
11111
|
) })
|
|
@@ -12387,9 +12519,9 @@ const BadgeImperativePrimary = ({
|
|
|
12387
12519
|
{
|
|
12388
12520
|
d: "M9.68994 5.5V16.5023",
|
|
12389
12521
|
stroke: "white",
|
|
12390
|
-
|
|
12391
|
-
|
|
12392
|
-
|
|
12522
|
+
strokeWidth: "1.5",
|
|
12523
|
+
strokeLinecap: "round",
|
|
12524
|
+
strokeLinejoin: "round"
|
|
12393
12525
|
}
|
|
12394
12526
|
),
|
|
12395
12527
|
/* @__PURE__ */ jsx(
|
|
@@ -12397,9 +12529,9 @@ const BadgeImperativePrimary = ({
|
|
|
12397
12529
|
{
|
|
12398
12530
|
d: "M14.4542 8.25055L4.92627 13.7517",
|
|
12399
12531
|
stroke: "white",
|
|
12400
|
-
|
|
12401
|
-
|
|
12402
|
-
|
|
12532
|
+
strokeWidth: "1.5",
|
|
12533
|
+
strokeLinecap: "round",
|
|
12534
|
+
strokeLinejoin: "round"
|
|
12403
12535
|
}
|
|
12404
12536
|
),
|
|
12405
12537
|
/* @__PURE__ */ jsx(
|
|
@@ -12407,9 +12539,9 @@ const BadgeImperativePrimary = ({
|
|
|
12407
12539
|
{
|
|
12408
12540
|
d: "M4.92627 8.25055L14.4542 13.7517",
|
|
12409
12541
|
stroke: "white",
|
|
12410
|
-
|
|
12411
|
-
|
|
12412
|
-
|
|
12542
|
+
strokeWidth: "1.5",
|
|
12543
|
+
strokeLinecap: "round",
|
|
12544
|
+
strokeLinejoin: "round"
|
|
12413
12545
|
}
|
|
12414
12546
|
)
|
|
12415
12547
|
]
|
|
@@ -12433,7 +12565,7 @@ const BadgeImperativeSecondary = ({
|
|
|
12433
12565
|
{
|
|
12434
12566
|
d: "M19.2133 7.81921C19.2133 6.38498 18.4454 5.06051 17.2008 4.3479L11.5941 1.13788C10.3629 0.432974 8.85042 0.432974 7.61921 1.13788L2.01255 4.3479C0.767878 5.06051 0 6.38498 0 7.81921V14.1808C0 15.615 0.767878 16.9395 2.01255 17.6521L7.61921 20.8621C8.85042 21.567 10.3629 21.567 11.5941 20.8621L17.2008 17.6521C18.4454 16.9395 19.2133 15.615 19.2133 14.1808V7.81921Z",
|
|
12435
12567
|
fill: "#128BA6",
|
|
12436
|
-
|
|
12568
|
+
fillOpacity: "0.08"
|
|
12437
12569
|
}
|
|
12438
12570
|
),
|
|
12439
12571
|
/* @__PURE__ */ jsx(
|
|
@@ -12441,9 +12573,9 @@ const BadgeImperativeSecondary = ({
|
|
|
12441
12573
|
{
|
|
12442
12574
|
d: "M7.86719 1.57227C8.9445 0.955469 10.2684 0.955469 11.3457 1.57227L16.9521 4.78223C18.0412 5.40577 18.7129 6.56439 18.7129 7.81934V14.1807C18.7129 15.4356 18.0412 16.5942 16.9521 17.2178L11.3457 20.4277C10.2684 21.0445 8.9445 21.0445 7.86719 20.4277L2.26074 17.2178C1.17187 16.5942 0.5 15.4355 0.5 14.1807V7.81934C0.5 6.56452 1.17187 5.40582 2.26074 4.78223L7.86719 1.57227Z",
|
|
12443
12575
|
stroke: "#128BA6",
|
|
12444
|
-
|
|
12445
|
-
|
|
12446
|
-
|
|
12576
|
+
strokeOpacity: "0.16",
|
|
12577
|
+
strokeLinecap: "round",
|
|
12578
|
+
strokeLinejoin: "round"
|
|
12447
12579
|
}
|
|
12448
12580
|
),
|
|
12449
12581
|
/* @__PURE__ */ jsx(
|
|
@@ -12451,9 +12583,9 @@ const BadgeImperativeSecondary = ({
|
|
|
12451
12583
|
{
|
|
12452
12584
|
d: "M9.68994 5.5V16.5023",
|
|
12453
12585
|
stroke: "#0F748A",
|
|
12454
|
-
|
|
12455
|
-
|
|
12456
|
-
|
|
12586
|
+
strokeWidth: "1.5",
|
|
12587
|
+
strokeLinecap: "round",
|
|
12588
|
+
strokeLinejoin: "round"
|
|
12457
12589
|
}
|
|
12458
12590
|
),
|
|
12459
12591
|
/* @__PURE__ */ jsx(
|
|
@@ -12461,9 +12593,9 @@ const BadgeImperativeSecondary = ({
|
|
|
12461
12593
|
{
|
|
12462
12594
|
d: "M14.4542 8.25055L4.92627 13.7517",
|
|
12463
12595
|
stroke: "#0F748A",
|
|
12464
|
-
|
|
12465
|
-
|
|
12466
|
-
|
|
12596
|
+
strokeWidth: "1.5",
|
|
12597
|
+
strokeLinecap: "round",
|
|
12598
|
+
strokeLinejoin: "round"
|
|
12467
12599
|
}
|
|
12468
12600
|
),
|
|
12469
12601
|
/* @__PURE__ */ jsx(
|
|
@@ -12471,9 +12603,9 @@ const BadgeImperativeSecondary = ({
|
|
|
12471
12603
|
{
|
|
12472
12604
|
d: "M4.92627 8.25055L14.4542 13.7517",
|
|
12473
12605
|
stroke: "#0F748A",
|
|
12474
|
-
|
|
12475
|
-
|
|
12476
|
-
|
|
12606
|
+
strokeWidth: "1.5",
|
|
12607
|
+
strokeLinecap: "round",
|
|
12608
|
+
strokeLinejoin: "round"
|
|
12477
12609
|
}
|
|
12478
12610
|
)
|
|
12479
12611
|
]
|
|
@@ -13231,9 +13363,12 @@ const StandardNavigation = ({
|
|
|
13231
13363
|
};
|
|
13232
13364
|
const ALPHA_PATH = "M5.3387 0.0229882C5.37971 0.0229882 5.45295 0.0199228 5.5584 0.0137925C5.66386 0.00459714 5.74442 0 5.80007 0C6.72867 0 7.49908 0.269732 8.11131 0.809196C8.72354 1.34559 9.14097 2.09195 9.3636 3.04828C9.44855 3.47433 9.49835 3.96628 9.513 4.52414V5.16782C10.2014 4.07663 10.7287 2.85517 11.0948 1.50345C11.1505 1.29808 11.1959 1.17701 11.2311 1.14023C11.2662 1.10345 11.3761 1.08506 11.5606 1.08506C11.8535 1.08506 12 1.13563 12 1.23678C12 1.25211 11.9722 1.37778 11.9165 1.61379C11.5093 3.24751 10.7931 4.77701 9.76785 6.2023L9.53497 6.51034L9.55694 7.04368C9.59795 8.23295 9.72391 8.9318 9.93482 9.14023C9.97583 9.16782 10.0388 9.18161 10.1238 9.18161C10.32 9.15402 10.5031 9.06973 10.673 8.92874C10.8429 8.78774 10.963 8.62222 11.0333 8.43218C11.0597 8.32797 11.0948 8.26513 11.1388 8.24368C11.1798 8.22222 11.2852 8.21149 11.4551 8.21149C11.7364 8.21149 11.877 8.27739 11.877 8.40919C11.877 8.49808 11.8345 8.63142 11.7495 8.8092C11.5943 9.13103 11.3687 9.4069 11.0729 9.63678C10.777 9.8636 10.4475 9.97701 10.0842 9.97701H9.93482C8.97986 9.97701 8.3398 9.44674 8.01465 8.38621L7.95313 8.23448C7.20615 8.74942 6.79165 9.02835 6.70963 9.07126C5.66679 9.69042 4.61809 10 3.56353 10C2.56756 10 1.76346 9.70575 1.15123 9.11724C0.538997 8.52874 0.162578 7.75632 0.02197 6.8C0.0073233 6.71111 0 6.54866 0 6.31264C0 5.9295 0.02197 5.62146 0.0659099 5.38851C0.276822 4.06437 0.887587 2.8751 1.89821 1.82069C2.91175 0.769348 4.05859 0.170115 5.3387 0.0229882ZM1.83669 7.10805C1.83669 7.73946 1.9978 8.24368 2.32003 8.62069C2.64518 8.99464 3.09484 9.18161 3.66899 9.18161C4.03515 9.18161 4.44379 9.12337 4.89491 9.0069C5.6829 8.80153 6.44892 8.4046 7.19297 7.81609C7.29257 7.74253 7.38777 7.66437 7.47858 7.58161C7.56939 7.50192 7.64262 7.43295 7.69828 7.37471L7.78176 7.28276L7.76419 7.08506C7.76419 6.95326 7.75979 6.75862 7.75101 6.50115C7.74515 6.24368 7.74222 5.98927 7.74222 5.73793C7.72757 5.18008 7.71732 4.74636 7.71146 4.43678C7.70267 4.1272 7.67338 3.74866 7.62358 3.30115C7.57671 2.85364 7.5108 2.50728 7.42585 2.26207C7.3409 2.01992 7.22519 1.77471 7.07873 1.52644C6.92933 1.2751 6.73892 1.09425 6.50751 0.983908C6.27609 0.873563 6.00513 0.81839 5.69462 0.81839C4.72501 0.81839 3.87404 1.35479 3.14171 2.42759C2.79019 2.97318 2.49579 3.71647 2.25851 4.65747C1.9773 5.73333 1.83669 6.55019 1.83669 7.10805Z";
|
|
13233
13365
|
const PATH_LENGTH = 60;
|
|
13234
|
-
function AlphaIcon({
|
|
13366
|
+
function AlphaIcon({
|
|
13367
|
+
dark = false,
|
|
13368
|
+
className = ""
|
|
13369
|
+
}) {
|
|
13235
13370
|
if (dark) {
|
|
13236
|
-
return /* @__PURE__ */
|
|
13371
|
+
return /* @__PURE__ */ jsxs(
|
|
13237
13372
|
"svg",
|
|
13238
13373
|
{
|
|
13239
13374
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -13241,9 +13376,41 @@ function AlphaIcon({ dark = false }) {
|
|
|
13241
13376
|
height: "10",
|
|
13242
13377
|
viewBox: "0 0 12 10",
|
|
13243
13378
|
fill: "none",
|
|
13244
|
-
className: "mt-
|
|
13379
|
+
className: cn("mt-[6px]", className),
|
|
13245
13380
|
style: { overflow: "visible" },
|
|
13246
|
-
children:
|
|
13381
|
+
children: [
|
|
13382
|
+
/* @__PURE__ */ jsx(
|
|
13383
|
+
"path",
|
|
13384
|
+
{
|
|
13385
|
+
d: "M5.3387 0.0229882C5.37971 0.0229882 5.45295 0.0199228 5.5584 0.0137925C5.66386 0.00459714 5.74442 0 5.80007 0C6.72867 0 7.49908 0.269732 8.11131 0.809196C8.72354 1.34559 9.14097 2.09195 9.3636 3.04828C9.44855 3.47433 9.49835 3.96628 9.513 4.52414V5.16782C10.2014 4.07663 10.7287 2.85517 11.0948 1.50345C11.1505 1.29808 11.1959 1.17701 11.2311 1.14023C11.2662 1.10345 11.3761 1.08506 11.5606 1.08506C11.8535 1.08506 12 1.13563 12 1.23678C12 1.25211 11.9722 1.37778 11.9165 1.61379C11.5093 3.24751 10.7931 4.77701 9.76785 6.2023L9.53497 6.51034L9.55694 7.04368C9.59795 8.23295 9.72391 8.9318 9.93482 9.14023C9.97583 9.16782 10.0388 9.18161 10.1238 9.18161C10.32 9.15402 10.5031 9.06973 10.673 8.92874C10.8429 8.78774 10.963 8.62222 11.0333 8.43218C11.0597 8.32797 11.0948 8.26513 11.1388 8.24368C11.1798 8.22222 11.2852 8.21149 11.4551 8.21149C11.7364 8.21149 11.877 8.27739 11.877 8.40919C11.877 8.49808 11.8345 8.63142 11.7495 8.8092C11.5943 9.13103 11.3687 9.4069 11.0729 9.63678C10.777 9.8636 10.4475 9.97701 10.0842 9.97701H9.93482C8.97986 9.97701 8.3398 9.44674 8.01465 8.38621L7.95313 8.23448C7.20615 8.74942 6.79165 9.02835 6.70963 9.07126C5.66679 9.69042 4.61809 10 3.56353 10C2.56756 10 1.76346 9.70575 1.15123 9.11724C0.538997 8.52874 0.162578 7.75632 0.02197 6.8C0.0073233 6.71111 0 6.54866 0 6.31264C0 5.9295 0.02197 5.62146 0.0659099 5.38851C0.276822 4.06437 0.887587 2.8751 1.89821 1.82069C2.91175 0.769348 4.05859 0.170115 5.3387 0.0229882ZM1.83669 7.10805C1.83669 7.73946 1.9978 8.24368 2.32003 8.62069C2.64518 8.99464 3.09484 9.18161 3.66899 9.18161C4.03515 9.18161 4.44379 9.12337 4.89491 9.0069C5.6829 8.80153 6.44892 8.4046 7.19297 7.81609C7.29257 7.74253 7.38777 7.66437 7.47858 7.58161C7.56939 7.50192 7.64262 7.43295 7.69828 7.37471L7.78176 7.28276L7.76419 7.08506C7.76419 6.95326 7.75979 6.75862 7.75101 6.50115C7.74515 6.24368 7.74222 5.98927 7.74222 5.73793C7.72757 5.18008 7.71732 4.74636 7.71146 4.43678C7.70267 4.1272 7.67338 3.74866 7.62358 3.30115C7.57671 2.85364 7.5108 2.50728 7.42585 2.26207C7.3409 2.01992 7.22519 1.77471 7.07873 1.52644C6.92933 1.2751 6.73892 1.09425 6.50751 0.983908C6.27609 0.873563 6.00513 0.81839 5.69462 0.81839C4.72501 0.81839 3.87404 1.35479 3.14171 2.42759C2.79019 2.97318 2.49579 3.71647 2.25851 4.65747C1.9773 5.73333 1.83669 6.55019 1.83669 7.10805Z",
|
|
13386
|
+
fill: "url(#paint0_linear_12203_82399)"
|
|
13387
|
+
}
|
|
13388
|
+
),
|
|
13389
|
+
/* @__PURE__ */ jsx(
|
|
13390
|
+
"path",
|
|
13391
|
+
{
|
|
13392
|
+
d: "M5.3387 0.0229882C5.37971 0.0229882 5.45295 0.0199228 5.5584 0.0137925C5.66386 0.00459714 5.74442 0 5.80007 0C6.72867 0 7.49908 0.269732 8.11131 0.809196C8.72354 1.34559 9.14097 2.09195 9.3636 3.04828C9.44855 3.47433 9.49835 3.96628 9.513 4.52414V5.16782C10.2014 4.07663 10.7287 2.85517 11.0948 1.50345C11.1505 1.29808 11.1959 1.17701 11.2311 1.14023C11.2662 1.10345 11.3761 1.08506 11.5606 1.08506C11.8535 1.08506 12 1.13563 12 1.23678C12 1.25211 11.9722 1.37778 11.9165 1.61379C11.5093 3.24751 10.7931 4.77701 9.76785 6.2023L9.53497 6.51034L9.55694 7.04368C9.59795 8.23295 9.72391 8.9318 9.93482 9.14023C9.97583 9.16782 10.0388 9.18161 10.1238 9.18161C10.32 9.15402 10.5031 9.06973 10.673 8.92874C10.8429 8.78774 10.963 8.62222 11.0333 8.43218C11.0597 8.32797 11.0948 8.26513 11.1388 8.24368C11.1798 8.22222 11.2852 8.21149 11.4551 8.21149C11.7364 8.21149 11.877 8.27739 11.877 8.40919C11.877 8.49808 11.8345 8.63142 11.7495 8.8092C11.5943 9.13103 11.3687 9.4069 11.0729 9.63678C10.777 9.8636 10.4475 9.97701 10.0842 9.97701H9.93482C8.97986 9.97701 8.3398 9.44674 8.01465 8.38621L7.95313 8.23448C7.20615 8.74942 6.79165 9.02835 6.70963 9.07126C5.66679 9.69042 4.61809 10 3.56353 10C2.56756 10 1.76346 9.70575 1.15123 9.11724C0.538997 8.52874 0.162578 7.75632 0.02197 6.8C0.0073233 6.71111 0 6.54866 0 6.31264C0 5.9295 0.02197 5.62146 0.0659099 5.38851C0.276822 4.06437 0.887587 2.8751 1.89821 1.82069C2.91175 0.769348 4.05859 0.170115 5.3387 0.0229882ZM1.83669 7.10805C1.83669 7.73946 1.9978 8.24368 2.32003 8.62069C2.64518 8.99464 3.09484 9.18161 3.66899 9.18161C4.03515 9.18161 4.44379 9.12337 4.89491 9.0069C5.6829 8.80153 6.44892 8.4046 7.19297 7.81609C7.29257 7.74253 7.38777 7.66437 7.47858 7.58161C7.56939 7.50192 7.64262 7.43295 7.69828 7.37471L7.78176 7.28276L7.76419 7.08506C7.76419 6.95326 7.75979 6.75862 7.75101 6.50115C7.74515 6.24368 7.74222 5.98927 7.74222 5.73793C7.72757 5.18008 7.71732 4.74636 7.71146 4.43678C7.70267 4.1272 7.67338 3.74866 7.62358 3.30115C7.57671 2.85364 7.5108 2.50728 7.42585 2.26207C7.3409 2.01992 7.22519 1.77471 7.07873 1.52644C6.92933 1.2751 6.73892 1.09425 6.50751 0.983908C6.27609 0.873563 6.00513 0.81839 5.69462 0.81839C4.72501 0.81839 3.87404 1.35479 3.14171 2.42759C2.79019 2.97318 2.49579 3.71647 2.25851 4.65747C1.9773 5.73333 1.83669 6.55019 1.83669 7.10805Z",
|
|
13393
|
+
fill: "#282A31",
|
|
13394
|
+
fillOpacity: "0.2"
|
|
13395
|
+
}
|
|
13396
|
+
),
|
|
13397
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
|
|
13398
|
+
"linearGradient",
|
|
13399
|
+
{
|
|
13400
|
+
id: "paint0_linear_12203_82399",
|
|
13401
|
+
x1: "-3.27254",
|
|
13402
|
+
y1: "4.99923",
|
|
13403
|
+
x2: "6.36738",
|
|
13404
|
+
y2: "-2.36962",
|
|
13405
|
+
gradientUnits: "userSpaceOnUse",
|
|
13406
|
+
children: [
|
|
13407
|
+
/* @__PURE__ */ jsx("stop", { "stop-color": "#8AEFDB" }),
|
|
13408
|
+
/* @__PURE__ */ jsx("stop", { offset: "0.5", stopColor: "#D4BACE" }),
|
|
13409
|
+
/* @__PURE__ */ jsx("stop", { offset: "1", stopColor: "#CBE0F1" })
|
|
13410
|
+
]
|
|
13411
|
+
}
|
|
13412
|
+
) })
|
|
13413
|
+
]
|
|
13247
13414
|
}
|
|
13248
13415
|
);
|
|
13249
13416
|
}
|
|
@@ -13255,7 +13422,7 @@ function AlphaIcon({ dark = false }) {
|
|
|
13255
13422
|
height: "10",
|
|
13256
13423
|
viewBox: "0 0 12 10",
|
|
13257
13424
|
fill: "none",
|
|
13258
|
-
className: "mt-
|
|
13425
|
+
className: cn("mt-[6px]", className),
|
|
13259
13426
|
style: { overflow: "visible" },
|
|
13260
13427
|
children: [
|
|
13261
13428
|
/* @__PURE__ */ jsx("path", { d: ALPHA_PATH, fill: "url(#paint0_linear_nav)", opacity: "0.4" }),
|
|
@@ -13340,7 +13507,6 @@ export {
|
|
|
13340
13507
|
AlertDialogTrigger,
|
|
13341
13508
|
AlertTitle,
|
|
13342
13509
|
AlphaIcon,
|
|
13343
|
-
AnimatedTabs,
|
|
13344
13510
|
AspectRatio,
|
|
13345
13511
|
Avatar,
|
|
13346
13512
|
AvatarFallback,
|
|
@@ -13614,7 +13780,7 @@ export {
|
|
|
13614
13780
|
TableHead,
|
|
13615
13781
|
TableHeader,
|
|
13616
13782
|
TableRow,
|
|
13617
|
-
|
|
13783
|
+
Tabs,
|
|
13618
13784
|
TabsContent,
|
|
13619
13785
|
TabsList,
|
|
13620
13786
|
TabsTrigger,
|