@axzydev/axzy_ui_system 1.8.9 → 1.8.10

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "packageManager": "pnpm@10.34.0",
5
5
  "private": false,
6
6
  "license": "MIT",
7
- "version": "1.8.9",
7
+ "version": "1.8.10",
8
8
  "type": "module",
9
9
  "sideEffects": [
10
10
  "*.css"
@@ -27,6 +27,8 @@ export interface ITCardProps {
27
27
  actions?: React.ReactNode;
28
28
  /** Additional CSS class names for the card container. */
29
29
  className?: string;
30
+ /** Inline styles for the card container (alturas calculadas, gradientes de datos). */
31
+ style?: React.CSSProperties;
30
32
  /** Additional CSS class names for the image element. */
31
33
  imageClassName?: string;
32
34
  /** Additional CSS class names for the title element. */
@@ -36,6 +36,7 @@ export default function ITCard({
36
36
  contentClassName,
37
37
  actionClassName,
38
38
  onClick,
39
+ style,
39
40
  }: ITCardProps) {
40
41
  const { t } = useITTranslation();
41
42
  const [isHovered, setIsHovered] = useState(false);
@@ -117,7 +118,8 @@ export default function ITCard({
117
118
  : undefined
118
119
  }
119
120
  className={clsx("overflow-hidden flex flex-col", className)}
120
- style={containerStyle}
121
+ // `style` del consumidor se suma al tono calculado (alturas, gradientes de datos).
122
+ style={style ? { ...containerStyle, ...style } : containerStyle}
121
123
  >
122
124
  {image && (
123
125
  <img