@obolnetwork/obol-ui 1.0.4 → 1.0.5
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.es.js
CHANGED
|
@@ -1122,19 +1122,20 @@ var MediaQueryKeys = {
|
|
|
1122
1122
|
|
|
1123
1123
|
var LogoCard = function (props) {
|
|
1124
1124
|
var screenDownSm = useMediaQuery(MediaQueryKeys.sm);
|
|
1125
|
-
return (jsx(Box, __assign({ className: "logo-card", css: {
|
|
1125
|
+
return (jsx(Box, __assign({ as: "a", className: "logo-card", css: {
|
|
1126
1126
|
position: "relative",
|
|
1127
1127
|
width: "288px",
|
|
1128
1128
|
height: "120px",
|
|
1129
1129
|
borderRadius: "$4",
|
|
1130
1130
|
backgroundColor: "$bg04",
|
|
1131
|
+
"&:hover": { cursor: "pointer", backgroundColor: "$bg05" },
|
|
1131
1132
|
p: "$sm",
|
|
1132
1133
|
"@sm": {
|
|
1133
1134
|
width: "42%",
|
|
1134
1135
|
height: "auto",
|
|
1135
1136
|
p: "$xxs",
|
|
1136
1137
|
},
|
|
1137
|
-
} }, { children: !screenDownSm ? (jsx(Image$1, { src: props.image, layout: "fill", objectFit: "scale-down", alt: props.heading })) : (jsx(Image$1, { src: props.image, layout: "responsive", objectFit: "fill", width: props.width, height: props.height, alt: props.heading })) })));
|
|
1138
|
+
}, target: "_blank", href: props.logoCardLink }, { children: !screenDownSm ? (jsx(Image$1, { src: props.image, layout: "fill", objectFit: "scale-down", alt: props.heading })) : (jsx(Image$1, { src: props.image, layout: "responsive", objectFit: "fill", width: props.width, height: props.height, alt: props.heading })) })));
|
|
1138
1139
|
};
|
|
1139
1140
|
|
|
1140
1141
|
// Exports
|
package/dist/index.js
CHANGED
|
@@ -1152,19 +1152,20 @@ var MediaQueryKeys = {
|
|
|
1152
1152
|
|
|
1153
1153
|
var LogoCard = function (props) {
|
|
1154
1154
|
var screenDownSm = useMediaQuery(MediaQueryKeys.sm);
|
|
1155
|
-
return (jsxRuntime.jsx(Box, __assign({ className: "logo-card", css: {
|
|
1155
|
+
return (jsxRuntime.jsx(Box, __assign({ as: "a", className: "logo-card", css: {
|
|
1156
1156
|
position: "relative",
|
|
1157
1157
|
width: "288px",
|
|
1158
1158
|
height: "120px",
|
|
1159
1159
|
borderRadius: "$4",
|
|
1160
1160
|
backgroundColor: "$bg04",
|
|
1161
|
+
"&:hover": { cursor: "pointer", backgroundColor: "$bg05" },
|
|
1161
1162
|
p: "$sm",
|
|
1162
1163
|
"@sm": {
|
|
1163
1164
|
width: "42%",
|
|
1164
1165
|
height: "auto",
|
|
1165
1166
|
p: "$xxs",
|
|
1166
1167
|
},
|
|
1167
|
-
} }, { children: !screenDownSm ? (jsxRuntime.jsx(Image__default["default"], { src: props.image, layout: "fill", objectFit: "scale-down", alt: props.heading })) : (jsxRuntime.jsx(Image__default["default"], { src: props.image, layout: "responsive", objectFit: "fill", width: props.width, height: props.height, alt: props.heading })) })));
|
|
1168
|
+
}, target: "_blank", href: props.logoCardLink }, { children: !screenDownSm ? (jsxRuntime.jsx(Image__default["default"], { src: props.image, layout: "fill", objectFit: "scale-down", alt: props.heading })) : (jsxRuntime.jsx(Image__default["default"], { src: props.image, layout: "responsive", objectFit: "fill", width: props.width, height: props.height, alt: props.heading })) })));
|
|
1168
1169
|
};
|
|
1169
1170
|
|
|
1170
1171
|
// Exports
|