@goodhood-web/ui 4.14.0-development.2 → 4.14.0-development.3
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
|
@@ -19126,26 +19126,27 @@ const sT = "_pageLoadingSpinnerWrapper_1kk2w_146", lT = "_spinner_1kk2w_158", ss
|
|
|
19126
19126
|
as: t,
|
|
19127
19127
|
className: e,
|
|
19128
19128
|
headline: n,
|
|
19129
|
-
|
|
19130
|
-
|
|
19131
|
-
|
|
19132
|
-
|
|
19129
|
+
headlineClassName: r,
|
|
19130
|
+
leftElement: a,
|
|
19131
|
+
rightElement: o,
|
|
19132
|
+
subHeadline: s,
|
|
19133
|
+
type: l = "h3"
|
|
19133
19134
|
}) => /* @__PURE__ */ z("header", { className: P(x0.root, e), children: [
|
|
19134
19135
|
/* @__PURE__ */ z("div", { className: x0.container, children: [
|
|
19135
|
-
|
|
19136
|
+
a,
|
|
19136
19137
|
/* @__PURE__ */ m(
|
|
19137
19138
|
O,
|
|
19138
19139
|
{
|
|
19139
|
-
type:
|
|
19140
|
+
type: l,
|
|
19140
19141
|
as: t,
|
|
19141
|
-
className: x0.title,
|
|
19142
|
+
className: P(x0.title, r),
|
|
19142
19143
|
"data-testid": "card-header-title",
|
|
19143
19144
|
children: n
|
|
19144
19145
|
}
|
|
19145
19146
|
),
|
|
19146
|
-
|
|
19147
|
+
o
|
|
19147
19148
|
] }),
|
|
19148
|
-
|
|
19149
|
+
s && /* @__PURE__ */ m(O, { type: "detail-medium", className: x0.subHeadline, children: s })
|
|
19149
19150
|
] }), CN = ({
|
|
19150
19151
|
allowedElement: t = rn,
|
|
19151
19152
|
ariaLabel: e,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CardHeaderProps } from './CardHeader.types';
|
|
2
|
-
declare const CardHeader: ({ as, className, headline, leftElement, rightElement, subHeadline, type, }: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const CardHeader: ({ as, className, headline, headlineClassName, leftElement, rightElement, subHeadline, type, }: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default CardHeader;
|
|
@@ -6,6 +6,7 @@ export type CardHeaderProps = {
|
|
|
6
6
|
as?: Exclude<AllowedTypographyHTMLTags, 'p' | 'span'>;
|
|
7
7
|
className?: string;
|
|
8
8
|
headline?: string;
|
|
9
|
+
headlineClassName?: string;
|
|
9
10
|
leftElement?: ReactElement<IconProps | IconButtonProps> | ReactNode;
|
|
10
11
|
rightElement?: ReactElement<IconButtonProps> | ReactNode;
|
|
11
12
|
subHeadline?: string;
|