@vodafone_de/brix-components 10.0.6 → 10.0.7-yet-another-renderer-47e16ee2bbcccd662e8954cd97eed23bc29eefd5

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 (483) hide show
  1. package/dist/Appearance-CIB-YW3f.js +6 -0
  2. package/dist/{BackgroundColor-e0N9tdDR.js → BackgroundColor-CPKJPCZG.js} +6 -6
  3. package/dist/{BorderColor-BummoQ1-.js → BorderColor-CkkRtyUz.js} +2 -2
  4. package/dist/{BorderRadius-2LdggXbQ.js → BorderRadius-ClUShVLu.js} +2 -2
  5. package/dist/{BorderWidth-BjXpOdM5.js → BorderWidth-eg_mz82k.js} +3 -3
  6. package/dist/{ButtonAppearanceHelper-DBCLijF0.js → ButtonAppearanceHelper-CeiKe8s2.js} +4 -4
  7. package/dist/ButtonAppearances-B8C6jPi_.js +9 -0
  8. package/dist/ButtonWidthBehavior-D0jMso07.js +7 -0
  9. package/dist/{FontWeight-OmB6KH5a.js → FontWeight-DqbFNY0d.js} +3 -3
  10. package/dist/{HeadingSize-Wp18jYXc.js → HeadingSize-EtqdtmeG.js} +2 -2
  11. package/dist/{IconColor-CtC9WUgr.js → IconColor-BmnZGCzC.js} +3 -3
  12. package/dist/{IconSize-AJp7xdJi.js → IconSize-BknHGJXj.js} +14 -14
  13. package/dist/{ObjectColor-DxgEnOBM.js → ObjectColor-CSHEae46.js} +10 -10
  14. package/dist/PositionType-BIdZQO2H.js +11 -0
  15. package/dist/{Spacing-8v6hcO2x.js → Spacing-CwWBV8DU.js} +5 -5
  16. package/dist/{TableWrapper-BWNPIYi5.js → TableWrapper-0ogZcdQN.js} +4 -4
  17. package/dist/{TextBodySize-CP9q4gRv.js → TextBodySize-DGSg0NtD.js} +3 -3
  18. package/dist/{TextColor-BXVMXUVE.js → TextColor-DsntmDNw.js} +2 -2
  19. package/dist/Theme-DdBNCVFf.js +6 -0
  20. package/dist/{colorUtils-oJmiUVBK.js → colorUtils-lb0oJttx.js} +1 -1
  21. package/dist/componentName-BkjLVAu_.js +4 -0
  22. package/dist/componentName-BoJP6JLf.js +4 -0
  23. package/dist/componentName-C1oXAOj7.js +4 -0
  24. package/dist/componentName-Ckldg2Mp.js +4 -0
  25. package/dist/componentName-Db2Jyboa.js +6 -0
  26. package/dist/componentName-L5wjvLCx.js +4 -0
  27. package/dist/componentName-Z31ZN2Rx.js +4 -0
  28. package/dist/componentName-wvIe3MI5.js +4 -0
  29. package/dist/components/Accordion/componentName.d.ts +1 -0
  30. package/dist/components/Accordion/index.js +12 -49
  31. package/dist/components/Accordion/props.d.ts +3 -2
  32. package/dist/components/Accordion/validate.d.ts +651 -1
  33. package/dist/components/AccordionGroup/componentName.d.ts +1 -0
  34. package/dist/components/AccordionGroup/index.js +7 -40
  35. package/dist/components/AccordionGroup/props.d.ts +5 -2
  36. package/dist/components/AccordionGroup/validate.d.ts +672 -1
  37. package/dist/components/ArtDirectedImage/componentName.d.ts +1 -0
  38. package/dist/components/ArtDirectedImage/index.js +4 -4
  39. package/dist/components/ArtDirectedImage/props.d.ts +3 -2
  40. package/dist/components/ArtDirectedImage/validate.d.ts +101 -1
  41. package/dist/components/Badge/componentName.d.ts +1 -0
  42. package/dist/components/Badge/index.d.ts +0 -1
  43. package/dist/components/Badge/index.js +10 -9
  44. package/dist/components/Badge/props.d.ts +4 -2
  45. package/dist/components/Badge/validate.d.ts +624 -1
  46. package/dist/components/Body/componentName.d.ts +1 -0
  47. package/dist/components/Body/index.d.ts +0 -1
  48. package/dist/components/Body/index.js +15 -48
  49. package/dist/components/Body/props.d.ts +6 -2
  50. package/dist/components/Body/validate.d.ts +45 -1
  51. package/dist/components/BottomBar/componentName.d.ts +1 -0
  52. package/dist/components/BottomBar/index.js +5 -5
  53. package/dist/components/BottomBar/props.d.ts +4 -3
  54. package/dist/components/Button/componentName.d.ts +1 -0
  55. package/dist/components/Button/index.d.ts +0 -1
  56. package/dist/components/Button/index.js +6 -46
  57. package/dist/components/Button/props.d.ts +7 -4
  58. package/dist/components/Button/validate.d.ts +628 -1
  59. package/dist/components/ButtonAsLink/componentName.d.ts +1 -0
  60. package/dist/components/ButtonAsLink/index.d.ts +0 -1
  61. package/dist/components/ButtonAsLink/index.js +5 -5
  62. package/dist/components/ButtonAsLink/props.d.ts +4 -2
  63. package/dist/components/ButtonAsLink/validate.d.ts +35 -2
  64. package/dist/components/ButtonGroup/componentName.d.ts +1 -0
  65. package/dist/components/ButtonGroup/index.d.ts +0 -1
  66. package/dist/components/ButtonGroup/index.js +6 -46
  67. package/dist/components/ButtonGroup/props.d.ts +5 -4
  68. package/dist/components/ButtonGroup/validate.d.ts +688 -1
  69. package/dist/components/Calendar/componentName.d.ts +1 -0
  70. package/dist/components/Calendar/index.js +11 -11
  71. package/dist/components/Calendar/props.d.ts +3 -2
  72. package/dist/components/Card/componentName.d.ts +1 -0
  73. package/dist/components/Card/index.d.ts +0 -1
  74. package/dist/components/Card/index.js +8 -33
  75. package/dist/components/Card/props.d.ts +1 -0
  76. package/dist/components/Card/validate.d.ts +42 -1
  77. package/dist/components/CardSlot/index.js +5 -5
  78. package/dist/components/Carousel/componentName.d.ts +2 -0
  79. package/dist/components/Carousel/index.js +9 -9
  80. package/dist/components/Carousel/props.d.ts +6 -5
  81. package/dist/components/Carousel/utils/carouselDefaultGridConfig.d.ts +1 -1
  82. package/dist/components/Checkbox/componentName.d.ts +1 -0
  83. package/dist/components/Checkbox/index.js +6 -6
  84. package/dist/components/Checkbox/props.d.ts +3 -2
  85. package/dist/components/CheckboxGroup/componentName.d.ts +1 -0
  86. package/dist/components/CheckboxGroup/index.js +3 -3
  87. package/dist/components/CheckboxGroup/props.d.ts +3 -2
  88. package/dist/components/Collapsible/componentName.d.ts +1 -0
  89. package/dist/components/Collapsible/index.js +3 -3
  90. package/dist/components/Collapsible/props.d.ts +5 -2
  91. package/dist/components/ColorSwatch/componentName.d.ts +1 -0
  92. package/dist/components/ColorSwatch/index.js +10 -108
  93. package/dist/components/ColorSwatch/props.d.ts +3 -2
  94. package/dist/components/ColorSwatchGroup/componentName.d.ts +1 -0
  95. package/dist/components/ColorSwatchGroup/index.js +11 -7
  96. package/dist/components/ColorSwatchGroup/props.d.ts +3 -2
  97. package/dist/components/ConsentMessage/componentName.d.ts +1 -0
  98. package/dist/components/ConsentMessage/index.js +10 -7
  99. package/dist/components/ConsentMessage/props.d.ts +5 -0
  100. package/dist/components/ConsentMessage/validate.d.ts +32 -2
  101. package/dist/components/Container/componentName.d.ts +1 -0
  102. package/dist/components/Container/index.d.ts +0 -1
  103. package/dist/components/Container/index.js +12 -11
  104. package/dist/components/Container/props.d.ts +4 -2
  105. package/dist/components/Container/validate.d.ts +2 -1
  106. package/dist/components/DateInput/componentName.d.ts +1 -0
  107. package/dist/components/DateInput/index.js +5 -5
  108. package/dist/components/DateInput/props.d.ts +3 -2
  109. package/dist/components/DemoBox/componentName.d.ts +1 -0
  110. package/dist/components/DemoBox/index.js +2 -2
  111. package/dist/components/DemoBox/props.d.ts +5 -1
  112. package/dist/components/Dialog/componentName.d.ts +1 -0
  113. package/dist/components/Dialog/index.js +6 -6
  114. package/dist/components/Dialog/props.d.ts +3 -2
  115. package/dist/components/DiscoveryCard/componentName.d.ts +1 -0
  116. package/dist/components/DiscoveryCard/components/DiscoveryCardLinkedImage.d.ts +1 -1
  117. package/dist/components/DiscoveryCard/index.js +27 -76
  118. package/dist/components/DiscoveryCard/props.d.ts +13 -7
  119. package/dist/components/DiscoveryCard/validate.d.ts +1945 -1
  120. package/dist/components/DiscoveryCardGroup/componentName.d.ts +1 -0
  121. package/dist/components/DiscoveryCardGroup/index.js +9 -55
  122. package/dist/components/DiscoveryCardGroup/props.d.ts +5 -1
  123. package/dist/components/DiscoveryCardGroup/validate.d.ts +5838 -1
  124. package/dist/components/Divider/componentName.d.ts +1 -0
  125. package/dist/components/Divider/index.js +9 -18
  126. package/dist/components/Divider/props.d.ts +6 -1
  127. package/dist/components/Divider/validate.d.ts +23 -1
  128. package/dist/components/EnergySnippet/componentName.d.ts +1 -0
  129. package/dist/components/EnergySnippet/index.js +2 -2
  130. package/dist/components/EnergySnippet/props.d.ts +5 -2
  131. package/dist/components/FeatureCardGroup/componentName.d.ts +2 -0
  132. package/dist/components/FeatureCardGroup/components/FeatureCard/props.d.ts +2 -1
  133. package/dist/components/FeatureCardGroup/index.js +13 -10
  134. package/dist/components/FeatureCardGroup/props.d.ts +2 -1
  135. package/dist/components/Fieldset/componentName.d.ts +1 -0
  136. package/dist/components/Fieldset/index.js +2 -2
  137. package/dist/components/Fieldset/props.d.ts +3 -2
  138. package/dist/components/FilterGroup/componentName.d.ts +1 -0
  139. package/dist/components/FilterGroup/index.js +12 -12
  140. package/dist/components/FilterGroup/props.d.ts +3 -2
  141. package/dist/components/Flex/componentName.d.ts +1 -0
  142. package/dist/components/Flex/index.js +2 -2
  143. package/dist/components/Flex/props.d.ts +3 -2
  144. package/dist/components/FlexItem/componentName.d.ts +1 -0
  145. package/dist/components/FlexItem/index.js +2 -2
  146. package/dist/components/FlexItem/props.d.ts +3 -2
  147. package/dist/components/FootnoteContent/componentName.d.ts +1 -0
  148. package/dist/components/FootnoteContent/index.js +3 -3
  149. package/dist/components/FootnoteContent/props.d.ts +3 -2
  150. package/dist/components/FootnoteLink/componentName.d.ts +1 -0
  151. package/dist/components/FootnoteLink/index.js +2 -2
  152. package/dist/components/FootnoteLink/props.d.ts +3 -2
  153. package/dist/components/Form/componentName.d.ts +1 -0
  154. package/dist/components/Form/index.js +3 -3
  155. package/dist/components/Form/props.d.ts +3 -2
  156. package/dist/components/FormElement/componentName.d.ts +1 -0
  157. package/dist/components/FormElement/index.js +1 -1
  158. package/dist/components/FormElement/props.d.ts +5 -0
  159. package/dist/components/FormHelperLabel/index.js +1 -1
  160. package/dist/components/FormHelperMessage/componentName.d.ts +1 -0
  161. package/dist/components/FormHelperMessage/index.js +3 -3
  162. package/dist/components/FormHelperMessage/props.d.ts +5 -0
  163. package/dist/components/FormHelperStatusIcon/index.js +3 -3
  164. package/dist/components/GoogleMap/componentName.d.ts +1 -0
  165. package/dist/components/GoogleMap/index.js +8 -7
  166. package/dist/components/GoogleMap/props.d.ts +4 -3
  167. package/dist/components/Grid/componentName.d.ts +1 -0
  168. package/dist/components/Grid/index.d.ts +2 -2
  169. package/dist/components/Grid/index.js +10 -13
  170. package/dist/components/Grid/props.d.ts +5 -14
  171. package/dist/components/Grid/validate.d.ts +100 -6
  172. package/dist/components/GridItem/componentName.d.ts +1 -0
  173. package/dist/components/GridItem/index.d.ts +0 -1
  174. package/dist/components/GridItem/index.js +7 -6
  175. package/dist/components/GridItem/props.d.ts +6 -3
  176. package/dist/components/GridItem/validate.d.ts +31 -1
  177. package/dist/components/Heading/componentName.d.ts +1 -0
  178. package/dist/components/Heading/index.d.ts +0 -1
  179. package/dist/components/Heading/index.js +13 -49
  180. package/dist/components/Heading/props.d.ts +6 -2
  181. package/dist/components/Heading/validate.d.ts +51 -1
  182. package/dist/components/HifiIcon/componentName.d.ts +1 -0
  183. package/dist/components/HifiIcon/index.js +7 -34
  184. package/dist/components/HifiIcon/props.d.ts +5 -4
  185. package/dist/components/HifiIcon/validate.d.ts +33 -3
  186. package/dist/components/Icon/componentName.d.ts +1 -0
  187. package/dist/components/Icon/index.js +1 -1
  188. package/dist/components/Icon/props.d.ts +3 -2
  189. package/dist/components/IconButton/componentName.d.ts +1 -0
  190. package/dist/components/IconButton/index.js +9 -8
  191. package/dist/components/IconButton/props.d.ts +3 -2
  192. package/dist/components/IconLoader/componentName.d.ts +1 -0
  193. package/dist/components/IconLoader/index.d.ts +0 -1
  194. package/dist/components/IconLoader/index.js +662 -7
  195. package/dist/components/IconLoader/props.d.ts +4 -3
  196. package/dist/components/IconLoader/validate.d.ts +632 -2
  197. package/dist/components/IconSnippet/componentName.d.ts +1 -0
  198. package/dist/components/IconSnippet/index.d.ts +0 -1
  199. package/dist/components/IconSnippet/index.js +26 -62
  200. package/dist/components/IconSnippet/props.d.ts +20 -15
  201. package/dist/components/IconSnippet/validate.d.ts +2008 -6
  202. package/dist/components/IconSnippetList/componentName.d.ts +1 -0
  203. package/dist/components/IconSnippetList/index.js +7 -25
  204. package/dist/components/IconSnippetList/props.d.ts +4 -3
  205. package/dist/components/IconSnippetList/validate.d.ts +2033 -2
  206. package/dist/components/Image/componentName.d.ts +1 -0
  207. package/dist/components/Image/index.js +33 -56
  208. package/dist/components/Image/props.d.ts +21 -4
  209. package/dist/components/Image/validate.d.ts +49 -4
  210. package/dist/components/ImageHeader/componentName.d.ts +1 -0
  211. package/dist/components/ImageHeader/index.js +29 -62
  212. package/dist/components/ImageHeader/props.d.ts +7 -5
  213. package/dist/components/ImageHeader/validate.d.ts +2211 -1
  214. package/dist/components/InfoBanner/componentName.d.ts +1 -0
  215. package/dist/components/InfoBanner/index.js +9 -8
  216. package/dist/components/InfoBanner/props.d.ts +3 -2
  217. package/dist/components/InlineIcon/componentName.d.ts +1 -0
  218. package/dist/components/InlineIcon/index.js +7 -7
  219. package/dist/components/InlineIcon/props.d.ts +7 -5
  220. package/dist/components/InlineLink/componentName.d.ts +1 -0
  221. package/dist/components/InlineLink/index.d.ts +0 -1
  222. package/dist/components/InlineLink/index.js +5 -27
  223. package/dist/components/InlineLink/props.d.ts +3 -2
  224. package/dist/components/Input/componentName.d.ts +1 -0
  225. package/dist/components/Input/index.js +2 -2
  226. package/dist/components/Input/props.d.ts +3 -2
  227. package/dist/components/Label/componentName.d.ts +1 -0
  228. package/dist/components/Label/index.js +1 -1
  229. package/dist/components/Label/props.d.ts +5 -0
  230. package/dist/components/Legend/componentName.d.ts +1 -0
  231. package/dist/components/Legend/index.js +3 -2
  232. package/dist/components/Legend/props.d.ts +3 -2
  233. package/dist/components/Link/componentName.d.ts +1 -0
  234. package/dist/components/Link/index.d.ts +0 -1
  235. package/dist/components/Link/index.js +5 -35
  236. package/dist/components/Link/props.d.ts +8 -6
  237. package/dist/components/Link/validate.d.ts +623 -1
  238. package/dist/components/LinkAsButton/componentName.d.ts +1 -0
  239. package/dist/components/LinkAsButton/index.d.ts +0 -1
  240. package/dist/components/LinkAsButton/index.js +2 -4
  241. package/dist/components/LinkAsButton/props.d.ts +3 -2
  242. package/dist/components/LinkAsButton/validate.d.ts +623 -2
  243. package/dist/components/LinkList/componentName.d.ts +1 -0
  244. package/dist/components/LinkList/index.js +9 -7
  245. package/dist/components/LinkList/props.d.ts +7 -5
  246. package/dist/components/LinkList/validate.d.ts +2 -1
  247. package/dist/components/LinkListItem/componentName.d.ts +2 -0
  248. package/dist/components/LinkListItem/index.js +16 -15
  249. package/dist/components/LinkListItem/props.d.ts +16 -2
  250. package/dist/components/LinkListItem/validate.d.ts +1227 -1
  251. package/dist/components/LoadingSpinner/componentName.d.ts +1 -0
  252. package/dist/components/LoadingSpinner/index.js +2 -2
  253. package/dist/components/LoadingSpinner/props.d.ts +3 -2
  254. package/dist/components/LocalStyle/componentName.d.ts +1 -0
  255. package/dist/components/LocalStyle/index.js +2 -2
  256. package/dist/components/LocalStyle/props.d.ts +5 -1
  257. package/dist/components/MediaText/componentName.d.ts +1 -0
  258. package/dist/components/MediaText/index.js +122 -20
  259. package/dist/components/MediaText/props.d.ts +10 -8
  260. package/dist/components/MediaText/validate.d.ts +768 -3
  261. package/dist/components/Notification/componentName.d.ts +1 -0
  262. package/dist/components/Notification/index.js +11 -11
  263. package/dist/components/Notification/props.d.ts +3 -2
  264. package/dist/components/OpenTextFootnoteAdapter/componentName.d.ts +1 -0
  265. package/dist/components/OpenTextFootnoteAdapter/index.js +4 -4
  266. package/dist/components/OpenTextFootnoteAdapter/props.d.ts +3 -2
  267. package/dist/components/Overlay/componentName.d.ts +1 -0
  268. package/dist/components/Overlay/index.js +2 -2
  269. package/dist/components/Overlay/props.d.ts +5 -0
  270. package/dist/components/PickerGroup/Pickers.d.ts +3 -1
  271. package/dist/components/PickerGroup/componentName.d.ts +2 -0
  272. package/dist/components/PickerGroup/components/Picker/props.d.ts +1 -1
  273. package/dist/components/PickerGroup/index.js +16 -15
  274. package/dist/components/PickerGroup/props.d.ts +4 -3
  275. package/dist/components/Price/componentName.d.ts +1 -0
  276. package/dist/components/Price/index.js +10 -8
  277. package/dist/components/Price/props.d.ts +12 -8
  278. package/dist/components/Price/validate.d.ts +41 -5
  279. package/dist/components/ProductCard/componentName.d.ts +1 -0
  280. package/dist/components/ProductCard/index.js +11 -8
  281. package/dist/components/ProductCard/props.d.ts +3 -2
  282. package/dist/components/QuickLinkList/componentName.d.ts +2 -0
  283. package/dist/components/QuickLinkList/components/QuickLink/props.d.ts +3 -2
  284. package/dist/components/QuickLinkList/index.js +8 -8
  285. package/dist/components/QuickLinkList/props.d.ts +3 -2
  286. package/dist/components/RadioGroup/componentName.d.ts +2 -0
  287. package/dist/components/RadioGroup/components/Radio/props.d.ts +3 -2
  288. package/dist/components/RadioGroup/index.js +6 -6
  289. package/dist/components/RadioGroup/props.d.ts +3 -2
  290. package/dist/components/Rating/componentName.d.ts +1 -0
  291. package/dist/components/Rating/index.js +7 -7
  292. package/dist/components/Rating/props.d.ts +3 -2
  293. package/dist/components/RichText/componentName.d.ts +1 -0
  294. package/dist/components/RichText/index.js +1 -1
  295. package/dist/components/RichText/props.d.ts +3 -2
  296. package/dist/components/RichtTextContentful/componentName.d.ts +1 -0
  297. package/dist/components/RichtTextContentful/index.js +217 -1083
  298. package/dist/components/RichtTextContentful/props.d.ts +3 -2
  299. package/dist/components/RichtTextContentful/validate.d.ts +43 -1
  300. package/dist/components/RichtTextContentful/validateRichTextJson.d.ts +7 -0
  301. package/dist/components/ScreenreaderOnly/componentName.d.ts +1 -0
  302. package/dist/components/ScreenreaderOnly/index.js +1 -1
  303. package/dist/components/ScreenreaderOnly/props.d.ts +5 -1
  304. package/dist/components/SearchInput/componentName.d.ts +1 -0
  305. package/dist/components/SearchInput/index.js +7 -7
  306. package/dist/components/SearchInput/props.d.ts +3 -2
  307. package/dist/components/SelectInput/componentName.d.ts +1 -0
  308. package/dist/components/SelectInput/index.js +7 -7
  309. package/dist/components/SelectInput/props.d.ts +3 -2
  310. package/dist/components/SmoothScrollArea/componentName.d.ts +1 -0
  311. package/dist/components/SmoothScrollArea/props.d.ts +5 -1
  312. package/dist/components/Stepper/componentName.d.ts +1 -0
  313. package/dist/components/Stepper/index.js +6 -6
  314. package/dist/components/Stepper/props.d.ts +5 -1
  315. package/dist/components/SuggestInput/componentName.d.ts +1 -0
  316. package/dist/components/SuggestInput/index.js +10 -10
  317. package/dist/components/SuggestInput/props.d.ts +3 -2
  318. package/dist/components/Switch/componentName.d.ts +1 -0
  319. package/dist/components/Switch/index.js +8 -8
  320. package/dist/components/Switch/props.d.ts +3 -2
  321. package/dist/components/TabGroup/componentName.d.ts +1 -0
  322. package/dist/components/TabGroup/index.js +14 -17
  323. package/dist/components/TabGroup/props.d.ts +6 -6
  324. package/dist/components/Table/componentName.d.ts +1 -0
  325. package/dist/components/Table/index.js +2 -2
  326. package/dist/components/Table/props.d.ts +5 -0
  327. package/dist/components/TabularPrice/componentName.d.ts +1 -0
  328. package/dist/components/TabularPrice/index.js +2 -2
  329. package/dist/components/TabularPrice/props.d.ts +3 -2
  330. package/dist/components/TextList/componentName.d.ts +2 -0
  331. package/dist/components/TextList/index.js +3 -3
  332. package/dist/components/TextList/props.d.ts +9 -4
  333. package/dist/components/Textarea/componentName.d.ts +1 -0
  334. package/dist/components/Textarea/index.js +8 -8
  335. package/dist/components/Textarea/props.d.ts +3 -2
  336. package/dist/components/TimeInput/componentName.d.ts +1 -0
  337. package/dist/components/TimeInput/index.js +5 -5
  338. package/dist/components/TimeInput/props.d.ts +3 -2
  339. package/dist/components/ToggleButton/componentName.d.ts +1 -0
  340. package/dist/components/ToggleButton/props.d.ts +3 -2
  341. package/dist/components/Tray/componentName.d.ts +1 -0
  342. package/dist/components/Tray/index.js +6 -6
  343. package/dist/components/Tray/props.d.ts +3 -2
  344. package/dist/components/UtilityLink/componentName.d.ts +1 -0
  345. package/dist/components/UtilityLink/index.js +3 -3
  346. package/dist/components/UtilityLink/props.d.ts +5 -2
  347. package/dist/components/UtilityLink/validate.d.ts +27 -0
  348. package/dist/components/UtilityLink/validate.test.d.ts +1 -0
  349. package/dist/components/YoutubeVideo/componentName.d.ts +1 -0
  350. package/dist/components/YoutubeVideo/index.js +5 -4
  351. package/dist/components/YoutubeVideo/props.d.ts +4 -3
  352. package/dist/components/YoutubeVideo/validate.d.ts +52 -1
  353. package/dist/contentful/props/index.d.ts +35 -0
  354. package/dist/contentful/props/index.js +1 -0
  355. package/dist/contentful/types/index.d.ts +1 -0
  356. package/dist/contentful/types/index.js +1 -0
  357. package/dist/contentful/validation/index.d.ts +34 -0
  358. package/dist/contentful/validation/index.js +234 -0
  359. package/dist/{cssVars-TmhA1NpG.js → cssVars-DDPMsL7p.js} +1 -1
  360. package/dist/{filterProps-CxkibNnG.js → filterProps-B19TAswY.js} +1 -1
  361. package/dist/foundations/GlobalStyle/index.js +1 -1
  362. package/dist/foundations/GridConfig/index.d.ts +12 -0
  363. package/dist/foundations/GridConfig/index.js +4 -0
  364. package/dist/foundations/GridConfig/validate.d.ts +9 -0
  365. package/dist/foundations/PatternProps/componentNames.d.ts +2 -0
  366. package/dist/foundations/PatternProps/index.d.ts +13 -8
  367. package/dist/foundations/PatternProps/validate.d.ts +219 -0
  368. package/dist/foundations/PatternProps/validate.test.d.ts +1 -0
  369. package/dist/foundations/types/CornerStyle.d.ts +2 -1
  370. package/dist/foundations/types/PositionType.d.ts +2 -1
  371. package/dist/{getSizesFromGridConfig-B-l8nt9A.js → getSizesFromGridConfig-CUoAC4Ly.js} +1 -1
  372. package/dist/hooks/useImageComponent/index.js +1 -1
  373. package/dist/hooks/usePictureComponent/index.js +1 -1
  374. package/dist/{index-C2E3JrhF.js → index-B4XU4qmQ.js} +1 -1
  375. package/dist/index-B8BwFR_p.js +76 -0
  376. package/dist/{index-BsykXBqC.js → index-BaiTukLd.js} +2 -2
  377. package/dist/{index-5sfSYn1F.js → index-BhDzwLlr.js} +12 -58
  378. package/dist/index-BnsyblrX.js +101 -0
  379. package/dist/index-CRMQYTPk.js +126 -0
  380. package/dist/index-Cc88Rz-o.js +880 -0
  381. package/dist/{props-CYrgdBW1.js → index-Cg2oPSEx.js} +12 -56
  382. package/dist/{index-Dc7eRzPy.js → index-DqLlH7BE.js} +8 -8
  383. package/dist/{index-CK8ZEpLE.js → index-O-S_zV-7.js} +7 -67
  384. package/dist/{index-Dqi1PRmm.js → index-uUqokbyY.js} +10 -40
  385. package/dist/index.d.ts +4 -3
  386. package/dist/index.js +364 -302
  387. package/dist/props-B345Pbc8.js +11 -0
  388. package/dist/props-BLJYmAkn.js +24 -0
  389. package/dist/props-BNsOvM9u.js +13 -0
  390. package/dist/props-BdyJCQ8y.js +8 -0
  391. package/dist/props-BrZdj0mO.js +5 -0
  392. package/dist/props-CB6i5gNt.js +8 -0
  393. package/dist/props-CavfCry4.js +15 -0
  394. package/dist/props-D8u4jguy.js +26 -0
  395. package/dist/props-DTToXJmH.js +5 -0
  396. package/dist/props-Dg-dNUZp.js +13 -0
  397. package/dist/props-DtlQQshX.js +25 -0
  398. package/dist/props-l9WNA8EO.js +23 -0
  399. package/dist/props-mMm2aSd8.js +17 -0
  400. package/dist/{styled-B0qsLQk8.js → styled--GrCyNKh.js} +11 -20
  401. package/dist/{styled-CE46iLBP.js → styled-B-SfCnoQ.js} +4 -4
  402. package/dist/{styled-DmMk0W0J.js → styled-BLokGaMK.js} +7 -7
  403. package/dist/{styled-D-KLcLw0.js → styled-BVUA_ZAZ.js} +4 -25
  404. package/dist/{styled-ChGAFmdh.js → styled-CmDj0iET.js} +6 -20
  405. package/dist/{styled-D-fzMZNS.js → styled-DwzRKZDT.js} +3 -3
  406. package/dist/{styled-BIcsESkS.js → styled-u3jJIKUg.js} +4 -4
  407. package/dist/{tags-BmiwPCbX.js → tags-DbqTyULW.js} +8 -8
  408. package/dist/validate-77U3nW6D.js +170 -0
  409. package/dist/validate-B2VwxY7a.js +71 -0
  410. package/dist/validate-BJi7syAd.js +52 -0
  411. package/dist/validate-BKn4dUs2.js +108 -0
  412. package/dist/validate-BLtyErsx.js +32 -0
  413. package/dist/validate-BV8z1lgb.js +35 -0
  414. package/dist/validate-Ba7OXjRU.js +30 -0
  415. package/dist/validate-BblPy6dy.js +25 -0
  416. package/dist/validate-BeAMEexS.js +103 -0
  417. package/dist/validate-CQ9y_PZf.js +77 -0
  418. package/dist/validate-CXJB5c5w.js +13830 -0
  419. package/dist/validate-CZxRyr5-.js +28 -0
  420. package/dist/validate-Ca1hGII1.js +622 -0
  421. package/dist/validate-DTqJZyus.js +33 -0
  422. package/dist/validate-Dh_-yVQ6.js +24 -0
  423. package/dist/validate-Do9zUIut.js +41 -0
  424. package/dist/validate-Os-YK5Bq.js +106 -0
  425. package/dist/validate-oDhVbciX.js +31 -0
  426. package/package.json +4 -2
  427. package/dist/CornerStyle-JEbGNArR.js +0 -6
  428. package/dist/contentful/LegibleContent.d.ts +0 -19
  429. package/dist/contentful/components.d.ts +0 -25
  430. package/dist/contentful/live-preview-inspector/index.d.ts +0 -2
  431. package/dist/contentful/live-preview-inspector/index.js +0 -7
  432. package/dist/contentful/live-preview-inspector/props.d.ts +0 -1
  433. package/dist/contentful/live-preview-renderer/index.d.ts +0 -5
  434. package/dist/contentful/live-preview-renderer/index.js +0 -19
  435. package/dist/contentful/live-preview-renderer/props.d.ts +0 -2
  436. package/dist/contentful/map/MapFunction.d.ts +0 -2
  437. package/dist/contentful/map/accordion.d.ts +0 -5
  438. package/dist/contentful/map/accordionGroup.d.ts +0 -4
  439. package/dist/contentful/map/artDirectedImage.d.ts +0 -4
  440. package/dist/contentful/map/badge.d.ts +0 -4
  441. package/dist/contentful/map/body.d.ts +0 -4
  442. package/dist/contentful/map/button.d.ts +0 -5
  443. package/dist/contentful/map/buttonGroup.d.ts +0 -4
  444. package/dist/contentful/map/card.d.ts +0 -5
  445. package/dist/contentful/map/consentMessage.d.ts +0 -4
  446. package/dist/contentful/map/container.d.ts +0 -4
  447. package/dist/contentful/map/discovery-card-group.d.ts +0 -4
  448. package/dist/contentful/map/discovery-card.d.ts +0 -4
  449. package/dist/contentful/map/divider.d.ts +0 -4
  450. package/dist/contentful/map/getContentfulIdentifier.d.ts +0 -2
  451. package/dist/contentful/map/grid-item.d.ts +0 -4
  452. package/dist/contentful/map/grid.d.ts +0 -4
  453. package/dist/contentful/map/heading.d.ts +0 -4
  454. package/dist/contentful/map/hifiIcon.d.ts +0 -4
  455. package/dist/contentful/map/icon-loader.d.ts +0 -4
  456. package/dist/contentful/map/iconSnippet.d.ts +0 -4
  457. package/dist/contentful/map/iconSnippetList.d.ts +0 -4
  458. package/dist/contentful/map/image.d.ts +0 -4
  459. package/dist/contentful/map/imageHeader.d.ts +0 -4
  460. package/dist/contentful/map/link.d.ts +0 -6
  461. package/dist/contentful/map/linklist-item.d.ts +0 -4
  462. package/dist/contentful/map/linklist.d.ts +0 -4
  463. package/dist/contentful/map/mapContentToComponents.d.ts +0 -3
  464. package/dist/contentful/map/mediaText.d.ts +0 -4
  465. package/dist/contentful/map/price.d.ts +0 -4
  466. package/dist/contentful/map/richtext.d.ts +0 -4
  467. package/dist/contentful/map/youtubeVideo.d.ts +0 -4
  468. package/dist/contentful/renderer/index.d.ts +0 -5
  469. package/dist/contentful/renderer/index.js +0 -17
  470. package/dist/contentful/renderer/props.d.ts +0 -7
  471. package/dist/contentful/transform/transformAriaAttributes.d.ts +0 -1
  472. package/dist/contentful/transform/transformBottomSpacing.d.ts +0 -2
  473. package/dist/contentful/transform/transformCornerStyle.d.ts +0 -2
  474. package/dist/contentful/transform/transformHifiIconSize.d.ts +0 -2
  475. package/dist/contentful/transform/transformIconSize.d.ts +0 -2
  476. package/dist/index-1jrJd41G.js +0 -273
  477. package/dist/index-B3v10poy.js +0 -1287
  478. package/dist/index-BMQ78O4C.js +0 -124
  479. package/dist/index-Co0XrJGq.js +0 -203
  480. package/dist/isBottomSpacing-BxfreCZU.js +0 -10
  481. package/dist/isObject-BYBrvoVW.js +0 -19
  482. package/dist/mapContentToComponents-Ba7S47d9.js +0 -2107
  483. /package/dist/{contentful/LegibleContent.test.d.ts → components/ArtDirectedImage/validate.test.d.ts} +0 -0
@@ -0,0 +1,6 @@
1
+ const primaryAppearance = "primary";
2
+ const secondaryAppearance = "secondary";
3
+ export {
4
+ primaryAppearance as p,
5
+ secondaryAppearance as s
6
+ };
@@ -5,10 +5,10 @@ const colorBackgroundSubtle = "colorBackgroundSubtle";
5
5
  const colorBackgroundOverlay = "colorBackgroundOverlay";
6
6
  const colorBackgroundOverlayStatic = "colorBackgroundOverlayStatic";
7
7
  export {
8
- colorBackgroundSubtle as a,
9
- colorBackgroundOverlay as b,
10
- colorBackgroundNeutral as c,
11
- colorBackgroundOverlayStatic as d,
12
- colorBackgroundBrandGradient as e,
13
- colorBackgroundBrand as f
8
+ colorBackgroundBrandGradient as a,
9
+ colorBackgroundSubtle as b,
10
+ colorBackgroundBrand as c,
11
+ colorBackgroundNeutral as d,
12
+ colorBackgroundOverlay as e,
13
+ colorBackgroundOverlayStatic as f
14
14
  };
@@ -18,7 +18,7 @@ export {
18
18
  colorBorderWarning as f,
19
19
  colorBorderBrand as g,
20
20
  colorBorderInverse as h,
21
- colorBorderSelected as i,
22
- colorBorderSubtle as j,
21
+ colorBorderSubtle as i,
22
+ colorBorderSelected as j,
23
23
  colorBorderInformation as k
24
24
  };
@@ -3,8 +3,8 @@ const borderRadiusSm = "borderRadiusSm";
3
3
  const borderRadiusMd = "borderRadiusMd";
4
4
  const borderRadiusFull = "borderRadiusFull";
5
5
  export {
6
- borderRadiusFull as a,
6
+ borderRadiusNone as a,
7
7
  borderRadiusMd as b,
8
- borderRadiusNone as c,
8
+ borderRadiusFull as c,
9
9
  borderRadiusSm as d
10
10
  };
@@ -10,7 +10,7 @@ export {
10
10
  borderWidthUnselected as b,
11
11
  borderWidthSelected as c,
12
12
  borderWidthSm as d,
13
- borderWidthMd as e,
14
- borderWidthDivider as f,
15
- borderWidthNone as g
13
+ borderWidthDivider as e,
14
+ borderWidthNone as f,
15
+ borderWidthMd as g
16
16
  };
@@ -5,10 +5,10 @@ import { getBorderWidth } from "./foundations/token/getBorderWidth/index.js";
5
5
  import { getHoverColor } from "./foundations/token/getHoverColor/index.js";
6
6
  import { getObjectColor } from "./foundations/token/getObjectColor/index.js";
7
7
  import { getPressColor } from "./foundations/token/getPressColor/index.js";
8
- import { c as colorBorderFocus } from "./BorderColor-BummoQ1-.js";
9
- import { a as borderWidthFocus, c as borderWidthSelected } from "./BorderWidth-BjXpOdM5.js";
10
- import { c as colorObjectNeutral, a as colorObjectBrand, b as colorObjectInverse } from "./ObjectColor-DxgEnOBM.js";
11
- import { g as getForegroundColor } from "./colorUtils-oJmiUVBK.js";
8
+ import { c as colorBorderFocus } from "./BorderColor-CkkRtyUz.js";
9
+ import { a as borderWidthFocus, c as borderWidthSelected } from "./BorderWidth-eg_mz82k.js";
10
+ import { a as colorObjectNeutral, d as colorObjectBrand, e as colorObjectInverse } from "./ObjectColor-CSHEae46.js";
11
+ import { g as getForegroundColor } from "./colorUtils-lb0oJttx.js";
12
12
  const ButtonAppearanceColor = {
13
13
  primary: colorObjectBrand,
14
14
  secondary: colorObjectNeutral,
@@ -0,0 +1,9 @@
1
+ const primaryAppearance = "primary";
2
+ const secondaryAppearance = "secondary";
3
+ const tertiaryAppearance = "tertiary";
4
+ const buttonAppearances = [primaryAppearance, secondaryAppearance, tertiaryAppearance];
5
+ export {
6
+ buttonAppearances as b,
7
+ primaryAppearance as p,
8
+ tertiaryAppearance as t
9
+ };
@@ -0,0 +1,7 @@
1
+ const buttonWidthFull = "full";
2
+ const buttonWidthAuto = "auto";
3
+ const buttonWidthBehaviors = [buttonWidthFull, buttonWidthAuto];
4
+ export {
5
+ buttonWidthBehaviors as a,
6
+ buttonWidthAuto as b
7
+ };
@@ -4,7 +4,7 @@ const fontWeightBold = "bold";
4
4
  const fontWeights = [fontWeightLight, fontWeightRegular, fontWeightBold];
5
5
  export {
6
6
  fontWeightRegular as a,
7
- fontWeightLight as b,
8
- fontWeights as c,
9
- fontWeightBold as f
7
+ fontWeightBold as b,
8
+ fontWeightLight as c,
9
+ fontWeights as f
10
10
  };
@@ -8,7 +8,7 @@ export {
8
8
  textHeadingMd as a,
9
9
  textHeadingSm as b,
10
10
  textHeadingLg as c,
11
- textHeadingXl as d,
12
- textHeadingSizes as e,
11
+ textHeadingSizes as d,
12
+ textHeadingXl as e,
13
13
  textHeadingXs as t
14
14
  };
@@ -3,8 +3,8 @@ const colorIconInverse = "colorIconInverse";
3
3
  const colorIconSuccess = "colorIconSuccess";
4
4
  const colorIconCritical = "colorIconCritical";
5
5
  export {
6
- colorIconCritical as a,
7
- colorIconBrand as b,
8
- colorIconSuccess as c,
6
+ colorIconSuccess as a,
7
+ colorIconCritical as b,
8
+ colorIconBrand as c,
9
9
  colorIconInverse as d
10
10
  };
@@ -13,18 +13,18 @@ const iconSize7xl = "iconSize7xl";
13
13
  const iconSize8xl = "iconSize8xl";
14
14
  const iconSize9xl = "iconSize9xl";
15
15
  export {
16
- iconSizeLg as a,
17
- iconSize2xs as b,
18
- iconSizeMd as c,
19
- iconSizeXl as d,
20
- iconSize2xl as e,
21
- iconSize3xl as f,
22
- iconSize4xl as g,
23
- iconSize5xl as h,
24
- iconSizeSm as i,
25
- iconSize6xl as j,
26
- iconSize7xl as k,
27
- iconSize8xl as l,
28
- iconSize9xl as m,
29
- iconSizeXs as n
16
+ iconSize2xl as a,
17
+ iconSize3xl as b,
18
+ iconSize4xl as c,
19
+ iconSize5xl as d,
20
+ iconSize2xs as e,
21
+ iconSizeXs as f,
22
+ iconSizeSm as g,
23
+ iconSizeMd as h,
24
+ iconSizeXl as i,
25
+ iconSizeLg as j,
26
+ iconSize6xl as k,
27
+ iconSize7xl as l,
28
+ iconSize8xl as m,
29
+ iconSize9xl as n
30
30
  };
@@ -9,14 +9,14 @@ const colorObjectInformation = "colorObjectInformation";
9
9
  const colorObjectSelected = "colorObjectSelected";
10
10
  const colorObjectUnselected = "colorObjectUnselected";
11
11
  export {
12
- colorObjectBrand as a,
13
- colorObjectInverse as b,
14
- colorObjectNeutral as c,
15
- colorObjectSelected as d,
16
- colorObjectUnselected as e,
17
- colorObjectCritical as f,
18
- colorObjectWarning as g,
19
- colorObjectSuccess as h,
20
- colorObjectInformation as i,
21
- colorObjectAccent as j
12
+ colorObjectNeutral as a,
13
+ colorObjectAccent as b,
14
+ colorObjectSuccess as c,
15
+ colorObjectBrand as d,
16
+ colorObjectInverse as e,
17
+ colorObjectSelected as f,
18
+ colorObjectUnselected as g,
19
+ colorObjectCritical as h,
20
+ colorObjectWarning as i,
21
+ colorObjectInformation as j
22
22
  };
@@ -0,0 +1,11 @@
1
+ const leftPosition = "left";
2
+ const rightPosition = "right";
3
+ const topPosition = "top";
4
+ const bottomPosition = "bottom";
5
+ const positionTypes = [leftPosition, rightPosition, topPosition, bottomPosition];
6
+ export {
7
+ leftPosition as l,
8
+ positionTypes as p,
9
+ rightPosition as r,
10
+ topPosition as t
11
+ };
@@ -14,12 +14,12 @@ const spacing7Xl = "7Xl";
14
14
  const spacings = [spacingNone, spacing2Xs, spacingXs, spacingSm, spacingMd, spacingLg, spacingXl, spacing2Xl, spacing3Xl, spacing4Xl, spacing5Xl, spacing6Xl, spacing7Xl];
15
15
  export {
16
16
  spacingXs as a,
17
- spacingSm as b,
18
- spacingNone as c,
19
- spacings as d,
20
- spacingXl as e,
17
+ spacingNone as b,
18
+ spacingSm as c,
19
+ spacingXl as d,
20
+ spacing5Xl as e,
21
21
  spacing2Xs as f,
22
22
  spacingLg as g,
23
- spacing5Xl as h,
23
+ spacings as h,
24
24
  spacingMd as s
25
25
  };
@@ -6,10 +6,10 @@ import { getBorderColor } from "./foundations/token/getBorderColor/index.js";
6
6
  import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
7
7
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
8
8
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
9
- import { j as colorBorderSubtle, a as colorBorderNeutral } from "./BorderColor-BummoQ1-.js";
10
- import { f as fontWeightBold, a as fontWeightRegular } from "./FontWeight-OmB6KH5a.js";
11
- import { b as spacingSm } from "./Spacing-8v6hcO2x.js";
12
- import { a as colorTextNeutral } from "./TextColor-BXVMXUVE.js";
9
+ import { i as colorBorderSubtle, a as colorBorderNeutral } from "./BorderColor-CkkRtyUz.js";
10
+ import { b as fontWeightBold, a as fontWeightRegular } from "./FontWeight-DqbFNY0d.js";
11
+ import { c as spacingSm } from "./Spacing-CwWBV8DU.js";
12
+ import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
13
13
  const TableWrapperDiv = styled.div.withConfig({
14
14
  displayName: "TableWrapperDiv",
15
15
  componentId: "sc-wxnzfr-0"
@@ -2,7 +2,7 @@ const textBodyMd = "md";
2
2
  const textBodySm = "sm";
3
3
  const textBodySize = [textBodyMd, textBodySm];
4
4
  export {
5
- textBodySm as a,
6
- textBodySize as b,
7
- textBodyMd as t
5
+ textBodyMd as a,
6
+ textBodySm as b,
7
+ textBodySize as t
8
8
  };
@@ -11,6 +11,6 @@ export {
11
11
  colorTextPlaceholder as c,
12
12
  colorTextNeutralStatic as d,
13
13
  colorTextInverse as e,
14
- colorTextCritical as f,
15
- colorTextBrand as g
14
+ colorTextBrand as f,
15
+ colorTextCritical as g
16
16
  };
@@ -0,0 +1,6 @@
1
+ const themeLight = "Light";
2
+ const themeDark = "Dark";
3
+ const themes = [themeLight, themeDark];
4
+ export {
5
+ themes as t
6
+ };
@@ -1,5 +1,5 @@
1
1
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
2
- import { b as colorTextInverseStatic, a as colorTextNeutral, d as colorTextNeutralStatic, e as colorTextInverse } from "./TextColor-BXVMXUVE.js";
2
+ import { b as colorTextInverseStatic, a as colorTextNeutral, d as colorTextNeutralStatic, e as colorTextInverse } from "./TextColor-DsntmDNw.js";
3
3
  const backgroundForegroundColorMapping = {
4
4
  colorBackgroundBrand: getTextColor(colorTextInverseStatic),
5
5
  colorBackgroundNeutral: getTextColor(colorTextNeutral),
@@ -0,0 +1,4 @@
1
+ const containerComponentName = "Container";
2
+ export {
3
+ containerComponentName as c
4
+ };
@@ -0,0 +1,4 @@
1
+ const bodyComponentName = "Body";
2
+ export {
3
+ bodyComponentName as b
4
+ };
@@ -0,0 +1,4 @@
1
+ const headingComponentName = "Heading";
2
+ export {
3
+ headingComponentName as h
4
+ };
@@ -0,0 +1,4 @@
1
+ const buttonComponentName = "Button";
2
+ export {
3
+ buttonComponentName as b
4
+ };
@@ -0,0 +1,6 @@
1
+ const gridComponentName = "Grid";
2
+ const gridItemComponentName = "GridItem";
3
+ export {
4
+ gridComponentName as a,
5
+ gridItemComponentName as g
6
+ };
@@ -0,0 +1,4 @@
1
+ const buttonAsLinkComponentName = "ButtonAsLink";
2
+ export {
3
+ buttonAsLinkComponentName as b
4
+ };
@@ -0,0 +1,4 @@
1
+ const cardComponentName = "Card";
2
+ export {
3
+ cardComponentName as c
4
+ };
@@ -0,0 +1,4 @@
1
+ const badgeComponentName = "Badge";
2
+ export {
3
+ badgeComponentName as b
4
+ };
@@ -0,0 +1 @@
1
+ export declare const accordionComponentName: "Accordion";
@@ -2,8 +2,8 @@
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
3
  import { useRef, useState, useEffect } from "react";
4
4
  import Collapsible from "../Collapsible/index.js";
5
- import { b as iconNames, I as IconLoader } from "../../index-B3v10poy.js";
6
- import { c as iconSizeMd } from "../../IconSize-AJp7xdJi.js";
5
+ import IconLoader from "../IconLoader/index.js";
6
+ import { h as iconSizeMd } from "../../IconSize-BknHGJXj.js";
7
7
  import { bf as ChevronDownIcon } from "../../_5gPlusIcon-CnxmOo1u.js";
8
8
  import styled from "styled-components";
9
9
  import Heading from "../Heading/index.js";
@@ -16,14 +16,13 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
16
16
  import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
17
17
  import { getSpacing } from "../../foundations/token/getSpacing/index.js";
18
18
  import { getTextColor } from "../../foundations/token/getTextColor/index.js";
19
- import { j as colorBorderSubtle, c as colorBorderFocus } from "../../BorderColor-BummoQ1-.js";
20
- import { g as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-BjXpOdM5.js";
21
- import { a as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-OmB6KH5a.js";
22
- import { s as spacingMd, c as spacingNone, a as spacingXs } from "../../Spacing-8v6hcO2x.js";
23
- import { a as colorTextNeutral, g as colorTextBrand } from "../../TextColor-BXVMXUVE.js";
24
- import { a as filterProps } from "../../filterProps-CxkibNnG.js";
25
- import { i as isObject, h as hasMatchingComponentName } from "../../isObject-BYBrvoVW.js";
26
- import { i as isBottomSpacing } from "../../isBottomSpacing-BxfreCZU.js";
19
+ import { i as colorBorderSubtle, c as colorBorderFocus } from "../../BorderColor-CkkRtyUz.js";
20
+ import { f as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
21
+ import { a as fontWeightRegular, b as fontWeightBold } from "../../FontWeight-DqbFNY0d.js";
22
+ import { s as spacingMd, b as spacingNone, a as spacingXs } from "../../Spacing-CwWBV8DU.js";
23
+ import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
24
+ import { a as filterProps } from "../../filterProps-B19TAswY.js";
25
+ import { a, i, v } from "../../validate-Do9zUIut.js";
27
26
  const accordionToggleExpanded = "expanded";
28
27
  const accordionToggleCollapsing = "collapsing";
29
28
  const accordionToggleCollapsed = "collapsed";
@@ -124,43 +123,6 @@ const AccordionOpenIndicatorStyled = styled(ChevronDownIcon).withConfig({
124
123
  transform: "rotate(0deg)"
125
124
  }
126
125
  });
127
- const validateAccordionProps = (props) => {
128
- if (!isObject(props)) {
129
- return false;
130
- }
131
- const accordionProps = props;
132
- if (!hasMatchingComponentName(accordionProps.component, "Accordion")) {
133
- return false;
134
- }
135
- if (typeof accordionProps.uid !== "string" || accordionProps.uid.length === 0) {
136
- return false;
137
- }
138
- if (typeof accordionProps.heading !== "string" || accordionProps.heading.length === 0) {
139
- return false;
140
- }
141
- if (accordionProps.children === void 0 || accordionProps.children === null) {
142
- return false;
143
- }
144
- if (accordionProps.iconName !== void 0 && !iconNames.includes(accordionProps.iconName)) {
145
- return false;
146
- }
147
- if (accordionProps.expanded !== void 0 && typeof accordionProps.expanded !== "boolean") {
148
- return false;
149
- }
150
- if (accordionProps.handleOnToggle !== void 0 && typeof accordionProps.handleOnToggle !== "function") {
151
- return false;
152
- }
153
- if (accordionProps.verticalScrollOffset !== void 0 && typeof accordionProps.verticalScrollOffset !== "number") {
154
- return false;
155
- }
156
- if (accordionProps.bottomSpacing && !isBottomSpacing(accordionProps.bottomSpacing)) {
157
- return false;
158
- }
159
- return true;
160
- };
161
- const isAccordionProps = (props) => {
162
- return validateAccordionProps(props);
163
- };
164
126
  const Accordion = ({
165
127
  uid,
166
128
  children,
@@ -232,10 +194,11 @@ const Accordion = ({
232
194
  ] });
233
195
  };
234
196
  export {
197
+ a as accordionSchema,
235
198
  accordionToggleCollapsed,
236
199
  accordionToggleCollapsing,
237
200
  accordionToggleExpanded,
238
201
  Accordion as default,
239
- isAccordionProps,
240
- validateAccordionProps
202
+ i as isAccordionProps,
203
+ v as validateAccordionProps
241
204
  };
@@ -1,5 +1,6 @@
1
1
  import { IconName } from '@vfde-react/inline-icon-library/IconName';
2
2
  import { HTMLAttributes, ReactNode } from 'react';
3
+ import { accordionComponentName } from './componentName';
3
4
  import { HeadingProps } from '../Heading/props';
4
5
  import { PatternProps } from '../../foundations/PatternProps';
5
6
  /**
@@ -32,9 +33,9 @@ export interface AccordionSharedProps {
32
33
  }
33
34
  export interface AccordionProps extends AccordionSharedProps, PatternProps, HTMLAttributes<HTMLDetailsElement> {
34
35
  /**
35
- * Pin component's name from string to the concrete name
36
+ * Pin component's name
36
37
  */
37
- component?: 'Accordion';
38
+ component?: typeof accordionComponentName;
38
39
  /**
39
40
  * Accordion's uid
40
41
  */