@goodhood-web/ui 3.3.0-development.15 → 3.3.0-development.17
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/index.mjs
CHANGED
|
@@ -19714,7 +19714,7 @@ const qP = {}, NV = ({
|
|
|
19714
19714
|
}, OV = ({ className: t, headline: e, text: n }) => /* @__PURE__ */ $("legend", { className: I(G2.legend, t), children: [
|
|
19715
19715
|
/* @__PURE__ */ g(G, { type: "h5", children: e }),
|
|
19716
19716
|
n && /* @__PURE__ */ g(G, { className: G2.text, type: "body-regular", as: "p", children: n })
|
|
19717
|
-
] }), sA = "
|
|
19717
|
+
] }), sA = "_overlay_rk8oi_141", oA = "_sheet_rk8oi_152", aA = "_sheetWrapper_rk8oi_165", uA = "_sheetHeader_rk8oi_173", lA = "_sheetFooter_rk8oi_185", ln = {
|
|
19718
19718
|
overlay: sA,
|
|
19719
19719
|
sheet: oA,
|
|
19720
19720
|
sheetWrapper: aA,
|
|
@@ -19752,7 +19752,7 @@ const qP = {}, NV = ({
|
|
|
19752
19752
|
return /* @__PURE__ */ g("div", { ref: e, ...r, className: dA.backdrop });
|
|
19753
19753
|
});
|
|
19754
19754
|
j3.displayName = "Backdrop";
|
|
19755
|
-
const hA = "
|
|
19755
|
+
const hA = "_modal_wds02_141", fA = "_modalWrapper_wds02_149", pA = "_modalHeader_wds02_165", mA = "_crossCircle_wds02_181", gA = "_modalFooter_wds02_184", Gn = {
|
|
19756
19756
|
modal: hA,
|
|
19757
19757
|
modalWrapper: fA,
|
|
19758
19758
|
modalHeader: pA,
|
|
@@ -19780,6 +19780,7 @@ const hA = "_modal_ucf9e_141", fA = "_modalWrapper_ucf9e_149", pA = "_modalHeade
|
|
|
19780
19780
|
/* @__PURE__ */ g(
|
|
19781
19781
|
H1,
|
|
19782
19782
|
{
|
|
19783
|
+
as: "h2",
|
|
19783
19784
|
className: Gn.modalHeader,
|
|
19784
19785
|
headline: r,
|
|
19785
19786
|
rightElement: /* @__PURE__ */ g(
|
|
@@ -6,12 +6,12 @@ type BaseUserAvatarProps = {
|
|
|
6
6
|
userImageSrc?: string;
|
|
7
7
|
};
|
|
8
8
|
type UserIdMandatory = BaseUserAvatarProps & {
|
|
9
|
-
avatarColor?:
|
|
9
|
+
avatarColor?: never;
|
|
10
10
|
userId: number;
|
|
11
11
|
};
|
|
12
12
|
type AvatarColorMandatory = BaseUserAvatarProps & {
|
|
13
13
|
avatarColor: AvatarColor;
|
|
14
|
-
userId?:
|
|
14
|
+
userId?: never;
|
|
15
15
|
};
|
|
16
16
|
export type UserAvatarProps = UserIdMandatory | AvatarColorMandatory;
|
|
17
17
|
export {};
|
|
@@ -3,7 +3,7 @@ import { IconButtonProps } from '../../../Atoms/Buttons/IconButton/IconButton.ty
|
|
|
3
3
|
import { IconProps } from '../../../Base/Icon/Icon.types';
|
|
4
4
|
import { AllowedTypographyHTMLTags, TypographyTypeProduct } from '../../../Base/Typography/Typography.types';
|
|
5
5
|
export type CardHeaderProps = {
|
|
6
|
-
as?: Exclude<AllowedTypographyHTMLTags, '
|
|
6
|
+
as?: Exclude<AllowedTypographyHTMLTags, 'p' | 'span'>;
|
|
7
7
|
className?: string;
|
|
8
8
|
headline: string;
|
|
9
9
|
leftElement?: ReactElement<IconProps | IconButtonProps> | ReactNode;
|