@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.
@@ -1,3 +1,4 @@
1
+ import { cn } from "@/lib/utils";
1
2
  import { motion } from "motion/react";
2
3
 
3
4
  const ALPHA_PATH =
@@ -5,7 +6,13 @@ const ALPHA_PATH =
5
6
 
6
7
  const PATH_LENGTH = 60;
7
8
 
8
- export function AlphaIcon({ dark = false }: { dark?: boolean }) {
9
+ export function AlphaIcon({
10
+ dark = false,
11
+ className = "",
12
+ }: {
13
+ dark?: boolean;
14
+ className?: string;
15
+ }) {
9
16
  if (dark) {
10
17
  return (
11
18
  <svg
@@ -14,10 +21,32 @@ export function AlphaIcon({ dark = false }: { dark?: boolean }) {
14
21
  height="10"
15
22
  viewBox="0 0 12 10"
16
23
  fill="none"
17
- className="mt-1.5"
24
+ className={cn("mt-[6px]", className)}
18
25
  style={{ overflow: "visible" }}
19
26
  >
20
- <path d={ALPHA_PATH} fill="currentColor" />
27
+ <path
28
+ 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"
29
+ fill="url(#paint0_linear_12203_82399)"
30
+ />
31
+ <path
32
+ 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"
33
+ fill="#282A31"
34
+ fillOpacity="0.2"
35
+ />
36
+ <defs>
37
+ <linearGradient
38
+ id="paint0_linear_12203_82399"
39
+ x1="-3.27254"
40
+ y1="4.99923"
41
+ x2="6.36738"
42
+ y2="-2.36962"
43
+ gradientUnits="userSpaceOnUse"
44
+ >
45
+ <stop stop-color="#8AEFDB" />
46
+ <stop offset="0.5" stopColor="#D4BACE" />
47
+ <stop offset="1" stopColor="#CBE0F1" />
48
+ </linearGradient>
49
+ </defs>
21
50
  </svg>
22
51
  );
23
52
  }
@@ -29,7 +58,7 @@ export function AlphaIcon({ dark = false }: { dark?: boolean }) {
29
58
  height="10"
30
59
  viewBox="0 0 12 10"
31
60
  fill="none"
32
- className="mt-1.5"
61
+ className={cn("mt-[6px]", className)}
33
62
  style={{ overflow: "visible" }}
34
63
  >
35
64
  <path d={ALPHA_PATH} fill="url(#paint0_linear_nav)" opacity="0.4" />
@@ -9,7 +9,7 @@ export const UtilityClose: React.FC<UtilityCloseProps> = ({ className }) => {
9
9
  return (
10
10
  <div
11
11
  className={cn(
12
- "size-4 flex items-center justify-center text-gray-500 group-hover:text-gray-400",
12
+ "size-4 flex items-center justify-center text-gray-500 ",
13
13
  className,
14
14
  )}
15
15
  >
@@ -20,45 +20,45 @@ export function UtilityCompare({ className }: { className?: string }) {
20
20
  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"
21
21
  fill="#E0FBF5"
22
22
  stroke="currentColor"
23
- stroke-width="2"
24
- stroke-linecap="round"
25
- stroke-linejoin="round"
23
+ strokeWidth="2"
24
+ strokeLinecap="round"
25
+ strokeLinejoin="round"
26
26
  />
27
27
  <path
28
28
  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"
29
29
  stroke="currentColor"
30
- stroke-width="2"
31
- stroke-linecap="round"
32
- stroke-linejoin="round"
30
+ strokeWidth="2"
31
+ strokeLinecap="round"
32
+ strokeLinejoin="round"
33
33
  />
34
34
  <path
35
35
  d="M10.6002 21.7971L5.80011 16.998L1 21.7971"
36
36
  stroke="currentColor"
37
- stroke-width="2"
38
- stroke-linecap="round"
39
- stroke-linejoin="round"
37
+ strokeWidth="2"
38
+ strokeLinecap="round"
39
+ strokeLinejoin="round"
40
40
  />
41
41
  <path
42
42
  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"
43
43
  fill="#EFF5FB"
44
44
  stroke="currentColor"
45
- stroke-width="2"
46
- stroke-linecap="round"
47
- stroke-linejoin="round"
45
+ strokeWidth="2"
46
+ strokeLinecap="round"
47
+ strokeLinejoin="round"
48
48
  />
49
49
  <path
50
50
  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"
51
51
  stroke="currentColor"
52
- stroke-width="2"
53
- stroke-linecap="round"
54
- stroke-linejoin="round"
52
+ strokeWidth="2"
53
+ strokeLinecap="round"
54
+ strokeLinejoin="round"
55
55
  />
56
56
  <path
57
57
  d="M20.1998 12.2012L24.9999 17.0002L29.8001 12.2012"
58
58
  stroke="currentColor"
59
- stroke-width="2"
60
- stroke-linecap="round"
61
- stroke-linejoin="round"
59
+ strokeWidth="2"
60
+ strokeLinecap="round"
61
+ strokeLinejoin="round"
62
62
  />
63
63
  </svg>
64
64
  </div>
@@ -20,9 +20,9 @@ export function UtilityFeedback({ className }: { className?: string }) {
20
20
  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"
21
21
  fill="#D6F4FB"
22
22
  stroke="#71747D"
23
- stroke-width="2"
24
- stroke-linecap="round"
25
- stroke-linejoin="round"
23
+ strokeWidth="2"
24
+ strokeLinecap="round"
25
+ strokeLinejoin="round"
26
26
  />
27
27
  </svg>
28
28
  </div>
@@ -26,11 +26,11 @@ export const UtilityMessage: React.FC<UtilityMessageProps> = ({
26
26
  <path
27
27
  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"
28
28
  fill="currentColor"
29
- fill-opacity="0.2"
29
+ fillOpacity="0.2"
30
30
  stroke="currentColor"
31
- stroke-width="2"
32
- stroke-linecap="round"
33
- stroke-linejoin="round"
31
+ strokeWidth="2"
32
+ strokeLinecap="round"
33
+ strokeLinejoin="round"
34
34
  />
35
35
  </svg>
36
36
  </div>
@@ -28,23 +28,23 @@ export const UtilityTrash: React.FC<UtilityTrashProps> = ({ className }) => {
28
28
  <path
29
29
  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"
30
30
  stroke="currentColor"
31
- stroke-width="1.5"
32
- stroke-linecap="round"
33
- stroke-linejoin="round"
31
+ strokeWidth="1.5"
32
+ strokeLinecap="round"
33
+ strokeLinejoin="round"
34
34
  />
35
35
  <path
36
36
  d="M0.75 3.5498H13.35"
37
37
  stroke="currentColor"
38
- stroke-width="1.5"
39
- stroke-linecap="round"
40
- stroke-linejoin="round"
38
+ strokeWidth="1.5"
39
+ strokeLinecap="round"
40
+ strokeLinejoin="round"
41
41
  />
42
42
  <path
43
43
  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"
44
44
  stroke="currentColor"
45
- stroke-width="1.5"
46
- stroke-linecap="round"
47
- stroke-linejoin="round"
45
+ strokeWidth="1.5"
46
+ strokeLinecap="round"
47
+ strokeLinejoin="round"
48
48
  />
49
49
  </svg>
50
50
  </div>
@@ -21,67 +21,67 @@ export const BadgeCertificationGold = ({
21
21
  <path
22
22
  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"
23
23
  fill="url(#paint0_linear_9834_327)"
24
- fill-opacity="0.8"
24
+ fillOpacity="0.8"
25
25
  />
26
26
  <path
27
27
  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"
28
28
  stroke="white"
29
- stroke-width="1.62432"
30
- stroke-linecap="round"
29
+ strokeWidth="1.62432"
30
+ strokeLinecap="round"
31
31
  />
32
32
  <path
33
33
  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"
34
34
  stroke="white"
35
- stroke-width="1.62432"
36
- stroke-linecap="round"
35
+ strokeWidth="1.62432"
36
+ strokeLinecap="round"
37
37
  />
38
38
  <path
39
39
  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"
40
40
  stroke="white"
41
- stroke-width="1.62432"
42
- stroke-linecap="round"
41
+ strokeWidth="1.62432"
42
+ strokeLinecap="round"
43
43
  />
44
44
  <path
45
45
  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"
46
46
  stroke="white"
47
- stroke-width="1.62432"
48
- stroke-linecap="round"
47
+ strokeWidth="1.62432"
48
+ strokeLinecap="round"
49
49
  />
50
50
  <path
51
51
  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"
52
52
  stroke="white"
53
- stroke-width="1.62432"
54
- stroke-linecap="round"
53
+ strokeWidth="1.62432"
54
+ strokeLinecap="round"
55
55
  />
56
56
  <path
57
57
  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"
58
58
  stroke="white"
59
- stroke-width="1.62432"
60
- stroke-linecap="round"
59
+ strokeWidth="1.62432"
60
+ strokeLinecap="round"
61
61
  />
62
62
  <path
63
63
  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"
64
64
  stroke="white"
65
- stroke-width="1.62432"
66
- stroke-linecap="round"
65
+ strokeWidth="1.62432"
66
+ strokeLinecap="round"
67
67
  />
68
68
  <path
69
69
  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"
70
70
  stroke="white"
71
- stroke-width="1.62432"
72
- stroke-linecap="round"
71
+ strokeWidth="1.62432"
72
+ strokeLinecap="round"
73
73
  />
74
74
  <path
75
75
  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"
76
76
  stroke="white"
77
- stroke-width="1.62432"
78
- stroke-linecap="round"
77
+ strokeWidth="1.62432"
78
+ strokeLinecap="round"
79
79
  />
80
80
  <path
81
81
  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"
82
82
  stroke="white"
83
- stroke-width="1.62432"
84
- stroke-linecap="round"
83
+ strokeWidth="1.62432"
84
+ strokeLinecap="round"
85
85
  />
86
86
  <defs>
87
87
  <linearGradient
@@ -92,10 +92,10 @@ export const BadgeCertificationGold = ({
92
92
  y2="0.822974"
93
93
  gradientUnits="userSpaceOnUse"
94
94
  >
95
- <stop offset="0.173077" stop-color="#EADA94" />
96
- <stop offset="0.365337" stop-color="white" />
97
- <stop offset="0.542584" stop-color="#F6EFD0" />
98
- <stop offset="0.826923" stop-color="#EEE2AA" />
95
+ <stop offset="0.173077" stopColor="#EADA94" />
96
+ <stop offset="0.365337" stopColor="white" />
97
+ <stop offset="0.542584" stopColor="#F6EFD0" />
98
+ <stop offset="0.826923" stopColor="#EEE2AA" />
99
99
  </linearGradient>
100
100
  </defs>
101
101
  </svg>
@@ -21,23 +21,23 @@ export const BadgeImperativePrimary = ({
21
21
  <path
22
22
  d="M9.68994 5.5V16.5023"
23
23
  stroke="white"
24
- stroke-width="1.5"
25
- stroke-linecap="round"
26
- stroke-linejoin="round"
24
+ strokeWidth="1.5"
25
+ strokeLinecap="round"
26
+ strokeLinejoin="round"
27
27
  />
28
28
  <path
29
29
  d="M14.4542 8.25055L4.92627 13.7517"
30
30
  stroke="white"
31
- stroke-width="1.5"
32
- stroke-linecap="round"
33
- stroke-linejoin="round"
31
+ strokeWidth="1.5"
32
+ strokeLinecap="round"
33
+ strokeLinejoin="round"
34
34
  />
35
35
  <path
36
36
  d="M4.92627 8.25055L14.4542 13.7517"
37
37
  stroke="white"
38
- stroke-width="1.5"
39
- stroke-linecap="round"
40
- stroke-linejoin="round"
38
+ strokeWidth="1.5"
39
+ strokeLinecap="round"
40
+ strokeLinejoin="round"
41
41
  />
42
42
  </svg>
43
43
  </div>
@@ -17,35 +17,35 @@ export const BadgeImperativeSecondary = ({
17
17
  <path
18
18
  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"
19
19
  fill="#128BA6"
20
- fill-opacity="0.08"
20
+ fillOpacity="0.08"
21
21
  />
22
22
  <path
23
23
  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"
24
24
  stroke="#128BA6"
25
- stroke-opacity="0.16"
26
- stroke-linecap="round"
27
- stroke-linejoin="round"
25
+ strokeOpacity="0.16"
26
+ strokeLinecap="round"
27
+ strokeLinejoin="round"
28
28
  />
29
29
  <path
30
30
  d="M9.68994 5.5V16.5023"
31
31
  stroke="#0F748A"
32
- stroke-width="1.5"
33
- stroke-linecap="round"
34
- stroke-linejoin="round"
32
+ strokeWidth="1.5"
33
+ strokeLinecap="round"
34
+ strokeLinejoin="round"
35
35
  />
36
36
  <path
37
37
  d="M14.4542 8.25055L4.92627 13.7517"
38
38
  stroke="#0F748A"
39
- stroke-width="1.5"
40
- stroke-linecap="round"
41
- stroke-linejoin="round"
39
+ strokeWidth="1.5"
40
+ strokeLinecap="round"
41
+ strokeLinejoin="round"
42
42
  />
43
43
  <path
44
44
  d="M4.92627 8.25055L14.4542 13.7517"
45
45
  stroke="#0F748A"
46
- stroke-width="1.5"
47
- stroke-linecap="round"
48
- stroke-linejoin="round"
46
+ strokeWidth="1.5"
47
+ strokeLinecap="round"
48
+ strokeLinejoin="round"
49
49
  />
50
50
  </svg>
51
51
  </div>
@@ -256,15 +256,17 @@ interface AccordionSectionHeaderProps {
256
256
  onToggleAll?: () => void;
257
257
  /** Optional className for the container */
258
258
  className?: string;
259
+ /** Optional className for the title */
260
+ titleClassName?: string;
259
261
  }
260
262
 
261
263
  const AccordionSectionHeader = React.forwardRef<
262
264
  HTMLDivElement,
263
265
  AccordionSectionHeaderProps
264
- >(({ title, hasExpanded, onToggleAll, className }, ref) => {
266
+ >(({ title, hasExpanded, onToggleAll, className, titleClassName }, ref) => {
265
267
  return (
266
268
  <div ref={ref} className={cn(className)}>
267
- <h2>{title}</h2>
269
+ <h2 className={cn(titleClassName)}>{title}</h2>
268
270
 
269
271
  {onToggleAll && (
270
272
  <motion.div
@@ -273,7 +275,6 @@ const AccordionSectionHeader = React.forwardRef<
273
275
  >
274
276
  <Button
275
277
  size="icon"
276
- variant="clear"
277
278
  onClick={onToggleAll}
278
279
  aria-label={hasExpanded ? "Collapse all" : "Expand all"}
279
280
  >
@@ -4,7 +4,6 @@ import * as DialogPrimitive from "@radix-ui/react-dialog";
4
4
  import { cn } from "@/lib/utils";
5
5
  import { UtilityClose } from "../icons/UtilityClose";
6
6
 
7
-
8
7
  function Dialog({
9
8
  ...props
10
9
  }: React.ComponentProps<typeof DialogPrimitive.Root>) {
@@ -71,9 +70,15 @@ function DialogContent({
71
70
  </div>
72
71
  {showCloseButton && (
73
72
  <div className="dialog-close">
74
- <DialogPrimitive.Close data-slot="dialog-close">
73
+ <DialogPrimitive.Close
74
+ data-slot="dialog-close"
75
+ className="absolute top-4 right-4 cursor-pointer"
76
+ >
75
77
  <UtilityClose
76
- className={cn("dialog-close-icon", closeClassName)}
78
+ className={cn(
79
+ "dialog-close-icon text-gray-400 hover:text-gray-500 transition-colors duration-200 ",
80
+ closeClassName,
81
+ )}
77
82
  />
78
83
  <span className="sr-only">Close</span>
79
84
  </DialogPrimitive.Close>