@ballistix.digital/react-components 0.4.10 → 0.4.11
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.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -95,7 +95,7 @@ var AvatarElement = function (props) {
|
|
|
95
95
|
if (!src) {
|
|
96
96
|
return (jsxs("span", __assign({ className: styles.placeholder }, { children: [jsx("span", __assign({ className: "text-".concat(size, " font-medium leading-none text-white") }, { children: placeholder })), status && jsx("span", { className: styles.indicator })] })));
|
|
97
97
|
}
|
|
98
|
-
return (jsx("a", __assign({ href: url }, { children: jsxs("div", __assign({ className: "flex items-center" }, { children: [jsxs("span", __assign({ className: "
|
|
98
|
+
return (jsx("a", __assign({ href: url }, { children: jsxs("div", __assign({ className: "flex items-center" }, { children: [jsxs("span", __assign({ className: "flex items-center justify-center" }, { children: [jsx("div", { className: styles.container, style: { backgroundImage: "url(".concat(src, ")") } }), status && jsx("span", { className: styles.indicator })] })), children && jsx("div", __assign({ className: "ml-3" }, { children: children }))] })) })));
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
var base$i = {
|
package/dist/index.js
CHANGED
|
@@ -105,7 +105,7 @@ var AvatarElement = function (props) {
|
|
|
105
105
|
if (!src) {
|
|
106
106
|
return (jsxRuntime.jsxs("span", __assign({ className: styles.placeholder }, { children: [jsxRuntime.jsx("span", __assign({ className: "text-".concat(size, " font-medium leading-none text-white") }, { children: placeholder })), status && jsxRuntime.jsx("span", { className: styles.indicator })] })));
|
|
107
107
|
}
|
|
108
|
-
return (jsxRuntime.jsx("a", __assign({ href: url }, { children: jsxRuntime.jsxs("div", __assign({ className: "flex items-center" }, { children: [jsxRuntime.jsxs("span", __assign({ className: "
|
|
108
|
+
return (jsxRuntime.jsx("a", __assign({ href: url }, { children: jsxRuntime.jsxs("div", __assign({ className: "flex items-center" }, { children: [jsxRuntime.jsxs("span", __assign({ className: "flex items-center justify-center" }, { children: [jsxRuntime.jsx("div", { className: styles.container, style: { backgroundImage: "url(".concat(src, ")") } }), status && jsxRuntime.jsx("span", { className: styles.indicator })] })), children && jsxRuntime.jsx("div", __assign({ className: "ml-3" }, { children: children }))] })) })));
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
var base$i = {
|