@vodafone_de/brix-components 7.0.4 → 7.0.6

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.
Files changed (49) hide show
  1. package/dist/{FontWeight-CR22KTex.js → FontWeight-DEBGHbtO.js} +2 -2
  2. package/dist/components/Accordion/index.js +1 -1
  3. package/dist/components/Badge/index.js +1 -1
  4. package/dist/components/Body/index.js +1 -1
  5. package/dist/components/Button/index.js +2 -2
  6. package/dist/components/ButtonAsLink/index.js +1 -1
  7. package/dist/components/Carousel/components/CarouselContext.d.ts +2 -3
  8. package/dist/components/Carousel/index.js +52 -41
  9. package/dist/components/ConsentMessage/index.js +1 -1
  10. package/dist/components/DemoBox/index.js +1 -1
  11. package/dist/components/Dialog/index.js +1 -1
  12. package/dist/components/DiscoveryCard/index.js +5 -5
  13. package/dist/components/DiscoveryCardGroup/index.js +1 -1
  14. package/dist/components/Heading/index.js +1 -1
  15. package/dist/components/IconButton/index.js +1 -1
  16. package/dist/components/IconSnippet/index.js +4 -3
  17. package/dist/components/IconSnippet/props.d.ts +2 -2
  18. package/dist/components/ImageHeader/index.js +4 -4
  19. package/dist/components/Legend/index.js +1 -1
  20. package/dist/components/Link/index.js +1 -1
  21. package/dist/components/LinkAsButton/index.js +1 -1
  22. package/dist/components/LinkListItem/index.js +1 -1
  23. package/dist/components/MediaText/index.d.ts +5 -0
  24. package/dist/components/MediaText/index.js +121 -0
  25. package/dist/components/MediaText/props.d.ts +42 -0
  26. package/dist/components/MediaText/styled.d.ts +4 -0
  27. package/dist/components/Notification/index.js +1 -1
  28. package/dist/components/PickerGroup/index.js +2 -2
  29. package/dist/components/Price/index.js +1 -1
  30. package/dist/components/ProductCard/index.js +3 -3
  31. package/dist/components/Rating/assets/StarSVG.d.ts +2 -2
  32. package/dist/components/Rating/index.js +23 -24
  33. package/dist/components/Rating/props.d.ts +2 -2
  34. package/dist/components/RichText/index.js +1 -1
  35. package/dist/components/SearchInput/index.js +1 -1
  36. package/dist/components/Stepper/index.js +1 -1
  37. package/dist/components/TabularPrice/index.js +1 -1
  38. package/dist/components/TextList/index.js +1 -1
  39. package/dist/components/Tray/index.js +1 -1
  40. package/dist/{index-C7meHOM4.js → index-57IF0yrd.js} +2 -2
  41. package/dist/{index-BeSd-V81.js → index-BRs8j3Vq.js} +1 -1
  42. package/dist/{index-ZHkR70j3.js → index-CKvLGUdD.js} +1 -1
  43. package/dist/{index-C5GzK6_0.js → index-DrySIh-D.js} +1 -1
  44. package/dist/{index-aUJfXBUI.js → index-WLBo71sp.js} +1 -1
  45. package/dist/index.d.ts +2 -0
  46. package/dist/index.js +112 -107
  47. package/dist/{styled-BSqC5P9h.js → styled-DLS1p_AJ.js} +1 -1
  48. package/package.json +1 -1
  49. package/dist/components/Carousel/utils/useScrollSpy.d.ts +0 -2
@@ -0,0 +1,4 @@
1
+ import { MediaTextProps } from './props';
2
+ export declare const MediaTextStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<MediaTextProps, "orientation" | "bottomSpacing">>> & string;
3
+ export declare const MediaTextMediaStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<MediaTextProps, "orientation" | "bottomSpacing">>> & string;
4
+ export declare const MediaTextContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<MediaTextProps, "orientation">>> & string;
@@ -7,7 +7,7 @@ import ButtonGroup from "../ButtonGroup/index.js";
7
7
  import Flex from "../Flex/index.js";
8
8
  import Heading from "../Heading/index.js";
9
9
  import Link from "../Link/index.js";
10
- import { R as RichText } from "../../index-BeSd-V81.js";
10
+ import { R as RichText } from "../../index-BRs8j3Vq.js";
11
11
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
12
12
  import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
13
13
  import { e as colorBorderCritical, f as colorBorderWarning, d as colorBorderSuccess, k as colorBorderInformation } from "../../BorderColor-BummoQ1-.js";
@@ -6,7 +6,7 @@ import { e as spacing2Xs, s as spacingMd, c as spacingSm, b as spacingNone } fro
6
6
  import { useState, useEffect } from "react";
7
7
  import Grid from "../Grid/index.js";
8
8
  import { df as IconLoader, iu as iconSizeMd } from "../../index-Cbojl4_Q.js";
9
- import { B as Badge } from "../../index-ZHkR70j3.js";
9
+ import { B as Badge } from "../../index-CKvLGUdD.js";
10
10
  import ColorSwatch from "../ColorSwatch/index.js";
11
11
  import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
12
12
  import styled from "styled-components";
@@ -27,7 +27,7 @@ import { getTextColor } from "../../foundations/token/getTextColor/index.js";
27
27
  import { c as colorBackgroundNeutral } from "../../BackgroundColor-e0N9tdDR.js";
28
28
  import { b as borderRadiusMd } from "../../BorderRadius-ClUShVLu.js";
29
29
  import { a as borderWidthFocus, d as borderWidthSelected } from "../../BorderWidth-DfOlyKK7.js";
30
- import { b as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-CR22KTex.js";
30
+ import { a as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
31
31
  import { o as opacityOverlay } from "../../Opacity-smkGiwsf.js";
32
32
  import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
33
33
  import { f as filterProps } from "../../filterProps-Cewck8OH.js";
@@ -2,7 +2,7 @@
2
2
  import "react/jsx-runtime";
3
3
  import "../../index-DQhtQZ85.js";
4
4
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
5
- import { c, P, i, g, f, h, p, a, e, d, b } from "../../index-aUJfXBUI.js";
5
+ import { c, P, i, g, f, h, p, a, e, d, b } from "../../index-WLBo71sp.js";
6
6
  export {
7
7
  c as createScreenReaderText,
8
8
  P as default,
@@ -2,15 +2,15 @@
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import { it as iconSizeLg } from "../../index-Cbojl4_Q.js";
4
4
  import Image, { aspectRatio1_1 } from "../Image/index.js";
5
- import { f as fontWeightBold } from "../../FontWeight-CR22KTex.js";
5
+ import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
6
6
  import { a as textHeadingMd } from "../../HeadingSize-CfCRn3Lh.js";
7
7
  import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
8
- import { B as Badge } from "../../index-ZHkR70j3.js";
8
+ import { B as Badge } from "../../index-CKvLGUdD.js";
9
9
  import Body from "../Body/index.js";
10
10
  import ColorSwatchGroup from "../ColorSwatchGroup/index.js";
11
11
  import Heading from "../Heading/index.js";
12
12
  import Link from "../Link/index.js";
13
- import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-aUJfXBUI.js";
13
+ import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-WLBo71sp.js";
14
14
  import styled from "styled-components";
15
15
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
16
16
  import Card from "../Card/index.js";
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
2
- declare const StarSVG: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ declare const StarSVG: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.SVGProps<SVGSVGElement>, never>> & string & Omit<(props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element, keyof React.Component<any, {}, any>>;
3
3
  export default StarSVG;
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useState, useEffect, useRef } from "react";
4
- import { u as useViewport, v as viewportSm } from "../../index-Cs0Hw0dj.js";
5
4
  import Fieldset from "../Fieldset/index.js";
6
5
  import styled from "styled-components";
6
+ import { u as useViewport, v as viewportSm } from "../../index-Cs0Hw0dj.js";
7
7
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
8
8
  import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
9
9
  import { getHoverColor } from "../../foundations/token/getHoverColor/index.js";
@@ -14,9 +14,22 @@ import { c as colorBorderFocus, i as colorBorderSelected, a as colorBorderNeutra
14
14
  import { a as borderWidthFocus } from "../../BorderWidth-DfOlyKK7.js";
15
15
  import { b as colorObjectSelected } from "../../ObjectColor-BZDBuV8H.js";
16
16
  import { a as spacingXs } from "../../Spacing-D0HQH9YJ.js";
17
- const StarSVG = (props) => /* @__PURE__ */ jsx("svg", { style: {
18
- display: "inline-block"
19
- }, width: "26", height: "25", viewBox: "0 0 26 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx("path", { d: "M1 9.95223L9.26911 8.58599L12.8296 1L16.6847 8.44108L25 9.48408L19.1147 15.449L20.6911 23.6799L13.199 19.9252L5.85987 23.9682L7.11465 15.6831L1 9.95223Z", fill: "white", stroke: "#7E7E7E", strokeLinecap: "round", strokeLinejoin: "round" }) });
17
+ const StarSVGBase = (props) => {
18
+ const viewport = useViewport();
19
+ let width = 32;
20
+ let height = 30.624;
21
+ if (viewport === viewportSm) {
22
+ width = 24;
23
+ height = 22.968;
24
+ }
25
+ return /* @__PURE__ */ jsx("svg", { style: {
26
+ display: "inline-block"
27
+ }, width, height, viewBox: "0 0 26 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx("path", { d: "M1 9.95223L9.26911 8.58599L12.8296 1L16.6847 8.44108L25 9.48408L19.1147 15.449L20.6911 23.6799L13.199 19.9252L5.85987 23.9682L7.11465 15.6831L1 9.95223Z", fill: "white", stroke: "#7E7E7E", strokeLinecap: "round", strokeLinejoin: "round" }) });
28
+ };
29
+ const StarSVG = styled(StarSVGBase).withConfig({
30
+ displayName: "StarSVG",
31
+ componentId: "sc-iheyat-0"
32
+ })([""]);
20
33
  const getSvgPathStyles = (props) => ({
21
34
  fill: props.selected ? getObjectColor(colorObjectSelected) : props.isInHoverRange ? getHoverColor(colorBackgroundNeutral) : "transparent",
22
35
  strokeWidth: "1px",
@@ -85,22 +98,9 @@ const HiddenRadioStyled = styled.input.withConfig({
85
98
  whiteSpace: "nowrap",
86
99
  width: "1px"
87
100
  });
88
- const useStarSize = () => {
89
- const viewport = useViewport();
90
- if (viewport === viewportSm) {
91
- return {
92
- width: 24,
93
- height: 22.968
94
- };
95
- }
96
- return {
97
- width: 32,
98
- height: 30.624
99
- };
100
- };
101
101
  const Rating = ({
102
102
  value,
103
- onValueChange,
103
+ onUpdate,
104
104
  className,
105
105
  groupName,
106
106
  uid,
@@ -109,7 +109,6 @@ const Rating = ({
109
109
  }) => {
110
110
  const [internalValue, setInternalValue] = useState(value ?? 0);
111
111
  const [hoverValue, setHoverValue] = useState(null);
112
- const starSize = useStarSize();
113
112
  useEffect(() => {
114
113
  if (value !== void 0) {
115
114
  setInternalValue(value);
@@ -118,8 +117,8 @@ const Rating = ({
118
117
  const handleChange = (event) => {
119
118
  const newValue = Number(event.target.value);
120
119
  setInternalValue(newValue);
121
- if (onValueChange) {
122
- onValueChange(newValue);
120
+ if (onUpdate) {
121
+ onUpdate(newValue);
123
122
  }
124
123
  };
125
124
  const handleMouseEnter = (index) => {
@@ -131,8 +130,8 @@ const Rating = ({
131
130
  const handleClick = (starValue) => {
132
131
  if (starValue === internalValue) {
133
132
  setInternalValue(0);
134
- if (onValueChange) {
135
- onValueChange(0);
133
+ if (onUpdate) {
134
+ onUpdate(0);
136
135
  }
137
136
  }
138
137
  };
@@ -142,7 +141,7 @@ const Rating = ({
142
141
  const isInHoverRange = hoverValue !== null && starValue <= hoverValue;
143
142
  return /* @__PURE__ */ jsxs(StarLabelStyled, { selected: starValue <= internalValue, isInHoverRange, htmlFor: `${uid}-star-${starValue}`, onMouseEnter: () => handleMouseEnter(index), onMouseLeave: handleMouseLeave, "aria-label": `${starValue} von 5 Sternen`, children: [
144
143
  /* @__PURE__ */ jsx(HiddenRadioStyled, { type: "radio", id: `${uid}-star-${starValue}`, name: groupName || uid, value: starValue, checked: starValue === internalValue, onChange: handleChange, onClick: () => handleClick(starValue) }),
145
- /* @__PURE__ */ jsx(StarSVG, { width: starSize.width, height: starSize.height })
144
+ /* @__PURE__ */ jsx(StarSVG, {})
146
145
  ] }, `star-${starValue}-${uid}`);
147
146
  }) }) });
148
147
  };
@@ -2,7 +2,7 @@ import { FieldsetSharedProps } from '../Fieldset';
2
2
  /**
3
3
  * Props for the Rating component
4
4
  */
5
- export interface RatingProps extends Omit<FieldsetSharedProps, 'status' | 'errorMessage' | 'disabled'> {
5
+ export interface RatingProps extends Omit<FieldsetSharedProps, 'status' | 'errorMessage' | 'disabled' | 'helperText'> {
6
6
  /**
7
7
  * The current rating value (number of stars selected)
8
8
  */
@@ -10,7 +10,7 @@ export interface RatingProps extends Omit<FieldsetSharedProps, 'status' | 'error
10
10
  /**
11
11
  * Callback fired when the rating value changes
12
12
  */
13
- onValueChange?: (value: number) => void;
13
+ onUpdate?: (value: number) => void;
14
14
  /**
15
15
  * Optional group name to identify the rating group for accessibility
16
16
  */
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
- import { R } from "../../index-BeSd-V81.js";
4
+ import { R } from "../../index-BRs8j3Vq.js";
5
5
  export {
6
6
  R as default
7
7
  };
@@ -5,7 +5,7 @@ import { forwardRef, useState, useRef, useImperativeHandle } from "react";
5
5
  import FormHelperLabel from "../FormHelperLabel/index.js";
6
6
  import IconButton, { iconButtonShapeSquare } from "../IconButton/index.js";
7
7
  import { b as spacingNone, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
8
- import { p as primaryAppearance } from "../../styled-BSqC5P9h.js";
8
+ import { p as primaryAppearance } from "../../styled-DLS1p_AJ.js";
9
9
  import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
10
10
  import Form from "../Form/index.js";
11
11
  import styled from "styled-components";
@@ -12,7 +12,7 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
12
12
  import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
13
13
  import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
14
14
  import { g as colorBorderBrand, a as colorBorderNeutral, h as colorBorderInverse } from "../../BorderColor-BummoQ1-.js";
15
- import { f as fontWeightBold } from "../../FontWeight-CR22KTex.js";
15
+ import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
16
16
  import { c as colorObjectBrand, a as colorObjectInverse } from "../../ObjectColor-BZDBuV8H.js";
17
17
  import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
18
18
  import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { T } from "../../index-aUJfXBUI.js";
3
+ import { T } from "../../index-WLBo71sp.js";
4
4
  import "../../index-DQhtQZ85.js";
5
5
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
6
6
  export {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { a, T } from "../../index-BeSd-V81.js";
3
+ import { a, T } from "../../index-BRs8j3Vq.js";
4
4
  import "../../tags-DI6H1biK.js";
5
5
  import "../../Spacing-D0HQH9YJ.js";
6
6
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
@@ -4,7 +4,7 @@ import { useState, useRef, useEffect } from "react";
4
4
  import { createPortal } from "react-dom";
5
5
  import ButtonGroup from "../ButtonGroup/index.js";
6
6
  import Heading from "../Heading/index.js";
7
- import { f as fontWeightBold } from "../../FontWeight-CR22KTex.js";
7
+ import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
8
8
  import { a as textHeadingMd } from "../../HeadingSize-CfCRn3Lh.js";
9
9
  import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
10
10
  import styled from "styled-components";
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { iv as iconSizeSm } from "./index-Cbojl4_Q.js";
3
- import { l as leftPosition, c as ButtonIconStyled, b as buttonHeight, g as getButtonAppearance, p as primaryAppearance } from "./styled-BSqC5P9h.js";
3
+ import { l as leftPosition, c as ButtonIconStyled, b as buttonHeight, g as getButtonAppearance, p as primaryAppearance } from "./styled-DLS1p_AJ.js";
4
4
  import { r as renderInlineRichTextFromOpenText } from "./renderInlineRichTextFromOpenText-RvOG3QbI.js";
5
5
  import styled from "styled-components";
6
6
  import { getBodySize } from "./foundations/token/getBodySize/index.js";
@@ -9,7 +9,7 @@ import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js"
9
9
  import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
10
10
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
11
11
  import { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
12
- import { b as fontWeightRegular } from "./FontWeight-CR22KTex.js";
12
+ import { a as fontWeightRegular } from "./FontWeight-DEBGHbtO.js";
13
13
  import { a as spacingXs, d as spacingXl, b as spacingNone, s as spacingMd } from "./Spacing-D0HQH9YJ.js";
14
14
  import { t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
15
15
  import { f as filterProps } from "./filterProps-Cewck8OH.js";
@@ -13,7 +13,7 @@ import { getBodySize } from "./foundations/token/getBodySize/index.js";
13
13
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
14
14
  import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
15
15
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
16
- import { b as fontWeightRegular } from "./FontWeight-CR22KTex.js";
16
+ import { a as fontWeightRegular } from "./FontWeight-DEBGHbtO.js";
17
17
  import { a as textBodySm, t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
18
18
  import { f as filterProps } from "./filterProps-Cewck8OH.js";
19
19
  import { t as textHeadingXs, b as textHeadingSm, a as textHeadingMd, c as textHeadingLg, d as textHeadingXl } from "./HeadingSize-CfCRn3Lh.js";
@@ -12,7 +12,7 @@ import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
12
12
  import { getObjectColor } from "./foundations/token/getObjectColor/index.js";
13
13
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
14
14
  import { c as borderRadiusFull } from "./BorderRadius-ClUShVLu.js";
15
- import { f as fontWeightBold } from "./FontWeight-CR22KTex.js";
15
+ import { f as fontWeightBold } from "./FontWeight-DEBGHbtO.js";
16
16
  import { a as textBodySm, t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
17
17
  import { b as getForegroundColor } from "./colorUtils-BSfFfgbi.js";
18
18
  import { f as filterProps } from "./filterProps-Cewck8OH.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { iv as iconSizeSm } from "./index-Cbojl4_Q.js";
3
- import { c as ButtonIconStyled } from "./styled-BSqC5P9h.js";
3
+ import { c as ButtonIconStyled } from "./styled-DLS1p_AJ.js";
4
4
  import { r as renderInlineRichTextFromOpenText } from "./renderInlineRichTextFromOpenText-RvOG3QbI.js";
5
5
  import styled from "styled-components";
6
6
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
@@ -8,7 +8,7 @@ import { getHeadingSize } from "./foundations/token/getHeadingSize/index.js";
8
8
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
9
9
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
10
10
  import { getTextDecoration } from "./foundations/token/getTextDecoration/index.js";
11
- import { f as fontWeightBold, b as fontWeightRegular } from "./FontWeight-CR22KTex.js";
11
+ import { f as fontWeightBold, a as fontWeightRegular } from "./FontWeight-DEBGHbtO.js";
12
12
  import { s as spacingMd, b as spacingNone, a as spacingXs } from "./Spacing-D0HQH9YJ.js";
13
13
  import { g as colorTextCritical, a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
14
14
  import { f as filterProps } from "./filterProps-Cewck8OH.js";
package/dist/index.d.ts CHANGED
@@ -40,6 +40,8 @@ export * from './components/Overlay';
40
40
  export { default as Overlay } from './components/Overlay';
41
41
  export * from './components/Notification';
42
42
  export { default as Notification } from './components/Notification';
43
+ export * from './components/MediaText';
44
+ export { default as MediaText } from './components/MediaText';
43
45
  export * from './components/LoadingSpinner';
44
46
  export { default as LoadingSpinner } from './components/LoadingSpinner';
45
47
  export * from './components/LinkListItem';
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@ import { default as default2, YoutubeVideoIframeStyled, YoutubeVideoStyled } fro
2
2
  import { default as default3 } from "./components/Tray/index.js";
3
3
  import { default as default4 } from "./components/TimeInput/index.js";
4
4
  import { default as default5 } from "./components/Textarea/index.js";
5
- import { R, T, a } from "./index-BeSd-V81.js";
6
- import { P, T as T2, c, i, g, f, h, p, a as a2, e, d, b } from "./index-aUJfXBUI.js";
5
+ import { R, T, a } from "./index-BRs8j3Vq.js";
6
+ import { P, T as T2, c, i, g, f, h, p, a as a2, e, d, b } from "./index-WLBo71sp.js";
7
7
  import { default as default6 } from "./components/Switch/index.js";
8
8
  import { default as default7 } from "./components/SuggestInput/index.js";
9
9
  import { default as default8 } from "./components/Stepper/index.js";
@@ -17,60 +17,61 @@ import { default as default14 } from "./components/ProductCard/index.js";
17
17
  import { default as default15 } from "./components/PickerGroup/index.js";
18
18
  import { default as default16, overlayAppearancePrimary, overlayAppearanceSecondary } from "./components/Overlay/index.js";
19
19
  import { default as default17, notificationStatusError, notificationStatusInfo, notificationStatusSuccess, notificationStatusWarning } from "./components/Notification/index.js";
20
- import { default as default18 } from "./components/LoadingSpinner/index.js";
21
- import { default as default19, linkListItemVariantHorizontal, linkListItemVariantVertical } from "./components/LinkListItem/index.js";
22
- import { default as default20, linkListVariantColumn, linkListVariantRow } from "./components/LinkList/index.js";
23
- import { L } from "./index-C5GzK6_0.js";
24
- import { default as default21 } from "./components/Link/index.js";
25
- import { default as default22 } from "./components/Legend/index.js";
26
- import { default as default23 } from "./components/Label/index.js";
27
- import { default as default24 } from "./components/Input/index.js";
28
- import { default as default25 } from "./components/InlineLink/index.js";
29
- import { default as default26, imageHeaderPositionLeft, imageHeaderPositionRight, imageHeaderVariantFull, imageHeaderVariantSplit } from "./components/ImageHeader/index.js";
30
- import { default as default27, aspectRatio16_9, aspectRatio1_1, aspectRatio21_9, aspectRatio32_9, aspectRatio3_4, aspectRatio48_9, horizontalAlignmentCenter, horizontalAlignmentLeft, horizontalAlignmentRight, objectFitContain, objectFitCover, objectFitNone, objectPositionCenter, objectPositionLeftBottom, objectPositionLeftCenter, objectPositionLeftTop, objectPositionRightBottom, objectPositionRightCenter, objectPositionRightTop } from "./components/Image/index.js";
31
- import { default as default28 } from "./components/IconSnippetList/index.js";
32
- import { default as default29, iconSnippetAlignCenter, iconSnippetAlignTop, iconSnippetPositionCenter, iconSnippetPositionLeft, iconSnippetSize3Xl, iconSnippetSizeLarge, iconSnippetSizeSmall } from "./components/IconSnippet/index.js";
33
- import { default as default30, iconButtonShapeCircle, iconButtonShapeSquare } from "./components/IconButton/index.js";
34
- import { default as default31, iconSize5xl, iconSize6xl, iconSize7xl, iconSize8xl, iconSize9xl } from "./components/Icon/index.js";
35
- import { default as default32 } from "./components/HifiIcon/index.js";
36
- import { default as default33, headingAlignCenter, headingAlignLeft } from "./components/Heading/index.js";
37
- import { default as default34 } from "./components/GridItem/index.js";
38
- import { default as default35 } from "./components/Grid/index.js";
39
- import { default as default36 } from "./components/GoogleMap/index.js";
40
- import { default as default37, inputStatusIcons } from "./components/FormHelperStatusIcon/index.js";
41
- import { default as default38 } from "./components/FormHelperMessage/index.js";
42
- import { default as default39 } from "./components/FormHelperLabel/index.js";
43
- import { default as default40 } from "./components/FormElement/index.js";
44
- import { default as default41 } from "./components/Form/index.js";
45
- import { default as default42 } from "./components/FootnoteLink/index.js";
46
- import { default as default43 } from "./components/FootnoteContent/index.js";
47
- import { default as default44, flexItemAutoGrow, flexItemFullGrow } from "./components/FlexItem/index.js";
48
- import { default as default45 } from "./components/Flex/index.js";
49
- import { default as default46 } from "./components/FilterGroup/index.js";
50
- import { default as default47 } from "./components/Fieldset/index.js";
51
- import { default as default48 } from "./components/Divider/index.js";
52
- import { default as default49 } from "./components/DiscoveryCardGroup/index.js";
53
- import { default as default50, discoveryCardOrientationHorizontal, discoveryCardOrientationVertical } from "./components/DiscoveryCard/index.js";
54
- import { default as default51 } from "./components/Dialog/index.js";
55
- import { default as default52 } from "./components/DemoBox/index.js";
56
- import { default as default53 } from "./components/DateInput/index.js";
57
- import { default as default54, ContainerAppearanceColor } from "./components/Container/index.js";
58
- import { default as default55 } from "./components/ConsentMessage/index.js";
59
- import { default as default56 } from "./components/ColorSwatchGroup/index.js";
60
- import { default as default57, colorSwatchSizeMedium, colorSwatchSizeSmall } from "./components/ColorSwatch/index.js";
61
- import { default as default58 } from "./components/Collapsible/index.js";
62
- import { default as default59 } from "./components/CheckboxGroup/index.js";
63
- import { default as default60 } from "./components/Checkbox/index.js";
64
- import { default as default61 } from "./components/Carousel/index.js";
65
- import { default as default62 } from "./components/Card/index.js";
66
- import { default as default63 } from "./components/ButtonGroup/index.js";
67
- import { B } from "./index-C7meHOM4.js";
68
- import { default as default64, buttonAutoWidth, buttonFullWidth } from "./components/Button/index.js";
69
- import { default as default65 } from "./components/BottomBar/index.js";
70
- import { default as default66, bodyAlignCenter, bodyAlignLeft, bodyAlignRight } from "./components/Body/index.js";
71
- import { B as B2, a as a3 } from "./index-ZHkR70j3.js";
72
- import { default as default67 } from "./components/AccordionGroup/index.js";
73
- import { default as default68, accordionToggleCollapsed, accordionToggleCollapsing, accordionToggleExpanded } from "./components/Accordion/index.js";
20
+ import { default as default18, mediaTextOrientationLeft, mediaTextOrientationRight, mediaTextOrientationTop } from "./components/MediaText/index.js";
21
+ import { default as default19 } from "./components/LoadingSpinner/index.js";
22
+ import { default as default20, linkListItemVariantHorizontal, linkListItemVariantVertical } from "./components/LinkListItem/index.js";
23
+ import { default as default21, linkListVariantColumn, linkListVariantRow } from "./components/LinkList/index.js";
24
+ import { L } from "./index-DrySIh-D.js";
25
+ import { default as default22 } from "./components/Link/index.js";
26
+ import { default as default23 } from "./components/Legend/index.js";
27
+ import { default as default24 } from "./components/Label/index.js";
28
+ import { default as default25 } from "./components/Input/index.js";
29
+ import { default as default26 } from "./components/InlineLink/index.js";
30
+ import { default as default27, imageHeaderPositionLeft, imageHeaderPositionRight, imageHeaderVariantFull, imageHeaderVariantSplit } from "./components/ImageHeader/index.js";
31
+ import { default as default28, aspectRatio16_9, aspectRatio1_1, aspectRatio21_9, aspectRatio32_9, aspectRatio3_4, aspectRatio48_9, horizontalAlignmentCenter, horizontalAlignmentLeft, horizontalAlignmentRight, objectFitContain, objectFitCover, objectFitNone, objectPositionCenter, objectPositionLeftBottom, objectPositionLeftCenter, objectPositionLeftTop, objectPositionRightBottom, objectPositionRightCenter, objectPositionRightTop } from "./components/Image/index.js";
32
+ import { default as default29 } from "./components/IconSnippetList/index.js";
33
+ import { default as default30, iconSnippetAlignCenter, iconSnippetAlignTop, iconSnippetPositionCenter, iconSnippetPositionLeft, iconSnippetSize3Xl, iconSnippetSizeLarge, iconSnippetSizeSmall } from "./components/IconSnippet/index.js";
34
+ import { default as default31, iconButtonShapeCircle, iconButtonShapeSquare } from "./components/IconButton/index.js";
35
+ import { default as default32, iconSize5xl, iconSize6xl, iconSize7xl, iconSize8xl, iconSize9xl } from "./components/Icon/index.js";
36
+ import { default as default33 } from "./components/HifiIcon/index.js";
37
+ import { default as default34, headingAlignCenter, headingAlignLeft } from "./components/Heading/index.js";
38
+ import { default as default35 } from "./components/GridItem/index.js";
39
+ import { default as default36 } from "./components/Grid/index.js";
40
+ import { default as default37 } from "./components/GoogleMap/index.js";
41
+ import { default as default38, inputStatusIcons } from "./components/FormHelperStatusIcon/index.js";
42
+ import { default as default39 } from "./components/FormHelperMessage/index.js";
43
+ import { default as default40 } from "./components/FormHelperLabel/index.js";
44
+ import { default as default41 } from "./components/FormElement/index.js";
45
+ import { default as default42 } from "./components/Form/index.js";
46
+ import { default as default43 } from "./components/FootnoteLink/index.js";
47
+ import { default as default44 } from "./components/FootnoteContent/index.js";
48
+ import { default as default45, flexItemAutoGrow, flexItemFullGrow } from "./components/FlexItem/index.js";
49
+ import { default as default46 } from "./components/Flex/index.js";
50
+ import { default as default47 } from "./components/FilterGroup/index.js";
51
+ import { default as default48 } from "./components/Fieldset/index.js";
52
+ import { default as default49 } from "./components/Divider/index.js";
53
+ import { default as default50 } from "./components/DiscoveryCardGroup/index.js";
54
+ import { default as default51, discoveryCardOrientationHorizontal, discoveryCardOrientationVertical } from "./components/DiscoveryCard/index.js";
55
+ import { default as default52 } from "./components/Dialog/index.js";
56
+ import { default as default53 } from "./components/DemoBox/index.js";
57
+ import { default as default54 } from "./components/DateInput/index.js";
58
+ import { default as default55, ContainerAppearanceColor } from "./components/Container/index.js";
59
+ import { default as default56 } from "./components/ConsentMessage/index.js";
60
+ import { default as default57 } from "./components/ColorSwatchGroup/index.js";
61
+ import { default as default58, colorSwatchSizeMedium, colorSwatchSizeSmall } from "./components/ColorSwatch/index.js";
62
+ import { default as default59 } from "./components/Collapsible/index.js";
63
+ import { default as default60 } from "./components/CheckboxGroup/index.js";
64
+ import { default as default61 } from "./components/Checkbox/index.js";
65
+ import { default as default62 } from "./components/Carousel/index.js";
66
+ import { default as default63 } from "./components/Card/index.js";
67
+ import { default as default64 } from "./components/ButtonGroup/index.js";
68
+ import { B } from "./index-57IF0yrd.js";
69
+ import { default as default65, buttonAutoWidth, buttonFullWidth } from "./components/Button/index.js";
70
+ import { default as default66 } from "./components/BottomBar/index.js";
71
+ import { default as default67, bodyAlignCenter, bodyAlignLeft, bodyAlignRight } from "./components/Body/index.js";
72
+ import { B as B2, a as a3 } from "./index-CKvLGUdD.js";
73
+ import { default as default68 } from "./components/AccordionGroup/index.js";
74
+ import { default as default69, accordionToggleCollapsed, accordionToggleCollapsing, accordionToggleExpanded } from "./components/Accordion/index.js";
74
75
  import { getTextDecoration } from "./foundations/token/getTextDecoration/index.js";
75
76
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
76
77
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
@@ -101,65 +102,66 @@ import { a as a4, i as i2 } from "./props-DDpgcryb.js";
101
102
  import { e as e2, d as d2, c as c2, b as b2, f as f2, a as a5 } from "./styled-B0YKfXTz.js";
102
103
  import { C } from "./styled-CYugcGtx.js";
103
104
  export {
104
- default68 as Accordion,
105
- default67 as AccordionGroup,
105
+ default69 as Accordion,
106
+ default68 as AccordionGroup,
106
107
  B2 as Badge,
107
108
  a3 as BadgeAppearanceColor,
108
- default66 as Body,
109
- default65 as BottomBar,
110
- default64 as Button,
109
+ default67 as Body,
110
+ default66 as BottomBar,
111
+ default65 as Button,
111
112
  B as ButtonAsLink,
112
- default63 as ButtonGroup,
113
- default62 as Card,
113
+ default64 as ButtonGroup,
114
+ default63 as Card,
114
115
  C as CardAppearanceColor,
115
- default61 as Carousel,
116
- default60 as Checkbox,
117
- default59 as CheckboxGroup,
118
- default58 as Collapsible,
119
- default57 as ColorSwatch,
120
- default56 as ColorSwatchGroup,
121
- default55 as ConsentMessage,
122
- default54 as Container,
116
+ default62 as Carousel,
117
+ default61 as Checkbox,
118
+ default60 as CheckboxGroup,
119
+ default59 as Collapsible,
120
+ default58 as ColorSwatch,
121
+ default57 as ColorSwatchGroup,
122
+ default56 as ConsentMessage,
123
+ default55 as Container,
123
124
  ContainerAppearanceColor,
124
- default53 as DateInput,
125
- default52 as DemoBox,
126
- default51 as Dialog,
127
- default50 as DiscoveryCard,
128
- default49 as DiscoveryCardGroup,
129
- default48 as Divider,
130
- default47 as Fieldset,
131
- default46 as FilterGroup,
132
- default45 as Flex,
133
- default44 as FlexItem,
134
- default43 as FootnoteContent,
135
- default42 as FootnoteLink,
136
- default41 as Form,
137
- default40 as FormElement,
138
- default39 as FormHelperLabel,
139
- default38 as FormHelperMessage,
140
- default37 as FormHelperStatusIcon,
125
+ default54 as DateInput,
126
+ default53 as DemoBox,
127
+ default52 as Dialog,
128
+ default51 as DiscoveryCard,
129
+ default50 as DiscoveryCardGroup,
130
+ default49 as Divider,
131
+ default48 as Fieldset,
132
+ default47 as FilterGroup,
133
+ default46 as Flex,
134
+ default45 as FlexItem,
135
+ default44 as FootnoteContent,
136
+ default43 as FootnoteLink,
137
+ default42 as Form,
138
+ default41 as FormElement,
139
+ default40 as FormHelperLabel,
140
+ default39 as FormHelperMessage,
141
+ default38 as FormHelperStatusIcon,
141
142
  GlobalStyle,
142
- default36 as GoogleMap,
143
- default35 as Grid,
144
- default34 as GridItem,
145
- default33 as Heading,
143
+ default37 as GoogleMap,
144
+ default36 as Grid,
145
+ default35 as GridItem,
146
+ default34 as Heading,
146
147
  HiddenRadioStyled,
147
- default32 as HifiIcon,
148
- default31 as Icon,
149
- default30 as IconButton,
150
- default29 as IconSnippet,
151
- default28 as IconSnippetList,
152
- default27 as Image,
153
- default26 as ImageHeader,
154
- default25 as InlineLink,
155
- default24 as Input,
156
- default23 as Label,
157
- default22 as Legend,
158
- default21 as Link,
148
+ default33 as HifiIcon,
149
+ default32 as Icon,
150
+ default31 as IconButton,
151
+ default30 as IconSnippet,
152
+ default29 as IconSnippetList,
153
+ default28 as Image,
154
+ default27 as ImageHeader,
155
+ default26 as InlineLink,
156
+ default25 as Input,
157
+ default24 as Label,
158
+ default23 as Legend,
159
+ default22 as Link,
159
160
  L as LinkAsButton,
160
- default20 as LinkList,
161
- default19 as LinkListItem,
162
- default18 as LoadingSpinner,
161
+ default21 as LinkList,
162
+ default20 as LinkListItem,
163
+ default19 as LoadingSpinner,
164
+ default18 as MediaText,
163
165
  default17 as Notification,
164
166
  default16 as Overlay,
165
167
  default15 as PickerGroup,
@@ -266,6 +268,9 @@ export {
266
268
  linkListItemVariantVertical,
267
269
  linkListVariantColumn,
268
270
  linkListVariantRow,
271
+ mediaTextOrientationLeft,
272
+ mediaTextOrientationRight,
273
+ mediaTextOrientationTop,
269
274
  m as mediumMediaQuery,
270
275
  noReducedMotion,
271
276
  notificationStatusError,
@@ -19,7 +19,7 @@ import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
19
19
  import { getOpacity } from "./foundations/token/getOpacity/index.js";
20
20
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
21
21
  import { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
22
- import { b as fontWeightRegular } from "./FontWeight-CR22KTex.js";
22
+ import { a as fontWeightRegular } from "./FontWeight-DEBGHbtO.js";
23
23
  import { a as opacityDisabled } from "./Opacity-smkGiwsf.js";
24
24
  import { a as spacingXs, d as spacingXl, b as spacingNone, s as spacingMd } from "./Spacing-D0HQH9YJ.js";
25
25
  import { t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vodafone_de/brix-components",
3
3
  "description": "Brix is the digital design system for vodafone.de",
4
- "version": "7.0.4",
4
+ "version": "7.0.6",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
7
7
  ".": {
@@ -1,2 +0,0 @@
1
- import { CarouselState } from '../components/CarouselContext';
2
- export declare const useScrollSpy: (carouselState: CarouselState) => number;