@vodafone_de/brix-components 17.1.2 → 18.0.0

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 (224) hide show
  1. package/dist/{BorderRadius-Co-IV3fn.js → BorderRadius-0jhn76gB.js} +2 -2
  2. package/dist/{BorderWidth-OZWeXaq_.js → BorderWidth-CwrNKc0Q.js} +2 -2
  3. package/dist/ButtonAppearanceHelper-3qIbHGWJ.js +102 -0
  4. package/dist/CornerStyle-n77nckhh.js +7 -0
  5. package/dist/{colorUtils-CfSj2Iqa.js → colorUtils-c9PiZEci.js} +1 -1
  6. package/dist/components/Accordion/index.js +8 -4
  7. package/dist/components/Accordion/validate.d.ts +2 -2
  8. package/dist/components/AccordionGroup/validate.d.ts +2 -2
  9. package/dist/components/ArtDirectedImage/index.js +3 -3
  10. package/dist/components/ArtDirectedImage/validate.d.ts +0 -9
  11. package/dist/components/Badge/index.js +1 -1
  12. package/dist/components/Badge/validate.d.ts +1 -1
  13. package/dist/components/BottomBar/index.js +5 -5
  14. package/dist/components/Button/ButtonAppearanceHelper.test.d.ts +1 -0
  15. package/dist/components/Button/index.js +2 -2
  16. package/dist/components/Button/validate.d.ts +1 -1
  17. package/dist/components/ButtonAsLink/index.js +1 -1
  18. package/dist/components/ButtonGroup/validate.d.ts +1 -1
  19. package/dist/components/Calendar/components/Footer/helpers/getFooterText.test.d.ts +1 -0
  20. package/dist/components/Calendar/index.js +66 -62
  21. package/dist/components/Callout/index.js +1 -1
  22. package/dist/components/Card/index.js +1 -1
  23. package/dist/components/Carousel/index.js +1 -1
  24. package/dist/components/Checkbox/index.js +2 -2
  25. package/dist/components/Collapsible/index.js +1 -1
  26. package/dist/components/ColorSwatch/index.js +2 -2
  27. package/dist/components/ConsentMessage/index.js +1 -1
  28. package/dist/components/Container/index.js +1 -1
  29. package/dist/components/DateInput/index.js +2 -2
  30. package/dist/components/Dialog/index.js +8 -3
  31. package/dist/components/Dialog/validate.d.ts +1 -1
  32. package/dist/components/DiscoveryCard/index.js +5 -5
  33. package/dist/components/DiscoveryCard/validate.d.ts +3 -12
  34. package/dist/components/DiscoveryCardGroup/index.js +2 -2
  35. package/dist/components/DiscoveryCardGroup/validate.d.ts +9 -36
  36. package/dist/components/EnergySnippet/validate.d.ts +1 -1
  37. package/dist/components/FeatureCardGroup/components/FeatureCard/index.js +9 -8
  38. package/dist/components/FeatureCardGroup/components/FeatureCard/validate.d.ts +2 -11
  39. package/dist/components/FeatureCardGroup/index.js +1 -1
  40. package/dist/components/FeatureCardGroup/validate.d.ts +6 -15
  41. package/dist/components/Fieldset/index.js +8 -3
  42. package/dist/components/Fieldset/validate.d.ts +3 -3
  43. package/dist/components/FilterGroup/index.js +2 -2
  44. package/dist/components/FilterGroup/validate.d.ts +5 -5
  45. package/dist/components/Footnote/index.js +1 -1
  46. package/dist/components/FootnoteContent/index.js +1 -1
  47. package/dist/components/FootnoteSection/index.js +1 -1
  48. package/dist/components/FootnoteSection/validate.d.ts +2 -2
  49. package/dist/components/Form/index.js +1 -1
  50. package/dist/components/Form/validate.d.ts +4 -4
  51. package/dist/components/GoogleMap/index.js +31 -19
  52. package/dist/components/GoogleMap/props.d.ts +13 -1
  53. package/dist/components/GoogleMap/styled.d.ts +1 -1
  54. package/dist/components/GoogleMap/validate.d.ts +12 -3
  55. package/dist/components/Grid/index.js +2 -2
  56. package/dist/components/GridItem/index.js +2 -2
  57. package/dist/components/IconButton/index.js +4 -4
  58. package/dist/components/IconButton/validate.d.ts +1 -1
  59. package/dist/components/IconLoader/validate.d.ts +1 -1
  60. package/dist/components/IconSnippet/index.js +14 -24
  61. package/dist/components/IconSnippet/validate.d.ts +3 -3
  62. package/dist/components/IconSnippetList/index.js +1 -1
  63. package/dist/components/IconSnippetList/validate.d.ts +3 -3
  64. package/dist/components/Image/index.js +4 -52
  65. package/dist/components/Image/validate.d.ts +0 -9
  66. package/dist/components/ImageHeader/index.js +25 -19
  67. package/dist/components/ImageHeader/styled.d.ts +17 -0
  68. package/dist/components/ImageHeader/validate.d.ts +3 -12
  69. package/dist/components/InfoBanner/index.js +1 -1
  70. package/dist/components/InfoBanner/validate.d.ts +2 -2
  71. package/dist/components/InlineLink/index.js +1 -1
  72. package/dist/components/Input/index.js +1 -1
  73. package/dist/components/Input/validate.d.ts +1 -0
  74. package/dist/components/Legend/index.d.ts +1 -1
  75. package/dist/components/Legend/index.js +54 -68
  76. package/dist/components/Legend/validate.d.ts +6 -6
  77. package/dist/components/Link/index.js +1 -1
  78. package/dist/components/Link/validate.d.ts +1 -1
  79. package/dist/components/LinkAsButton/index.js +1 -1
  80. package/dist/components/LinkAsButton/validate.d.ts +1 -1
  81. package/dist/components/LinkList/index.js +25 -15
  82. package/dist/components/LinkList/styled.d.ts +1 -1
  83. package/dist/components/LinkListItem/index.js +15 -342
  84. package/dist/components/LinkListItem/props.d.ts +0 -4
  85. package/dist/components/LinkListItem/styled.d.ts +1 -1
  86. package/dist/components/LinkListItem/validate.d.ts +2 -3
  87. package/dist/components/LoadingSpinner/index.js +11 -10
  88. package/dist/components/LocalStyle/index.js +1 -1
  89. package/dist/components/MediaText/index.js +2 -2
  90. package/dist/components/MediaText/validate.d.ts +1 -10
  91. package/dist/components/Notification/index.js +20 -34
  92. package/dist/components/Notification/validate.d.ts +3 -3
  93. package/dist/components/OpenTextFootnoteAdapter/index.js +3 -3
  94. package/dist/components/PasswordInput/index.js +2 -2
  95. package/dist/components/PickerGroup/components/Picker/index.js +2 -2
  96. package/dist/components/PickerGroup/components/Picker/validate.d.ts +1 -1
  97. package/dist/components/PickerGroup/index.js +1 -1
  98. package/dist/components/PickerGroup/validate.d.ts +1 -1
  99. package/dist/components/Price/index.d.ts +0 -1
  100. package/dist/components/Price/index.js +61 -8
  101. package/dist/components/Price/props.d.ts +6 -6
  102. package/dist/components/ProductCard/index.js +4 -4
  103. package/dist/components/ProductCard/validate.d.ts +3 -12
  104. package/dist/components/QuickLinkList/components/QuickLink/index.js +2 -2
  105. package/dist/components/QuickLinkList/index.js +1 -1
  106. package/dist/components/RadioGroup/index.js +2 -2
  107. package/dist/components/Rating/index.js +1 -1
  108. package/dist/components/RichText/index.js +1 -1
  109. package/dist/components/RichText/parseHtml.d.ts +2 -1
  110. package/dist/components/RichTextContentful/getOptions.d.ts +6 -2
  111. package/dist/components/RichTextContentful/helpers/listHelpers.d.ts +1 -0
  112. package/dist/components/RichTextContentful/index.js +1 -1
  113. package/dist/components/RichTextContentful/props.d.ts +2 -1
  114. package/dist/components/RichTextContentful/styled.d.ts +5 -1
  115. package/dist/components/SearchInput/index.js +2 -2
  116. package/dist/components/SelectInput/index.js +1 -1
  117. package/dist/components/SuggestInput/components/SuggestInputList/index.d.ts +1 -1
  118. package/dist/components/SuggestInput/components/SuggestInputList/props.d.ts +0 -2
  119. package/dist/components/SuggestInput/index.js +20 -22
  120. package/dist/components/Switch/index.js +2 -2
  121. package/dist/components/TabGroup/index.js +11 -4
  122. package/dist/components/TabGroup/validate.d.ts +2 -2
  123. package/dist/components/Table/index.js +2 -2
  124. package/dist/components/TabularPrice/index.js +3 -2
  125. package/dist/components/TextList/components/TextListItem/index.js +1 -1
  126. package/dist/components/TextList/index.js +1 -1
  127. package/dist/components/Textarea/index.js +1 -1
  128. package/dist/components/TimeInput/index.js +2 -2
  129. package/dist/components/ToggleButtonProvider/validate.d.ts +8 -8
  130. package/dist/components/Tray/index.d.ts +1 -1
  131. package/dist/components/Tray/index.js +20 -14
  132. package/dist/components/Tray/validate.d.ts +1 -1
  133. package/dist/components/UtilityLink/index.js +1 -18
  134. package/dist/components/Video/componentName.d.ts +1 -0
  135. package/dist/components/Video/i18n.d.ts +42 -0
  136. package/dist/components/Video/index.d.ts +5 -0
  137. package/dist/components/Video/index.js +902 -0
  138. package/dist/components/Video/props.d.ts +52 -0
  139. package/dist/components/Video/styled.d.ts +2 -0
  140. package/dist/components/Video/validate.d.ts +84 -0
  141. package/dist/components/Video/validate.test.d.ts +1 -0
  142. package/dist/components/YouTubeVideo/index.js +1 -1
  143. package/dist/contentful/props/index.d.ts +2 -0
  144. package/dist/contentful/registry/ContentFulComponentName.d.ts +1 -1
  145. package/dist/contentful/registry/SupportedBrixProps.d.ts +2 -2
  146. package/dist/contentful/registry/index.js +1 -1
  147. package/dist/contentful/validation/index.d.ts +1 -0
  148. package/dist/contentful/validation/index.js +38 -9
  149. package/dist/{cssVars-DIZd9rHN.js → cssVars-DKs5LlTN.js} +112 -108
  150. package/dist/foundations/BrixComponentProps/componentNames.d.ts +1 -1
  151. package/dist/foundations/BrixComponentProps/validate.d.ts +3 -0
  152. package/dist/foundations/GlobalStyle/index.js +1 -1
  153. package/dist/foundations/colorMaps.d.ts +18 -0
  154. package/dist/foundations/cssVars.d.ts +1 -7
  155. package/dist/foundations/cssVars.test.d.ts +1 -0
  156. package/dist/foundations/layout/index.js +23 -6
  157. package/dist/foundations/typographyAndIconSizeCssVars.d.ts +7 -0
  158. package/dist/getSizesFromGridConfig-C-GBct4J.js +28 -0
  159. package/dist/{index-XoIBkRyI.js → index-BLp5wi_X.js} +199 -171
  160. package/dist/{index-B7QEcUdq.js → index-BXTweg2t.js} +26 -52
  161. package/dist/{index-BR6u6rvI.js → index-CW-UuGll.js} +2 -2
  162. package/dist/{index-iCvdBgcJ.js → index-C_6tWuWh.js} +1 -1
  163. package/dist/{index-C9M-9a7m.js → index-Cms5ie2I.js} +4 -4
  164. package/dist/{index-DQ_p1dIc.js → index-CpuHeI4h.js} +2 -2
  165. package/dist/{index-BIa9NKUU.js → index-DqdKVD9N.js} +3 -3
  166. package/dist/{index-B0jIyAgf.js → index-E0RMtc9X.js} +1 -1
  167. package/dist/{index-CWByESA7.js → index-h88pZ6zH.js} +2 -2
  168. package/dist/{index-Dn3We7oE.js → index-p9ZTAIzJ.js} +3 -3
  169. package/dist/index-xzvddlgp.js +345 -0
  170. package/dist/index.d.ts +2 -0
  171. package/dist/index.js +227 -222
  172. package/dist/opentext/index.js +1 -1
  173. package/dist/opentext/map/googleMap.d.ts +2 -1
  174. package/dist/{props-BPxy0GPb.js → props-Bod9bL2v.js} +4 -4
  175. package/dist/{props-P3bM0HEk.js → props-E4PNCuS6.js} +1 -4
  176. package/dist/props-n71pckjd.js +5 -0
  177. package/dist/{styled-DRNdxc1V.js → styled-BJ9cE7xy.js} +2 -2
  178. package/dist/styled-BrSdmb0C.js +52 -0
  179. package/dist/{styled-bzTYGIm_.js → styled-DDY0xAl_.js} +1 -1
  180. package/dist/{styled-DhKlciPC.js → styled-Dfbxuq_p.js} +1 -1
  181. package/dist/styled-R9Zq1ahD.js +21 -0
  182. package/dist/{styled-DYgC4qQm.js → styled-ldBsCamo.js} +2 -2
  183. package/dist/{youTubeVideo-BOudL3DM.js → youTubeVideo-CsdIB_iu.js} +30 -56
  184. package/package.json +2 -1
  185. package/dist/ButtonAppearanceHelper-BQUk7S3X.js +0 -92
  186. package/dist/components/AccordionGroup/stories/scrollToViewFixedHeaderStoryObj.d.ts +0 -2
  187. package/dist/components/Carousel/stories/productCards.d.ts +0 -8
  188. package/dist/components/Flex/stories/alignCenterArgs.d.ts +0 -2
  189. package/dist/components/Flex/stories/alignEndArgs.d.ts +0 -2
  190. package/dist/components/Flex/stories/alignStartArgs.d.ts +0 -2
  191. package/dist/components/Flex/stories/autoAndFullItemArgs.d.ts +0 -2
  192. package/dist/components/Flex/stories/autoAndFullItemVerticalArgs.d.ts +0 -2
  193. package/dist/components/Flex/stories/fullAndAutoItemArgs.d.ts +0 -2
  194. package/dist/components/Flex/stories/fullAndAutoItemVerticalArgs.d.ts +0 -2
  195. package/dist/components/Flex/stories/justifyBetweenArgs.d.ts +0 -2
  196. package/dist/components/Flex/stories/justifyBetweenVerticalArgs.d.ts +0 -2
  197. package/dist/components/Flex/stories/justifyCenterArgs.d.ts +0 -2
  198. package/dist/components/Flex/stories/justifyCenterVerticalArgs.d.ts +0 -2
  199. package/dist/components/Flex/stories/justifyEndArgs.d.ts +0 -2
  200. package/dist/components/Flex/stories/justifyEndVerticalArgs.d.ts +0 -2
  201. package/dist/components/Flex/stories/justifyStartArgs.d.ts +0 -2
  202. package/dist/components/Flex/stories/justifyStartVerticalArgs.d.ts +0 -2
  203. package/dist/components/Flex/stories/twoFullItemsArgs.d.ts +0 -2
  204. package/dist/components/Flex/stories/twoFullItemsVerticalArgs.d.ts +0 -2
  205. package/dist/components/Flex/stories/xlGapSpacingArgs.d.ts +0 -2
  206. package/dist/components/Grid/stories/alignGridCenterArgs.d.ts +0 -2
  207. package/dist/components/Grid/stories/alignGridItemArgs.d.ts +0 -2
  208. package/dist/components/Grid/stories/alignGridRightArgs.d.ts +0 -2
  209. package/dist/components/Grid/stories/grid12Args.d.ts +0 -2
  210. package/dist/components/Grid/stories/grid222222Args.d.ts +0 -2
  211. package/dist/components/Grid/stories/grid3333Args.d.ts +0 -2
  212. package/dist/components/Grid/stories/grid363Args.d.ts +0 -2
  213. package/dist/components/Grid/stories/grid444Args.d.ts +0 -2
  214. package/dist/components/Grid/stories/grid64Args.d.ts +0 -2
  215. package/dist/components/Grid/stories/grid66Args.d.ts +0 -2
  216. package/dist/components/Grid/stories/grid75Args.d.ts +0 -2
  217. package/dist/components/Grid/stories/nestingArgs.d.ts +0 -2
  218. package/dist/components/Grid/stories/noSpacingArgs.d.ts +0 -2
  219. package/dist/components/Grid/stories/offsetArgs.d.ts +0 -2
  220. package/dist/components/Grid/stories/responsiveArgs.d.ts +0 -2
  221. package/dist/components/Grid/stories/stretchArgs.d.ts +0 -2
  222. package/dist/components/Grid/stories/tagOrderedListArgs.d.ts +0 -2
  223. package/dist/components/Grid/stories/tagUnorderedListArgs.d.ts +0 -2
  224. package/dist/getSizesFromGridConfig-BqDW79mt.js +0 -48
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
- import { useState, useEffect } from "react";
3
+ import { useState, useRef, useEffect } from "react";
4
4
  import { createPortal } from "react-dom";
5
5
  import { S as ScreenreaderOnly } from "../../index-Dgu9iIhb.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-By1PtDpM.js";
@@ -36,6 +36,7 @@ const LoadingSpinner = ({
36
36
  ...props
37
37
  }) => {
38
38
  const [hasBeenMounted, setHasBeenMounted] = useState(false);
39
+ const modifiedElements = useRef([]);
39
40
  const loadingSpinner = /* @__PURE__ */ jsxs(LoadingSpinnerContainerStyled, { className: props.className, role: active ? "progressbar" : void 0, "aria-busy": active && !screenReaderLabel ? true : void 0, "aria-live": "polite", "aria-label": active ? screenReaderLabel : void 0, fullPage, bottomSpacing, children: [
40
41
  active && /* @__PURE__ */ jsxs(LoadingSpinnerContentStyled, { size, overlay: fullPage ? true : overlay, fullPage, children: [
41
42
  size === "xs" ? /* @__PURE__ */ jsx(LoadingSpinnerXsSVG, { ...props, size }) : /* @__PURE__ */ jsx(LoadingSpinnerSVG, { ...props, size }),
@@ -50,21 +51,21 @@ const LoadingSpinner = ({
50
51
  setHasBeenMounted(true);
51
52
  }, []);
52
53
  useEffect(() => {
53
- if (fullPage) {
54
- document.body.classList.toggle("HideOverflowY", active);
55
- const contentElements = getContentElements();
56
- for (const element of contentElements) {
57
- element.setAttribute("aria-hidden", active ? "true" : "false");
58
- element.toggleAttribute("inert", active);
59
- }
54
+ if (!fullPage || !active) return;
55
+ document.body.classList.add("HideOverflowY");
56
+ const elements = Array.from(getContentElements());
57
+ modifiedElements.current = elements;
58
+ for (const element of elements) {
59
+ element.setAttribute("aria-hidden", "true");
60
+ element.setAttribute("inert", "");
60
61
  }
61
62
  return () => {
62
63
  document.body.classList.remove("HideOverflowY");
63
- const contentElements = getContentElements();
64
- for (const element of contentElements) {
64
+ for (const element of modifiedElements.current) {
65
65
  element.removeAttribute("aria-hidden");
66
66
  element.removeAttribute("inert");
67
67
  }
68
+ modifiedElements.current = [];
68
69
  };
69
70
  }, [active, fullPage]);
70
71
  if (fullPage && hasBeenMounted) {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import styled, { css } from "styled-components";
4
- import { d as cssVarsString } from "../../cssVars-DIZd9rHN.js";
4
+ import { d as cssVarsString } from "../../cssVars-DKs5LlTN.js";
5
5
  import { s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.js";
6
6
  const LocalStyleStyled = styled.div.withConfig({
7
7
  shouldForwardProp,
@@ -2,13 +2,13 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useMemo } from "react";
4
4
  import Flex from "../Flex/index.js";
5
- import { b as GridItem, G as Grid } from "../../index-B0jIyAgf.js";
5
+ import { b as GridItem, G as Grid } from "../../index-E0RMtc9X.js";
6
6
  import Heading from "../Heading/index.js";
7
7
  import Image from "../Image/index.js";
8
8
  import { m as mediaTextPositionLeft, b as mediaTextPositionTop, y as youTubeVideoComponentName, i as imageComponentName } from "../../props-B9bM_KV-.js";
9
9
  import { a, c } from "../../props-B9bM_KV-.js";
10
10
  import Link from "../Link/index.js";
11
- import { a as RichTextContentful, R as RichText } from "../../index-XoIBkRyI.js";
11
+ import { a as RichTextContentful, R as RichText } from "../../index-BLp5wi_X.js";
12
12
  import { r as richTextContentfulComponentName, a as richTextComponentName } from "../../props-B5OwQmNC.js";
13
13
  import YouTubeVideo from "../YouTubeVideo/index.js";
14
14
  import { p as pTagName, u as ulTagName, d as divTagName, l as liTagName } from "../../tags-BeNegJAK.js";
@@ -83,15 +83,6 @@ export declare const mediaTextSchema: z.ZodObject<{
83
83
  contain: "contain";
84
84
  cover: "cover";
85
85
  }>>;
86
- objectPosition: z.ZodOptional<z.ZodEnum<{
87
- center: "center";
88
- "top left": "top left";
89
- "center left": "center left";
90
- "bottom left": "bottom left";
91
- "top right": "top right";
92
- "center right": "center right";
93
- "bottom right": "bottom right";
94
- }>>;
95
86
  width: z.ZodOptional<z.ZodNumber>;
96
87
  component: z.ZodLiteral<"Image">;
97
88
  uid: z.ZodString;
@@ -551,6 +542,7 @@ export declare const mediaTextSchema: z.ZodObject<{
551
542
  Filter: "Filter";
552
543
  Grid: "Grid";
553
544
  Notification: "Notification";
545
+ Video: "Video";
554
546
  Focus: "Focus";
555
547
  AbTest: "AbTest";
556
548
  Above28: "Above28";
@@ -1105,7 +1097,6 @@ export declare const mediaTextSchema: z.ZodObject<{
1105
1097
  VfHappyHelpful: "VfHappyHelpful";
1106
1098
  VfHappy: "VfHappy";
1107
1099
  VideoFrame: "VideoFrame";
1108
- Video: "Video";
1109
1100
  Virtuoso: "Virtuoso";
1110
1101
  VirusProtection: "VirusProtection";
1111
1102
  VocSensor: "VocSensor";
@@ -3,8 +3,8 @@ import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import Body from "../Body/index.js";
4
4
  import { b as bodyComponentName } from "../../componentName-BoJP6JLf.js";
5
5
  import Button from "../Button/index.js";
6
- import { a as notificationStatusInfo, n as notificationStatusError, c as notificationStatusWarning, e as buttonComponentName, f as buttonAsLinkComponentName, g as buttonGroupComponentName, h as flexComponentName, b as notificationStatusSuccess } from "../../props-BPxy0GPb.js";
7
- import { d } from "../../props-BPxy0GPb.js";
6
+ import { a as notificationStatusInfo, n as notificationStatusError, c as notificationStatusWarning, b as notificationStatusSuccess, f as flexComponentName, e as buttonGroupComponentName, g as buttonComponentName, h as buttonAsLinkComponentName } from "../../props-Bod9bL2v.js";
7
+ import { d } from "../../props-Bod9bL2v.js";
8
8
  import ButtonGroup from "../ButtonGroup/index.js";
9
9
  import Flex from "../Flex/index.js";
10
10
  import Heading from "../Heading/index.js";
@@ -12,8 +12,8 @@ import { h as headingComponentName } from "../../componentName-C1oXAOj7.js";
12
12
  import IconLoader from "../IconLoader/index.js";
13
13
  import Link from "../Link/index.js";
14
14
  import { l as linkComponentName } from "../../componentName-D74Io-Fs.js";
15
- import { R as RichText, a as RichTextContentful } from "../../index-XoIBkRyI.js";
16
- import { a as richTextComponentName, r as richTextContentfulComponentName } from "../../props-B5OwQmNC.js";
15
+ import { a as RichTextContentful, R as RichText } from "../../index-BLp5wi_X.js";
16
+ import { r as richTextContentfulComponentName, a as richTextComponentName } from "../../props-B5OwQmNC.js";
17
17
  import { i as iconSizeSm } from "../../IconSize-Da9zhR76.js";
18
18
  import { s as spacingMd, c as spacingSm, a as spacingXs } from "../../Spacing-Dj-qX3Z5.js";
19
19
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
@@ -29,8 +29,8 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
29
29
  import { getIconColor } from "../../foundations/token/getIconColor/index.js";
30
30
  import { g as getSpacing } from "../../index-l-i-mIeP.js";
31
31
  import { a as colorBackgroundNeutral } from "../../BackgroundColor-Ba4D10TC.js";
32
- import { b as borderRadiusMd } from "../../BorderRadius-Co-IV3fn.js";
33
- import { f as borderWidthMd } from "../../BorderWidth-OZWeXaq_.js";
32
+ import { b as borderRadiusMd } from "../../BorderRadius-0jhn76gB.js";
33
+ import { f as borderWidthMd } from "../../BorderWidth-CwrNKc0Q.js";
34
34
  import { d as colorIconInverse } from "../../IconColor-CtC9WUgr.js";
35
35
  import { s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.js";
36
36
  const notificationStatusVariants = {
@@ -128,35 +128,21 @@ const statusLabels = {
128
128
  [notificationStatusSuccess]: "Erfolgreich"
129
129
  };
130
130
  const assertiveStatuses = [notificationStatusError, notificationStatusWarning];
131
- const getContents = (contents) => {
132
- return contents.map((content) => {
133
- if (headingComponentName === content.component) {
134
- return /* @__PURE__ */ jsx(Heading, { ...content, bottomSpacing: spacingXs, children: content.children }, content.uid);
135
- }
136
- if (bodyComponentName === content.component) {
137
- return /* @__PURE__ */ jsx(Body, { ...content, bottomSpacing: spacingSm, children: content.children }, content.uid);
138
- }
139
- if (richTextComponentName === content.component) {
140
- return /* @__PURE__ */ jsx(RichText, { ...content, bottomSpacing: spacingSm }, content.uid);
141
- }
142
- if (richTextContentfulComponentName === content.component) {
143
- return /* @__PURE__ */ jsx(RichTextContentful, { ...content, bottomSpacing: spacingSm }, content.uid);
144
- }
145
- if (linkComponentName === content.component) {
146
- return /* @__PURE__ */ jsx(Link, { ...content, bottomSpacing: spacingSm, children: content.children }, content.uid);
147
- }
148
- if (buttonComponentName === content.component || buttonAsLinkComponentName === content.component) {
149
- return /* @__PURE__ */ jsx(Button, { ...content, bottomSpacing: spacingSm, children: content.children }, content.uid);
150
- }
151
- if (buttonGroupComponentName === content.component) {
152
- return /* @__PURE__ */ jsx(ButtonGroup, { ...content, bottomSpacing: spacingSm }, content.uid);
153
- }
154
- if (flexComponentName === content.component) {
155
- return /* @__PURE__ */ jsx(Flex, { ...content, bottomSpacing: spacingSm, children: content.children }, content.uid);
156
- }
157
- return null;
158
- });
131
+ const contentRenderers = {
132
+ [headingComponentName]: (content) => /* @__PURE__ */ jsx(Heading, { ...content, bottomSpacing: spacingXs, children: content.children }, content.uid),
133
+ [bodyComponentName]: (content) => /* @__PURE__ */ jsx(Body, { ...content, bottomSpacing: spacingSm, children: content.children }, content.uid),
134
+ [richTextComponentName]: (content) => /* @__PURE__ */ jsx(RichText, { ...content, bottomSpacing: spacingSm }, content.uid),
135
+ [richTextContentfulComponentName]: (content) => /* @__PURE__ */ jsx(RichTextContentful, { ...content, bottomSpacing: spacingSm }, content.uid),
136
+ [linkComponentName]: (content) => /* @__PURE__ */ jsx(Link, { ...content, bottomSpacing: spacingSm, children: content.children }, content.uid),
137
+ [buttonComponentName]: (content) => /* @__PURE__ */ jsx(Button, { ...content, bottomSpacing: spacingSm, children: content.children }, content.uid),
138
+ [buttonGroupComponentName]: (content) => /* @__PURE__ */ jsx(ButtonGroup, { ...content, bottomSpacing: spacingSm }, content.uid),
139
+ [flexComponentName]: (content) => /* @__PURE__ */ jsx(Flex, { ...content, bottomSpacing: spacingSm, children: content.children }, content.uid)
159
140
  };
141
+ contentRenderers[buttonAsLinkComponentName] = contentRenderers[buttonComponentName];
142
+ const getContents = (contents) => contents.map((content) => {
143
+ const renderer = contentRenderers[content.component ?? ""];
144
+ return renderer ? renderer(content) : null;
145
+ });
160
146
  const getNotificationLabel = (status, contents, ariaLabel) => {
161
147
  const statusLabel = statusLabels[status];
162
148
  if (ariaLabel) return `${statusLabel}: ${ariaLabel}`;
@@ -358,6 +358,7 @@ export declare const notificationSchema: z.ZodObject<{
358
358
  Filter: "Filter";
359
359
  Grid: "Grid";
360
360
  Notification: "Notification";
361
+ Video: "Video";
361
362
  Focus: "Focus";
362
363
  AbTest: "AbTest";
363
364
  Above28: "Above28";
@@ -912,7 +913,6 @@ export declare const notificationSchema: z.ZodObject<{
912
913
  VfHappyHelpful: "VfHappyHelpful";
913
914
  VfHappy: "VfHappy";
914
915
  VideoFrame: "VideoFrame";
915
- Video: "Video";
916
916
  Virtuoso: "Virtuoso";
917
917
  VirusProtection: "VirusProtection";
918
918
  VocSensor: "VocSensor";
@@ -1039,6 +1039,7 @@ export declare const notificationSchema: z.ZodObject<{
1039
1039
  Filter: "Filter";
1040
1040
  Grid: "Grid";
1041
1041
  Notification: "Notification";
1042
+ Video: "Video";
1042
1043
  Focus: "Focus";
1043
1044
  AbTest: "AbTest";
1044
1045
  Above28: "Above28";
@@ -1593,7 +1594,6 @@ export declare const notificationSchema: z.ZodObject<{
1593
1594
  VfHappyHelpful: "VfHappyHelpful";
1594
1595
  VfHappy: "VfHappy";
1595
1596
  VideoFrame: "VideoFrame";
1596
- Video: "Video";
1597
1597
  Virtuoso: "Virtuoso";
1598
1598
  VirusProtection: "VirusProtection";
1599
1599
  VocSensor: "VocSensor";
@@ -1755,6 +1755,7 @@ export declare const notificationSchema: z.ZodObject<{
1755
1755
  Filter: "Filter";
1756
1756
  Grid: "Grid";
1757
1757
  Notification: "Notification";
1758
+ Video: "Video";
1758
1759
  Focus: "Focus";
1759
1760
  AbTest: "AbTest";
1760
1761
  Above28: "Above28";
@@ -2309,7 +2310,6 @@ export declare const notificationSchema: z.ZodObject<{
2309
2310
  VfHappyHelpful: "VfHappyHelpful";
2310
2311
  VfHappy: "VfHappy";
2311
2312
  VideoFrame: "VideoFrame";
2312
- Video: "Video";
2313
2313
  Virtuoso: "Virtuoso";
2314
2314
  VirusProtection: "VirusProtection";
2315
2315
  VocSensor: "VocSensor";
@@ -2,11 +2,11 @@
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "../AccordionGroup/index.js";
5
- import "../../index-iCvdBgcJ.js";
5
+ import "../../index-C_6tWuWh.js";
6
6
  import "../FootnoteContent/index.js";
7
7
  import "../Heading/index.js";
8
- import { O } from "../../index-DQ_p1dIc.js";
9
- import "../../index-XoIBkRyI.js";
8
+ import { O } from "../../index-CpuHeI4h.js";
9
+ import "../../index-BLp5wi_X.js";
10
10
  import "../../HeadingSize-O__w72MO.js";
11
11
  export {
12
12
  O as default
@@ -6,7 +6,7 @@ import FormHelperLabel from "../FormHelperLabel/index.js";
6
6
  import FormHelperMessage from "../FormHelperMessage/index.js";
7
7
  import IconLoader from "../IconLoader/index.js";
8
8
  import { i as inputStateError, a as inputStateSuccess } from "../../props-Czq9XX2J.js";
9
- import { I as InputWrapperStyled, a as InputStyled } from "../../styled-DYgC4qQm.js";
9
+ import { I as InputWrapperStyled, a as InputStyled } from "../../styled-ldBsCamo.js";
10
10
  import { S as ScreenreaderOnly } from "../../index-Dgu9iIhb.js";
11
11
  import { i as iconSizeSm } from "../../IconSize-Da9zhR76.js";
12
12
  import { a as spacingXs, s as spacingMd } from "../../Spacing-Dj-qX3Z5.js";
@@ -19,7 +19,7 @@ import { getIconColor } from "../../foundations/token/getIconColor/index.js";
19
19
  import { g as getSpacing } from "../../index-l-i-mIeP.js";
20
20
  import { getTextColor } from "../../foundations/token/getTextColor/index.js";
21
21
  import { e as colorBorderCritical, d as colorBorderSuccess, b as colorBorderUnselected, c as colorBorderFocus } from "../../BorderColor-BACbvI20.js";
22
- import { a as borderWidthFocus } from "../../BorderWidth-OZWeXaq_.js";
22
+ import { b as borderWidthFocus } from "../../BorderWidth-CwrNKc0Q.js";
23
23
  import { c as colorIconSuccess, a as colorIconCritical } from "../../IconColor-CtC9WUgr.js";
24
24
  import { a as textBodySm } from "../../TextBodySize-CP9q4gRv.js";
25
25
  import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
- import "../../../../index-CWByESA7.js";
4
+ import "../../../../index-h88pZ6zH.js";
5
5
  import "../../../ColorSwatch/index.js";
6
- import { P, P as P2 } from "../../../../index-Dn3We7oE.js";
6
+ import { P, P as P2 } from "../../../../index-p9ZTAIzJ.js";
7
7
  import "../../../../IconSize-Da9zhR76.js";
8
8
  import "../../../../Spacing-Dj-qX3Z5.js";
9
9
  export {
@@ -66,6 +66,7 @@ export declare const pickerSchema: z.ZodObject<{
66
66
  Filter: "Filter";
67
67
  Grid: "Grid";
68
68
  Notification: "Notification";
69
+ Video: "Video";
69
70
  Focus: "Focus";
70
71
  AbTest: "AbTest";
71
72
  Above28: "Above28";
@@ -620,7 +621,6 @@ export declare const pickerSchema: z.ZodObject<{
620
621
  VfHappyHelpful: "VfHappyHelpful";
621
622
  VfHappy: "VfHappy";
622
623
  VideoFrame: "VideoFrame";
623
- Video: "Video";
624
624
  Virtuoso: "Virtuoso";
625
625
  VirusProtection: "VirusProtection";
626
626
  VocSensor: "VocSensor";
@@ -4,7 +4,7 @@ import Fieldset from "../Fieldset/index.js";
4
4
  import { i as inputStateError } from "../../props-Czq9XX2J.js";
5
5
  import { s as spacingMd, b as spacingNone } from "../../Spacing-Dj-qX3Z5.js";
6
6
  import { useState, useEffect } from "react";
7
- import { a as PickerGridItemStyled, P as Picker, b as PickerGroupContext } from "../../index-Dn3We7oE.js";
7
+ import { a as PickerGridItemStyled, P as Picker, b as PickerGroupContext } from "../../index-p9ZTAIzJ.js";
8
8
  import styled from "styled-components";
9
9
  import { translateLayoutPropsToCss } from "../../foundations/layout/index.js";
10
10
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
@@ -131,6 +131,7 @@ export declare const pickerGroupSchema: z.ZodObject<{
131
131
  Filter: "Filter";
132
132
  Grid: "Grid";
133
133
  Notification: "Notification";
134
+ Video: "Video";
134
135
  Focus: "Focus";
135
136
  AbTest: "AbTest";
136
137
  Above28: "Above28";
@@ -685,7 +686,6 @@ export declare const pickerGroupSchema: z.ZodObject<{
685
686
  VfHappyHelpful: "VfHappyHelpful";
686
687
  VfHappy: "VfHappy";
687
688
  VideoFrame: "VideoFrame";
688
- Video: "Video";
689
689
  Virtuoso: "Virtuoso";
690
690
  VirusProtection: "VirusProtection";
691
691
  VocSensor: "VocSensor";
@@ -1,6 +1,5 @@
1
1
  import { TabularPriceProps } from '../TabularPrice/props';
2
2
  import { PriceProps } from './props';
3
- export declare const createScreenReaderText: (price: PriceProps["price"], strikePrice: PriceProps["strikePrice"], suffix: PriceProps["suffix"]) => string;
4
3
  declare const Price: (props: PriceProps | TabularPriceProps) => import("react/jsx-runtime").JSX.Element;
5
4
  export default Price;
6
5
  export * from './props';
@@ -1,15 +1,68 @@
1
1
  "use client";
2
- import "react/jsx-runtime";
3
- import { c, P } from "../../index-B7QEcUdq.js";
4
- import { p, a, b, c as c2, d, e, f, g, h, i } from "../../props-P3bM0HEk.js";
2
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
+ import { useId } from "react";
4
+ import { S as ScreenreaderOnly } from "../../index-Dgu9iIhb.js";
5
+ import { T as TabularPrice, P as PriceOuterWrapperStyled, a as PriceInnerWrapperStyled, S as StrikePriceStyled, b as PriceOrientationStyled, c as PriceStyled, d as PriceSuffixStyled } from "../../index-BXTweg2t.js";
6
+ import { d as priceOrientationVertical, a as priceAlignLeft } from "../../props-E4PNCuS6.js";
7
+ import { p, b, c, e, f, g, h, i } from "../../props-E4PNCuS6.js";
8
+ const isTabularPriceProp = (props) => {
9
+ return props.component === "TabularPrice";
10
+ };
11
+ const getProductOfferMicrodataProps = (productName) => ({
12
+ itemProp: productName ? "offers" : void 0,
13
+ itemType: productName ? "https://schema.org/Offer" : void 0,
14
+ itemScope: productName ? true : void 0
15
+ });
16
+ const PriceView = (props) => {
17
+ const {
18
+ orientation = priceOrientationVertical,
19
+ align = priceAlignLeft,
20
+ prefix,
21
+ price,
22
+ productName,
23
+ ...priceProps
24
+ } = props;
25
+ const priceIdBase = useId();
26
+ const priceToRender = prefix ? `${prefix} ${price}` : price;
27
+ const priceTextId = `${priceIdBase}-price`;
28
+ const suffixTextId = `${priceIdBase}-suffix`;
29
+ const strikePriceTextId = `${priceIdBase}-strike`;
30
+ const standardPriceTextId = `${priceIdBase}-standard-label`;
31
+ const offerPriceTextId = `${priceIdBase}-offer-label`;
32
+ const ariaLabelledBy = props.strikePrice ? `${standardPriceTextId} ${strikePriceTextId} ${offerPriceTextId} ${priceTextId} ${suffixTextId}` : `${priceTextId} ${suffixTextId}`;
33
+ return /* @__PURE__ */ jsxs(PriceOuterWrapperStyled, { className: props.className, ...{
34
+ "aria-live": props["aria-live"]
35
+ }, ...{
36
+ "aria-labelledby": ariaLabelledBy
37
+ }, children: [
38
+ productName && /* @__PURE__ */ jsx("meta", { itemProp: "name", content: productName }),
39
+ /* @__PURE__ */ jsxs(PriceInnerWrapperStyled, { ...priceProps, price, orientation, align, ...getProductOfferMicrodataProps(productName), children: [
40
+ productName && /* @__PURE__ */ jsx("meta", { itemProp: "priceCurrency", content: "EUR" }),
41
+ props.strikePrice ? /* @__PURE__ */ jsxs(Fragment, { children: [
42
+ /* @__PURE__ */ jsx(ScreenreaderOnly, { id: standardPriceTextId, children: "Standardpreis" }),
43
+ /* @__PURE__ */ jsx(StrikePriceStyled, { id: strikePriceTextId, children: priceProps.strikePrice })
44
+ ] }) : null,
45
+ /* @__PURE__ */ jsxs(PriceOrientationStyled, { orientation, align, itemProp: productName ? "price" : void 0, content: productName ? price : void 0, children: [
46
+ props.strikePrice && /* @__PURE__ */ jsx(ScreenreaderOnly, { id: offerPriceTextId, children: "Angebotspreis" }),
47
+ /* @__PURE__ */ jsx(PriceStyled, { id: priceTextId, size: priceProps.size, children: priceToRender }),
48
+ /* @__PURE__ */ jsx(PriceSuffixStyled, { id: suffixTextId, children: priceProps.suffix })
49
+ ] })
50
+ ] })
51
+ ] });
52
+ };
53
+ const Price = (props) => {
54
+ if (isTabularPriceProp(props)) {
55
+ return /* @__PURE__ */ jsx(TabularPrice, { ...props });
56
+ }
57
+ return /* @__PURE__ */ jsx(PriceView, { ...props });
58
+ };
5
59
  export {
6
- c as createScreenReaderText,
7
- P as default,
60
+ Price as default,
8
61
  p as priceAlignCenter,
9
- a as priceAlignLeft,
62
+ priceAlignLeft,
10
63
  b as priceAligns,
11
- c2 as priceOrientationHorizontal,
12
- d as priceOrientationVertical,
64
+ c as priceOrientationHorizontal,
65
+ priceOrientationVertical,
13
66
  e as priceOrientations,
14
67
  f as priceSizeLg,
15
68
  g as priceSizeMd,
@@ -19,12 +19,12 @@ export type PriceAlign = (typeof priceAligns)[number];
19
19
  * Shared props between Price and TabularPrice.
20
20
  *
21
21
  * `role` is deliberately omitted: `PriceOuterWrapperStyled` (styled.tsx) always
22
- * renders with `role="group"` so its `aria-label` stays valid per ARIA-in-HTML
23
- * (FIX-SQDE-1475 #3) without excluding the price from the accessibility tree
24
- * (SQDE-1270). Neither `Price` nor `TabularPrice` forwards a caller-supplied
25
- * `role` anywhere, so leaving it in this type would let a consumer pass
26
- * `role="generic"` (or anything else) that's silently ignored — confusing to
27
- * debug, since nothing indicates why it had no effect.
22
+ * renders with `role="group"` so its ARIA naming (`aria-labelledby`) stays
23
+ * consistent across screen readers without excluding the price from the
24
+ * accessibility tree (SQDE-1270). Neither `Price` nor `TabularPrice` forwards
25
+ * a caller-supplied `role` anywhere, so leaving it in this type would let a
26
+ * consumer pass `role="generic"` (or anything else) that's silently ignored —
27
+ * confusing to debug, since nothing indicates why it had no effect.
28
28
  */
29
29
  export interface PriceSharedProps extends BrixComponentProps, Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'role'> {
30
30
  /**
@@ -1,7 +1,7 @@
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-CWByESA7.js";
4
+ import { B as Badge } from "../../index-h88pZ6zH.js";
5
5
  import ColorSwatchGroup from "../ColorSwatchGroup/index.js";
6
6
  import "../../index-Dgu9iIhb.js";
7
7
  import "../../index-DcEZ9vor.js";
@@ -10,11 +10,11 @@ import Heading from "../Heading/index.js";
10
10
  import { h as headingAlignCenter } from "../../props-GrMT6XLD.js";
11
11
  import { o as objectFitContain, b as aspectRatio1_1 } from "../../props-CLadRD1u.js";
12
12
  import Link from "../Link/index.js";
13
- import { P as Price } from "../../index-B7QEcUdq.js";
13
+ import Price from "../Price/index.js";
14
14
  import { a as fontWeightBold } from "../../FontWeight-C8c-UnWu.js";
15
15
  import { j as iconSizeLg } from "../../IconSize-Da9zhR76.js";
16
16
  import EnergySnippet from "../EnergySnippet/index.js";
17
- import { a as RichTextContentful, R as RichText } from "../../index-XoIBkRyI.js";
17
+ import { a as RichTextContentful, R as RichText } from "../../index-BLp5wi_X.js";
18
18
  import styled from "styled-components";
19
19
  import Card from "../Card/index.js";
20
20
  import Flex from "../Flex/index.js";
@@ -22,7 +22,7 @@ import Icon from "../Icon/index.js";
22
22
  import Image from "../Image/index.js";
23
23
  import { g as getSpacing } from "../../index-l-i-mIeP.js";
24
24
  import { r as richTextContentfulComponentName } from "../../props-B5OwQmNC.js";
25
- import { p as priceAlignCenter, d as priceOrientationVertical } from "../../props-P3bM0HEk.js";
25
+ import { p as priceAlignCenter, d as priceOrientationVertical } from "../../props-E4PNCuS6.js";
26
26
  const ProductCardStyled = styled(Card).withConfig({
27
27
  displayName: "ProductCardStyled",
28
28
  componentId: "sc-1ps8gys-0"
@@ -135,6 +135,7 @@ export declare const productCardSchema: z.ZodObject<{
135
135
  Filter: "Filter";
136
136
  Grid: "Grid";
137
137
  Notification: "Notification";
138
+ Video: "Video";
138
139
  Focus: "Focus";
139
140
  AbTest: "AbTest";
140
141
  Above28: "Above28";
@@ -689,7 +690,6 @@ export declare const productCardSchema: z.ZodObject<{
689
690
  VfHappyHelpful: "VfHappyHelpful";
690
691
  VfHappy: "VfHappy";
691
692
  VideoFrame: "VideoFrame";
692
- Video: "Video";
693
693
  Virtuoso: "Virtuoso";
694
694
  VirusProtection: "VirusProtection";
695
695
  VocSensor: "VocSensor";
@@ -889,15 +889,6 @@ export declare const productCardSchema: z.ZodObject<{
889
889
  contain: "contain";
890
890
  cover: "cover";
891
891
  }>>;
892
- objectPosition: z.ZodOptional<z.ZodEnum<{
893
- center: "center";
894
- "top left": "top left";
895
- "center left": "center left";
896
- "bottom left": "bottom left";
897
- "top right": "top right";
898
- "center right": "center right";
899
- "bottom right": "bottom right";
900
- }>>;
901
892
  roundedCorners: z.ZodOptional<z.ZodBoolean>;
902
893
  src: z.ZodString;
903
894
  alt: z.ZodOptional<z.ZodString>;
@@ -994,6 +985,7 @@ export declare const productCardSchema: z.ZodObject<{
994
985
  Filter: "Filter";
995
986
  Grid: "Grid";
996
987
  Notification: "Notification";
988
+ Video: "Video";
997
989
  Focus: "Focus";
998
990
  AbTest: "AbTest";
999
991
  Above28: "Above28";
@@ -1548,7 +1540,6 @@ export declare const productCardSchema: z.ZodObject<{
1548
1540
  VfHappyHelpful: "VfHappyHelpful";
1549
1541
  VfHappy: "VfHappy";
1550
1542
  VideoFrame: "VideoFrame";
1551
- Video: "Video";
1552
1543
  Virtuoso: "Virtuoso";
1553
1544
  VirusProtection: "VirusProtection";
1554
1545
  VocSensor: "VocSensor";
@@ -1758,6 +1749,7 @@ export declare const productCardSchema: z.ZodObject<{
1758
1749
  Filter: "Filter";
1759
1750
  Grid: "Grid";
1760
1751
  Notification: "Notification";
1752
+ Video: "Video";
1761
1753
  Focus: "Focus";
1762
1754
  AbTest: "AbTest";
1763
1755
  Above28: "Above28";
@@ -2312,7 +2304,6 @@ export declare const productCardSchema: z.ZodObject<{
2312
2304
  VfHappyHelpful: "VfHappyHelpful";
2313
2305
  VfHappy: "VfHappy";
2314
2306
  VideoFrame: "VideoFrame";
2315
- Video: "Video";
2316
2307
  Virtuoso: "Virtuoso";
2317
2308
  VirusProtection: "VirusProtection";
2318
2309
  VocSensor: "VocSensor";
@@ -6,7 +6,7 @@ import { useLinkComponent } from "../../../../hooks/useLinkComponent/index.js";
6
6
  import { s as sanitizeLinkProps } from "../../../../sanitizeLinkProps-D2Kkovy1.js";
7
7
  import { s as shouldForwardProp, p as pickDomProps } from "../../../../shouldForwardProp-CONMmlMa.js";
8
8
  import styled from "styled-components";
9
- import { B as ButtonAppearanceColor } from "../../../../ButtonAppearanceHelper-BQUk7S3X.js";
9
+ import { B as ButtonAppearanceColor } from "../../../../ButtonAppearanceHelper-3qIbHGWJ.js";
10
10
  import forcedColors from "../../../../foundations/media-query/forcedColors/index.js";
11
11
  import { getBorderColor } from "../../../../foundations/token/getBorderColor/index.js";
12
12
  import { getBorderRadius } from "../../../../foundations/token/getBorderRadius/index.js";
@@ -16,7 +16,7 @@ import { getObjectColor } from "../../../../foundations/token/getObjectColor/ind
16
16
  import { g as getSpacing } from "../../../../index-l-i-mIeP.js";
17
17
  import { getTextColor } from "../../../../foundations/token/getTextColor/index.js";
18
18
  import { c as colorBorderFocus, a as colorBorderNeutral } from "../../../../BorderColor-BACbvI20.js";
19
- import { a as borderWidthFocus } from "../../../../BorderWidth-OZWeXaq_.js";
19
+ import { b as borderWidthFocus } from "../../../../BorderWidth-CwrNKc0Q.js";
20
20
  import { t as textHeadingXs } from "../../../../HeadingSize-O__w72MO.js";
21
21
  import { c as spacingSm, a as spacingXs } from "../../../../Spacing-Dj-qX3Z5.js";
22
22
  import { a as colorTextNeutral } from "../../../../TextColor-DsntmDNw.js";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { G as Grid, b as GridItem } from "../../index-B0jIyAgf.js";
3
+ import { G as Grid, b as GridItem } from "../../index-E0RMtc9X.js";
4
4
  import { s as spacingMd } from "../../Spacing-Dj-qX3Z5.js";
5
5
  import { u as useViewport, v as viewportLg } from "../../index-DlENLqPq.js";
6
6
  import QuickLink from "./components/QuickLink/index.js";
@@ -16,8 +16,8 @@ import { getObjectColor } from "../../foundations/token/getObjectColor/index.js"
16
16
  import { getOpacity } from "../../foundations/token/getOpacity/index.js";
17
17
  import { g as getSpacing } from "../../index-l-i-mIeP.js";
18
18
  import { c as colorBorderFocus, e as colorBorderCritical, i as colorBorderSelected, b as colorBorderUnselected } from "../../BorderColor-BACbvI20.js";
19
- import { d as borderRadiusFull } from "../../BorderRadius-Co-IV3fn.js";
20
- import { a as borderWidthFocus } from "../../BorderWidth-OZWeXaq_.js";
19
+ import { d as borderRadiusFull } from "../../BorderRadius-0jhn76gB.js";
20
+ import { b as borderWidthFocus } from "../../BorderWidth-CwrNKc0Q.js";
21
21
  import { f as colorObjectSelected, e as colorObjectInverse } from "../../ObjectColor-CSHEae46.js";
22
22
  import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
23
23
  import { a as shouldForwardPropExcluding, s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.js";
@@ -14,7 +14,7 @@ import { getObjectColor } from "../../foundations/token/getObjectColor/index.js"
14
14
  import { g as getSpacing } from "../../index-l-i-mIeP.js";
15
15
  import { a as colorBackgroundNeutral } from "../../BackgroundColor-Ba4D10TC.js";
16
16
  import { i as colorBorderSelected, a as colorBorderNeutral, b as colorBorderUnselected, c as colorBorderFocus } from "../../BorderColor-BACbvI20.js";
17
- import { a as borderWidthFocus } from "../../BorderWidth-OZWeXaq_.js";
17
+ import { b as borderWidthFocus } from "../../BorderWidth-CwrNKc0Q.js";
18
18
  import { f as colorObjectSelected } from "../../ObjectColor-CSHEae46.js";
19
19
  import { a as spacingXs } from "../../Spacing-Dj-qX3Z5.js";
20
20
  const StarSvg = () => {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { R } from "../../index-XoIBkRyI.js";
3
+ import { R } from "../../index-BLp5wi_X.js";
4
4
  export {
5
5
  R as default
6
6
  };
@@ -1,3 +1,4 @@
1
+ import { JSX } from 'react';
1
2
  import { BodyProps } from '../Body/props';
2
3
  import { HeadingProps } from '../Heading/props';
3
4
  import { InlineLinkProps } from '../InlineLink/props';
@@ -15,4 +16,4 @@ export type RichTextTagProps = {
15
16
  p?: Omit<BodyProps, 'children'>;
16
17
  a?: Omit<InlineLinkProps, 'children'>;
17
18
  };
18
- export declare const parseHtml: (html: string, paragraphSpacing: Spacing | undefined, tagProps?: RichTextTagProps) => string | import("react").JSX.Element | import("react").JSX.Element[];
19
+ export declare const parseHtml: (html: string, paragraphSpacing: Spacing | undefined, tagProps?: RichTextTagProps) => string | JSX.Element | JSX.Element[];
@@ -1,4 +1,8 @@
1
1
  import { Options } from '@contentful/rich-text-react-renderer';
2
- import { Spacing } from '../../foundations/types/Spacing';
3
2
  import { RichTextContentfulTagProps } from './props';
4
- export declare const getOptions: (paragraphSpacing?: Spacing | undefined, tagProps?: RichTextContentfulTagProps) => Options;
3
+ /**
4
+ * Every block level component is rendered without its own bottom spacing.
5
+ * The vertical rhythm between blocks is owned by the RichTextContentful
6
+ * container, which applies `paragraphSpacing` as a CSS gap.
7
+ */
8
+ export declare const getOptions: (tagProps?: RichTextContentfulTagProps) => Options;
@@ -5,5 +5,6 @@ export declare const createListItems: (content: Block["content"], listType: "ol"
5
5
  richText: {
6
6
  component: "RichTextContentful";
7
7
  html: Document;
8
+ paragraphSpacing: "none";
8
9
  };
9
10
  }[];