@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
@@ -0,0 +1,52 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { AspectRatio } from '../Image/props';
3
+ import { videoComponentName } from './componentName';
4
+ import { BrixComponentProps } from '../../foundations/BrixComponentProps';
5
+ /**
6
+ * Video source with URL and MIME type.
7
+ */
8
+ export interface VideoSource {
9
+ /**
10
+ * URL to the video file
11
+ */
12
+ src: string;
13
+ /**
14
+ * MIME type of the video (e.g. 'video/mp4')
15
+ */
16
+ type: string;
17
+ }
18
+ /**
19
+ * Props for the Video component.
20
+ * Renders a self-hosted video (MP4, WebM, etc.) using the Plyr player.
21
+ */
22
+ export interface VideoProps extends BrixComponentProps, Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
23
+ /**
24
+ * Pin component's name
25
+ */
26
+ component?: typeof videoComponentName;
27
+ /**
28
+ * Video source with URL and MIME type
29
+ */
30
+ video: VideoSource;
31
+ /**
32
+ * URL to a poster/preview image shown before playback.
33
+ * Required: without it the player area stays empty until the video's first
34
+ * frame has been decoded.
35
+ */
36
+ preview: string;
37
+ /**
38
+ * Aspect ratio of the player box. The component always fills the available
39
+ * width; the ratio determines its height, so the layout is stable before the
40
+ * video has loaded.
41
+ * @default 16/9
42
+ */
43
+ aspectRatio?: AspectRatio;
44
+ /**
45
+ * URL to a VTT subtitle file (German)
46
+ */
47
+ caption?: string;
48
+ /**
49
+ * Display video with rounded corners
50
+ */
51
+ roundedCorners?: boolean;
52
+ }
@@ -0,0 +1,2 @@
1
+ import { VideoProps } from './props';
2
+ export declare const VideoStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "aspectRatio" | "layout" | "bottomSpacing" | "roundedCorners"> & Pick<VideoProps, "aspectRatio" | "layout" | "bottomSpacing" | "roundedCorners">, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "aspectRatio" | "layout" | "bottomSpacing" | "roundedCorners"> & Pick<VideoProps, "aspectRatio" | "layout" | "bottomSpacing" | "roundedCorners">, never>>> & string;
@@ -0,0 +1,84 @@
1
+ import { default as z } from 'zod';
2
+ import { VideoCmsProps } from '../../contentful/props';
3
+ import { ValidationResult } from '../../utils/validation/Validation';
4
+ export declare const videoSchema: z.ZodObject<{
5
+ uid: z.ZodString;
6
+ sysId: z.ZodString;
7
+ customId: z.ZodOptional<z.ZodString>;
8
+ enableStructuredData: z.ZodOptional<z.ZodBoolean>;
9
+ tracking: z.ZodOptional<z.ZodObject<{
10
+ contact_action: z.ZodOptional<z.ZodString>;
11
+ contact_subject: z.ZodOptional<z.ZodString>;
12
+ contact_available_tools: z.ZodOptional<z.ZodString>;
13
+ contact_tool: z.ZodOptional<z.ZodString>;
14
+ contact_trigger: z.ZodOptional<z.ZodString>;
15
+ contact_variant: z.ZodOptional<z.ZodString>;
16
+ information_action: z.ZodOptional<z.ZodString>;
17
+ information_name: z.ZodOptional<z.ZodString>;
18
+ information_ui_type: z.ZodOptional<z.ZodString>;
19
+ information_trigger: z.ZodOptional<z.ZodString>;
20
+ information_ui_location: z.ZodOptional<z.ZodString>;
21
+ information_id: z.ZodOptional<z.ZodString>;
22
+ information_ui_size: z.ZodOptional<z.ZodString>;
23
+ error_action: z.ZodOptional<z.ZodString>;
24
+ error_type: z.ZodOptional<z.ZodString>;
25
+ error_message: z.ZodOptional<z.ZodString>;
26
+ error_ui_type: z.ZodOptional<z.ZodString>;
27
+ error_trigger: z.ZodOptional<z.ZodString>;
28
+ error_trigger_name: z.ZodOptional<z.ZodString>;
29
+ error_code: z.ZodOptional<z.ZodString>;
30
+ error_details: z.ZodOptional<z.ZodString>;
31
+ error_location: z.ZodOptional<z.ZodString>;
32
+ }, z.core.$loose>>;
33
+ bottomSpacing: z.ZodOptional<z.ZodEnum<{
34
+ sm: "sm";
35
+ md: "md";
36
+ lg: "lg";
37
+ none: "none";
38
+ "2xs": "2xs";
39
+ xs: "xs";
40
+ xl: "xl";
41
+ "2xl": "2xl";
42
+ "3xl": "3xl";
43
+ "4xl": "4xl";
44
+ "5xl": "5xl";
45
+ "6xl": "6xl";
46
+ "7xl": "7xl";
47
+ None: "None";
48
+ "2Xs": "2Xs";
49
+ Xs: "Xs";
50
+ Sm: "Sm";
51
+ Md: "Md";
52
+ Lg: "Lg";
53
+ Xl: "Xl";
54
+ "2Xl": "2Xl";
55
+ "3Xl": "3Xl";
56
+ "4Xl": "4Xl";
57
+ "5Xl": "5Xl";
58
+ "6Xl": "6Xl";
59
+ "7Xl": "7Xl";
60
+ }>>;
61
+ layout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
62
+ sm: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
63
+ md: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
64
+ lg: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
65
+ }, z.core.$strip>]>>>;
66
+ component: z.ZodLiteral<"Video">;
67
+ video: z.ZodObject<{
68
+ src: z.ZodString;
69
+ type: z.ZodString;
70
+ }, z.core.$strip>;
71
+ preview: z.ZodString;
72
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
73
+ "1/1": "1/1";
74
+ "3/4": "3/4";
75
+ "16/9": "16/9";
76
+ "21/9": "21/9";
77
+ "32/9": "32/9";
78
+ "48/9": "48/9";
79
+ }>>;
80
+ caption: z.ZodOptional<z.ZodString>;
81
+ roundedCorners: z.ZodOptional<z.ZodBoolean>;
82
+ }, z.core.$loose>;
83
+ export declare const validateVideoProps: (props: unknown) => ValidationResult<VideoCmsProps>;
84
+ export declare const isVideoProps: (props: unknown) => props is VideoCmsProps;
@@ -0,0 +1 @@
1
+ export {};
@@ -7,7 +7,7 @@ import styled from "styled-components";
7
7
  import { translateLayoutPropsToCss } from "../../foundations/layout/index.js";
8
8
  import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
9
9
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
10
- import { b as borderRadiusMd } from "../../BorderRadius-Co-IV3fn.js";
10
+ import { b as borderRadiusMd } from "../../BorderRadius-0jhn76gB.js";
11
11
  import { s as spacingMd } from "../../Spacing-Dj-qX3Z5.js";
12
12
  import { s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.js";
13
13
  import { a as consentVariantVideo } from "../../ButtonWidthBehavior-DuO_4JKC.js";
@@ -82,6 +82,7 @@ import { ToggleButtonProps } from '../../components/ToggleButton/props';
82
82
  import { ToggleButtonProviderProps } from '../../components/ToggleButtonProvider/props';
83
83
  import { TrayProps } from '../../components/Tray/props';
84
84
  import { UtilityLinkProps } from '../../components/UtilityLink/props';
85
+ import { VideoProps } from '../../components/Video/props';
85
86
  import { YouTubeVideoProps } from '../../components/YouTubeVideo/props';
86
87
  import { CmsBrixComponentProps, CmsProps, MinimalCmsProps } from '../../foundations/BrixComponentProps';
87
88
  import { GridConfig } from '../../foundations/GridConfig';
@@ -168,6 +169,7 @@ export type ToggleButtonCmsProps = CmsProps<ToggleButtonProps>;
168
169
  export type ToggleButtonProviderCmsProps = CmsProps<ToggleButtonProviderProps>;
169
170
  export type TrayCmsProps = CmsProps<TrayProps>;
170
171
  export type UtilityLinkCmsProps = CmsProps<UtilityLinkProps>;
172
+ export type VideoCmsProps = CmsProps<VideoProps>;
171
173
  export type YouTubeVideoCmsProps = CmsProps<YouTubeVideoProps>;
172
174
  export type TextListCmsProps = CmsProps<TextListProps>;
173
175
  export type TextListItemCmsProps = CmsProps<TextListItemProps>;
@@ -1,2 +1,2 @@
1
- export declare const contentFulComponentNames: readonly ["Accordion", "AccordionGroup", "ArtDirectedImage", "Badge", "Body", "BottomBar", "Button", "ButtonAsLink", "ButtonGroup", "Calendar", "Card", "Callout", "CarouselItem", "Carousel", "Checkbox", "CheckboxGroup", "ColorSwatch", "ColorSwatchGroup", "Container", "ConsentMessage", "DateInput", "Dialog", "Divider", "DiscoveryCard", "DiscoveryCardGroup", "EnergySnippet", "FeatureCard", "FeatureCardGroup", "Fieldset", "Filter", "FilterGroup", "Flex", "Footnote", "Form", "FootnoteLink", "FootnoteSection", "GoogleMap", "Grid", "GridItem", "Heading", "HifiIcon", "IconButton", "IconLoader", "IconSnippet", "IconSnippetList", "Image", "ImageHeader", "InfoBanner", "Input", "InputGroup", "Label", "PasswordInput", "Legend", "Link", "LinkAsButton", "LinkList", "LinkListItem", "LoadingSpinner", "MarTechPlaceholder", "MediaText", "Notification", "QuickLink", "QuickLinkList", "Radio", "RadioGroup", "Rating", "Picker", "PickerGroup", "Price", "ProductCard", "TabularPrice", "Textarea", "TextList", "TextListItem", "TimeInput", "ToggleButton", "ToggleButtonProvider", "RichTextContentful", "SearchInput", "SelectInput", "Stepper", "SuggestInput", "Switch", "TabGroup", "Tray", "UtilityLink", "YouTubeVideo"];
1
+ export declare const contentFulComponentNames: readonly ["Accordion", "AccordionGroup", "ArtDirectedImage", "Badge", "Body", "BottomBar", "Button", "ButtonAsLink", "ButtonGroup", "Calendar", "Card", "Callout", "CarouselItem", "Carousel", "Checkbox", "CheckboxGroup", "ColorSwatch", "ColorSwatchGroup", "Container", "ConsentMessage", "DateInput", "Dialog", "Divider", "DiscoveryCard", "DiscoveryCardGroup", "EnergySnippet", "FeatureCard", "FeatureCardGroup", "Fieldset", "Filter", "FilterGroup", "Flex", "Footnote", "Form", "FootnoteLink", "FootnoteSection", "GoogleMap", "Grid", "GridItem", "Heading", "HifiIcon", "IconButton", "IconLoader", "IconSnippet", "IconSnippetList", "Image", "ImageHeader", "InfoBanner", "Input", "InputGroup", "Label", "PasswordInput", "Legend", "Link", "LinkAsButton", "LinkList", "LinkListItem", "LoadingSpinner", "MarTechPlaceholder", "MediaText", "Notification", "QuickLink", "QuickLinkList", "Radio", "RadioGroup", "Rating", "Picker", "PickerGroup", "Price", "ProductCard", "TabularPrice", "Textarea", "TextList", "TextListItem", "TimeInput", "ToggleButton", "ToggleButtonProvider", "RichTextContentful", "SearchInput", "SelectInput", "Stepper", "SuggestInput", "Switch", "TabGroup", "Tray", "UtilityLink", "Video", "YouTubeVideo"];
2
2
  export type ContentFulComponentName = (typeof contentFulComponentNames)[number];
@@ -1,2 +1,2 @@
1
- import { AccordionCmsProps, AccordionGroupCmsProps, ArtDirectedImageCmsProps, BadgeCmsProps, BodyCmsProps, BottomBarCmsProps, ButtonAsLinkCmsProps, ButtonCmsProps, ButtonGroupCmsProps, CalendarCmsProps, CalloutCmsProps, CardCmsProps, CarouselCmsProps, CarouselItemCmsProps, CheckboxCmsProps, CheckboxGroupCmsProps, ColorSwatchCmsProps, ColorSwatchGroupCmsProps, ConsentMessageCmsProps, ContainerCmsProps, DateInputCmsProps, DialogCmsProps, DiscoveryCardCmsProps, DiscoveryCardGroupCmsProps, DividerCmsProps, EnergySnippetCmsProps, FeatureCardCmsProps, FeatureCardGroupCmsProps, FilterCmsProps, FilterGroupCmsProps, FlexCmsProps, FootnoteCmsProps, FootnoteLinkCmsProps, FootnoteSectionCmsProps, FormCmsProps, GoogleMapCmsProps, GridCmsProps, GridItemCmsProps, HeadingCmsProps, HifiIconCmsProps, IconButtonCmsProps, IconLoaderCmsProps, IconSnippetCmsProps, IconSnippetListCmsProps, ImageCmsProps, ImageHeaderCmsProps, InfoBannerCmsProps, InputGroupCmsProps, InputCmsProps, LabelCmsProps, LinkAsButtonCmsProps, LinkCmsProps, LinkListCmsProps, LinkListItemCmsProps, LoadingSpinnerCmsProps, MarTechPlaceholderCmsProps, MediaTextCmsProps, NotificationCmsProps, PriceCmsProps, ProductCardCmsProps, QuickLinkCmsProps, QuickLinkListCmsProps, RadioCmsProps, RadioGroupCmsProps, RatingCmsProps, RichTextContentfulCmsProps, SearchInputCmsProps, SelectInputCmsProps, StepperCmsProps, SuggestInputCmsProps, SwitchCmsProps, TabGroupCmsProps, TabularPriceCmsProps, TextareaCmsProps, TextListCmsProps, TextListItemCmsProps, TimeInputCmsProps, ToggleButtonCmsProps, ToggleButtonProviderCmsProps, TrayCmsProps, UtilityLinkCmsProps, YouTubeVideoCmsProps } from '../props';
2
- export type SupportedBrixComponentsProps = AccordionGroupCmsProps | AccordionCmsProps | ArtDirectedImageCmsProps | BadgeCmsProps | BodyCmsProps | BottomBarCmsProps | ButtonGroupCmsProps | ButtonCmsProps | ButtonAsLinkCmsProps | CalendarCmsProps | CardCmsProps | CalloutCmsProps | CarouselCmsProps | CarouselItemCmsProps | CheckboxCmsProps | CheckboxGroupCmsProps | ColorSwatchCmsProps | ColorSwatchGroupCmsProps | ConsentMessageCmsProps | ContainerCmsProps | DateInputCmsProps | DialogCmsProps | DiscoveryCardGroupCmsProps | DiscoveryCardCmsProps | DividerCmsProps | EnergySnippetCmsProps | FeatureCardCmsProps | FeatureCardGroupCmsProps | FilterCmsProps | FilterGroupCmsProps | FlexCmsProps | FootnoteCmsProps | FormCmsProps | FootnoteSectionCmsProps | FootnoteLinkCmsProps | GoogleMapCmsProps | GridItemCmsProps | GridCmsProps | HeadingCmsProps | HifiIconCmsProps | IconButtonCmsProps | IconLoaderCmsProps | IconSnippetListCmsProps | IconSnippetCmsProps | ImageCmsProps | ImageHeaderCmsProps | InfoBannerCmsProps | InputGroupCmsProps | InputCmsProps | LabelCmsProps | LinkListItemCmsProps | LinkListCmsProps | LinkCmsProps | LinkAsButtonCmsProps | LoadingSpinnerCmsProps | MarTechPlaceholderCmsProps | MediaTextCmsProps | NotificationCmsProps | PriceCmsProps | ProductCardCmsProps | QuickLinkCmsProps | QuickLinkListCmsProps | RadioCmsProps | RadioGroupCmsProps | RatingCmsProps | RichTextContentfulCmsProps | SearchInputCmsProps | SelectInputCmsProps | StepperCmsProps | SuggestInputCmsProps | SwitchCmsProps | TabGroupCmsProps | TabularPriceCmsProps | TextareaCmsProps | TextListCmsProps | TextListItemCmsProps | TimeInputCmsProps | ToggleButtonCmsProps | ToggleButtonProviderCmsProps | TrayCmsProps | UtilityLinkCmsProps | YouTubeVideoCmsProps;
1
+ import { AccordionCmsProps, AccordionGroupCmsProps, ArtDirectedImageCmsProps, BadgeCmsProps, BodyCmsProps, BottomBarCmsProps, ButtonAsLinkCmsProps, ButtonCmsProps, ButtonGroupCmsProps, CalendarCmsProps, CalloutCmsProps, CardCmsProps, CarouselCmsProps, CarouselItemCmsProps, CheckboxCmsProps, CheckboxGroupCmsProps, ColorSwatchCmsProps, ColorSwatchGroupCmsProps, ConsentMessageCmsProps, ContainerCmsProps, DateInputCmsProps, DialogCmsProps, DiscoveryCardCmsProps, DiscoveryCardGroupCmsProps, DividerCmsProps, EnergySnippetCmsProps, FeatureCardCmsProps, FeatureCardGroupCmsProps, FilterCmsProps, FilterGroupCmsProps, FlexCmsProps, FootnoteCmsProps, FootnoteLinkCmsProps, FootnoteSectionCmsProps, FormCmsProps, GoogleMapCmsProps, GridCmsProps, GridItemCmsProps, HeadingCmsProps, HifiIconCmsProps, IconButtonCmsProps, IconLoaderCmsProps, IconSnippetCmsProps, IconSnippetListCmsProps, ImageCmsProps, ImageHeaderCmsProps, InfoBannerCmsProps, InputGroupCmsProps, InputCmsProps, LabelCmsProps, LinkAsButtonCmsProps, LinkCmsProps, LinkListCmsProps, LinkListItemCmsProps, LoadingSpinnerCmsProps, MarTechPlaceholderCmsProps, MediaTextCmsProps, NotificationCmsProps, PriceCmsProps, ProductCardCmsProps, QuickLinkCmsProps, QuickLinkListCmsProps, RadioCmsProps, RadioGroupCmsProps, RatingCmsProps, RichTextContentfulCmsProps, SearchInputCmsProps, SelectInputCmsProps, StepperCmsProps, SuggestInputCmsProps, SwitchCmsProps, TabGroupCmsProps, TabularPriceCmsProps, TextareaCmsProps, TextListCmsProps, TextListItemCmsProps, TimeInputCmsProps, ToggleButtonCmsProps, ToggleButtonProviderCmsProps, TrayCmsProps, UtilityLinkCmsProps, VideoCmsProps, YouTubeVideoCmsProps } from '../props';
2
+ export type SupportedBrixComponentsProps = AccordionGroupCmsProps | AccordionCmsProps | ArtDirectedImageCmsProps | BadgeCmsProps | BodyCmsProps | BottomBarCmsProps | ButtonGroupCmsProps | ButtonCmsProps | ButtonAsLinkCmsProps | CalendarCmsProps | CardCmsProps | CalloutCmsProps | CarouselCmsProps | CarouselItemCmsProps | CheckboxCmsProps | CheckboxGroupCmsProps | ColorSwatchCmsProps | ColorSwatchGroupCmsProps | ConsentMessageCmsProps | ContainerCmsProps | DateInputCmsProps | DialogCmsProps | DiscoveryCardGroupCmsProps | DiscoveryCardCmsProps | DividerCmsProps | EnergySnippetCmsProps | FeatureCardCmsProps | FeatureCardGroupCmsProps | FilterCmsProps | FilterGroupCmsProps | FlexCmsProps | FootnoteCmsProps | FormCmsProps | FootnoteSectionCmsProps | FootnoteLinkCmsProps | GoogleMapCmsProps | GridItemCmsProps | GridCmsProps | HeadingCmsProps | HifiIconCmsProps | IconButtonCmsProps | IconLoaderCmsProps | IconSnippetListCmsProps | IconSnippetCmsProps | ImageCmsProps | ImageHeaderCmsProps | InfoBannerCmsProps | InputGroupCmsProps | InputCmsProps | LabelCmsProps | LinkListItemCmsProps | LinkListCmsProps | LinkCmsProps | LinkAsButtonCmsProps | LoadingSpinnerCmsProps | MarTechPlaceholderCmsProps | MediaTextCmsProps | NotificationCmsProps | PriceCmsProps | ProductCardCmsProps | QuickLinkCmsProps | QuickLinkListCmsProps | RadioCmsProps | RadioGroupCmsProps | RatingCmsProps | RichTextContentfulCmsProps | SearchInputCmsProps | SelectInputCmsProps | StepperCmsProps | SuggestInputCmsProps | SwitchCmsProps | TabGroupCmsProps | TabularPriceCmsProps | TextareaCmsProps | TextListCmsProps | TextListItemCmsProps | TimeInputCmsProps | ToggleButtonCmsProps | ToggleButtonProviderCmsProps | TrayCmsProps | UtilityLinkCmsProps | VideoCmsProps | YouTubeVideoCmsProps;
@@ -1,4 +1,4 @@
1
- const contentFulComponentNames = ["Accordion", "AccordionGroup", "ArtDirectedImage", "Badge", "Body", "BottomBar", "Button", "ButtonAsLink", "ButtonGroup", "Calendar", "Card", "Callout", "CarouselItem", "Carousel", "Checkbox", "CheckboxGroup", "ColorSwatch", "ColorSwatchGroup", "Container", "ConsentMessage", "DateInput", "Dialog", "Divider", "DiscoveryCard", "DiscoveryCardGroup", "EnergySnippet", "FeatureCard", "FeatureCardGroup", "Fieldset", "Filter", "FilterGroup", "Flex", "Footnote", "Form", "FootnoteLink", "FootnoteSection", "GoogleMap", "Grid", "GridItem", "Heading", "HifiIcon", "IconButton", "IconLoader", "IconSnippet", "IconSnippetList", "Image", "ImageHeader", "InfoBanner", "Input", "InputGroup", "Label", "PasswordInput", "Legend", "Link", "LinkAsButton", "LinkList", "LinkListItem", "LoadingSpinner", "MarTechPlaceholder", "MediaText", "Notification", "QuickLink", "QuickLinkList", "Radio", "RadioGroup", "Rating", "Picker", "PickerGroup", "Price", "ProductCard", "TabularPrice", "Textarea", "TextList", "TextListItem", "TimeInput", "ToggleButton", "ToggleButtonProvider", "RichTextContentful", "SearchInput", "SelectInput", "Stepper", "SuggestInput", "Switch", "TabGroup", "Tray", "UtilityLink", "YouTubeVideo"];
1
+ const contentFulComponentNames = ["Accordion", "AccordionGroup", "ArtDirectedImage", "Badge", "Body", "BottomBar", "Button", "ButtonAsLink", "ButtonGroup", "Calendar", "Card", "Callout", "CarouselItem", "Carousel", "Checkbox", "CheckboxGroup", "ColorSwatch", "ColorSwatchGroup", "Container", "ConsentMessage", "DateInput", "Dialog", "Divider", "DiscoveryCard", "DiscoveryCardGroup", "EnergySnippet", "FeatureCard", "FeatureCardGroup", "Fieldset", "Filter", "FilterGroup", "Flex", "Footnote", "Form", "FootnoteLink", "FootnoteSection", "GoogleMap", "Grid", "GridItem", "Heading", "HifiIcon", "IconButton", "IconLoader", "IconSnippet", "IconSnippetList", "Image", "ImageHeader", "InfoBanner", "Input", "InputGroup", "Label", "PasswordInput", "Legend", "Link", "LinkAsButton", "LinkList", "LinkListItem", "LoadingSpinner", "MarTechPlaceholder", "MediaText", "Notification", "QuickLink", "QuickLinkList", "Radio", "RadioGroup", "Rating", "Picker", "PickerGroup", "Price", "ProductCard", "TabularPrice", "Textarea", "TextList", "TextListItem", "TimeInput", "ToggleButton", "ToggleButtonProvider", "RichTextContentful", "SearchInput", "SelectInput", "Stepper", "SuggestInput", "Switch", "TabGroup", "Tray", "UtilityLink", "Video", "YouTubeVideo"];
2
2
  export {
3
3
  contentFulComponentNames
4
4
  };
@@ -95,6 +95,7 @@ export { validateToggleButtonProps } from '../../components/ToggleButton/validat
95
95
  export { validateToggleButtonProviderProps } from '../../components/ToggleButtonProvider/validate';
96
96
  export { validateTrayProps } from '../../components/Tray/validate';
97
97
  export { validateUtilityLinkProps } from '../../components/UtilityLink/validate';
98
+ export { validateVideoProps } from '../../components/Video/validate';
98
99
  export { validateYouTubeVideoProps } from '../../components/YouTubeVideo/validate';
99
100
  export { validateBrixComponentProps, validateMinimalCmsProps } from '../../foundations/BrixComponentProps/validate';
100
101
  export { validateGridConfig } from '../../foundations/GridConfig/validate';
@@ -1,6 +1,6 @@
1
1
  import { h as spacings } from "../../Spacing-Dj-qX3Z5.js";
2
2
  import { b as bodyComponentName } from "../../componentName-BoJP6JLf.js";
3
- import { e as buttonComponentName, f as buttonAsLinkComponentName, g as buttonGroupComponentName, h as flexComponentName, d as notificationStatuses } from "../../props-BPxy0GPb.js";
3
+ import { g as buttonComponentName, h as buttonAsLinkComponentName, e as buttonGroupComponentName, f as flexComponentName, d as notificationStatuses } from "../../props-Bod9bL2v.js";
4
4
  import { h as headingComponentName } from "../../componentName-C1oXAOj7.js";
5
5
  import { i as imageComponentName, y as youTubeVideoComponentName, c as mediaTextPositions } from "../../props-B9bM_KV-.js";
6
6
  import { h as inlineLinkComponentName, l as linkAsButtonComponentName, g as iconSnippetTags, b as iconSnippetAligns, f as iconSnippetOrientations, c as iconSnippetIconSizes } from "../../props-BCMLpYc6.js";
@@ -10,7 +10,7 @@ import { a as richTextComponentName, r as richTextContentfulComponentName, B as
10
10
  import { c as fontWeights } from "../../FontWeight-C8c-UnWu.js";
11
11
  import { e as textHeadingSizes } from "../../HeadingSize-O__w72MO.js";
12
12
  import { b as headingAligns, c as headingTags } from "../../props-GrMT6XLD.js";
13
- import { g as aspectRatios, m as imageObjectPositions, l as imageObjectFits } from "../../props-CLadRD1u.js";
13
+ import { g as aspectRatios, l as imageObjectFits } from "../../props-CLadRD1u.js";
14
14
  import { b as badgeAppearances, a as badgeSizes } from "../../props-Dt5kqR3j.js";
15
15
  import { b as textBodySize } from "../../TextBodySize-CP9q4gRv.js";
16
16
  import { e as bodyTags, d as bodyAligns } from "../../props-DxcKxrWg.js";
@@ -24,11 +24,12 @@ import { a as inputStateSuccess, i as inputStateError } from "../../props-Czq9XX
24
24
  import { a as colorSwatchSizeSmall, c as colorSwatchSizeMedium } from "../../props-D2ykLHP1.js";
25
25
  import { e as containerAppearances, f as containerPaddings, g as containerTags } from "../../props-A95cwKat.js";
26
26
  import { l as linkAppearances } from "../../props-DTToXJmH.js";
27
- import { i as priceSizes, b as priceAligns, e as priceOrientations, t as tabularPricePrefixWeights } from "../../props-P3bM0HEk.js";
27
+ import { i as priceSizes, b as priceAligns, e as priceOrientations } from "../../props-E4PNCuS6.js";
28
28
  import { b as discoveryCardOrientations, a as discoveryCardOrientationVertical, d as discoveryCardOrientationHorizontal } from "../../props-DjRkcEE8.js";
29
29
  import { a as energySnippetOrientations, b as energySnippetSizes, e as energyClasses } from "../../props-DFHEdEnk.js";
30
30
  import { i as iconSizes } from "../../props-BBT_7iiy.js";
31
31
  import { p as positionTypes } from "../../PositionType-BIdZQO2H.js";
32
+ import { a as cornerStyles } from "../../CornerStyle-n77nckhh.js";
32
33
  import { b as gridItemTags, g as gridAligns, c as gridTags } from "../../props-B4dAdfyc.js";
33
34
  import { h as hifiIconSizes } from "../../props-BgLhK53x.js";
34
35
  import { b as iconButtonShapes } from "../../props-B_ZIEzzu.js";
@@ -38,6 +39,7 @@ import { l as linkListItemOrientations } from "../../props-KyOo_gFu.js";
38
39
  import { b as linkListVariants } from "../../props-DSy1T2sH.js";
39
40
  import { o as overlayAppearancePrimary, a as overlayAppearanceSecondary } from "../../props-BYequ6c_.js";
40
41
  import { t as tabGroupWidth, c as tabIconPositions } from "../../props-eUlhO4k_.js";
42
+ import { t as tabularPricePrefixWeights } from "../../props-n71pckjd.js";
41
43
  var iconNames = [
42
44
  "AbTest",
43
45
  "Above28",
@@ -15136,7 +15138,8 @@ const toggleButtonComponentName = "ToggleButton";
15136
15138
  const toggleButtonProviderComponentName = "ToggleButtonProvider";
15137
15139
  const trayComponentName = "Tray";
15138
15140
  const utilityLinkComponentName = "UtilityLink";
15139
- const componentNames = [accordionComponentName, accordionGroupComponentName, artDirectedImageComponentName, badgeComponentName, bodyComponentName, bottomBarComponentName, buttonComponentName, buttonAsLinkComponentName, buttonGroupComponentName, calendarComponentName, cardComponentName, calloutComponentName, carouselItemComponentName, carouselComponentName, checkboxComponentName, checkboxGroupComponentName, collapsibleComponentName, colorSwatchComponentName, colorSwatchGroupComponentName, consentMessageComponentName, containerComponentName, dateInputComponentName, demoBoxComponentName, dialogComponentName, discoveryCardComponentName, discoveryCardGroupComponentName, dividerComponentName, energySnippetComponentName, featureCardComponentName, featureCardGroupComponentName, fieldsetComponentName, filterComponentName, filterGroupComponentName, flexComponentName, flexItemComponentName, footnoteComponentName, footnoteSectionComponentName, footnoteContentComponentName, footnoteLinkComponentName, formComponentName, formElementComponentName, formHelperMessageComponentName, googleMapComponentName, gridComponentName, gridItemComponentName, headingComponentName, hifiIconComponentName, iconComponentName, iconButtonComponentName, iconLoaderComponentName, iconSnippetComponentName, iconSnippetListComponentName, imageComponentName, imageHeaderComponentName, infoBannerComponentName, inlineIconComponentName, inlineLinkComponentName, inputComponentName, passwordInputComponentName, inputGroupComponentName, labelComponentName, legendComponentName, linkComponentName, linkAsButtonComponentName, linkListComponentName, linkListItemComponentName, linkListItemAsButtonComponentName, loadingSpinnerComponentName, localStyleComponentName, mediaTextComponentName, marTechPlaceholderComponentName, notificationComponentName, openTextFootnoteAdapterComponentName, overlayComponentName, pickerComponentName, pickerGroupComponentName, priceComponentName, productCardComponentName, quickLinkComponentName, quickLinkListComponentName, radioComponentName, radioGroupComponentName, ratingComponentName, richTextComponentName, richTextContentfulComponentName, screenreaderOnlyComponentName, searchInputComponentName, selectInputComponentName, smoothScrollAreaComponentName, stepperComponentName, suggestInputComponentName, switchComponentName, tabGroupComponentName, tableComponentName, tabularPriceComponentName, textareaComponentName, textListItemComponentName, textListComponentName, timeInputComponentName, toggleButtonComponentName, toggleButtonProviderComponentName, trayComponentName, utilityLinkComponentName, youTubeVideoComponentName];
15141
+ const videoComponentName = "Video";
15142
+ const componentNames = [accordionComponentName, accordionGroupComponentName, artDirectedImageComponentName, badgeComponentName, bodyComponentName, bottomBarComponentName, buttonComponentName, buttonAsLinkComponentName, buttonGroupComponentName, calendarComponentName, cardComponentName, calloutComponentName, carouselItemComponentName, carouselComponentName, checkboxComponentName, checkboxGroupComponentName, collapsibleComponentName, colorSwatchComponentName, colorSwatchGroupComponentName, consentMessageComponentName, containerComponentName, dateInputComponentName, demoBoxComponentName, dialogComponentName, discoveryCardComponentName, discoveryCardGroupComponentName, dividerComponentName, energySnippetComponentName, featureCardComponentName, featureCardGroupComponentName, fieldsetComponentName, filterComponentName, filterGroupComponentName, flexComponentName, flexItemComponentName, footnoteComponentName, footnoteSectionComponentName, footnoteContentComponentName, footnoteLinkComponentName, formComponentName, formElementComponentName, formHelperMessageComponentName, googleMapComponentName, gridComponentName, gridItemComponentName, headingComponentName, hifiIconComponentName, iconComponentName, iconButtonComponentName, iconLoaderComponentName, iconSnippetComponentName, iconSnippetListComponentName, imageComponentName, imageHeaderComponentName, infoBannerComponentName, inlineIconComponentName, inlineLinkComponentName, inputComponentName, passwordInputComponentName, inputGroupComponentName, labelComponentName, legendComponentName, linkComponentName, linkAsButtonComponentName, linkListComponentName, linkListItemComponentName, linkListItemAsButtonComponentName, loadingSpinnerComponentName, localStyleComponentName, mediaTextComponentName, marTechPlaceholderComponentName, notificationComponentName, openTextFootnoteAdapterComponentName, overlayComponentName, pickerComponentName, pickerGroupComponentName, priceComponentName, productCardComponentName, quickLinkComponentName, quickLinkListComponentName, radioComponentName, radioGroupComponentName, ratingComponentName, richTextComponentName, richTextContentfulComponentName, screenreaderOnlyComponentName, searchInputComponentName, selectInputComponentName, smoothScrollAreaComponentName, stepperComponentName, suggestInputComponentName, switchComponentName, tabGroupComponentName, tableComponentName, tabularPriceComponentName, textareaComponentName, textListItemComponentName, textListComponentName, timeInputComponentName, toggleButtonComponentName, toggleButtonProviderComponentName, trayComponentName, utilityLinkComponentName, videoComponentName, youTubeVideoComponentName];
15140
15143
  const minimalPropsSchema = looseObject({
15141
15144
  component: _enum(componentNames),
15142
15145
  uid: string$1().trim().nonempty()
@@ -15272,7 +15275,7 @@ const accordionSchema = cmsBrixComponentPropsSchema.extend({
15272
15275
  size: true,
15273
15276
  bottomSpacing: true
15274
15277
  }),
15275
- iconName: z.enum(iconNames).optional(),
15278
+ icon: z.enum(iconNames).optional(),
15276
15279
  expanded: z.boolean().optional(),
15277
15280
  verticalScrollOffset: z.number().optional(),
15278
15281
  handleOnToggle: z.function().optional()
@@ -15311,7 +15314,6 @@ const validateAccordionGroupProps = (props) => {
15311
15314
  const imageSchema = cmsBrixComponentPropsSchema.extend({
15312
15315
  component: z.literal(imageComponentName),
15313
15316
  objectFit: z.enum(imageObjectFits).optional(),
15314
- objectPosition: z.enum(imageObjectPositions).optional(),
15315
15317
  roundedCorners: z.boolean().optional(),
15316
15318
  src: z.string().trim().nonempty(),
15317
15319
  alt: z.string().optional(),
@@ -16596,7 +16598,7 @@ const validateFormHelperStatusIconProps = (props) => {
16596
16598
  data: result.data
16597
16599
  };
16598
16600
  };
16599
- const viewportHeightSchema = z.object({
16601
+ const heightSchema = z.object({
16600
16602
  sm: z.number().positive(),
16601
16603
  md: z.number().positive().optional(),
16602
16604
  lg: z.number().positive().optional()
@@ -16604,8 +16606,10 @@ const viewportHeightSchema = z.object({
16604
16606
  const googleMapSchema = cmsPatternPropsSchema.extend({
16605
16607
  component: z.literal(googleMapComponentName),
16606
16608
  apiKey: z.string().trim().nonempty(),
16607
- viewportHeight: viewportHeightSchema,
16609
+ height: heightSchema.optional(),
16610
+ viewportHeight: heightSchema.optional(),
16608
16611
  roundedCorners: z.boolean().optional(),
16612
+ corners: z.enum(cornerStyles).optional(),
16609
16613
  consentMessage: consentMessageSchema.omit({
16610
16614
  variant: true
16611
16615
  }),
@@ -16916,7 +16920,6 @@ const linkListItemSchema = cmsBrixComponentPropsSchema.extend({
16916
16920
  size: true,
16917
16921
  bottomSpacing: true
16918
16922
  }).optional(),
16919
- isLastItemInList: z.boolean().optional(),
16920
16923
  elevation: z.boolean().optional(),
16921
16924
  href: z.string().trim().nonempty().optional()
16922
16925
  });
@@ -17689,6 +17692,31 @@ const validateTrayProps = (props) => {
17689
17692
  data: result.data
17690
17693
  };
17691
17694
  };
17695
+ const videoSourceSchema = z.object({
17696
+ src: z.string().trim().nonempty(),
17697
+ type: z.string().trim().nonempty()
17698
+ });
17699
+ const videoSchema = cmsBrixComponentPropsSchema.extend({
17700
+ component: z.literal(videoComponentName),
17701
+ video: videoSourceSchema,
17702
+ preview: z.string().trim().nonempty(),
17703
+ aspectRatio: z.enum(aspectRatios).optional(),
17704
+ caption: z.string().trim().nonempty().optional(),
17705
+ roundedCorners: z.boolean().optional()
17706
+ });
17707
+ const validateVideoProps = (props) => {
17708
+ const result = videoSchema.safeParse(props);
17709
+ if (!result.success) {
17710
+ return {
17711
+ ok: false,
17712
+ issues: result.error.issues
17713
+ };
17714
+ }
17715
+ return {
17716
+ ok: true,
17717
+ data: result.data
17718
+ };
17719
+ };
17692
17720
  export {
17693
17721
  validateAccordionGroupProps,
17694
17722
  validateAccordionProps,
@@ -17792,5 +17820,6 @@ export {
17792
17820
  validateToggleButtonProviderProps,
17793
17821
  validateTrayProps,
17794
17822
  validateUtilityLinkProps,
17823
+ validateVideoProps,
17795
17824
  validateYouTubeVideoProps
17796
17825
  };
@@ -147,7 +147,8 @@ const iconColors = {
147
147
  dark: colorVodafoneWhite
148
148
  },
149
149
  colorIconNeutralStatic: {
150
- light: colorBlack95
150
+ light: colorBlack95,
151
+ dark: colorBlack95
151
152
  },
152
153
  colorIconInverse: {
153
154
  light: colorVodafoneWhite,
@@ -250,6 +251,113 @@ const textColors = {
250
251
  dark: colorBlack25
251
252
  }
252
253
  };
254
+ const typographyAndIconSizeCssVars = `
255
+ :root {
256
+ --bodyMdFontSize: var(--fontSize16);
257
+ --bodyMdLineHeight: var(--lineHeight125);
258
+
259
+ @media screen and (min-width: ${breakpoint_medium}) {
260
+ --bodyMdFontSize: var(--fontSize18);
261
+ --bodyMdLineHeight: var(--lineHeight144);
262
+ }
263
+
264
+ --bodySmFontSize: var(--fontSize14);
265
+ --bodySmLineHeight: var(--lineHeight128);
266
+
267
+ --headingXlFontSize: var(--fontSize32);
268
+ --headingXlLineHeight: var(--lineHeight125);
269
+
270
+ @media screen and (min-width: ${breakpoint_medium}) {
271
+ --headingXlFontSize: var(--fontSize56);
272
+ --headingXlLineHeight: var(--lineHeight114);
273
+ }
274
+ @media screen and (min-width: ${breakpoint_large}) {
275
+ --headingXlFontSize: var(--fontSize64);
276
+ --headingXlLineHeight: var(--lineHeight112);
277
+ }
278
+
279
+ --headingLgFontSize: var(--fontSize28);
280
+ --headingLgLineHeight: var(--lineHeight128);
281
+
282
+ @media screen and (min-width: ${breakpoint_medium}) {
283
+ --headingLgFontSize: var(--fontSize40);
284
+ --headingLgLineHeight: var(--lineHeight120);
285
+ }
286
+ @media screen and (min-width: ${breakpoint_large}) {
287
+ --headingLgFontSize: var(--fontSize56);
288
+ --headingLgLineHeight: var(--lineHeight114);
289
+ }
290
+
291
+ --headingMdFontSize: var(--fontSize24);
292
+ --headingMdLineHeight: var(--lineHeight133);
293
+
294
+ @media screen and (min-width: ${breakpoint_medium}) {
295
+ --headingMdFontSize: var(--fontSize32);
296
+ --headingMdLineHeight: var(--lineHeight125);
297
+ }
298
+ @media screen and (min-width: ${breakpoint_large}) {
299
+ --headingMdFontSize: var(--fontSize40);
300
+ --headingMdLineHeight: var(--lineHeight120);
301
+ }
302
+
303
+ --headingSmFontSize: var(--fontSize20);
304
+ --headingSmLineHeight: var(--lineHeight140);
305
+
306
+ @media screen and (min-width: ${breakpoint_medium}) {
307
+ --headingSmFontSize: var(--fontSize24);
308
+ --headingSmLineHeight: var(--lineHeight133);
309
+ }
310
+ @media screen and (min-width: ${breakpoint_large}) {
311
+ --headingSmFontSize: var(--fontSize28);
312
+ --headingSmLineHeight: var(--lineHeight128);
313
+ }
314
+
315
+ --headingXsFontSize: var(--fontSize18);
316
+ --headingXsLineHeight: var(--lineHeight144);
317
+
318
+ @media screen and (min-width: ${breakpoint_medium}) {
319
+ --headingXsFontSize: var(--fontSize20);
320
+ --headingXsLineHeight: var(--lineHeight140);
321
+ }
322
+ @media screen and (min-width: ${breakpoint_large}) {
323
+ --headingXsFontSize: var(--fontSize20);
324
+ --headingXsLineHeight: var(--lineHeight140);
325
+ }
326
+ }
327
+ :root {
328
+ --iconSize2xs: 16px;
329
+ --iconSizeXs: 20px;
330
+ --iconSizeSm: 20px;
331
+ --iconSizeMd: 24px;
332
+ --iconSizeLg: 32px;
333
+ --iconSizeXl: 36px;
334
+ --iconSize2xl: 40px;
335
+ --iconSize3xl: 48px;
336
+ --iconSize4xl: 56px;
337
+ --iconSize5xl: 64px;
338
+ --iconSize6xl: 72px;
339
+ --iconSize7xl: 84px;
340
+ --iconSize8xl: 96px;
341
+ --iconSize9xl: 120px;
342
+
343
+ @media screen and (min-width: ${breakpoint_medium}) {
344
+ --iconSize2xs: 16px;
345
+ --iconSizeXs: 20px;
346
+ --iconSizeSm: 24px;
347
+ --iconSizeMd: 32px;
348
+ --iconSizeLg: 36px;
349
+ --iconSizeXl: 40px;
350
+ --iconSize2xl: 48px;
351
+ --iconSize3xl: 56px;
352
+ --iconSize4xl: 64px;
353
+ --iconSize5xl: 72px;
354
+ --iconSize6xl: 84px;
355
+ --iconSize7xl: 96px;
356
+ --iconSize8xl: 120px;
357
+ --iconSize9xl: 192px;
358
+ }
359
+ }
360
+ `;
253
361
  const cssVarsString = `
254
362
  :root {
255
363
 
@@ -549,7 +657,7 @@ const cssVarsString = `
549
657
 
550
658
  --colorIconBrand: var(--${iconColors.colorIconBrand.dark});
551
659
  --colorIconNeutral: var(--${iconColors.colorIconNeutral.dark});
552
- --colorIconNeutralStatic: var(--${iconColors.colorIconBrand.dark});
660
+ --colorIconNeutralStatic: var(--${iconColors.colorIconNeutralStatic.dark});
553
661
  --colorIconInverse: var(--${iconColors.colorIconInverse.dark});
554
662
  --colorIconInverseStatic: var(--${iconColors.colorIconInverseStatic.dark});
555
663
  --colorIconSuccess: var(--${iconColors.colorIconSuccess.dark});
@@ -637,7 +745,7 @@ const cssVarsString = `
637
745
 
638
746
  --colorIconBrand: var(--${iconColors.colorIconBrand.dark});
639
747
  --colorIconNeutral: var(--${iconColors.colorIconNeutral.dark});
640
- --colorIconNeutralStatic: var(--${iconColors.colorIconBrand.dark});
748
+ --colorIconNeutralStatic: var(--${iconColors.colorIconNeutralStatic.dark});
641
749
  --colorIconInverse: var(--${iconColors.colorIconInverse.dark});
642
750
  --colorIconInverseStatic: var(--${iconColors.colorIconInverseStatic.dark});
643
751
  --colorIconSuccess: var(--${iconColors.colorIconSuccess.dark});
@@ -649,111 +757,7 @@ const cssVarsString = `
649
757
  }
650
758
  }
651
759
  }
652
- :root {
653
- --bodyMdFontSize: var(--fontSize16);
654
- --bodyMdLineHeight: var(--lineHeight125);
655
-
656
- @media screen and (min-width: ${breakpoint_medium}) {
657
- --bodyMdFontSize: var(--fontSize18);
658
- --bodyMdLineHeight: var(--lineHeight144);
659
- }
660
-
661
- --bodySmFontSize: var(--fontSize14);
662
- --bodySmLineHeight: var(--lineHeight128);
663
-
664
- --headingXlFontSize: var(--fontSize32);
665
- --headingXlLineHeight: var(--lineHeight125);
666
-
667
- @media screen and (min-width: ${breakpoint_medium}) {
668
- --headingXlFontSize: var(--fontSize56);
669
- --headingXlLineHeight: var(--lineHeight114);
670
- }
671
- @media screen and (min-width: ${breakpoint_large}) {
672
- --headingXlFontSize: var(--fontSize64);
673
- --headingXlLineHeight: var(--lineHeight112);
674
- }
675
-
676
- --headingLgFontSize: var(--fontSize28);
677
- --headingLgLineHeight: var(--lineHeight128);
678
-
679
- @media screen and (min-width: ${breakpoint_medium}) {
680
- --headingLgFontSize: var(--fontSize40);
681
- --headingLgLineHeight: var(--lineHeight120);
682
- }
683
- @media screen and (min-width: ${breakpoint_large}) {
684
- --headingLgFontSize: var(--fontSize56);
685
- --headingLgLineHeight: var(--lineHeight114);
686
- }
687
-
688
- --headingMdFontSize: var(--fontSize24);
689
- --headingMdLineHeight: var(--lineHeight133);
690
-
691
- @media screen and (min-width: ${breakpoint_medium}) {
692
- --headingMdFontSize: var(--fontSize32);
693
- --headingMdLineHeight: var(--lineHeight125);
694
- }
695
- @media screen and (min-width: ${breakpoint_large}) {
696
- --headingMdFontSize: var(--fontSize40);
697
- --headingMdLineHeight: var(--lineHeight120);
698
- }
699
-
700
- --headingSmFontSize: var(--fontSize20);
701
- --headingSmLineHeight: var(--lineHeight140);
702
-
703
- @media screen and (min-width: ${breakpoint_medium}) {
704
- --headingSmFontSize: var(--fontSize24);
705
- --headingSmLineHeight: var(--lineHeight133);
706
- }
707
- @media screen and (min-width: ${breakpoint_large}) {
708
- --headingSmFontSize: var(--fontSize28);
709
- --headingSmLineHeight: var(--lineHeight128);
710
- }
711
-
712
- --headingXsFontSize: var(--fontSize18);
713
- --headingXsLineHeight: var(--lineHeight144);
714
-
715
- @media screen and (min-width: ${breakpoint_medium}) {
716
- --headingXsFontSize: var(--fontSize20);
717
- --headingXsLineHeight: var(--lineHeight140);
718
- }
719
- @media screen and (min-width: ${breakpoint_large}) {
720
- --headingXsFontSize: var(--fontSize20);
721
- --headingXsLineHeight: var(--lineHeight140);
722
- }
723
- }
724
- :root {
725
- --iconSize2xs: 16px;
726
- --iconSizeXs: 20px;
727
- --iconSizeSm: 20px;
728
- --iconSizeMd: 24px;
729
- --iconSizeLg: 32px;
730
- --iconSizeXl: 36px;
731
- --iconSize2xl: 40px;
732
- --iconSize3xl: 48px;
733
- --iconSize4xl: 56px;
734
- --iconSize5xl: 64px;
735
- --iconSize6xl: 72px;
736
- --iconSize7xl: 84px;
737
- --iconSize8xl: 96px;
738
- --iconSize9xl: 120px;
739
-
740
- @media screen and (min-width: ${breakpoint_medium}) {
741
- --iconSize2xs: 16px;
742
- --iconSizeXs: 20px;
743
- --iconSizeSm: 24px;
744
- --iconSizeMd: 32px;
745
- --iconSizeLg: 36px;
746
- --iconSizeXl: 40px;
747
- --iconSize2xl: 48px;
748
- --iconSize3xl: 56px;
749
- --iconSize4xl: 64px;
750
- --iconSize5xl: 72px;
751
- --iconSize6xl: 84px;
752
- --iconSize7xl: 96px;
753
- --iconSize8xl: 120px;
754
- --iconSize9xl: 192px;
755
- }
756
- }
760
+ ${typographyAndIconSizeCssVars}
757
761
  `;
758
762
  const cssVars = css(["", ""], cssVarsString);
759
763
  export {
@@ -1,2 +1,2 @@
1
- export declare const componentNames: readonly ["Accordion", "AccordionGroup", "ArtDirectedImage", "Badge", "Body", "BottomBar", "Button", "ButtonAsLink", "ButtonGroup", "Calendar", "Card", "Callout", "CarouselItem", "Carousel", "Checkbox", "CheckboxGroup", "Collapsible", "ColorSwatch", "ColorSwatchGroup", "ConsentMessage", "Container", "DateInput", "DemoBox", "Dialog", "DiscoveryCard", "DiscoveryCardGroup", "Divider", "EnergySnippet", "FeatureCard", "FeatureCardGroup", "Fieldset", "Filter", "FilterGroup", "Flex", "FlexItem", "Footnote", "FootnoteSection", "FootnoteContent", "FootnoteLink", "Form", "FormElement", "FormHelperMessage", "GoogleMap", "Grid", "GridItem", "Heading", "HifiIcon", "Icon", "IconButton", "IconLoader", "IconSnippet", "IconSnippetList", "Image", "ImageHeader", "InfoBanner", "InlineIcon", "InlineLink", "Input", "PasswordInput", "InputGroup", "Label", "Legend", "Link", "LinkAsButton", "LinkList", "LinkListItem", "LinkListItemAsButton", "LoadingSpinner", "LocalStyle", "MediaText", "MarTechPlaceholder", "Notification", "OpenTextFootnoteAdapter", "Overlay", "Picker", "PickerGroup", "Price", "ProductCard", "QuickLink", "QuickLinkList", "Radio", "RadioGroup", "Rating", "RichText", "RichTextContentful", "ScreenreaderOnly", "SearchInput", "SelectInput", "SmoothScrollArea", "Stepper", "SuggestInput", "Switch", "TabGroup", "Table", "TabularPrice", "Textarea", "TextListItem", "TextList", "TimeInput", "ToggleButton", "ToggleButtonProvider", "Tray", "UtilityLink", "YouTubeVideo"];
1
+ export declare const componentNames: readonly ["Accordion", "AccordionGroup", "ArtDirectedImage", "Badge", "Body", "BottomBar", "Button", "ButtonAsLink", "ButtonGroup", "Calendar", "Card", "Callout", "CarouselItem", "Carousel", "Checkbox", "CheckboxGroup", "Collapsible", "ColorSwatch", "ColorSwatchGroup", "ConsentMessage", "Container", "DateInput", "DemoBox", "Dialog", "DiscoveryCard", "DiscoveryCardGroup", "Divider", "EnergySnippet", "FeatureCard", "FeatureCardGroup", "Fieldset", "Filter", "FilterGroup", "Flex", "FlexItem", "Footnote", "FootnoteSection", "FootnoteContent", "FootnoteLink", "Form", "FormElement", "FormHelperMessage", "GoogleMap", "Grid", "GridItem", "Heading", "HifiIcon", "Icon", "IconButton", "IconLoader", "IconSnippet", "IconSnippetList", "Image", "ImageHeader", "InfoBanner", "InlineIcon", "InlineLink", "Input", "PasswordInput", "InputGroup", "Label", "Legend", "Link", "LinkAsButton", "LinkList", "LinkListItem", "LinkListItemAsButton", "LoadingSpinner", "LocalStyle", "MediaText", "MarTechPlaceholder", "Notification", "OpenTextFootnoteAdapter", "Overlay", "Picker", "PickerGroup", "Price", "ProductCard", "QuickLink", "QuickLinkList", "Radio", "RadioGroup", "Rating", "RichText", "RichTextContentful", "ScreenreaderOnly", "SearchInput", "SelectInput", "SmoothScrollArea", "Stepper", "SuggestInput", "Switch", "TabGroup", "Table", "TabularPrice", "Textarea", "TextListItem", "TextList", "TimeInput", "ToggleButton", "ToggleButtonProvider", "Tray", "UtilityLink", "Video", "YouTubeVideo"];
2
2
  export type ComponentName = (typeof componentNames)[number];