@vodafone_de/brix-components 9.0.2 → 9.0.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.
Files changed (39) hide show
  1. package/dist/components/Badge/index.js +2 -2
  2. package/dist/components/Body/index.js +1 -1
  3. package/dist/components/Carousel/index.js +29 -5
  4. package/dist/components/DiscoveryCard/index.js +5 -5
  5. package/dist/components/DiscoveryCardGroup/index.js +5 -5
  6. package/dist/components/FilterGroup/index.js +1 -1
  7. package/dist/components/FootnoteLink/index.js +2 -2
  8. package/dist/components/Form/index.js +1 -1
  9. package/dist/components/Heading/index.js +1 -1
  10. package/dist/components/IconSnippet/index.js +1 -1
  11. package/dist/components/ImageHeader/index.js +6 -5
  12. package/dist/components/Legend/index.js +1 -1
  13. package/dist/components/LinkListItem/index.js +1 -1
  14. package/dist/components/LoadingSpinner/index.js +1 -1
  15. package/dist/components/MediaText/index.js +2 -2
  16. package/dist/components/Notification/index.js +1 -1
  17. package/dist/components/OpenTextFootnoteAdapter/index.js +1 -1
  18. package/dist/components/PickerGroup/index.js +2 -2
  19. package/dist/components/Price/index.js +2 -2
  20. package/dist/components/ProductCard/index.js +2 -2
  21. package/dist/components/Rating/index.js +1 -1
  22. package/dist/components/RichText/index.js +1 -1
  23. package/dist/components/RichtTextContentful/index.js +1 -1
  24. package/dist/components/ScreenreaderOnly/index.js +1 -1
  25. package/dist/components/SuggestInput/index.js +1 -0
  26. package/dist/components/TabularPrice/index.js +2 -2
  27. package/dist/components/TextList/index.js +1 -1
  28. package/dist/contentful/live-preview-inspector/index.js +1 -1
  29. package/dist/contentful/live-preview-renderer/index.js +1 -1
  30. package/dist/contentful/renderer/index.js +1 -1
  31. package/dist/{index-DToaoQpl.js → index-BJHhIBYl.js} +1 -1
  32. package/dist/{index-CLHcudLb.js → index-C4eCcl02.js} +1 -1
  33. package/dist/{index-DubgGwxc.js → index-ClAH0TNC.js} +3 -3
  34. package/dist/{index-CfIoFAvq.js → index-DCE5HNIR.js} +7 -3
  35. package/dist/{index-GkBE6ANF.js → index-TL0X3rXH.js} +1 -1
  36. package/dist/{index-DOjE2zK8.js → index-j22agtAk.js} +1 -1
  37. package/dist/index.js +7 -7
  38. package/dist/{mapContentToComponents-CUCG09B3.js → mapContentToComponents-C_O2rRrX.js} +6 -6
  39. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import "../../index-DToaoQpl.js";
3
+ import "../../index-BJHhIBYl.js";
4
4
  import "../../IconSize-AJp7xdJi.js";
5
5
  import "../../SizeTypes-Ck_RdzIf.js";
6
6
  import "../../Spacing-8v6hcO2x.js";
7
7
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
8
- import { b, c, d, B, i, p, s, a, t, v } from "../../index-DOjE2zK8.js";
8
+ import { b, c, d, B, i, p, s, a, t, v } from "../../index-j22agtAk.js";
9
9
  export {
10
10
  b as BadgeAppearanceColor,
11
11
  c as badgeAppearances,
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
- import { F as FootnoteLink } from "../../index-DToaoQpl.js";
3
+ import { F as FootnoteLink } from "../../index-BJHhIBYl.js";
4
4
  import { b as spacingSm, s as spacingMd } from "../../Spacing-8v6hcO2x.js";
5
5
  import { t as textBodyMd, a as textBodySm } from "../../TextBodySize-BcZR9mh2.js";
6
6
  import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
@@ -9,16 +9,19 @@ import styled from "styled-components";
9
9
  import { a as CardStyled } from "../../styled-Dq0NuP5r.js";
10
10
  import { G as GridStyled } from "../../styled-BiCOjvNq.js";
11
11
  import { G as GridItemStyled } from "../../styled-0KSRG-Fv.js";
12
+ import forcedColors from "../../foundations/media-query/forcedColors/index.js";
12
13
  import viewport from "../../foundations/media-query/viewport/index.js";
13
14
  import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
15
+ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
14
16
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
15
17
  import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
16
18
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
17
19
  import { c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
20
+ import { d as borderWidthSm } from "../../BorderWidth-BjXpOdM5.js";
18
21
  import { a as colorObjectBrand, e as colorObjectUnselected } from "../../ObjectColor-DxgEnOBM.js";
19
22
  import { a as filterProps } from "../../filterProps-BJ5SpbnA.js";
20
23
  import IconButton from "../IconButton/index.js";
21
- import { S as ScreenreaderOnly } from "../../index-CfIoFAvq.js";
24
+ import { S as ScreenreaderOnly } from "../../index-DCE5HNIR.js";
22
25
  const getItems = (items, loop) => {
23
26
  const normalizedItems = [...items].map((item, index) => ({
24
27
  ...item,
@@ -206,7 +209,7 @@ const CarouselProvider = ({
206
209
  if (!carouselLayoutedAttributes) {
207
210
  return;
208
211
  }
209
- if (scrollSpyIndex) {
212
+ if (scrollSpyIndex !== void 0) {
210
213
  return;
211
214
  }
212
215
  if (focus) {
@@ -219,13 +222,26 @@ const CarouselProvider = ({
219
222
  const behavior = needsFirstPosition ? "instant" : "smooth";
220
223
  scrollTo(ref.current, left, behavior);
221
224
  }, [activeIndex, scrollSpyIndex, ref.current, carouselLayoutedAttributes]);
225
+ useEffect(() => {
226
+ if (loop || !carouselLayoutedAttributes) {
227
+ return;
228
+ }
229
+ setScrollSpyIndex(void 0);
230
+ const nonGhostCount = props.items.filter((i) => !i.ghost).length;
231
+ const maxStart = Math.max(0, nonGhostCount - carouselLayoutedAttributes.visibleItems);
232
+ setActiveIndex((prev) => prev > maxStart ? maxStart : prev);
233
+ }, [loop, carouselLayoutedAttributes == null ? void 0 : carouselLayoutedAttributes.visibleItems, props.items]);
222
234
  useEffect(() => {
223
235
  if (!props.onUpdate || !carouselLayoutedAttributes) {
224
236
  return;
225
237
  }
226
238
  const visibleIndexes = [];
227
239
  for (let i = 0, x = carouselLayoutedAttributes.visibleItems; i < x; i += 1) {
228
- visibleIndexes.push(props.items[i + activeIndex].index);
240
+ const item = props.items[i + activeIndex];
241
+ if (!item) {
242
+ break;
243
+ }
244
+ visibleIndexes.push(item.index);
229
245
  }
230
246
  props.onUpdate(visibleIndexes);
231
247
  }, [activeIndex, carouselLayoutedAttributes]);
@@ -247,7 +263,11 @@ const CarouselProvider = ({
247
263
  }
248
264
  }, [loop, activeIndex, numberOfIndicators]);
249
265
  useEffect(() => {
250
- const index = scrollSpyIndex || activeIndex;
266
+ const index = scrollSpyIndex ?? activeIndex;
267
+ const item = props.items[index];
268
+ if (!item) {
269
+ return;
270
+ }
251
271
  setActiveIndicator(props.items[index].index);
252
272
  }, [activeIndex, scrollSpyIndex]);
253
273
  return /* @__PURE__ */ jsx(CarouselContext.Provider, { value: {
@@ -404,7 +424,11 @@ const CarouselIndicatorStyled = styled.div.withConfig({
404
424
  return {
405
425
  backgroundColor: isActive ? getObjectColor(colorObjectBrand) : getObjectColor(colorObjectUnselected),
406
426
  width: isActive ? "16px" : "10px",
407
- height: isActive ? "16px" : "10px"
427
+ height: isActive ? "16px" : "10px",
428
+ ...forcedColors({
429
+ backgroundColor: isActive ? "CanvasText" : "Canvas",
430
+ border: `${getBorderWidth(borderWidthSm)} solid CanvasText`
431
+ })
408
432
  };
409
433
  });
410
434
  const CarouselIndicator = () => {
@@ -1,18 +1,18 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Fragment } from "react";
4
- import { e as BadgeStyled, i as isBadgeProps, B as Badge } from "../../index-DOjE2zK8.js";
4
+ import { e as BadgeStyled, i as isBadgeProps, B as Badge } from "../../index-j22agtAk.js";
5
5
  import Body, { isBodyProps, bodyAlignLeft, bodyAlignCenter } from "../Body/index.js";
6
6
  import Heading, { isHeadingProps } from "../Heading/index.js";
7
7
  import Link, { isLinkProps } from "../Link/index.js";
8
- import { k as isPriceProps, b as priceSizeSm, P as Price, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-GkBE6ANF.js";
9
- import { R as RichText } from "../../index-CLHcudLb.js";
8
+ import { k as isPriceProps, b as priceSizeSm, P as Price, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-TL0X3rXH.js";
9
+ import { R as RichText } from "../../index-C4eCcl02.js";
10
10
  import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
11
11
  import { b as textHeadingSm } from "../../HeadingSize-CfCRn3Lh.js";
12
12
  import { s as smallSize } from "../../SizeTypes-Ck_RdzIf.js";
13
13
  import { s as spacingMd, c as spacingNone, a as spacingXs, b as spacingSm } from "../../Spacing-8v6hcO2x.js";
14
- import "../../index-CfIoFAvq.js";
15
- import "../../index-DToaoQpl.js";
14
+ import "../../index-DCE5HNIR.js";
15
+ import "../../index-BJHhIBYl.js";
16
16
  import "html-react-parser";
17
17
  import "../../styled-7vJ7mrAA.js";
18
18
  import { a as LinkStyled } from "../../index-CEotMXpL.js";
@@ -8,19 +8,19 @@ import { a as LinkStyled } from "../../index-CEotMXpL.js";
8
8
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
9
9
  import { s as spacingMd } from "../../Spacing-8v6hcO2x.js";
10
10
  import "react";
11
- import "../../index-CfIoFAvq.js";
12
- import "../../index-DToaoQpl.js";
11
+ import "../../index-DCE5HNIR.js";
12
+ import "../../index-BJHhIBYl.js";
13
13
  import "html-react-parser";
14
- import "../../index-DOjE2zK8.js";
14
+ import "../../index-j22agtAk.js";
15
15
  import { i as isObject, h as hasMatchingComponentName } from "../../isObject-BYBrvoVW.js";
16
16
  import "../Body/index.js";
17
17
  import "../Heading/index.js";
18
18
  import "../../styled-7vJ7mrAA.js";
19
19
  import "../../hooks/useLinkComponent/index.js";
20
- import "../../index-GkBE6ANF.js";
20
+ import "../../index-TL0X3rXH.js";
21
21
  import "../InlineLink/index.js";
22
22
  import "../../TableWrapper-Do9KCTGV.js";
23
- import "../../index-CLHcudLb.js";
23
+ import "../../index-C4eCcl02.js";
24
24
  import "../Image/index.js";
25
25
  const DiscoveryCardGroupGridStyled = styled(Grid).withConfig({
26
26
  displayName: "DiscoveryCardGroupGridStyled",
@@ -5,7 +5,7 @@ import Fieldset from "../Fieldset/index.js";
5
5
  import { i as iconSizeSm } from "../../IconSize-AJp7xdJi.js";
6
6
  import styled from "styled-components";
7
7
  import { I as IconLoader } from "../../index--RjkzZm0.js";
8
- import { s as screenreaderOnly } from "../../index-CfIoFAvq.js";
8
+ import { s as screenreaderOnly } from "../../index-DCE5HNIR.js";
9
9
  import forcedColors from "../../foundations/media-query/forcedColors/index.js";
10
10
  import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
11
11
  import { getBodySize } from "../../foundations/token/getBodySize/index.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import "../../index-CfIoFAvq.js";
4
- import { F } from "../../index-DToaoQpl.js";
3
+ import "../../index-DCE5HNIR.js";
4
+ import { F } from "../../index-BJHhIBYl.js";
5
5
  export {
6
6
  F as default
7
7
  };
@@ -4,7 +4,7 @@ import Body from "../Body/index.js";
4
4
  import ButtonGroup from "../ButtonGroup/index.js";
5
5
  import Heading from "../Heading/index.js";
6
6
  import IconSnippet from "../IconSnippet/index.js";
7
- import { R as RichText } from "../../index-CLHcudLb.js";
7
+ import { R as RichText } from "../../index-C4eCcl02.js";
8
8
  import { c as spacingNone } from "../../Spacing-8v6hcO2x.js";
9
9
  import styled from "styled-components";
10
10
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
- import { F as FootnoteLink } from "../../index-DToaoQpl.js";
3
+ import { F as FootnoteLink } from "../../index-BJHhIBYl.js";
4
4
  import { a as spacingXs, b as spacingSm, s as spacingMd, g as spacingLg, e as spacingXl } from "../../Spacing-8v6hcO2x.js";
5
5
  import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
6
6
  import styled from "styled-components";
@@ -4,7 +4,7 @@ import Body from "../Body/index.js";
4
4
  import Heading from "../Heading/index.js";
5
5
  import InlineLink from "../InlineLink/index.js";
6
6
  import Link from "../Link/index.js";
7
- import { R as RichText } from "../../index-CLHcudLb.js";
7
+ import { R as RichText } from "../../index-C4eCcl02.js";
8
8
  import { d as divTagName, c as spanTagName } from "../../tags-D7CRQqc1.js";
9
9
  import { a as iconSizeLg, f as iconSize3xl, i as iconSizeSm } from "../../IconSize-AJp7xdJi.js";
10
10
  import { b as spacingSm, s as spacingMd, c as spacingNone, a as spacingXs } from "../../Spacing-8v6hcO2x.js";
@@ -4,14 +4,15 @@ import Body from "../Body/index.js";
4
4
  import Button from "../Button/index.js";
5
5
  import Container from "../Container/index.js";
6
6
  import Heading, { headingAlignCenter } from "../Heading/index.js";
7
- import { P as Price, b as priceSizeSm } from "../../index-GkBE6ANF.js";
8
- import { R as RichText } from "../../index-CLHcudLb.js";
7
+ import { P as Price, b as priceSizeSm } from "../../index-TL0X3rXH.js";
8
+ import { R as RichText } from "../../index-C4eCcl02.js";
9
9
  import { b as fontWeightLight } from "../../FontWeight-DEBGHbtO.js";
10
10
  import { m as mediumSize } from "../../SizeTypes-Ck_RdzIf.js";
11
11
  import { s as spacingMd, b as spacingSm, e as spacingXl, a as spacingXs, f as spacing2Xs, c as spacingNone } from "../../Spacing-8v6hcO2x.js";
12
12
  import styled from "styled-components";
13
- import { B as Badge } from "../../index-DOjE2zK8.js";
13
+ import { B as Badge } from "../../index-j22agtAk.js";
14
14
  import ButtonGroup from "../ButtonGroup/index.js";
15
+ import { a as flexOrientationVertical } from "../../styled-BxkvYuWW.js";
15
16
  import Grid from "../Grid/index.js";
16
17
  import GridItem from "../GridItem/index.js";
17
18
  import ResponsiveImage from "../ResponsiveImage/index.js";
@@ -21,7 +22,6 @@ import { getBodySize } from "../../foundations/token/getBodySize/index.js";
21
22
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
22
23
  import { b as colorBackgroundOverlay } from "../../BackgroundColor-e0N9tdDR.js";
23
24
  import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
24
- import { a as flexOrientationVertical } from "../../styled-BxkvYuWW.js";
25
25
  import { i as isObject, h as hasMatchingComponentName } from "../../isObject-BYBrvoVW.js";
26
26
  const imageHeaderVariantFull = "full";
27
27
  const imageHeaderVariantSplit = "split";
@@ -40,7 +40,8 @@ const ImageHeaderStyled = styled(Grid).withConfig({
40
40
  marginLeft: `calc(-1 * ${getSpacing(spacingMd)})`,
41
41
  ...viewport.lg({
42
42
  width: "100%",
43
- margin: "0 auto"
43
+ marginRight: "auto",
44
+ marginLeft: "auto"
44
45
  })
45
46
  }, ({
46
47
  position,
@@ -3,7 +3,7 @@ import { jsx, Fragment } from "react/jsx-runtime";
3
3
  import Body from "../Body/index.js";
4
4
  import Heading from "../Heading/index.js";
5
5
  import IconSnippet, { iconSnippetAlignCenter } from "../IconSnippet/index.js";
6
- import { R as RichText } from "../../index-CLHcudLb.js";
6
+ import { R as RichText } from "../../index-C4eCcl02.js";
7
7
  import styled from "styled-components";
8
8
  const LegendStyled = styled.legend.withConfig({
9
9
  displayName: "LegendStyled",
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
- import { B as Badge } from "../../index-DOjE2zK8.js";
3
+ import { B as Badge } from "../../index-j22agtAk.js";
4
4
  import { I as IconLoader } from "../../index--RjkzZm0.js";
5
5
  import { c as spanTagName } from "../../tags-D7CRQqc1.js";
6
6
  import { c as iconSizeMd } from "../../IconSize-AJp7xdJi.js";
@@ -2,7 +2,7 @@
2
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
3
  import { useState, useEffect } from "react";
4
4
  import { createPortal } from "react-dom";
5
- import { S as ScreenreaderOnly } from "../../index-CfIoFAvq.js";
5
+ import { S as ScreenreaderOnly } from "../../index-DCE5HNIR.js";
6
6
  import { L as LoadingSpinnerSVGStyled, a as LoadingSpinnerPathXsStyled, b as LoadingSpinnerPathOuter3Styled, c as LoadingSpinnerPathOuter2Styled, d as LoadingSpinnerPathOuter1Styled, e as LoadingSpinnerPathCenterStyled, f as LoadingSpinnerContainerStyled, g as LoadingSpinnerContentStyled, h as LoadingSpinnerLabelStyled, i as LoadingSpinnerChildrenStyled } from "../../styled-BBXC0aka.js";
7
7
  const LoadingSpinnerSVG = ({
8
8
  size = "lg",
@@ -6,7 +6,7 @@ import "../FlexItem/index.js";
6
6
  import "../Heading/index.js";
7
7
  import "../Image/index.js";
8
8
  import "../Link/index.js";
9
- import "../../index-CLHcudLb.js";
9
+ import "../../index-C4eCcl02.js";
10
10
  import "../RichtTextContentful/index.js";
11
11
  import "../YoutubeVideo/index.js";
12
12
  import "../../tags-D7CRQqc1.js";
@@ -14,7 +14,7 @@ import "../../FontWeight-DEBGHbtO.js";
14
14
  import "../../HeadingSize-CfCRn3Lh.js";
15
15
  import "../../Spacing-8v6hcO2x.js";
16
16
  import "../../hooks/useViewport/index.js";
17
- import { M, i, a, b, m, c, v } from "../../index-DubgGwxc.js";
17
+ import { M, i, a, b, m, c, v } from "../../index-ClAH0TNC.js";
18
18
  import "../../styled-BxkvYuWW.js";
19
19
  import "../../validate-DYmFz2FF.js";
20
20
  export {
@@ -7,7 +7,7 @@ import Flex from "../Flex/index.js";
7
7
  import Heading from "../Heading/index.js";
8
8
  import { I as IconLoader } from "../../index--RjkzZm0.js";
9
9
  import Link from "../Link/index.js";
10
- import { R as RichText } from "../../index-CLHcudLb.js";
10
+ import { R as RichText } from "../../index-C4eCcl02.js";
11
11
  import { i as iconSizeSm } from "../../IconSize-AJp7xdJi.js";
12
12
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
13
13
  import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
@@ -5,7 +5,7 @@ import AccordionGroup from "../AccordionGroup/index.js";
5
5
  import Container from "../Container/index.js";
6
6
  import FootnoteContent from "../FootnoteContent/index.js";
7
7
  import Heading from "../Heading/index.js";
8
- import { R as RichText } from "../../index-CLHcudLb.js";
8
+ import { R as RichText } from "../../index-C4eCcl02.js";
9
9
  import { b as textHeadingSm, c as textHeadingLg } from "../../HeadingSize-CfCRn3Lh.js";
10
10
  import { h as h3TagName } from "../../tags-D7CRQqc1.js";
11
11
  const getFootnoteContent = (content, footnoteContentBacklinkText) => {
@@ -5,7 +5,7 @@ import { a as inputStateError } from "../../props-DDpgcryb.js";
5
5
  import { f as spacing2Xs, s as spacingMd, b as spacingSm, c as spacingNone } from "../../Spacing-8v6hcO2x.js";
6
6
  import { useState, useEffect } from "react";
7
7
  import Grid from "../Grid/index.js";
8
- import { B as Badge } from "../../index-DOjE2zK8.js";
8
+ import { B as Badge } from "../../index-j22agtAk.js";
9
9
  import ColorSwatch from "../ColorSwatch/index.js";
10
10
  import { c as iconSizeMd } from "../../IconSize-AJp7xdJi.js";
11
11
  import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
@@ -15,7 +15,7 @@ import { m as aspectRatio1_1 } from "../../validate-DYmFz2FF.js";
15
15
  import Image from "../Image/index.js";
16
16
  import viewport from "../../foundations/media-query/viewport/index.js";
17
17
  import GridItem from "../GridItem/index.js";
18
- import { s as screenreaderOnly } from "../../index-CfIoFAvq.js";
18
+ import { s as screenreaderOnly } from "../../index-DCE5HNIR.js";
19
19
  import forcedColors from "../../foundations/media-query/forcedColors/index.js";
20
20
  import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
21
21
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import "../../index-CfIoFAvq.js";
4
- import { c, P, k, g, f, j, p, a, i, e, d, b, h, v } from "../../index-GkBE6ANF.js";
3
+ import "../../index-DCE5HNIR.js";
4
+ import { c, P, k, g, f, j, p, a, i, e, d, b, h, v } from "../../index-TL0X3rXH.js";
5
5
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
6
6
  export {
7
7
  c as createScreenReaderText,
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import { createElement } from "react";
4
- import { B as Badge } from "../../index-DOjE2zK8.js";
4
+ import { B as Badge } from "../../index-j22agtAk.js";
5
5
  import Body from "../Body/index.js";
6
6
  import ColorSwatchGroup from "../ColorSwatchGroup/index.js";
7
7
  import Heading, { headingAlignCenter } from "../Heading/index.js";
8
8
  import { m as aspectRatio1_1 } from "../../validate-DYmFz2FF.js";
9
9
  import Link from "../Link/index.js";
10
- import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-GkBE6ANF.js";
10
+ import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-TL0X3rXH.js";
11
11
  import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
12
12
  import { a as textHeadingMd } from "../../HeadingSize-CfCRn3Lh.js";
13
13
  import { a as iconSizeLg } from "../../IconSize-AJp7xdJi.js";
@@ -5,7 +5,7 @@ import Legend from "../Legend/index.js";
5
5
  import styled from "styled-components";
6
6
  import viewport from "../../foundations/media-query/viewport/index.js";
7
7
  import { a as filterProps } from "../../filterProps-BJ5SpbnA.js";
8
- import { s as screenreaderOnly } from "../../index-CfIoFAvq.js";
8
+ import { s as screenreaderOnly } from "../../index-DCE5HNIR.js";
9
9
  import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
10
10
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
11
11
  import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
- import { R } from "../../index-CLHcudLb.js";
4
+ import { R } from "../../index-C4eCcl02.js";
5
5
  export {
6
6
  R as default
7
7
  };
@@ -5,7 +5,7 @@ import Body from "../Body/index.js";
5
5
  import Divider from "../Divider/index.js";
6
6
  import Heading from "../Heading/index.js";
7
7
  import InlineLink from "../InlineLink/index.js";
8
- import { a as TextListItem, T as TextList } from "../../index-CLHcudLb.js";
8
+ import { a as TextListItem, T as TextList } from "../../index-C4eCcl02.js";
9
9
  import styled from "styled-components";
10
10
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
11
11
  import { a as filterProps } from "../../filterProps-BJ5SpbnA.js";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { S } from "../../index-CfIoFAvq.js";
3
+ import { S } from "../../index-DCE5HNIR.js";
4
4
  export {
5
5
  S as default
6
6
  };
@@ -388,6 +388,7 @@ const SuggestInput = forwardRef(({
388
388
  /* @__PURE__ */ jsx(FormHelperMessage, { id: messageId, status, message: inputStateError === status ? errorMessage : helperText })
389
389
  ] });
390
390
  });
391
+ SuggestInput.displayName = "SuggestInput";
391
392
  export {
392
393
  SuggestInput as default
393
394
  };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { T } from "../../index-GkBE6ANF.js";
4
- import "../../index-CfIoFAvq.js";
3
+ import { T } from "../../index-TL0X3rXH.js";
4
+ import "../../index-DCE5HNIR.js";
5
5
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
6
6
  export {
7
7
  T as default
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { a, T } from "../../index-CLHcudLb.js";
3
+ import { a, T } from "../../index-C4eCcl02.js";
4
4
  import "../../tags-D7CRQqc1.js";
5
5
  import "../../Spacing-8v6hcO2x.js";
6
6
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
3
  import "@contentful/live-preview/react";
4
- import { L } from "../../mapContentToComponents-CUCG09B3.js";
4
+ import { L } from "../../mapContentToComponents-C_O2rRrX.js";
5
5
  export {
6
6
  L as LivePreviewInspector
7
7
  };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, Fragment } from "react/jsx-runtime";
3
3
  import { useContentfulLiveUpdates, ContentfulLivePreviewProvider } from "@contentful/live-preview/react";
4
- import { m as mapContentToComponents } from "../../mapContentToComponents-CUCG09B3.js";
4
+ import { m as mapContentToComponents } from "../../mapContentToComponents-C_O2rRrX.js";
5
5
  const BrixLiveRendererComponents = ({
6
6
  data
7
7
  }) => {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, Fragment } from "react/jsx-runtime";
3
3
  import LivePreviewRenderer from "../live-preview-renderer/index.js";
4
- import { m as mapContentToComponents } from "../../mapContentToComponents-CUCG09B3.js";
4
+ import { m as mapContentToComponents } from "../../mapContentToComponents-C_O2rRrX.js";
5
5
  const Renderer = ({
6
6
  content,
7
7
  isDraftMode
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { S as ScreenreaderOnly } from "./index-CfIoFAvq.js";
2
+ import { S as ScreenreaderOnly } from "./index-DCE5HNIR.js";
3
3
  import styled from "styled-components";
4
4
  import InlineLink from "./components/InlineLink/index.js";
5
5
  import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
@@ -2,7 +2,7 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { cloneElement } from "react";
3
3
  import parse, { Element, domToReact } from "html-react-parser";
4
4
  import Body from "./components/Body/index.js";
5
- import { F as FootnoteLink } from "./index-DToaoQpl.js";
5
+ import { F as FootnoteLink } from "./index-BJHhIBYl.js";
6
6
  import Heading from "./components/Heading/index.js";
7
7
  import InlineLink from "./components/InlineLink/index.js";
8
8
  import { T as TableWrapper, e as TableHead, a as TableBody, d as TableFoot } from "./TableWrapper-Do9KCTGV.js";
@@ -5,7 +5,7 @@ import FlexItem from "./components/FlexItem/index.js";
5
5
  import Heading, { isHeadingProps, headingAlignLeft } from "./components/Heading/index.js";
6
6
  import Image from "./components/Image/index.js";
7
7
  import Link, { isLinkProps } from "./components/Link/index.js";
8
- import { R as RichText } from "./index-CLHcudLb.js";
8
+ import { R as RichText } from "./index-C4eCcl02.js";
9
9
  import RichTextContentful from "./components/RichtTextContentful/index.js";
10
10
  import YoutubeVideo from "./components/YoutubeVideo/index.js";
11
11
  import { r as pTagName, u as ulTagName, d as divTagName, l as liTagName } from "./tags-D7CRQqc1.js";
@@ -18,8 +18,8 @@ import viewport from "./foundations/media-query/viewport/index.js";
18
18
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
19
19
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
20
20
  import { a as filterProps } from "./filterProps-BJ5SpbnA.js";
21
- import "./index-CfIoFAvq.js";
22
- import "./index-DToaoQpl.js";
21
+ import "./index-DCE5HNIR.js";
22
+ import "./index-BJHhIBYl.js";
23
23
  import "html-react-parser";
24
24
  import "./hooks/useLinkComponent/index.js";
25
25
  import { z as isImageProps, p as aspectRatio16_9 } from "./validate-DYmFz2FF.js";
@@ -3,11 +3,15 @@ import styled from "styled-components";
3
3
  import { a as filterProps } from "./filterProps-BJ5SpbnA.js";
4
4
  const screenreaderOnly = {
5
5
  position: "absolute",
6
- left: "-10000px",
7
- top: "auto",
8
6
  width: "1px",
9
7
  height: "1px",
10
- overflow: "hidden"
8
+ padding: "0",
9
+ margin: "-1px",
10
+ overflow: "hidden",
11
+ clip: "rect(0, 0, 0, 0)",
12
+ clipPath: "inset(50%)",
13
+ whiteSpace: "nowrap",
14
+ border: "0"
11
15
  };
12
16
  const ScreenReaderOnlyStyled = styled.span.withConfig({
13
17
  shouldForwardProp: filterProps(),
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { S as ScreenreaderOnly } from "./index-CfIoFAvq.js";
2
+ import { S as ScreenreaderOnly } from "./index-DCE5HNIR.js";
3
3
  import styled from "styled-components";
4
4
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
5
5
  import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { a as FootnoteLinkStyled, F as FootnoteLink } from "./index-DToaoQpl.js";
2
+ import { a as FootnoteLinkStyled, F as FootnoteLink } from "./index-BJHhIBYl.js";
3
3
  import { n as iconSizeXs, i as iconSizeSm } from "./IconSize-AJp7xdJi.js";
4
4
  import { s as smallSize, m as mediumSize } from "./SizeTypes-Ck_RdzIf.js";
5
5
  import { f as spacing2Xs, b as spacingSm, s as spacingMd, a as spacingXs } from "./Spacing-8v6hcO2x.js";
package/dist/index.js CHANGED
@@ -5,8 +5,8 @@ import { default as default5 } from "./components/ToggleButtonProvider/index.js"
5
5
  import { default as default6 } from "./components/ToggleButton/index.js";
6
6
  import { default as default7 } from "./components/TimeInput/index.js";
7
7
  import { default as default8 } from "./components/Textarea/index.js";
8
- import { R, T, a } from "./index-CLHcudLb.js";
9
- import { P, T as T2, c, k, g, f, j, p, a as a2, i, e, d, b, h, v } from "./index-GkBE6ANF.js";
8
+ import { R, T, a } from "./index-C4eCcl02.js";
9
+ import { P, T as T2, c, k, g, f, j, p, a as a2, i, e, d, b, h, v } from "./index-TL0X3rXH.js";
10
10
  import { T as T3, a as a3, b as b2, c as c2, d as d2, e as e2, f as f2, T as T4 } from "./TableWrapper-Do9KCTGV.js";
11
11
  import { PanelStyled, default as default9, TabGroupContainerStyled, TabGroupIndicatorStyled, TabGroupTabsScrollableContainerStyled, TabGroupTabsStyled, TabLabelStyled, TabStyled, iconPositionLeft, iconPositionTop, tabGroupWidthAuto, tabGroupWidthFull } from "./components/TabGroup/index.js";
12
12
  import { default as default10 } from "./components/Switch/index.js";
@@ -15,7 +15,7 @@ import { default as default12 } from "./components/Stepper/index.js";
15
15
  import { default as default13 } from "./components/SmoothScrollArea/index.js";
16
16
  import { default as default14 } from "./components/SelectInput/index.js";
17
17
  import { default as default15 } from "./components/SearchInput/index.js";
18
- import { S } from "./index-CfIoFAvq.js";
18
+ import { S } from "./index-DCE5HNIR.js";
19
19
  import { default as default16 } from "./components/RichtTextContentful/index.js";
20
20
  import { default as default17, isResponsiveImageProps, validateResponsiveImageProps } from "./components/ResponsiveImage/index.js";
21
21
  import { HiddenRadioStyled, default as default18, RatingFieldsetStyled, StarLabelStyled, StarsWrapperStyled } from "./components/Rating/index.js";
@@ -26,7 +26,7 @@ import { default as default22 } from "./components/PickerGroup/index.js";
26
26
  import { default as default23, overlayAppearancePrimary, overlayAppearanceSecondary } from "./components/Overlay/index.js";
27
27
  import { default as default24 } from "./components/OpenTextFootnoteAdapter/index.js";
28
28
  import { default as default25, notificationStatusError, notificationStatusInfo, notificationStatusSuccess, notificationStatusWarning } from "./components/Notification/index.js";
29
- import { M, i as i2, a as a4, b as b3, m, c as c3, v as v2 } from "./index-DubgGwxc.js";
29
+ import { M, i as i2, a as a4, b as b3, m, c as c3, v as v2 } from "./index-ClAH0TNC.js";
30
30
  import { default as default26 } from "./components/LocalStyle/index.js";
31
31
  import { default as default27 } from "./components/LoadingSpinner/index.js";
32
32
  import { default as default28, linkListItemVariantHorizontal, linkListItemVariantVertical } from "./components/LinkListItem/index.js";
@@ -56,7 +56,7 @@ import { default as default49 } from "./components/FormHelperMessage/index.js";
56
56
  import { default as default50 } from "./components/FormHelperLabel/index.js";
57
57
  import { default as default51 } from "./components/FormElement/index.js";
58
58
  import { default as default52 } from "./components/Form/index.js";
59
- import { F } from "./index-DToaoQpl.js";
59
+ import { F } from "./index-BJHhIBYl.js";
60
60
  import { default as default53 } from "./components/FootnoteContent/index.js";
61
61
  import { default as default54, flexItemAutoGrow, flexItemFullGrow } from "./components/FlexItem/index.js";
62
62
  import { default as default55 } from "./components/Flex/index.js";
@@ -84,7 +84,7 @@ import { B, c as c4, a as a6, b as b4, d as d3, i as i5, f as f3, v as v5, e as
84
84
  import { default as default76 } from "./components/Button/index.js";
85
85
  import { default as default77 } from "./components/BottomBar/index.js";
86
86
  import { default as default78, bodyAlignCenter, bodyAlignLeft, bodyAlignRight, bodyAligns, bodySizes, bodyTags, bodyWeights, isBodyProps, validateBodyProps } from "./components/Body/index.js";
87
- import { B as B2, b as b5, c as c5, d as d4, i as i6, p as p2, s, a as a7, t, v as v6 } from "./index-DOjE2zK8.js";
87
+ import { B as B2, b as b5, c as c5, d as d4, i as i6, p as p2, s, a as a7, t, v as v6 } from "./index-j22agtAk.js";
88
88
  import { default as default79, isAccordionGroupProps, validateAccordionGroupProps } from "./components/AccordionGroup/index.js";
89
89
  import { default as default80, accordionToggleCollapsed, accordionToggleCollapsing, accordionToggleExpanded, isAccordionProps, validateAccordionProps } from "./components/Accordion/index.js";
90
90
  import { getTextDecoration } from "./foundations/token/getTextDecoration/index.js";
@@ -116,7 +116,7 @@ import { useForcedColors } from "./hooks/useForcedColors/index.js";
116
116
  import { useFocusWithin } from "./hooks/useFocusWithin/index.js";
117
117
  import "react/jsx-runtime";
118
118
  import "@contentful/live-preview/react";
119
- import { L as L2 } from "./mapContentToComponents-CUCG09B3.js";
119
+ import { L as L2 } from "./mapContentToComponents-C_O2rRrX.js";
120
120
  import { a as a8, i as i7 } from "./props-DDpgcryb.js";
121
121
  import { p as p3, m as m2, q, r, s as s2, n, t as t2, x, d as d5, h as h2, c as c6, w, z, o, a as a9, b as b6, u, e as e4, i as i8, g as g2, f as f4, l, k as k2, j as j2, v as v7, y } from "./validate-DYmFz2FF.js";
122
122
  import { e as e5, d as d6, c as c7, b as b7, f as f5, a as a10 } from "./styled-BxkvYuWW.js";
@@ -1,6 +1,6 @@
1
1
  import Accordion, { isAccordionProps } from "./components/Accordion/index.js";
2
2
  import AccordionGroup, { isAccordionGroupProps } from "./components/AccordionGroup/index.js";
3
- import { i as isBadgeProps, B as Badge } from "./index-DOjE2zK8.js";
3
+ import { i as isBadgeProps, B as Badge } from "./index-j22agtAk.js";
4
4
  import Body, { isBodyProps } from "./components/Body/index.js";
5
5
  import Button from "./components/Button/index.js";
6
6
  import { i as isButtonAsLinkProps, f as isButtonProps, B as ButtonAsLink } from "./validate-Dlzxlfzp.js";
@@ -23,8 +23,8 @@ import ImageHeader, { isImageHeaderProps } from "./components/ImageHeader/index.
23
23
  import Link, { isLinkProps } from "./components/Link/index.js";
24
24
  import { i as isLinkAsButtonProps, L as LinkAsButton } from "./index-CEotMXpL.js";
25
25
  import LinkList, { linkListVariantRow, linkListVariantColumn } from "./components/LinkList/index.js";
26
- import { d as isConsentMessageProps, e as isRichTextContentfulProps, f as isYoutubeVideoProps, i as isMediaTextProps, M as MediaText } from "./index-DubgGwxc.js";
27
- import { k as isPriceProps, P as Price } from "./index-GkBE6ANF.js";
26
+ import { d as isConsentMessageProps, e as isRichTextContentfulProps, f as isYoutubeVideoProps, i as isMediaTextProps, M as MediaText } from "./index-ClAH0TNC.js";
27
+ import { k as isPriceProps, P as Price } from "./index-TL0X3rXH.js";
28
28
  import ResponsiveImage, { isResponsiveImageProps } from "./components/ResponsiveImage/index.js";
29
29
  import RichTextContentful from "./components/RichtTextContentful/index.js";
30
30
  import YoutubeVideo from "./components/YoutubeVideo/index.js";
@@ -37,8 +37,8 @@ import "html-react-parser";
37
37
  import { a as cornerRounded, c as cornerStraight } from "./CornerStyle-JEbGNArR.js";
38
38
  import { z as isImageProps } from "./validate-DYmFz2FF.js";
39
39
  import { linkListItemVariantVertical, linkListItemVariantHorizontal } from "./components/LinkListItem/index.js";
40
- import "./index-CfIoFAvq.js";
41
- import "./index-DToaoQpl.js";
40
+ import "./index-DCE5HNIR.js";
41
+ import "./index-BJHhIBYl.js";
42
42
  import "./NotificationErrorIcon-DMnAJgPN.js";
43
43
  import "react";
44
44
  import "./components/Collapsible/index.js";
@@ -47,7 +47,7 @@ import "./components/FlexItem/index.js";
47
47
  import "./styled-Dq0NuP5r.js";
48
48
  import "./components/InlineLink/index.js";
49
49
  import "./TableWrapper-Do9KCTGV.js";
50
- import "./index-CLHcudLb.js";
50
+ import "./index-C4eCcl02.js";
51
51
  import "./styled-0KSRG-Fv.js";
52
52
  const validateLegibleContent = (check) => {
53
53
  var _a, _b, _c, _d;
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": "9.0.2",
4
+ "version": "9.0.3",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
7
7
  ".": {