@facter/ds-core 1.6.0 → 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 +14 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6688,25 +6688,23 @@ 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: [
|
|
6693
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6694
|
-
|
|
6698
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("relative", wrapperSizeClasses[actualSize]), children: [
|
|
6699
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6700
|
+
RippleEffect,
|
|
6695
6701
|
{
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
variant === "warning" && "bg-yellow-500",
|
|
6701
|
-
variant === "destructive" && "bg-red-500",
|
|
6702
|
-
variant === "info" && "bg-blue-500",
|
|
6703
|
-
size === "sm" && "w-14 h-14",
|
|
6704
|
-
size === "md" && "w-16 h-16",
|
|
6705
|
-
size === "lg" && "w-20 h-20"
|
|
6706
|
-
),
|
|
6707
|
-
style: { animationDuration: "2s" }
|
|
6702
|
+
color: "primary",
|
|
6703
|
+
size: "md",
|
|
6704
|
+
rings: 3,
|
|
6705
|
+
intensity: "light"
|
|
6708
6706
|
}
|
|
6709
|
-
)
|
|
6707
|
+
),
|
|
6710
6708
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6711
6709
|
"div",
|
|
6712
6710
|
{
|