@facter/ds-core 1.6.1 → 1.6.2
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 +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6688,8 +6688,14 @@ var itemCardIconVariants = classVarianceAuthority.cva(
|
|
|
6688
6688
|
);
|
|
6689
6689
|
var ItemCardIcon = React49__namespace.forwardRef(
|
|
6690
6690
|
({ className, size, variant, ripple = false, children, ...props }, ref) => {
|
|
6691
|
+
const wrapperSizeClasses = {
|
|
6692
|
+
sm: "w-10 h-10",
|
|
6693
|
+
md: "w-12 h-12",
|
|
6694
|
+
lg: "w-14 h-14"
|
|
6695
|
+
};
|
|
6696
|
+
const actualSize = size || "md";
|
|
6691
6697
|
if (ripple) {
|
|
6692
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
6698
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("relative", wrapperSizeClasses[actualSize]), children: [
|
|
6693
6699
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6694
6700
|
RippleEffect,
|
|
6695
6701
|
{
|