@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/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/card/card.props.ts +2 -0
- package/src/components/molecules/card/card.tsx +3 -1
package/dist/index.d.cts
CHANGED
|
@@ -964,6 +964,8 @@ interface ITCardProps {
|
|
|
964
964
|
actions?: React.ReactNode;
|
|
965
965
|
/** Additional CSS class names for the card container. */
|
|
966
966
|
className?: string;
|
|
967
|
+
/** Inline styles for the card container (alturas calculadas, gradientes de datos). */
|
|
968
|
+
style?: React.CSSProperties;
|
|
967
969
|
/** Additional CSS class names for the image element. */
|
|
968
970
|
imageClassName?: string;
|
|
969
971
|
/** Additional CSS class names for the title element. */
|
|
@@ -991,7 +993,7 @@ interface ITCardProps {
|
|
|
991
993
|
* Clickable card with hover shadow.
|
|
992
994
|
* </ITCard>
|
|
993
995
|
*/
|
|
994
|
-
declare function ITCard({ title, tone, headerActions, image, alt, children, actions, className, imageClassName, titleClassName, contentClassName, actionClassName, onClick, }: ITCardProps): react_jsx_runtime.JSX.Element;
|
|
996
|
+
declare function ITCard({ title, tone, headerActions, image, alt, children, actions, className, imageClassName, titleClassName, contentClassName, actionClassName, onClick, style, }: ITCardProps): react_jsx_runtime.JSX.Element;
|
|
995
997
|
|
|
996
998
|
interface ITCheckboxProps {
|
|
997
999
|
/** Controlled checked state. @default false */
|
package/dist/index.d.ts
CHANGED
|
@@ -964,6 +964,8 @@ interface ITCardProps {
|
|
|
964
964
|
actions?: React.ReactNode;
|
|
965
965
|
/** Additional CSS class names for the card container. */
|
|
966
966
|
className?: string;
|
|
967
|
+
/** Inline styles for the card container (alturas calculadas, gradientes de datos). */
|
|
968
|
+
style?: React.CSSProperties;
|
|
967
969
|
/** Additional CSS class names for the image element. */
|
|
968
970
|
imageClassName?: string;
|
|
969
971
|
/** Additional CSS class names for the title element. */
|
|
@@ -991,7 +993,7 @@ interface ITCardProps {
|
|
|
991
993
|
* Clickable card with hover shadow.
|
|
992
994
|
* </ITCard>
|
|
993
995
|
*/
|
|
994
|
-
declare function ITCard({ title, tone, headerActions, image, alt, children, actions, className, imageClassName, titleClassName, contentClassName, actionClassName, onClick, }: ITCardProps): react_jsx_runtime.JSX.Element;
|
|
996
|
+
declare function ITCard({ title, tone, headerActions, image, alt, children, actions, className, imageClassName, titleClassName, contentClassName, actionClassName, onClick, style, }: ITCardProps): react_jsx_runtime.JSX.Element;
|
|
995
997
|
|
|
996
998
|
interface ITCheckboxProps {
|
|
997
999
|
/** Controlled checked state. @default false */
|
package/dist/index.js
CHANGED
|
@@ -1518,7 +1518,8 @@ function ITCard({
|
|
|
1518
1518
|
titleClassName,
|
|
1519
1519
|
contentClassName,
|
|
1520
1520
|
actionClassName,
|
|
1521
|
-
onClick
|
|
1521
|
+
onClick,
|
|
1522
|
+
style
|
|
1522
1523
|
}) {
|
|
1523
1524
|
const { t } = useITTranslation();
|
|
1524
1525
|
const [isHovered, setIsHovered] = useState6(false);
|
|
@@ -1566,7 +1567,7 @@ function ITCard({
|
|
|
1566
1567
|
}
|
|
1567
1568
|
} : void 0,
|
|
1568
1569
|
className: clsx2("overflow-hidden flex flex-col", className),
|
|
1569
|
-
style: containerStyle,
|
|
1570
|
+
style: style ? { ...containerStyle, ...style } : containerStyle,
|
|
1570
1571
|
children: [
|
|
1571
1572
|
image && /* @__PURE__ */ jsx4(
|
|
1572
1573
|
"img",
|