@rehagro/ui 1.0.27 → 1.0.28
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.d.mts +11 -7
- package/dist/index.d.ts +11 -7
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -2
- package/dist/index.mjs.map +1 -1
- package/dist/native.d.mts +19 -15
- package/dist/native.d.ts +19 -15
- package/dist/native.js +7 -2
- package/dist/native.js.map +1 -1
- package/dist/native.mjs +7 -2
- package/dist/native.mjs.map +1 -1
- package/dist/styles.css +3 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -623,6 +623,12 @@ type CardProps = React__default.HTMLAttributes<HTMLDivElement> & {
|
|
|
623
623
|
/** Disabled state (only applies when clickable) */
|
|
624
624
|
disabled?: boolean;
|
|
625
625
|
};
|
|
626
|
+
type CardHeaderProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
627
|
+
declare const CardHeader: React__default.ForwardRefExoticComponent<CardHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
628
|
+
type CardContentProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
629
|
+
declare const CardContent: React__default.ForwardRefExoticComponent<CardContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
630
|
+
type CardFooterProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
631
|
+
declare const CardFooter: React__default.ForwardRefExoticComponent<CardFooterProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
626
632
|
declare const Card: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & {
|
|
627
633
|
/** Visual style variant */
|
|
628
634
|
variant?: CardVariant;
|
|
@@ -634,13 +640,11 @@ declare const Card: React__default.ForwardRefExoticComponent<React__default.HTML
|
|
|
634
640
|
clickable?: boolean;
|
|
635
641
|
/** Disabled state (only applies when clickable) */
|
|
636
642
|
disabled?: boolean;
|
|
637
|
-
} & React__default.RefAttributes<HTMLDivElement
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
type CardFooterProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
643
|
-
declare const CardFooter: React__default.ForwardRefExoticComponent<CardFooterProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
643
|
+
} & React__default.RefAttributes<HTMLDivElement>> & {
|
|
644
|
+
Header: React__default.ForwardRefExoticComponent<CardHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
645
|
+
Content: React__default.ForwardRefExoticComponent<CardContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
646
|
+
Footer: React__default.ForwardRefExoticComponent<CardFooterProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
647
|
+
};
|
|
644
648
|
|
|
645
649
|
type SpinnerSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
646
650
|
type SpinnerProps = React__default.HTMLAttributes<HTMLDivElement> & {
|
package/dist/index.d.ts
CHANGED
|
@@ -623,6 +623,12 @@ type CardProps = React__default.HTMLAttributes<HTMLDivElement> & {
|
|
|
623
623
|
/** Disabled state (only applies when clickable) */
|
|
624
624
|
disabled?: boolean;
|
|
625
625
|
};
|
|
626
|
+
type CardHeaderProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
627
|
+
declare const CardHeader: React__default.ForwardRefExoticComponent<CardHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
628
|
+
type CardContentProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
629
|
+
declare const CardContent: React__default.ForwardRefExoticComponent<CardContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
630
|
+
type CardFooterProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
631
|
+
declare const CardFooter: React__default.ForwardRefExoticComponent<CardFooterProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
626
632
|
declare const Card: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & {
|
|
627
633
|
/** Visual style variant */
|
|
628
634
|
variant?: CardVariant;
|
|
@@ -634,13 +640,11 @@ declare const Card: React__default.ForwardRefExoticComponent<React__default.HTML
|
|
|
634
640
|
clickable?: boolean;
|
|
635
641
|
/** Disabled state (only applies when clickable) */
|
|
636
642
|
disabled?: boolean;
|
|
637
|
-
} & React__default.RefAttributes<HTMLDivElement
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
type CardFooterProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
643
|
-
declare const CardFooter: React__default.ForwardRefExoticComponent<CardFooterProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
643
|
+
} & React__default.RefAttributes<HTMLDivElement>> & {
|
|
644
|
+
Header: React__default.ForwardRefExoticComponent<CardHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
645
|
+
Content: React__default.ForwardRefExoticComponent<CardContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
646
|
+
Footer: React__default.ForwardRefExoticComponent<CardFooterProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
647
|
+
};
|
|
644
648
|
|
|
645
649
|
type SpinnerSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
646
650
|
type SpinnerProps = React__default.HTMLAttributes<HTMLDivElement> & {
|
package/dist/index.js
CHANGED
|
@@ -2654,7 +2654,7 @@ var paddingClasses = {
|
|
|
2654
2654
|
md: "rh-p-4",
|
|
2655
2655
|
lg: "rh-p-6"
|
|
2656
2656
|
};
|
|
2657
|
-
var
|
|
2657
|
+
var CardRoot = React9.forwardRef(function Card({
|
|
2658
2658
|
variant = "outlined",
|
|
2659
2659
|
radius = "sm",
|
|
2660
2660
|
padding = "md",
|
|
@@ -2714,6 +2714,11 @@ var CardFooter = React9.forwardRef(function CardFooter2({ className = "", childr
|
|
|
2714
2714
|
}
|
|
2715
2715
|
);
|
|
2716
2716
|
});
|
|
2717
|
+
var Card2 = Object.assign(CardRoot, {
|
|
2718
|
+
Header: CardHeader,
|
|
2719
|
+
Content: CardContent,
|
|
2720
|
+
Footer: CardFooter
|
|
2721
|
+
});
|
|
2717
2722
|
var PRESET_COLORS6 = /* @__PURE__ */ new Set([
|
|
2718
2723
|
"primary",
|
|
2719
2724
|
"secondary",
|
|
@@ -3388,7 +3393,7 @@ var GridItem = React9.forwardRef(
|
|
|
3388
3393
|
|
|
3389
3394
|
exports.Avatar = Avatar;
|
|
3390
3395
|
exports.Button = Button;
|
|
3391
|
-
exports.Card =
|
|
3396
|
+
exports.Card = Card2;
|
|
3392
3397
|
exports.CardContent = CardContent;
|
|
3393
3398
|
exports.CardFooter = CardFooter;
|
|
3394
3399
|
exports.CardHeader = CardHeader;
|