@stagewise/ui 0.28.0 → 0.29.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/package.json +1 -1
- package/src/components/ui/klex-logo.tsx +10 -16
package/package.json
CHANGED
|
@@ -55,8 +55,13 @@ const variantClass: Record<KlexLogoVariant, string> = {
|
|
|
55
55
|
'boxed-round': 'rounded-full',
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
/** The mark's ghost and eyes in a 100×100 box, for drawing it inside other SVGs. */
|
|
59
|
+
export const KLEX_LOGO_GHOST_PATH =
|
|
59
60
|
'M96.9692 39.5294C97.6935 19.2487 85.675 0 64.2162 0C38.2397 0 30.5897 17.281 28.075 36.1412C21.2985 86.9647 5.23535 89.5529 5.23535 92.9412C5.23535 94.6582 9.94124 101.176 26.4118 94.1176C33.2509 91.1866 38.8849 98.2481 44.0589 98.8235C49.5595 99.4353 52.7928 96.7746 58.1766 95.2941C64.3687 93.5913 70.0597 100 74.6472 100C90.4589 100 95.8398 71.153 96.9692 39.5294Z';
|
|
61
|
+
export const KLEX_LOGO_EYES = [
|
|
62
|
+
{ cx: 64.0589, cy: 35.2942, rx: 4.70588, ry: 7.05883 },
|
|
63
|
+
{ cx: 80.5294, cy: 35.2942, rx: 4.70588, ry: 7.05883 },
|
|
64
|
+
] as const;
|
|
60
65
|
|
|
61
66
|
interface KlexLogoIconProps {
|
|
62
67
|
className?: string;
|
|
@@ -77,21 +82,10 @@ const KlexLogoIcon: FC<KlexLogoIconProps> = ({
|
|
|
77
82
|
aria-hidden="true"
|
|
78
83
|
data-slot="klex-logo-icon"
|
|
79
84
|
>
|
|
80
|
-
<path className={bodyClassName} d={
|
|
81
|
-
|
|
82
|
-
className={eyesClassName}
|
|
83
|
-
|
|
84
|
-
cy="35.2942"
|
|
85
|
-
rx="4.70588"
|
|
86
|
-
ry="7.05883"
|
|
87
|
-
/>
|
|
88
|
-
<ellipse
|
|
89
|
-
className={eyesClassName}
|
|
90
|
-
cx="80.5294"
|
|
91
|
-
cy="35.2942"
|
|
92
|
-
rx="4.70588"
|
|
93
|
-
ry="7.05883"
|
|
94
|
-
/>
|
|
85
|
+
<path className={bodyClassName} d={KLEX_LOGO_GHOST_PATH} />
|
|
86
|
+
{KLEX_LOGO_EYES.map((eye) => (
|
|
87
|
+
<ellipse className={eyesClassName} key={eye.cx} {...eye} />
|
|
88
|
+
))}
|
|
95
89
|
</svg>
|
|
96
90
|
);
|
|
97
91
|
|