@vodafone_de/brix-components 16.0.2 → 16.0.4
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.
|
@@ -9,6 +9,7 @@ import styled from "styled-components";
|
|
|
9
9
|
import Label from "../Label/index.js";
|
|
10
10
|
import { translateLayoutPropsToCss } from "../../foundations/layout/index.js";
|
|
11
11
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
12
|
+
import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
12
13
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
13
14
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
14
15
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
@@ -16,14 +17,13 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
|
|
|
16
17
|
import { getIconColor } from "../../foundations/token/getIconColor/index.js";
|
|
17
18
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
18
19
|
import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
19
|
-
import { g as getSpacing
|
|
20
|
+
import { g as getSpacing } from "../../index-l-i-mIeP.js";
|
|
20
21
|
import { c as colorBorderFocus } from "../../BorderColor-BACbvI20.js";
|
|
21
22
|
import { a as borderRadiusSm } from "../../BorderRadius-Co-IV3fn.js";
|
|
22
23
|
import { a as borderWidthFocus } from "../../BorderWidth-OZWeXaq_.js";
|
|
23
24
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
24
25
|
import { s as spacingMd, a as spacingXs, b as spacingNone } from "../../Spacing-Dj-qX3Z5.js";
|
|
25
26
|
import { a as filterProps } from "../../filterProps-DrppH98G.js";
|
|
26
|
-
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
27
27
|
const CheckboxLabelStyled = styled(Label).withConfig({
|
|
28
28
|
shouldForwardProp: filterProps(),
|
|
29
29
|
displayName: "CheckboxLabelStyled",
|
|
@@ -72,8 +72,8 @@ const CheckboxStyled = styled.span.withConfig({
|
|
|
72
72
|
componentId: "sc-1lo7iho-3"
|
|
73
73
|
})({
|
|
74
74
|
position: "relative",
|
|
75
|
-
width: "
|
|
76
|
-
height: "
|
|
75
|
+
width: `calc(${getBodySize("md").fontSize} * ${getBodySize("md").lineHeight})`,
|
|
76
|
+
height: `calc(${getBodySize("md").fontSize} * ${getBodySize("md").lineHeight})`,
|
|
77
77
|
cursor: "pointer",
|
|
78
78
|
borderRadius: getBorderRadius(borderRadiusSm),
|
|
79
79
|
"&:has(:focus-visible)": {
|
|
@@ -91,9 +91,9 @@ const CheckboxSVGStyled = styled.svg.withConfig({
|
|
|
91
91
|
displayName: "CheckboxSVGStyled",
|
|
92
92
|
componentId: "sc-1lo7iho-4"
|
|
93
93
|
})({
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
fill: "none",
|
|
95
|
+
width: "inherit",
|
|
96
|
+
height: "inherit"
|
|
97
97
|
});
|
|
98
98
|
const CheckboxUncheckedSVGStyled = styled.path.withConfig({
|
|
99
99
|
shouldForwardProp: filterProps(),
|
|
@@ -186,8 +186,8 @@ const ImageHeaderHeadingStyled = styled(Heading).withConfig({
|
|
|
186
186
|
textAlign: "left"
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
|
-
const
|
|
190
|
-
displayName: "
|
|
189
|
+
const ImageHeaderSublineWrapperStyled = styled.div.withConfig({
|
|
190
|
+
displayName: "ImageHeaderSublineWrapperStyled",
|
|
191
191
|
componentId: "sc-7ig3h-6"
|
|
192
192
|
})({
|
|
193
193
|
textAlign: "center",
|
|
@@ -273,7 +273,7 @@ const ImageHeader = ({
|
|
|
273
273
|
/* @__PURE__ */ jsxs(ImageHeaderContentStyled, { variant, contentPosition, contentColumns, lg: contentColumns, className: themeDark === theme ? ` ${themeDark}` : "", children: [
|
|
274
274
|
badge && /* @__PURE__ */ jsx(ImageHeaderBadgeStyled, { ...badge, size: mediumSize, bottomSpacing: spacingNone }),
|
|
275
275
|
/* @__PURE__ */ jsx(ImageHeaderHeadingStyled, { ...heading, id: headingId, align: headingAlignCenter, weight: fontWeightLight, bottomSpacing: spacingNone }),
|
|
276
|
-
/* @__PURE__ */ jsx(
|
|
276
|
+
subline && /* @__PURE__ */ jsx(ImageHeaderSublineWrapperStyled, { children: getSubline(subline) }),
|
|
277
277
|
price && /* @__PURE__ */ jsx(Price, { ...price, size: priceSizeSm, bottomSpacing: spacingNone }),
|
|
278
278
|
getAction(action)
|
|
279
279
|
] })
|
|
@@ -7,6 +7,6 @@ export declare const ImageHeaderArtDirectedImageStyled: import('styled-component
|
|
|
7
7
|
export declare const ImageHeaderContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('../GridItem').GridItemProps, "contentColumns" | "contentPosition" | "variant"> & Pick<ImageHeaderProps, "contentColumns" | "contentPosition" | "variant">, never> & Partial<Pick<import('styled-components').FastOmit<import('../GridItem').GridItemProps, "contentColumns" | "contentPosition" | "variant"> & Pick<ImageHeaderProps, "contentColumns" | "contentPosition" | "variant">, never>>> & string & Omit<({ sm, tag, ...props }: import('../GridItem').GridItemProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
8
8
|
export declare const ImageHeaderBadgeStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Badge').BadgeProps, never> & Partial<Pick<import('../Badge').BadgeProps, never>>> & string & Omit<({ children, icon, footnoteLink, bottomSpacing, ...props }: import('../Badge').BadgeProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
9
9
|
export declare const ImageHeaderHeadingStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Heading').HeadingProps, never> & Partial<Pick<import('../Heading').HeadingProps, never>>> & string & Omit<({ footnoteLink, bottomSpacing, ...props }: import('../Heading').HeadingProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const ImageHeaderSublineWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
11
11
|
export declare const ImageHeaderSublineHeadingStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Heading').HeadingProps, never> & Partial<Pick<import('../Heading').HeadingProps, never>>> & string & Omit<({ footnoteLink, bottomSpacing, ...props }: import('../Heading').HeadingProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
12
12
|
export declare const ImageHeaderButtonGroupStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../ButtonGroup').ButtonGroupProps, never> & Partial<Pick<import('../ButtonGroup').ButtonGroupProps, never>>> & string & Omit<({ reversed, buttons, orientation, justify, bottomSpacing, ...props }: import('../ButtonGroup').ButtonGroupProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|