@algorithm-shift/design-system 1.2.14 → 1.2.15
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.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +17 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/public/logo_placeholder.png +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1884,29 +1884,28 @@ var Notification_default = Notification;
|
|
|
1884
1884
|
|
|
1885
1885
|
// src/components/Navigation/Logo/Logo.tsx
|
|
1886
1886
|
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
1887
|
-
var
|
|
1887
|
+
var Logo = ({
|
|
1888
1888
|
className,
|
|
1889
1889
|
style,
|
|
1890
|
-
imageUrl
|
|
1890
|
+
imageUrl,
|
|
1891
|
+
altText = "Preview"
|
|
1891
1892
|
}) => {
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
className: "opacity-50"
|
|
1905
|
-
};
|
|
1893
|
+
if (!imageUrl) {
|
|
1894
|
+
return /* @__PURE__ */ jsx43(
|
|
1895
|
+
"div",
|
|
1896
|
+
{
|
|
1897
|
+
className: cn(
|
|
1898
|
+
className,
|
|
1899
|
+
"p-0"
|
|
1900
|
+
),
|
|
1901
|
+
style,
|
|
1902
|
+
children: /* @__PURE__ */ jsx43("img", { src: "/logo_placeholder.png", alt: altText, className: "opacity-50", width: 150, height: 80 })
|
|
1903
|
+
}
|
|
1904
|
+
);
|
|
1906
1905
|
}
|
|
1907
|
-
return /* @__PURE__ */ jsx43("
|
|
1906
|
+
return /* @__PURE__ */ jsx43("img", { src: imageUrl, alt: altText, className, style });
|
|
1908
1907
|
};
|
|
1909
|
-
var Logo_default =
|
|
1908
|
+
var Logo_default = Logo;
|
|
1910
1909
|
export {
|
|
1911
1910
|
Button,
|
|
1912
1911
|
CheckboxInput,
|