@algorithm-shift/design-system 1.2.17 → 1.2.18
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.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -3
- /package/{public/image-placeholder.png → dist/image-placeholder-2SXKDAZP.png} +0 -0
- /package/{public/logo_placeholder.png → dist/logo_placeholder-QTBY7BCH.png} +0 -0
package/dist/index.js
CHANGED
|
@@ -180,6 +180,9 @@ var Shape = ({
|
|
|
180
180
|
};
|
|
181
181
|
var Shape_default = Shape;
|
|
182
182
|
|
|
183
|
+
// src/assets/image-placeholder.png
|
|
184
|
+
var image_placeholder_default = "./image-placeholder-2SXKDAZP.png";
|
|
185
|
+
|
|
183
186
|
// src/components/Basic/Image/Image.tsx
|
|
184
187
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
185
188
|
var ImageControl = ({
|
|
@@ -198,7 +201,7 @@ var ImageControl = ({
|
|
|
198
201
|
className
|
|
199
202
|
);
|
|
200
203
|
if (!imageUrl && !imageUrlExternal) {
|
|
201
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: imageClass, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("img", { src:
|
|
204
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: imageClass, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
|
|
202
205
|
}
|
|
203
206
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("img", { src: imageUrlExternal || imageUrl, alt: altText, className: defaultImgClass, style });
|
|
204
207
|
};
|
|
@@ -1949,6 +1952,9 @@ var Notification = ({ className, style, badgeType, badgeCount = 0, hideBadgeWhen
|
|
|
1949
1952
|
};
|
|
1950
1953
|
var Notification_default = Notification;
|
|
1951
1954
|
|
|
1955
|
+
// src/assets/logo_placeholder.png
|
|
1956
|
+
var logo_placeholder_default = "./logo_placeholder-QTBY7BCH.png";
|
|
1957
|
+
|
|
1952
1958
|
// src/components/Navigation/Logo/Logo.tsx
|
|
1953
1959
|
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1954
1960
|
var Logo = ({
|
|
@@ -1966,7 +1972,7 @@ var Logo = ({
|
|
|
1966
1972
|
"p-0"
|
|
1967
1973
|
),
|
|
1968
1974
|
style,
|
|
1969
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("img", { src:
|
|
1975
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("img", { src: logo_placeholder_default, alt: altText, className: "opacity-50", width: 150, height: 80 })
|
|
1970
1976
|
}
|
|
1971
1977
|
);
|
|
1972
1978
|
}
|