@vodafone_de/brix-components 7.1.9 → 7.1.11

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 (146) hide show
  1. package/dist/{BorderRadius-2LdggXbQ.js → BorderRadius-ClUShVLu.js} +2 -2
  2. package/dist/{HeadingSize-CfCRn3Lh.js → HeadingSize-CqqUYZWV.js} +2 -2
  3. package/dist/{TableHead-Cfn2iQRg.js → TableHead-ogeZ901P.js} +40 -17
  4. package/dist/{TableWrapper-BrnjxwJz.js → TableWrapper-Og83COGw.js} +1 -1
  5. package/dist/components/Accordion/index.js +2 -2
  6. package/dist/components/AccordionGroup/index.js +1 -1
  7. package/dist/components/Badge/index.js +9 -5
  8. package/dist/components/Badge/props.d.ts +8 -3
  9. package/dist/components/Body/index.js +2 -2
  10. package/dist/components/BottomBar/index.js +3 -3
  11. package/dist/components/Button/index.js +2 -2
  12. package/dist/components/ButtonAsLink/index.js +2 -2
  13. package/dist/components/ButtonGroup/index.js +2 -2
  14. package/dist/components/Card/index.js +2 -2
  15. package/dist/components/Carousel/index.js +7 -7
  16. package/dist/components/Checkbox/index.js +3 -3
  17. package/dist/components/CheckboxGroup/index.js +2 -2
  18. package/dist/components/Collapsible/index.js +1 -1
  19. package/dist/components/ColorSwatch/index.js +2 -2
  20. package/dist/components/ColorSwatchGroup/index.js +3 -3
  21. package/dist/components/ConsentMessage/index.js +4 -4
  22. package/dist/components/Container/index.js +2 -2
  23. package/dist/components/DateInput/index.js +3 -2
  24. package/dist/components/DemoBox/index.js +8 -2
  25. package/dist/components/Dialog/index.js +9 -7
  26. package/dist/components/DiscoveryCard/index.js +13 -13
  27. package/dist/components/DiscoveryCard/styled.d.ts +1 -1
  28. package/dist/components/DiscoveryCardGroup/index.js +1 -1
  29. package/dist/components/Divider/index.js +1 -1
  30. package/dist/components/Fieldset/index.js +2 -1
  31. package/dist/components/FilterGroup/index.js +4 -4
  32. package/dist/components/Flex/index.js +2 -2
  33. package/dist/components/FlexItem/index.js +1 -1
  34. package/dist/components/FootnoteContent/index.js +1 -1
  35. package/dist/components/FootnoteLink/index.js +4 -52
  36. package/dist/components/Form/index.js +1 -1
  37. package/dist/components/FormElement/index.js +1 -1
  38. package/dist/components/FormHelperStatusIcon/index.js +1 -1
  39. package/dist/components/GoogleMap/index.js +3 -3
  40. package/dist/components/Grid/index.js +1 -1
  41. package/dist/components/GridItem/index.js +1 -1
  42. package/dist/components/Heading/index.js +4 -4
  43. package/dist/components/HifiIcon/index.js +1 -1
  44. package/dist/components/IconButton/index.js +4 -4
  45. package/dist/components/IconSnippet/index.js +3 -3
  46. package/dist/components/Image/index.js +39 -47
  47. package/dist/components/Image/props.d.ts +32 -35
  48. package/dist/components/Image/styled.d.ts +1 -1
  49. package/dist/components/ImageHeader/index.js +7 -7
  50. package/dist/components/ImageHeader/props.d.ts +1 -1
  51. package/dist/components/ImageHeader/styled.d.ts +1 -1
  52. package/dist/components/InfoBanner/index.js +3 -3
  53. package/dist/components/InlineIcon/index.js +1 -1
  54. package/dist/components/InlineLink/index.js +11 -12
  55. package/dist/components/Input/index.js +2 -1
  56. package/dist/components/Label/index.js +1 -1
  57. package/dist/components/Legend/index.js +12 -2
  58. package/dist/components/Link/index.js +2 -2
  59. package/dist/components/LinkAsButton/index.js +1 -1
  60. package/dist/components/LinkList/index.js +1 -1
  61. package/dist/components/LinkListItem/index.js +4 -4
  62. package/dist/components/LoadingSpinner/index.js +2 -2
  63. package/dist/components/LocalStyle/index.js +2 -2
  64. package/dist/components/MediaText/index.js +7 -7
  65. package/dist/components/Notification/index.js +4 -4
  66. package/dist/components/OpenTextFootnoteAdapter/index.js +2 -2
  67. package/dist/components/Overlay/index.js +1 -1
  68. package/dist/components/PickerGroup/index.js +6 -6
  69. package/dist/components/Price/index.js +2 -2
  70. package/dist/components/ProductCard/index.js +4 -4
  71. package/dist/components/QuickLinkList/index.js +4 -4
  72. package/dist/components/RadioGroup/index.js +2 -2
  73. package/dist/components/Rating/index.js +6 -5
  74. package/dist/components/ResponsiveImage/index.d.ts +5 -0
  75. package/dist/components/ResponsiveImage/index.js +89 -0
  76. package/dist/components/ResponsiveImage/props.d.ts +16 -0
  77. package/dist/components/ResponsiveImage/styled.d.ts +4 -0
  78. package/dist/components/RichText/index.js +1 -1
  79. package/dist/components/RichtTextContentful/index.js +2 -2
  80. package/dist/components/ScreenreaderOnly/index.js +3 -14
  81. package/dist/components/SearchInput/index.js +4 -4
  82. package/dist/components/SelectInput/index.js +4 -3
  83. package/dist/components/Stepper/index.js +3 -4
  84. package/dist/components/SuggestInput/index.js +22 -17
  85. package/dist/components/SuggestInput/props.d.ts +2 -1
  86. package/dist/components/Switch/index.js +3 -3
  87. package/dist/components/TabGroup/index.js +3 -3
  88. package/dist/components/Table/index.d.ts +1 -1
  89. package/dist/components/Table/index.js +7 -7
  90. package/dist/components/Table/props.d.ts +1 -1
  91. package/dist/components/Table/styled.d.ts +2 -0
  92. package/dist/components/TabularPrice/index.js +2 -2
  93. package/dist/components/TextList/index.js +2 -2
  94. package/dist/components/Textarea/index.js +4 -3
  95. package/dist/components/TimeInput/index.js +3 -2
  96. package/dist/components/Tray/index.js +3 -3
  97. package/dist/components/YoutubeVideo/index.js +1 -1
  98. package/dist/contentful/index.js +12 -12
  99. package/dist/contentful/live-preview-inspector/index.js +1 -1
  100. package/dist/contentful/live-preview-renderer/index.js +1 -1
  101. package/dist/contentful/renderer/index.js +1 -1
  102. package/dist/{cssVars-_wntC-Ac.js → cssVars-CR3xqdPx.js} +2 -2
  103. package/dist/filterProps-BWnAPYBL.js +17 -0
  104. package/dist/foundations/GlobalStyle/index.js +1 -1
  105. package/dist/foundations/media-query/viewport/index.js +4 -24
  106. package/dist/hooks/useViewport/index.js +2 -2
  107. package/dist/{index-tpq3BGwZ.js → index-ByPSWRQ0.js} +3 -3
  108. package/dist/index-Ck2bCrhT.js +32 -0
  109. package/dist/{index-rbdl_kyF.js → index-Cmrx-D-0.js} +5 -5
  110. package/dist/{index-BPweURE-.js → index-Cv2XdnwK.js} +9 -5
  111. package/dist/index-DSF1zGyd.js +24 -0
  112. package/dist/{index-DKCzYjXw.js → index-G2mpsxF7.js} +1 -1
  113. package/dist/index-UJLGt4uV.js +54 -0
  114. package/dist/{index-Vub90geg.js → index-tT4JzApY.js} +2 -2
  115. package/dist/index.d.ts +2 -4
  116. package/dist/index.js +94 -101
  117. package/dist/{mapContentToComponents-bL4ms1AC.js → mapContentToComponents-CbN3OD_t.js} +15 -13
  118. package/dist/{styled-DUsRG1Xh.js → styled-B1bxWqtW.js} +1 -1
  119. package/dist/{styled-CKK_LUlC.js → styled-BBG87P4U.js} +4 -4
  120. package/dist/{styled-B_ihuvyB.js → styled-BKWEE3dx.js} +1 -1
  121. package/dist/{styled-CWusLu5R.js → styled-BQGCfF-s.js} +2 -2
  122. package/dist/{styled-C6Wms75x.js → styled-BXtzJJFu.js} +1 -1
  123. package/dist/{styled-DoOOutJj.js → styled-BYYivuzh.js} +1 -1
  124. package/dist/{styled-CQLDmqmZ.js → styled-CE_Y6O4R.js} +2 -2
  125. package/dist/{styled-13a_Vk0D.js → styled-CIwf9Ebu.js} +22 -2
  126. package/dist/{styled-D57p2ktn.js → styled-Cz2kpbgE.js} +4 -4
  127. package/dist/{styled-BKmRVjNA.js → styled-DGMsuBML.js} +1 -1
  128. package/dist/{styled-Dk6VS_Sg.js → styled-Dgv3RBlg.js} +3 -3
  129. package/dist/{styled-Csv7V9ez.js → styled-Dmb8-99g.js} +1 -1
  130. package/dist/{styled-DCLv3G2j.js → styled-Dr-tPBqx.js} +1 -1
  131. package/dist/{styled-D_F38PuI.js → styled-Du4LgXoA.js} +2 -2
  132. package/dist/{styled-DG6HSLPJ.js → styled-O5mL4jlL.js} +1 -1
  133. package/dist/{styled-QLVvcMdB.js → styled-VuUKI7PE.js} +1 -1
  134. package/package.json +1 -1
  135. package/dist/breakpoint-CzBSbbY7.js +0 -9
  136. package/dist/components/ArtDirectedImage/index.d.ts +0 -5
  137. package/dist/components/ArtDirectedImage/index.js +0 -44
  138. package/dist/components/ArtDirectedImage/props.d.ts +0 -18
  139. package/dist/components/ArtDirectedImage/styled.d.ts +0 -2
  140. package/dist/filterProps-CPul3CC8.js +0 -17
  141. package/dist/hooks/useImageComponent/index.d.ts +0 -28
  142. package/dist/hooks/useImageComponent/index.js +0 -17
  143. package/dist/hooks/usePictureComponent/index.d.ts +0 -25
  144. package/dist/hooks/usePictureComponent/index.js +0 -27
  145. package/dist/screenreaderOnly-Dv2v6MAr.js +0 -11
  146. package/dist/styled-CH1kr8ZR.js +0 -14
@@ -5,7 +5,7 @@ import { getBorderWidth } from "./foundations/token/getBorderWidth/index.js";
5
5
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
6
6
  import { f as colorBorderSubtle } from "./BorderColor-CYdSW9dg.js";
7
7
  import { a as spacingMd } from "./Spacing-BMQelJYr.js";
8
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
8
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
9
9
  const DividerLineStyled = styled.hr.withConfig({
10
10
  shouldForwardProp: filterProps(),
11
11
  displayName: "DividerLineStyled",
@@ -10,11 +10,11 @@ import { getSpacing } from "./foundations/token/getSpacing/index.js";
10
10
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
11
11
  import { c as colorBackgroundNeutral, a as colorBackgroundSubtle } from "./BackgroundColor-DSOSZvNi.js";
12
12
  import { c as colorBorderFocus, a as colorBorderNeutral, b as colorBorderUnselected, d as colorBorderSuccess, e as colorBorderCritical } from "./BorderColor-CYdSW9dg.js";
13
- import { b as borderRadiusMd } from "./BorderRadius-2LdggXbQ.js";
13
+ import { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
14
14
  import { b as borderWidthUnselected } from "./BorderWidth-eg_mz82k.js";
15
15
  import { c as spacingSm, b as spacingXs } from "./Spacing-BMQelJYr.js";
16
16
  import { c as colorTextPlaceholder, a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
17
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
17
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
18
18
  const InputWrapperStyled = styled.div.withConfig({
19
19
  shouldForwardProp: filterProps(["readOnly"]),
20
20
  displayName: "InputWrapperStyled",
@@ -8,7 +8,7 @@ import { f as colorBorderSubtle } from "./BorderColor-CYdSW9dg.js";
8
8
  import { e as borderWidthDivider } from "./BorderWidth-eg_mz82k.js";
9
9
  import { d as spacingXl, a as spacingMd } from "./Spacing-BMQelJYr.js";
10
10
  import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
11
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
11
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
12
12
  import { e as colorBackgroundBrand, f as colorBackgroundBrandGradient, a as colorBackgroundSubtle, c as colorBackgroundNeutral } from "./BackgroundColor-DSOSZvNi.js";
13
13
  const ContainerAppearanceColor = {
14
14
  primary: colorBackgroundNeutral,
@@ -7,7 +7,7 @@ import { getSpacing } from "./foundations/token/getSpacing/index.js";
7
7
  import { f as fontWeightRegular } from "./FontWeight-C2pGs7aR.js";
8
8
  import { a as spacingMd, s as spacingNone } from "./Spacing-BMQelJYr.js";
9
9
  import { t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
10
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
10
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
11
11
  const TextListItemStyled = styled.li.withConfig({
12
12
  shouldForwardProp: filterProps(),
13
13
  displayName: "TextListItemStyled",
@@ -6,10 +6,10 @@ import { getBorderRadius } from "./foundations/token/getBorderRadius/index.js";
6
6
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
7
7
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
8
8
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
9
- import { b as borderRadiusMd } from "./BorderRadius-2LdggXbQ.js";
9
+ import { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
10
10
  import { a as spacingMd } from "./Spacing-BMQelJYr.js";
11
11
  import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
12
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
12
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
13
13
  import { g as getCssVar } from "./getCssVar-BP6T9pFM.js";
14
14
  import { f as colorBackgroundBrandGradient, c as colorBackgroundNeutral } from "./BackgroundColor-DSOSZvNi.js";
15
15
  const CardAppearanceColor = {
@@ -1,4 +1,5 @@
1
1
  import styled from "styled-components";
2
+ import { a as FootnoteLinkStyled } from "./index-UJLGt4uV.js";
2
3
  import forcedColors from "./foundations/media-query/forcedColors/index.js";
3
4
  import { getBodySize } from "./foundations/token/getBodySize/index.js";
4
5
  import { getBorderRadius } from "./foundations/token/getBorderRadius/index.js";
@@ -6,13 +7,13 @@ import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js"
6
7
  import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
7
8
  import { getObjectColor } from "./foundations/token/getObjectColor/index.js";
8
9
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
9
- import { a as borderRadiusFull } from "./BorderRadius-2LdggXbQ.js";
10
+ import { c as borderRadiusFull } from "./BorderRadius-ClUShVLu.js";
10
11
  import { a as fontWeightBold } from "./FontWeight-C2pGs7aR.js";
11
12
  import { s as smallSize, m as mediumSize } from "./SizeTypes-Ck_RdzIf.js";
12
13
  import { b as spacingXs, e as spacing2Xs, c as spacingSm, a as spacingMd } from "./Spacing-BMQelJYr.js";
13
14
  import { a as textBodySm, t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
14
15
  import { g as getForegroundColor } from "./colorUtils-lb0oJttx.js";
15
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
16
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
16
17
  import { e as colorObjectSuccess, c as colorObjectNeutral, f as colorObjectAccent, a as colorObjectBrand } from "./ObjectColor-0RAzLGI5.js";
17
18
  const primaryBadgeAppearance = "primary";
18
19
  const secondaryBadgeAppearance = "secondary";
@@ -64,6 +65,25 @@ const BadgeStyled = styled.span.withConfig({
64
65
  background: backgroundColor,
65
66
  color: foregroundColor
66
67
  };
68
+ }, ({
69
+ footnote
70
+ }) => {
71
+ if (!footnote) {
72
+ return {};
73
+ }
74
+ const nested = {};
75
+ const footnoteSelector = `& ${FootnoteLinkStyled.toString()}`;
76
+ const footnoteLinkSelector = `& ${FootnoteLinkStyled.toString()} a`;
77
+ nested[footnoteSelector] = {
78
+ alignSelf: "flex-start"
79
+ };
80
+ nested[footnoteLinkSelector] = {
81
+ color: "currentcolor",
82
+ "&:focus-within, &:visited, &:hover": {
83
+ color: "currentcolor"
84
+ }
85
+ };
86
+ return nested;
67
87
  }, getBottomSpacing);
68
88
  export {
69
89
  BadgeAppearanceColor as B,
@@ -1,11 +1,11 @@
1
1
  import styled from "styled-components";
2
- import { a as CardStyled } from "./styled-CQLDmqmZ.js";
3
- import { D as DemoBoxStyled } from "./styled-DCLv3G2j.js";
4
- import viewport from "./foundations/media-query/viewport/index.js";
2
+ import { a as CardStyled } from "./styled-CE_Y6O4R.js";
3
+ import { D as DemoBoxStyled } from "./styled-Dr-tPBqx.js";
4
+ import { v as viewport } from "./index-Ck2bCrhT.js";
5
5
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
6
6
  import { a as spacingMd } from "./Spacing-BMQelJYr.js";
7
7
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
8
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
8
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
9
9
  const getColumnWidth = ({
10
10
  sm,
11
11
  md,
@@ -2,7 +2,7 @@ import styled from "styled-components";
2
2
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
3
3
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
4
4
  import { a as spacingMd } from "./Spacing-BMQelJYr.js";
5
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
5
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
6
6
  const GridStyled = styled.div.withConfig({
7
7
  shouldForwardProp: filterProps(),
8
8
  displayName: "GridStyled",
@@ -1,19 +1,19 @@
1
1
  import styled from "styled-components";
2
2
  import { g as getButtonAppearance } from "./ButtonAppearanceHelper-D2SlSoU8.js";
3
3
  import { I as IconLoader } from "./index-C3dW-7e_.js";
4
- import viewport from "./foundations/media-query/viewport/index.js";
4
+ import { v as viewport } from "./index-Ck2bCrhT.js";
5
5
  import { getBodySize } from "./foundations/token/getBodySize/index.js";
6
6
  import { getBorderRadius } from "./foundations/token/getBorderRadius/index.js";
7
7
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
8
8
  import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
9
9
  import { getOpacity } from "./foundations/token/getOpacity/index.js";
10
10
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
11
- import { b as borderRadiusMd } from "./BorderRadius-2LdggXbQ.js";
11
+ import { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
12
12
  import { f as fontWeightRegular } from "./FontWeight-C2pGs7aR.js";
13
13
  import { a as opacityDisabled } from "./Opacity-smkGiwsf.js";
14
14
  import { b as spacingXs, d as spacingXl, s as spacingNone, a as spacingMd } from "./Spacing-BMQelJYr.js";
15
15
  import { t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
16
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
16
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
17
17
  const leftPosition = "left";
18
18
  const primaryAppearance = "primary";
19
19
  const tertiaryAppearance = "tertiary";
@@ -7,7 +7,7 @@ import { getTextColor } from "./foundations/token/getTextColor/index.js";
7
7
  import { a as fontWeightBold, b as fontWeightLight } from "./FontWeight-C2pGs7aR.js";
8
8
  import { b as spacingXs, c as spacingSm, a as spacingMd, g as spacingLg, d as spacingXl } from "./Spacing-BMQelJYr.js";
9
9
  import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
10
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
10
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
11
11
  const headingAlignLeft = "left";
12
12
  const headingAlignCenter = "center";
13
13
  const mapHeadingSizeToFontWeight = {
@@ -6,7 +6,7 @@ import { getTextColor } from "./foundations/token/getTextColor/index.js";
6
6
  import { g as colorBorderWarning } from "./BorderColor-CYdSW9dg.js";
7
7
  import { c as spacingSm, a as spacingMd } from "./Spacing-BMQelJYr.js";
8
8
  import { b as colorTextInverseStatic } from "./TextColor-DsntmDNw.js";
9
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
9
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
10
10
  const DemoBoxStyled = styled.div.withConfig({
11
11
  shouldForwardProp: filterProps(),
12
12
  displayName: "DemoBoxStyled",
@@ -2,7 +2,7 @@ import styled, { keyframes, css } from "styled-components";
2
2
  import Body from "./components/Body/index.js";
3
3
  import forcedColors from "./foundations/media-query/forcedColors/index.js";
4
4
  import reducedMotion from "./foundations/media-query/reducedMotion/index.js";
5
- import viewport from "./foundations/media-query/viewport/index.js";
5
+ import { v as viewport } from "./index-Ck2bCrhT.js";
6
6
  import { getBackgroundColor } from "./foundations/token/getBackgroundColor/index.js";
7
7
  import { getBodySize } from "./foundations/token/getBodySize/index.js";
8
8
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
@@ -14,7 +14,7 @@ import { b as colorBackgroundOverlay } from "./BackgroundColor-DSOSZvNi.js";
14
14
  import { o as opacityOverlay } from "./Opacity-smkGiwsf.js";
15
15
  import { l as largeSize } from "./SizeTypes-Ck_RdzIf.js";
16
16
  import { s as spacingNone } from "./Spacing-BMQelJYr.js";
17
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
17
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
18
18
  const loadingSpinnerOverlays = {
19
19
  Light: `rgba(255, 255, 255, ${getOpacity(opacityOverlay)})`,
20
20
  Dark: `rgba(38, 38, 38, ${getOpacity(opacityOverlay)})`
@@ -2,7 +2,7 @@ import styled from "styled-components";
2
2
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
3
3
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
4
4
  import { a as spacingMd, s as spacingNone } from "./Spacing-BMQelJYr.js";
5
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
5
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
6
6
  const flexOrientationHorizontal = "horizontal";
7
7
  const flexOrientationVertical = "vertical";
8
8
  const flexJustifyStart = "start";
@@ -1,6 +1,6 @@
1
1
  import require$$0 from "react";
2
2
  import styled from "styled-components";
3
- import { a as filterProps } from "./filterProps-CPul3CC8.js";
3
+ import { a as filterProps } from "./filterProps-BWnAPYBL.js";
4
4
  var richTextReactRenderer_es5 = {};
5
5
  var dist = {};
6
6
  var isPlainObj;
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.1.9",
4
+ "version": "7.1.11",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
7
7
  ".": {
@@ -1,9 +0,0 @@
1
- const breakpoint_medium_number = 768;
2
- const breakpoint_medium = `${breakpoint_medium_number}px`;
3
- const breakpoint_large_number = 1025;
4
- const breakpoint_large = `${breakpoint_large_number}px`;
5
- export {
6
- breakpoint_large as a,
7
- breakpoint_medium as b,
8
- breakpoint_medium_number as c
9
- };
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- import { ArtDirectedImageProps } from './props';
3
- declare const ArtDirectedImage: FC<ArtDirectedImageProps>;
4
- export default ArtDirectedImage;
5
- export * from './props';
@@ -1,44 +0,0 @@
1
- "use client";
2
- import { jsx } from "react/jsx-runtime";
3
- import { usePictureComponent } from "../../hooks/usePictureComponent/index.js";
4
- import styled from "styled-components";
5
- import viewport from "../../foundations/media-query/viewport/index.js";
6
- import { a as filterProps } from "../../filterProps-CPul3CC8.js";
7
- const ArtDirectedImageContainerStyled = styled.div.withConfig({
8
- shouldForwardProp: filterProps(),
9
- displayName: "ArtDirectedImageContainerStyled",
10
- componentId: "sc-1iidohy-0"
11
- })({
12
- position: "relative",
13
- "& picture > img": {
14
- position: "absolute",
15
- top: 0,
16
- left: 0,
17
- height: "100%",
18
- objectFit: "cover",
19
- width: "100%"
20
- }
21
- }, ({
22
- image,
23
- sources
24
- }) => {
25
- var _a, _b;
26
- return {
27
- aspectRatio: image.aspectRatio,
28
- ...viewport.md({
29
- aspectRatio: (_a = sources.md) == null ? void 0 : _a.aspectRatio
30
- }),
31
- ...viewport.lg({
32
- aspectRatio: (_b = sources.lg) == null ? void 0 : _b.aspectRatio
33
- })
34
- };
35
- });
36
- const ArtDirectedImage = ({
37
- ...props
38
- }) => {
39
- const PictureComponent = usePictureComponent();
40
- return /* @__PURE__ */ jsx(ArtDirectedImageContainerStyled, { ...props, children: /* @__PURE__ */ jsx(PictureComponent, { ...props }) });
41
- };
42
- export {
43
- ArtDirectedImage as default
44
- };
@@ -1,18 +0,0 @@
1
- import { HTMLAttributes, JSX } from 'react';
2
- import { AspectRatio, ImageProps } from '../Image';
3
- import { PatternProps } from '../../foundations/PatternProps';
4
- import { ViewportName } from '../../foundations/types/Viewport';
5
- export type ArtDirectedImageSourcesType = {
6
- [key in Exclude<ViewportName, 'sm'>]?: JSX.IntrinsicElements['source'] & {
7
- src: string;
8
- aspectRatio: AspectRatio;
9
- };
10
- };
11
- export interface ArtDirectedImageProps extends PatternProps, HTMLAttributes<HTMLPictureElement> {
12
- /**
13
- * Pin component's name from string to the concrete name
14
- */
15
- component?: 'ArtDirectedImage';
16
- sources: ArtDirectedImageSourcesType;
17
- image: ImageProps;
18
- }
@@ -1,2 +0,0 @@
1
- import { ArtDirectedImageProps } from './props';
2
- export declare const ArtDirectedImageContainerStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ArtDirectedImageProps>> & string;
@@ -1,17 +0,0 @@
1
- const propsNotPassToDomDefault = ["accordionType", "activeId", "activeIndex", "aspectRatio", "setActiveId", "align", "animated", "appearance", "aspectRatio", "autoLayout", "apiKey", "badge", "borderBottom", "bottomSpacing", "buttonLink", "buttons", "coloringMode", "colorSwatch", "component", "contentGridDesktopColumns", "corners", "coversFullPage", "description", "elevation", "expanded", "filterItems", "footnote", "gapSpacing", "grow", "handleOnClick", "handleOnToogle", "hasOverlay", "heading", "heightSm", "heightMd", "heightLg", "horizontalAlignment", "icon", "iconAlign", "iconName", "iconPosition", "image", "images", "internal", "isActive", "isChecked", "isDisabled", "isFullscreen", "isInHoverRange", "isLastItemInList", "isOpen", "isOrdered", "isSelected", "isTransparentBackground", "items", "jumpToClickedItem", "justify", "justifyHorizontal", "label", "lg", "loadingSpinnerChild", "mapId", "md", "message", "more", "needsBorder", "nextAriaLabel", "notificationType", "objectFit", "objectPosition", "offset", "onUpdate", "openMultiple", "orientation", "padding", "prefix", "prefixWeight", "prevAriaLabel", "price", "productId", "promoPrice", "screenReaderInstruction", "showList", "size", "sm", "sources", "spacing", "spinnerType", "status", "stretch", "strikePrice", "suffix", "tag", "textContent", "uid", "variant", "verticalPadding", "viewportHeight", "weight", "width"];
2
- const filterProps = (propsNotPassToDom = []) => {
3
- const shouldForwardProp = (prop) => {
4
- if ("string" !== typeof prop) {
5
- return false;
6
- }
7
- return ![...propsNotPassToDom, ...propsNotPassToDomDefault].includes(prop);
8
- };
9
- return shouldForwardProp;
10
- };
11
- const filterPropsForUnstyledComponent = (props) => {
12
- return Object.fromEntries(Object.entries(props).filter(([key]) => !propsNotPassToDomDefault.includes(key)));
13
- };
14
- export {
15
- filterProps as a,
16
- filterPropsForUnstyledComponent as f
17
- };
@@ -1,28 +0,0 @@
1
- import { ComponentType, JSX, ReactNode } from 'react';
2
- /**
3
- * Props of the image component.
4
- */
5
- export type ImageComponentProps = JSX.IntrinsicElements['img'];
6
- /**
7
- * Image component type.
8
- */
9
- export type ImageComponentType = ComponentType<ImageComponentProps>;
10
- /**
11
- * Default image component using `<img>`.
12
- */
13
- export declare const DefaultImage: ImageComponentType;
14
- /**
15
- * Context for providing a custom image component.
16
- */
17
- export declare const ImageContext: import('react').Context<ImageComponentType>;
18
- /**
19
- * Hook to access the current image component from context.
20
- */
21
- export declare const useImageComponent: () => ImageComponentType;
22
- /**
23
- * Provider for ImageContext
24
- */
25
- export declare const ImageProvider: ({ imageComponent, children, }: {
26
- imageComponent: ImageComponentType;
27
- children?: ReactNode;
28
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,17 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { createContext, useContext } from "react";
3
- const DefaultImage = (props) => /* @__PURE__ */ jsx("img", { ...props });
4
- const ImageContext = createContext(DefaultImage);
5
- const useImageComponent = () => useContext(ImageContext);
6
- const ImageProvider = ({
7
- imageComponent,
8
- children
9
- }) => {
10
- return /* @__PURE__ */ jsx(ImageContext, { value: imageComponent, children });
11
- };
12
- export {
13
- DefaultImage,
14
- ImageContext,
15
- ImageProvider,
16
- useImageComponent
17
- };
@@ -1,25 +0,0 @@
1
- import { ComponentType, ReactNode } from 'react';
2
- import { ArtDirectionImageProps } from '../../components/ArtDirectedImage';
3
- /**
4
- * Picture component type.
5
- */
6
- export type PictureComponentType = ComponentType<ArtDirectionImageProps>;
7
- /**
8
- * Default picture component using `<picture>`.
9
- */
10
- export declare const DefaultPicture: PictureComponentType;
11
- /**
12
- * Context for providing a custom link component.
13
- */
14
- export declare const PictureContext: import('react').Context<PictureComponentType>;
15
- /**
16
- * Hook to access the current link component from context.
17
- */
18
- export declare const usePictureComponent: () => PictureComponentType;
19
- /**
20
- * Provider for LinkContext
21
- */
22
- export declare const PictureProvider: ({ pictureComponent, children, }: {
23
- pictureComponent: PictureComponentType;
24
- children?: ReactNode;
25
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,27 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { createContext, useContext } from "react";
3
- import { a as breakpoint_large, b as breakpoint_medium } from "../../breakpoint-CzBSbbY7.js";
4
- const DefaultPicture = ({
5
- sources,
6
- image,
7
- ...props
8
- }) => /* @__PURE__ */ jsxs("picture", { ...props, children: [
9
- sources.lg && /* @__PURE__ */ jsx("source", { media: `(min-width: ${breakpoint_large})`, srcSet: sources.lg.src }),
10
- sources.md && /* @__PURE__ */ jsx("source", { media: `(min-width: ${breakpoint_medium})`, srcSet: sources.md.src }),
11
- sources.sm && /* @__PURE__ */ jsx("source", { media: `(max-width: ${breakpoint_medium})`, srcSet: sources.sm.src }),
12
- /* @__PURE__ */ jsx("img", { ...image })
13
- ] });
14
- const PictureContext = createContext(DefaultPicture);
15
- const usePictureComponent = () => useContext(PictureContext);
16
- const PictureProvider = ({
17
- pictureComponent,
18
- children
19
- }) => {
20
- return /* @__PURE__ */ jsx(PictureContext, { value: pictureComponent, children });
21
- };
22
- export {
23
- DefaultPicture,
24
- PictureContext,
25
- PictureProvider,
26
- usePictureComponent
27
- };
@@ -1,11 +0,0 @@
1
- const screenreaderOnly = {
2
- position: "absolute",
3
- left: "-10000px",
4
- top: "auto",
5
- width: "1px",
6
- height: "1px",
7
- overflow: "hidden"
8
- };
9
- export {
10
- screenreaderOnly as s
11
- };
@@ -1,14 +0,0 @@
1
- import styled from "styled-components";
2
- const LegendStyled = styled.legend.withConfig({
3
- displayName: "LegendStyled",
4
- componentId: "sc-1vyrzt5-0"
5
- })({
6
- /**
7
- * minimal hack to disable the wired position of a legend in a fieldset
8
- */
9
- all: "unset",
10
- width: "100%"
11
- });
12
- export {
13
- LegendStyled as L
14
- };