@goodhood-web/nebenan-base 2.0.1-development.3 → 2.1.0-development.1
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
|
@@ -55026,7 +55026,7 @@ const fw = "_mobileHeaderBar_1qe9v_120", dw = "_typography_1qe9v_131", lw = "_ti
|
|
|
55026
55026
|
title: a,
|
|
55027
55027
|
type: r = "h2"
|
|
55028
55028
|
}) => {
|
|
55029
|
-
const s = typeof a == "string"
|
|
55029
|
+
const s = typeof a == "string";
|
|
55030
55030
|
return /* @__PURE__ */ k.jsxs("div", { className: je(Yi.mobileHeaderBar, e), children: [
|
|
55031
55031
|
/* @__PURE__ */ k.jsx("div", { className: Yi.mobileHeaderBarIcon, children: i }),
|
|
55032
55032
|
s ? /* @__PURE__ */ k.jsx(Ee, { className: Yi.typography, type: r, as: n, children: a }) : /* @__PURE__ */ k.jsx("div", { className: Yi.titleElement, children: a }),
|
|
@@ -2,9 +2,9 @@ import { ReactElement } from 'react';
|
|
|
2
2
|
import { IconButtonProps } from '../../../../../../ui/src/lib/Atoms/Buttons/IconButton/IconButton.types';
|
|
3
3
|
import { NotificationBubbleProps } from '../../../../../../ui/src/lib/Atoms/NotificationBubble/NotificationBubble.types';
|
|
4
4
|
import { IconProps } from '../../../../../../ui/src/lib/Base/Icon/Icon.types';
|
|
5
|
-
import {
|
|
5
|
+
import { AllowedTypographyHTMLTags, TypographyTypeProduct } from '../../../../../../ui/src/lib/Base/Typography/Typography.types';
|
|
6
6
|
export interface MobileHeaderBarProps {
|
|
7
|
-
as?: Exclude<
|
|
7
|
+
as?: Exclude<AllowedTypographyHTMLTags, 'h1'>;
|
|
8
8
|
className?: string;
|
|
9
9
|
left?: ReactElement<IconProps | NotificationBubbleProps | IconButtonProps>;
|
|
10
10
|
right?: ReactElement<IconProps | NotificationBubbleProps | IconButtonProps>;
|